1 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3 * net/eww.el (eww-bookmark-quit): Remove.
4 (eww-bookmark-browse): Restore the window configuration when you
5 choose a bookmark (bug#16144).
7 2013-12-24 Daniel Colascione <dancol@dancol.org>
9 * icomplete.el: Remove redundant :group arguments to `defcustom'
11 (icomplete-show-matches-on-no-input): New customizable variable.
12 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
13 we have something to show.
14 (icomplete-exhibit): Compute completions even if we have no user
17 2013-12-23 Daniel Colascione <dancol@dancol.org>
19 * icomplete.el: Move `provide' to end of file.
21 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
23 * net/gnutls.el (gnutls-verify-error): Add version tag.
25 2013-12-23 Chong Yidong <cyd@gnu.org>
27 * subr.el (set-transient-map): Rename from
28 set-temporary-overlay-map. Doc fix.
30 * face-remap.el (text-scale-adjust):
31 * indent.el (indent-rigidly):
32 * kmacro.el (kmacro-call-macro):
33 * minibuffer.el (minibuffer-force-complete):
35 * simple.el (universal-argument--mode):
36 * calendar/todo-mode.el (todo-insert-item--next-param):
37 * progmodes/f90.el (f90-abbrev-start): Callers changed.
39 * indent.el (indent-rigidly): Use substitute-command-keys.
41 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
43 * net/eww.el (eww-tag-select): Add text-property to jump to next
45 (eww) : Add non-supported ftp error.
47 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
49 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
50 comments. Handle electric indent after typing `?' and `!'.
52 2013-12-22 Chong Yidong <cyd@gnu.org>
54 * faces.el (face-spec-recalc): If the theme specs are not
55 applicable to a frame, fall back on the defface spec. This
56 prevents themes from obliterating faces on low-color terminals.
58 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
60 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
61 after `{'. We need it after block openers, and it doesn't seem
62 to hurt after hash openers.
64 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
66 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
67 extracted from `ruby-smie-rules'.
68 (ruby--electric-indent-chars): New variable.
69 (ruby--electric-indent-p): New function.
70 (ruby-mode): Use `electric-indent-functions' instead of
71 `electric-indent-chars'.
73 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
75 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
77 (ruby-smie-rules): Indent plus one level after `=>'.
79 2013-12-21 Richard Stallman <rms@gnu.org>
81 * simple.el (newline): Doc fix.
83 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
85 * net/eww.el (eww-list-histories, eww-list-histories)
86 (eww-history-browse, eww-history-quit, eww-history-kill)
87 (eww-history-mode-map, eww-history-mode): New command and
88 functions to list browser histories.
89 (eww-form-text): Support text form with disabled
90 and readonly attributes.
91 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
93 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
95 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
96 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
97 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
98 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
100 (eww-bookmark-mode-map): Add menu.
101 (eww-render, eww-mode): Use `setq-local'.
102 (eww-tool-bar-map): New variable.
103 (eww-mode): Set `tool-bar-map'.
104 (eww-view-source): Check for `html-mode' with `fboundp'.
106 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
108 * net/shr.el (shr--extract-best-source): Don't bug out on audio
109 elements with text inside. Also remove debugging.
111 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
113 * cus-start.el (all): Add ns-use-srgb-colorspace.
115 2013-12-21 Chong Yidong <cyd@gnu.org>
117 * custom.el (custom-theme-recalc-face): Do nothing if the face is
118 undefined. Thus, theme settings for undefined faces do not take
119 effect until the faces are defined with defface, the same as with
122 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
123 (face-spec-reset-face): Don't assign extra properties in temacs.
124 (face-spec-recalc): Apply X resources too.
126 2013-12-21 Chong Yidong <cyd@gnu.org>
128 * faces.el (face-spec-set):
129 * cus-face.el (custom-theme-set-faces, custom-set-faces):
130 * custom.el (defface): Doc fixes (Bug#16203).
132 * indent.el (indent-rigidly-map): Add docstring, and move commands
133 into named functions.
134 (indent-rigidly-left, indent-rigidly-right)
135 (indent-rigidly-left-to-tab-stop)
136 (indent-rigidly-right-to-tab-stop): New functions. Decide on
137 indentation direction based on bidi direction, and accumulate
138 sequential commands in a single undo boundary.
139 (indent-rigidly--pop-undo): New utility function.
141 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
143 * faces.el (read-face-name): Require crm.el when using crm-separator.
145 2013-12-20 Daniel Colascione <dancol@dancol.org>
147 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
148 so that we don't reflow comments into the shebang line.
150 2013-12-20 Juri Linkov <juri@jurta.org>
152 * saveplace.el (save-place-to-alist): Add `dired-filename' as
153 a position when `dired-directory' is non-nil. Check integer
154 positions with `integerp'.
155 (toggle-save-place, save-places-to-alist): Add check for
157 (save-place-find-file-hook): Check integer positions with
159 (save-place-dired-hook): Use `dired-goto-file' when
160 `dired-filename' is found in the assoc list. Check integer
161 positions with `integerp'.
162 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
164 * dired.el (dired-initial-position-hook): Rename back from
165 `dired-initial-point-hook'.
166 (dired-initial-position): Rename `dired-initial-point-hook' to
167 `dired-initial-position-hook'.
168 (dired-file-name-at-point): Doc fix. (Bug#15329)
170 2013-12-20 Juri Linkov <juri@jurta.org>
172 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
173 (read-regexp-suggestions): New function.
174 (read-regexp): Use `read-regexp-defaults-function' to get default values.
175 Use `read-regexp-suggestions'. Add non-empty default to history
177 (occur-read-regexp-defaults-function): Remove function.
178 (occur-read-primary-args): Use `regexp-history-last' instead of
179 `occur-read-regexp-defaults-function'.
181 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
182 (hi-lock-line-face-buffer, hi-lock-face-buffer)
183 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
184 `hi-lock-read-regexp-defaults-function'. Doc fix.
185 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
186 with `find-tag-default-as-symbol-regexp'. Doc fix.
187 (hi-lock-read-regexp-defaults): Remove function.
188 (hi-lock-regexp-okay): Add check for null.
190 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
191 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
193 * subr.el (find-tag-default-as-symbol-regexp): New function.
194 (find-tag-default-as-regexp): Move symbol regexp formatting to
195 `find-tag-default-as-symbol-regexp'.
197 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
199 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
202 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
204 * calendar/todo-mode.el: New implementation of item insertion
205 commands and key bindings.
206 (todo-key-prompt): New face.
207 (todo-insert-item): New command.
208 (todo-insert-item--parameters): New defconst, replacing defvar
209 todo-insertion-commands-args-genlist.
210 (todo-insert-item--param-key-alist): New defconst, replacing
211 defvar todo-insertion-commands-arg-key-list.
212 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
213 (todo-insert-item--argsleft, todo-insert-item--apply-args)
214 (todo-insert-item--next-param): New functions.
215 (todo-insert-item--args, todo-insert-item--argleft)
216 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
218 (todo-key-bindings-t): Change binding of "i" from
219 todo-insertion-map to todo-insert-item.
220 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
221 (todo-insertion-command-name, todo-insertion-commands-names)
222 (todo-define-insertion-command, todo-insertion-commands)
223 (todo-insertion-key-bindings, todo-insertion-map): Remove.
225 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
227 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
228 (todo-toggle-item-highlighting): Use eval-and-compile instead of
230 (todo-move-category): Allow choosing a non-existing todo file to
231 move the category to, and create that file.
232 (todo-default-priority): New user option.
233 (todo-set-item-priority): Use it.
234 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
235 (desktop-restore-file-buffer): Declare.
236 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
237 (todo-modes-set-2): Locally set desktop-save-buffer to
238 todo-desktop-save-buffer.
239 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
240 (auto-mode-alist): Add autoload cookie.
242 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
244 * emacs-lisp/subr-x.el: Renamed from helpers.el.
245 helpers.el was a poor choice of name.
246 (string-remove-prefix): New function.
247 (string-remove-suffix): New function.
249 2013-12-20 Martin Rudalics <rudalics@gmx.at>
251 Fix assignment for new window total sizes.
252 * window.el (window--pixel-to-size): Remove function.
253 (window--pixel-to-total-1, window--pixel-to-total):
254 Fix calculation of new total sizes.
256 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
258 * comint.el (comint-output-filter): Fix rear-nonsticky property
259 placement (Bug#16010).
261 2013-12-20 Chong Yidong <cyd@gnu.org>
263 * faces.el (read-color): Minor fix for completion function.
265 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
267 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
268 New option. (Bug#16182)
269 (ruby-smie--indent-to-stmt-p): Use it.
270 (ruby-smie-rules): Revert the logic in the handling of `when'.
271 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
272 (ruby-deep-arglist, ruby-deep-indent-paren)
273 (ruby-deep-indent-paren-style): Update docstrings to note that the
274 vars don't have any effect with SMIE.
276 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
278 * calc/calc.el (calc-enter, calc-pop): Use the variable
279 `calc-context-sensitive-enter'.
281 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
283 * net/shr.el (shr-insert): Protect against infloops in degenerate
286 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
288 * progmodes/octave.el (octave): Add link to manual and octave
290 (octave-mode-menu): Link to octave-mode manual.
292 2013-12-20 Leo Liu <sdl.web@gmail.com>
294 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
295 insertion using skeleton-end-newline. (Bug#16138)
297 2013-12-20 Juri Linkov <juri@jurta.org>
299 * replace.el (occur-engine): Use `add-face-text-property'
300 to add the face property to matches and titles. (Bug#14645)
302 * hi-lock.el (hi-green): Use lighter color "light green" closer to
303 the palette of other hi-lock colors.
304 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
306 2013-12-19 Juri Linkov <juri@jurta.org>
308 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
309 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
310 (minibuffer-history-symbol): Move variable declaration closer to
313 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
316 2013-12-19 Juri Linkov <juri@jurta.org>
318 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
320 (log-edit-hook): Add it to :options. (Bug#16170)
322 2013-12-19 Juri Linkov <juri@jurta.org>
324 * simple.el (eval-expression-print-format): Don't check for
325 command names and the last command. Always display additional
326 formats of the integer result in the echo area, and insert them
327 to the current buffer only with a zero prefix arg.
328 Display character when char-displayable-p is non-nil.
329 (eval-expression): With a zero prefix arg, set `print-length' and
330 `print-level' to nil, and insert the integer values from
331 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
333 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
334 `eval-last-sexp-arg-internal'. Doc fix.
335 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
336 `eval-last-sexp-print-value'. Doc fix.
337 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
338 Set `print-length' and `print-level' to nil when arg is zero.
339 (eval-last-sexp): Doc fix.
340 (eval-defun-2): Print the integer values from
341 `eval-expression-print-format' at the end.
343 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
344 values from `eval-expression-print-format' at the end.
346 * ielm.el (ielm-eval-input): Print the integer
347 values from `eval-expression-print-format' at the end.
349 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
351 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
352 2013-12-11T19:01:44Z!tzz@lifelogs.com.
354 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
356 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
357 (hl-line-highlight, global-hl-line-highlight): Use it.
358 (hl-line-overlay): Use defvar-local.
360 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
362 * term/ns-win.el: Require dnd.
363 (global-map): Remove drag items.
364 (ns-insert-text, ns-set-foreground-at-mouse)
365 (ns-set-background-at-mouse):
366 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
367 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
370 2013-12-19 Glenn Morris <rgm@gnu.org>
372 * emacs-lisp/ert.el (ert-select-tests):
373 Fix string/symbol mixup. (Bug#16121)
375 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
377 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
378 keywords to their parent.
380 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
382 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
383 first arg to be a string (fixed dead code), or an operator symbol.
384 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
386 (ruby-smie-rules): Remove parent token check in the `.' clause, it
387 did nothing. Don't respond to `(:after ".")', it will be called
388 with :before anyway. Remove the ` @ ' rule, it didn't seem to
389 change anything. Only return indentation for binary operators
390 when they are hanging. De-dent opening paren when its parent is
391 `.', otherwise it looks bad when the dot is not at bol or eol
394 2013-12-19 Juri Linkov <juri@jurta.org>
396 * replace.el (query-replace-read-args): Split a non-negative arg
397 and a negative arg into separate elements.
398 (query-replace, query-replace-regexp, replace-string)
399 (replace-regexp): Add arg `backward'. Doc fix.
400 (replace-match-maybe-edit): When new arg `backward' is non-nil,
401 move point to the beginning of the match.
402 (replace-search, replace-highlight): Use new arg `backward'
403 to set the value of `isearch-forward'.
404 (perform-replace): Add arg `backward' and use it to perform
405 replacement backward. (Bug#14979)
407 * isearch.el (isearch-query-replace): Use a negative prefix arg
408 to call `perform-replace' with a non-nil arg `backward'.
410 2013-12-18 Juri Linkov <juri@jurta.org>
412 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
413 to the default list. Move `log-edit-show-files' to the end.
414 Add more available functions to options.
415 (log-edit): Move default specific settings to
416 `log-edit-insert-message-template'. Don't move point.
417 (log-edit-insert-message-template): New function.
418 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
421 2013-12-18 Juri Linkov <juri@jurta.org>
423 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
424 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
426 2013-12-18 Leo Liu <sdl.web@gmail.com>
428 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
430 2013-12-18 Eli Zaretskii <eliz@gnu.org>
432 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
433 formats for displaying file sizes when the -s switch is given.
434 Instead, compute a separate format for displaying the size in
435 blocks, which is displayed in addition to the "regular" size.
436 When -h is given in addition to -s, produce size in blocks in
437 human-readable form as well. (Bug#16179)
439 2013-12-18 Tassilo Horn <tsdh@gnu.org>
441 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
442 Reference tables with ~\ref{...} instead of only \ref{...}.
444 2013-12-18 Chong Yidong <cyd@gnu.org>
446 * cus-edit.el (custom-magic-alist): Fix "themed" description
449 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
450 is non-nil, do not create a new entry in the symbol's theme-value
451 or theme-face property; update theme-settings only (Bug#14664).
452 (custom-available-themes): Doc fix.
454 * cus-theme.el (custom-new-theme-mode-map): Add bindings
457 * replace.el (occur-engine): Avoid infloop (Bug#7593).
459 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
461 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
464 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
466 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
468 2013-12-18 Glenn Morris <rgm@gnu.org>
470 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
471 * cus-start.el (load-prefer-newer): New option.
473 2013-12-18 Le Wang <l26wang@gmail.com>
475 * comint.el (comint-previous-matching-input-from-input):
476 Retain point (Bug#13404).
478 2013-12-18 Chong Yidong <cyd@gnu.org>
480 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
482 2013-12-18 Glenn Morris <rgm@gnu.org>
484 * mail/emacsbug.el (report-emacs-bug):
485 Only mention enable-multibyte-characters if non-standard.
487 2013-12-17 Juri Linkov <juri@jurta.org>
489 * arc-mode.el (archive-extract-by-file): Check if directory exists
490 before deletion to not show irrelevant errors if it doesn't exist.
492 2013-12-17 Juri Linkov <juri@jurta.org>
494 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
497 * net/eww.el (browse-web): Add alias to `eww'.
498 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
499 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
501 * net/browse-url.el (browse-url-browser-function): Move `eww'
502 closer to similar functions.
504 * startup.el (fancy-startup-screen, fancy-about-screen):
505 Set browse-url-browser-function to eww-browse-url locally.
508 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
510 * window.el (window--pixel-to-total): Remove unused `mini' var.
511 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
512 (split-window): Remove unused `new' var.
513 (window--display-buffer): Remove unused `frame' and `delta' vars.
514 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
517 2013-12-17 Martin Rudalics <rudalics@gmx.at>
519 * dired.el (dired-mark-pop-up):
520 * register.el (register-preview): Don't bind
521 split-height-threshold here since it's now done in
522 display-buffer-below-selected.
524 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
526 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
527 xterm-rgb-convert-to-16bit.
528 (rxvt-register-default-colors): Standardize with
529 xterm-register-default-colors (Bug#14078).
531 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
533 * simple.el (kill-region): Pass mark first, then point, so that
534 kill-append works right (Bug#12819).
535 (copy-region-as-kill, kill-ring-save): Likewise.
537 2013-12-17 Leo Liu <sdl.web@gmail.com>
539 * net/rcirc.el (rcirc-add-face):
540 * eshell/em-prompt.el (eshell-emit-prompt):
541 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
544 2013-12-17 Chong Yidong <cyd@gnu.org>
546 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
547 Suggested by Xue Fuqiao.
549 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
551 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
553 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
555 * net/shr.el (shr-insert-document): Remove unused var
556 `shr-preliminary-table-render'.
557 (shr-rescale-image): Remove unused arg `force'.
558 (shr-put-image): Update calls accordingly.
559 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
561 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
563 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
564 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
565 :close-all, to see which indentation method to use (Bug#16116).
566 (smie-rules-function): Document the method :close-all.
568 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
570 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
572 * net/eww.el (eww-display-html): If we can't find the anchor we're
573 looking for, then go to point-min.
575 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
577 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
578 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
579 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
580 Expand dir too, in case it's relative.
582 2013-12-16 Juri Linkov <juri@jurta.org>
584 * desktop.el (desktop-auto-save-timeout): Change default to
585 `auto-save-timeout'. Doc fix.
586 (desktop-save): Skip the timestamp in desktop-saved-frameset
587 when checking for auto-save changes.
588 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
589 `desktop-auto-save' is called repeatedly by the idle timer.
590 (desktop-auto-save-set-timer): Replace `run-with-timer' with
591 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
594 2013-12-16 Juri Linkov <juri@jurta.org>
596 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
598 (isearch-pre-command-hook): Check `this-command' for symbolp.
600 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
602 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
604 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
606 * progmodes/cfengine.el (cfengine3--current-word): Remove.
607 (cfengine3--current-function): Bring in the current-function
608 functionality from `cfengine3--current-word'.
609 (cfengine3-completion-function): Bring in the
610 bounds-of-current-word functionality from
611 `cfengine3--current-word'.
613 2013-12-16 Martin Rudalics <rudalics@gmx.at>
615 * window.el (display-buffer-below-selected):
616 Bind split-height-threshold to 0 as suggested by Juri Linkov.
618 2013-12-16 Leo Liu <sdl.web@gmail.com>
620 * progmodes/compile.el (compile-goto-error): Do not push-mark.
621 Remove NOMSG arg and all uses changed.
623 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
625 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
626 (cua--deactivate-rectangle): Don't deactivate the mark.
627 (cua-set-rectangle-mark): Don't set mark-active since
628 cua--activate-rectangle already does it for us.
629 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
630 non-rectangular region.
632 * emulation/cua-base.el (cua-repeat-replace-region):
633 Use with-current-buffer.
635 * net/gnutls.el: Use cl-lib.
636 (gnutls-negotiate): `mapcan' -> cl-mapcan.
638 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
640 * emacs-lisp/package.el (package-built-in-p): Support both
641 built-in and the package.el converted package descriptions.
642 (package-show-package-list): Allow keywords.
643 (package-keyword-button-action): Use it instead of
644 `finder-list-matches'.
645 (package-menu-filter-interactive): Interactive filtering (by
647 (package-menu--generate): Support keywords and change keymappings
648 and headers when they are given.
649 (package--has-keyword-p): Helper function.
650 (package-menu--refresh): Use it.
651 (package--mapc): Helper function.
652 (package-all-keywords): Use it.
653 (package-menu-mode-map): Set up menu items and keybindings to
654 provide a filtering UI.
656 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
658 * net/gnutls.el (gnutls-verify-error): New defcustom to control
659 the behavior when a certificate fails validation. Defaults to
660 old behavior: never abort, just warn.
661 (gnutls-negotiate): Use it.
663 2013-12-14 Martin Rudalics <rudalics@gmx.at>
665 * window.el (display-buffer-below-selected): Never split window
666 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
668 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
670 * emacs-lisp/package.el (package--prepare-dependencies): New function.
671 (package-buffer-info): Use it (bug#15108).
673 * icomplete.el (icomplete-completions): Make sure the prefix is already
674 displayed elsewhere before hiding it.
676 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
678 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
679 open-paren tokens when preceded by a open-paren, too.
680 (ruby-smie-rules): Handle virtual indentation after open-paren
681 tokens specially. If there is code between it and eol, return the
682 column where is starts (Bug#16118).
684 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
686 * progmodes/cfengine.el: Fix `add-hook' doc.
687 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
688 (cfengine3--current-word): Fix parameters.
689 (cfengine3-make-syntax-cache): Simplify further.
690 (cfengine3-completion-function, cfengine3--current-function):
691 Use `assq' for symbols.
692 (cfengine3--current-function): Fix `cfengine3--current-word' call.
694 2013-12-13 Glenn Morris <rgm@gnu.org>
696 * loadup.el (load-path): Warn if site-load or site-init changes it.
697 No more need to reset it when bootstrapping.
699 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
701 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
702 locations for cf-promises.
703 (cfengine-mode-syntax-functions-regex): New caching variable.
704 (cfengine3-fallback-syntax): Fallback syntax for cases where
705 cf-promises doesn't run.
706 (cfengine3--current-word): Reimplement using
707 `cfengine-mode-syntax-functions-regex'.
708 (cfengine3-completion-function, cfengine3--current-function):
709 Use `cfengine3-make-syntax-cache' directly.
710 (cfengine3-clear-syntax-cache): New function.
711 (cfengine3-make-syntax-cache): Simplify and create
712 `cfengine-mode-syntax-functions-regex' on demand.
713 (cfengine3-format-function-docstring): Don't call
714 `cfengine3-make-syntax-cache' explicitly.
716 2013-12-13 Martin Rudalics <rudalics@gmx.at>
718 Fix windmove-find-other-window broken after pixelwise resizing
720 * windmove.el (windmove-other-window-loc): Revert change from
722 (windmove-find-other-window): Call window-in-direction.
723 * window.el (window-in-direction): New arguments SIGN, WRAP and
724 MINI to emulate original windmove-find-other-window behavior.
726 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
728 * simple.el (blink-matching--overlay): New variable.
729 (blink-matching-open): Instead of moving point, highlight the
730 matching paren with an overlay
731 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
733 * faces.el (paren-showing-faces, show-paren-match)
734 (show-paren-mismatch): Move from paren.el.
736 2013-12-13 Leo Liu <sdl.web@gmail.com>
738 * indent.el (indent-region): Disable progress reporter in
739 minibuffer. (Bug#16108)
741 * bindings.el (visual-order-cursor-movement): Fix version.
743 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
745 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
746 Also match after beginning of line.
747 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
748 files. Thanks to Russell Sim. (Bug#15378)
750 2013-12-13 Juri Linkov <juri@jurta.org>
752 * simple.el <Keypad support>: Remove key bindings duplicated
753 with bindings.el. (Bug#14397)
755 2013-12-13 Juri Linkov <juri@jurta.org>
757 * comint.el (comint-mode-map): Replace `delete-char' with
758 `delete-forward-char'. (Bug#16109)
760 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
762 * progmodes/python.el (python-indent-calculate-indentation):
763 Fix de-denters cornercase. (Bug#15731)
765 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
767 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
768 (advice--make): Pay attention to `depth'.
769 (advice--make-1): Don't autoload commands eagerly.
770 * emacs-lisp/elp.el (elp-instrument-function):
771 * emacs-lisp/trace.el (trace-function-internal):
772 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
774 * iswitchb.el (iswitchb-mode): Don't belittle ido.
776 2013-12-12 Eli Zaretskii <eliz@gnu.org>
778 * term/w32-win.el (w32-handle-dropped-file):
779 * startup.el (normal-top-level):
780 * net/browse-url.el (browse-url-file-url):
781 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
782 decode file names using 'utf-8' rather than
783 file-name-coding-system.
785 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
787 * progmodes/python.el (python-indent-context)
788 (python-indent-calculate-indentation): Fix auto-identation
789 behavior for comment blocks. (Bug#15916)
791 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
793 * progmodes/python.el (python-indent-calculate-indentation):
794 When determining indentation, don't treat "return", "pass", etc., as
795 operators when they are just string constituents. (Bug#15812)
797 2013-12-12 Juri Linkov <juri@jurta.org>
799 * uniquify.el (uniquify-buffer-name-style): Change default to
800 `post-forward-angle-brackets'.
802 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
803 `uniquify'. Change default to `post-forward-angle-brackets'.
805 2013-12-11 Glenn Morris <rgm@gnu.org>
807 * emacs-lisp/package.el (finder-list-matches):
808 Autoload rather than falsely declaring.
810 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
812 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
813 (eww-mode-map): Use them.
815 2013-12-11 Martin Rudalics <rudalics@gmx.at>
817 * window.el (display-buffer-in-side-window): Fix doc-string
820 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
822 * vc/vc-git.el: Silence byte-compiler warnings.
823 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
824 (log-edit-set-header): Declare.
826 2013-12-11 Eli Zaretskii <eliz@gnu.org>
828 * Makefile.in (custom-deps, finder-data): Run output file names
829 through unmsys--file-name. (Bug#16099)
831 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
833 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
834 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
836 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
837 instead of deleting the selection "by hand" (bug#16098).
838 Rely on insert-for-yank to yank rectangles.
839 (cua-highlight-region-shift-only): Mark obsolete.
840 (cua-mode): Don't enable/disable transient-mark-mode,
841 shift-select-mode (cua-mode works both with and without them), and
842 pc-selection-mode (obsolete).
843 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
844 (cua--deactivate-rectangle): Deactivate it.
846 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
847 (delete-selection-helper): Make sure yank starts at the top of the
849 (minibuffer-keyboard-quit): Use region-active-p.
851 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
853 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
854 to `delete' (bug#16109).
856 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
858 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
859 info manual and show keybindings and set `:group' keyword.
861 2013-12-11 Juri Linkov <juri@jurta.org>
863 * delsel.el (delete-active-region): Let-bind `this-command'
864 to prevent `kill-region' from changing its original value.
865 (delete-selection-helper): Handle `overwrite-mode' for the type
866 `kill' exactly the same way as for the type `t'.
867 (insert-char, quoted-insert, reindent-then-newline-and-indent):
868 Support more commands. (Bug#13312)
870 2013-12-11 Juri Linkov <juri@jurta.org>
872 * bindings.el: Map kp keys to non-kp keys systematically
873 with basic modifiers control, meta and shift. (Bug#14397)
875 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
877 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
878 "Close browser" menu items. Fix wrong function of "List
881 2013-12-11 Juri Linkov <juri@jurta.org>
883 * misearch.el (multi-isearch-buffers): Set the value of
884 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
885 arg of isearch-forward to t.
886 (multi-isearch-buffers-regexp): Set the value of
887 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
888 arg of isearch-forward-regexp to t.
889 (multi-isearch-files): Set the value of
890 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
891 arg of isearch-forward to t.
892 (multi-isearch-files-regexp): Set the value of
893 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
894 arg of isearch-forward-regexp to t. (Bug#16035)
896 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
897 arg of isearch-forward to t.
898 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
899 arg of isearch-forward-regexp to t.
900 (dired-isearch-filter-filenames): Remove unnecessary check for
901 `dired-isearch-filenames'.
903 * comint.el (comint-history-isearch-backward):
904 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
905 (comint-history-isearch-backward-regexp):
906 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
908 2013-12-10 Eli Zaretskii <eliz@gnu.org>
910 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
911 unmsys--file-name. (Bug#16099)
913 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
915 * emacs-lisp/package.el (package-keyword-button-action):
916 Remove finder.el require dependency.
918 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
920 * emacs-lisp/package.el: Require finder.el.
921 (describe-package-1): Add keyword buttons.
922 (package-make-button): New convenience function.
923 (package-keyword-button-action): Keyword button action using
924 `finder-list-matches'.
926 2013-12-09 Eli Zaretskii <eliz@gnu.org>
928 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
931 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
933 * autorevert.el (auto-revert-notify-add-watch): Do not handle
936 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
938 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
939 after the end of a percent literal.
941 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
943 * progmodes/ruby-mode.el (ruby-forward-string): Document.
944 Handle caret-delimited strings (Bug#16079).
946 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
948 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
949 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
950 `ruby-parse-partial' (Bug#16078).
952 2013-12-09 Leo Liu <sdl.web@gmail.com>
954 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
956 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
958 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
959 (js-switch-indent-offset): New option.
960 (js--proper-indentation): Use it. And handle the case when
961 "default" is actually a key in an object literal.
962 (js--same-line): New function.
963 (js--multi-line-declaration-indentation): Use it.
964 (js--indent-in-array-comp, js--array-comp-indentation):
966 (js--proper-indentation): Use them, to handle array comprehension
969 2013-12-08 Leo Liu <sdl.web@gmail.com>
971 * progmodes/flymake.el (flymake-highlight-line): Re-write.
972 (flymake-make-overlay): Remove arg MOUSE-FACE.
973 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
975 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
977 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
979 (redisplay-highlight-region-function): Use it.
981 * emulation/cua-base.el (cua--explicit-region-start)
982 (cua--last-region-shifted): Remove.
983 (cua--deactivate): Use deactivate-mark.
984 (cua--pre-command-handler-1): Don't handle shift-selection.
985 (cua--post-command-handler-1): Don't change transient-mark-mode.
986 (cua--select-keymaps): Use region-active-p rather than
987 cua--explicit-region-start or cua--last-region-shifted.
988 (cua-mode): Enable shift-select-mode.
990 2013-12-08 Leo Liu <sdl.web@gmail.com>
992 * progmodes/flymake.el (flymake-popup-current-error-menu):
993 Rename from flymake-display-err-menu-for-current-line. Reimplement.
994 (flymake-posn-at-point-as-event, flymake-popup-menu)
995 (flymake-make-emacs-menu): Remove. (Bug#16077)
997 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
999 * rect.el (rectangle-mark-mode): Activate mark even if
1000 transient-mark-mode is off (bug#16066).
1001 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1002 is > mark and at bolp.
1004 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1005 (region-extract-function): Use it.
1006 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1007 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1009 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1010 kill-ring-save, kill-region, delete-char, delete-forward-char.
1011 Ignore self-insert-iso.
1013 * emulation/cua-gmrk.el (cua--init-global-mark):
1014 Ignore `self-insert-iso'.
1016 * emulation/cua-base.el (cua--prefix-copy-handler)
1017 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1018 checking cua--rectangle.
1019 (cua-delete-region): Use region-extract-function.
1020 (cua-replace-region): Delete function.
1021 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1022 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1023 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1024 (cua--init-keymaps): Don't remap delete-selection commands.
1025 (cua-mode): Use delete-selection-mode instead of rolling our own
1028 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1029 Obey region-extract-function.
1031 Make registers and delete-selection-mode work on rectangles.
1032 * register.el (describe-register-1): Don't modify the register's value.
1033 (copy-to-register): Obey region-extract-function.
1034 * delsel.el (delete-active-region): Obey region-extract-function.
1036 2013-12-08 Leo Liu <sdl.web@gmail.com>
1038 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1039 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1040 (flymake-compilation-prevents-syntax-check)
1041 (flymake-start-syntax-check-on-newline)
1042 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1043 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1044 (flymake-xml-program, flymake-master-file-dirs)
1045 (flymake-master-file-count-limit)
1046 (flymake-allowed-file-name-masks): Relocate.
1047 (flymake-makehash, flymake-float-time)
1048 (flymake-replace-regexp-in-string, flymake-split-string)
1049 (flymake-get-temp-dir): Remove.
1050 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1051 (flymake-current-row, flymake-selected-frame)
1052 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1053 related functions. (Bug#16077)
1055 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1057 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1059 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1061 * help-fns.el (describe-function-1): Use new advice-* functions
1062 rather than old ad-* functions. Fix function type description and
1063 source links for advised functions and subrs.
1065 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1067 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1069 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1071 * progmodes/compile.el (compilation-start):
1072 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1074 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1075 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1077 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1079 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1080 Touch up the last change.
1082 2013-12-06 Leo Liu <sdl.web@gmail.com>
1084 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1085 (inferior-octave-startup): Always use "octave> " for prompt.
1086 (octave-goto-function-definition)
1087 (octave-sync-function-file-names)
1088 (octave-find-definition-default-filename): Remove redundant backquotes.
1090 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1092 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1094 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1095 where appropriate already.
1096 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1097 end of method names (Bug#15874).
1099 2013-12-06 Juri Linkov <juri@jurta.org>
1101 * isearch.el (isearch--saved-overriding-local-map):
1102 New internal variable.
1103 (isearch-mode): Set it to the initial value of
1104 `overriding-terminal-local-map'.
1105 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1106 with `isearch--saved-overriding-local-map'. (Bug#16035)
1108 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1110 * progmodes/octave.el (inferior-octave-completion-table):
1111 Turn back into function, use `completion-table-with-cache'
1112 (Bug#11906). Update all references.
1114 * minibuffer.el (completion-table-with-cache): New function.
1116 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1118 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1120 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1122 * net/eww.el (eww-current-source): New variable to store page
1124 (eww-display-html, eww-mode, eww-save-history)
1125 (eww-restore-history): Use it.
1126 (eww-view-source): New command to view page source.
1127 Opportunistically uses `html-mode' to highlight the buffer.
1128 (eww-mode-map): Install it.
1130 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1132 * net/dbus.el (dbus-unregister-service)
1133 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1135 (dbus-unregister-service): Skip :serial entries in
1136 `dbus-registered-objects-table'.
1137 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1139 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1141 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1142 around keywords with extra `split-string' argument.
1144 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1146 * windmove.el (windmove-other-window-loc): Handle navigation
1147 between windows (excluding the minibuffer window - Bug#16017).
1149 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1151 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1152 in D-Bus type syntax.
1153 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1154 preserve unibyte strings. (Bug#16048)
1156 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1158 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1159 Call force-mode-line-update is the proper buffer (bug#16042).
1161 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1163 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1164 `log-edit-remember-comment', make argument optional. Adjust all
1166 (log-edit-mode): Add `log-edit-remember-comment' to
1167 `kill-buffer-hook' locally.
1168 (log-edit-kill-buffer): Don't remember comment explicitly since
1169 the buffer is killed anyway.
1171 2013-12-04 Juri Linkov <juri@jurta.org>
1173 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1174 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1176 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1178 * notifications.el (notifications-close-notification): Call the
1179 D-Bus method with ID being a `:uint32'. (Bug#16030)
1181 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1183 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1185 2013-12-03 Juri Linkov <juri@jurta.org>
1187 * progmodes/compile.el (compilation-start): Rename window alist
1188 entry `no-display-ok' to `allow-no-window'.
1190 * simple.el (shell-command): Add window alist entry
1191 `allow-no-window' to `display-buffer'.
1192 (async-shell-command): Doc fix.
1194 * window.el (display-buffer-no-window): New action function.
1195 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1197 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1199 * vc/log-edit.el (log-edit-set-header): Extract from
1200 `log-edit-toggle-header'.
1201 (log-edit-extract-headers): Separate the summary, when extracted
1202 from header, from the rest of the message with an empty line.
1204 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1205 line, if present, to the Summary header.
1207 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1209 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1210 in current-buffer (bug#16029).
1212 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1214 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1215 (debugger-mode-map): Bind it.
1216 (debugger--backtrace-base): New function.
1217 (debugger-eval-expression): Use it.
1218 (debugger-frame-number): Skip local vars when present.
1219 (debugger--locals-visible-p, debugger--insert-locals)
1220 (debugger--show-locals, debugger--hide-locals): New functions.
1222 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1224 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1226 (tramp-get-remote-locale): New defun.
1227 (tramp-open-connection-setup-interactive-shell): Use it.
1229 2013-12-02 Leo Liu <sdl.web@gmail.com>
1231 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1233 * progmodes/sh-script.el (sh-shell-process):
1234 * progmodes/octave.el (inferior-octave-process-live-p):
1235 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1236 (gdb-inferior-io-sentinel):
1237 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1239 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1241 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1242 `save-selected-window' to `log-edit-hide-buf'. This makes
1243 `log-edit-show-files' idempotent.
1244 (log-edit-show-files): Mark the new window as dedicated.
1246 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1248 * vc/log-edit.el (log-edit-mode-map): Add binding for
1249 `log-edit-kill-biffer'.
1250 (log-edit-hide-buf): Add a FIXME comment.
1251 (log-edit-add-new-comment): New function, extracted from
1253 (log-edit-done, log-edit-add-to-changelog): Use it.
1254 (log-edit-kill-buffer): New command.
1256 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1258 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1259 instead of killing the buffer.
1261 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1263 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1265 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1267 * net/eww.el (eww-form-checkbox-selected-symbol)
1268 (eww-form-checkbox-symbol): New customizable variable.
1269 (eww-form-checkbox, eww-toggle-checkbox):
1270 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1272 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1273 (shr--get-media-pref, shr--extract-best-source): New function.
1274 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1275 no :src tag was specified.
1277 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1278 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1279 Use \\` to match beginning of string instead of ^.
1280 (eww-browse-with-external-browser): Provide optional URL parameter.
1281 (eww-render): Set `eww-current-title' back to "".
1283 * net/shr.el (shr-tag-video): Display content for video if no
1284 poster is available.
1285 (shr-tag-audio): Add support for <audio> tag.
1287 * net/eww.el (eww-text-input-types): New const.
1288 (eww-process-text-input): Treat input types in
1289 `eww-text-input-types' as text.
1291 * net/shr.el (shr-tag-table): Fix comment typo.
1293 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1295 * net/eww.el (eww-follow-link): New command to avoid reloading
1296 pages when we follow #target links (bug#15243).
1297 (eww-quit): Special mode buffers shouldn't query before exiting.
1299 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1301 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1304 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1306 * net/eww.el (eww-restore-history): Update the window title after
1307 moving in the history.
1308 (eww-current-dom): New variable used to save the current DOM.
1310 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1312 * vc/log-edit.el (log-edit-mode-map): Add binding for
1313 `log-edit-beginning-of-line'.
1314 (log-edit-setup-add-author): New user option.
1315 (log-edit-beginning-of-line): New command.
1316 (log-edit): Move major mode call above the contents setup so that
1317 the local variable values are already applied.
1318 (log-edit): Only insert "Author: " when
1319 `log-edit-setup-add-author' is non-nil.
1320 (log-edit): When SETUP is non-nil, position point after ": "
1321 instead of point-min.
1323 2013-12-01 Glenn Morris <rgm@gnu.org>
1325 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1327 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1329 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1330 redisplay to make sure the initial frame gets a chance to become
1331 visible. (Bug#16014)
1333 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1335 Support resizing frames and windows pixelwise.
1336 * cus-start.el (frame-resize-pixelwise)
1337 (window-resize-pixelwise): New entries.
1338 * emacs-lisp/debug.el (debug): Use window-total-height instead
1339 of window-total-size.
1340 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1341 * help.el (describe-bindings-internal): Call help-buffer
1342 (temp-buffer-max-width): New option.
1343 (resize-temp-buffer-window, help-window-setup)
1344 (with-help-window): Rewrite.
1345 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1347 * window.el (frame-char-size, window-min-pixel-height)
1348 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1349 (window-min-pixel-width, window-safe-min-pixel-size)
1350 (window-combination-p, window-safe-min-size)
1351 (window-resizable-p, window--size-to-pixel)
1352 (window--pixel-to-size, window--resize-apply-p): New functions.
1353 (window-safe-min-height): Fix doc-string.
1354 (window-size, window-min-size, window--min-size-1)
1355 (window-sizable, window-sizable-p, window--min-delta-1)
1356 (window-min-delta, window--max-delta-1, window-max-delta)
1357 (window--resizable, window--resizable-p, window-resizable)
1358 (window-full-height-p, window-full-width-p, window-at-side-p)
1359 (window--in-direction-2, window-in-direction)
1360 (window--resize-reset-1, window--resize-mini-window)
1361 (window-resize, window-resize-no-error)
1362 (window--resize-child-windows-normal)
1363 (window--resize-child-windows, window--resize-siblings)
1364 (window--resize-this-window, window--resize-root-window)
1365 (window--resize-root-window-vertically)
1366 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1367 (maximize-window, minimize-window, delete-window)
1368 (quit-restore-window, window-split-min-size, split-window)
1369 (balance-windows-2, balance-windows)
1370 (balance-windows-area-adjust, balance-windows-area)
1371 (window--state-get-1, window-state-get, window--state-put-1)
1372 (window--state-put-2, window-state-put)
1373 (display-buffer-record-window, window--display-buffer):
1374 Make functions handle pixelwise sizing of windows.
1375 (display-buffer--action-function-custom-type)
1376 (display-buffer-fallback-action):
1377 Add display-buffer-in-previous-window.
1378 (display-buffer-use-some-window): Resize window to height it had
1380 (fit-window-to-buffer-horizontally): New option.
1381 (fit-frame-to-buffer): Describe new values.
1382 (fit-frame-to-buffer-bottom-margin): Replace with
1383 fit-frame-to-buffer-margins.
1384 (window--sanitize-margin): New function.
1385 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1386 using window-text-pixel-size.
1388 2013-11-30 Glenn Morris <rgm@gnu.org>
1390 * emacs-lisp/bytecomp.el (byte-compile-form):
1391 Make the `interactive-only' warning like the `obsolete' one.
1392 * comint.el (comint-run):
1393 * files.el (insert-file-literally, insert-file):
1394 * replace.el (replace-string, replace-regexp):
1395 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1396 (goto-line, insert-buffer, next-line, previous-line):
1397 Tweak `interactive-only' spec.
1399 Stop keeping (most) generated cedet grammar files in the repository.
1400 * Makefile.in (semantic): New.
1401 (compile-main): Depend on semantic.
1403 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1405 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1406 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1408 * uniquify.el (uniquify-buffer-name-style): Change default.
1410 * loadup.el: Preload "uniquify".
1412 * time.el (display-time-update): Update all mode lines (bug#15999).
1414 * electric.el (electric-indent-mode): Enable by default.
1415 * loadup.el: Preload "electric".
1417 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1419 * emacs-lisp/helpers.el (string-empty-p): New function.
1420 (string-blank-p): New function.
1422 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1424 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1427 2013-11-29 Andreas Politz <politza@fh-trier.de>
1428 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1429 allow non-lambda lists as functions.
1430 (imenu--in-alist): Don't recurse into non-subalists.
1431 (imenu): Don't pass function itself as an argument (Bug#14029).
1433 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1435 * progmodes/python.el (python-mode-map): Remove binding for ":".
1436 (python-indent-electric-colon): Remove command.
1437 (python-indent-post-self-insert-function): Integrate the previous code
1438 of python-indent-electric-colon. Make it conditional on
1439 electric-indent-mode.
1440 (python-mode): Add ?: to electric-indent-chars.
1441 Move python-indent-post-self-insert-function to the end of
1442 post-self-insert-hook.
1444 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1446 * doc-view.el (doc-view-goto-page): Update mode-line.
1448 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1450 2013-11-27 Glenn Morris <rgm@gnu.org>
1452 * international/charprop.el, international/uni-bidi.el:
1453 * international/uni-category.el, international/uni-combining.el:
1454 * international/uni-comment.el, international/uni-decimal.el:
1455 * international/uni-decomposition.el, international/uni-digit.el:
1456 * international/uni-lowercase.el, international/uni-mirrored.el:
1457 * international/uni-name.el, international/uni-numeric.el:
1458 * international/uni-old-name.el, international/uni-titlecase.el:
1459 * international/uni-uppercase.el:
1460 Remove generated files from VCS repository.
1462 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1464 * filenotify.el (file-notify-add-watch): Don't special-case
1465 w32notify when computing the directory to watch.
1467 2013-11-27 Glenn Morris <rgm@gnu.org>
1469 Make bootstrap without generated uni-*.el files possible again.
1470 * loadup.el: Update command-line-args checking for unidata-gen.
1471 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1472 * composite.el, international/characters.el:
1473 Handle unicode tables being undefined.
1475 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1476 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1477 (compile-main): Depend on leim rule.
1479 * loadup.el: Move leim-list.el to leim/ subdirectory.
1480 * startup.el (normal-top-level): No more leim directory.
1481 * international/ja-dic-cnv.el (skkdic-convert):
1482 Disable version-control and autoloads in output files.
1483 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1484 Disable version-control and autoloads in output files.
1485 * leim/quail: Move here from ../leim.
1486 * leim/quail/hangul.el (hangul-input-method-activate):
1487 Add autoload cookie.
1488 (generated-autoload-load-name): Set file-local value.
1489 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1490 (generated-autoload-load-name): Set file-local value.
1492 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1494 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1495 (eww-add-bookmark): Ask confirmation when add to bookmarks
1496 (eww-quit): Ask confirmation before quitting eww.
1498 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1500 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1501 reading output from Diff on MS-Windows and MS-DOS.
1503 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1505 * emacs-lisp/helpers.el (string-reverse): New function.
1507 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1509 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1510 names on MS Windows, like "/[::1]:".
1512 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1515 2013-11-26 Glenn Morris <rgm@gnu.org>
1517 * progmodes/python.el (python-indent-guess-indent-offset):
1518 Avoid corner-case error. (Bug#15975)
1520 Preload leim-list.el. (Bug#4789)
1521 * loadup.el: Load leim-list.el when found.
1522 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1524 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1526 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1528 * emacs-lisp/helpers.el (string-join): New function.
1530 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1532 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1533 Mark as obsolete and replace it with a symbol property.
1534 (byte-compile-form): Use new 'interactive-only property.
1535 * comint.el, files.el, replace.el, simple.el:
1536 Apply new 'interactive-only properly.
1538 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1540 * window.el (display-buffer-at-bottom): Make sure that
1541 split-window-sensibly creates the new window on bottom
1544 2013-11-23 David Kastrup <dak@gnu.org>
1546 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1547 on the conflict markers when available.
1548 (smerge--get-marker): New function.
1549 (smerge-end-re, smerge-base-re): Add subgroup.
1551 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1553 * frame.el (handle-focus-in, handle-focus-out): Add missing
1556 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1558 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1559 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1561 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1563 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1564 (gomoku--last-pos): New var.
1565 (gomoku--intangible-chars): New const.
1566 (gomoku--intangible): New function.
1567 (gomoku-mode): Use it. Derive from special-mode.
1568 (gomoku-move-up): Adjust line count.
1569 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1570 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1571 Simplify accordingly.
1573 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1574 Remove blink-cursor code.
1575 (blink-cursor-timer-function, blink-cursor-suspend):
1576 Don't special-case GUIs.
1577 (blink-cursor-mode): Use focus-in/out-hook.
1579 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1581 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1582 work when annotation is invisible (Bug#13886).
1584 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1586 * json.el (json-alist-p): Only return non-nil if the alist has
1587 simple keys (Bug#13518).
1589 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1591 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1592 when control-statement is the first statement in a buffer (Bug#15956).
1594 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1596 * imenu.el (imenu-generic-skip-comments-and-strings):
1597 New option (Bug#15560).
1598 (imenu--generic-function): Use it.
1600 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1602 * minibuffer.el (completion--in-region-1): Scroll the correct
1605 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1607 * emacs-lisp/helpers.el: Add some string helpers.
1608 (string-trim-left): Removes leading whitespace.
1609 (string-trim-right): Removes trailing whitespace.
1610 (string-trim): Removes leading and trailing whitespace.
1612 * subr.el (string-suffix-p): New function.
1614 2013-11-23 Glenn Morris <rgm@gnu.org>
1616 * progmodes/python.el (python-shell-send-file):
1617 Add option to delete file when done. (Bug#15647)
1618 (python-shell-send-string, python-shell-send-region): Use it.
1620 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1622 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1623 to set buffer-read-only to t, never to nil. (Bug#15938)
1625 * textmodes/tex-mode.el (latex-noindent-environments):
1626 Add safe-local-variable property. (Bug#15936)
1628 2013-11-23 Glenn Morris <rgm@gnu.org>
1630 * textmodes/enriched.el (enriched-mode): Doc fix.
1631 * emacs-lisp/authors.el (authors-renamed-files-alist):
1632 Add enriched.doc -> enriched.txt.
1634 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1636 2013-11-22 Leo Liu <sdl.web@gmail.com>
1638 * progmodes/octave.el (inferior-octave-startup): Spit out error
1641 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1643 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1646 (ruby-encoding-magic-comment-style): Add :version.
1648 2013-11-22 Leo Liu <sdl.web@gmail.com>
1650 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1652 (octave-help-mode): Adapt to change to help-mode-finish to use
1653 derived-mode-p on 2013-09-17.
1654 (inferior-octave-prompt): Also match octave-gui.
1655 (octave-kill-process): Don't ask twice. (Bug#10564)
1657 2013-11-22 Leo Liu <sdl.web@gmail.com>
1659 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1660 (inferior-octave-startup, inferior-octave-check-process)
1661 (inferior-octave-track-window-width-change)
1662 (octave-completion-at-point, octave-eldoc-function): Use it.
1663 (octave-kill-process): Provide confirmation. (Bug#10564)
1665 2013-11-21 Leo Liu <sdl.web@gmail.com>
1667 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1668 Fix obsolete variable comment-use-global-state.
1670 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1672 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1673 Add `octave-source-file'.
1674 (octave-source-file): New function. (Bug#15935)
1676 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1678 * net/eww.el (eww-local-regex): New variable.
1679 (eww): Use it to detect localhost and similar.
1681 2013-11-21 Leo Liu <sdl.web@gmail.com>
1683 Add completion for command `ag'.
1684 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1685 (pcomplete/ag): New function.
1686 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1688 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1690 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1692 (make-obsolete): Remove interactive spec.
1694 2013-11-21 Glenn Morris <rgm@gnu.org>
1696 * startup.el (command-line-1): Use path-separator with -L.
1698 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1700 * emacs-lisp/package.el (describe-package-1): Add package archive
1703 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1705 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1706 Change default to "# encoding: %s" to differentiate it from the
1707 default Ruby encoding comment template.
1709 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1711 * ses.el (ses-mode): Doc fix. (Bug#14748)
1713 2013-11-20 Leo Liu <sdl.web@gmail.com>
1715 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1717 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1719 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1720 when rebase or bisect are in progress.
1722 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1724 * filenotify.el (file-notify-add-watch): Doc fix.
1726 2013-11-19 Leo Liu <sdl.web@gmail.com>
1728 * obsolete/rcompile.el: Mark obsolete.
1730 * progmodes/compile.el (compilation-start)
1731 (compilation-goto-locus, compilation-find-file):
1732 Pass no-display-ok and handle nil value from display-buffer.
1735 * window.el (display-buffer-alist, display-buffer): Document the
1736 new parameter no-display-ok. Return either a window or nil
1737 but never a non-window value.
1739 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1741 * electric.el (electric-indent-mode-map): Remove.
1742 (electric-indent-mode): Change the global-map instead (bug#15915).
1744 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1747 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1749 * emacs-lisp/nadvice.el (remove-function): Align with
1750 add-function's behavior.
1752 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1753 (gdb--string-regexp): New constant.
1754 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1755 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1756 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1758 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1759 Adjust use accordingly.
1760 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1762 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1764 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1765 interpolation curlies (Bug#15914).
1767 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1769 * calc/calc.el (calc-context-sensitive-enter): New variable.
1770 (calc-enter): Use `calc-context-sensitive-enter'.
1772 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1774 * progmodes/cfengine.el: Version bump.
1775 (cfengine-cf-promises): New defcustom to locate cf-promises.
1776 (cfengine3-vartypes): Add new "data" type.
1777 (cfengine3--current-word): New function to get current name-like
1779 (cfengine3--current-function): New function to look up a CFEngine
1780 function's definition.
1781 (cfengine3-format-function-docstring): New function.
1782 (cfengine3-make-syntax-cache): New function.
1783 (cfengine3-documentation-function): New function: ElDoc glue.
1784 (cfengine3-completion-function): New function: completion glue.
1785 (cfengine3-mode): Set `compile-command',
1786 `eldoc-documentation-function', and add to
1787 `completion-at-point-functions'.
1789 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1791 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1792 `tramp-current-connection'.
1794 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1796 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1797 nil/self/true/false with "end of symbol".
1799 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1801 * subr.el (version-regexp-alist): Fix a typo.
1803 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1805 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1806 "en_US.utf8" and "LC_CTYPE" to "".
1807 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1808 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1810 2013-11-15 Leo Liu <sdl.web@gmail.com>
1812 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1814 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1816 * progmodes/gud.el (ctl-x-map):
1817 Remove C-x SPC binding. (Bug#12342)
1818 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1820 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1822 * subr.el (version-regexp-alist):
1823 Recognize hg, svn and darcs versions as snapshot versions.
1825 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1826 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1827 (ruby--encoding-comment-required-p): Extract from
1828 `ruby-mode-set-encoding'.
1829 (ruby-mode-set-encoding): Add the ability to always insert an
1830 utf-8 encoding comment. Fix and simplify coding comment update
1833 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1835 * net/tramp-gvfs.el (top): Run init code only when
1836 `tramp-gvfs-enabled' is not nil.
1837 (tramp-gvfs-enabled): Check also :system bus.
1839 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1841 Sync with upstream verilog-mode revision 78e66ba.
1842 * progmodes/verilog-mode.el (verilog-end-of-defun)
1843 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1844 (verilog-get-end-of-defun): Remove unused argument.
1845 (verilog-comment-depth): Remove unused local `e'.
1846 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1847 Don't pass arg to verilog-get-end-of-defun.
1849 2013-11-14 Glenn Morris <rgm@gnu.org>
1851 * obsolete/assoc.el (aget): Prefix dynamic variable.
1853 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1855 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1857 * widget.el, hfy-cmap.el: Remove bogus package version number.
1859 2013-11-13 Glenn Morris <rgm@gnu.org>
1861 * replace.el (replace-eval-replacement):
1862 Try to give more helpful error message. (Bug#15836)
1864 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1865 (archive-7z-update): Avoid custom type mismatches.
1867 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1869 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1871 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1872 address can be empty.
1874 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1875 Accept nil SWITCHES.
1876 (tramp-gvfs-handle-write-region): Implement APPEND.
1878 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1880 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1881 binary "|" operator and closing block args delimiter.
1882 Remove FIXME comment referring to Ruby 1.8-only syntax.
1883 (ruby-smie--implicit-semi-p): Not after "|" operator.
1884 (ruby-smie--closing-pipe-p): New function.
1885 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1886 (ruby-smie-rules): Indent after "|".
1888 2013-11-12 Glenn Morris <rgm@gnu.org>
1890 * ps-print.el (ps-face-attribute-list):
1891 Handle anonymous faces. (Bug#15827)
1893 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1895 * window.el (display-buffer-other-frame): Fix doc-string.
1898 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1900 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1902 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1904 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1905 (tramp-sh-handle-file-local-copy): Don't write a message when
1906 saving temporary files.
1908 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1909 both directories are remote.
1910 (tramp-smb-handle-directory-files): Do not return double entries.
1911 Do not expand full file names.
1912 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1913 (tramp-smb-handle-write-region): Implement APPEND.
1914 (tramp-smb-get-stat-capability): Fix a stupid bug.
1916 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1918 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1920 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1922 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1923 throwing error over malformed let/let* (bug#15814).
1925 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1927 * iswitchb.el (iswitchb-mode): Mark obsolete.
1929 2013-11-11 Glenn Morris <rgm@gnu.org>
1931 * international/uni-bidi.el, international/uni-category.el:
1932 * international/uni-name.el, international/uni-numeric.el:
1933 Regenerate for Unicode 6.3.0.
1935 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1937 * net/tramp.el (tramp-methods):
1938 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1939 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1941 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1943 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1944 Force highlighting text after Summary keyword in doc face for rpm.
1946 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1948 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1949 available and the word has no wildcards, append one to the grep pattern.
1950 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1951 (ispell-complete-word): Call `ispell-lookup-words' with the value
1952 independent of `ispell-look-p'.
1954 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1956 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1958 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1961 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1963 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1964 (ruby-font-lock-keywords): Use backquote.
1966 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1968 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1969 (ruby-smie--backward-token): Only consider full-string matches.
1971 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1973 * faces.el (describe-face): Add distant-foreground.
1975 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1977 * progmodes/ruby-mode.el: Improve encoding comment handling.
1978 (ruby-encoding-magic-comment-style): New option.
1979 (ruby-custom-encoding-magic-comment-template): New option.
1980 (ruby--insert-coding-comment, ruby--detect-encoding):
1981 New functions extracted from `ruby-mode-set-encoding'.
1982 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1983 to control the style of the auto-inserted encoding comment.
1985 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1987 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1988 Use `smie-backward-sexp' with token argument.
1990 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1992 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1993 Remove instrumentation code.
1995 2013-11-08 Glenn Morris <rgm@gnu.org>
1997 * progmodes/autoconf.el (autoconf-mode):
1998 Tweak comment-start-skip. (Bug#15822)
2000 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2002 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2003 at bobp (bug#15826).
2004 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2006 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2008 * man.el (Man-start-calling): New macro, extracted from
2009 Man-getpage-in-background.
2010 (Man-getpage-in-background): Use it.
2011 (Man-update-manpage): New command.
2012 (Man-mode-map): Bind it.
2014 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2016 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2017 of "and", "or", "&&" and "||".
2018 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2019 argument. Prohibit opening curly brace because it could only be a
2020 block opener in that position.
2021 (ruby-smie--forward-token, ruby-smie--backward-token):
2022 Separate "|" from "&" or "*" going after it. That can happen in block
2024 (ruby-smie--indent-to-stmt): New function, seeks the end of
2025 previous statement or beginning of buffer.
2026 (ruby-smie-rules): Use it.
2027 (ruby-smie-rules): Check if there's a ":" before a curly block
2028 opener candidate; if there is, it's a hash.
2030 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2032 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2033 (cl--block-wrapper): Fix last accidental change.
2035 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2037 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2038 Instrument, in order to hunt failure on hydra.
2040 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2042 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2043 malformed bindings form (bug#15814).
2045 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2047 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2048 "." compared to " @ ". This incidentally fixes some indentation
2050 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2051 (ruby-smie-grammar): New tokens: "and" and "or".
2052 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2053 Exclude "and" and "or". Remove "do" in order to work around token
2055 (ruby-smie-rules): Add all infix tokens. Handle the case of
2056 beginning-of-buffer.
2058 2013-11-06 Glenn Morris <rgm@gnu.org>
2060 * Makefile.in (setwins_almost, setwins_for_subdirs):
2061 Avoid accidental matches.
2063 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2065 * menu-bar.el (popup-menu): Use key-binding.
2067 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2069 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2070 menus, support also the menus produced by minor modes.
2073 2013-11-06 Leo Liu <sdl.web@gmail.com>
2075 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2076 DISTANCE to bound the search. All uses changed. (Bug#15808)
2078 2013-11-06 Glenn Morris <rgm@gnu.org>
2080 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2081 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2082 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2084 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2086 * electric.el (electric-indent-just-newline): New command.
2087 (electric-indent-mode-map): New keymap.
2088 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2089 Re-add :group which weren't redundant.
2091 * electric.el (electric-indent-local-mode): New minor mode.
2092 (electric-indent-functions-without-reindent): New var.
2093 (electric-indent-post-self-insert-function): Use it.
2094 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2096 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2098 * international/quail.el (quail-help): Be more explicit about the
2099 meaning of the labels shown on the keys. (Bug#15800)
2101 * startup.el (normal-top-level): Load the subdirs.el files before
2102 setting the locale environment. (Bug#15805)
2104 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2106 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2107 via arguments so as to get the right ones (bug#15418).
2109 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2111 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2113 Fix problems found while writing a test suite.
2115 * net/tramp-compat.el (tramp-compat-load): New defun.
2116 * net/tramp.el (tramp-handle-load): Use it.
2118 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2119 "(numberp ok-if-already-exists)" correctly.
2121 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2123 * international/characters.el (glyphless-char-display-control):
2126 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2128 * progmodes/python.el (python-mode):
2129 * progmodes/scheme.el (scheme-mode):
2130 * progmodes/prolog.el (prolog-mode):
2131 * progmodes/ruby-mode.el (ruby-mode):
2132 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2133 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2135 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2137 * rect.el (rectangle--highlight-for-redisplay):
2138 * emacs-lisp/smie.el (smie--next-indent-change):
2139 Use buffer-chars-modified-tick.
2141 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2143 * electric.el (electric-indent-post-self-insert-function):
2144 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2146 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2148 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2150 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2152 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2155 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2157 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2159 * progmodes/python.el: Fix up last change.
2160 (python-shell--save-temp-file): New function.
2161 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2162 `string' comes from the current buffer.
2163 (python-shell-send-string-no-output): Remove `msg' arg.
2164 (python--use-fake-loc): New var.
2165 (python-shell-buffer-substring): Obey it. Try to compensate for the
2166 extra coding line added by python-shell--save-temp-file.
2167 (python-shell-send-region): Use python-shell--save-temp-file and
2168 python-shell-send-file directly. Add `nomain' argument.
2169 (python-shell-send-buffer): Use python-shell-send-region.
2170 (python-electric-pair-string-delimiter): New function.
2171 (python-mode): Use it.
2173 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2175 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2176 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2177 environment and decoding all of the default-directory's to here
2179 (command-line): Decode also argv[0].
2181 * loadup.el: Error out if default-directory is a multibyte string
2182 when we are dumping.
2184 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2186 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2188 * emacs-lisp/package.el (package-menu-mode)
2189 (package-menu--print-info, package-menu--archive-predicate):
2190 Add Archive column to package list.
2192 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2194 Fix problems found while writing a test suite.
2196 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2197 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2198 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2199 to nil when running original file name handler. Otherwise,
2200 there are problems with constructs like "$$FOO".
2202 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2205 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2207 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2209 * subr.el (version<, version<=, version=):
2210 Update docstrings with information for snapshot versions.
2212 * helpers.el: New library for misc helper functions.
2213 (hash-table-keys): New function returning a list of hash keys.
2214 (hash-table-values): New function returning a list of hash values.
2216 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2218 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2219 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2221 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2223 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2224 checking whether point is after a 1-letter word.
2226 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2228 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2229 Don't infloop when expanding region over `multiline' syntax-type that
2230 begins a line (bug#15778).
2232 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2234 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2235 Make it into a proper minor mode.
2236 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2237 (rectangle-mark-mode-map): New keymap.
2238 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2240 2013-11-04 Glenn Morris <rgm@gnu.org>
2242 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2244 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2246 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2247 (ruby-smie-rules): Use smie-rule-parent instead.
2249 * emacs-lisp/smie.el (smie-rule-parent): Always call
2250 smie-indent-virtual rather than only for hanging tokens.
2251 (smie--next-indent-change): New helper command.
2253 2013-11-03 Glenn Morris <rgm@gnu.org>
2255 * Makefile.in (abs_srcdir): Remove.
2256 (emacs): Unset EMACSLOADPATH.
2258 2013-11-02 Glenn Morris <rgm@gnu.org>
2260 * Makefile.in (EMACS): Use a relative filename.
2261 (abs_top_builddir): Remove.
2262 (custom-deps, finder-data, autoloads): Use --chdir.
2264 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2266 Use relative filenames in TAGS files.
2267 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2268 (lisptagsfiles4, TAGS): Use relative file names.
2269 (TAGS-LISP): Remove.
2270 (maintainer-clean): No more TAGS-LISP file.
2272 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2273 (lisptagsfiles4): Use absolute filenames again.
2274 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2275 Remove all *loaddefs files, not just the first. Remove esh-groups.
2276 (maintainer-clean): Delete TAGS, TAGS-LISP.
2278 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2280 * emacs-lisp/package.el (package-version-join):
2281 Recognize snapshot versions.
2283 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2285 * subr.el (version-regexp-alist): Add support for snapshot versions.
2287 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2289 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2290 New function, replacement for `smie-rule-parent' for when we want to
2291 skip over our direct parent if it's an assignment token..
2292 (ruby-smie-rules): Use it.
2294 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2296 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2297 unconditionally. Remove now unnecessary forward declarations.
2298 Remove XEmacs-specific setup.
2299 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2300 (ruby-font-lock-syntactic-keywords)
2301 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2302 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2303 (ruby-here-doc-end-syntax): Remove.
2304 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2305 defined as function.
2307 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2309 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2311 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2313 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2314 table and abbrev table, `define-derived-mode' does that for us
2317 2013-11-01 Glenn Morris <rgm@gnu.org>
2319 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2320 files is atomic for some time, so no parallel compilation issues).
2322 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2324 * faces.el (face-x-resources): Add :distant-foreground.
2325 (region): Use :distant-foreground for gtk and ns.
2327 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2329 Allow multiple bibliographies when BibLaTeX is used rather than
2331 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2332 (reftex-locate-bibliography-files): Us it.
2334 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2336 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2337 allow comments in pbm files.
2339 * term/w32-win.el (dynamic-library-alist): Support newer versions
2340 of libjpeg starting with v7: look only for the DLL from the
2341 version against which Emacs was built.
2342 Support versions of libpng beyond 1.4.x.
2343 Support libtiff v4.x.
2345 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2347 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2348 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2350 (ruby-deep-arglist): Add property :type.
2352 2013-10-31 Glenn Morris <rgm@gnu.org>
2354 * Makefile.in (custom-deps, finder-data): No need to setq the target
2355 variables, we are in the right directory and the defaults work fine.
2357 2013-10-30 Glenn Morris <rgm@gnu.org>
2359 * Makefile.in (autoloads): Do not use abs_lisp.
2361 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2362 `newline' does not respect `standard-output', so use `princ'.
2364 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2366 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2367 * buff-menu.el (Buffer-menu--unmark): New function.
2368 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2370 2013-10-30 Glenn Morris <rgm@gnu.org>
2372 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2374 * emacs-lisp/package.el (lm-homepage): Declare.
2376 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2379 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2381 * Makefile.in (finder-data, autoloads, update-subdirs)
2382 (compile-main, compile-clean, compile-always, bootstrap-clean):
2383 Check return value of cd.
2384 (compile-calc): Remove.
2386 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2388 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2390 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2391 (byte-compile-and-folded): New function.
2392 (=, <, >, <=, >=): Use it.
2394 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2395 (path-separator, null-device, buffer-file-coding-system)
2396 (lpr-headers-switches): Check system-type before modifying them.
2397 (find-buffer-file-type-coding-system): Mark obsolete.
2398 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2399 find-file-not-found-set-buffer-file-coding-system.
2400 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2401 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2402 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2403 (w32-direct-print-region-helper, w32-direct-print-region-function)
2404 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2405 * startup.el (normal-top-level-add-subdirs-to-load-path):
2406 * ps-print.el (ps-print-region-function):
2407 * lpr.el (print-region-function): Use new name.
2409 * subr.el (custom-declare-variable-early): Remove function.
2410 (custom-declare-variable-list): Remove var.
2411 (error, user-error): Remove `while' loop.
2412 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2413 (user-emacs-directory-warning, locate-user-emacs-file):
2415 * simple.el (read-quoted-char-radix, read-quoted-char):
2416 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2418 * custom.el (custom-declare-variable-list): Don't process
2419 custom-declare-variable-list.
2421 * progmodes/python.el (python-shell-get-buffer): New function.
2422 (python-shell-get-process): Use it.
2423 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2424 Python which encoding was used. Don't split-string since we only care
2425 about the first line. Return the temp-file, if applicable.
2426 (python-shell-send-region): Tell compile.el how to turn locations in
2427 the temp-file into locations in the source buffer.
2429 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2431 * subr.el (undefined): Add missing behavior from the C code for
2434 * rect.el: Use lexical-binding. Add new rectangular region support.
2435 (rectangle-mark): New command.
2436 (rectangle--region): New var.
2437 (deactivate-mark-hook): Reset rectangle--region.
2438 (rectangle--extract-region, rectangle--insert-for-yank)
2439 (rectangle--highlight-for-redisplay)
2440 (rectangle--unhighlight-for-redisplay): New functions.
2441 (region-extract-function, redisplay-unhighlight-region-function)
2442 (redisplay-highlight-region-function): Use them to handle
2444 * simple.el (region-extract-function): New var.
2445 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2446 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2447 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2448 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2449 (redisplay-unhighlight-region-function)
2450 (redisplay-highlight-region-function): New vars.
2451 (redisplay--update-region-highlight): New function.
2452 (pre-redisplay-function): Use it.
2453 (exchange-point-and-mark): Don't deactivate the mark before
2454 reactivate-it anyway.
2455 * comint.el (comint-kill-region): Remove yank-handler argument.
2456 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2457 (delete-char): Remove property, since it's now part of their
2459 (self-insert-iso): Remove property since this command doesn't exist.
2461 * emacs-lisp/package.el (package--download-one-archive)
2462 (describe-package-1): Don't query the user about final newline.
2464 2013-10-29 Daniel Colascione <dancol@dancol.org>
2466 * net/tramp.el (tramp-methods): Document new functionality.
2467 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2468 tramp-hostname-checker if method provides one instead of scanning
2469 argument list for "%h" to decide hostname acceptability.
2471 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2473 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2474 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2475 Handle COPY-CONTENTS. (Bug#15737)
2477 2013-10-28 Daiki Ueno <ueno@gnu.org>
2480 (epa-file-cache-passphrase-for-symmetric-encryption):
2481 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2483 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2485 * image.el (defimage):
2486 (image-load-path): Doc fixes.
2488 2013-10-27 Alan Mackenzie <acm@muc.de>
2490 Indent statements in macros following "##" correctly.
2491 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2492 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2494 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2496 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2498 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2500 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2501 after `=' is probably a new expression.
2503 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2505 * man.el (man-imenu-title): New option.
2506 (Man-mode-map): Add menu. (Bug#15722)
2507 (Man-mode): Add imenu to menu.
2509 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2511 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2512 specific in what the first arg can be: a non-keyword word,
2513 string/regexp/percent literal opener, opening paren, or unary
2514 operator followed directly by word.
2516 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2518 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2519 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2520 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2521 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2522 Remove vars, they do not apply any more.
2523 (prolog-mode-abbrev-table): Remove redundant declaration.
2524 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2525 (prolog-use-smie): Remove.
2526 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2527 supported by prolog-electric-if-then-else-flag.
2528 (prolog-mode-variables, prolog-menu): Use setq-local.
2529 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2530 Remove binding to `Backspace' since this key doesn't exist anyway.
2531 Remove bindings for electric self-inserting keys.
2532 (prog-mode): Assume it's defined.
2533 (prolog-post-self-insert): New function.
2534 (prolog-mode): Use it.
2535 (prolog-indent-line, prolog-indent-level)
2536 (prolog-find-indent-of-matching-paren)
2537 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2538 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2539 (prolog-goto-next-paren, prolog-in-string-or-comment)
2540 (prolog-tokenize, prolog-inside-mline-comment)
2541 (prolog-find-start-of-mline-comment): Remove functions.
2542 (prolog-find-unmatched-paren, prolog-clause-end)
2543 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2544 (prolog-electric--if-then-else): Rename from
2545 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2546 (prolog-tokenize-searchkey): Remove const.
2547 (prolog-clause-info): Use forward-sexp.
2548 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2549 (prolog-electric-if-then-else): Remove commands.
2550 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2551 for use in post-self-insert-hook.
2552 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2553 for use in post-self-insert-hook.
2554 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2555 for use in post-self-insert-hook.
2556 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2557 adapt it for use in post-self-insert-hook.
2559 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2561 * emacs-lisp/ert.el (ert-run-tests-interactively):
2562 Use `completing-read'. (Bug#9756)
2564 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2566 * simple.el (line-move): Call line-move-1 instead of
2567 line-move-visual when the current window hscroll is zero, but
2568 temporary-goal-column indicates we will need to hscroll as result
2569 of the movement. (Bug#15712)
2571 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2573 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2574 capitalization. Use :visible instead of :active.
2575 Fix `ruby-indent-exp' reference. Add menu items for the generic
2576 commands that are used with SMIE.
2577 (ruby-do-end-to-brace): Insert space after `{'.
2579 2013-10-25 John Anthony <john@jo.hnanthony.com>
2581 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2583 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2585 2013-10-25 Glenn Morris <rgm@gnu.org>
2587 * vc/vc.el (vc-print-log): Don't use a working revision unless
2588 one was explicitly specified. (Bug#15322)
2590 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2592 * subr.el (add-to-list): Preserve return value in compiler-macro
2595 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2597 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2598 result. Ask user to retry using '-all' flag. (Bug#15701)
2600 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2602 * emacs-lisp/smie.el: New smie-config system.
2603 (smie-config): New defcustom.
2604 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2605 (smie-config-guess, smie-config-save): New commands.
2606 (smie-config--mode-local, smie-config--buffer-local)
2607 (smie-config--trace, smie-config--modefuns): New vars.
2608 (smie-config--advice, smie-config--mode-hook)
2609 (smie-config--setter, smie-config-local, smie-config--get-trace)
2610 (smie-config--guess-value, smie-config--guess): New functions.
2611 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2612 text properties. Treat "string fence" syntax like string syntax.
2614 * progmodes/sh-script.el (sh-use-smie): Change default.
2615 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2616 (sh-var-value): Simplify by CSE.
2617 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2618 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2620 (sh-guess-basic-offset): Use cl-incf.
2621 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2623 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2625 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2628 2013-10-24 Glenn Morris <rgm@gnu.org>
2630 * Makefile.in (abs_top_srcdir): Remove.
2631 (update-subdirs): Use relative path to update-subdirs.
2633 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2635 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2636 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2637 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2638 Call unmsys--file-name before expand-file-name, not after it.
2640 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2642 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2643 (ert-test-skipped): New error.
2644 (ert-skip, ert-stats-skipped): New defuns.
2645 (ert--skip-unless): New macro.
2646 (ert-test-skipped): New struct.
2647 (ert--run-test-debugger, ert-test-result-type-p)
2648 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2649 (ert--stats-set-test-and-result, ert-char-for-test-result)
2650 (ert-string-for-test-result, ert-run-tests-batch)
2651 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2652 Handle skipped tests. (Bug#9803)
2654 2013-10-24 Glenn Morris <rgm@gnu.org>
2656 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2658 * Makefile.in (abs_top_srcdir): New, set by configure.
2659 (update-subdirs): Correct build-aux location.
2661 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2663 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2664 value, whether we could auto-deduce `backend', or not.
2666 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2667 with parameters" example. Simplify the "is it block or is it
2668 hash" check, but also make it more thorough.
2670 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2672 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2674 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2676 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2679 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2682 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2684 * progmodes/compile.el (compilation-directory-matcher)
2685 (compilation-page-delimiter):
2686 Support GNU Make-4.0 directory quoting. (Bug#15678)
2688 2013-10-23 Leo Liu <sdl.web@gmail.com>
2690 * ido.el (ido-tidy): Handle read-only text.
2692 2013-10-23 Glenn Morris <rgm@gnu.org>
2694 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2695 (emacs, compile, compile-always):
2696 Quote entities that might contain whitespace.
2697 (custom-deps, finder-data, autoloads): Use abs_lisp.
2698 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2699 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2700 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2702 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2704 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2705 Use `following-char'.
2707 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2709 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2710 * progmodes/ruby-mode.el (ruby-smie-rules):
2711 Remove corresponding workaround. Fix indentation rule of ";" so it
2712 also applies when ";" is the parent.
2714 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2716 * frame.el (display-screens, display-pixel-height)
2717 (display-pixel-width, display-mm-width, display-backing-store)
2718 (display-save-under, display-planes, display-color-cells)
2719 (display-visual-class, display-monitor-attributes-list):
2720 Mention the optional ‘display’ argument in doc strings.
2722 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2724 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2725 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2727 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2729 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2730 TODO. Add "." after " @ ".
2731 (ruby-smie--at-dot-call): New function. Checks if point at method
2732 call with explicit target.
2733 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2734 to the method name tokens when it precedes them.
2735 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2736 (ruby-smie-rules): Add rule for indentation before and after "."
2739 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2741 * textmodes/remember.el (remember-diary-extract-entries):
2744 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2747 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2749 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2750 (ruby-smie--implicit-semi-p): Add new operator chars.
2752 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2754 (ruby-smie--args-separator-p): Check that there's no newline
2755 between method call and its arguments.
2757 2013-10-20 Alan Mackenzie <acm@muc.de>
2759 Allow comma separated lists after Java "implements".
2761 * progmodes/cc-engine.el (c-backward-over-enum-header):
2763 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2764 from a "disallowed" list in enum fontification.
2766 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2768 * startup.el (default-frame-background-mode): Remove unused defvar.
2770 * progmodes/verilog-mode.el (verilog-mode): Don't set
2771 comment-indent-function globally.
2773 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2775 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2776 Move Info menu item creation to ns-win.el.
2778 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2781 * menu-bar.el: Move GNUStep specific menus...
2783 * term/ns-win.el (ns-initialize-window-system): ... to here.
2785 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2787 * simple.el (newline): Only run post-self-insert-hook when
2788 called interactively.
2790 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2792 * icomplete.el (icomplete-with-completion-tables): Add :version.
2794 2013-10-19 Alan Mackenzie <acm@muc.de>
2796 Fix fontification bugs with constructors and const.
2798 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2799 CASE 2) Remove the check for the absence of a suffix construct
2800 after a function declaration with only types (no identifiers) in
2801 the parentheses. Also, accept a function declaration with just a
2802 type inside the parentheses, if this type can be positively
2803 recognised as such, or if a prefix keyword like "explicit" nails
2804 down the construct as a declaration.
2806 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2808 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2809 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2810 the problem whereby selecting a menu item that leads to a
2811 minibuffer prompt moves the cursor out of the minibuffer window,
2812 making it hard to type at the prompt. Suggested by Stefan Monnier
2813 <monnier@iro.umontreal.ca>.
2815 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2817 * menu-bar.el: Don't make Services menu.
2819 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2821 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2822 (ffap-alist): Use ffap-c++-mode for c++-mode.
2823 (ffap-c++-path): New variable.
2824 (ffap-c++-mode): New function.
2826 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2828 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2830 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2832 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2833 introduced on 2013-09-08, which results in an infinite loop
2834 requesting a password.
2836 2013-10-18 Glenn Morris <rgm@gnu.org>
2838 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2840 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2842 Sync with upstream verilog-mode revision 1a6ecec7.
2843 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2844 (verilog-mode-release-date): Remove.
2845 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2846 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2847 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2848 (verilog-auto-tieoff-ignore-regexp)
2849 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2850 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2851 (verilog-signals-with, verilog-dir-cache-preserving)
2852 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2854 (verilog-case-fold): New option, to control case folding in
2855 regexp searches, bug597.
2856 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2857 (verilog-string-match-fold, verilog-in-paren-count)
2858 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2859 (verilog-at-close-struct-p): New functions.
2860 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2861 (verilog-forward-sexp, verilog-set-auto-endcomments):
2862 (verilog-leap-to-case-head): Handle "unique0" case.
2863 (verilog-in-constraint-re): New constant.
2864 (verilog-keywords, verilog-type-font-keywords):
2865 Add some SystemVerilog 1800-2012 keywords.
2866 (verilog-label-be): Remove unimplemented argument, bug669.
2867 (verilog-batch-execute-func): When batch expanding clear
2868 create-lockfiles to prevent spurious user locks when a file ends
2870 (verilog-calculate-indent, verilog-calc-1)
2871 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2872 (verilog-do-indent): Fix indentation of nested constraints
2874 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2875 (verilog-auto-inst-param): Use verilog-string-match-fold.
2876 (verilog-read-inst-module-matcher):
2877 Fix AUTOINST on gate primitives with #1.
2878 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2879 Reads all user-defined typed variables.
2880 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2881 (verilog-signals-matching-regexp)
2882 (verilog-signals-not-matching-regexp, verilog-auto):
2883 Respect verilog-case-fold.
2884 (verilog-diff-report): Fix line count.
2885 (verilog-auto-assign-modport): Remove unused local `modi'.
2886 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2887 better handle multidimensional arrays.
2888 Fix packed array ports misadding bit index in AUTOINST, bug637.
2889 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2890 to not double-declare existing outputs and inputs, respectively.
2891 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2892 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2893 (verilog-sk-uvm-component): New skeleton.
2894 (verilog-submit-bug-report): Add verilog-case-fold,
2895 remove verilog-mode-release-date.
2897 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2899 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2902 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2904 * textmodes/remember.el (remember): Set buffer-offer-save in
2905 remember buffers (bug#13566).
2907 2013-10-18 Daniel Colascione <dancol@dancol.org>
2909 When evaluating forms in ielm, direct standard output to ielm
2910 buffer. Add new ielm-return-for-effect command. Remove trailing
2911 whitespace throughout.
2913 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2914 (ielm-return-for-effect): New command.
2915 (ielm-send-input): Accept optional `for-effect' parameter.
2916 (ielm-eval-input): Accept optional `for-effect' parameter.
2917 Bind `standard-output' to stream we create using
2918 `ielm-standard-output-impl'. Suppress printing result when
2920 (ielm-standard-output-impl): New function.
2921 (inferior-emacs-lisp-mode): Explain new features in documentation.
2923 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2927 * net/tramp.el (tramp-debug-message): Do not check for connection
2929 (tramp-message): Use "vector" connection property.
2931 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2932 (tramp-equal-remote, tramp-eshell-directory-change)
2933 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2934 (tramp-adb-handle-rename-file)
2935 * net/tramp-cmds.el (tramp-list-remote-buffers)
2936 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2937 * net/tramp-compat.el (tramp-compat-process-running-p)
2938 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2939 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2940 (tramp-gvfs-handle-rename-file)
2941 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2942 (tramp-set-file-uid-gid)
2943 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2944 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2947 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2948 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2949 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2950 (tramp-gw-open-network-stream): Suppress unrelated traces.
2952 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2953 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2954 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2955 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2956 connection property.
2958 * net/tramp-cache.el (top): Suppress traces when reading
2961 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2962 Refactor common code. Improve debug message.
2963 (tramp-maybe-open-connection)
2964 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2965 connection buffer too early.
2967 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2968 from `tramp-smb-actions-with-acl'.
2969 (tramp-smb-actions-set-acl): New defconst.
2970 (tramp-smb-handle-copy-directory)
2971 (tramp-smb-action-get-acl): New defun, renamed from
2972 `tramp-smb-action-with-acl'.
2973 (tramp-smb-action-set-acl): New defun.
2974 (tramp-smb-handle-set-file-acl): Rewrite.
2976 2013-10-17 Glenn Morris <rgm@gnu.org>
2978 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2980 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2982 * skeleton.el (skeleton-newline): Remove.
2983 (skeleton-internal-1): Use (insert "\n") instead.
2985 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2988 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2989 forward-sexp-function while we redo its job (bug#15613).
2991 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2993 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2994 represented by lists.
2996 2013-10-16 Glenn Morris <rgm@gnu.org>
2998 * tmm.el (tmm--history): New dynamic variable.
2999 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3001 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3003 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3004 (tramp-smb-errors): Add error messages.
3005 (tramp-smb-actions-with-acl): New defconst.
3006 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3007 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3008 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3009 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3010 (tramp-smb-get-stat-capability): Fix tests.
3012 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3014 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3017 2013-10-16 Glenn Morris <rgm@gnu.org>
3019 * ansi-color.el (ansi-color-drop-regexp):
3020 Add 1J, 1K, 2K. (Bug#15617)
3022 * files.el (hack-local-variables--warned-lexical): New.
3023 (hack-local-variables):
3024 Warn about misplaced lexical-binding. (Bug#15616)
3026 * net/eww.el (eww-render): Always set eww-current-url,
3027 and update header line. (Bug#15622)
3028 (eww-display-html): ... Rather than just doing it here.
3030 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3032 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3033 menu navigations commands.
3035 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3037 * progmodes/subword.el (subword-capitalize): Be careful when
3038 the search for [[:alpha:]] fails (bug#15580).
3040 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3042 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3043 to commands that scroll the menu.
3045 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3047 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3048 Handle methods ending with `?' and `!'.
3050 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3052 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3053 `japanese-cp932' to `cp932' to fix the problem where saving a
3054 source file written in Shift_JIS twice would end up having
3055 `coding: japanese-cp932' which Ruby could not recognize.
3056 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3057 in `ruby-encoding-map'.
3058 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3059 doesn't need to be explicitly declared in magic comment.
3060 (ruby-encoding-map): Add type declaration for better customize UI.
3062 2013-10-13 Glenn Morris <rgm@gnu.org>
3064 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3065 Occur buffers are read-only. http://bugs.debian.org/720775
3067 * emacs-lisp/authors.el (authors-fixed-entries):
3068 Comment out old alpha stuff.
3070 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3072 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3073 to `after-save-hook' instead of `before-save-hook'.
3074 (ruby-mode-set-encoding): Use the value of coding system used to
3075 write the file. Call `basic-save-buffer-1' after modifying the
3078 2013-10-13 Alan Mackenzie <acm@muc.de>
3080 Fix indentation/fontification of Java enum with
3081 "implements"/generic.
3083 * progmodes/cc-engine.el (c-backward-over-enum-header):
3084 Extracted from the three other places and enhanced to handle generics.
3085 (c-inside-bracelist-p): Uses new function above.
3086 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3088 (c-font-lock-enum-tail): Uses new function above.
3090 2013-10-13 Kenichi Handa <handa@gnu.org>
3092 * international/mule-cmds.el (select-safe-coding-system): Remove a
3093 superfluous condition in chekcing whether a coding system is safe
3096 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3098 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3100 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3102 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3104 2013-10-13 Glenn Morris <rgm@gnu.org>
3106 * menu-bar.el (menu-bar-update-buffers):
3107 Unify Buffers menu prompt string. (Bug#15576)
3109 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3111 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3113 (authors-fixed-entries): Use accented form of name.
3115 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3117 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3118 method calls (bug#15594).
3119 (ruby-smie--args-separator-p): New function.
3120 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3121 recognize paren-free method calls.
3123 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3124 internals of universal-argument.
3126 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3128 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3129 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3130 dropped menu on second mouse click on the menu bar.
3132 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3134 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3135 (explicit-shell-file-name): Declare.
3136 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3137 (sh-completion-at-point-function): New function.
3139 (sh-smie--keyword-p): Remove unused argument.
3140 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3142 (sh-set-shell): Always setup SMIE, even if we use the
3143 old indentation code.
3145 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3147 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3149 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3150 predicate would return nil are almost non-existent.
3151 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3153 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3154 cache also after commands that modify the buffer but don't move
3157 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3159 * env.el (substitute-env-in-file-name): New function.
3160 (substitute-env-vars): Extend the meaning of the optional arg.
3162 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3164 * term/w32-win.el (dynamic-library-alist): Define separate lists
3165 of GIF DLLs for versions before and after 5.0.0 of giflib.
3168 2013-10-10 João Távora <joaotavora@gmail.com>
3170 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3171 not locked, use last revision and current source as
3172 defaults. (Bug#15569)
3174 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3176 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3179 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3181 * window.el (pop-to-buffer-same-window): Fix doc-string.
3184 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3186 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3188 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3190 * calendar/icalendar.el (icalendar-import-file):
3191 Fix interactive spec. (Bug#15482)
3193 2013-10-10 Glenn Morris <rgm@gnu.org>
3195 * desktop.el (desktop-save): Default to saving in .emacs.d,
3196 since PWD is no longer in desktop-path by default. (Bug#15319)
3198 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3199 now that text mode has a menu with the same entry.
3200 (menu-bar-text-mode-auto-fill): Remove now unused func.
3201 * textmodes/text-mode.el (text-mode-map):
3202 Use auto-fill help text from menu-bar.el.
3204 2013-10-10 John Anthony <john@jo.hnanthony.com>
3206 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3208 2013-10-09 Juri Linkov <juri@jurta.org>
3210 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3211 instead of this-command-keys. Add universal-argument-more and
3212 universal-argument-minus to the list of prefix commands. (Bug#15568)
3214 2013-10-09 Glenn Morris <rgm@gnu.org>
3216 * vc/vc-svn.el (vc-svn-create-repo):
3217 Expand paths in file://... url. (Bug#15446)
3219 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3221 (authors): Remove unused local variables.
3223 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3225 * profiler.el: Create a more coherent calltree from partial backtraces.
3226 (profiler-format): Hide the tail with `invisible' so that C-s can still
3227 find the hidden elements.
3228 (profiler-calltree-depth): Don't recurse so enthusiastically.
3229 (profiler-function-equal): New hash-table-test.
3230 (profiler-calltree-build-unified): New function.
3231 (profiler-calltree-build): Use it.
3232 (profiler-report-make-name-part): Indent the calltree less.
3233 (profiler-report-mode): Add visibility specs for profiler-format.
3234 (profiler-report-expand-entry, profiler-report-toggle-entry):
3235 Expand the whole subtree when provided with a prefix arg.
3237 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3239 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3241 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3242 hanging iuwu-mod token.
3243 (ruby-smie--forward-token): Do not include a dot after a token in
3245 (ruby-smie--backward-token): Likewise.
3247 2013-10-08 Juri Linkov <juri@jurta.org>
3249 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3250 to isearch-other-control-char.
3251 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3252 and isearch-post-command-hook to post-command-hook.
3253 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3254 and isearch-post-command-hook from post-command-hook.
3255 (isearch-unread-key-sequence)
3256 (isearch-reread-key-sequence-naturally)
3257 (isearch-lookup-scroll-key, isearch-other-control-char)
3258 (isearch-other-meta-char): Remove functions.
3259 (isearch-pre-command-hook, isearch-post-command-hook):
3260 New functions based on isearch-other-meta-char rewritten
3261 relying on the new behavior of overriding-terminal-local-map
3262 that does not replace the local keymaps any more. (Bug#15200)
3264 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3266 Support menus on text-mode terminals.
3267 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3270 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3272 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3273 Move here from mouse.el.
3274 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3276 (tty-menu-navigation-map): New map for TTY menu navigation.
3278 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3280 * frame.el (display-mouse-p): Report text-mode mouse as available
3282 (display-popup-menus-p): Report availability if mouse is
3283 available; don't condition on window-system.
3285 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3286 (tty-menu-selected-face): New faces.
3288 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3290 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3291 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3292 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3293 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3295 (lisp-mode-variables): New `elisp' argument.
3296 (emacs-lisp-mode): Use it.
3297 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3298 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3300 * indent.el: Use lexical-binding.
3301 (indent-region): Add progress reporter.
3302 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3304 (indent--next-tab-stop): New function to implement this behavior.
3305 (tab-to-tab-stop, move-to-tab-stop): Use it.
3307 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3309 * indent.el (indent-rigidly--current-indentation): New function.
3310 (indent-rigidly-map): New var.
3311 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3313 2013-10-08 Bastien Guerry <bzg@gnu.org>
3315 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3317 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3319 * progmodes/perl-mode.el: Use lexical-binding.
3320 Remove redundant :group args.
3321 (perl-nochange): Change default to be closer to other major modes's
3323 (perl-indent-line): Don't consider text on current line as a
3324 valid beginning of function from which to indent.
3326 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3327 with more than one argument (bug#15538).
3329 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3331 * vc/pcvs.el: Use lexical-binding.
3332 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3333 environment of `eval'.
3334 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3335 than a list of expressions. Adjust callers.
3336 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3338 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3340 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3341 case of the dot in a chained method call being on the following line.
3343 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3345 * electric.el (electric-indent-inhibit): New var.
3346 (electric-indent-post-self-insert-function): Use it.
3347 * progmodes/python.el (python-mode): Set it.
3349 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3352 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3354 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3355 (css-mode): Use electric-indent-chars.
3357 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3358 (font-lock-beg, font-lock-end): Move before first use.
3359 (nxml-mode): Use syntax-propertize-function.
3360 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3361 (nxml-extend-after-change-region): Remove.
3362 * nxml/xmltok.el: Use lexical-binding.
3363 (xmltok-save): Use `declare'.
3364 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3365 * nxml/nxml-util.el: Use lexical-binding.
3366 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3368 * nxml/nxml-ns.el: Use lexical-binding.
3369 (nxml-ns-save): Use `declare'.
3370 (nxml-ns-prefixes-for): Avoid add-to-list.
3371 * nxml/rng-match.el: Use lexical-binding.
3372 (rng--ipattern): Use cl-defstruct.
3373 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3374 (rng-cons-group-after, rng-subst-group-after)
3375 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3376 Use closures instead of `(lambda...).
3378 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3380 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3383 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3384 Use `tramp-handle-insert-file-contents'.
3385 (tramp-gvfs-handle-insert-file-contents): Remove function.
3387 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3388 Use `save-restriction' in order to keep markers.
3390 * net/trampver.el: Update release number.
3392 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3394 * progmodes/compile.el (compilation-parse-errors):
3395 Use compilation--put-prop.
3396 (compilation--ensure-parse): Check compilation-multiline.
3398 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3400 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3403 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3405 * progmodes/ruby-mode.el: Fix recently added tests.
3406 (ruby-smie-grammar): Add - and +.
3407 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3408 (ruby-smie--backward-id): New functions.
3409 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3410 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3413 2013-10-07 Leo Liu <sdl.web@gmail.com>
3415 * register.el (register-preview-delay)
3416 (register-preview-functions): New variables.
3417 (register-read-with-preview, register-preview)
3418 (register-describe-oneline): New functions.
3419 (point-to-register, window-configuration-to-register)
3420 (frame-configuration-to-register, jump-to-register)
3421 (number-to-register, view-register, insert-register)
3422 (copy-to-register, append-to-register, prepend-to-register)
3423 (copy-rectangle-to-register): Use register-read-with-preview to
3424 read register. (Bug#15525)
3426 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3428 * net/network-stream.el (network-stream-open-starttls): Don't add
3429 --insecure if it's already present, because that gnutls-cli
3430 rejects getting that parameter twice.
3432 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3434 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3437 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3439 * newcomment.el (comment-use-global-state): Change default value
3440 to t, mark obsolete (Bug#15251).
3441 (comment-beginning): In addition to `comment-to-syntax', check the
3442 value of `comment-use-global-state'.
3444 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3446 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3447 (ruby-comment-column): Follow the global default, by default.
3448 (ruby-smie-grammar): Add assignment syntax.
3449 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3450 open-paren, a comma, or a \.
3451 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3452 and line continuations.
3453 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3454 followed by implicit semi-colons. Add rule for string concatenation
3455 and for indentation at BOB.
3456 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3458 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3459 calling next-sexp, since next-token may have skipped chars which
3460 next-sexp doesn't know should be skipped!
3462 2013-10-05 Leo Liu <sdl.web@gmail.com>
3464 * progmodes/octave.el (octave-send-region):
3465 Call compilation-forget-errors.
3467 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3469 * vc/vc-svn.el (vc-svn-find-admin-dir):
3470 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3471 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3472 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3473 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3475 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3477 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3479 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3481 * subr.el (read-passwd): Hide chars even when called within a context
3482 where after-change-functions is disabled (bug#15501).
3483 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3484 until we removed ourself from overriding-terminal-local-map.
3486 2013-10-04 Leo Liu <sdl.web@gmail.com>
3488 * progmodes/octave.el (inferior-octave-mode):
3489 Call compilation-forget-errors.
3491 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3493 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3495 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3497 * net/secrets.el (secrets-create-collection): Add optional
3498 argument ALIAS. Use proper Label keyword. Append ALIAS as
3499 dbus-call-method argument. (Bug#15516)
3501 2013-10-04 Leo Liu <sdl.web@gmail.com>
3503 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3504 (inferior-octave-compilation-font-lock-keywords): New variables.
3505 (compilation-error-regexp-alist)
3506 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3507 (inferior-octave-mode): Use compilation-shell-minor-mode.
3509 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3511 * minibuffer.el (completion--replace): Be careful that `end' might be
3514 2013-10-03 Daiki Ueno <ueno@gnu.org>
3516 Add support for package signature checking.
3517 * emacs-lisp/package.el (url-http-file-exists-p)
3518 (epg-make-context, epg-context-set-home-directory)
3519 (epg-verify-string, epg-context-result-for)
3520 (epg-signature-status, epg-signature-to-string)
3521 (epg-check-configuration, epg-configuration)
3522 (epg-import-keys-from-file): Declare.
3523 (package-check-signature): New user option.
3524 (package-unsigned-archives): New user option.
3525 (package-desc): Add `signed' field.
3526 (package-load-descriptor): Set `signed' field if .signed file exists.
3527 (package--archive-file-exists-p): New function.
3528 (package--check-signature): New function.
3529 (package-install-from-archive): Check package signature.
3530 (package--download-one-archive): Check archive signature.
3531 (package-delete): Remove .signed file.
3532 (package-import-keyring): New command.
3533 (package-refresh-contents): Import default keyring.
3534 (package-desc-status): Add "unsigned" status.
3535 (describe-package-1, package-menu--print-info)
3536 (package-menu-mark-delete, package-menu--find-upgrades)
3537 (package-menu--status-predicate): Support "unsigned" status.
3539 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3541 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3542 the new compilation scheme using the new byte-codes.
3544 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3545 (byte-pophandler): New byte codes.
3546 (byte-goto-ops): Adjust accordingly.
3547 (byte-compile--use-old-handlers): New var.
3548 (byte-compile-catch): Use new byte codes depending on
3549 byte-compile--use-old-handlers.
3550 (byte-compile-condition-case--old): Rename from
3551 byte-compile-condition-case.
3552 (byte-compile-condition-case--new): New function.
3553 (byte-compile-condition-case): New function that dispatches depending
3554 on byte-compile--use-old-handlers.
3555 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3558 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3559 Optimize under `condition-case' and `catch' if
3560 byte-compile--use-old-handlers is nil.
3561 (disassemble-offset): Handle new bytecodes.
3563 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3565 * subr.el (error): Use `declare'.
3566 (decode-char, encode-char): Use advertised-calling-convention instead
3567 of the docstring to discourage use of the `restriction' arg.
3569 2013-10-03 Daiki Ueno <ueno@gnu.org>
3571 * epg.el (epg-verify-file): Add a comment saying that it does not
3572 notify verification error as a return value nor a signal.
3573 (epg-verify-string): Ditto.
3575 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3577 * progmodes/compile.el (compilation-start): Try globbing the arg to
3580 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3582 Sync with Tramp 2.2.8.
3584 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3585 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3586 * net/trampver.el: Update release number.
3588 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3590 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3591 and default-process-coding-system for darwin only.
3593 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3595 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3597 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3599 * vc/vc-git.el (vc-git-grep): Disable pager.
3601 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3603 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3604 Use :url instead of :homepage, as per
3605 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3607 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3608 non-nil, use `syntax-ppss' (Bug#15251).
3610 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3612 * progmodes/octave.el (inferior-octave-startup-file):
3613 Prefer ~/.emacs.d/init_octave.m.
3615 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3617 * emacs-lisp/package.el (package-desc-from-define):
3618 Accept additional arguments as plist, convert them to an alist and store
3619 them in the `extras' slot.
3620 (package-generate-description-file): Convert extras alist back to
3621 plist and append to the `define-package' form arguments.
3622 (package--alist-to-plist): New function.
3623 (package--ac-desc): Add `extras' slot.
3624 (package--add-to-archive-contents): Check if the archive-contents
3625 vector is long enough, and if it is, pass its `extras' slot value
3626 to `package-desc-create'.
3627 (package-buffer-info): Call `lm-homepage', pass the returned value
3628 to `package-desc-from-define'.
3629 (describe-package-1): Render the homepage button (Bug#13291).
3631 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3632 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3634 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3636 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3637 and default-process-coding-system to utf-8-unix (Bug#15402).
3639 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3641 * subr.el (looking-back): Do not recommend using looking-back.
3643 2013-09-28 Alan Mackenzie <acm@muc.de>
3645 Fix indentation/fontification of Java enum with "implements".
3647 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3648 regexp which matches "implements", etc., in Java.
3649 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3650 specifier clauses coming after "enum".
3651 * progmodes/cc-fonts.el (c-font-lock-declarations)
3652 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3655 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3657 * faces.el (region): Change ns_selection_color to
3658 ns_selection_fg_color, add ns_selection_bg_color.
3660 2013-09-28 Leo Liu <sdl.web@gmail.com>
3662 * progmodes/octave.el (inferior-octave-completion-table)
3663 (inferior-octave-completion-at-point): Minor tweaks.
3665 * textmodes/ispell.el (ispell-lookup-words): Rename from
3666 lookup-words. (Bug#15460)
3667 (lookup-words): Obsolete.
3668 (ispell-complete-word, ispell-command-loop): All uses changed.
3670 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3672 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3673 (octave-mode-menu): Add octave-send-buffer.
3674 (octave-send-buffer): New function.
3676 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3678 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3680 (octave-mode-menu): Add octave-lookfor.
3681 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3683 (octave-lookfor): New function.
3685 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3687 * emacs-lisp/cl-macs.el:
3688 (cl--loop-destr-temps): Remove.
3689 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3691 (cl--loop-set-iterator-function): New function.
3692 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3693 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3694 Bind `it' with `let' instead of substituting it with `cl-subst'.
3695 (cl--unused-var-p): New function.
3696 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3697 Eliminate some unused variable warnings (bug#15326).
3699 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3701 * doc-view.el (doc-view-scale-reset): Rename from
3702 `doc-view-reset-zoom-level'.
3703 (doc-view-scale-adjust): New command.
3704 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3705 `doc-view-scale-adjust'.
3707 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3709 * doc-view.el (doc-view-reset-zoom-level): New command.
3710 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3711 zoom commands (bug#15466).
3713 2013-09-26 Kenichi Handa <handa@gnu.org>
3715 * international/quail.el (quail-help): Make it not a command.
3717 2013-09-26 Leo Liu <sdl.web@gmail.com>
3719 * minibuffer.el (completion-all-sorted-completions): Make args
3720 optional as they are.
3722 2013-09-25 Daniel Colascione <dancol@dancol.org>
3724 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3725 specs are and that they're not evaluated.
3727 2013-09-24 Sam Steingold <sds@gnu.org>
3729 * midnight.el (clean-buffer-list-kill-regexps)
3730 (clean-buffer-list-kill-buffer-names): Update for the new Man
3731 buffer naming which includes the object name.
3733 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3735 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3736 (eshell-parse-command, eshell-parse-pipeline): Use it since
3737 eshell-separate-commands requires a dynamic scoped var.
3738 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3740 2013-09-23 Leo Liu <sdl.web@gmail.com>
3742 * autoinsert.el (auto-insert-alist): Make the value of
3743 lexical-binding match its file setting.
3745 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3747 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3749 * autoarg.el (autoarg-kp-digit-argument):
3750 * electric.el (Electric-command-loop):
3751 * kmacro.el (kmacro-step-edit-insert):
3752 Do not set universal-argument-num-events.
3754 2013-09-22 Leo Liu <sdl.web@gmail.com>
3756 * files.el (interpreter-mode-alist): Add octave.
3758 2013-09-21 Alan Mackenzie <acm@muc.de>
3760 C++: fontify identifier in declaration following "public:" correctly.
3761 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3762 to match "public", etc.
3763 (c-decl-prefix-re): Add ":" into the C++ value.
3764 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3765 bit. Add a check for a ":" preceded by "public", etc.
3767 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3769 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3770 recognized by GDB 7.5 and later.
3772 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3774 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3776 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3778 * subr.el (internal--call-interactively): New const.
3779 (called-interactively-p): Use it (bug#3984).
3781 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3783 * vc/pcvs.el (cvs-mode-ignore):
3784 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3785 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3787 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3789 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3790 (eshell-ls-orig-insert-directory): Remove.
3791 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3792 (eshell-ls-use-in-dired): Use advice-add/remove.
3793 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3794 Add `orig-fun' arg for use in :around advice.
3795 Make it check (redundantly) eshell-ls-use-in-dired.
3797 2013-09-19 Glenn Morris <rgm@gnu.org>
3799 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3801 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3803 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3805 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3807 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3808 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3809 (tramp-get-remote-python): New defuns.
3810 (tramp-get-remote-uid-with-perl)
3811 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3812 contributed by yary <not.com@gmail.com> (tiny change).
3813 (tramp-get-remote-uid-with-python)
3814 (tramp-get-remote-gid-with-python): New defuns. Python code
3815 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3816 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3818 2013-09-19 Glenn Morris <rgm@gnu.org>
3820 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3822 * eshell/em-unix.el (eshell-remove-entries):
3823 Rename argument to avoid name-clash with global `top-level'.
3825 * eshell/esh-proc.el (eshell-kill-process-function):
3826 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3827 (eshell-reset-after-proc): Remove unused arg `proc'.
3829 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3830 (directory-files-and-attributes): Mark unused arg.
3832 * eshell/em-unix.el (eshell-remove-entries):
3833 Remove unused arg `path'. Update callers.
3835 * eshell/em-hist.el (eshell-hist-parse-arguments):
3836 Remove unused arg `silent'. Update callers.
3838 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3839 Fix (f)boundp mix-up.
3841 * eshell/em-smart.el (eshell-smart-scroll-window)
3842 (eshell-disable-after-change):
3843 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3845 2013-09-18 Alan Mackenzie <acm@muc.de>
3847 Fix fontification of type when followed by "const".
3848 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3849 "known" types from fontification.
3851 2013-09-18 Glenn Morris <rgm@gnu.org>
3853 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3854 (chart-face-list): Drop Emacsen without display-color-p.
3856 * net/eww.el (libxml-parse-html-region): Declare.
3857 (eww-display-html): Explicit error if no libxml2 support.
3859 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3861 * image.el (image-type-from-buffer, image-multi-frame-p):
3862 Remove --without-x warning/error.
3864 * mouse.el (mouse-yank-primary):
3865 * term.el (term-mouse-paste):
3866 Reorder to silence --without-x compilation.
3868 * mpc.el (doc-view-mode): Silence --without-x compilation.
3870 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3871 Silence --without-x compilation.
3873 * progmodes/gud.el (gud-find-file, gud-mode):
3874 Silence --without-x compilation.
3875 (tooltip-mode): Declare.
3877 * wdired.el (dired-backup-overwrite): Remove declaration.
3878 (wdired-mode-map): Add doc string.
3880 * custom.el (x-get-resource): Declare.
3882 * eshell/em-glob.el (ange-cache):
3883 * eshell/em-unix.el (ange-cache): Declare.
3885 * faces.el (x-display-list, x-open-connection, x-get-resource):
3888 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3889 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3892 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3894 * net/gnutls.el (gnutls-log-level): Declare.
3896 * net/shr.el (image-size, image-animate): Declare.
3898 * simple.el (font-info): Declare.
3900 * subr.el (x-popup-dialog): Declare.
3902 * term/common-win.el (x-select-enable-primary)
3903 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3906 * term/ns-win.el (x-handle-args): Declare.
3908 * term/x-win.el (x-select-enable-clipboard): Declare.
3910 * term/w32-win.el (create-default-fontset): Declare.
3912 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3915 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3916 (fit-frame-to-buffer): Explicit error if --without-x.
3917 (mouse-autoselect-window-select): Silence compiler.
3919 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3921 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3922 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3923 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3924 * eshell/esh-util.el (eshell-sublist):
3925 Remove unused local variables.
3927 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3929 * textmodes/two-column.el: Make 2C-split work for --without-x.
3930 (scroll-bar-columns): Autoload.
3931 (top-level): Require fringe when compiling.
3933 2013-09-18 Leo Liu <sdl.web@gmail.com>
3935 * subr.el (add-hook): Robustify to handle closure as well.
3937 2013-09-17 Glenn Morris <rgm@gnu.org>
3939 * simple.el (messages-buffer-mode-map): Unbind "g".
3941 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3943 * help-mode.el (help-mode-finish): Use derived-mode-p.
3944 Remove obsolete highlighting.
3946 * play/life.el (life-mode): Use define-derived-mode. Derive from
3948 (life): Let-bind inhibit-read-only.
3949 (life-setup): Avoid `setq'. Use `life-mode'.
3951 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3952 which should not be needed any more.
3953 (package-menu-refresh, package-menu-describe-package): Use user-error.
3955 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3956 (eshell-post-rewrite-command-hook): Make obsolete.
3957 (eshell-parse-command): Simplify.
3958 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3959 (eshell--cmd): Declare.
3960 (eshell-parse-pipeline): Remove unused var `final-p'.
3961 Pass a dynvar to eshell-post-rewrite-command-hook.
3962 Implement the new eshell-post-rewrite-command-function.
3963 (eshell-invoke-directly): Remove unused arg `input'.
3964 * eshell/esh-io.el (eshell-io-initialize):
3965 Use eshell-post-rewrite-command-function (bug#15399).
3966 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3967 adjust to new calling convention.
3968 (eshell-create-handles): Rename args to avoid clashing with dynvar
3971 2013-09-17 Glenn Morris <rgm@gnu.org>
3973 * simple.el (messages-buffer-mode): New major mode.
3974 (messages-buffer): New function.
3975 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3976 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3977 (ert-run-test): Use `messages-buffer' function.
3978 (ert--force-message-log-buffer-truncation): Ignore read-only.
3979 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3980 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3982 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3984 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3986 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
3988 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3990 * icomplete.el (icomplete-in-buffer): New var.
3991 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3992 vars and replace them with functions.
3993 (icomplete-minibuffer-setup): Adjust accordingly.
3994 (icomplete--completion-table, icomplete--completion-predicate)
3995 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3997 (icomplete-forward-completions, icomplete-backward-completions)
3998 (icomplete-simple-completing-p, icomplete-exhibit)
3999 (icomplete-completions): Use them.
4000 (icomplete--in-region-buffer): New var.
4001 (icomplete--in-region-setup): New function.
4002 (icomplete-mode): Use it.
4004 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4006 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4007 return args and options.
4008 (eshell-eval-using-options): Use the new return value of
4009 eshell--do-opts to set the options's vars in their scope.
4010 (eshell--set-option): Rename from eshell-set-option.
4012 (eshell--process-option): Rename from eshell-process-option.
4014 (eshell--process-args): Use an `opt-vals' alist to store the options's
4015 values during their processing and return them additionally to the
4018 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4020 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4021 continuation character an operator, as far as indentation is
4022 concerned (Bug#15369).
4024 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4026 * window.el (window--state-put-2): Don't process buffer state
4027 when buffer doesn't exist any more (Bug#15382).
4029 2013-09-15 Glenn Morris <rgm@gnu.org>
4031 * eshell/em-unix.el (eshell/rm):
4032 Make -f ignore missing files. (Bug#15373)
4034 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4035 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4036 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4038 2013-09-14 Glenn Morris <rgm@gnu.org>
4040 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4042 2013-09-13 Glenn Morris <rgm@gnu.org>
4044 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4045 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4047 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4049 * frame.el (x-focus-frame): Mark as declared in frame.c.
4051 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4053 * ls-lisp.el: Use advice-add.
4054 (original-insert-directory): Remove.
4055 (ls-lisp--insert-directory): Rename from insert-directory; add
4056 `orig-fun' argument.
4057 (insert-directory): Advise.
4059 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4061 * term.el (term-emulate-terminal): Decode the command string
4062 before passing it to term-command-hook. (Bug#15337)
4064 2013-09-13 Glenn Morris <rgm@gnu.org>
4066 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4068 * eshell/esh-ext.el (eshell-search-path): Declare.
4070 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4071 Otherwise an error occurs if eshell-dirs module not loaded.
4073 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4075 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4077 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4078 `tramp-check-proper-host'. Check for a valid method name.
4080 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4081 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4082 * net/tramp-sh.el (tramp-maybe-open-connection):
4083 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4085 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4086 also for hash values.
4088 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4090 * term/ns-win.el (parameters): Don't declare as dynamic.
4091 (before-make-frame-hook): Don't add ineffective function.
4093 * eshell/*.el: Use lexical-binding (bug#15231).
4095 2013-09-12 Kenichi Handa <handa@gnu.org>
4097 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4099 2013-09-12 Glenn Morris <rgm@gnu.org>
4101 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4102 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4104 * subr.el (do-after-load-evaluation): Also give compiler warnings
4105 when obsolete files are used (except by obsolete files).
4107 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4108 in the status output, assume `filename' is the first. (Bug#15322)
4110 * vc/vc.el (vc-deduce-fileset): Doc fix.
4112 * calc/calc-help.el (Info-goto-node):
4113 * progmodes/cperl-mode.el (Info-find-node):
4114 * vc/ediff.el (Info-goto-node): Update declarations.
4116 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4118 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4119 (vc-bzr-pull): Require vc-dispatcher.
4120 * vc/vc-git.el (vc-compilation-mode): Declare.
4121 (vc-git-pull): Require vc-dispatcher.
4123 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4125 * progmodes/octave.el (help-button-action): Declare.
4127 * shell.el (shell-directory-tracker): Output error as a message
4128 rather than just returning it as a string.
4129 (shell-process-pushd): Remove useless use of message.
4131 * dframe.el (dframe-timer-fn):
4132 * files.el (dir-locals-read-from-file):
4133 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4135 * reveal.el (reveal-post-command):
4136 * saveplace.el (load-save-place-alist-from-file):
4137 * shell.el (shell-resync-dirs):
4138 * w32-common-fns.el (x-get-selection-value):
4139 * emacs-lisp/copyright.el (copyright-find-copyright):
4140 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4141 * emulation/tpu-edt.el (tpu-copy-keyfile):
4142 * play/bubbles.el (bubbles--mark-neighbourhood):
4143 * progmodes/executable.el
4144 (executable-make-buffer-file-executable-if-script-p):
4145 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4147 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4149 Cleanup Eshell to rely less on dynamic scoping.
4150 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4151 last-value, and ext-command here. Bind `args' closer to `body'.
4152 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4153 (eshell--args): Declare new dynamic var.
4154 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4155 last-value, and ext-command. Pass `args' to `body'.
4156 (eshell-process-args): Bind eshell--args.
4157 (eshell-set-option): Use eshell--args.
4158 * eshell/eshell.el (eshell): Use derived-mode-p.
4159 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4160 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4161 (eshell-glob-function): Declare.
4162 * eshell/esh-util.el: Require cl-lib.
4163 (eshell-read-hosts-file): Avoid add-to-list.
4164 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4166 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4168 (eshell/diff): Remove unused var `err'.
4169 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4171 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4172 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4174 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4175 Move declaration before first use.
4176 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4177 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4180 2013-09-12 Glenn Morris <rgm@gnu.org>
4182 * term/ns-win.el (global-map): Remove binding for ispell-next,
4183 deleted 1999-05-29. (Bug#15357)
4185 2013-09-11 Glenn Morris <rgm@gnu.org>
4187 * echistory.el (electric-command-history): Remove call to deleted func.
4189 * play/landmark.el (landmark-mode): Fix typos.
4191 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4192 Check cvs-sort-ignore-file is bound.
4194 * savehist.el: No need for cl when compiling on Emacs.
4196 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4198 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4200 (eshell-self-insert-command, eshell-send-invisible):
4201 Remove unused argument.
4202 (eshell-handle-control-codes): Remove unused var `orig'.
4203 Avoid delete-backward-char.
4205 * files.el (set-auto-mode): Simplify a bit further.
4207 2013-09-11 Glenn Morris <rgm@gnu.org>
4209 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4210 (set-auto-mode): Don't regexp-quote elements.
4211 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4212 * progmodes/cc-mode.el (interpreter-mode-alist):
4213 * progmodes/ruby-mode.el (interpreter-mode-alist):
4214 Revert previous change.
4216 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4218 * play/snake.el (snake-mode):
4219 * play/mpuz.el (mpuz-mode):
4220 * play/landmark.el (lm-mode):
4221 * play/blackbox.el (blackbox-mode):
4222 * play/5x5.el (5x5-mode):
4223 * obsolete/options.el (Edit-options-mode):
4224 * net/quickurl.el (quickurl-list-mode):
4225 * net/newst-treeview.el (newsticker-treeview-mode):
4226 * mail/rmailsum.el (rmail-summary-mode):
4227 * mail/mspools.el (mspools-mode):
4228 * locate.el (locate-mode):
4229 * ibuffer.el (ibuffer-mode):
4230 * emulation/ws-mode.el (wordstar-mode):
4231 * emacs-lisp/debug.el (debugger-mode):
4232 * array.el (array-mode):
4233 * net/eudc.el (eudc-mode): Use define-derived-mode.
4234 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4235 Move initialization into declaration.
4236 (mairix-searches-mode): Use define-derived-mode.
4237 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4238 (eudc-edit-hotlist): Use dolist.
4239 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4240 (Man-mode): Use define-derived-mode.
4241 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4242 (Info-edit-mode): Use define-derived-mode.
4243 (Info-cease-edit): Use Info-mode.
4244 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4246 (eshell-mode): Use define-derived-mode.
4247 * chistory.el (command-history-mode-map): Rename from
4248 command-history-map.
4249 (command-history-mode): Use define-derived-mode.
4250 (Command-history-setup): Remove function.
4251 * calc/calc.el (calc-trail-mode-map): New var.
4252 (calc-trail-mode): Use define-derived-mode.
4253 (calc-trail-buffer): Set calc-main-buffer manually.
4254 * bookmark.el (bookmark-insert-annotation): New function.
4255 (bookmark-edit-annotation): Use it.
4256 (bookmark-edit-annotation-mode): Make it a proper major mode.
4257 (bookmark-send-edited-annotation): Use derived-mode-p.
4258 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4259 closer to its ideal place. Use \' to match EOS.
4261 * profiler.el (profiler-calltree-find): Use function-equal.
4263 2013-09-10 Glenn Morris <rgm@gnu.org>
4265 * files.el (interpreter-mode-alist): Convert to regexps.
4266 (set-auto-mode): Adapt for this. (Bug#15306)
4267 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4268 Comment out unused variable.
4269 * progmodes/cc-mode.el (interpreter-mode-alist):
4270 * progmodes/python.el (interpreter-mode-alist):
4271 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4272 * progmodes/sh-script.el (sh-set-shell):
4273 No longer use interpreter-mode-alist to get list of shells.
4275 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4277 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4279 * simple.el: Use set-temporary-overlay-map for universal-argument.
4280 (universal-argument-map): Don't use default-bindings (bug#15317).
4281 Bind switch-frame explicitly. Replace universal-argument-minus with
4282 a conditional binding.
4283 (universal-argument-num-events, saved-overriding-map): Remove.
4284 (restore-overriding-map): Remove.
4285 (universal-argument--mode): Rename from save&set-overriding-map,
4287 (universal-argument, universal-argument-more, negative-argument)
4288 (digit-argument): Adjust accordingly.
4289 (universal-argument-minus): Remove.
4290 (universal-argument-other-key): Remove.
4292 * subr.el (with-demoted-errors): Add `format' argument.
4294 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4296 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4297 `tramp-cleanup-connection'.
4299 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4300 parameters KEEP-DEBUG and KEEP-PASSWORD.
4302 * net/tramp.el (tramp-file-name-handler):
4303 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4304 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4305 (tramp-maybe-open-connection):
4306 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4307 Use `tramp-cleanup-connection'.
4309 * net/tramp-sh.el (tramp-maybe-open-connection):
4310 Catch 'uname-changed inside the progress reporter.
4312 2013-09-10 Glenn Morris <rgm@gnu.org>
4314 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4316 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4317 returns "alternate access method" in mode (eg "-rw-r--r--.").
4319 2013-09-08 Glenn Morris <rgm@gnu.org>
4321 * saveplace.el (load-save-place-alist-from-file):
4322 Demote errors. (Bug#15305)
4324 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4326 Improve compatibility with older Emacsen, and XEmacs.
4328 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4329 only if it is bound. It isn't for XEmacs.
4330 (with-tramp-progress-reporter): Do not let-bind `result'.
4331 This yields to scoping errors in XEmacs.
4332 (tramp-handle-make-auto-save-file-name): New function, moved from
4335 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4336 for `make-auto-save-file-name'.
4337 (tramp-adb--gnu-switches-to-ash):
4338 Use `tramp-compat-replace-regexp-in-string'.
4340 * net/tramp-cache.el (tramp-cache-print): Call
4341 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4343 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4344 bound. It isn't for XEmacs.
4346 * net/tramp-compat.el (tramp-compat-copy-file):
4347 Catch `wrong-number-of-arguments' error.
4348 (tramp-compat-replace-regexp-in-string): New defun.
4350 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4351 for `make-auto-save-file-name'.
4352 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4354 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4355 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4356 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4358 * net/tramp-gw.el (tramp-gw-open-network-stream):
4359 Use `tramp-compat-replace-regexp-in-string'.
4361 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4362 Call `tramp-handle-make-auto-save-file-name'.
4363 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4364 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4365 (tramp-sh-file-inotifywait-process-filter):
4366 Use `tramp-compat-replace-regexp-in-string'.
4367 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4369 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4370 for `make-auto-save-file-name'.
4371 (tramp-smb-handle-copy-directory):
4372 Call `tramp-compat-replace-regexp-in-string'.
4373 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4374 (tramp-smb-handle-copy-file): Improve error message.
4375 (tramp-smb-handle-rename-file): Rename directly only in case
4376 `newname' does not exist yet. This is a restriction of smbclient.
4377 (tramp-smb-maybe-open-connection): Rerun the function only when
4378 `auth-sources' is non-nil.
4380 2013-09-08 Kenichi Handa <handa@gnu.org>
4382 * international/characters.el: Set category "^" (Combining) for
4385 2013-09-07 Alan Mackenzie <acm@muc.de>
4387 Correctly fontify Java class constructors.
4388 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4390 (c-recognize-typeless-decls): Set the Java value to t.
4391 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4392 While handling a "(", add a check for, effectively, Java, and handle a
4393 "typeless" declaration there.
4395 2013-09-07 Roland Winkler <winkler@gnu.org>
4397 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4398 field subtitle for entry type book.
4400 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4402 * minibuffer.el: Make minibuffer-complete call completion-in-region
4403 rather than other way around.
4404 (completion--some, completion-pcm--find-all-completions):
4405 Don't delay signals when debugging.
4406 (minibuffer-completion-contents): Beware fields within the
4407 minibuffer contents.
4408 (completion-all-sorted-completions): Use defvar-local.
4409 (completion--do-completion, completion--cache-all-sorted-completions)
4410 (completion-all-sorted-completions, minibuffer-force-complete):
4411 Add args `beg' and `end'.
4412 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4413 (minibuffer-complete): Use completion-in-region.
4414 (completion-complete-and-exit): New fun, extracted from
4415 minibuffer-complete-and-exit.
4416 (minibuffer-complete-and-exit): Use it.
4417 (completion--complete-and-exit): Rename from
4418 minibuffer--complete-and-exit.
4419 (completion-in-region--single-word): New function, extracted from
4420 minibuffer-complete-word.
4421 (minibuffer-complete-word): Use it.
4422 (display-completion-list): Make `common-substring' argument obsolete.
4423 (completion--in-region): Call completion--in-region-1 instead of
4424 minibuffer-complete.
4425 (completion-help-at-point): Pass boundaries to
4426 minibuffer-completion-help as args rather than via an overlay.
4427 (completion-pcm--string->pattern): Use `any-delim'.
4428 (completion-pcm--optimize-pattern): New function.
4429 (completion-pcm--pattern->regex): Handle `any-delim'.
4430 * icomplete.el (icomplete-forward-completions)
4431 (icomplete-backward-completions, icomplete-completions):
4432 Adjust calls to completion-all-sorted-completions and
4433 completion--cache-all-sorted-completions.
4434 (icomplete-with-completion-tables): Default to t.
4435 * emacs-lisp/crm.el (crm--current-element): Rename from
4436 crm--select-current-element. Don't put an overlay but return the
4438 (crm--completion-command): Take two new args to bind to the boundaries.
4439 (crm-completion-help): Adjust accordingly.
4440 (crm-complete): Use completion-in-region.
4441 (crm-complete-word): Use completion-in-region--single-word.
4442 (crm-complete-and-exit): Use completion-complete-and-exit.
4444 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4446 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4449 2013-09-06 Juri Linkov <juri@jurta.org>
4451 * info.el (Info-display-images-node): When image file doesn't exist
4452 display text version of the image if it's provided in the Info file.
4453 Otherwise, display the location of missing image from SRC attribute.
4454 Add help-echo text property from ALT attribute. (Bug#15279)
4456 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4458 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4459 (edit-abbrevs-mode): Use define-derived-mode.
4461 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4462 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4464 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4465 Use define-derived-mode.
4467 * epg.el (epg-start-encrypt): Minor CSE simplification.
4469 2013-09-06 William Xu <william.xwl@gmail.com>
4471 * arc-mode.el: Add support for 7za (bug#15264).
4472 (archive-7z-program): New var.
4473 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4474 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4475 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4477 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4481 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4482 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4483 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4484 (tramp-postfix-host-format, tramp-file-name-regexp)
4485 (tramp-completion-file-name-regexp)
4486 (tramp-completion-dissect-file-name)
4487 (tramp-handle-substitute-in-file-name): Remove 'url case.
4488 (tramp-file-name-regexp-url)
4489 (tramp-completion-file-name-regexp-url): Remove constants.
4491 2013-09-06 Glenn Morris <rgm@gnu.org>
4493 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4495 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4497 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4498 keywords" below "here-doc beginnings" (Bug#15270).
4500 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4502 * subr.el (pop): Use `car-safe'.
4503 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4504 to detect unused `pop' return value.
4506 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4508 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4509 (python-fill-string): Remove unused var `marker'.
4510 (python-skeleton-add-menu-items): Remove unused var `items'.
4512 * international/mule-cmds.el: Require CL.
4513 (find-coding-systems-for-charsets): Avoid add-to-list.
4514 (sanitize-coding-system-list): New function, extracted from
4515 select-safe-coding-system-interactively.
4516 (select-safe-coding-system-interactively): Use it.
4517 (read-input-method-name): Accept symbols for `default'.
4519 * emacs-lisp/advice.el (defadvice): Add indent rule.
4521 2013-09-05 Daniel Hackney <dan@haxney.org>
4525 * net/browse-url.el:
4528 * net/eudcb-ldap.el:
4541 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4542 byte compiler. Remove some unused let-bound variables.
4544 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4546 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4547 a "ref-cell", since it gets better optimized (bug#14883).
4549 2013-09-05 Glenn Morris <rgm@gnu.org>
4551 * progmodes/cc-awk.el (c-forward-sws): Declare.
4553 2013-09-04 Glenn Morris <rgm@gnu.org>
4555 * generic-x.el [rul-generic-mode]: Require cc-mode.
4556 (c++-mode-syntax-table): Declare.
4557 (rul-generic-mode-syntax-table): Init in the defvar.
4559 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4561 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4562 (vc-do-command, vc-set-async-update):
4563 * vc/vc-mtn.el (vc-mtn-dir-status):
4564 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4565 (vc-hg-pull, vc-hg-merge-branch):
4566 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4567 (vc-git-merge-branch):
4568 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4569 (vc-cvs-dir-status-files):
4570 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4571 (vc-bzr-dir-status-files):
4572 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4573 * vc/vc-annotate.el: Use lexical-binding.
4574 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4575 (vc-sentinel-movepoint): Declare.
4576 (vc-annotate): Don't use `goto-line'.
4577 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4578 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4579 (vc-sentinel-movepoint): Declare.
4580 * vc/vc-svn.el: Use lexical-binding.
4581 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4583 * vc/vc-rcs.el: Use lexical-binding.
4585 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4586 `deleted'. Don't drop errors silently.
4588 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4590 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4592 * vc/vc.el (vc-ignore): Rewrite.
4593 (vc-default-ignore): New function.
4594 (vc-default-ignore-completion-table): Use find-ignore-file.
4596 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4597 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4598 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4599 Remove. Most code moved to vc.el.
4601 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4603 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4604 * net/tramp-smb.el (tramp-smb-get-file-entries):
4605 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4606 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4608 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4610 (eww-change-select): Remove unused var `properties'.
4611 (eww-make-unique-file-name): Remove unused var `base'.
4613 * finder.el (finder-compile-keywords): Don't mess with windows.
4615 * calculator.el (calculator-funcall): Fix typo in last change.
4617 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4619 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4620 <pkg>-autoloads.el file stop us.
4622 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4623 warnings, and factor out common code.
4625 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4627 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4628 two-character operators and whether the character preceding them
4629 changes their meaning (Bug#15208).
4631 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4633 Format code sent to Python shell for robustness.
4634 * progmodes/python.el (python-shell-buffer-substring):
4636 (python-shell-send-region, python-shell-send-buffer): Use it.
4638 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4640 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4641 * net/tramp.el (tramp-user-error): ... here.
4642 (tramp-find-method, tramp-check-proper-host)
4643 (tramp-dissect-file-name, tramp-debug-message)
4644 (tramp-handle-shell-command):
4645 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4646 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4648 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4650 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4652 * avoid.el (mouse-avoidance-point-position)
4653 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4656 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4658 * progmodes/python.el (python-shell-completion-get-completions):
4659 Drop use of deleted `comint-last-prompt-overlay'.
4660 (python-nav-if-name-main): New command.
4662 2013-09-01 Glenn Morris <rgm@gnu.org>
4664 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4665 Avoid leading space in $wins. Otherwise the sed command used by
4666 eg compile-main ends up containing "/*.el". (Bug#15170)
4668 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4670 2013-08-30 Glenn Morris <rgm@gnu.org>
4672 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4673 Fix is-this-a-directory logic. (Bug#15220)
4675 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4677 * textmodes/css-mode.el: Use SMIE.
4678 (css-smie-grammar): New var.
4679 (css-smie--forward-token, css-smie--backward-token)
4680 (css-smie-rules): New functions.
4681 (css-mode): Use them.
4682 (css-navigation-syntax-table): Remove var.
4683 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4684 (css-indent-calculate, css-indent-line): Remove functions.
4686 Misc changes to reduce use of `(lambda...); and other cleanups.
4687 * cus-edit.el: Use lexical-binding.
4688 (customize-push-and-save, customize-apropos)
4689 (custom-buffer-create-internal): Use closures.
4690 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4691 * progmodes/ada-xref.el: Use setq.
4692 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4693 * dframe.el: Use lexical-binding.
4694 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4695 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4696 * descr-text.el: Use lexical-binding.
4697 (describe-text-widget, describe-text-sexp, describe-property-list):
4699 * comint.el (comint-history-isearch-push-state): Use a closure.
4700 * calculator.el: Use lexical-binding.
4701 (calculator-number-to-string): Make it work with lexical-binding.
4702 (calculator-funcall): Same and use cl-letf.
4704 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4705 (lisp--company-doc-string, lisp--company-location): New functions.
4706 (lisp-completion-at-point): Use them to improve Company support.
4708 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4709 params of lambda expressions.
4710 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4711 (ruby-smie--opening-pipe-p): New function.
4712 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4713 symbols and matched |...| for formal params.
4714 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4715 from being treated as hanging. Handle "rescue".
4717 2013-08-29 Glenn Morris <rgm@gnu.org>
4719 * progmodes/cc-engine.el (c-pull-open-brace):
4720 Move definition before use.
4722 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4724 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4725 are immutable. Don't use `unsafe' any more.
4726 (cl--defsubst-expand): Don't substitute at the same time as keeping
4727 a residual unused let-binding. Don't use `unsafe' any more.
4729 2013-08-29 Glenn Morris <rgm@gnu.org>
4731 * calendar/cal-china.el (calendar-chinese-year-cache):
4734 * nxml/nxml-util.el (nxml-debug-clear-inside):
4735 Use cl-loop rather than loop.
4737 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4739 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4741 2013-08-28 Glenn Morris <rgm@gnu.org>
4743 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4745 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4747 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4749 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4751 * simple.el (repeat-complex-command--called-interactively-skip):
4753 (repeat-complex-command): Use it (bug#14136).
4755 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4756 (c-define-abbrev-table): Add `doc' argument.
4757 (c-mode-abbrev-table, c++-mode-abbrev-table)
4758 (objc-mode-abbrev-table, java-mode-abbrev-table)
4759 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4760 (awk-mode-abbrev-table): Use it.
4761 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4762 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4763 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4764 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4765 Move initialization into the declaration; and remove any
4768 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4769 and dynamic let binding.
4771 * vc/smerge-mode.el: Remove redundant :group args.
4773 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4776 2013-08-28 Juri Linkov <juri@jurta.org>
4778 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4779 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4780 (isearch-other-meta-char): Handle an undefined shifted printing
4781 character by downshifting it. (Bug#15200)
4783 2013-08-28 Juri Linkov <juri@jurta.org>
4785 * isearch.el (isearch-search): Change regexp error message for
4786 non-regexp searches. (Bug#15166)
4788 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4790 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4791 for portability to hosts where /bin/sh has problems.
4793 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4795 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4797 2013-08-27 Juri Linkov <juri@jurta.org>
4799 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4800 in the keyboard macro. (Bug#15126)
4802 2013-08-27 Juri Linkov <juri@jurta.org>
4804 * isearch.el (isearch-quote-char): Comment out converting unibyte
4805 to multibyte, thus syncing with its `quoted-insert' counterpart.
4808 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4810 * window.el (display-buffer-use-some-window): Add missing
4811 argument in call of get-largest-window (Bug#15185).
4812 Reported by Stephen Leake.
4814 2013-08-27 Glenn Morris <rgm@gnu.org>
4816 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4818 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4820 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4821 from a matcher-function unless there's no more matches (bug#15161).
4823 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4825 * minibuffer.el: Revert change from 2013-08-20.
4827 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4828 with text property `tramp-default', if appropriate.
4829 (tramp-check-proper-host): New defun.
4830 (tramp-dissect-file-name): Do not check hostname. Revert change
4832 (tramp-backtrace): Make VEC-OR-PROC optional.
4834 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4835 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4836 * net/tramp-sh.el (tramp-maybe-open-connection):
4837 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4838 Apply `tramp-check-proper-host'.
4840 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4842 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4843 lambda expression in order to have `describe-variable' display it.
4845 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4847 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4848 BUF can be optional. (Bug#15186)
4850 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4852 * progmodes/flymake.el (flymake-get-real-file-name-function):
4853 Fix broken customization. (Bug#15184)
4855 2013-08-25 Alan Mackenzie <acm@muc.de>
4857 Improve indentation of bracelists defined by macros (without "=").
4859 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4860 expansion begins with "{", regard it as bracelist when it doesn't
4863 Parse C++ inher-intro when there's a template split over 2 lines.
4865 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4866 rigorously the search for "class" etc. followed by ":".
4868 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4869 random languages a regexp which never matches rather than nil.
4871 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4873 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4874 (c-awk-regexp-one-line-possibly-open-char-list-re)
4875 (c-awk-one-line-possibly-open-regexp-re)
4876 (c-awk-one-line-non-syn-ws*-re): Remove.
4877 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4878 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4879 (c-awk-space*-unclosed-regexp-/-re): New constants.
4880 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4881 aren't regexp delimiters.
4883 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4884 handling for a rare situation in AWK Mode involving unterminated
4887 2013-08-23 Glenn Morris <rgm@gnu.org>
4889 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4891 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4893 * files.el (create-file-buffer): If the result would begin with
4894 spaces, prepend a "|" instead of removing them. (Bug#15162)
4896 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4898 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4899 text-properties (bug#15155).
4901 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4903 (calc-keypad-redraw): Remove unused var `pad'.
4904 (calc-keypad-press): Remove unused var `menu'.
4906 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4908 * window.el (display-buffer-pop-up-frame):
4909 Call pop-up-frame-function with BUFFER current so `make-frame' will
4910 use it as the new frame's buffer (Bug#15133).
4912 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4914 * calendar/timeclock.el: Minor cleanups.
4915 (timeclock-ask-before-exiting, timeclock-use-display-time):
4917 (timeclock-modeline-display): Define as alias before the
4919 (timeclock-mode-line-display): Use define-minor-mode.
4920 (timeclock-day-list-template): Make it a function, add an argument.
4921 (timeclock-day-list-required, timeclock-day-list-length)
4922 (timeclock-day-list-debt, timeclock-day-list-span)
4923 (timeclock-day-list-break): Adjust calls accordingly.
4925 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4927 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4928 Use read--expression so that completion works again.
4930 2013-08-21 Sam Steingold <sds@gnu.org>
4932 Add rudimentary inferior shell interaction
4933 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4934 (sh-set-shell): Reset it.
4935 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4936 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4938 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4940 * align.el: Use lexical-binding.
4941 (align-region): Simplify accordingly.
4943 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4945 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4947 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4950 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4954 * net/tramp-cmds.el:
4956 * net/tramp-gvfs.el:
4958 * net/tramp-sh.el: Don't wrap external variable declarations by
4959 `eval-when-compile'.
4961 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4963 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4964 now that Emacs supports ImageMagick animations.
4966 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4968 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4969 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4971 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4973 * window.el (mouse-autoselect-window-select): Do autoselect when
4974 mouse pointer is on margin.
4976 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4978 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4980 2013-08-16 Glenn Morris <rgm@gnu.org>
4982 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4983 Handle "Remote Directory" response of some clients. (Bug#15058)
4985 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4986 Tweak warning. (Bug#14926)
4988 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4989 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4991 * image-mode.el (image-mode-map): Add menu items to reverse,
4992 increase, decrease, reset animation speed.
4993 (image--set-speed, image-increase-speed, image-decrease-speed)
4994 (image-reverse-speed, image-reset-speed): New functions.
4995 (image-mode-map): Add bindings for speed commands.
4997 * image.el (image-animate-get-speed, image-animate-set-speed):
4999 (image-animate-timeout): Respect image :speed property.
5001 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5003 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5004 previous line (bug#15101).
5005 (debugger-eval-expression, debugger-record-expression):
5006 Use read--expression (bug#15102).
5008 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5010 Remove byte compiler warnings, visible when compiling with
5011 `byte-compile-force-lexical-warnings' set to t.
5013 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5014 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5015 (tramp-handle-unhandled-file-name-directory)
5016 (tramp-handle-file-notify-add-watch, tramp-action-login)
5017 (tramp-action-succeed, tramp-action-permission-denied)
5018 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5021 * net/tramp-adb.el (tramp-adb-parse-device-names)
5022 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5023 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5024 (tramp-adb-handle-file-truename): Remove unused arguments.
5026 * net/tramp-cache.el (tramp-flush-directory-property)
5027 (tramp-flush-connection-property, tramp-list-connections)
5028 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5030 * net/tramp-compat.el (tramp-compat-make-temp-file):
5031 Rename FILENAME to F.
5033 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5034 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5035 (tramp-zeroconf-parse-workstation-device-names)
5036 (tramp-zeroconf-parse-webdav-device-names)
5037 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5039 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5040 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5042 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5044 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5045 (tramp-sh-handle-insert-file-contents-literally)
5046 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5048 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5049 Remove unused variables.
5051 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5052 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5053 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5055 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5056 Make them a defconst.
5057 (tramp-uuencode-region): Remove unused variable.
5059 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5061 * frameset.el (frameset--prop-setter): New function.
5062 (frameset-prop): Add gv-setter declaration.
5063 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5064 parameter was already set in FILTERED. Doc fix.
5065 (frameset--record-minibuffer-relationships): Allow saving a
5066 minibufferless frame without its corresponding minibuffer frame.
5067 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5068 frame, if the frame id matches.
5069 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5070 frames before orphaned ones.
5071 (frameset-restore): Warn about orphaned windows, instead of error out.
5073 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5075 * window.el (window-make-atom): Don't overwrite parameter
5077 (display-buffer-in-atom-window): Handle special case where we
5078 split an already atomic window.
5079 (window--major-non-side-window, display-buffer-in-side-window)
5080 (window--side-check): Ignore minibuffer window when walking
5082 (window-deletable-p): Return 'frame only if no other frame uses
5083 our minibuffer window.
5084 (record-window-buffer): Run buffer-list-update-hook.
5085 (split-window): Make sure window--check-frame won't destroy an
5086 existing atomic window in case the new window gets nested
5088 (display-buffer-at-bottom): Ignore minibuffer window when
5089 walking window tree. Don't split a side window.
5090 (pop-to-buffer): Don't set-buffer here, the select-window call
5092 (mouse-autoselect-window-select): Autoselect only if we are in the
5093 text portion of the window.
5095 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5097 * net/shr.el (shr-parse-image-data): New function to grab both the
5098 data itself and the Content-Type.
5099 (shr-put-image): Use it.
5101 * net/eww.el (eww-display-image): Ditto.
5103 * image.el (image-content-type-suffixes): New variable.
5105 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5107 * progmodes/python.el (python-imenu--build-tree)
5108 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5110 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5112 * simple.el (backward-word): Mention the optional argument.
5114 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5116 * frameset.el (frameset--make): Rename constructor from make-frameset.
5117 (frameset-p, frameset-valid-p): Don't autoload.
5118 (frameset-valid-p): Use normal accessors.
5120 2013-08-13 Glenn Morris <rgm@gnu.org>
5122 * progmodes/compile.el (compile-command): Tweak example in doc.
5123 * obsolete/scribe.el (scribe-mode):
5124 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5126 * mail/feedmail.el (feedmail-confirm-outgoing)
5127 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5129 * cus-start.el (truncate-partial-width-windows): Fix type.
5131 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5133 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5135 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5137 * emacs-lisp/timer.el (timer--time-setter): New function.
5138 (timer--time): Use it as gv-setter.
5140 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5141 setter is not a symbol.
5143 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5145 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5146 if sending fails. This makes debugging easier.
5148 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5150 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5151 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5152 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5154 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5156 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5158 2013-08-12 Glenn Morris <rgm@gnu.org>
5160 * format.el (format-annotate-function):
5161 Handle read-only text properties in the source. (Bug#14887)
5163 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5165 * net/eww.el (eww-display-html): Ignore coding system errors.
5166 One web site uses "utf-8lias" as the coding system.
5168 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5170 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5172 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5174 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5175 (tutorial--detailed-help): Remove unused local variables.
5176 (tutorial--save-tutorial-to): Use ignore-errors.
5177 (help-with-tutorial): Use looking-at-p.
5179 * view.el (view-buffer-other-window, view-buffer-other-frame):
5180 Mark unused arguments.
5182 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5183 (woman-select-symbol-fonts, woman, woman-find-file)
5184 (woman-insert-file-contents, woman-non-underline-faces):
5186 (woman1-unquote): Move declaration.
5188 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5189 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5190 argument. Remove unused local variable.
5191 (xml-parse-elem-type): Use string-match-p.
5192 (xml-substitute-numeric-entities): Use ignore-errors.
5194 * calculator.el (calculator): Mark unused argument.
5195 (calculator-paste, calculator-quit, calculator-integer-p):
5197 (calculator-string-to-number, calculator-decimal, calculator-exp)
5198 (calculator-op-or-exp): Use string-match-p.
5200 * dired.el (dired-buffer-more-recently-used-p): Declare.
5201 (dired-insert-set-properties, dired-insert-old-subdirs):
5204 * dired-aux.el (dired-compress): Use ignore-errors.
5205 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5206 (dired-do-async-shell-command, dired-do-shell-command)
5207 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5208 (dired-insert-subdir-validate): Use string-match-p.
5209 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5210 (dired-add-entry): Use string-match-p, looking-at-p.
5211 (dired-insert-subdir-newpos): Remove unused local variable.
5213 * filenotify.el (file-notify-callback): Remove unused local variable.
5215 * filesets.el (filesets-error): Mark unused argument.
5216 (filesets-which-command-p, filesets-filter-dir-names)
5217 (filesets-directory-files, filesets-get-external-viewer)
5218 (filesets-ingroup-get-data): Use string-match-p.
5220 * find-file.el (ff-other-file-name, ff-other-file-name)
5221 (ff-find-the-other-file, ff-cc-hh-converter):
5222 Remove unused local variables.
5223 (ff-get-file-name): Use string-match-p.
5224 (ff-all-dirs-under): Use ignore-errors.
5226 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5227 (follow-select-if-visible): Remove unused local variable.
5229 * forms.el (read-file-filter): Move declaration.
5230 (forms--make-format, forms--make-parser, forms-insert-record):
5231 Quote function with #'.
5232 (forms--update): Use string-match-p. Quote function with #'.
5234 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5235 (help-make-xrefs): Use looking-at-p.
5236 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5238 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5239 (ibuffer-confirm-operation-on): Use string-match-p.
5241 * msb.el (msb-item-handler, msb-dired-item-handler):
5242 Mark unused arguments.
5244 * ses.el (ses-decode-cell-symbol)
5245 (ses-kill-override): Remove unused local variable.
5246 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5247 (ses-load): Use ignore-errors, looking-at-p.
5248 (ses-jump-safe): Use ignore-errors.
5249 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5251 * tabify.el (untabify, tabify): Mark unused arguments.
5253 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5254 Mark unused argument.
5255 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5256 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5258 * emacs-lisp/timer.el (timer--time): Define setter with
5259 gv-define-setter to avoid deprecation warning.
5261 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5262 (*record-cmpl-statistics-p*): Remove (was commented out).
5263 (cmpl-statistics-block): Remove (body was commented out).
5264 All callers changed.
5265 (add-completions-from-buffer, load-completions-from-file):
5266 Remove unused variables.
5268 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5270 * filecache.el (file-cache-delete-file-list):
5271 Print message only when told so.
5272 (file-cache-files-matching): Use #' in mapconcat argument.
5274 * ffap.el (ffap-url-at-point): Fix reference to variable
5275 thing-at-point-default-mail-uri-scheme.
5277 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5279 * subr.el (define-error): New function.
5280 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5281 error-file-not-found and define with define-error.
5282 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5283 and define with define-error.
5284 * userlock.el (file-locked, file-supersession):
5285 * simple.el (mark-inactive):
5286 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5287 * progmodes/ada-mode.el (ada-mode-errors):
5288 * play/life.el (life-extinct):
5289 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5290 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5291 * nxml/rng-util.el (rng-error):
5292 * nxml/rng-uri.el (rng-uri-error):
5293 * nxml/rng-match.el (rng-compile-error):
5294 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5295 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5296 * nxml/nxml-rap.el (nxml-scan-error):
5297 * nxml/nxml-outln.el (nxml-outline-error):
5298 * net/soap-client.el (soap-error):
5299 * net/gnutls.el (gnutls-error):
5300 * net/ange-ftp.el (ftp-error):
5301 * mpc.el (mpc-proc-error):
5302 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5303 (json-number-format, json-string-escape, json-string-format)
5304 (json-key-format, json-object-format):
5305 * jka-compr.el (compression-error):
5306 * international/quail.el (quail-error):
5307 * international/kkc.el (kkc-error):
5308 * emacs-lisp/ert.el (ert-test-failed):
5309 * calc/calc.el (calc-error, inexact-result, math-overflow)
5311 * bookmark.el (bookmark-error-no-filename):
5312 * epg.el (epg-error): Define with define-error.
5314 * time.el (display-time-event-handler)
5315 (display-time-next-load-average): Don't call sit-for since it seems
5316 unnecessary (bug#15045).
5318 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5319 Use #' instead of ' to quote functions.
5320 (checkdoc-output-mode): Use setq-local.
5321 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5322 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5323 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5324 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5325 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5326 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5327 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5328 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5330 * ido.el (ido-completion-help): Fix up compiler warning.
5332 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5334 * frameset.el (frameset-p): Add autoload cookie.
5335 (frameset--jump-to-register): New function, based on code moved from
5337 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5339 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5340 (frameset-restore, frameset-save, frameset-session-filter-alist):
5341 Remove declarations.
5342 (register-alist): Doc fix.
5343 (frameset-to-register): Move to frameset.el.
5344 (jump-to-register, describe-register-1): Remove frameset-specific code.
5346 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5348 * allout-widgets.el (allout-widgets-pre-command-business)
5349 (allout-widgets-post-command-business)
5350 (allout-widgets-after-change-handler)
5351 (allout-decorate-item-and-context, allout-set-boundary-marker)
5352 (allout-body-modification-handler)
5353 (allout-graphics-modification-handler): Mark ignored arguments.
5354 (allout-widgets-post-command-business)
5355 (allout-widgets-exposure-change-processor)
5356 (allout-widgets-exposure-undo-processor)
5357 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5358 (allout-parse-item-at-point, allout-decorate-item-guides)
5359 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5360 * allout.el (epa-passphrase-callback-function): Declare.
5361 (allout-overlay-insert-in-front-handler)
5362 (allout-overlay-interior-modification-handler)
5363 (allout-isearch-end-handler, allout-chart-siblings)
5364 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5365 (allout-yank-processing, allout-process-exposed)
5366 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5367 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5368 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5369 (lisp-indent-defform): Mark ignored arguments.
5370 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5371 (calculate-lisp-indent): Remove unused variables.
5372 * international/characters.el (indian-2-column, arabic-2-column)
5373 (tibetan): Mark ignored arguments.
5374 (use-cjk-char-width-table): Mark ignored arguments.
5375 Remove unused variables.
5376 * international/fontset.el (build-default-fontset-data)
5377 (x-compose-font-name, create-fontset-from-fontset-spec):
5378 Mark ignored arguments.
5379 (fontset-plain-name): Remove unused variables.
5380 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5381 (keyboard-coding-system): Mark ignored arguments.
5382 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5383 * help.el (resize-temp-buffer-window):
5384 * window.el (display-buffer-in-major-side-window)
5385 (display-buffer-in-side-window, display-buffer-in-previous-window):
5386 Remove unused variables.
5387 * isearch.el (isearch-forward-symbol):
5388 * version.el (emacs-bzr-version-bzr):
5389 * international/mule-cmds.el (current-language-environment):
5390 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5392 * term/pc-win.el (x-list-fonts, x-display-planes)
5393 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5394 (x-server-version, x-display-screens, x-display-mm-height)
5395 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5396 (x-selection-owner-p, x-own-selection-internal)
5397 (x-disown-selection-internal, x-get-selection-internal)
5398 (msdos-initialize-window-system):
5399 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5400 * term/x-win.el (x-handle-no-bitmap-icon):
5401 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5402 (vc-default-find-file-hook, vc-default-extra-menu):
5403 Mark ignored arguments.
5405 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5407 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5408 break-condition in the context of the debugged code (bug#12685).
5410 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5413 Do not use an overlay to highlight the last prompt. (Bug#14744)
5414 (comint-mode): Make comint-last-prompt buffer local.
5415 (comint-last-prompt): New variable.
5416 (comint-last-prompt-overlay): Remove. Superseded by
5418 (comint-snapshot-last-prompt, comint-output-filter):
5419 Use comint-last-prompt.
5421 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5423 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5424 (frameset-save): Check validity of the resulting frameset.
5426 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5428 * ido.el (ido-record-command): Add doc string.
5430 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5432 * frameset.el (frameset): Do not disable creation of the default
5433 frameset-p predicate. Doc fix.
5434 (frameset-valid-p): New function, copied from the old predicate-p.
5435 Add additional checks.
5436 (frameset-restore): Check with frameset-valid-p.
5437 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5438 (frameset-name, frameset-description, frameset-properties)
5439 (frameset-states): Add docstring.
5440 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5441 (frameset-filter-alist): Doc fixes.
5443 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5445 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5447 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5449 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5450 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5451 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5452 (byte-compile-normal-call): Remove obsolescence check.
5454 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5456 * frameset.el (frameset-restore): Doc fix.
5458 * register.el (frameset-frame-id, frameset-frame-with-id)
5459 (frameset-p, frameset-restore, frameset-save): Declare.
5460 (register-alist): Document framesets.
5461 (frameset-session-filter-alist): Declare.
5462 (frameset-to-register): New function.
5463 (jump-to-register): Implement jumping to framesets. Doc fix.
5464 (describe-register-1): Describe framesets.
5466 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5468 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5470 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5471 Use lexical-binding.
5473 * frameset.el (frameset): Use type vector, not list (incompatible
5474 change). Do not declare a new constructor, use the default one.
5475 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5476 `name' and `description', respectively, and add read-only slot
5477 `timestamp'. Doc fixes.
5478 (frameset-copy, frameset-persistent-filter-alist)
5479 (frameset-filter-alist, frameset-switch-to-gui-p)
5480 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5481 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5482 (frameset-filter-iconified, frameset-keep-original-display-p):
5484 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5485 Rename from frameset-filter-(save|restore)-param. All callers changed.
5487 (frameset-p): Adapt to change to vector and be more thorough.
5488 Change arg name to OBJECT. Doc fix.
5489 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5490 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5491 All callers changed.
5492 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5493 All callers changed.
5494 (frameset--record-minibuffer-relationships): Rename from
5495 frameset--process-minibuffer-frames. All callers changed.
5496 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5497 Use new default constructor (again). Doc fix.
5498 (frameset--find-frame-if): Rename from `frameset--find-frame.
5499 All callers changed.
5500 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5501 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5503 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5504 PARAMETERS and WINDOW-STATE, respectively.
5505 (frameset-restore): Add new keyword argument PREDICATE.
5506 Reset frameset--target-display to nil. Doc fix.
5508 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5510 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5512 (bat-mode-syntax-table): Mark \n as end-of-comment.
5513 (bat-font-lock-keywords): Remove comment rule.
5515 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5516 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5518 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5519 (byte-compile-callargs-warn): Use `push'.
5520 (byte-compile-arglist-warn): Ignore higher-order "calls".
5521 (byte-compile-file-form-autoload): Use `pcase'.
5522 (byte-compile-function-form): If quoting a symbol, check that it exists.
5524 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5526 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5527 and add a few popular commands found in batch files.
5528 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5529 (dos-mode): Doc fixes.
5531 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5533 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5534 (dos-mode): Use setq-local. Add space after "rem".
5535 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5536 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5538 2013-08-07 Arni Magnusson <arnima@hafro.is>
5540 * progmodes/dos.el: New file.
5541 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5544 2013-08-06 Glenn Morris <rgm@gnu.org>
5546 * calendar/calendar.el: Add new faces, and day-header-array.
5547 (calendar-weekday-header, calendar-weekend-header)
5548 (calendar-month-header): New faces.
5549 (calendar-day-header-construct): New function.
5550 (calendar-day-header-width): Also :set calendar-day-header-array.
5551 (calendar-american-month-header, calendar-european-month-header)
5552 (calendar-iso-month-header): Use calendar- faces.
5553 (calendar-generate-month):
5554 Use calendar-day-header-array for day headers; apply faces to them.
5555 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5556 (calendar-abbrev-construct): Add optional maxlen argument.
5557 (calendar-day-name-array): Doc fix.
5558 (calendar-day-name-array, calendar-abbrev-length)
5559 (calendar-day-abbrev-array):
5560 Also :set calendar-day-header-array, and maybe redraw.
5561 (calendar-day-header-array): New option. (Bug#15007)
5562 (calendar-font-lock-keywords): Set to nil and make obsolete.
5563 (calendar-day-name): Add option to use header array.
5565 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5567 * net/shr.el (shr-render-td): Remove debugging.
5568 (shr-render-td): Make width computation consistent by defaulting
5569 all zero-width columns to 10 characters. This may not be optimal,
5570 but it's at least consistent.
5571 (shr-make-table-1): Redo last change to fix the real problem in
5574 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5576 * files.el (cache-long-line-scans):
5577 Make obsolete alias to `cache-long-scans'.
5579 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5581 * frameset.el (frameset, frameset-filter-alist)
5582 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5583 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5584 (frameset-compute-pos): Rename from frameset--compute-pos,
5586 (frameset-move-onscreen): Use frameset-compute-pos.
5587 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5589 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5590 Fix typos in docstrings.
5592 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5594 * frame.el (get-other-frame): Tiny cleanup.
5596 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5598 * vc/vc.el (vc-default-ignore-completion-table):
5599 Silence byte-compiler warning.
5601 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5602 slot , which can indeed be nil.
5603 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5604 Move entry for `left' from persistent to live filter alist.
5605 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5607 (frameset-filter-params): When restoring a frame, copy items added to
5608 `filtered', to avoid unwittingly modifying the original parameters.
5609 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5610 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5612 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5613 to use looking-at-p instead of looking-at. (Bug#15028)
5615 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5617 Revert introduction of isearch-filter-predicates (bug#14714).
5618 Rely on add-function instead.
5619 * isearch.el (isearch-filter-predicates): Rename it back to
5620 isearch-filter-predicate.
5621 (isearch-message-prefix): Use advice-function-mapc and advice
5622 properties to get the isearch-message-prefix.
5623 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5624 instead of run-hook-with-args-until-failure.
5625 (isearch-filter-visible): Not obsolete any more.
5626 * loadup.el: Preload nadvice.
5627 * replace.el (perform-replace): Revert to funcall
5628 instead of run-hook-with-args-until-failure.
5629 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5630 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5631 dired-isearch-filenames-toggle; make it into a proper minor mode.
5632 Use add/remove-function.
5633 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5634 Call the minor-mode rather than add/remove-hook.
5635 (dired-isearch-filter-filenames):
5636 Remove isearch-message-prefix property.
5637 * info.el (Info--search-loop): New function, extracted from Info-search.
5638 Funcall isearch-filter-predicate instead of
5639 run-hook-with-args-until-failure isearch-filter-predicates.
5640 (Info-search): Use it.
5641 (Info-mode): Use isearch-filter-predicate instead of
5642 isearch-filter-predicates.
5644 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5646 Do not call to `selected-window' where it is assumed by default.
5647 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5648 `window-hscroll', `window-width', `window-height', `window-buffer',
5649 `window-frame', `window-start', `window-point', `next-window'
5650 and `window-display-table'.
5651 * abbrev.el (abbrev--default-expand):
5652 * bs.el (bs--show-with-configuration):
5653 * buff-menu.el (Buffer-menu-mouse-select):
5654 * calc/calc.el (calc):
5655 * calendar/calendar.el (calendar-generate-window):
5656 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5658 * comint.el (send-invisible, comint-dynamic-complete-filename)
5659 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5660 * completion.el (complete):
5661 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5662 * disp-table.el (describe-current-display-table):
5663 * doc-view.el (doc-view-insert-image):
5664 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5665 * ehelp.el (with-electric-help):
5666 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5667 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5668 * emacs-lisp/helper.el (Helper-help-scroller):
5669 * emulation/cua-base.el (cua--post-command-handler-1):
5670 * eshell/esh-mode.el (eshell-output-filter):
5671 * ffap.el (ffap-gnus-wrapper):
5672 * help-macro.el (make-help-screen):
5673 * hilit-chg.el (highlight-compare-buffers):
5674 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5675 * hl-line.el (global-hl-line-highlight):
5676 * icomplete.el (icomplete-simple-completing-p):
5677 * isearch.el (isearch-done):
5678 * jit-lock.el (jit-lock-stealth-fontify):
5679 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5680 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5681 * mpc.el (mpc-tagbrowser, mpc):
5682 * net/rcirc.el (rcirc-any-buffer):
5683 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5684 * play/landmark.el (landmark-max-width, landmark-max-height):
5685 * play/zone.el (zone):
5686 * progmodes/compile.el (compilation-goto-locus):
5687 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5688 * progmodes/etags.el (find-tag-other-window):
5689 * progmodes/fortran.el (fortran-column-ruler):
5690 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5691 * progmodes/verilog-mode.el (verilog-point-text):
5692 * reposition.el (reposition-window):
5693 * rot13.el (toggle-rot13-mode):
5694 * server.el (server-switch-buffer):
5695 * shell.el (shell-dynamic-complete-command)
5696 (shell-dynamic-complete-environment-variable):
5697 * simple.el (insert-buffer, set-selective-display)
5698 (delete-completion-window):
5699 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5700 (speedbar-recenter):
5701 * startup.el (fancy-splash-head):
5702 * textmodes/ispell.el (ispell-command-loop):
5703 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5704 * tutorial.el (help-with-tutorial):
5705 * vc/add-log.el (add-change-log-entry):
5706 * vc/compare-w.el (compare-windows):
5707 * vc/ediff-help.el (ediff-indent-help-message):
5708 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5709 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5710 (ediff-setup-control-frame):
5711 * vc/emerge.el (emerge-position-region):
5712 * vc/pcvs-util.el (cvs-bury-buffer):
5713 * window.el (walk-windows, mouse-autoselect-window-select):
5714 * winner.el (winner-set-conf, winner-undo): Related users changed.
5716 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5718 * frameset.el (frameset--set-id): Doc fix.
5719 (frameset-frame-id, frameset-frame-id-equal-p)
5720 (frameset-locate-frame-id): New functions.
5721 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5722 (frameset-restore): Use them.
5724 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5726 Do not call to `selected-frame' where it is assumed by default.
5727 Affected functions are `raise-frame', `redraw-frame',
5728 `frame-first-window', `frame-terminal' and `delete-frame'.
5729 * calendar/appt.el (appt-disp-window):
5730 * epg.el (epg-wait-for-completion):
5731 * follow.el (follow-delete-other-windows-and-split)
5732 (follow-avoid-tail-recenter):
5733 * international/mule.el (set-terminal-coding-system):
5734 * mail/rmail.el (rmail-mail-return):
5735 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5736 * progmodes/f90.el (f90-add-imenu-menu):
5737 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5738 * server.el (server-switch-buffer):
5739 * simple.el (delete-completion-window):
5741 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5742 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5743 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5744 * vc/ediff.el (ediff-documentation): Related users changed.
5745 * frame.el (selected-terminal): Remove the leftover.
5747 2013-08-05 Glenn Morris <rgm@gnu.org>
5749 * calendar/calendar.el (calendar-generate-month):
5750 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5751 (calendar-generate-month, calendar-font-lock-keywords):
5752 Fix for calendar-day-header-width > length of any day name.
5754 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5756 * desktop.el (desktop-clear): Use new name of sort predicate.
5758 * frameset.el (frameset): Add docstring. Move :version property to its
5760 (frameset-copy): Rename from copy-frameset.
5761 (frameset-p): Check more thoroughly.
5762 (frameset-prop): Do not check for :version, which is no longer a prop.
5763 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5764 Use new :never value instead of t.
5765 (frameset-filter-alist): Expand and clarify docstring.
5766 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5767 (frameset-filter-minibuffer, frameset-filter-save-param)
5768 (frameset-filter-restore-param, frameset-filter-iconified):
5769 Add pointer to docstring of frameset-filter-alist.
5770 (frameset-filter-params): Rename filter values to be more meaningful:
5771 :never instead of t, and reverse the meanings of :save and :restore.
5772 (frameset--process-minibuffer-frames): Clarify error message.
5773 (frameset-save): Avoid unnecessary and confusing call to framep.
5774 Use new BOA constructor for framesets.
5775 (frameset--reuse-list): Doc fix.
5776 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5777 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5778 (frameset-minibufferless-first-p): Doc fix.
5779 Rename from frameset-sort-frames-for-deletion.
5780 (frameset-restore): Doc fixes. Use new function names.
5781 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5783 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5785 * desktop.el (desktop-restore-forces-onscreen)
5786 (desktop-restore-reuses-frames): Document :keyword constant values.
5787 (desktop-filter-parameters-alist): Remove, now identical to
5788 frameset-filter-alist.
5789 (desktop--filter-tty*): Remove, moved to frameset.el.
5790 (desktop-save-frameset, desktop-restore-frameset):
5791 Do not pass :filters argument.
5793 * frameset.el (frameset-live-filter-alist)
5794 (frameset-persistent-filter-alist): New variables.
5795 (frameset-filter-alist): Use them. Add autoload cookie.
5796 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5797 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5798 `frameset--id' (it's supposed to be internal to frameset.el).
5799 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5800 (frameset--initial-params): New function.
5801 (frameset--get-frame): Use it. Doc fix.
5802 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5803 Accept :all, not 'all.
5804 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5805 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5806 with fbound symbols. Fix frame id matching, and remove matching ids if
5807 the frame being restored is deleted. Obey :delete.
5809 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5811 * subr.el (macrop): New function.
5812 (text-clone--maintaining): New var.
5813 (text-clone--maintain): Rename from text-clone-maintain. Use it
5814 instead of inhibit-modification-hooks.
5816 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5817 a proxy, so as handle autoloads and redefinitions of the target.
5818 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5820 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5821 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5822 (pcase--mutually-exclusive-p): New function.
5823 (pcase--split-consp): Use it.
5824 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5825 mutually exclusive with the current predicate.
5827 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5828 (edebug-macrop): Remove. Use `macrop' instead.
5829 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5831 * eshell/esh-cmd.el (eshell-macrop):
5832 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5834 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5836 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5837 (advice-mapc): New function, using it.
5838 (advice-function-member-p): New function.
5839 (advice--normalize): Store the cdr in advice--saved-rewrite since
5840 that's the part that will be changed.
5841 (advice--symbol-function): New function.
5842 (advice-remove): Handle removal before the function is defined.
5843 Adjust to new advice--saved-rewrite.
5844 (advice-member-p): Use advice-function-member-p and
5845 advice--symbol-function.
5847 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5849 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5850 (frameset-filter-minibuffer): Doc fix.
5851 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5852 (frameset--set-id, frameset--process-minibuffer-frames)
5853 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5854 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5856 * desktop.el (desktop-clear): Only delete frames when called
5857 interactively and desktop-restore-frames is non-nil. Doc fix.
5858 (desktop-read): Set desktop-saved-frameset to nil.
5860 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5862 * vc/vc.el (vc-ignore): Rewrite.
5863 (vc-default-ignore-completion-table):
5865 (vc--add-line, vc--remove-regexp): New functions.
5867 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5868 (vc-svn-ignore-completion-table): New function.
5870 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5871 (vc-hg-ignore-completion-table):
5872 (vc-hg-find-ignore-file): New functions.
5874 * vc/vc-git.el (vc-git-ignore): Rewrite.
5875 (vc-git-ignore-completion-table):
5876 (vc-git-find-ignore-file): New functions.
5878 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5880 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5881 (vc-bzr-ignore-completion-table):
5882 (vc-bzr-find-ignore-file): New functions.
5884 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5886 * frameset.el (frameset-prop): New function and setter.
5887 (frameset-save): Do not modify frame list passed by the caller.
5889 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5891 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5893 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5895 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5896 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5898 * custom.el (custom-initialize-default, custom-initialize-set)
5899 (custom-initialize-reset, custom-initialize-changed): Affect the
5900 toplevel-default-value (bug#6275, bug#14586).
5901 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5904 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5906 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5907 Add cl-def* expressions.
5909 * frameset.el (frameset-filter-params): Fix order of arguments.
5911 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5913 Move code related to saving frames to frameset.el.
5914 * desktop.el: Require frameset.
5915 (desktop-restore-frames): Doc fix.
5916 (desktop-restore-reuses-frames): Rename from
5917 desktop-restoring-reuses-frames.
5918 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5919 (desktop-clear): Clear frames too.
5920 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5921 (desktop--filter-tty*, desktop-save, desktop-read):
5922 Use frameset functions.
5923 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5924 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5925 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5926 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5927 (desktop--process-minibuffer-frames, desktop-save-frames)
5928 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5929 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5930 (desktop--sort-states, desktop-restoring-frames-p)
5931 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5932 (desktop-restoring-frameset-p, desktop-restore-frameset)
5933 (desktop--check-dont-save, desktop-save-frameset): New functions.
5934 (desktop--app-id): New constant.
5935 (desktop-first-buffer, desktop-buffer-ok-count)
5936 (desktop-buffer-fail-count): Move before first use.
5937 * frameset.el: New file.
5939 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5941 * files.el: Use lexical-binding.
5942 (dir-locals-read-from-file): Remove unused `err' variable.
5943 (hack-dir-local-variables--warned-coding): New var.
5944 (hack-dir-local-variables): Use it to avoid repeated warnings.
5945 (make-backup-file-name--default-function): New function.
5946 (make-backup-file-name-function): Use it as default.
5947 (buffer-stale--default-function): New function.
5948 (buffer-stale-function): Use it as default.
5949 (revert-buffer-insert-file-contents--default-function): New function.
5950 (revert-buffer-insert-file-contents-function): Use it as default.
5951 (insert-directory): Avoid add-to-list.
5953 * autorevert.el (auto-revert-handler): Simplify.
5954 Use buffer-stale--default-function.
5956 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5958 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5960 * whitespace.el (whitespace-ensure-local-variables): New function.
5961 (whitespace-cleanup-region): Call it.
5962 (whitespace-turn-on): Call it.
5964 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5966 Complete file name handlers.
5968 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5969 (tramp-handle-verify-visited-file-modtime)
5970 (tramp-handle-file-notify-rm-watch): New functions.
5971 (tramp-call-process): Do not bind `default-directory'.
5973 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5974 Order alphabetically.
5975 [access-file, add-name-to-file, dired-call-process]:
5976 [dired-compress-file, file-acl, file-notify-rm-watch]:
5977 [file-ownership-preserved-p, file-selinux-context]:
5978 [make-directory-internal, make-symbolic-link, set-file-acl]:
5979 [set-file-selinux-context, set-visited-file-modtime]:
5980 [verify-visited-file-modtime]: Add handler.
5981 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5983 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5984 [file-notify-add-watch, file-notify-rm-watch]:
5985 [set-file-times, set-visited-file-modtime]:
5986 [verify-visited-file-modtime]: Add handler.
5987 (with-tramp-gvfs-error-message)
5988 (tramp-gvfs-handle-set-visited-file-modtime)
5989 (tramp-gvfs-fuse-file-name): Remove.
5990 (tramp-gvfs-handle-file-notify-add-watch)
5991 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5992 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5994 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5995 Order alphabetically.
5996 [file-notify-rm-watch ]: Use default Tramp handler.
5997 [executable-find]: Remove private handler.
5998 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5999 `default-directory'.
6000 (tramp-sh-handle-executable-find)
6001 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6002 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6003 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6004 Do not use `format' in `tramp-message'.
6006 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6007 [file-notify-rm-watch, set-visited-file-modtime]:
6008 [verify-visited-file-modtime]: Add handler.
6009 (tramp-smb-call-winexe): Do not bind `default-directory'.
6011 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6013 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6015 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6017 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6019 (log-view-diff-changeset): Same.
6020 (log-view-diff-common): Call backend command `previous-revision'
6021 to find out the previous revision, in both cases. Swap the
6022 variables `to' and `fr', so that `fr' usually refers to the
6023 earlier revision (Bug#14989).
6025 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6027 * ibuf-ext.el (ibuffer-filter-by-filename):
6028 Make it work with dired buffers too.
6030 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6032 * emacs-lisp/re-builder.el (reb-color-display-p):
6033 * files.el (save-buffers-kill-terminal):
6034 * net/browse-url.el (browse-url):
6035 * server.el (server-save-buffers-kill-terminal):
6036 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6037 Prefer nil to selected-frame for the first arg of frame-parameter.
6039 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6041 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6043 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6045 * minibuffer.el (completion--twq-all): Try and preserve each
6046 completion's case choice (bug#14907).
6048 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6050 * net/network-stream.el (open-network-stream): Mention the new
6051 :nogreeting parameter.
6052 (network-stream-open-starttls): Use the :nogreeting parameter
6055 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6057 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6058 more natural than popping.
6060 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6061 (shr-urlify): Highlight under mouse.
6063 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6065 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6067 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6069 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6072 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6073 point-min==1. Fix search string. Fix parentheses missing.
6075 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6076 assume point-min==1. Fix search string. Fix parentheses missing.
6078 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6080 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6083 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6085 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6086 initial frame is minibuffer-less. (Bug#14841)
6088 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6090 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6093 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6094 (tramp-maybe-open-connection): Use it.
6096 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6098 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6099 minimal set of parameters passed when creating a frame, because
6100 the minibuffer status of a frame cannot be changed later.
6102 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6104 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6105 replace-regexp-in-string and inadvertent omissions in previous change.
6106 (todo-filter-items): Ensure only file names are comma-separated in
6107 name of filtered items buffer.
6109 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6111 * desktop.el: Optionally force offscreen frames back onscreen.
6112 (desktop-restoring-reuses-frames): New option.
6113 (desktop--compute-pos, desktop--move-onscreen): New functions.
6114 (desktop--make-frame): Use desktop--move-onscreen.
6116 2013-07-27 Alan Mackenzie <acm@muc.de>
6118 Fontify a Java generic method as a function.
6119 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6122 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6124 * calendar/todo-mode.el: Add command to rename todo files.
6125 (todo-rename-file): New command.
6126 (todo-key-bindings-t): Add key binding for it. Change the
6127 bindings of todo-filter-regexp-items(-multifile) to use `x'
6128 instead of `r', since the latter is better suited to the new
6131 2013-07-27 Alan Mackenzie <acm@muc.de>
6133 Make Java try-with-resources statement parse properly.
6134 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6135 (c-block-stmt-1-2-key): New language constants/variables.
6136 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6137 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6138 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6139 with c-block-stmt-1-2-key.
6141 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6143 * desktop.el (desktop--make-frame): Apply most frame parameters after
6144 creating the frame to force (partially or totally) offscreen frames to
6145 be restored as such.
6147 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6149 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6152 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6154 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6155 `base' arg of backtrace-frame.
6157 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6159 * simple.el (list-processes): Doc fix.
6161 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6163 * desktop.el (desktop--select-frame):
6164 Try harder to reuse existing frames.
6166 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6168 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6169 (edebug-eval): Use backtrace-eval.
6170 (edebug--display, edebug--recursive-edit): Don't let-bind the
6171 edebug-outer-* vars that keep track of variables we locally let-bind.
6172 (edebug-outside-excursion): Don't restore outside values of locally
6174 (edebug--display): Use user-error.
6175 (cl-lexical-debug, cl-debug-env): Remove.
6177 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6179 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6180 are restored to be sure that they are visible before deleting any
6183 2013-07-26 Matthias Meulien <orontee@gmail.com>
6185 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6186 vc-print-root-log. (Bug#14948)
6188 2013-07-26 Richard Stallman <rms@gnu.org>
6190 Add aliases for encrypting mail.
6191 * epa.el (epa-mail-aliases): New option.
6192 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6193 Bind inhibit-read-only so read-only text doesn't ruin everything.
6194 (epa-mail-default-recipients): New subroutine broken out.
6195 Handle epa-mail-aliases.
6197 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6199 Add support for lexical variables to the debugger's `e' command.
6200 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6201 vars, except for debugger-outer-match-data.
6202 (debugger-frame-number): Move check for "on a function call" from
6203 callers into it. Add `skip-base' argument.
6204 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6205 (debugger-env-macro): Only reset the state stored in non-variables,
6206 i.e. current-buffer and match-data.
6207 (debugger-eval-expression): Rewrite using backtrace-eval.
6208 * subr.el (internal--called-interactively-p--get-frame): Remove.
6209 (called-interactively-p):
6210 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6211 `base' arg of backtrace-frame instead.
6213 2013-07-26 Glenn Morris <rgm@gnu.org>
6215 * align.el (align-regexp): Doc fix. (Bug#14857)
6216 (align-region): Explicit error if subexpression missing/does not match.
6218 * simple.el (global-visual-line-mode):
6219 Do not duplicate the mode lighter. (Bug#14858)
6221 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6223 * window.el (display-buffer): In display-buffer bind
6224 split-window-keep-point to t, bug#14829.
6226 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6228 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6229 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6230 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6231 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6233 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6234 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6236 2013-07-25 Glenn Morris <rgm@gnu.org>
6238 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6240 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6242 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6243 parameter to modify-frame-parameters if the value has not changed;
6244 this is a workaround for bug#14949.
6245 (desktop--make-frame): On cl-delete-if call, check parameter name,
6248 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6250 * vc/vc.el (vc-ignore): New function.
6252 * vc/vc-svn.el (vc-svn-ignore): New function.
6254 * vc/vc-hg.el (vc-hg-ignore): New function.
6256 * vc/vc-git.el (vc-git-ignore): New function.
6258 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6259 (vc-dir-ignore): New function.
6261 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6262 (cvs-append-to-ignore): Move here from pcvs.el.
6264 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6266 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6268 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6270 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6271 (desktop-restore-frames): Warn when deleting an existing frame failed.
6273 2013-07-24 Glenn Morris <rgm@gnu.org>
6275 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6277 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6279 * filenotify.el (file-notify-supported-p):
6280 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6283 * autorevert.el (auto-revert-use-notify):
6284 (auto-revert-notify-add-watch):
6285 * net/tramp.el (tramp-file-name-for-operation):
6286 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6287 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6288 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6289 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6290 Remove `file-notify-supported-p' entry.
6292 2013-07-24 Glenn Morris <rgm@gnu.org>
6294 * printing.el: Replace all uses of deleted ps-windows-system,
6295 ps-lp-system, ps-flatten-list with lpr- versions.
6297 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6299 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6300 checked with memq (bug#14935).
6302 * files.el (revert-buffer-function): Use a non-nil default.
6303 (revert-buffer-preserve-modes): Declare var to
6304 provide access to the `preserve-modes' argument.
6305 (revert-buffer): Let-bind it.
6306 (revert-buffer--default): New function, extracted from revert-buffer.
6308 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6310 * lpr.el: Signal print errors more prominently.
6311 (print-region-function): Don't default to nil.
6312 (lpr-print-region): New function, extracted from print-region-1.
6313 Check lpr's return value and signal an error in case of problem.
6314 (print-region-1): Use it.
6315 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6317 (ps-printer-name): Default to nil.
6318 (ps-printer-name-option): Default to lpr-printer-switch.
6319 (ps-print-region-function): Don't default to nil.
6320 (ps-postscript-code-directory): Simplify default.
6321 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6322 (ps-string-list, ps-eval-switch, ps-flatten-list)
6323 (ps-flatten-list-1): Remove.
6324 (ps-multibyte-buffer): Avoid setq.
6325 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6326 (print-region-function, ps-print-region-function): Don't set them here.
6328 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6330 * ido.el (ido-fractionp):
6331 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6332 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6333 (ido-max-directory-size, ido-max-dir-file-cache)
6334 (ido-decorations): Doc fix.
6336 * ansi-color.el: Fix old URL.
6338 2013-07-23 Michael R. Mauger <michael@mauger.com>
6340 * progmodes/sql.el: Version 3.3
6341 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6342 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6343 (sql-interactive-remove-continuation-prompt): Rewrite, use
6344 functions above. Fix continuation prompt and complete output line
6346 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6347 redirected output buffer.
6348 (sql-mode): Restore deleted code (Bug#13591).
6350 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6352 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6354 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6356 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6358 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6359 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6360 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6362 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6364 * desktop.el (desktop-clear): Simplify; remove useless checks
6365 against invalid buffer names.
6366 (desktop-list*): Use cl-list*.
6367 (desktop-buffer-info, desktop-create-buffer): Simplify.
6369 2013-07-23 Leo Liu <sdl.web@gmail.com>
6371 * bookmark.el (bookmark-make-record): Restore NAME as a default
6374 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6376 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6377 extracted from autoload--insert-text.
6378 (autoload--insert-text): Remove.
6379 (autoload--print-cookie-text): New function, extracted from
6380 autoload--insert-cookie-text.
6381 (autoload--insert-cookie-text): Remove.
6382 (autoload-generate-file-autoloads): Adjust calls accordingly.
6384 * winner.el (winner-hook-installed-p): Remove.
6385 (winner-mode): Simplify accordingly.
6387 * subr.el (add-to-list): Fix compiler-macro when `append' is
6388 not constant. Don't use `cl-member' for the base case.
6390 * progmodes/subword.el: Fix boundary case (bug#13758).
6391 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6393 (subword-backward-regexp): Make it a constant.
6394 (subword-forward-internal): Don't treat a trailing capital as the
6395 beginning of a word.
6397 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6399 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6400 global value of tabulated-list-revert-hook (bug#14930).
6402 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6404 * desktop.el: Require 'cl-lib.
6405 (desktop-before-saving-frames-functions): New hook.
6406 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6407 for frames being saved. Rename from desktop--save-minibuffer-frames.
6408 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6409 Do not save frames with non-nil `desktop-dont-save' parameter.
6410 Filter out deleted frames.
6411 (desktop--find-frame): Use cl-find-if.
6412 (desktop--select-frame): Use cl-(first|second|third) to access values
6414 (desktop--make-frame): Use cl-delete-if.
6415 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6416 (desktop-restore-frames): Use cl-(first|second|third) to access values
6417 of desktop-mini. Look for visible frame at the end, not while
6420 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6421 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6422 Use string-match-p, looking-at-p (bug#14927).
6424 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6426 * desktop.el (desktop-saved-frame-states):
6427 Rename from desktop--saved-states; all users changed.
6428 (desktop-save-frames): Rename from desktop--save-frames.
6429 Do not save state to desktop file.
6430 (desktop-save): Save desktop-saved-frame-states to desktop file
6432 (desktop-restoring-frames-p): New function.
6433 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6434 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6435 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6437 * desktop.el: Correctly restore iconified frames.
6438 (desktop--filter-iconified-position): New function.
6439 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6441 2013-07-20 Glenn Morris <rgm@gnu.org>
6443 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6444 Let `message' do the formatting.
6445 (def-gdb-preempt-display-buffer): Add explicit format.
6447 * image-dired.el (image-dired-track-original-file):
6448 Use with-current-buffer.
6449 (image-dired-track-thumbnail): Use with-current-buffer.
6450 Avoid changing point of wrong window.
6452 * image-dired.el (image-dired-track-original-file):
6453 Avoid changing point of wrong window. (Bug#14909)
6455 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6457 * progmodes/gdb-mi.el (gdb-done-or-error):
6458 Guard against "%" in gdb output. (Bug#14127)
6460 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6462 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6465 * international/mule.el (coding-system-iso-2022-flags): Fix last
6468 2013-07-20 Kenichi Handa <handa@gnu.org>
6470 * international/mule.el (coding-system-iso-2022-flags):
6471 Add `8-bit-level-4'. (Bug#8522)
6473 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6475 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6478 * net/eww.el (eww-process-text-input): Allow inputting when the
6479 point is at the start of the line, as the properties aren't
6482 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6485 2013-07-19 Richard Stallman <rms@gnu.org>
6487 * epa.el (epa-popup-info-window): Doc fix.
6489 * subr.el (split-string): New arg TRIM.
6491 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6493 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6494 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6496 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6498 * filenotify.el (file-notify--library): Rename from
6499 `file-notify-support'. Do not autoload. Adapt all uses.
6500 (file-notify-supported-p): New defun.
6502 * autorevert.el (auto-revert-use-notify):
6503 Use `file-notify-supported-p' instead of `file-notify-support'.
6505 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6507 * net/tramp.el (tramp-file-name-for-operation):
6508 Add `file-notify-supported-p'.
6510 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6512 (tramp-sh-file-name-handler-alist): Add it as handler for
6513 `file-notify-supported-p '.
6515 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6516 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6517 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6518 Add `ignore' as handler for `file-notify-*' functions.
6520 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6522 * simple.el (line-move-partial, line-move): Don't start vscroll or
6523 scroll-up if the current line is not taller than the window.
6526 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6528 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6529 highlight question marks in the method names as strings.
6530 (ruby-block-beg-keywords): Inline.
6531 (ruby-font-lock-keyword-beg-re): Extract from
6532 `ruby-font-lock-keywords'.
6534 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6536 * frame.el (blink-cursor-blinks): New defcustom.
6537 (blink-cursor-blinks-done): New defvar.
6538 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6539 (blink-cursor-timer-function): Check if number of blinks has been
6541 (blink-cursor-suspend, blink-cursor-check): New defuns.
6543 2013-07-15 Glenn Morris <rgm@gnu.org>
6545 * edmacro.el (edmacro-format-keys): Fix previous change.
6547 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6549 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6550 The hack didn't work outside English locales anyway.
6552 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6554 * simple.el (define-alternatives): Rename from alternatives-define,
6555 per RMS' suggestion.
6557 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6559 * desktop.el (desktop-restore-frames): Change default to t.
6560 (desktop-restore-in-current-display): Now offer more options.
6561 (desktop-restoring-reuses-frames): New customization option.
6562 (desktop--saved-states): Doc fix.
6563 (desktop-filter-parameters-alist): New variable, renamed and expanded
6564 from desktop--excluded-frame-parameters.
6565 (desktop--target-display): New variable.
6566 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6567 (desktop--filter-tty*, desktop--filter-*-color)
6568 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6569 (desktop--filter-save-desktop-parm)
6570 (desktop-restore-in-original-display-p): New functions.
6571 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6572 (desktop--save-minibuffer-frames): New function, inspired by a similar
6573 function from Martin Rudalics.
6574 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6575 (desktop--restore-in-this-display-p): Remove.
6576 (desktop--find-frame): Rename from desktop--find-frame-in-display
6577 and add predicate argument.
6578 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6579 (desktop--reuse-list): New variable.
6580 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6582 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6584 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6586 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6588 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6590 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6591 Highlight conversion methods on Kernel.
6593 2013-07-13 Alan Mackenzie <acm@muc.de>
6595 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6596 and comment it out. This out-commenting enables certain C++
6597 declarations to be parsed correctly.
6599 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6601 * international/mule.el (define-coding-system): Doc fix.
6603 * simple.el (default-font-height): Don't call font-info if the
6604 frame's default font didn't change since the frame was created.
6607 2013-07-13 Leo Liu <sdl.web@gmail.com>
6609 * ido.el (ido-read-file-name): Guard against non-symbol value.
6611 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6613 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6616 2013-07-13 Leo Liu <sdl.web@gmail.com>
6618 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6619 ido-set-matches call. (Bug#6852)
6621 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6623 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6624 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6626 (ruby-font-lock-keywords): Distinguish calls to functions with
6627 module-like names from module references. Highlight character
6630 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6632 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6633 (gdb-send): Handle continued commands. (Bug#14847)
6635 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6637 * desktop.el (desktop--v2s): Remove unused local variable.
6638 (desktop-save-buffer): Make defvar-local; adjust docstring.
6639 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6640 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6642 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6644 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6646 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6648 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6651 2013-07-12 Glenn Morris <rgm@gnu.org>
6653 * doc-view.el: Require cl-lib at runtime too.
6654 (doc-view-remove-if): Remove.
6655 (doc-view-search-next-match, doc-view-search-previous-match):
6658 * edmacro.el: Require cl-lib at runtime too.
6659 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6660 (edmacro-mismatch, edmacro-subseq): Remove.
6662 * shadowfile.el: Require cl-lib.
6663 (shadow-remove-if): Remove.
6664 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6667 * wid-edit.el: Require cl-lib.
6668 (widget-choose): Use cl-remove-if.
6669 (widget-remove-if): Remove.
6671 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6672 (ebrowse-delete-if-not): Remove.
6673 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6674 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6675 Use cl-delete-if-not.
6677 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6679 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6680 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6682 2013-07-12 Leo Liu <sdl.web@gmail.com>
6684 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6686 2013-07-11 Glenn Morris <rgm@gnu.org>
6688 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6689 (edebug-gensym-index, edebug-gensym):
6690 Remove reimplementation of cl-gensym.
6691 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6693 * thumbs.el: Require cl-lib at run-time too.
6694 (thumbs-gensym-counter, thumbs-gensym):
6695 Remove reimplementation of cl-gensym.
6696 (thumbs-temp-file): Use cl-gensym.
6698 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6699 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6700 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6701 (ert--union, ert--gensym-counter, ert--gensym-counter)
6702 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6703 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6704 (ert-make-test-unbound, ert--expand-should-1)
6705 (ert--expand-should, ert--should-error-handle-error)
6706 (should-error, ert--explain-equal-rec)
6707 (ert--plist-difference-explanation, ert-select-tests)
6708 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6709 Use cl-lib functions rather than reimplementations.
6711 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6713 * net/tramp.el (tramp-methods): Extend docstring.
6714 (tramp-connection-timeout): New defcustom.
6715 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6716 (with-tramp-progress-reporter): Simplify.
6717 (tramp-process-actions): Improve messages.
6719 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6720 * net/tramp-sh.el (tramp-maybe-open-connection):
6721 Use `tramp-connection-timeout'.
6722 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6725 2013-07-11 Leo Liu <sdl.web@gmail.com>
6727 * ido.el (ido-read-file-name): Conform to the requirements of
6728 read-file-name. (Bug#11861)
6729 (ido-read-directory-name): Conform to the requirements of
6730 read-directory-name.
6732 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6734 * subr.el (delay-warning): New function.
6736 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6738 * simple.el (default-line-height): New function.
6739 (line-move-partial, line-move): Use it instead of computing the
6741 (line-move-partial): Always compute ROWH. If the last line is
6742 partially-visible, but its text is completely visible, allow
6743 cursor to enter such a partially-visible line.
6745 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6747 Improve error messages. (Bug#14808)
6749 * net/tramp.el (tramp-current-connection): New defvar, moved from
6751 (tramp-message-show-progress-reporter-message): Remove, not
6753 (tramp-error-with-buffer): Show message in minibuffer.
6754 Discard input before waiting. Reset connection timestamp.
6755 (with-tramp-progress-reporter): Improve messages.
6756 (tramp-process-actions): Use progress reporter. Delete process in
6757 case of error. Improve messages.
6759 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6760 Call `tramp-error-with-buffer' with vector and buffer.
6761 (tramp-current-connection): Remove.
6762 (tramp-maybe-open-connection): The car of
6763 `tramp-current-connection' are the first 3 slots of the vector.
6765 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6767 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6768 inside continued strings.
6770 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6772 Timestamp fixes for undo (Bug#14824).
6773 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6775 2013-07-10 Leo Liu <sdl.web@gmail.com>
6777 * files.el (require-final-newline): Allow safe local value.
6780 2013-07-09 Leo Liu <sdl.web@gmail.com>
6782 * ido.el (ido-read-directory-name): Handle fallback.
6783 (ido-read-file-name): Update DIR to ido-current-directory.
6785 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6787 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6789 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6790 "autoload". Remove "warn lower camel case" section, previously
6791 commented out. Highlight negation char. Do not highlight the
6792 target in singleton method definitions.
6794 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6796 * faces.el (tty-setup-hook): Declare the hook.
6798 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6799 and detect when a guard/pred depends on local vars (bug#14773).
6800 (pcase--u1): Adjust caller.
6802 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6804 * simple.el (line-move-partial, line-move): Account for
6806 (line-move-partial): Avoid setting vscroll when the last
6807 partially-visible line in window is of default height.
6809 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6811 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6814 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6816 * subr.el (read-quoted-char): Remove unused local variable `char'.
6818 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6820 * ediff.el (ediff-version): Version update.
6821 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6822 (ediff-merge-with-ancestor-command, ediff-directories-command)
6823 (ediff-directories3-command, ediff-merge-directories-command)
6824 (ediff-merge-directories-with-ancestor-command): New functions.
6825 All are command-line interfaces to ediff: to facilitate calling
6826 Emacs with the appropriate ediff functions invoked.
6828 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6829 (viper-save-kill-buffer): Check if buffer is modified.
6831 * viper.el (viper-version): Version update.
6832 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6834 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6836 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6837 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6838 (viper-intercept-ESC-key): Simplify.
6839 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6840 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6841 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6842 (viper-setup-ESC-to-escape): New functions.
6843 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6844 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6846 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6848 * simple.el (default-font-height, window-screen-lines):
6850 (line-move, line-move-partial): Use them instead of
6851 frame-char-height and window-text-height. This makes scrolling
6852 text smoother when the buffer's default face uses a font that is
6853 different from the frame's default font.
6855 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6857 * files.el (write-file): Do not display confirm dialog for NS,
6858 it does its own dialog, which can't be cancelled (Bug#14578).
6860 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6862 * simple.el (line-move-partial): Adjust the row returned by
6863 posn-at-point for the current window-vscroll. (Bug#14567)
6865 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6867 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6868 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6871 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6873 * window.el (window-state-put-stale-windows): New variable.
6874 (window--state-put-2): Save list of windows without matching buffer.
6875 (window-state-put): Remove "bufferless" windows if possible.
6877 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6879 * simple.el (alternatives-define): Remove leftover :group keyword.
6882 2013-07-06 Leo Liu <sdl.web@gmail.com>
6884 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6885 (ido-enable-virtual-buffers): New variable.
6886 (ido-buffer-internal, ido-toggle-virtual-buffers)
6887 (ido-make-buffer-list): Use it.
6888 (ido-exhibit): Support turning on and off virtual buffers
6891 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6893 * simple.el (alternatives-define): New macro.
6895 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6897 * subr.el (read-quoted-char): Use read-key.
6898 (sit-for): Let read-event decode tty input (bug#14782).
6900 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6902 * calendar/todo-mode.el: Add handling of file deletion, both by
6903 mode command and externally. Fix various related bugs.
6904 Clarify Commentary and improve some documentation strings and code.
6905 (todo-delete-file): New command.
6906 (todo-check-file): New function.
6907 (todo-show): Handle external deletion of the file we're trying to
6908 show (bug#14688). Replace called-interactively-p by an optional
6909 prefix argument to avoid problematic interaction with catch form
6910 when byte compiled (bug#14702).
6911 (todo-quit): Handle external deletion of the archive's todo file.
6912 Make sure the buffer that was visiting the archive file is still
6913 live before trying to bury it.
6914 (todo-category-completions): Handle external deletion of any
6915 category completion files.
6916 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6917 of todo files, in case of external deletion.
6918 (todo-add-file): Replace unnecessary setq by let-binding.
6919 (todo-find-archive): Check whether there are any archives.
6920 Replace unnecessary setq by let-binding.
6921 (todo-archive-done-item): Use find-file-noselect to get the
6922 archive buffer whether or not the archive already exists.
6923 Remove superfluous code. Use file size instead of buffer-file-name to
6924 check if the archive is new; if it is, update list of archives.
6925 (todo-default-todo-file): Allow nil to be a valid value for when
6926 there are no todo files.
6927 (todo-reevaluate-default-file-defcustom): Use corrected definition
6928 of todo-default-todo-file.
6929 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6930 (todo-delete-category, todo-show-categories-table)
6931 (todo-category-number): Clarify comment.
6932 (todo-filter-items): Clarify documentation string.
6933 (todo-show-current-file, todo-display-as-todo-file)
6934 (todo-reset-and-enable-done-separator): Tweak documentation string.
6935 (todo-done-separator): Make separator length window-width, since
6936 bug#2749 is now fixed.
6938 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6940 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6941 Support both "gvfs-monitor-dir" and "inotifywait".
6942 (tramp-sh-file-inotifywait-process-filter): Rename from
6943 `tramp-sh-file-notify-process-filter'.
6944 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6945 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6947 2013-07-05 Leo Liu <sdl.web@gmail.com>
6949 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6951 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6953 * frame.el (display-pixel-height, display-pixel-width)
6954 (display-mm-height, display-mm-width): Mention behavior on
6955 multi-monitor setups in docstrings.
6956 (w32-display-monitor-attributes-list): Declare function.
6957 (display-monitor-attributes-list): Use it.
6959 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6961 * filenotify.el: New package.
6963 * autorevert.el (top): Require filenotify.el.
6964 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6966 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6967 (auto-revert-notify-handler): Use `file-notify-*' functions.
6969 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6971 * net/tramp.el (tramp-file-name-for-operation):
6972 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6974 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6975 for `file-notify-add-watch' and `file-notify-rm-watch'.
6976 (tramp-process-sentinel): Improve trace.
6977 (tramp-sh-handle-file-notify-add-watch)
6978 (tramp-sh-file-notify-process-filter)
6979 (tramp-sh-handle-file-notify-rm-watch)
6980 (tramp-get-remote-inotifywait): New defuns.
6982 2013-07-03 Juri Linkov <juri@jurta.org>
6984 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6985 call of `occur-read-primary-args' to interactive spec.
6987 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6988 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6990 2013-07-03 Matthias Meulien <orontee@gmail.com>
6992 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6993 `Buffer-menu-multi-occur'. Add it to the menu.
6994 (Buffer-menu-mode): Document it in docstring.
6995 (Buffer-menu-multi-occur): New command. (Bug#14673)
6997 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6999 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7000 keywords and built-ins.
7002 2013-07-03 Glenn Morris <rgm@gnu.org>
7004 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7006 Make info-xref checks case-sensitive by default
7007 * info.el (Info-find-node, Info-find-in-tag-table)
7008 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7009 Add option for exact case matching of nodes.
7010 * info-xref.el (info-xref): New custom group.
7011 (info-xref-case-fold): New option.
7012 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7014 2013-07-03 Leo Liu <sdl.web@gmail.com>
7016 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7018 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7020 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7021 middle of block statement initially, lower the depth. Remove
7022 FIXME comment, not longer valid. Remove middle of block statement
7023 detection, no need to do that anymore since we've been using
7024 `ruby-parse-region' here.
7026 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7028 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7030 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7032 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7034 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7036 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7037 (desktop-restore-in-current-display): New customization option.
7038 (desktop--excluded-frame-parameters): Add `font'.
7039 (desktop--save-frames): Rename from desktop--save-windows.
7040 (desktop--restore-in-this-display-p): New function.
7041 (desktop--make-full-frame): Remove unwanted width/height from
7042 full(width|height) frames.
7043 (desktop--restore-frames): Rename from desktop--restore-windows.
7044 Obey desktop-restore-current-display. Do not delete old frames or
7045 select a new frame unless we were able to restore at least one frame.
7047 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7049 * files.el (find-file-noselect): Simplify conditional expression.
7051 * remember.el (remember-append-to-file):
7052 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7054 Add `remember-notes' function to store random notes across Emacs
7056 * remember.el (remember-data-file): Add :set callback to affect
7057 notes buffer (if any).
7058 (remember-notes): New command.
7059 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7060 New defcustoms for the `remember-notes' function.
7061 (remember-notes-save-and-bury-buffer): New command.
7062 (remember-notes-mode-map): New variable.
7063 (remember-mode): New minor mode.
7064 (remember-notes--kill-buffer-query): New function.
7065 * startup.el (initial-buffer-choice): Add notes to custom type.
7067 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7069 * bindings.el (right-char, left-char): Don't call sit-for, this is
7070 no longer needed. Use arithmetic comparison only for numerical
7073 * international/mule-cmds.el (select-safe-coding-system):
7074 Handle the case of FROM being a string correctly. (Bug#14755)
7076 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7078 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7079 progression on degenerate tables.
7080 (shr-rescale-image): ImageMagick animated images currently don't work.
7082 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7084 Some fixes and improvements for desktop frame restoration.
7085 It is still experimental and disabled by default.
7086 * desktop.el (desktop--save-windows): Put the selected frame at
7087 the head of the list.
7088 (desktop--make-full-frame): New function.
7089 (desktop--restore-windows): Try to re-select the frame that was
7090 selected upon saving. Do not abort if some frames fail to restore,
7091 just show an error message and continue. Set up maximized frames
7092 so they have default non-maximized dimensions.
7094 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7096 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7097 Don't start heredoc inside a string or comment.
7099 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7101 * bindings.el (visual-order-cursor-movement): New defcustom.
7102 (right-char, left-char): Provide visual-order cursor motion by
7103 calling move-point-visually. Update the doc strings.
7105 2013-06-28 Kenichi Handa <handa@gnu.org>
7107 * international/mule.el (define-coding-system): New coding system
7108 properties :inhibit-null-byte-detection,
7109 :inhibit-iso-escape-detection, and :prefer-utf-8.
7110 (set-buffer-file-coding-system): If :charset-list property of
7111 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7112 appropriate for setting.
7114 * international/mule-cmds.el (select-safe-coding-system):
7115 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7116 multibyte characters, return utf-8 (or one of its siblings).
7118 * international/mule-conf.el (prefer-utf-8): New coding system.
7119 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7122 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7124 * net/shr.el (shr-render-region): New function.
7126 * net/eww.el: Autoload `eww-browse-url'.
7128 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7130 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7131 Adapt to `package-desc-version' being a list.
7132 Use `package--ac-desc-version' to retrieve version from a package
7135 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7137 New experimental feature to save&restore window and frame setup.
7138 * desktop.el (desktop-save-windows): New defcustom.
7139 (desktop--saved-states): New var.
7140 (desktop--excluded-frame-parameters): New defconst.
7141 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7142 (desktop--restore-windows, desktop--save-windows): New functions.
7143 (desktop-save): Call `desktop--save-windows'.
7144 (desktop-read): Call `desktop--restore-windows'.
7146 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7148 * net/shr.el (add-face-text-property): Remove compat definition.
7150 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7152 * info.el (Info-try-follow-nearest-node): Move search for footnote
7153 above search for node name to prevent missing a footnote (bug#14717).
7155 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7157 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7159 2013-06-27 Leo Liu <sdl.web@gmail.com>
7161 * net/eww.el (eww-read-bookmarks): Check file size.
7163 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7165 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7166 advice--pending if newdef is nil or an autoload (bug#13820).
7167 (advice-mapc): New function.
7169 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7171 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7173 (eww-mode-map): Add a menu bar.
7174 (eww-add-bookmark): New command.
7175 (eww-bookmark-mode): New mode and commands.
7176 (eww-add-bookmark): Remove newlines from the title.
7177 (eww-bookmark-browse): Don't bug out if it's the only window.
7179 2013-06-26 Glenn Morris <rgm@gnu.org>
7181 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7182 (hfy-size): Handle ttys. (Bug#14668)
7184 * info-xref.el: Update for Texinfo 5 change in *note format.
7185 (info-xref-node-re, info-xref-note-re): New constants.
7186 (info-xref-check-buffer): Use info-xref-note-re.
7188 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7190 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7192 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7193 nil terminate the loop (bug#14718).
7195 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7197 * net/eww.el: Rework history traversal. When going forward/back,
7198 put these actions into the history, too, so that they can be
7200 (eww-render): Move the history reset to the correct buffer.
7202 2013-06-25 Juri Linkov <juri@jurta.org>
7204 * files-x.el (modify-dir-local-variable): Change the header comment
7205 in the file with directory local variables. (Bug#14692)
7207 * files-x.el (read-file-local-variable-value): Add `default'.
7210 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7212 * net/eww.el (eww-make-unique-file-name): Create a unique file
7213 name before saving to entering `y' accidentally asynchronously.
7215 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7217 * net/eww.el (eww-download): New command and keystroke.
7219 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7221 * net/eww.el (eww-copy-page-url): Change name of command.
7223 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7224 be more consistent with Info and dired.
7226 * net/eww.el (eww-mode-map): Ditto.
7228 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7230 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7231 packages from archives.
7232 (package-archive-contents): Change format; include obsolete packages.
7233 (package-desc): Use `dir' to mark builtin packages.
7234 (package--from-builtin): Set the `dir' field to `builtin'.
7235 (generated-autoload-file, version-control): Declare.
7236 (package-compute-transaction): Change first arg and return value to be
7237 lists of package-descs. Adjust to new package-archive-contents format.
7238 (package--add-to-archive-contents): Adjust to new
7239 package-archive-contents format.
7240 (package-download-transaction): Arg is now a list of package-descs.
7241 (package-install): If `pkg' is a package name, pass it as
7242 a requirement, so it is subject to the usual (e.g. disabled) checks.
7243 (describe-package): Accept package-desc as well.
7244 (describe-package-1): Describe a specific package-desc. Add links to
7245 other package-descs for the same package name.
7246 (package-menu-describe-package): Pass the actual package-desc.
7247 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7249 (package-desc-status): New function.
7250 (package-menu--refresh): New function, extracted
7251 from package-menu--generate.
7252 (package-menu--generate): Use it.
7253 (package-delete): Update package-alist.
7254 (package-menu-execute): Don't call package-initialize.
7256 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7257 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7258 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7259 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7260 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7261 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7263 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7265 * window.el (window--state-get-1): Workaround for bug#14527.
7266 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7268 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7270 * net/eww.el (eww-back-url): Implement the history by stashing all
7271 the data into a list.
7272 (eww-forward-url): Allow going forward in the history, too.
7274 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7276 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7277 for values and use read--expression for expressions (bug#14710).
7278 (read-file-local-variable): Avoid setq.
7279 (read-file-local-variable-mode): Use minor-mode-list.
7281 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7283 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7286 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7288 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7289 Update imenu-support when dialect changes.
7291 2013-06-25 Leo Liu <sdl.web@gmail.com>
7293 * ido.el (ido-read-internal): Allow forward slash on windows.
7295 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7297 * net/eww.el (eww): Start of strings is \\`, not ^.
7299 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7301 * net/shr.el (shr-browse-url): Fix interactive spec.
7303 * net/eww.el (eww): Add a trailing slash to domain names.
7305 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7307 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7309 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7311 * net/shr.el (shr-browse-url): Use an external browser if given a
7314 * net/eww.el (eww-external-browser): Move to shr.
7316 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7318 * net/eww.el (eww): Work more correctly for file: URLs.
7319 (eww-detect-charset): Allow quoted charsets.
7320 (eww-yank-page-url): New command and keystroke.
7322 2013-06-24 Daiki Ueno <ueno@gnu.org>
7324 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7325 file name of gpg executable.
7326 (epg-context-program): New function.
7327 (epg-context-home-directory): New function.
7328 (epg-context-set-program): New function.
7329 (epg-context-set-home-directory): New function.
7330 (epg--start): Use `epg-context-program' instead of
7332 (epg--list-keys-1): Likewise.
7334 2013-06-24 Leo Liu <sdl.web@gmail.com>
7336 * ido.el (ido-read-internal): Fix bug#14620.
7338 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7340 * faces.el (face-documentation): Simplify.
7341 (read-face-attribute, tty-find-type, x-resolve-font-name):
7342 Use `string-match-p'.
7343 (list-faces-display): Use `string-match-p'. Simplify.
7344 (face-spec-recalc): Check face to avoid face alias loops.
7345 (read-color): Use `string-match-p' and non-capturing parenthesis.
7347 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7349 * net/shr.el (shr-rescale-image): Use the new
7350 :max-width/:max-height functionality.
7352 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7354 * net/eww.el (eww-search-prefix): New variable.
7356 (eww-external-browser): New variable.
7357 (eww-mode-map): New keystroke.
7358 (eww-browse-with-external-browser): New command.
7360 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7362 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7364 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7365 Don't skip aligning the next header field when padding is 0;
7366 otherwise, field width is not respected unless the title is as
7369 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7371 * emacs-lisp/package.el (package-el-version): Remove.
7372 (package-process-define-package): Fix inf-loop.
7373 (package-install): Allow symbols as arguments again.
7375 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7377 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7378 add some more keyword-like methods.
7379 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7381 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7383 * bs.el (bs-buffer-show-mark): Make defvar-local.
7384 (bs-mode): Use setq-local.
7386 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7387 (emacs-lock--try-unlocking): Make defvar-local.
7389 2013-06-22 Glenn Morris <rgm@gnu.org>
7391 * play/cookie1.el (cookie-apropos): Minor simplification.
7393 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7395 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7397 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7398 `regexp-opt', it breaks the build during dumping.
7400 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7402 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7403 Highlight keyword-like methods on Kernel and Module with
7404 font-lock-builtin-face.
7405 (auto-mode-alist): Consolidate different entries into one regexp
7406 and add more *file-s.
7408 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7410 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7412 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7413 (diary-entry): Use it in the action of this button type instead of
7416 * calendar/todo-mode.el: New version.
7417 (todo-add-category): Append new category to end of file and give
7418 it the highest number, instead of putting it at the beginning and
7419 giving it 0. Incorporate noninteractive functionality.
7420 (todo-forward-category): Adapt to 1-based category numbering.
7421 Allow skipping over archived categories.
7422 (todo-backward-category): Derive from todo-forward-category.
7423 (todo-backward-item, todo-forward-item): Make noninteractive and
7424 delegate interactive part to new commands. Make sensitive to done items.
7425 (todo-categories): Make value an alist of category names and
7426 vectors of item counts.
7427 (todo-category-beg): Make a defconst.
7428 (todo-category-number): Use 1 instead of 0 as initial value.
7429 (todo-category-select): Make sensitive to overlays, optional item
7430 highlighting and done items.
7431 (todo-delete-item): Make sensitive to overlays and marked and done items.
7432 (todo-edit-item): Make sensitive to overlays and editing of
7433 date/time header optional. Add format checks.
7434 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7435 no-op if point is not on an item. Advertise using todo-edit-quit.
7436 (todo-edit-mode): Make sensitive to new format, font-locking, and
7437 multiple todo files.
7438 (todo-insert-item, todo-insert-item-here): Derive from
7439 todo-basic-insert-item and extend functionality.
7440 (todo-item-end, todo-item-start): Make sensitive to done items.
7441 (todo-item-string): Don't return text properties. Restore point.
7442 (todo-jump-to-category): Make sensitive to multiple todo files and
7443 todo archives. Use extended category completion.
7444 (todo-lower-item, todo-raise-item): Rename to *-priority and
7445 derive from todo-set-item-priority.
7446 (todo-mode): Derive from special-mode. Make sensitive to new
7447 format, font-locking and multiple todo files. Make read-only.
7448 (todo-mode-map): Don't suppress digit keys, so they can supply
7449 prefix arguments. Add many new key bindings.
7450 (todo-prefix): Insert as an overlay instead of file text.
7451 Change semantics from diary date expression to purely visual mark.
7452 (todo-print): Rename to todo-print-buffer. Make buffer display
7453 features printable. Remove option to restrict number of items
7454 printed. Add option to print to file.
7455 (todo-print-function): Rename to todo-print-buffer-function.
7456 (todo-quit): Extend to handle exiting new todo modes.
7457 (todo-remove-item): Make sensitive to overlays.
7458 (todo-save): Extend to buffers of filtered items.
7459 (todo-show): Make sensitive to done items, multiple todo files and
7460 new todo modes. Offer to convert legacy todo file before creating
7461 first new todo file.
7462 (todo-show-priorities): Rename to todo-top-priorities.
7463 Change semantics of value 0.
7464 (todo-top-priorities): Rename to todo-filter-top-priorities,
7465 derive from todo-filter-items and extend functionality.
7466 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7467 and extend functionality to other types of filtered items.
7468 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7469 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7470 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7471 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7472 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7473 (todo-edit-mode-hook, todo-entry-prefix-function)
7474 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7475 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7476 (todo-initials, todo-insert-threshold, todo-item-string-start)
7477 (todo-line-string, todo-menu, todo-mode-hook)
7478 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7479 (todo-print-priorities, todo-remove-separator)
7480 (todo-save-top-priorities-too, todo-string-count-lines)
7481 (todo-string-multiline-p, todo-time-string-format)
7482 (todo-tmp-buffer-name): Remove.
7483 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7484 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7485 (todo-edit-category-diary-inclusion)
7486 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7487 (todo-edit-file, todo-edit-item-date-day)
7488 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7489 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7490 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7491 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7492 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7493 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7494 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7495 (todo-filter-top-priorities-multifile, todo-find-archive)
7496 (todo-find-filtered-items-file, todo-go-to-source-item)
7497 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7498 (todo-jump-to-archive-category, todo-lower-category)
7499 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7500 (todo-move-category, todo-move-item, todo-next-button)
7501 (todo-next-item, todo-padded-string, todo-powerset)
7502 (todo-previous-button, todo-previous-item)
7503 (todo-print-buffer-to-file, todo-raise-category)
7504 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7505 (todo-set-category-number, todo-set-item-priority)
7506 (todo-set-top-priorities-in-category)
7507 (todo-set-top-priorities-in-file, todo-show-categories-table)
7508 (todo-sort-categories-alphabetically-or-numerically)
7509 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7510 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7511 (todo-toggle-item-header, todo-toggle-item-highlighting)
7512 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7513 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7514 (todo-unarchive-items, todo-unmark-category): New commands.
7515 (todo-absolute-file-name, todo-add-to-buffer-list)
7516 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7517 (todo-basic-insert-item, todo-category-completions)
7518 (todo-category-number, todo-category-string-matcher-1)
7519 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7520 (todo-check-format, todo-clear-matches)
7521 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7522 (todo-current-category, todo-date-string-matcher)
7523 (todo-define-insertion-command, todo-diary-expired-matcher)
7524 (todo-diary-goto-entry, todo-diary-item-p)
7525 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7526 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7527 (todo-done-item-section-p, todo-done-separator)
7528 (todo-done-string-matcher, todo-files, todo-filter-items)
7529 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7530 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7531 (todo-insert-category-line, todo-insert-item-from-calendar)
7532 (todo-insert-sort-button, todo-insert-with-overlays)
7533 (todo-insertion-command-name, todo-insertion-key-bindings)
7534 (todo-label-to-key, todo-longest-category-name-length)
7535 (todo-make-categories-list, todo-mode-external-set)
7536 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7537 (todo-modes-set-3, todo-multiple-filter-files)
7538 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7539 (todo-read-category, todo-read-date, todo-read-dayname)
7540 (todo-read-file-name, todo-read-time)
7541 (todo-reevaluate-category-completions-files-defcustom)
7542 (todo-reevaluate-default-file-defcustom)
7543 (todo-reevaluate-filelist-defcustoms)
7544 (todo-reevaluate-filter-files-defcustom)
7545 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7546 (todo-reset-done-separator, todo-reset-done-separator-string)
7547 (todo-reset-done-string, todo-reset-global-current-todo-file)
7548 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7549 (todo-reset-prefix, todo-set-categories)
7550 (todo-set-date-from-calendar, todo-set-show-current-file)
7551 (todo-set-top-priorities, todo-short-file-name)
7552 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7553 (todo-total-item-counts, todo-update-buffer-list)
7554 (todo-update-categories-display, todo-update-categories-sexp)
7555 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7557 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7559 (todo-categories, todo-display, todo-edit, todo-faces)
7560 (todo-filtered): New defgroups.
7561 (todo-archived-only, todo-button, todo-category-string, todo-date)
7562 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7563 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7564 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7565 (todo-add-item-if-new-category, todo-always-add-time-string)
7566 (todo-categories-align, todo-categories-archived-label)
7567 (todo-categories-category-label, todo-categories-diary-label)
7568 (todo-categories-done-label, todo-categories-number-separator)
7569 (todo-categories-todo-label, todo-categories-totals-label)
7570 (todo-category-completions-files, todo-completion-ignore-case)
7571 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7572 (todo-done-separator-string, todo-done-string)
7573 (todo-files-function, todo-filter-done-items, todo-filter-files)
7574 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7575 (todo-initial-category, todo-initial-file, todo-item-mark)
7576 (todo-legacy-date-time-regexp, todo-mode-line-function)
7577 (todo-nondiary-marker, todo-number-prefix)
7578 (todo-print-buffer-function, todo-show-current-file)
7579 (todo-show-done-only, todo-show-first, todo-show-with-done)
7580 (todo-skip-archived-categories, todo-top-priorities-overrides)
7581 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7582 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7584 (todo-category-done, todo-date-pattern, todo-date-string-start)
7585 (todo-diary-items-buffer, todo-done-string-start)
7586 (todo-filtered-items-buffer, todo-item-start)
7587 (todo-month-abbrev-array, todo-month-name-array)
7588 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7589 (todo-top-priorities-buffer): New defconsts.
7590 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7591 (todo-categories-with-marks, todo-category-string-face)
7592 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7593 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7594 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7595 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7596 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7597 (todo-font-lock-keywords, todo-global-current-todo-file)
7598 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7599 (todo-insertion-commands-args)
7600 (todo-insertion-commands-args-genlist)
7601 (todo-insertion-commands-names, todo-insertion-map)
7602 (todo-key-bindings-t, todo-key-bindings-t+a)
7603 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7604 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7605 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7606 (todo-visited): New variables.
7608 2013-06-21 Glenn Morris <rgm@gnu.org>
7610 * play/cookie1.el (cookie-apropos): Add optional display argument.
7611 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7612 (psychoanalyze-pinhead): Use cookie-doctor.
7614 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7616 * emacs-lisp/package.el (tar-get-file-descriptor)
7617 (tar--extract): Declare.
7619 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7621 Extend flymake's warning predicate to be a function (bug#14217).
7622 * progmodes/flymake.el (flymake-warning-predicate): New.
7623 (flymake-parse-line): Use it.
7624 (flymake-warning-re): Make obsolete alias to
7625 `flymake-warning-predicate'.
7627 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7629 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7630 (package-obsolete-list): Remove.
7631 (package-activate): Remove min-version argument. Add `force' argument.
7632 Adjust to new package-alist format.
7633 (package-mark-obsolete): Remove.
7634 (package-unpack): Force reload of the package's autoloads.
7635 (package-installed-p): Check builtins if the installed package is not
7637 (package-initialize): Don't reset package-obsolete-list.
7638 Don't specify which package version to activate.
7639 (package-process-define-package, describe-package-1)
7640 (package-menu--generate): Adjust to new package-alist format.
7642 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7644 * allout-widgets.el (allout-widgets-mode-off)
7645 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7646 (allout-widgets-post-command-business)
7647 (allout-widgets-after-copy-or-kill-function)
7648 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7649 (allout-decorate-item-and-context)
7650 (allout-graphics-modification-handler): Fix typos in docstrings.
7651 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7653 * cmuscheme.el (scheme-start-file): Doc fix.
7654 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7655 (scheme-input-filter): Use `string-match-p'.
7657 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7659 * dired-x.el: Use Dired consistently in docstrings.
7661 * dired.el: Use Dired consistently in docstrings.
7662 (dired-readin, dired-mode): Use `setq-local'.
7663 (dired-switches-alist): Make defvar-local.
7664 (dired-buffers-for-dir): Use `zerop'.
7665 (dired-safe-switches-p, dired-switches-escape-p)
7666 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7667 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7668 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7669 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7670 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7671 (dired-toggle-marks, dired-mark-files-containing-regexp)
7672 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7673 (dired-flag-auto-save-files, dired-flag-backup-files):
7675 (dired-mark-files-regexp, dired-build-subdir-alist):
7676 Use `string-match-p', `looking-at-p'.
7678 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7679 (direct-print-region-helper): Use `string-match-p'.
7681 2013-06-21 Leo Liu <sdl.web@gmail.com>
7683 * comint.el (comint-redirect-results-list-from-process):
7686 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7688 * net/eww.el (eww-update-header-line-format): Quote % characters.
7690 2013-06-21 Glenn Morris <rgm@gnu.org>
7692 * play/cookie1.el (cookie): New custom group.
7693 (cookie-file): New option.
7694 (cookie-check-file): New function.
7695 (cookie): Make it interactive. Make start and end messages optional.
7696 Interactively, display the result. Default to cookie-file.
7697 (cookie-insert): Default to cookie-file.
7698 (cookie-snarf): Make start and end messages optional.
7699 Default to cookie-file. Use with-temp-buffer.
7700 (cookie-read): Rename from read-cookie.
7701 Make start and end messages optional. Default to cookie-file.
7702 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7704 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7705 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7707 2013-06-21 Leo Liu <sdl.web@gmail.com>
7709 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7711 2013-06-21 Glenn Morris <rgm@gnu.org>
7713 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7715 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7716 Daniel Hackney <dan@haxney.org>
7718 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7719 Consolidate the single-file vs tarball code.
7720 (package-desc-suffix): New function.
7721 (package-desc-full-name): Don't bother inlining it.
7722 (package-load-descriptor): Return the new package-desc.
7723 (package-mark-obsolete): Remove unused arg `package'.
7724 (package-unpack): Make it work for single files as well.
7725 Make it update package-alist.
7726 (package--make-autoloads-and-stuff): Rename from
7727 package--make-autoloads-and-compile. Don't compile any more.
7728 (package--compile): New function.
7729 (package-generate-description-file): New function, extracted from
7730 package-unpack-single.
7731 (package-unpack-single): Remove.
7732 (package--with-work-buffer): Add indentation and debugging info.
7733 (package-download-single): Remove.
7734 (package-install-from-archive): Rename from package-download-tar, make
7735 it take a pkg-desc, and make it work for single files as well.
7736 (package-download-transaction): Simplify.
7737 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7738 external tar program.
7739 (package-install-from-buffer): Remove `pkg-desc' argument.
7740 Use package-tar-file-info for tar-mode buffers.
7741 (package-install-file): Simplify accordingly.
7742 (package-archive-base): Change to take a pkg-desc.
7743 * tar-mode.el (tar--check-descriptor): New function, extracted from
7745 (tar-get-descriptor): Use it.
7746 (tar-get-file-descriptor): New function.
7747 (tar--extract): New function, extracted from tar-extract.
7748 (tar--extract): Use it.
7749 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7750 case the summary uses non-ascii. Adjust to new calling convention of
7751 package-tar-file-info.
7753 2013-06-21 Leo Liu <sdl.web@gmail.com>
7755 * comint.el (comint-redirect-results-list-from-process):
7756 Fix random delay. (Bug#14681)
7758 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7760 * profiler.el (profiler-format-number): Use log, not log10.
7762 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7764 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7766 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7768 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7769 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7771 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7772 (AUTOGENEL): ... here.
7773 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7774 (cl--defsubst-expand): Use it.
7776 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7778 * subr.el (log10): Move here from C code, and declare as obsolete.
7779 All uses of (log10 X) replaced with (log X 10).
7781 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7783 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7784 Declare with `defvar-local'.
7785 (tabulated-list-use-header-line, tabulated-list-entries)
7786 (tabulated-list-padding, tabulated-list-printer)
7787 (tabulated-list-sort-key): Declare with `defvar-local'.
7788 (tabulated-list-init-header, tabulated-list-print-fake-header):
7791 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7793 * arc-mode.el (archive-mode): Add `archive-write-file' to
7794 `write-contents-functions' also for remote files. (Bug#14652)
7796 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7798 * cus-edit.el (custom-commands): Fix typos.
7799 (custom-display): Fix tooltip text.
7800 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7801 Fix typos in docstrings.
7802 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7803 (custom-unlispify-menu-entry, custom-magic-value-create)
7804 (custom-add-see-also, custom-group-value-create): Use ?\s.
7805 (custom-guess-type, customize-apropos, editable-field)
7806 (custom-face-value-create): Use `string-match-p'.
7807 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7809 * custom.el (custom-load-symbol): Use `string-match-p'.
7811 * ansi-color.el: Convert to lexical binding.
7812 (ansi-colors): Fix URL.
7813 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7814 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7815 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7817 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7819 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7821 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7823 2013-06-19 Tom Tromey <tromey@redhat.com>
7825 * net/eww.el (eww-top-url): Remove.
7826 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7827 (eww-render): Set new variables. Don't set eww-top-url.
7828 (eww-handle-link): Handle "prev", "home", and "contents".
7829 Downcase the rel text.
7830 (eww-top-url): Choose best top URL.
7832 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7834 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7835 relying in widget.el. Using widget.el leads to too many
7836 user interface inconsistencies.
7837 (eww-self-insert): Implement entering commands in text fields.
7838 (eww-process-text-input): New function to make text input field editing
7840 (eww-submit): Rewrite to use the new-style form methods.
7841 (eww-select-display): Display the correct selected item.
7842 (eww-change-select): Implement changing the select value.
7843 (eww-toggle-checkbox): Implement radio/checkboxes.
7844 (eww-update-field): Fix compilation error.
7845 (eww-tag-textarea): Implement <textarea>.
7847 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7848 we don't shadow mode-specific bindings.
7850 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7853 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7855 2013-06-19 Glenn Morris <rgm@gnu.org>
7857 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7859 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7861 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7864 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7866 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7868 * net/browse-url.el (browse-url-browser-function):
7869 `eww-browse-url' has the right calling signature, `eww' does not.
7871 2013-06-19 Glenn Morris <rgm@gnu.org>
7873 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7874 Only eval autoloaded macros.
7875 (byte-compile-autoload): Only give the macro warning for macros.
7877 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7878 (ps-underlined-faces): Declare.
7880 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7881 (speedbar-add-supported-extension): Declare.
7883 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7884 Don't include a date stamp in the header of the generated file;
7885 it leads to needless differences between output files.
7887 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7889 * net/secrets.el (secrets-struct-secret-content-type):
7890 Replace check of introspection data by a test call of "CreateItem".
7891 Some servers do not offer introspection.
7893 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7895 * electric.el (electric-pair-mode): Improve interaction with
7896 electric-layout-mode.
7897 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7898 (electric-pair-syntax): Use text-mode-syntax-table in comments
7900 (electric-pair--insert): New function.
7901 (electric-pair-post-self-insert-function): Use it and
7902 electric--after-char-pos.
7904 2013-06-19 Leo Liu <sdl.web@gmail.com>
7906 * progmodes/octave.el (octave-help): Fix regexp.
7908 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7910 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7911 (shr-table-horizontal-line): Allow nil as a value, and change the
7913 (shr-insert-table-ruler): Respect the nil value.
7915 2013-06-18 Tom Tromey <tromey@barimba>
7917 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7919 (eww-open-file): New defun.
7920 (eww-render): Initialize new variables.
7921 (eww-display-html): Handle "link" and "a".
7922 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7923 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7924 (eww-back-url): Rename from eww-previous-url.
7925 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7928 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7930 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7931 Distinguish ternary operator tokens from slash symbol and slash
7934 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7936 Convert symbol prettification into minor mode and global minor mode.
7938 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7939 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7940 (prettify-symbols--keywords): Rename from
7941 `prog-prettify-symbols-alist' and make a local defvar.
7942 (prettify-symbols--compose-symbol): Rename from
7943 `prog--prettify-font-lock-compose-symbol'.
7944 (prettify-symbols--make-keywords): Rename from
7945 `prog-prettify-font-lock-symbols-keywords' and simplify.
7946 (prog-prettify-install): Remove.
7947 (prettify-symbols-mode): New minor mode, based on
7948 `prog-prettify-install'.
7949 (turn-on-prettify-symbols-mode): New function.
7950 (global-prettify-symbols-mode): New globalized minor mode.
7952 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7953 * progmodes/cfengine.el (cfengine3-mode):
7954 * progmodes/perl-mode.el (perl-mode): Don't call
7955 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7957 2013-06-18 Juri Linkov <juri@jurta.org>
7959 * files-x.el (modify-file-local-variable-message): New function.
7960 (modify-file-local-variable)
7961 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7962 and call `modify-file-local-variable-message' when it's non-nil.
7963 (add-file-local-variable, delete-file-local-variable)
7964 (add-file-local-variable-prop-line)
7965 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7966 and use it. (Bug#9820)
7968 2013-06-18 Juri Linkov <juri@jurta.org>
7970 * emulation/vi.el (vi-shell-op):
7971 * emulation/vip.el (vip-execute-com, ex-command):
7972 * emulation/viper-cmd.el (viper-exec-bang):
7973 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7974 the call of `shell-command-on-region'. (Bug#14637)
7976 * simple.el (shell-command-on-region): Doc fix.
7978 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7980 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7983 2013-06-18 Glenn Morris <rgm@gnu.org>
7985 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7987 * newcomment.el (comment-search-forward, comment-search-backward):
7988 Doc fix. (Bug#14376)
7990 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7992 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7993 (buffer-face-mode-invoke): Doc fix.
7995 2013-06-18 Matthias Meulien <orontee@gmail.com>
7997 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7998 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8000 2013-06-18 Glenn Morris <rgm@gnu.org>
8002 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8003 Replace obsolete function generic-make-keywords with its expansion.
8005 * progmodes/python.el (ffap-alist): Declare.
8007 * textmodes/reftex.el (bibtex-mode-map): Declare.
8009 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8011 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8012 (package-unpack, package-unpack-single): Return the pkg-dir.
8013 (package-download-transaction): Use it to update package-alist.
8015 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8017 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8020 2013-06-17 Juri Linkov <juri@jurta.org>
8022 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8024 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8026 * emacs-lisp/package.el (package-load-descriptor):
8027 Remove `with-syntax-table' call, `read' doesn't need it.
8028 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8030 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8032 * startup.el (command-line): Expand package name returned by
8033 `package--description-file' (bug#14639).
8035 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8037 * emacs-lisp/package.el (package-load-descriptor): Do not call
8038 `emacs-lisp-mode', just use its syntax table.
8040 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8042 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8043 `font-lock-extra-managed-props' if any prettifying keyword is added.
8044 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8045 (prog-mode): Use `setq-local'.
8047 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8049 * international/characters.el (standard-case-table): Set syntax of ?»
8050 and ?« to punctuation.
8052 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8054 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8055 Save relevant match data before calling `syntax-ppss' (bug#14595).
8057 2013-06-15 Juri Linkov <juri@jurta.org>
8059 * files-x.el (modify-file-local-variable-prop-line): Add local
8060 variables to the end of the existing comment on the first line.
8061 Use `file-auto-mode-skip' to skip interpreter magic line,
8062 and also skip XML declaration.
8064 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8066 * startup.el (package--builtin-versions): New var.
8067 (package-subdirectory-regexp): Remove.
8068 (package--description-file): Hard code its value instead.
8070 * emacs-lisp/package.el: Don't activate packages older than builtin.
8071 (package-obsolete-list): Rename from package-obsolete-alist, and make
8072 it into a simple list of package-desc.
8073 (package-strip-version): Remove.
8074 (package-built-in-p): Use package--builtin-versions.
8075 (package-mark-obsolete): Simplify.
8076 (package-process-define-package): Mark it obsolete if older than the
8078 (package-handle-response): Use line-end-position.
8079 (package-read-archive-contents, package--download-one-archive):
8081 (package--add-to-archive-contents): Skip if older than the builtin or
8083 (package-menu-describe-package): Fix last change.
8084 (package-list-unversioned): New var.
8085 (package-menu--generate): Use it.
8087 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8088 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8089 (autoload-builtin-package-versions): New variable.
8090 (autoload-generate-file-autoloads): Use them.
8091 Remove the list of autoloaded functions/macros from the
8092 (autoload...) comments.
8094 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8096 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8098 * simple.el (line-move-partial): Don't jump to the next screen
8099 line as soon as it becomes visible. Instead, continue enlarging
8100 the vscroll until the portion of a tall screen line that's left on
8101 display is about the height of the frame's default font.
8104 2013-06-15 Glenn Morris <rgm@gnu.org>
8106 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8107 compilation-error-regexp-alist void, or local while let-bound.
8109 * progmodes/make-mode.el (makefile-mode-syntax-table):
8110 Treat "=" as punctuation. (Bug#14614)
8112 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8114 * help-fns.el (describe-variable):
8115 Add extra line for permanent-local variables.
8117 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8119 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8120 Add export, import, library. (Bug#9164)
8121 (library): Set indent function.
8123 2013-06-14 Glenn Morris <rgm@gnu.org>
8125 * term/xterm.el (xterm--query):
8126 Stop after first matching handler. (Bug#14615)
8128 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8130 Add support for dired in saveplace.
8131 * dired.el (dired-initial-position-hook): New variable.
8132 (dired-initial-position): Call hook to place cursor position.
8133 * saveplace.el (save-place-to-alist): Add dired position.
8134 (save-place-dired-hook): New function.
8136 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8138 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8139 through a symbol rather than letrec.
8141 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8142 (package-desc): Add `dir' field.
8143 (package-desc-full-name): New function.
8144 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8145 (package-maybe-load-descriptor): Remove.
8146 (package-load-all-descriptors): Just call package-load-descriptor.
8147 (package--disabled-p): New function.
8148 (package-desc-vers, package-desc-doc): Remove aliases.
8149 (package--dir): Remove function.
8150 (package-activate): Check if a package is disabled.
8151 (package-process-define-package): New function, extracted from
8153 (define-package): Turn into a place holder.
8154 (package-unpack-single, package-tar-file-info):
8155 Use package--description-file.
8156 (package-compute-transaction): Use package--disabled-p.
8157 (package-download-transaction): Don't call
8158 package-maybe-load-descriptor since they're all loaded anyway.
8159 (package-install): Change argument to be a pkg-desc.
8160 (package-delete): Use a single pkg-desc argument.
8161 (describe-package-1): Use package-desc-dir instead of package--dir.
8162 Use package-desc property instead of package-symbol.
8163 (package-install-button-action): Adjust accordingly.
8164 (package--push): Rewrite.
8165 (package-menu--print-info): Adjust accordingly. Change the ID format
8167 (package-menu-describe-package, package-menu-get-status)
8168 (package-menu--find-upgrades, package-menu-mark-upgrades)
8169 (package-menu-execute, package-menu--name-predicate):
8171 * startup.el (package--description-file): New function.
8172 (command-line): Use it.
8173 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8174 Use package-desc-version.
8176 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8177 (byte-compile-preprocess): Use it.
8178 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8179 can't quite recognize.
8180 (byte-compile-add-to-list): Remove.
8181 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8182 (cconv-closure-convert): Add assertion.
8184 * emacs-lisp/map-ynp.el: Use lexical-binding.
8185 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8186 Factor out some repeated code.
8188 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8190 * subr.el (with-eval-after-load): New macro.
8191 (eval-after-load): Allow form to be a function.
8192 take advantage of lexical-binding.
8193 (do-after-load-evaluation): Use dolist and adjust to new format.
8194 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8196 2013-06-13 Juri Linkov <juri@jurta.org>
8198 * replace.el (perform-replace): Display "symbol " and other search
8199 modes from `isearch-message-prefix' in the *Help* buffer.
8201 * isearch.el (isearch-query-replace): Add " symbol" and other
8202 possible search modes from `isearch-message-prefix' to the prompt.
8203 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8204 when reading a regexp to collect.
8206 2013-06-13 Juri Linkov <juri@jurta.org>
8208 * isearch.el (word-search-regexp): Match whitespace if the search
8209 string begins or ends in whitespace. The LAX arg is applied to
8210 both ends of the search string. Use `regexp-quote' and explicit
8211 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8212 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8213 boundaries are replaced with symbol boundaries, and characters
8214 between symbols match non-word non-symbol syntax. (Bug#14602)
8216 2013-06-13 Juri Linkov <juri@jurta.org>
8218 * isearch.el (isearch-del-char): Don't exceed the length of
8219 `isearch-string' by the prefix arg. (Bug#14563)
8221 2013-06-13 Juri Linkov <juri@jurta.org>
8223 * isearch.el (isearch-yank-word, isearch-yank-line)
8224 (isearch-char-by-name, isearch-quote-char)
8225 (isearch-printing-char, isearch-process-search-char):
8226 Add optional count prefix arg. (Bug#14563)
8228 * international/isearch-x.el
8229 (isearch-process-search-multibyte-characters):
8230 Add optional count prefix arg.
8232 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8234 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8235 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8238 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8240 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8242 2013-06-13 Glenn Morris <rgm@gnu.org>
8244 * startup.el (tty-handle-args):
8245 Don't just discard "--" and anything after. (Bug#14608)
8247 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8249 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8251 Implement changes in Secret Service API. Make it backward compatible.
8252 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8253 (secrets-create-item): Use it. Prefix properties with interface.
8255 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8257 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8258 (term-emulate-terminal): Respect term-suppress-hard-newline.
8260 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8262 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8263 Only remove a `thumb-file' overlay. (Bug#14548)
8265 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8267 * mail/reporter.el (reporter-submit-bug-report):
8268 Handle missing package-name. (Bug#14600)
8270 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8272 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8273 (reftex-citation-prompt, reftex-default-bibliography)
8274 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8275 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8276 (reftex-bib-sort-author, reftex-bib-sort-year)
8277 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8278 (reftex-extract-bib-entries-from-thebibliography)
8279 (reftex-get-bibkey-default, reftex-get-bib-names)
8280 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8281 (reftex-format-bib-entry, reftex-parse-bibitem)
8282 (reftex-format-bibitem, reftex-do-citation)
8283 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8284 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8285 (reftex-insert-bib-matches, reftex-format-citation)
8286 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8287 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8288 existing comments into docstrings.
8290 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8292 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8294 2013-06-12 Andreas Schwab <schwab@suse.de>
8296 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8297 for auto-save files.
8299 2013-06-12 Glenn Morris <rgm@gnu.org>
8301 * ido.el (ido-delete-ignored-files): Remove.
8302 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8303 Go back to calling ido-ignore-item-p directly.
8305 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8307 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8309 * ido.el (ido-delete-ignored-files): New function,
8310 split from ido-make-file-list-1.
8311 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8312 (ido-make-file-list-1): Use ido-delete-ignored-files.
8314 2013-06-12 Leo Liu <sdl.web@gmail.com>
8316 * progmodes/octave.el (inferior-octave-startup)
8317 (inferior-octave-completion-table)
8318 (inferior-octave-track-window-width-change)
8319 (octave-eldoc-function-signatures, octave-help)
8320 (octave-find-definition): Use single quoted strings.
8321 (inferior-octave-startup-args): Change default value.
8322 (inferior-octave-startup): Do not hard code "-i" and
8323 "--no-line-editing".
8324 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8325 (inferior-octave-directory-tracker): Use it.
8326 (octave-goto-function-definition): Robustify.
8327 (octave-help): Support highlighting operators in 'See also'.
8328 (octave-find-definition): Find subfunctions only in Octave mode.
8330 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8332 * help-fns.el (help-fns--compiler-macro): If the handler function is
8333 named, then put a link to it.
8334 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8335 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8337 (cl-eval-when): Simplify debug spec.
8338 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8339 compiler-macro function instead of setting `compiler-macro-file'.
8341 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8343 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8344 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8346 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8347 Daniel Hackney <dan@haxney.org>
8349 First part of Daniel Hackney's patch to package.el.
8350 * emacs-lisp/package.el: Use defstruct.
8351 (package-desc): New, main struct.
8352 (package--bi-desc, package--ac-desc): New structs, used to describe the
8353 format in external files.
8354 (package-desc-vers): Replace with package-desc-version accessor.
8355 (package-desc-doc): Replace with package-desc-summary accessor.
8356 (package-activate-1): Remove `package' arg since the pkg-vec now
8358 (define-package): Use package-desc-from-define.
8359 (package-unpack-single): Change file-name arg to be a symbol.
8360 (package--add-to-archive-contents): Use package-desc-create and new
8361 accessor functions to package--ac-desc.
8362 (package-buffer-info, package-tar-file-info): Return a package-desc.
8363 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8364 arg to be a package-desc.
8365 (package-install-file): Adjust accordingly. Use \' to match EOS.
8366 (package--from-builtin): New function.
8367 (describe-package-1, package-menu--generate): Use it.
8368 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8369 (package-generate-autoloads): Idem and return the name of the file.
8370 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8371 Change pkg-info arg to be a package-desc.
8372 Use package-make-ac-desc.
8373 (package-upload-file): Use \' to match EOS.
8374 * finder.el (finder-compile-keywords): Use package-make-builtin.
8376 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8378 * vc/vc.el (vc-deduce-fileset): Change error message.
8379 (vc-read-backend): New function.
8380 (vc-next-action): Use it.
8382 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8384 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8385 (prolog-font-lock-keywords): Use regexp-opt instead.
8386 Don't manually highlight strings.
8387 (prolog-mode-variables): Simplify comment-start-skip.
8388 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8390 * emacs-lisp/generic.el (generic--normalise-comments)
8391 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8392 (generic-mode-set-comments): Use them.
8393 (generic-bracket-support): Use setq-local.
8394 (generic-make-keywords-list): Declare obsolete.
8396 2013-06-11 Glenn Morris <rgm@gnu.org>
8398 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8399 Prettify after setting font-lock-defaults. (Bug#14574)
8401 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8403 * replace.el (query-replace, occur-read-regexp-defaults-function)
8405 * subr.el (declare-function, number-sequence, local-set-key)
8406 (substitute-key-definition, locate-user-emacs-file)
8407 (with-silent-modifications, split-string, eval-after-load):
8408 Fix typos, remove unneeded backslashes and reflow some docstrings.
8410 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8412 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8413 default for Elisp files.
8415 2013-06-11 Glenn Morris <rgm@gnu.org>
8417 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8418 although define-derived-mode was doing this anyway. (Bug#14583)
8420 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8422 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8423 Fix make-variable-buffer-local call to refer to the correct variable.
8425 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8427 * eshell/em-term.el (eshell-visual-commands)
8428 (eshell-visual-subcommands, eshell-visual-options):
8429 Add summary line to docstrings. Add cross-references.
8431 2013-06-10 Glenn Morris <rgm@gnu.org>
8433 * epa.el (epa-read-file-name): New function. (Bug#14510)
8434 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8436 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8438 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8439 output redirection to be ignored with visual commands.
8441 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8443 * eshell/em-term.el (eshell-visual-command-p): New function.
8444 (eshell-term-initialize): Move long lambda to separate function
8445 eshell-visual-command-p.
8446 * eshell/em-dirs.el (eshell-dirs-initialise):
8447 * eshell/em-script.el (eshell-script-initialize):
8448 Add missing #' to lambda.
8450 2013-06-08 Leo Liu <sdl.web@gmail.com>
8452 * progmodes/octave.el (octave-add-log-current-defun): New function.
8453 (octave-mode): Set add-log-current-defun-function.
8454 (octave-goto-function-definition): Do not move point if not found.
8455 (octave-find-definition): Enhance to try subfunctions first.
8457 2013-06-08 Glenn Morris <rgm@gnu.org>
8459 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8460 (byte-compile-backward-char, byte-compile-backward-word):
8461 Improve previous change, to handle non-explicit nil.
8463 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8465 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8466 (smie--opener/closer-at-point): New function.
8467 (smie--matching-block-data): Use it. Don't match from right after an
8468 opener or right before a closer. Obey smie-blink-matching-inners.
8469 Don't signal a mismatch for repeated inners like "switch..case..case".
8471 2013-06-07 Leo Liu <sdl.web@gmail.com>
8473 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8475 (octave-function-header-regexp): Fix. (Bug#14570)
8476 (octave-help-mode-finish-hook, octave-help-mode-finish):
8477 Remove. Just use temp-buffer-show-hook.
8479 * newcomment.el (comment-search-backward): Revert last change.
8482 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8484 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8486 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8487 through xargs, to avoid failure due to MS-Windows limitations on
8488 command-line length.
8490 2013-06-06 Glenn Morris <rgm@gnu.org>
8492 * font-lock.el (lisp-font-lock-keywords-2):
8493 Treat user-error like error.
8495 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8496 (byte-compile-backward-char, byte-compile-backward-word):
8497 Handle explicit nil arguments. (Bug#14565)
8499 2013-06-05 Alan Mackenzie <acm@muc.de>
8501 * isearch.el (isearch-allow-prefix): New user option.
8502 (isearch-other-meta-char): Don't exit isearch when a prefix
8503 argument is typed whilst `isearch-allow-prefix' is non-nil.
8506 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8508 * autorevert.el (auto-revert-notify-handler): Use memq.
8509 Hide assertion failure.
8511 * skeleton.el: Use cl-lib.
8512 (skeleton-further-elements): Use defvar-local.
8513 (skeleton-insert): Use cl-progv.
8515 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8517 * progmodes/prog-mode.el (prog-prettify-symbols)
8518 (prog-prettify-install): Update docstrings.
8520 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8522 * simple.el: Move all the prog-mode code to prog-mode.el.
8523 * progmodes/prog-mode.el: New file.
8524 * loadup.el: Add prog-mode.el.
8526 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8528 * simple.el (prog-prettify-symbols): Add version.
8529 (prog-prettify-install): Add convenience function to prettify symbols.
8531 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8532 (perl--augmented-font-lock-keywords-1)
8533 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8534 variables and use it.
8536 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8537 (cfengine3-mode): Remove unneeded variable and use it.
8539 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8540 (lisp--augmented-font-lock-keywords-1)
8541 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8542 Remove unneeded variables and use it.
8544 2013-06-05 João Távora <joaotavora@gmail.com>
8546 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8547 to point when opening the connection. (Bug#14380)
8549 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8551 * subr.el (load-history-regexp, load-history-filename-element)
8552 (eval-after-load, after-load-functions, do-after-load-evaluation)
8553 (eval-next-after-load, display-delayed-warnings)
8554 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8555 definition of save-match-data.
8556 (overriding-local-map): Remove accidental obsolescence declaration.
8558 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8560 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8562 Generalize symbol prettify support to prog-mode and implement it
8563 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8564 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8565 (prog--prettify-font-lock-compose-symbol)
8566 (prog-prettify-font-lock-symbols-keywords): New variables and
8567 functions to support symbol prettification.
8568 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8569 (lisp--augmented-font-lock-keywords-1)
8570 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8571 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8572 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8573 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8574 Implement prettify of -> => :: strings.
8575 * progmodes/perl-mode.el (perl-prettify-symbols)
8576 (perl--font-lock-compose-symbol)
8577 (perl--font-lock-symbols-keywords): Move to prog-mode.
8578 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8579 (perl-font-lock-keywords-1)
8580 (perl-font-lock-keywords-2): Remove explicit prettify support.
8581 (perl--augmented-font-lock-keywords)
8582 (perl--augmented-font-lock-keywords-1)
8583 (perl--augmented-font-lock-keywords-2, perl-mode):
8584 Implement prettify support.
8586 2013-06-05 Leo Liu <sdl.web@gmail.com>
8588 Re-implement smie matching block highlight using
8589 show-paren-data-function. (Bug#14395)
8590 * emacs-lisp/smie.el (smie-matching-block-highlight)
8591 (smie--highlight-matching-block-overlay)
8592 (smie--highlight-matching-block-lastpos)
8593 (smie-highlight-matching-block)
8594 (smie-highlight-matching-block-mode): Remove.
8595 (smie--matching-block-data-cache): New variable.
8596 (smie--matching-block-data): New function.
8597 (smie-setup): Use smie--matching-block-data for
8598 show-paren-data-function.
8600 * progmodes/octave.el (octave-mode-menu): Fix.
8601 (octave-find-definition): Skip garbage lines.
8603 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8605 Fix compilation error with simultaneous dynamic+lexical scoping.
8606 Add warning when a defvar appears after the first let-binding.
8607 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8608 (byte-compile-close-variables): Initialize it.
8609 (byte-compile--declare-var): New function.
8610 (byte-compile-file-form-defvar)
8611 (byte-compile-file-form-define-abbrev-table)
8612 (byte-compile-file-form-custom-declare-variable): Use it.
8613 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8614 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8615 (byte-compile-bind): Handle dynamic bindings that shadow
8617 (byte-compile-unbind): Make arg non-optional.
8618 (byte-compile-let): Simplify.
8619 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8620 (cconv--analyse-function, cconv-analyse-form): Populate it.
8621 Protect byte-compile-bound-variables to limit the scope of defvars.
8622 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8623 Remove unneeded rule for `declare'.
8625 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8626 so as to avoid depending on cl-adjoin at run-time.
8627 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8629 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8630 (macroexp--warn-and-return): Use it.
8632 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8634 * lisp/subr.el: Convert to lexical binding.
8635 (overriding-local-map): Make obsolete.
8636 (add-to-list): Doc fix. Add compiler macro.
8637 (read-key): Swap values of local maps.
8639 2013-06-05 Leo Liu <sdl.web@gmail.com>
8641 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8643 2013-06-04 Leo Liu <sdl.web@gmail.com>
8645 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8646 (compilation-auto-jump): Suppress the "Mark set" message to give
8647 way to exit message.
8649 2013-06-04 Alan Mackenzie <acm@muc.de>
8651 Remove faulty optimisation from indentation calculation.
8652 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8653 search limit based on 2000 characters back from indent-point.
8655 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8657 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8659 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8661 * emacs-lisp/lisp.el: Use lexical-binding.
8662 (lisp--local-variables-1, lisp--local-variables): New functions.
8663 (lisp--local-variables-completion-table): New var.
8664 (lisp-completion-at-point): Use it complete let-bound vars.
8666 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8667 eagerly (bug#14422).
8669 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8671 * autorevert.el (auto-revert-notify-enabled)
8672 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8673 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8674 (auto-revert-notify-handler): Handle also gfilenotify.
8676 * subr.el (file-notify-handle-event): New defun. Replacing ...
8677 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8680 2013-06-03 Juri Linkov <juri@jurta.org>
8682 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8683 `M-s h .'. (Bug#14427)
8685 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8686 command `hi-lock-face-symbol-at-point'.
8687 (hi-lock-face-symbol-at-point): New command.
8688 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8689 (hi-lock-menu): Add `highlight-symbol-at-point'.
8690 (hi-lock-mode): Doc fix.
8692 * isearch.el (isearch-forward-symbol-at-point): New command.
8693 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8694 (isearch-highlight-regexp): Add a regexp which matches
8695 words/symbols for word/symbol mode.
8697 * subr.el (find-tag-default-bounds): New function with the body
8698 mostly moved from `find-tag-default'.
8699 (find-tag-default): Move most code to `find-tag-default-bounds',
8700 call it and apply `buffer-substring-no-properties' afterwards.
8702 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8704 * eshell/em-term.el (eshell-term-initialize):
8705 Use `cl-intersection' rather than `intersection'.
8707 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8709 * vc/log-view.el: Doc fix.
8710 (log-view-mode-map): Copy keymap from `special-mode-map'.
8712 2013-06-02 Eric Ludlam <zappo@gnu.org>
8714 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8715 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8716 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8717 (eieio-unbound, eieio-default-superclass)
8718 (eieio--define-field-accessors, method-static, method-before)
8719 (method-primary, method-after, method-num-lists)
8720 (method-generic-before, method-generic-primary)
8721 (method-generic-after, method-num-slots)
8722 (eieio-specialized-key-to-generic-key)
8723 (eieio--check-type, class-v, class-p)
8724 (eieio-class-name, define-obsolete-function-alias)
8725 (eieio-class-parents-fast, eieio-class-children-fast)
8726 (same-class-fast-p, class-constructor, generic-p)
8727 (generic-primary-only-p, generic-primary-only-one-p)
8728 (class-option-assoc, class-option, eieio-object-p)
8729 (class-abstract-p, class-method-invocation-order)
8730 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8731 (eieio-class-un-autoload, eieio-defclass)
8732 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8733 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8734 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8735 (eieio-defgeneric-reset-generic-form)
8736 (eieio-defgeneric-form-primary-only)
8737 (eieio-defgeneric-reset-generic-form-primary-only)
8738 (eieio-defgeneric-form-primary-only-one)
8739 (eieio-defgeneric-reset-generic-form-primary-only-one)
8740 (eieio-unbind-method-implementations)
8741 (eieio--defmethod, eieio--typep)
8742 (eieio-perform-slot-validation, eieio-validate-slot-value)
8743 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8744 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8745 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8746 (eieio-slot-name-index, eieio-class-slot-name-index)
8747 (eieio-set-defaults, eieio-initarg-to-attribute)
8748 (eieio-attribute-to-initarg, eieio-c3-candidate)
8749 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8750 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8751 (eieio-class-precedence-list, eieio-generic-call-methodname)
8752 (eieio-generic-call-arglst, eieio-generic-call-key)
8753 (eieio-generic-call-next-method-list)
8754 (eieio-pre-method-execution-functions, eieio-generic-call)
8755 (eieio-generic-call-primary-only, eieiomt-method-list)
8756 (eieiomt-optimizing-obarray, eieiomt-install)
8757 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8758 (eieio-generic-form, eieio-defmethod, make-obsolete)
8759 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8760 (defclass): Remove `eval-and-compile' from macro.
8761 (call-next-method, shared-initialize): Instead of using
8762 `scoped-class' variable, use new eieio--scoped-class, and
8763 eieio--with-scoped-class.
8764 (initialize-instance): Rename local variable 'scoped-class' to
8765 'this-class' to remove ambiguitity from old global.
8767 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8769 (eieio--scoped-class-stack): New variable.
8770 (eieio--scoped-class): New fcn.
8771 (eieio--with-scoped-class): New scoping macro.
8772 (eieio-defclass): Use pushnew instead of add-to-list.
8773 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8774 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8775 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8776 `scoped-class' variable, use new eieio--scoped-class, and
8777 eieio--with-scoped-class.
8779 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8781 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8783 * eshell/esh-ext.el (eshell-external-command): Pass args to
8784 `eshell-find-interpreter'.
8785 (eshell-find-interpreter): Add new second parameter ARGS.
8787 * eshell/em-script.el (eshell-script-initialize): Add second arg
8788 to the function added as MATCH to `eshell-interpreter-alist'.
8790 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8791 the function added as MATCH to `eshell-interpreter-alist'.
8793 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8794 (eshell-visual-options): New defcustom.
8795 (eshell-escape-control-x): Adapt docstring.
8796 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8797 `eshell-visual-options' in addition to `eshell-visual-commands'.
8798 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8800 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8802 * progmodes/python.el (python-indent-block-enders): Add break,
8803 continue and raise keywords.
8805 2013-06-01 Glenn Morris <rgm@gnu.org>
8807 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8809 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8810 * progmodes/cc-cmds.el (delete-forward-p):
8811 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8812 * progmodes/cc-engine.el (buffer-syntactic-context):
8813 * progmodes/cc-fonts.el (face-property-instance):
8814 * progmodes/cc-mode.el (set-keymap-parents):
8815 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8816 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8817 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8818 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8819 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8821 * progmodes/cc-vars.el (other): Emacs has this widget since
8822 at least 21.1, so don't (re)define it.
8824 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8825 Replace the obsolete alias pcomplete-arg-quote-list.
8827 2013-06-01 Leo Liu <sdl.web@gmail.com>
8829 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8831 (inferior-octave-minimal-columns)
8832 (inferior-octave-last-column-width): New variables.
8833 (inferior-octave-track-window-width-change): New function.
8834 (inferior-octave-mode): Adjust column width so that Octave output,
8835 for example from 'ls', can fit into the window nicely.
8837 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8839 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8840 Highlight expansions inside regexp literals.
8842 2013-05-31 Glenn Morris <rgm@gnu.org>
8844 * obsolete/sym-comp.el (symbol-complete):
8845 Replace obsolete completion-annotate-function.
8847 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8849 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8851 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8852 New function, checks if point is inside a literal that allows
8853 expression expansion.
8854 (ruby-syntax-propertize-expansion): Use it.
8855 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8858 2013-05-30 Juri Linkov <juri@jurta.org>
8860 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8862 (isearch-invisible): New variable.
8863 (isearch-forward): Doc fix.
8864 (isearch-mode): Set `isearch-invisible'
8865 to the value of `search-invisible'.
8866 (isearch-toggle-case-fold): Doc fix.
8867 (isearch-toggle-invisible): New command.
8868 (isearch-query-replace): Let-bind `search-invisible'
8869 to the value of `isearch-invisible'.
8870 (isearch-search): Use `isearch-invisible' instead of
8871 `search-invisible'. Let-bind `search-invisible'
8872 to the value of `isearch-invisible'. (Bug#11378)
8874 2013-05-30 Juri Linkov <juri@jurta.org>
8876 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8877 call when `query-flag' is nil and `search-invisible' is non-nil.
8880 2013-05-30 Glenn Morris <rgm@gnu.org>
8882 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8884 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8885 (cc-require): Suppress spurious "noruntime" warnings.
8886 (cc-require-when-compile): Use fboundp, for sake of compiler.
8888 * progmodes/cc-mode.el: Move load of cc-vars before that of
8889 cc-langs (which in turn loads cc-vars), to quieten compiler.
8891 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8893 * paren.el: Simplify the code.
8894 (show-paren-mode): Always start the timer.
8895 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8896 (show-paren--overlay, show-paren--overlay-1): Rename from
8897 show-paren-overlay and show-paren-overlay-1, and initialize to an
8898 overlay rather than to nil.
8899 (show-paren-function): Misc cleanup and simplifications.
8901 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8903 * paren.el (show-paren-data-function): New hook.
8904 (show-paren--default): New function, extracted from show-paren-function.
8905 (show-paren-function): Use show-paren-data-function.
8907 2013-05-30 Glenn Morris <rgm@gnu.org>
8909 * ielm.el (ielm-map, ielm-complete-symbol):
8910 Use completion-at-point rather than obsolete functions.
8911 (inferior-emacs-lisp-mode): Doc fix.
8912 Set completion-at-point-functions, rather than
8913 comint-dynamic-complete-functions.
8915 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8916 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8917 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8919 * image.el (image-animated-p): Tweak definition.
8921 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8922 (rlogin-process-connection-type): Tweak default. Add set-after.
8923 (rlogin-host): Doc fix.
8924 (rlogin): Tweak prompt.
8925 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8927 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8928 * progmodes/tcl.el (inferior-tcl-mode-map):
8929 Use completion-at-point rather than obsolete alias.
8931 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8933 * minibuffer.el (read-file-name-completion-ignore-case):
8934 Move before completion--in-region, for eager macro expansion.
8936 2013-05-29 Juri Linkov <juri@jurta.org>
8938 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8939 for total count of matching lines. Add `global-matches' for total
8940 count of matches. Rename `matches' to `lines' for count of
8941 matching lines. Add `matches' for count of matches.
8942 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8943 to `prev-line' for line number of prev match endpt.
8944 Increment `matches' for every match. Print the number of
8945 matching lines in the header.
8946 (occur-context-lines): Rename `lines' to `curr-line'.
8947 Rename `prev-lines' to `prev-line'. (Bug#14017)
8949 2013-05-29 Juri Linkov <juri@jurta.org>
8951 * replace.el (perform-replace): Add `skip-read-only-count',
8952 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8953 Increment them for corresponding conditions and report the number
8954 of skipped occurrences in the final message. (Bug#11746)
8955 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8956 (replace-string, replace-regexp): Doc fix.
8958 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8960 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8962 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8963 prog-mode-map (bug#14504).
8965 2013-05-29 Leo Liu <sdl.web@gmail.com>
8967 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8968 (octave-help): Small simplification.
8970 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8971 off the highlight first.
8973 2013-05-29 Glenn Morris <rgm@gnu.org>
8975 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8976 Handle idlwave-last-system-routine-info-cons-cell being nil.
8978 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8979 (idlwave-write-paths): Simplify via with-temp-buffer.
8981 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8982 * emulation/cua-rect.el: Also load cua-base at run time.
8984 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8985 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8986 (cperl-imenu-on-info): Require imenu.
8988 2013-05-28 Alan Mackenzie <acm@muc.de>
8990 Handle "capitalised keywords" correctly.
8991 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8993 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8995 * eshell/em-unix.el: Add -r option to cp.
8997 2013-05-28 Glenn Morris <rgm@gnu.org>
8999 * vc/vc-arch.el (vc-exec-after): Declare.
9000 (vc-switches): Autoload.
9001 * vc/vc-bzr.el: No need to require vc when compiling.
9002 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9003 (vc-resynch-buffer, vc-dir-refresh): Declare.
9004 (vc-setup-buffer, vc-switches): Autoload.
9005 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9006 (vc-resynch-buffer): Declare.
9007 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9008 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9009 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9010 (grep-read-regexp, grep-read-files, grep-expand-template)
9011 (vc-dir-refresh): Declare.
9012 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9013 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9014 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9015 * vc/vc-mtn.el (vc-exec-after): Declare.
9016 (vc-switches): Autoload.
9017 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9018 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9019 (vc-file-tree-walk): Declare.
9020 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9021 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9022 (vc-tag-precondition, vc-rename-master): Autoload.
9023 * vc/vc-svn.el (vc-exec-after): Declare.
9024 (vc-switches, vc-setup-buffer): Autoload.
9025 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9027 (vc-resynch-buffer): Declare.
9029 * obsolete/fast-lock.el (byte-compile-warnings):
9030 Don't warn about obsolete features in this obsolete file.
9032 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9033 Move definition before use.
9035 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9036 (dun-unix-verbs): Remove dun-zippy.
9037 (dun-zippy): Remove function.
9039 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9041 2013-05-27 Juri Linkov <juri@jurta.org>
9043 * replace.el (replace-search): New function with code moved out
9044 from `perform-replace'.
9045 (replace-highlight, replace-dehighlight): Move function definitions
9046 up closer to `replace-search'. (Bug#11746)
9048 2013-05-27 Juri Linkov <juri@jurta.org>
9050 * replace.el (perform-replace): Ignore invisible matches.
9051 In addition to checking `query-replace-skip-read-only', also
9052 filter out matches by calling `run-hook-with-args-until-failure'
9053 on `isearch-filter-predicates', and also check `search-invisible'
9054 for t or call `isearch-range-invisible'.
9055 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9057 2013-05-27 Juri Linkov <juri@jurta.org>
9059 * isearch.el (isearch-filter-predicates): Rename from
9060 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9061 (isearch-message-prefix): Display text from the property
9062 `isearch-message-prefix' of the currently active filters.
9063 (isearch-search): Don't compare `isearch-filter-predicate' with
9064 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9065 on `isearch-filter-predicates'. Also check `search-invisible' for t
9066 or call `isearch-range-invisible'.
9067 (isearch-filter-visible): Make obsolete.
9068 (isearch-lazy-highlight-search):
9069 Call `run-hook-with-args-until-failure' on
9070 `isearch-filter-predicates' and use `isearch-range-invisible'.
9072 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9073 `isearch-filter-predicates' instead of `funcall'ing
9074 `isearch-filter-predicate'.
9075 (Info-mode): Set `Info-isearch-filter' to
9076 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9078 * dired-aux.el (dired-isearch-filter-predicate-orig):
9080 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9081 (dired-isearch-filenames-end): Add and remove
9082 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9083 instead of changing the value of `isearch-filter-predicate'.
9084 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9085 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9086 Put property `isearch-message-prefix' to "filename " on
9087 `dired-isearch-filter-filenames'.
9089 * wdired.el (wdired-change-to-wdired-mode):
9090 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9091 locally instead of changing `isearch-filter-predicate'.
9092 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9094 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9096 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9097 return the commit hash (Bug#14459). Also set the
9098 `vc-git-detached' property.
9099 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9100 (vc-git-mode-line-string): Use the same help-echo format whether
9101 in detached mode or not, because we know the actual revision now.
9102 When in detached mode, shorten the revision to 7 chars.
9104 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9106 * emacs-lisp/easy-mmode.el (define-minor-mode):
9107 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9108 mode hook and provide a docstring.
9110 2013-05-27 Alan Mackenzie <acm@muc.de>
9112 Remove spurious syntax-table text properties inserted by C-y.
9113 * progmodes/cc-mode.el (c-after-change): Also clear hard
9114 syntax-table property with value nil.
9116 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9118 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9119 when reading the events; the buffer layout shall not be changed.
9121 2013-05-27 Leo Liu <sdl.web@gmail.com>
9123 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9125 (inferior-octave-directory-tracker): Automatically re-sync
9127 (octave-help): Improve handling of 'See also'.
9129 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9131 * doc-view.el: Minor naming convention tweaks.
9132 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9134 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9135 even if there's no `display' property yet (bug#14435).
9137 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9139 * subr.el (unmsys--file-name): Rename from reveal-filename.
9141 * Makefile.in (custom-deps, finder-data, autoloads)
9142 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9143 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9144 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9146 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9148 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9149 error-completion on the first 2 args of condition-case (bug#14446).
9152 2013-05-25 Leo Liu <sdl.web@gmail.com>
9154 * comint.el (comint-previous-matching-input): Do not flood the
9155 *Messages* buffer with trivial messages.
9157 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9159 * progmodes/flymake.el (flymake-nop): Don't return a string.
9160 (flymake-set-at): Fix typo.
9162 * simple.el (read--expression): New function, extracted from
9163 eval-expression. Set completion-at-point-functions (bug#14465).
9164 (eval-expression, eval-minibuffer): Use it.
9166 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9168 * progmodes/flymake.el (flymake-save-buffer-in-file)
9169 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9170 (flymake-selected-frame, flymake-log, flymake-ins-after)
9171 (flymake-set-at, flymake-get-buildfile-from-cache)
9172 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9173 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9174 Refine the doc string.
9175 (flymake-get-file-name-mode-and-masks): Reformat.
9176 (flymake-get-real-file-name-function): Fix a minor bug.
9178 2013-05-24 Juri Linkov <juri@jurta.org>
9180 * progmodes/grep.el (grep-mode-font-lock-keywords):
9181 Support =linenumber= format used by git-grep for lines with
9182 function names. (Bug#13549)
9184 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9186 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9187 0 after a semi-colon; it works better for smie-auto-fill.
9188 (octave--indent-new-comment-line): New function.
9189 (octave-indent-new-comment-line): Use it (indirectly).
9190 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9191 modify comment-line-break-function.
9193 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9194 (smie-setup): Use add-function to set it.
9196 2013-05-24 Sam Steingold <sds@gnu.org>
9198 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9199 argument (before the `interactive' argument).
9201 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9203 * image-mode.el (image-mode-winprops): Add winprops to
9204 image-mode-winprops-alist before running
9205 image-mode-new-window-functions.
9206 * doc-view.el (doc-view-new-window-function): Don't delay
9207 doc-view-goto-page via timers (bug#14435).
9209 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9211 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9212 (doc-view-desktop-save-buffer): New function.
9213 (doc-view-restore-desktop-buffer): New function.
9214 (desktop-buffer-mode-handlers):
9215 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9217 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9218 `desktop-save-buffer' function.
9220 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9222 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9223 (tramp-gvfs-file-name-handler): Raise a user error when
9224 `tramp-gvfs-enabled' is nil.
9225 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9226 Do not raise a user error when loading package. (Bug#14447)
9228 * net/xesam.el: Move to obsolete/.
9230 2013-05-24 Glenn Morris <rgm@gnu.org>
9232 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9234 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9236 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9237 (Info-find-node, Man-getpage-in-background): Declare.
9239 * mail/unrmail.el (unrmail):
9240 Replace obsolete detect-coding-with-priority.
9242 * net/socks.el (socks-split-string): Use this rather than split-string.
9243 (socks-nslookup-host): Update for above change.
9244 (dynamic-choice, s5-dynamic-choice-match)
9245 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9246 Comment out unused code.
9248 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9249 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9250 (gud-tooltip-echo-area): Make obsolete.
9251 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9253 * progmodes/js.el (js--optimize-arglist): Declare.
9255 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9257 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9258 (ediff-window-C): Declare.
9260 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9261 Tweak requires to silence compiler.
9263 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9264 (he-search-string, he-tried-table, he-expand-list)
9265 (he-init-string, he-string-member, he-substitute-string)
9266 (he-reset-string): Declare.
9268 * obsolete/options.el (list-options): Use custom-variable-p,
9269 rather than obsolete alias.
9271 2013-05-23 Sam Steingold <sds@gnu.org>
9273 * simple.el (shell-command-on-region): Pass the `replace' argument
9274 down to `call-process-region' to comply with the doc as reported on
9275 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9277 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9279 * emacs-lisp/smie.el (smie-indent-forward-token)
9280 (smie-indent-backward-token): Handle string tokens (bug#14381).
9282 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9284 * ielm.el (ielm-menu): New menu.
9285 (inferior-emacs-lisp-mode): Set comment-start.
9287 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9289 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9290 Fix deactivate action.
9292 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9293 Add cleveref macros.
9295 * lisp/textmodes/reftex-parse.el
9296 (reftex-locate-bibliography-files): Accept options for
9297 bibliography commands.
9298 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9299 Add addbibresource. Basic Biblatex support.
9301 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9303 * net/tramp-gvfs.el (top):
9304 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9305 when loading package. (Bug#14447)
9307 2013-05-23 Glenn Morris <rgm@gnu.org>
9309 * progmodes/js.el: No need to load comint when compiling.
9310 (ring-insert, comint-send-string, comint-send-input)
9311 (comint-last-input-end, ido-chop): Declare.
9313 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9314 * vc/ediff-mult.el: Adjust requires.
9315 (ediff-directories-internal, ediff-directory-revisions-internal)
9316 (ediff-patch-file-internal): Declare.
9317 * vc/ediff-ptch.el: Adjust requires.
9318 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9319 (ediff-find-file): Autoload.
9320 * vc/ediff-util.el: No need to load ediff when compiling.
9321 (ediff-regions-internal): Declare.
9322 * vc/ediff-wind.el: Adjust requires.
9323 (ediff-compute-toolbar-width): Define when compiling.
9324 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9325 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9326 (dired-get-filename, dired-get-marked-files)
9327 (ediff-last-dir-patch, ediff-patch-default-directory)
9328 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9329 (ediff-patch-buffer-internal): Declare.
9331 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9332 (ispell-process, ispell-buffer-local-words, lm-summary)
9333 (lm-section-start, lm-section-end): Declare.
9334 (checkdoc-ispell-init): Simplify.
9336 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9337 (he-string-member, he-reset-string, he-substitute-string): Declare.
9339 * eshell/em-ls.el: Adjust requires.
9340 (eshell-glob-regexp): Declare.
9341 * eshell/em-tramp.el: Adjust requires.
9342 (eshell-parse-command): Autoload.
9343 * eshell/em-xtra.el: Adjust requires.
9344 (eshell-parse-command): Autoload.
9345 * eshell/esh-ext.el: Adjust requires.
9346 (eshell-parse-command, eshell-close-handles): Autoload.
9347 * eshell/esh-io.el: Adjust requires.
9348 (eshell-output-filter): Autoload.
9349 * eshell/esh-util.el: No need to load tramp when compiling.
9350 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9352 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9353 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9354 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9355 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9356 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9357 * eshell/esh-opt.el, eshell/esh-proc.el:
9358 * eshell/esh-var.el: Adjust requires.
9359 * eshell/eshell.el: Do not require esh-util twice.
9360 (eshell-add-input-to-history): Declare.
9361 (eshell-command): Check history module is active before using it.
9363 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9365 2013-05-22 Leo Liu <sdl.web@gmail.com>
9367 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9369 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9371 * autorevert.el (auto-revert-notify-add-watch)
9372 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9373 it indicates changes in file modification time.
9375 2013-05-22 Glenn Morris <rgm@gnu.org>
9377 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9378 Always delete the autoloaded function from the noruntime and
9379 unresolved functions lists.
9381 * allout.el: No need to load epa, epg, overlay when compiling.
9382 (epg-context-set-passphrase-callback, epg-list-keys)
9383 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9384 (epg-key-user-id-list): Declare.
9386 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9387 (viper-set-parsing-style-toggling-macro)
9388 (viper-set-emacs-state-searchstyle-macros):
9389 Use called-interactively-p on Emacs.
9390 (viper-looking-back): Make it an obsolete alias. Update callers.
9391 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9392 Use looking-back rather than viper-looking-back.
9393 (viper-tmp-insert-at-eob, viper-enlarge-region)
9394 (viper-read-string-with-history, viper-register-to-point)
9395 (viper-append-to-register, viper-change-state-to-vi)
9396 (viper-backward-char-carefully, viper-forward-char-carefully)
9397 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9398 (viper-change-state-to-emacs): Declare.
9399 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9400 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9401 * emulation/viper-mous.el: Do not load viper-cmd.
9402 (viper-backward-char-carefully, viper-forward-char-carefully)
9403 (viper-forward-word, viper-adjust-window): Declare.
9405 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9407 * progmodes/idlw-help.el (idlwave-help-fontify):
9408 Use called-interactively-p.
9410 * term/w32console.el (w32-get-console-codepage)
9411 (w32-get-console-output-codepage): Declare.
9413 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9414 Remove unnecessary declarations.
9415 (dframe-message): Doc fix.
9417 * info.el (dframe-select-attached-frame, dframe-current-frame):
9420 * speedbar.el (speedbar-message): Make it an obsolete alias.
9422 (speedbar-with-attached-buffer)
9423 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9424 (speedbar-with-writable): Use backquote.
9425 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9426 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9427 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9428 rather than speedbar- aliases.
9429 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9430 (speedbar-make-specialized-keymap, speedbar-insert-button)
9431 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9432 (speedbar-do-function-pointer): Declare.
9433 (rmail-speedbar-button, rmail-speedbar-find-file)
9434 (rmail-speedbar-move-message):
9435 Use dframe-with-attached-buffer rather than speedbar- alias.
9436 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9437 (dframe-message, speedbar-make-specialized-keymap)
9438 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9439 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9440 (speedbar-insert-button, dframe-select-attached-frame)
9441 (dframe-maybee-jump-to-attached-frame)
9442 (speedbar-change-initial-expansion-list)
9443 (speedbar-previously-used-expansion-list-name): Declare.
9444 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9445 Use dframe-message, dframe-with-attached-buffer rather than
9447 (gud-sentinel): Silence compiler.
9448 * progmodes/vhdl-mode.el (speedbar-refresh)
9449 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9450 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9451 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9452 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9453 (speedbar-file-lists, speedbar-make-tag-line)
9454 (speedbar-line-directory, speedbar-goto-this-file)
9455 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9456 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9457 (speedbar-make-button, speedbar-reset-scanners)
9458 (speedbar-files-item-info, speedbar-line-text)
9459 (speedbar-find-file-in-frame, speedbar-set-timer)
9460 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9461 (speedbar-with-writable): Do not (re)define it.
9462 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9463 rather than speedbar- alias.
9465 2013-05-21 Leo Liu <sdl.web@gmail.com>
9467 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9469 (octave-mode): Tweak fill-nobreak-predicate.
9470 (inferior-octave-startup): Check process to avoid infinite loop.
9471 (inferior-octave): Pop to buffer first to show abornmal process
9474 2013-05-21 Glenn Morris <rgm@gnu.org>
9476 * printing.el (pr-menu-bar): Define when compiling.
9478 2013-05-21 Leo Liu <sdl.web@gmail.com>
9480 * progmodes/octave.el (octave-auto-fill): Remove.
9481 (octave-indent-new-comment-line): Improve.
9482 (octave-mode): Use auto fill mode through
9483 comment-line-break-function and fill-nobreak-predicate.
9484 (octave-goto-function-definition): Support DEFUN_DLD.
9485 (octave-beginning-of-defun): Small tweak.
9486 (octave-help): Show parent directory.
9488 2013-05-21 Glenn Morris <rgm@gnu.org>
9490 * files.el (dired-unmark):
9491 * progmodes/gud.el (gdb-input): Update declarations.
9493 * calculator.el (electric, ehelp): No need to load when compiling.
9494 (Electric-command-loop, electric-describe-mode): Declare.
9496 * doc-view.el (doc-view-current-converter-processes): Move before use.
9498 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9499 Move MODE-set-explicitly definition before use.
9501 * international/mule-diag.el (mule-diag):
9502 Don't use obsolete window-system-version.
9504 * mail/feedmail.el (smtpmail): No need to load when compiling.
9505 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9507 * mail/mail-utils.el (rfc822): No need to load when compiling.
9508 (rfc822-addresses): Autoload it.
9509 (mail-strip-quoted-names): Trivial simplification.
9511 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9512 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9514 * net/snmp-mode.el (tempo): Don't duplicate requires.
9516 * progmodes/prolog.el (info): No need to load when compiling.
9517 (comint): Require before shell requires it.
9518 (Info-goto-node): Autoload it.
9519 (Info-follow-nearest-node): Declare.
9520 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9522 * textmodes/artist.el (picture-mode-exit): Declare.
9524 * textmodes/reftex-parse.el (reftex-parse-from-file):
9525 Trivial rewrite so the compiler can parse it better.
9527 2013-05-20 Leo Liu <sdl.web@gmail.com>
9529 * progmodes/octave.el (octave-help-mode-map)
9530 (octave-help-mode-finish-hook): New variables.
9531 (octave-help-mode, octave-help-mode-finish): New functions.
9532 (octave-help): Use octave-help-mode.
9534 2013-05-20 Glenn Morris <rgm@gnu.org>
9536 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9538 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9540 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9541 start at point, so that expansion starting right after opening
9542 slash in a regexp is recognized.
9543 (ruby-syntax-before-regexp-re): New defvar, extracted from
9544 ruby-syntax-propertize-function. Since the value of this regexp
9545 is looked up at runtime now, we should be able to turn
9546 `ruby-syntax-methods-before-regexp' into a defcustom later.
9547 (ruby-syntax-propertize-function): Split regexp matching into two
9548 parts, for opening and closing slashes. That allows us to skip
9549 over string interpolations and support multiline regexps.
9550 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9551 for them, which calls `ruby-syntax-propertize-expansion'.
9552 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9553 call to `ruby-syntax-propertize-function'.
9554 (ruby-syntax-propertize-expansion): Extracted from
9555 `ruby-syntax-propertize-expansions'. Handles one expansion.
9556 (ruby-syntax-propertize-percent-literal): Leave point right after
9557 the percent symbol, so that the expression expansion rule can
9558 propertize the contents.
9559 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9561 (ruby-syntax-propertize-expansions): Remove.
9563 2013-05-18 Juri Linkov <juri@jurta.org>
9565 * man.el (Man-default-man-entry): Remove `-' from the end
9566 of the default value. (Bug#14400)
9568 2013-05-18 Glenn Morris <rgm@gnu.org>
9570 * comint.el (comint-password-prompt-regexp):
9571 Allow "password for XXX" where XXX contains colons (eg https://...).
9573 2013-05-18 Leo Liu <sdl.web@gmail.com>
9575 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9576 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9577 (octave-source-directories): Don't check process.
9578 (octave-source-directories, octave-find-definition): Doc fix.
9580 2013-05-18 Glenn Morris <rgm@gnu.org>
9582 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9583 Remove backspace/delete bindings. (Bug#14392)
9585 * cus-dep.el (custom-make-dependencies): Sort the output.
9586 (custom-versions-load-alist): Convert comment to doc.
9588 2013-05-17 Leo Liu <sdl.web@gmail.com>
9590 * newcomment.el (comment-search-backward): Stricter in finding
9591 comment start. (Bug#14303)
9593 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9594 (octave-comment-start-skip): Properly anchored.
9596 2013-05-17 Leo Liu <sdl.web@gmail.com>
9598 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9599 Clean up when turned off. (Bug#14395)
9600 (smie--highlight-matching-block-overlay): No longer buffer-local.
9601 (smie-highlight-matching-block): Adjust.
9603 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9605 Doc string fix for "nanoseconds" (Bug#14406).
9606 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9607 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9609 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9611 * calc/calc-units.el (math-extract-units): Preserve powers
9614 2013-05-17 Leo Liu <sdl.web@gmail.com>
9616 * subr.el (delete-consecutive-dups): New function.
9617 * ido.el (ido-set-matches-1): Use it.
9618 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9619 * ido.el (ido-remove-consecutive-dups): Remove.
9621 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9623 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9624 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9625 regexp-opt's `words'.
9627 2013-05-16 Leo Liu <sdl.web@gmail.com>
9629 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9630 (smie--highlight-matching-block-overlay)
9631 (smie--highlight-matching-block-lastpos)
9632 (smie--highlight-matching-block-timer): New variables.
9633 (smie-highlight-matching-block): New function.
9634 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9635 (smie-setup): Conditionally enable smie-blink-matching-open.
9637 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9639 Sync with upstream verilog-mode r840.
9640 * progmodes/verilog-mode.el (verilog-mode-version)
9641 (verilog-mode-release-date): Update.
9642 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9643 (verilog-sig-tieoff): Fix string error on
9644 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9645 (verilog-read-decls): Fix parameters confusing
9646 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9648 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9650 * subr.el (reveal-filename): New function.
9652 * loadup.el: Compute Emacs executable versions on MS-Windows,
9653 where executables have the .exe extension. Add a hard link
9654 emacs-XX.YY.ZZ.exe on MS-Windows.
9656 * Makefile.in (XARGS_LIMIT): New variable.
9657 (custom-deps, finder-data, autoloads)
9658 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9659 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9660 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9661 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9663 2013-05-16 Leo Liu <sdl.web@gmail.com>
9665 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9666 (octave-mode-menu, octave-mode-map): Remove its uses.
9668 2013-05-16 Reto Zimmermann <reto@gnu.org>
9670 Sync with upstream vhdl mode v3.34.2.
9671 * progmodes/vhdl-mode.el: Use `push' throughout.
9672 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9673 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9674 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9675 (vhdl-actual-generic-name): New option to derive actual generic name.
9676 (vhdl-port-paste-signals): Replace formal by actual generics.
9677 (vhdl-beautify): New name for old group vhdl-align. Update users.
9678 (vhdl-beautify-options): New option.
9679 (vhdl-last-input-event): New compat alias. Use throughout.
9680 (vhdl-goto-line): Replace user level function `goto-line'.
9681 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9682 vhdl-fix-statement-buffer.
9683 (vhdl-create-mode-menu): Add some entries.
9684 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9685 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9686 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9687 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9688 to force statements on one line.
9689 (vhdl-remove-trailing-spaces-region):
9690 New, split from vhdl-remove-trailing-spaces.
9691 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9692 Respect vhdl-beautify-options.
9693 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9694 (vhdl-update-sensitivity-list): Not add with index if exists without.
9695 Not include array index with signal. Ignore keywords in comments.
9696 (vhdl-get-visible-signals): Regexp tweaks.
9697 (vhdl-template-component-inst): Handle empty library.
9698 (vhdl-template-type): Add template for 'enum' type.
9699 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9700 Use vhdl-replace-string.
9701 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9702 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9703 (vhdl-speedbar-initialize): Update for above name change.
9704 (vhdl-compose-wire-components): Fix in handling of constants.
9705 (vhdl-error-regexp-emacs-alist): New variable.
9706 (vhdl-error-regexp-add-emacs): New function;
9707 adds support for new compile.el (Emacs 22+)
9708 (vhdl-generate-makefile-1): Change target order for single lib. units.
9709 Allow use of absolute file names.
9711 2013-05-16 Leo Liu <sdl.web@gmail.com>
9713 * simple.el (prog-indent-sexp): Indent enclosing defun.
9715 2013-05-15 Glenn Morris <rgm@gnu.org>
9717 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9718 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9719 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9720 (whitespace-highlight): Move to whitespace group.
9722 * comint.el (comint-source):
9723 * pcmpl-linux.el (pcmpl-linux):
9724 * shell.el (shell-faces):
9725 * eshell/esh-opt.el (eshell-opt):
9726 * international/ccl.el (ccl): Remove empty custom groups.
9728 * completion.el (dynamic-completion-mode):
9729 * jit-lock.el (jit-lock-debug-mode):
9730 * minibuffer.el (completion-in-region-mode):
9731 * type-break.el (type-break-mode-line-message-mode)
9732 (type-break-query-mode):
9733 * emulation/tpu-edt.el (tpu-edt-mode):
9734 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9735 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9736 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9738 * term/xterm.el (xterm): Change parent group to terminals.
9740 * master.el (master): Remove empty custom group.
9741 (master-mode): Remove unused :group argument.
9742 * textmodes/refill.el (refill): Remove empty custom group.
9743 (refill-mode): Remove unused :group argument.
9745 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9747 * cus-dep.el: Provide a feature.
9748 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9749 Don't mistakenly ignore files whose basenames match a basename
9750 from preloaded-file-list (eg cedet/ede/simple.el).
9751 Add a fallback method for getting :group.
9753 2013-05-15 Juri Linkov <juri@jurta.org>
9755 * isearch.el (isearch-char-by-name): Rename from
9756 `isearch-insert-char-by-name'. Doc fix.
9757 (isearch-forward): Mention `isearch-char-by-name' in
9758 the docstring. (Bug#13348)
9760 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9761 `exit-minibuffer' instead of
9762 `isearch-nonincremental-exit-minibuffer'.
9763 (isearch-edit-string): Remove mention of
9764 `isearch-nonincremental-exit-minibuffer' from docstring.
9765 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9766 (isearch-forward-exit-minibuffer)
9767 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9769 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9771 * loadup.el: Just use unversioned DOC.
9773 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9774 literals as extending to EOB.
9775 (nxml-last-fontify-end): Remove unused variable.
9776 (nxml-after-change1): Use with-silent-modifications.
9777 (nxml-extend-after-change-region): Simplify.
9778 (nxml-extend-after-change-region1): Remove function.
9779 (nxml-after-change1): Don't adjust for dependent regions.
9780 (nxml-fontify-matcher): Simplify.
9781 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9782 (xmltok-add-dependent): Remove function.
9783 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9784 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9785 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9786 unclosed <[[, <?, comment, and other literals as extending to EOB.
9787 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9788 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9790 (rng-do-some-validation-1): Don't mark dependent regions.
9791 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9792 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9793 (nxml-clear-dependent-regions): Remove functions.
9794 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9795 (nxml-ensure-scan-up-to-date):
9796 Don't clear&mark dependent regions.
9798 2013-05-15 Leo Liu <sdl.web@gmail.com>
9800 * progmodes/octave.el (octave-goto-function-definition):
9801 Improve and fix callers.
9803 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9805 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9806 the setter (bug#14387).
9808 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9809 surrounding group (bug#14402).
9811 2013-05-14 Juri Linkov <juri@jurta.org>
9813 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9816 2013-05-14 Glenn Morris <rgm@gnu.org>
9818 * progmodes/f90.el (f90-imenu-generic-expression):
9819 Fix typo in 2013-05-08 change. (Bug#14402)
9821 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9823 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9824 Remove signals for which replies are never received.
9826 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9828 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9829 (gdb-handler-alist, gdb-handler-number): Remove variables.
9830 (gdb-handler-list): New variable.
9831 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9832 (gdb-pending-handler-p, gdb-handle-reply)
9833 (gdb-remove-all-pending-triggers): New functions.
9834 (gdb-discard-unordered-replies): New defcustom.
9835 (gdb-handler): New defstruct.
9836 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9837 instead of gdb-pending-triggers. Update docstring.
9838 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9839 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9840 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9841 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9842 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9843 (gdb-frame-handler): Pending triggers are now automatically managed.
9844 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9846 (gdb-input): Automatically handles pending triggers. Update docstring.
9847 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9848 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9850 (gdb-done-or-error): Now use gdb-handle-reply.
9852 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9854 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9857 2013-05-14 Glenn Morris <rgm@gnu.org>
9859 * subr.el (user-emacs-directory-warning): New option.
9860 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9862 2013-05-14 Leo Liu <sdl.web@gmail.com>
9864 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9866 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9867 (octave-font-lock-texinfo-comment): Fix invalid search bound
9868 error: wrong side of point.
9870 2013-05-14 Glenn Morris <rgm@gnu.org>
9872 * progmodes/flymake.el (flymake-xml-program): New option.
9873 (flymake-xml-init): Use it.
9875 * term/xterm.el: Provide a feature.
9877 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9879 2013-05-13 Glenn Morris <rgm@gnu.org>
9881 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9882 Add compat aliases as a hack workaround. (Bug#14384)
9884 2013-05-13 Leo Liu <sdl.web@gmail.com>
9886 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9888 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9890 (octave-comment-start-skip): Include %!.
9891 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9893 2013-05-12 Leo Liu <sdl.web@gmail.com>
9895 * progmodes/octave.el (inferior-octave-startup): Store the value
9896 of __octave_srcdir__ for octave-source-directories.
9897 (inferior-octave-check-process): New function refactored out of
9898 inferior-octave-send-list-and-digest.
9899 (octave-source-directories)
9900 (octave-find-definition-filename-function): New variables.
9901 (octave-source-directories)
9902 (octave-find-definition-default-filename): New functions.
9903 (octave-find-definition): Improve to find functions implemented in C++.
9905 2013-05-12 Glenn Morris <rgm@gnu.org>
9907 * calendar/diary-lib.el (diary-outlook-format-1):
9908 Don't include dayname in the output. (Bug#14349)
9910 2013-05-11 Glenn Morris <rgm@gnu.org>
9912 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9914 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9915 Treat cc-provide like provide.
9917 2013-05-11 Kevin Ryde <user42@zip.com.au>
9919 * cus-dep.el (custom-make-dependencies):
9920 Use generated-autoload-load-name for the sake of files such
9921 such cedet/semantic/bovine/c.el, where the base file name
9922 is not in load-path. (Bug#5277)
9924 2013-05-11 Glenn Morris <rgm@gnu.org>
9926 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9929 2013-05-11 Leo Liu <sdl.web@gmail.com>
9931 * progmodes/octave.el (octave-indent-comment): Improve.
9932 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9933 (octave-eldoc-function-signatures, octave-eldoc-function):
9935 (octave-mode, inferior-octave-mode): Add eldoc support.
9937 2013-05-11 Richard Stallman <rms@gnu.org>
9939 * epa.el (epa-decrypt-file): Take output file name as argument
9940 and read it using `interactive'.
9942 2013-05-11 Leo Liu <sdl.web@gmail.com>
9944 * progmodes/octave.el (octave-beginning-of-line)
9945 (octave-end-of-line): Check before using up-list because it jumps
9946 out of more syntactic contructs since moving to smie.
9947 (octave-indent-comment): New function.
9948 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9949 (octave-begin-keywords, octave-end-keywords)
9950 (octave-reserved-words, octave-smie-bnf-table)
9951 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9953 2013-05-11 Glenn Morris <rgm@gnu.org>
9955 * faces.el (internal-face-x-get-resource):
9956 * frame.el (ns-display-monitor-attributes-list):
9957 * calc/calc-aent.el (math-to-radians-2):
9958 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9961 * calc/calc-menu.el: Make it loadable in isolation.
9963 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9964 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9965 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9966 (eudc-bbdb-query-internal): Require 'bbdb.
9968 * lpr.el (lpr-headers-switches):
9969 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9971 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9973 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9975 * term.el (term-set-escape-char): Make it idempotent.
9977 2013-05-10 Leo Liu <sdl.web@gmail.com>
9979 * progmodes/octave.el (inferior-octave-completion-table):
9980 No longer a function and all uses changed. Use cache to speed up
9981 completion due to bug#11906.
9982 (octave-beginning-of-defun): Re-write to be more general.
9984 2013-05-10 Glenn Morris <rgm@gnu.org>
9986 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9988 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9990 * comint.el (comint-redirect-send-command-to-process): Use :around
9991 rather than :override for comint-redirect-filter.
9992 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9993 Call it instead of comint-redirect-original-filter-function (which
9994 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9996 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9998 * frame.el (display-monitor-attributes-list): Add NS case.
9999 (ns-display-monitor-attributes-list): Declare.
10001 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10003 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10005 2013-05-09 Glenn Morris <rgm@gnu.org>
10007 * international/fontset.el (vertical-centering-font-regexp):
10008 Set standard-value.
10010 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10012 * bookmark.el (bookmark-search-delay):
10013 * cus-start.el (vertical-centering-font-regexp):
10014 * ps-mule.el (ps-mule-font-info-database-default):
10015 * ps-print.el (ps-default-fg, ps-default-bg):
10016 * type-break.el (type-break-good-break-interval):
10017 * whitespace.el (whitespace-indentation-regexp)
10018 (whitespace-space-after-tab-regexp):
10019 * emacs-lisp/testcover.el (testcover-1value-functions)
10020 (testcover-noreturn-functions, testcover-progn-functions)
10021 (testcover-prog1-functions):
10022 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10023 * eshell/em-glob.el (eshell-glob-translate-alist):
10024 * play/tetris.el (tetris-tty-colors):
10025 * progmodes/cpp.el (cpp-face-default-list):
10026 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10027 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10028 (idlwave-help-browser-generic-args):
10029 * progmodes/make-mode.el (makefile-special-targets-list):
10030 * progmodes/python.el (python-shell-virtualenv-path):
10031 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10032 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10033 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10034 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10035 * textmodes/reftex-vars.el (reftex-format-label-function):
10036 * textmodes/remember.el (remember-diary-file): Fix custom types.
10038 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10041 2013-05-09 Leo Liu <sdl.web@gmail.com>
10043 * progmodes/octave.el (inferior-octave-completion-at-point):
10044 Restore file completion. (Bug#14300)
10045 (inferior-octave-startup): Fix incorrect highlighting for the
10048 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10050 * progmodes/ruby-mode.el: First cut at SMIE support.
10051 (ruby-use-smie): New var.
10052 (ruby-smie-grammar): New constant.
10053 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10054 (ruby-smie--forward-token, ruby-smie--backward-token)
10055 (ruby-smie-rules): New functions.
10056 (ruby-mode-variables): Setup SMIE if applicable.
10058 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10060 * simple.el (line-move-visual): Signal beginning/end of buffer
10061 only if vertical-motion moved less than it was requested. Avoids
10062 silly incorrect error messages when there are display strings with
10063 multiple newlines at EOL.
10065 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10067 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10068 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10069 (prolog-char-quote-workaround):
10070 * progmodes/cperl-mode.el (cperl-under-as-char):
10071 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10073 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10075 (vhdl-mode-syntax-table-init): Remove.
10077 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10080 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10082 (ld-script-font-lock-keywords):
10083 Change regexps to use things like \_< and \_>.
10085 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10086 Change all regexps to use things like \_< and \_>.
10088 * progmodes/autoconf.el (autoconf-definition-regexp)
10089 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10090 Handle a _ with symbol syntax.
10091 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10093 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10094 Consolidate declaration.
10095 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10097 (ada-create-syntax-table): Remove.
10098 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10099 already has the right syntax nowadays.
10100 (ada-goto-next-word): Don't change the syntax of "_".
10102 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10105 2013-05-08 Sam Steingold <sds@gnu.org>
10107 * thingatpt.el (thing-at-point): Accept optional second argument
10108 NO-PROPERTIES to strip the text properties from the return value.
10109 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10110 to `thing-at-point' instead of stripping the properties ourselves.
10111 Also, when `thing-at-point' fails to find a url, prepend "http://"
10112 to the filename at point on the assumption that the user is
10113 pointing at something like gnu.org/gnu.
10115 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10117 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10118 * faces.el (crm-separator):
10119 Silence byte-compiler.
10121 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10122 (tool-bar-map): Remove unneeded defvars.
10124 2013-05-08 Leo Liu <sdl.web@gmail.com>
10126 Re-work a fix for bug#10994 based on Le Wang's patch.
10127 * ido.el (ido-remove-consecutive-dups): New helper.
10128 (ido-completing-read): Use it.
10129 (ido-chop): Revert fix for bug#10994.
10131 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10133 * cus-edit.el (custom-save-variables):
10134 Pretty-print long values. (Bug#14187)
10136 2013-05-08 Glenn Morris <rgm@gnu.org>
10138 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10139 (m4-mode-syntax-table): Init in the defvar.
10140 (m4-mode-abbrev-table): Let define-derived-mode define it.
10142 2013-05-08 Tom Tromey <tromey@redhat.com>
10144 * progmodes/m4-mode.el (m4-mode-syntax-table):
10145 Do not treat "_" as word constituent. (Bug#14167)
10147 2013-05-07 Glenn Morris <rgm@gnu.org>
10149 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10150 Remove explicit eshell-isearch-cancel-map.
10152 * progmodes/f90.el (f90-smart-end-names): New option.
10153 (f90-smart-end): Doc fix.
10154 (f90-end-block-optional-name): New constant.
10155 (f90-block-match): Respect f90-smart-end-names.
10157 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10159 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10160 about implicit semi-colons (bug#14218).
10162 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10164 * frame.el (display-monitor-attributes-list)
10165 (frame-monitor-attributes): New functions.
10167 2013-05-06 Leo Liu <sdl.web@gmail.com>
10169 * progmodes/octave.el (octave-syntax-propertize-function): Change
10170 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10171 (octave-font-lock-keywords): Use octave-operator-regexp.
10172 (octave-completion-at-point): Rename from
10173 octave-completion-at-point-function.
10174 (inferior-octave-directory-tracker): Robustify.
10175 (octave-text-functions): Remove and fix its uses. No such things
10178 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10180 * emacs-lisp/trace.el (trace--display-buffer): New function.
10181 (trace-make-advice): Use it.
10183 2013-05-06 Juri Linkov <juri@jurta.org>
10185 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10186 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10188 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10189 in the help string. (Bug#12985)
10191 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10193 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10195 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10197 * progmodes/perl-mode.el: Add support for here documents.
10198 (perl-syntax-propertize-function): Match here-doc markers.
10199 (perl-syntax-propertize-special-constructs): Find their end.
10200 (perl-imenu-generic-expression): Use [:alnum:].
10202 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10203 (advice--add-function): Refresh the advice if already present
10206 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10208 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10210 2013-05-06 Glenn Morris <rgm@gnu.org>
10212 * w32-fns.el (w32-charset-info-alist): Declare.
10214 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10215 of its defcustom properties.
10216 (eshell-cmpl-initialize): No need to load pcomplete.
10218 * generic-x.el: No need to require comint when compiling.
10220 * net/eudc-export.el: Make it loadable without bbdb.
10221 (top-level): Use require rather than load-library.
10222 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10223 (eudc-batch-export-records-to-bbdb)
10224 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10227 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10229 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10230 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10231 some tweaks, instead.
10233 2013-05-05 Leo Liu <sdl.web@gmail.com>
10235 * progmodes/octave.el (octave-font-lock-keywords)
10236 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10237 (inferior-octave-send-list-and-digest): Improve error message.
10238 (octave-mode, inferior-octave-mode): Use setq-local.
10239 (octave-help): Set info-lookup-mode.
10241 2013-05-05 Richard Stallman <rms@gnu.org>
10243 * vc/compare-w.el (compare-windows-whitespace):
10244 Treat no-break space as whitespace.
10246 * mail/rmailsum.el (rmail-summary-rmail-update):
10247 Detect empty summary and don't change selected message.
10248 (rmail-summary-goto-msg): Likewise.
10250 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10251 Doc fixes, rename args.
10253 2013-05-05 Alan Mackenzie <acm@muc.de>
10255 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10257 2013-05-05 Juri Linkov <juri@jurta.org>
10259 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10260 to not add the length of the summary segment to the return value.
10263 2013-05-05 Leo Liu <sdl.web@gmail.com>
10265 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10266 (inferior-octave-output-filter): Remove.
10267 (octave-send-region, inferior-octave-startup): Fix callers.
10268 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10269 (octave-binary-file-extensions): New user variable.
10270 (octave-find-definition): Confirm if opening binary files.
10271 (octave-help-file): Use octave-find-definition to get the binary
10273 (octave-help): Adjust for octave-help-file change.
10275 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10277 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10278 Merge the two entries that handle function definitions.
10279 (pascal--syntax-propertize): New const.
10280 (pascal-mode): Use it. Use setq-local.
10282 2013-05-04 Glenn Morris <rgm@gnu.org>
10284 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10285 (diary-from-outlook): Respect diary-from-outlook-function.
10287 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10289 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10290 Move the declaration from C.
10291 (read-minibuffer, eval-minibuffer): Move from C.
10292 (completion-setup-function): Avoid minibuffer-completion-contents.
10294 2013-05-03 Leo Liu <sdl.web@gmail.com>
10296 * progmodes/octave.el (octave-font-lock-keywords): Do not
10297 dehighlight 'end' in comments or strings.
10298 (octave-completing-read, octave-goto-function-definition):
10300 (octave-help-buffer): New user variable.
10301 (octave-help-file, octave-help-function): New button types.
10302 (octave-help): New command and bind it to C-h ;.
10303 (octave-find-definition): New command and bind it to M-.
10304 (user-error): Alias to error if not defined.
10306 2013-05-02 Leo Liu <sdl.web@gmail.com>
10308 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10310 (octave-font-lock-keywords): Include [ and {.
10312 2013-05-02 Leo Liu <sdl.web@gmail.com>
10314 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10315 (inferior-octave): Remove calling comint-mode and return the buffer.
10316 (inferior-octave-startup): Cosmetic changes.
10318 2013-05-02 Leo Liu <sdl.web@gmail.com>
10320 * progmodes/octave.el (octave-syntax-propertize-function):
10321 Include the case when ' is at line beginning. (Bug#14336)
10323 2013-05-02 Glenn Morris <rgm@gnu.org>
10325 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10326 * desktop.el (vc-dir-mode): Just autoload it here.
10328 2013-05-02 Alan Mackenzie <acm@muc.de>
10330 Eliminate variable c-standard-font-lock-fontify-region-function.
10331 * progmodes/cc-mode.el
10332 (c-standard-font-lock-fontify-region-function): Remove.
10333 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10335 2013-05-01 Leo Liu <sdl.web@gmail.com>
10337 * progmodes/octave.el: Compatible with older emacs-24 releases.
10338 (inferior-octave-has-built-in-variables): Remove. Built-in
10339 variables were removed from Octave in 2007.
10340 (inferior-octave-startup): Fix uses.
10341 (comint-line-beginning-position): Remove compatibility code for
10344 2013-05-01 Juri Linkov <juri@jurta.org>
10346 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10348 2013-05-01 Juri Linkov <juri@jurta.org>
10350 * comint.el (comint-previous-matching-input): Don't print message
10351 "History item: %d" when `isearch-mode' is active.
10352 (comint-history-isearch-message): Print message "History item: %d"
10353 when `comint-input-ring-index' is not empty and this function is
10354 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10356 2013-05-01 Leo Liu <sdl.web@gmail.com>
10358 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10359 definitions. Use completion-at-point to insert keywords.
10360 (octave-abbrev-start): Remove.
10361 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10363 2013-04-30 Leo Liu <sdl.web@gmail.com>
10365 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10368 2013-04-30 Alan Mackenzie <acm@muc.de>
10370 Handle arbitrarily long C++ member initialisation lists.
10371 * progmodes/cc-engine.el (c-back-over-member-initializers):
10373 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10374 (most) member init lists.
10376 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10378 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10381 2013-04-30 Leo Liu <sdl.web@gmail.com>
10383 * progmodes/octave.el (octave-variables): Remove. No builtin
10384 variables any more. All converted to functions.
10385 (octave-font-lock-keywords, octave-completion-at-point-function):
10387 (octave-font-lock-texinfo-comment): New user variable.
10388 (octave-texinfo-font-lock-keywords): New variable for texinfo
10390 (octave-function-comment-block): New face.
10391 (octave-font-lock-texinfo-comment): New function.
10392 (octave-mode): Font lock texinfo comment block.
10394 2013-04-29 Leo Liu <sdl.web@gmail.com>
10396 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10397 indexing expression.
10398 (octave-continuation-string): Do not use \.
10399 (inferior-octave-complete-impossible): Remove.
10400 (inferior-octave-completion-table)
10401 (inferior-octave-completion-at-point): Remove its uses.
10402 (inferior-octave-startup): completion_matches was introduced to
10403 Octave in 1996 so safe to assume it.
10404 (octave-function-file-comment): Improve to follow how Octave does it.
10405 (octave-update-function-file-comment): Tweak.
10407 2013-04-29 Leo Liu <sdl.web@gmail.com>
10409 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10410 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10411 (octave-function-file-comment): Fix typo.
10412 (octave-sync-function-file-names): Use read-char-choice.
10414 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10416 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10417 to t for the less important warnings.
10419 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10421 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10423 2013-04-27 Glenn Morris <rgm@gnu.org>
10425 * vc/log-view.el (log-view-current-entry):
10426 Treat "---" separator lines as part of the following rev. (Bug#14169)
10428 2013-04-27 Juri Linkov <juri@jurta.org>
10430 * subr.el (read-number): Doc fix about using it by interactive
10431 code letter `n'. (Bug#14254)
10433 2013-04-27 Juri Linkov <juri@jurta.org>
10435 * desktop.el (desktop-auto-save-timeout): New option.
10436 (desktop-file-checksum): New variable.
10437 (desktop-save): Add optional arg `auto-save' and don't auto-save
10438 if nothing changed.
10439 (desktop-auto-save-timer): New variable.
10440 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10441 (after-init-hook): Call `desktop-auto-save-set-timer'.
10442 Suggested by Reuben Thomas <rrt@sc3d.org> in
10443 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10445 2013-04-27 Leo Liu <sdl.web@gmail.com>
10447 * progmodes/octave.el (octave-function-file-p)
10448 (octave-skip-comment-forward, octave-function-file-comment)
10449 (octave-update-function-file-comment): New functions.
10450 (octave-mode-map): Bind C-c ; to
10451 octave-update-function-file-comment.
10452 (octave-mode-menu): Add octave-update-function-file-comment.
10453 (octave-mode, inferior-octave-mode): Fix doc-string.
10454 (octave-insert-defun): Conform to Octave's coding convention.
10457 * files.el (basic-save-buffer): Don't let errors in
10458 before-save-hook prevent saving buffer.
10460 2013-04-20 Roland Winkler <winkler@gnu.org>
10462 * faces.el (read-face-name): Use completing-read if arg multiple
10465 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10467 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10468 displayed, move point to after the totals line.
10469 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10472 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10474 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10475 Add current dir to the load-path.
10476 (package-generate-autoloads): Don't rely on
10477 autoload-ensure-default-file.
10479 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10481 * textmodes/remember.el (remember-store-in-files): Document that
10482 the file name format is passed to `format-time-string'.
10484 2013-04-26 Leo Liu <sdl.web@gmail.com>
10486 * progmodes/octave.el (octave-sync-function-file-names): New function.
10487 (octave-mode): Use it in before-save-hook.
10489 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10491 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10494 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10495 \n and comment, even if it's not an implicit ; (bug#14218).
10497 2013-04-26 Glenn Morris <rgm@gnu.org>
10499 * subr.el (read-number): Once more use `read' rather than
10500 `string-to-number', to trap non-numeric input. (Bug#14254)
10502 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10504 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10505 Use `syntax-multiline' text property consistently instead of
10506 `font-lock-multiline'. (Bug#14237)
10508 2013-04-26 Glenn Morris <rgm@gnu.org>
10510 * emacs-lisp/shadow.el (list-load-path-shadows):
10511 No longer necessary to check for duplicate simple.el, since
10512 2012-07-07 change to init_lread to not include installation lisp
10513 directories in load-path when running uninstalled. (Bug#14270)
10515 2013-04-26 Leo Liu <sdl.web@gmail.com>
10517 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10518 (octave-mode, inferior-octave-mode): Use setq-local.
10519 (octave-not-in-string-or-comment-p): Rename to
10520 octave-in-string-or-comment-p.
10521 (octave-in-comment-p, octave-in-string-p)
10522 (octave-in-string-or-comment-p): Replace defsubst with defun.
10524 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10526 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10528 2013-04-25 Bastien Guerry <bzg@gnu.org>
10530 * textmodes/remember.el (remember-data-directory)
10531 (remember-directory-file-name-format): Fix custom types.
10533 2013-04-25 Leo Liu <sdl.web@gmail.com>
10535 * progmodes/octave.el (octave-completion-at-point-function):
10536 Make use of inferior octave process.
10537 (octave-initialize-completions): Remove.
10538 (inferior-octave-completion-table): New function.
10539 (inferior-octave-completion-at-point): Use it.
10540 (octave-completion-alist): Remove.
10542 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10544 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10545 (opascal-mode-syntax-table): New var.
10546 (opascal-literal-kind, opascal-is-literal-end)
10547 (opascal-literal-token-at): Rewrite.
10548 (opascal--literal-start-re, opascal-font-lock-keywords)
10549 (opascal--syntax-propertize): New constants.
10550 (opascal-font-lock-defaults): Adjust.
10551 (opascal-mode): Use them. Set comment-<foo> variables as well.
10552 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10553 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10554 (delphi-other-face, opascal-other-face): Remove face variables.
10555 (opascal-save-state): Remove macro.
10556 (opascal-fontifying-progress-step): Remove constant.
10557 (opascal--ignore-changes): Remove var.
10558 (opascal-set-token-property, opascal-parse-next-literal)
10559 (opascal-is-stable-literal, opascal-complete-literal)
10560 (opascal-is-literal-start, opascal-face-of)
10561 (opascal-parse-region, opascal-parse-region-until-stable)
10562 (opascal-fontify-region, opascal-after-change)
10563 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10564 (opascal-debug-parse-region, opascal-debug-parse-window)
10565 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10566 (opascal-debug-fontify-buffer): Remove.
10567 (opascal-debug-mode-map): Adjust accordingly.
10569 2013-04-25 Leo Liu <sdl.web@gmail.com>
10571 Merge octave-mod.el and octave-inf.el into octave.el with some
10573 * progmodes/octave.el: New file renamed from octave-mod.el.
10574 * progmodes/octave-inf.el: Merged into octave.el.
10575 * progmodes/octave-mod.el: Renamed to octave.el.
10577 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10579 * textmodes/reftex-vars.el
10580 (reftex-label-ignored-macros-and-environments): New defcustom.
10582 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10584 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10586 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10587 (smie-indent-keyword): Improve the check to ensure that the next
10588 comment is really on the same line.
10589 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10591 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10592 semi-colons if the line is not otherwise empty (bug#14218).
10594 2013-04-25 Glenn Morris <rgm@gnu.org>
10596 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10598 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10600 * progmodes/opascal.el (opascal-set-token-property): Rename from
10601 opascal-set-text-properties and only set `token' (bug#14134).
10602 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10603 (opascal-literal-text-properties): Remove.
10604 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10607 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10609 * textmodes/remember.el (remember-handler-functions): Add an
10610 option for a new handler `remember-store-in-files'.
10611 (remember-data-directory, remember-directory-file-name-format):
10613 (remember-store-in-files): New function to store remember notes
10614 as separate files within a directory.
10616 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10618 * progmodes/compile.el (compilation-next-error-function):
10619 Pass "formats" to compilation-find-file (bug#11777).
10621 2013-04-24 Glenn Morris <rgm@gnu.org>
10623 * vc/vc-bzr.el (vc-bzr-print-log):
10624 * vc/vc-hg.el (vc-hg-print-log):
10625 * vc/vc-svn.el (vc-svn-print-log):
10626 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10628 * vc/vc-bzr.el (vc-bzr-print-log):
10629 * vc/vc-cvs.el (vc-cvs-print-log):
10630 * vc/vc-git.el (vc-git-print-log):
10631 * vc/vc-hg.el (vc-hg-print-log):
10632 * vc/vc-mtn.el (vc-mtn-print-log):
10633 * vc/vc-rcs.el (vc-rcs-print-log):
10634 * vc/vc-sccs.el (vc-sccs-print-log):
10635 * vc/vc-svn.el (vc-svn-print-log):
10636 * vc/vc.el (vc-print-log-internal): Doc fixes.
10638 2013-04-23 Glenn Morris <rgm@gnu.org>
10640 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10641 Remove venerable code attempting to avoid substitute-command-keys.
10643 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10645 * textmodes/reftex-vars.el (reftex-label-regexps):
10646 Call `reftex-compile-variables' after changes to this variable.
10648 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10650 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10651 Use lexical-binding.
10652 (jit-lock-force-redisplay): Use markers, check buffer's continued
10653 existence and beware narrowed buffers.
10654 (jit-lock-fontify-now): Adjust call accordingly.
10656 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10658 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10659 to avoid misleading the user.
10661 2013-04-22 Leo Liu <sdl.web@gmail.com>
10663 * info-look.el: Prefer latex2e.info. (Bug#14240)
10665 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10667 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10669 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10670 * net/tramp.el (tramp-call-process): ... here.
10671 (tramp-set-completion-function, tramp-parse-putty):
10672 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10673 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10674 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10675 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10676 (tramp-call-local-coding-command): Use `tramp-call-process'
10677 instead of `tramp-compat-call-process'.
10679 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10680 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10681 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10682 (tramp-find-inline-compress): Improve traces.
10683 (tramp-maybe-send-script): Check for Perl binary.
10684 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10686 2013-04-22 Daiki Ueno <ueno@gnu.org>
10688 * epg.el (epg-context-pinentry-mode): New function.
10689 (epg-context-set-pinentry-mode): New function.
10690 (epg--start): Pass --pinentry-mode option to gpg command.
10692 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10694 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10695 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10696 `completion-at-point'. (Bug#13774)
10698 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10699 default key binding for `describe-distribution' has been moved to
10700 `C-h C-o'. (Bug#13970)
10702 2013-04-21 Glenn Morris <rgm@gnu.org>
10704 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10706 (vc-print-log): Clarify interactive prompt.
10708 2013-04-20 Glenn Morris <rgm@gnu.org>
10710 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10711 No longer include timestamp etc information.
10713 2013-04-20 Roland Winkler <winkler@gnu.org>
10715 * faces.el (read-face-name): Bug fix, return just one face if arg
10716 multiple is nil. (Bug#14209)
10718 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10720 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10721 (remove-function): Autoload.
10723 * comint.el (comint-redirect-original-filter-function): Remove.
10724 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10725 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10726 (vc-cvs-annotate-command):
10727 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10728 * progmodes/prolog.el (prolog-consult-compile):
10729 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10730 Use add/remove-function instead.
10731 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10732 (gud-tooltip-process-output, gud-tooltip-tips):
10733 Use add/remove-function instead.
10734 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10735 (scheme-interaction-mode, exit-scheme-interaction-mode):
10736 Use add/remove-function instead.
10738 * vc/vc-dispatcher.el: Use lexical-binding.
10739 (vc--process-sentinel): Rename from vc-process-sentinel.
10740 Change last arg to be the code to run. Don't use vc-previous-sentinel
10741 and vc-sentinel-commands any more.
10742 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10743 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10745 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10747 * progmodes/sh-script.el (sh-imenu-generic-expression):
10748 Handle function names with a single character. (Bug#14111)
10750 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10752 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10753 for subroutines defined in an eval (bug#14182).
10755 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10757 * bookmark.el (bookmark-completing-read): Improve handling of empty
10758 string (bug#14176).
10760 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10762 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10764 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10766 New faster Imenu implementation (bug#14058).
10767 * progmodes/python.el:
10768 (python-imenu-prev-index-position):
10769 (python-imenu-format-item-label-function)
10770 (python-imenu-format-parent-item-label-function)
10771 (python-imenu-format-parent-item-jump-label-function):
10773 (python-imenu-format-item-label)
10774 (python-imenu-format-parent-item-label)
10775 (python-imenu-format-parent-item-jump-label)
10776 (python-imenu--put-parent, python-imenu--build-tree)
10777 (python-imenu-create-index, python-imenu-create-flat-index)
10778 (python-util-popn): New functions.
10779 (python-mode): Set imenu-create-index-function to
10780 python-imenu-create-index.
10782 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10784 * winner.el (winner-active-region): Use region-active-p, activate-mark
10785 and deactivate-mark (bug#14225).
10787 * simple.el (deactivate-mark): Don't inline it.
10789 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10791 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10793 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10795 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10796 file extensions from the archive-mode entry in order to prefer
10797 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10799 2013-04-18 Leo Liu <sdl.web@gmail.com>
10801 * bindings.el (help-event-list): Add ?\?.
10803 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10805 * subr.el (with-wrapper-hook): Declare obsolete.
10806 * simple.el (filter-buffer-substring-function): New hook.
10807 (filter-buffer-substring): Use it.
10808 (filter-buffer-substring-functions): Mark obsolete.
10809 * minibuffer.el (completion-in-region-function): New hook.
10810 (completion-in-region): Use it.
10811 (completion-in-region-functions): Mark obsolete.
10812 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10813 * abbrev.el (abbrev-expand-function): New hook.
10814 (expand-abbrev): Use it.
10815 (abbrev-expand-functions): Mark obsolete.
10816 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10817 and :filter-return.
10819 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10821 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10822 and do not care about match data.
10824 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10826 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10827 completion tables when completing error conditions and
10828 `declare' arguments.
10829 (lisp-complete-symbol, field-complete): Mark as obsolete.
10830 (check-parens): Unmatched parens are user errors.
10831 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10833 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10835 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10836 command changed buffer (ie. `flyspell-pre-buffer' is not current
10837 buffer), which prevents making decisions based on invalid value of
10838 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10839 cause an error when `flyspell-pre-point' was nil after switching
10841 (flyspell-post-command-hook): No longer needs to change buffers when
10842 checking pre-word. While at it remove unnecessary progn.
10844 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10846 * textmodes/ispell.el (ispell-add-per-file-word-list):
10847 Fix `flyspell-correct-word-before-point' error when accepting
10848 words and `coment-padding' is an integer by using
10849 `comment-normalize-vars' (Bug #14214).
10851 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10853 New defun movement commands.
10854 * progmodes/python.el (python-nav--syntactically)
10855 (python-nav--forward-defun, python-nav-backward-defun)
10856 (python-nav-forward-defun): New functions.
10858 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10860 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10861 (python-syntax-context): Use named compiler-macro for backwards
10862 compatibility with Emacs 24.x.
10864 2013-04-17 Leo Liu <sdl.web@gmail.com>
10866 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10867 octave-hide-process-buffer.
10869 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10871 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10874 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10876 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10877 Fix adjustment of offset when receiving incomplete responses from GDB
10880 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10882 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10883 python-mode-abbrev-table.
10884 (python-skeleton-define): Adjust accordingly.
10885 (python-mode-abbrev-table): New table that inherits from it so that
10886 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10888 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10889 (abbrev-symbol): Use it.
10890 (abbrev--before-point): Use it since we already handle inheritance.
10892 2013-04-16 Leo Liu <sdl.web@gmail.com>
10894 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10895 binding to info-lookup-symbol.
10897 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10899 * minibuffer.el (completion--twq-all):
10900 * term/ns-win.el (ns-initialize-window-system):
10901 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10903 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10905 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10908 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10910 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10912 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10913 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10915 (ruby-end-of-defun): Remove the unused arg, change the docstring
10916 to reflect that this function is only used as the value of
10917 `end-of-defun-function'.
10918 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10919 to reflect an earlier change that beginning/end-of-defun functions
10920 jump between methods in a class definition, as well as top-level
10923 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10925 * minibuffer.el (minibuffer-complete): Don't just scroll
10926 a *Completions* that's been iconified.
10927 (minibuffer-force-complete): Make sure repetitions do cycle when going
10928 through completion-in-region -> minibuffer-complete.
10930 2013-04-15 Alan Mackenzie <acm@muc.de>
10932 Correct the placement of c-cpp-delimiters when there're #s not at
10935 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10936 place a submatch around the #.
10937 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10938 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10941 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10943 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10944 (advice--member-p): New arg `name'.
10945 (advice--add-function, advice-member-p): Use it (bug#14202).
10947 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10949 Reformulate java imenu-generic-expression.
10950 The old expression contained ill formed regexps.
10952 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10953 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10954 (cc-imenu-java-method-arg-regexp): New defconsts.
10955 (cc-imenu-java-build-type-args-regex): New defun.
10956 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10957 handling of spaces in the regexp.
10959 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10961 * textmodes/ispell.el (ispell-command-loop): Remove
10962 flyspell highlight of a word when ispell accepts it (bug #14178).
10964 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10966 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10967 uses code from the previous `ange-ftp-run-real-handler'.
10968 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10969 only in case that function exist. This is needed for proper
10970 unloading of Tramp.
10972 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10974 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10976 * textmodes/reftex.el (reftex-compile-variables): Use it.
10978 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10980 * files.el (normal-mode): Only use default major-mode if no other mode
10983 * emacs-lisp/trace.el (trace-values): New function.
10985 * files.el: Allow : in local variables (bug#14089).
10986 (hack-local-variable-regexp): New var.
10987 (hack-local-variables-prop-line, hack-local-variables): Use it.
10989 2013-04-13 Roland Winkler <winkler@gnu.org>
10991 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10992 data before it gets modified by bibtex-beginning-of-entry.
10994 2013-04-13 Roland Winkler <winkler@gnu.org>
10996 * textmodes/bibtex.el (bibtex-url): Doc fix.
10998 2013-04-13 Roland Winkler <winkler@gnu.org>
11000 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11001 does not visit a BibTeX file, exclude it from the list of buffers
11002 returned by bibtex-initialize.
11004 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11006 * window.el (split-window): Remove interactive form, since as a
11007 command this function is a special case of split-window-below.
11008 Correct doc string.
11010 2013-04-12 Roland Winkler <winkler@gnu.org>
11012 * faces.el (read-face-name): Do not override value of arg default.
11013 Allow single faces and strings as default values. Remove those
11014 elements from return value that are not faces.
11015 (describe-face): Simplify.
11016 (face-at-point): New optional args thing and multiple so that this
11017 function can provide the same functionality previously provided by
11019 (make-face-bold, make-face-unbold, make-face-italic)
11020 (make-face-unitalic, make-face-bold-italic, invert-face)
11021 (modify-face, read-face-and-attribute): Use face-at-point.
11023 * cus-edit.el (customize-face, customize-face-other-window)
11024 * cus-theme.el (custom-theme-add-face)
11025 * face-remap.el (buffer-face-set)
11026 * facemenu.el (facemenu-set-face): Use face-at-point.
11028 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11030 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11032 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11034 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11035 off leading { and trailing } from field values.
11037 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11039 * emacs-lisp/timer.el (timer--check): New function.
11040 (timer--time, timer-set-function, timer-event-handler): Use it.
11041 (timer-set-idle-time): Simplify.
11042 (timer--activate): CSE.
11043 (timer-event-handler): Give more info in error message.
11044 (internal-timer-start-idle): New function, moved from C.
11046 * mpc.el (mpc-proc): Add `restart' argument.
11047 (mpc-proc-cmd): Use it.
11048 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11049 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11052 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11054 * progmodes/sh-script.el: Implement `sh-mode' own
11055 `add-log-current-defun-function' (bug#14112).
11056 (sh-current-defun-name): New function.
11057 (sh-mode): Use the function.
11059 2013-04-09 Bastien Guerry <bzg@gnu.org>
11061 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11063 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11065 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11067 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11070 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11072 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11075 2013-04-07 Leo Liu <sdl.web@gmail.com>
11077 * pcmpl-x.el: New file.
11079 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11081 Do not set x-display-name until X connection is established.
11082 This is needed to prevent from weird situation described at
11083 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11084 * frame.el (make-frame): Set x-display-name after call to
11085 window system initialization function, not before.
11086 * term/x-win.el (x-initialize-window-system): Add optional
11087 display argument and use it.
11088 * term/w32-win.el (w32-initialize-window-system):
11089 * term/ns-win.el (ns-initialize-window-system):
11090 * term/pc-win.el (msdos-initialize-window-system):
11091 Add compatible optional display argument.
11093 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11095 * files.el (normal-backup-enable-predicate): On MS-Windows and
11096 MS-DOS compare truenames of temporary-file-directory and of the
11097 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11098 don't fail comparison by compare-strings. Also, compare file
11099 names case-insensitively on MS-Windows and MS-DOS.
11101 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11103 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11104 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11106 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11108 * whitespace.el (whitespace-color-on, whitespace-color-off):
11109 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11111 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11113 * ispell.el (ispell-set-spellchecker-params):
11114 Really set `ispell-args' for all equivs.
11116 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11118 * ido.el (ido-completions): Use extra elements of ido-decorations
11120 (ido-decorations): Update docstring.
11122 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11124 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11125 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11126 nil during initialization, in order not to miss changes since the
11127 file was opened. (Bug#14140)
11129 2013-04-05 Leo Liu <sdl.web@gmail.com>
11131 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11133 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11135 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11137 2013-04-04 Glenn Morris <rgm@gnu.org>
11139 * electric.el (electric-pair-inhibit-predicate): Add :version.
11141 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11143 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11144 when a package is required several times (bug#14082).
11146 2013-04-04 Roland Winkler <winkler@gnu.org>
11148 * faces.el (read-face-name): Behave as promised by the docstring.
11149 Assume that arg default is a list of faces.
11150 (describe-face): Call read-face-name with list of default faces.
11152 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11154 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11155 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11156 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11158 (bookmark-exit-hook-internal): Save even if list is empty.
11160 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11162 * emacs-lisp/package.el (package-pinned-packages): New var.
11163 (package--add-to-archive-contents): Obey it (bug#14118).
11165 2013-04-03 Alan Mackenzie <acm@muc.de>
11167 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11168 Also adapt to the new values of element 7 of a parse state.
11170 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11171 parameter `not-in-delimiter'. Handle being inside comment opener.
11172 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11173 character in case we're typing a '*' after a '/'.
11174 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11175 instead by passing the parameter to c-state-pp-to-literal.
11177 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11178 for elt. 7 of a parse state.
11180 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11182 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11183 * international/latin1-disp.el, international/mule-util.el:
11184 * language/cyril-util.el, language/european.el, language/ind-util.el:
11185 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11186 * language/tibetan.el, language/viet-util.el:
11187 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11189 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11191 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11192 (electric-pair-post-self-insert-function): Use it.
11193 (electric-pair-default-inhibit): New function, extracted from
11194 electric-pair-post-self-insert-function.
11196 2013-03-31 Roland Winkler <winkler@gnu.org>
11198 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11200 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11202 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11204 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11206 Un-indent after "pass" and "return" statements (Bug#13888)
11207 * progmodes/python.el (python-indent-block-enders): New var.
11208 (python-indent-calculate-indentation): Use it.
11210 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11212 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11213 defun. Defining it as defalias could introduce too eager
11214 byte-compiler optimization. (Bug#14030)
11216 2013-03-30 Chong Yidong <cyd@gnu.org>
11218 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11220 2013-03-30 Leo Liu <sdl.web@gmail.com>
11222 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11223 (kmacro-execute-from-register): Pass the keyboard macro to
11224 kmacro-call-macro or repeating won't work correctly.
11226 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11228 * progmodes/subword.el: Back to using `forward-symbol'.
11230 * subr.el (forward-whitespace, forward-symbol)
11231 (forward-same-syntax): Move from thingatpt.el.
11233 2013-03-29 Leo Liu <sdl.web@gmail.com>
11235 * kmacro.el (kmacro-to-register): New command.
11236 (kmacro-execute-from-register): New function.
11237 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11239 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11241 * mpc.el: Use defvar-local and setq-local.
11242 (mpc--proc-connect): Connection failures are not bugs.
11243 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11244 (mpc-volume-map): Bind to the up-events.
11246 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11248 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11249 instead of `forward-symbol'.
11251 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11253 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11254 (edebug--recursive-edit): Use it.
11255 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11256 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11258 2013-03-28 Leo Liu <sdl.web@gmail.com>
11260 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11262 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11264 * facemenu.el (list-colors-callback): New defvar.
11265 (list-colors-redisplay): New function.
11266 (list-colors-display): Install list-colors-redisplay as the
11267 revert-buffer-function. (Bug#14063)
11269 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11271 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11272 and suffixes don't overlap (bug#14061).
11274 * case-table.el: Use lexical-binding.
11275 (case-table-get-table): New function.
11276 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11278 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11280 * progmodes/subword.el: Add `superword-mode' to do word motion
11281 over symbol_words (parallels and leverages `subword-mode' which
11282 does word motion inside MixedCaseWords).
11284 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11286 * eshell/em-unix.el: Move su and sudo to...
11287 * eshell/em-tramp.el: ...Eshell tramp module.
11289 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11291 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11292 Change return value to be a sexp. Delay `get-buffer' to after
11293 restoring the desktop (bug#13951).
11295 2013-03-26 Leo Liu <sdl.web@gmail.com>
11297 * register.el: Move semantic tag handling back to
11298 cedet/semantic/senator.el. (Bug#14052)
11300 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11302 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11303 into the prompt either (bug#13963).
11305 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11307 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11308 part of "(error-foo)".
11310 2013-03-24 Juri Linkov <juri@jurta.org>
11312 * replace.el (list-matching-lines-prefix-face): New defcustom.
11313 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11314 `occur-engine' if `face-differs-from-default-p' returns t.
11315 (occur-engine): Add `,' inside backquote construct to evaluate
11316 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11317 Pass `prefix-face' to the functions `occur-context-lines' and
11318 `occur-engine-add-prefix'.
11319 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11320 `prefix-face' and propertize the prefix with `prefix-face'.
11323 2013-03-24 Leo Liu <sdl.web@gmail.com>
11325 * nxml/rng-valid.el (rng-validate-while-idle)
11326 (rng-validate-quick-while-idle): Guard against deleted buffer.
11329 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11330 is the last entry in kill-buffer-hook.
11332 * files.el (kill-buffer-hook): Doc fix.
11334 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11336 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11337 Make it safe-local.
11339 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11341 2013-03-23 Leo Liu <sdl.web@gmail.com>
11343 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11346 * nxml/rng-valid.el (rng-validate-mode)
11347 (rng-after-change-function, rng-do-some-validation):
11348 * nxml/rng-maint.el (rng-validate-buffer):
11349 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11350 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11351 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11352 (nxml-extend-after-change-region): Use with-silent-modifications.
11354 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11357 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11358 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11359 timer-idle-list. (Bug#13999)
11361 2013-03-23 Juri Linkov <juri@jurta.org>
11363 * info.el (info-index-match): New face.
11364 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11365 main pattern and add text properties with the new face to matches
11366 in index entries relative to the beginning of the index entry.
11369 2013-03-21 Eric Ludlam <zappo@gnu.org>
11371 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11372 Inhibit read only while inserting objects.
11374 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11376 * progmodes/cfengine.el: Update docs to mention
11377 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11378 symbol motion. Remove "_" from the word syntax.
11380 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11382 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11383 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11385 2013-03-20 Juri Linkov <juri@jurta.org>
11387 * info.el (Info-next-reference-or-link)
11388 (Info-prev-reference-or-link): New functions.
11389 (Info-next-reference, Info-prev-reference): Use them.
11390 (Info-try-follow-nearest-node): Handle footnote navigation.
11391 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11393 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11395 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11396 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11398 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11400 Suppress unnecessary non-ASCII chatter during build process.
11401 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11402 (batch-skkdic-convert): Suppress most of the chatter.
11403 It's not needed so much now that machines are faster,
11404 and its non-ASCII component was confusing; see Dmitry Gutov in
11405 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11407 2013-03-20 Leo Liu <sdl.web@gmail.com>
11409 * ido.el (ido-chop): Fix bug#10994.
11411 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11413 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11415 (whitespace-color-on, whitespace-color-off):
11416 Use `font-lock-fontify-buffer' (Bug#13817).
11418 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11420 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11421 remapping in mode-line.
11422 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11424 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11426 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11427 value for `whitespace-line' face (Bug#13875).
11428 (whitespace-font-lock-keywords): Change description.
11429 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11430 the constructed keywords instead.
11431 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11433 2013-03-19 Leo Liu <sdl.web@gmail.com>
11435 * progmodes/compile.el (compilation-display-error): New command.
11436 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11439 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11441 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11443 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11445 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11447 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11449 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11451 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11452 * net/tramp-gvfs.el (top):
11453 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11454 (tramp-handle-shell-command): Use it.
11455 (tramp-dissect-file-name): Raise an error when hostname is a
11456 method name, and neither method nor user is specified.
11458 * net/trampver.el: Update release number.
11460 2013-03-18 Leo Liu <sdl.web@gmail.com>
11462 Make sure eldoc can be turned off properly.
11463 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11465 (eldoc-display-message-p): Revert last change.
11466 (eldoc-display-message-no-interference-p)
11467 (eldoc-print-current-symbol-info): Tweak.
11469 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11471 * doc-view.el (doc-view-new-window-function): Check the new window
11472 overlay's display property instead the char property of the
11473 buffer's first char. Use `with-selected-window' instead of
11474 `save-window-excursion' with `select-window'.
11475 (doc-view-document->bitmap): Check the current doc-view overlay's
11476 display property instead the char property of the buffer's first char.
11478 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11480 Automate the build of ja-dic.el (Bug#13984).
11481 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11482 from the input, rather than assume that it's been done for us by the
11483 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11484 the current date into a ja-dic.el comment, as that complicates
11485 regression testing.
11487 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11489 * whitespace.el: Fix double evaluation.
11490 (whitespace-space, whitespace-hspace, whitespace-tab)
11491 (whitespace-newline, whitespace-trailing, whitespace-line)
11492 (whitespace-space-before-tab, whitespace-indentation)
11493 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11495 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11496 (whitespace-color-on): Use a single font-lock-add-keywords call.
11497 Fix double-evaluation of face variables.
11499 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11501 * net/tramp-adb.el (tramp-adb-parse-device-names):
11502 Use `start-process' instead of `call-process'. Otherwise, the
11503 function might be blocked under MS Windows. (Bug#13299)
11505 2013-03-17 Leo Liu <sdl.web@gmail.com>
11507 Extend eldoc to display info in the mode-line. (Bug#13978)
11508 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11509 (eldoc-mode-line-string): New variable.
11510 (eldoc-minibuffer-message): New function.
11511 (eldoc-message-function): New variable.
11512 (eldoc-message): Use it.
11513 (eldoc-display-message-p)
11514 (eldoc-display-message-no-interference-p):
11515 Support eldoc-post-insert-mode.
11517 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11518 (eval-expression): Run it.
11520 2013-03-17 Roland Winkler <winkler@gnu.org>
11522 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11523 strings in the list of return values.
11525 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11527 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11528 radix before checking for HMS forms.
11530 2013-03-16 Leo Liu <sdl.web@gmail.com>
11532 * progmodes/scheme.el: Add indentation and font-locking for λ.
11535 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11537 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11538 token before point (bug#13942).
11540 2013-03-16 Leo Liu <sdl.web@gmail.com>
11542 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11544 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11546 * startup.el (command-line-normalize-file-name): Fix handling of
11547 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11548 <xfq.free@gmail.com> in
11549 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11551 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11553 Sync with Tramp 2.2.7.
11555 * net/trampver.el: Update release number.
11557 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11559 * doc-view.el: Fix bug#13887.
11560 (doc-view-insert-image): Don't modify overlay associated to
11561 non-live windows, and implement horizontal centering of image in
11562 case it's smaller than the window.
11563 (doc-view-new-window-function): Force redisplay of new windows on
11566 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11568 * saveplace.el (save-place-alist-to-file): Don't sort
11569 `save-place-alist', just pretty-print it (bug#13882).
11571 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11573 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11574 Check whether `default-file-name-coding-system' is bound.
11575 It isn't in XEmacs.
11577 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11579 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11580 backquotes for `obsolete' (bug#13929).
11582 * international/mule.el (find-auto-coding): Include file name in
11583 obsolescence warning (bug#13922).
11585 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11587 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11588 for CFEngine 3-specific indentation.
11589 (cfengine3-indent-line): Use it. Fix up category regex.
11590 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11592 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11594 * type-break.el (type-break-file-name):
11595 * textmodes/remember.el (remember-data-file):
11596 * strokes.el (strokes-file):
11597 * shadowfile.el (shadow-initialize):
11598 * saveplace.el (save-place-file):
11599 * ps-bdf.el (bdf-cache-file):
11600 * progmodes/idlwave.el (idlwave-config-directory):
11601 * net/quickurl.el (quickurl-url-file):
11602 * international/kkc.el (kkc-init-file-name):
11603 * ido.el (ido-save-directory-list-file):
11604 * emulation/viper.el (viper-custom-file-name):
11605 * emulation/vip.el (vip-startup-file):
11606 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11607 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11609 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11611 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11612 * language/thai-word.el: Switch to UTF-8.
11614 See ChangeLog.16 for earlier changes.
11616 ;; Local Variables:
11620 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11622 This file is part of GNU Emacs.
11624 GNU Emacs is free software: you can redistribute it and/or modify
11625 it under the terms of the GNU General Public License as published by
11626 the Free Software Foundation, either version 3 of the License, or
11627 (at your option) any later version.
11629 GNU Emacs is distributed in the hope that it will be useful,
11630 but WITHOUT ANY WARRANTY; without even the implied warranty of
11631 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11632 GNU General Public License for more details.
11634 You should have received a copy of the GNU General Public License
11635 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.