1 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3 * progmodes/python.el: Use lexical-binding.
4 (python-nav-beginning-of-defun): Stop searching ASAP.
6 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
8 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
9 Fix interactive spec. Doc fix. (Bug#15754)
11 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
13 * emacs-lisp/byte-run.el (eval-when-compile):
14 * progmodes/cc-defs.el (cc-eval-when-compile):
15 Fix edebug spec (bug#16184).
17 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
19 * net/shr.el (shr-visit-file): Remove debugging function.
20 (shr-insert): Don't infloop if we can't find a good place to break
23 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
25 * progmodes/python.el:
26 (python-nav--lisp-forward-sexp): New function.
27 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
28 python-nav-lisp-forward-sexp-safe.
29 (python-nav--forward-sexp): New argument SAFE allows switching
30 forward sexp movement behavior for parens.
31 (python-nav-forward-sexp): Throw errors on unterminated parens
33 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
34 (python-nav-backward-sexp-safe): New functions.
35 (python-shell-buffer-substring): Use
36 `python-nav-forward-sexp-safe'.
38 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
40 * net/shr.el (shr-find-fill-point): Don't break lines before a
42 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
43 (shr-find-fill-point): Remove the special checks for the quotation
44 mark, since `shr-char-kinsoku-bol-p' should now return the right
47 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
49 * net/eww.el (eww-form-textarea): Use a different face for
50 textareas than text input since they have different keymaps
53 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
55 * progmodes/python.el (python-nav-beginning-of-statement): Speed
58 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
60 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
61 the window configuration.
63 2013-12-24 Eli Zaretskii <eliz@gnu.org>
65 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
66 we run on MS-Windows or MS-DOS.
68 2013-12-24 Martin Rudalics <rudalics@gmx.at>
70 * window.el (balance-windows-area): Call window-size instead of
71 window-height and window-width. Bug#16241.
73 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
75 * net/eww.el (eww-bookmark-quit): Remove.
76 (eww-bookmark-browse): Restore the window configuration when you
77 choose a bookmark (bug#16144).
79 2013-12-24 Daniel Colascione <dancol@dancol.org>
81 * icomplete.el: Remove redundant :group arguments to `defcustom'
83 (icomplete-show-matches-on-no-input): New customizable variable.
84 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
85 we have something to show.
86 (icomplete-exhibit): Compute completions even if we have no user
89 2013-12-23 Daniel Colascione <dancol@dancol.org>
91 * icomplete.el: Move `provide' to end of file.
93 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
95 * net/gnutls.el (gnutls-verify-error): Add version tag.
97 2013-12-23 Chong Yidong <cyd@gnu.org>
99 * subr.el (set-transient-map): Rename from
100 set-temporary-overlay-map. Doc fix.
102 * face-remap.el (text-scale-adjust):
103 * indent.el (indent-rigidly):
104 * kmacro.el (kmacro-call-macro):
105 * minibuffer.el (minibuffer-force-complete):
106 * repeat.el (repeat):
107 * simple.el (universal-argument--mode):
108 * calendar/todo-mode.el (todo-insert-item--next-param):
109 * progmodes/f90.el (f90-abbrev-start): Callers changed.
111 * indent.el (indent-rigidly): Use substitute-command-keys.
113 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
115 * net/eww.el (eww-tag-select): Add text-property to jump to next
117 (eww) : Add non-supported ftp error.
119 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
121 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
122 comments. Handle electric indent after typing `?' and `!'.
124 2013-12-22 Chong Yidong <cyd@gnu.org>
126 * faces.el (face-spec-recalc): If the theme specs are not
127 applicable to a frame, fall back on the defface spec. This
128 prevents themes from obliterating faces on low-color terminals.
130 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
132 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
133 after `{'. We need it after block openers, and it doesn't seem
134 to hurt after hash openers.
136 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
138 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
139 extracted from `ruby-smie-rules'.
140 (ruby--electric-indent-chars): New variable.
141 (ruby--electric-indent-p): New function.
142 (ruby-mode): Use `electric-indent-functions' instead of
143 `electric-indent-chars'.
145 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
147 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
149 (ruby-smie-rules): Indent plus one level after `=>'.
151 2013-12-21 Richard Stallman <rms@gnu.org>
153 * simple.el (newline): Doc fix.
155 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
157 * net/eww.el (eww-list-histories, eww-list-histories)
158 (eww-history-browse, eww-history-quit, eww-history-kill)
159 (eww-history-mode-map, eww-history-mode): New command and
160 functions to list browser histories.
161 (eww-form-text): Support text form with disabled
162 and readonly attributes.
163 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
165 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
167 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
168 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
169 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
170 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
172 (eww-bookmark-mode-map): Add menu.
173 (eww-render, eww-mode): Use `setq-local'.
174 (eww-tool-bar-map): New variable.
175 (eww-mode): Set `tool-bar-map'.
176 (eww-view-source): Check for `html-mode' with `fboundp'.
178 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
180 * net/shr.el (shr--extract-best-source): Don't bug out on audio
181 elements with text inside. Also remove debugging.
183 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
185 * cus-start.el (all): Add ns-use-srgb-colorspace.
187 2013-12-21 Chong Yidong <cyd@gnu.org>
189 * custom.el (custom-theme-recalc-face): Do nothing if the face is
190 undefined. Thus, theme settings for undefined faces do not take
191 effect until the faces are defined with defface, the same as with
194 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
195 (face-spec-reset-face): Don't assign extra properties in temacs.
196 (face-spec-recalc): Apply X resources too.
198 2013-12-21 Chong Yidong <cyd@gnu.org>
200 * faces.el (face-spec-set):
201 * cus-face.el (custom-theme-set-faces, custom-set-faces):
202 * custom.el (defface): Doc fixes (Bug#16203).
204 * indent.el (indent-rigidly-map): Add docstring, and move commands
205 into named functions.
206 (indent-rigidly-left, indent-rigidly-right)
207 (indent-rigidly-left-to-tab-stop)
208 (indent-rigidly-right-to-tab-stop): New functions. Decide on
209 indentation direction based on bidi direction, and accumulate
210 sequential commands in a single undo boundary.
211 (indent-rigidly--pop-undo): New utility function.
213 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
215 * faces.el (read-face-name): Require crm.el when using crm-separator.
217 2013-12-20 Daniel Colascione <dancol@dancol.org>
219 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
220 so that we don't reflow comments into the shebang line.
222 2013-12-20 Juri Linkov <juri@jurta.org>
224 * saveplace.el (save-place-to-alist): Add `dired-filename' as
225 a position when `dired-directory' is non-nil. Check integer
226 positions with `integerp'.
227 (toggle-save-place, save-places-to-alist): Add check for
229 (save-place-find-file-hook): Check integer positions with
231 (save-place-dired-hook): Use `dired-goto-file' when
232 `dired-filename' is found in the assoc list. Check integer
233 positions with `integerp'.
234 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
236 * dired.el (dired-initial-position-hook): Rename back from
237 `dired-initial-point-hook'.
238 (dired-initial-position): Rename `dired-initial-point-hook' to
239 `dired-initial-position-hook'.
240 (dired-file-name-at-point): Doc fix. (Bug#15329)
242 2013-12-20 Juri Linkov <juri@jurta.org>
244 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
245 (read-regexp-suggestions): New function.
246 (read-regexp): Use `read-regexp-defaults-function' to get default values.
247 Use `read-regexp-suggestions'. Add non-empty default to history
249 (occur-read-regexp-defaults-function): Remove function.
250 (occur-read-primary-args): Use `regexp-history-last' instead of
251 `occur-read-regexp-defaults-function'.
253 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
254 (hi-lock-line-face-buffer, hi-lock-face-buffer)
255 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
256 `hi-lock-read-regexp-defaults-function'. Doc fix.
257 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
258 with `find-tag-default-as-symbol-regexp'. Doc fix.
259 (hi-lock-read-regexp-defaults): Remove function.
260 (hi-lock-regexp-okay): Add check for null.
262 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
263 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
265 * subr.el (find-tag-default-as-symbol-regexp): New function.
266 (find-tag-default-as-regexp): Move symbol regexp formatting to
267 `find-tag-default-as-symbol-regexp'.
269 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
271 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
274 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
276 * calendar/todo-mode.el: New implementation of item insertion
277 commands and key bindings.
278 (todo-key-prompt): New face.
279 (todo-insert-item): New command.
280 (todo-insert-item--parameters): New defconst, replacing defvar
281 todo-insertion-commands-args-genlist.
282 (todo-insert-item--param-key-alist): New defconst, replacing
283 defvar todo-insertion-commands-arg-key-list.
284 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
285 (todo-insert-item--argsleft, todo-insert-item--apply-args)
286 (todo-insert-item--next-param): New functions.
287 (todo-insert-item--args, todo-insert-item--argleft)
288 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
290 (todo-key-bindings-t): Change binding of "i" from
291 todo-insertion-map to todo-insert-item.
292 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
293 (todo-insertion-command-name, todo-insertion-commands-names)
294 (todo-define-insertion-command, todo-insertion-commands)
295 (todo-insertion-key-bindings, todo-insertion-map): Remove.
297 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
299 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
300 (todo-toggle-item-highlighting): Use eval-and-compile instead of
302 (todo-move-category): Allow choosing a non-existing todo file to
303 move the category to, and create that file.
304 (todo-default-priority): New user option.
305 (todo-set-item-priority): Use it.
306 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
307 (desktop-restore-file-buffer): Declare.
308 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
309 (todo-modes-set-2): Locally set desktop-save-buffer to
310 todo-desktop-save-buffer.
311 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
312 (auto-mode-alist): Add autoload cookie.
314 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
316 * emacs-lisp/subr-x.el: Renamed from helpers.el.
317 helpers.el was a poor choice of name.
318 (string-remove-prefix): New function.
319 (string-remove-suffix): New function.
321 2013-12-20 Martin Rudalics <rudalics@gmx.at>
323 Fix assignment for new window total sizes.
324 * window.el (window--pixel-to-size): Remove function.
325 (window--pixel-to-total-1, window--pixel-to-total):
326 Fix calculation of new total sizes.
328 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
330 * comint.el (comint-output-filter): Fix rear-nonsticky property
331 placement (Bug#16010).
333 2013-12-20 Chong Yidong <cyd@gnu.org>
335 * faces.el (read-color): Minor fix for completion function.
337 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
339 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
340 New option. (Bug#16182)
341 (ruby-smie--indent-to-stmt-p): Use it.
342 (ruby-smie-rules): Revert the logic in the handling of `when'.
343 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
344 (ruby-deep-arglist, ruby-deep-indent-paren)
345 (ruby-deep-indent-paren-style): Update docstrings to note that the
346 vars don't have any effect with SMIE.
348 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
350 * calc/calc.el (calc-enter, calc-pop): Use the variable
351 `calc-context-sensitive-enter'.
353 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
355 * net/shr.el (shr-insert): Protect against infloops in degenerate
358 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
360 * progmodes/octave.el (octave): Add link to manual and octave
362 (octave-mode-menu): Link to octave-mode manual.
364 2013-12-20 Leo Liu <sdl.web@gmail.com>
366 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
367 insertion using skeleton-end-newline. (Bug#16138)
369 2013-12-20 Juri Linkov <juri@jurta.org>
371 * replace.el (occur-engine): Use `add-face-text-property'
372 to add the face property to matches and titles. (Bug#14645)
374 * hi-lock.el (hi-green): Use lighter color "light green" closer to
375 the palette of other hi-lock colors.
376 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
378 2013-12-19 Juri Linkov <juri@jurta.org>
380 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
381 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
382 (minibuffer-history-symbol): Move variable declaration closer to
385 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
388 2013-12-19 Juri Linkov <juri@jurta.org>
390 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
392 (log-edit-hook): Add it to :options. (Bug#16170)
394 2013-12-19 Juri Linkov <juri@jurta.org>
396 * simple.el (eval-expression-print-format): Don't check for
397 command names and the last command. Always display additional
398 formats of the integer result in the echo area, and insert them
399 to the current buffer only with a zero prefix arg.
400 Display character when char-displayable-p is non-nil.
401 (eval-expression): With a zero prefix arg, set `print-length' and
402 `print-level' to nil, and insert the integer values from
403 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
405 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
406 `eval-last-sexp-arg-internal'. Doc fix.
407 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
408 `eval-last-sexp-print-value'. Doc fix.
409 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
410 Set `print-length' and `print-level' to nil when arg is zero.
411 (eval-last-sexp): Doc fix.
412 (eval-defun-2): Print the integer values from
413 `eval-expression-print-format' at the end.
415 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
416 values from `eval-expression-print-format' at the end.
418 * ielm.el (ielm-eval-input): Print the integer
419 values from `eval-expression-print-format' at the end.
421 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
423 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
424 2013-12-11T19:01:44Z!tzz@lifelogs.com.
426 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
428 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
429 (hl-line-highlight, global-hl-line-highlight): Use it.
430 (hl-line-overlay): Use defvar-local.
432 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
434 * term/ns-win.el: Require dnd.
435 (global-map): Remove drag items.
436 (ns-insert-text, ns-set-foreground-at-mouse)
437 (ns-set-background-at-mouse):
438 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
439 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
442 2013-12-19 Glenn Morris <rgm@gnu.org>
444 * emacs-lisp/ert.el (ert-select-tests):
445 Fix string/symbol mixup. (Bug#16121)
447 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
449 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
450 keywords to their parent.
452 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
454 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
455 first arg to be a string (fixed dead code), or an operator symbol.
456 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
458 (ruby-smie-rules): Remove parent token check in the `.' clause, it
459 did nothing. Don't respond to `(:after ".")', it will be called
460 with :before anyway. Remove the ` @ ' rule, it didn't seem to
461 change anything. Only return indentation for binary operators
462 when they are hanging. De-dent opening paren when its parent is
463 `.', otherwise it looks bad when the dot is not at bol or eol
466 2013-12-19 Juri Linkov <juri@jurta.org>
468 * replace.el (query-replace-read-args): Split a non-negative arg
469 and a negative arg into separate elements.
470 (query-replace, query-replace-regexp, replace-string)
471 (replace-regexp): Add arg `backward'. Doc fix.
472 (replace-match-maybe-edit): When new arg `backward' is non-nil,
473 move point to the beginning of the match.
474 (replace-search, replace-highlight): Use new arg `backward'
475 to set the value of `isearch-forward'.
476 (perform-replace): Add arg `backward' and use it to perform
477 replacement backward. (Bug#14979)
479 * isearch.el (isearch-query-replace): Use a negative prefix arg
480 to call `perform-replace' with a non-nil arg `backward'.
482 2013-12-18 Juri Linkov <juri@jurta.org>
484 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
485 to the default list. Move `log-edit-show-files' to the end.
486 Add more available functions to options.
487 (log-edit): Move default specific settings to
488 `log-edit-insert-message-template'. Don't move point.
489 (log-edit-insert-message-template): New function.
490 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
493 2013-12-18 Juri Linkov <juri@jurta.org>
495 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
496 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
498 2013-12-18 Leo Liu <sdl.web@gmail.com>
500 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
502 2013-12-18 Eli Zaretskii <eliz@gnu.org>
504 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
505 formats for displaying file sizes when the -s switch is given.
506 Instead, compute a separate format for displaying the size in
507 blocks, which is displayed in addition to the "regular" size.
508 When -h is given in addition to -s, produce size in blocks in
509 human-readable form as well. (Bug#16179)
511 2013-12-18 Tassilo Horn <tsdh@gnu.org>
513 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
514 Reference tables with ~\ref{...} instead of only \ref{...}.
516 2013-12-18 Chong Yidong <cyd@gnu.org>
518 * cus-edit.el (custom-magic-alist): Fix "themed" description
521 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
522 is non-nil, do not create a new entry in the symbol's theme-value
523 or theme-face property; update theme-settings only (Bug#14664).
524 (custom-available-themes): Doc fix.
526 * cus-theme.el (custom-new-theme-mode-map): Add bindings
529 * replace.el (occur-engine): Avoid infloop (Bug#7593).
531 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
533 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
536 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
538 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
540 2013-12-18 Glenn Morris <rgm@gnu.org>
542 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
543 * cus-start.el (load-prefer-newer): New option.
545 2013-12-18 Le Wang <l26wang@gmail.com>
547 * comint.el (comint-previous-matching-input-from-input):
548 Retain point (Bug#13404).
550 2013-12-18 Chong Yidong <cyd@gnu.org>
552 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
554 2013-12-18 Glenn Morris <rgm@gnu.org>
556 * mail/emacsbug.el (report-emacs-bug):
557 Only mention enable-multibyte-characters if non-standard.
559 2013-12-17 Juri Linkov <juri@jurta.org>
561 * arc-mode.el (archive-extract-by-file): Check if directory exists
562 before deletion to not show irrelevant errors if it doesn't exist.
564 2013-12-17 Juri Linkov <juri@jurta.org>
566 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
569 * net/eww.el (browse-web): Add alias to `eww'.
570 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
571 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
573 * net/browse-url.el (browse-url-browser-function): Move `eww'
574 closer to similar functions.
576 * startup.el (fancy-startup-screen, fancy-about-screen):
577 Set browse-url-browser-function to eww-browse-url locally.
580 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
582 * window.el (window--pixel-to-total): Remove unused `mini' var.
583 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
584 (split-window): Remove unused `new' var.
585 (window--display-buffer): Remove unused `frame' and `delta' vars.
586 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
589 2013-12-17 Martin Rudalics <rudalics@gmx.at>
591 * dired.el (dired-mark-pop-up):
592 * register.el (register-preview): Don't bind
593 split-height-threshold here since it's now done in
594 display-buffer-below-selected.
596 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
598 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
599 xterm-rgb-convert-to-16bit.
600 (rxvt-register-default-colors): Standardize with
601 xterm-register-default-colors (Bug#14078).
603 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
605 * simple.el (kill-region): Pass mark first, then point, so that
606 kill-append works right (Bug#12819).
607 (copy-region-as-kill, kill-ring-save): Likewise.
609 2013-12-17 Leo Liu <sdl.web@gmail.com>
611 * net/rcirc.el (rcirc-add-face):
612 * eshell/em-prompt.el (eshell-emit-prompt):
613 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
616 2013-12-17 Chong Yidong <cyd@gnu.org>
618 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
619 Suggested by Xue Fuqiao.
621 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
623 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
625 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
627 * net/shr.el (shr-insert-document): Remove unused var
628 `shr-preliminary-table-render'.
629 (shr-rescale-image): Remove unused arg `force'.
630 (shr-put-image): Update calls accordingly.
631 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
633 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
635 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
636 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
637 :close-all, to see which indentation method to use (Bug#16116).
638 (smie-rules-function): Document the method :close-all.
640 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
642 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
644 * net/eww.el (eww-display-html): If we can't find the anchor we're
645 looking for, then go to point-min.
647 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
649 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
650 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
651 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
652 Expand dir too, in case it's relative.
654 2013-12-16 Juri Linkov <juri@jurta.org>
656 * desktop.el (desktop-auto-save-timeout): Change default to
657 `auto-save-timeout'. Doc fix.
658 (desktop-save): Skip the timestamp in desktop-saved-frameset
659 when checking for auto-save changes.
660 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
661 `desktop-auto-save' is called repeatedly by the idle timer.
662 (desktop-auto-save-set-timer): Replace `run-with-timer' with
663 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
666 2013-12-16 Juri Linkov <juri@jurta.org>
668 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
670 (isearch-pre-command-hook): Check `this-command' for symbolp.
672 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
674 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
676 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
678 * progmodes/cfengine.el (cfengine3--current-word): Remove.
679 (cfengine3--current-function): Bring in the current-function
680 functionality from `cfengine3--current-word'.
681 (cfengine3-completion-function): Bring in the
682 bounds-of-current-word functionality from
683 `cfengine3--current-word'.
685 2013-12-16 Martin Rudalics <rudalics@gmx.at>
687 * window.el (display-buffer-below-selected):
688 Bind split-height-threshold to 0 as suggested by Juri Linkov.
690 2013-12-16 Leo Liu <sdl.web@gmail.com>
692 * progmodes/compile.el (compile-goto-error): Do not push-mark.
693 Remove NOMSG arg and all uses changed.
695 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
697 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
698 (cua--deactivate-rectangle): Don't deactivate the mark.
699 (cua-set-rectangle-mark): Don't set mark-active since
700 cua--activate-rectangle already does it for us.
701 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
702 non-rectangular region.
704 * emulation/cua-base.el (cua-repeat-replace-region):
705 Use with-current-buffer.
707 * net/gnutls.el: Use cl-lib.
708 (gnutls-negotiate): `mapcan' -> cl-mapcan.
710 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
712 * emacs-lisp/package.el (package-built-in-p): Support both
713 built-in and the package.el converted package descriptions.
714 (package-show-package-list): Allow keywords.
715 (package-keyword-button-action): Use it instead of
716 `finder-list-matches'.
717 (package-menu-filter-interactive): Interactive filtering (by
719 (package-menu--generate): Support keywords and change keymappings
720 and headers when they are given.
721 (package--has-keyword-p): Helper function.
722 (package-menu--refresh): Use it.
723 (package--mapc): Helper function.
724 (package-all-keywords): Use it.
725 (package-menu-mode-map): Set up menu items and keybindings to
726 provide a filtering UI.
728 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
730 * net/gnutls.el (gnutls-verify-error): New defcustom to control
731 the behavior when a certificate fails validation. Defaults to
732 old behavior: never abort, just warn.
733 (gnutls-negotiate): Use it.
735 2013-12-14 Martin Rudalics <rudalics@gmx.at>
737 * window.el (display-buffer-below-selected): Never split window
738 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
740 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
742 * emacs-lisp/package.el (package--prepare-dependencies): New function.
743 (package-buffer-info): Use it (bug#15108).
745 * icomplete.el (icomplete-completions): Make sure the prefix is already
746 displayed elsewhere before hiding it.
748 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
750 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
751 open-paren tokens when preceded by a open-paren, too.
752 (ruby-smie-rules): Handle virtual indentation after open-paren
753 tokens specially. If there is code between it and eol, return the
754 column where is starts (Bug#16118).
756 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
758 * progmodes/cfengine.el: Fix `add-hook' doc.
759 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
760 (cfengine3--current-word): Fix parameters.
761 (cfengine3-make-syntax-cache): Simplify further.
762 (cfengine3-completion-function, cfengine3--current-function):
763 Use `assq' for symbols.
764 (cfengine3--current-function): Fix `cfengine3--current-word' call.
766 2013-12-13 Glenn Morris <rgm@gnu.org>
768 * loadup.el (load-path): Warn if site-load or site-init changes it.
769 No more need to reset it when bootstrapping.
771 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
773 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
774 locations for cf-promises.
775 (cfengine-mode-syntax-functions-regex): New caching variable.
776 (cfengine3-fallback-syntax): Fallback syntax for cases where
777 cf-promises doesn't run.
778 (cfengine3--current-word): Reimplement using
779 `cfengine-mode-syntax-functions-regex'.
780 (cfengine3-completion-function, cfengine3--current-function):
781 Use `cfengine3-make-syntax-cache' directly.
782 (cfengine3-clear-syntax-cache): New function.
783 (cfengine3-make-syntax-cache): Simplify and create
784 `cfengine-mode-syntax-functions-regex' on demand.
785 (cfengine3-format-function-docstring): Don't call
786 `cfengine3-make-syntax-cache' explicitly.
788 2013-12-13 Martin Rudalics <rudalics@gmx.at>
790 Fix windmove-find-other-window broken after pixelwise resizing
792 * windmove.el (windmove-other-window-loc): Revert change from
794 (windmove-find-other-window): Call window-in-direction.
795 * window.el (window-in-direction): New arguments SIGN, WRAP and
796 MINI to emulate original windmove-find-other-window behavior.
798 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
800 * simple.el (blink-matching--overlay): New variable.
801 (blink-matching-open): Instead of moving point, highlight the
802 matching paren with an overlay
803 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
805 * faces.el (paren-showing-faces, show-paren-match)
806 (show-paren-mismatch): Move from paren.el.
808 2013-12-13 Leo Liu <sdl.web@gmail.com>
810 * indent.el (indent-region): Disable progress reporter in
811 minibuffer. (Bug#16108)
813 * bindings.el (visual-order-cursor-movement): Fix version.
815 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
817 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
818 Also match after beginning of line.
819 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
820 files. Thanks to Russell Sim. (Bug#15378)
822 2013-12-13 Juri Linkov <juri@jurta.org>
824 * simple.el <Keypad support>: Remove key bindings duplicated
825 with bindings.el. (Bug#14397)
827 2013-12-13 Juri Linkov <juri@jurta.org>
829 * comint.el (comint-mode-map): Replace `delete-char' with
830 `delete-forward-char'. (Bug#16109)
832 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
834 * progmodes/python.el (python-indent-calculate-indentation):
835 Fix de-denters cornercase. (Bug#15731)
837 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
839 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
840 (advice--make): Pay attention to `depth'.
841 (advice--make-1): Don't autoload commands eagerly.
842 * emacs-lisp/elp.el (elp-instrument-function):
843 * emacs-lisp/trace.el (trace-function-internal):
844 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
846 * iswitchb.el (iswitchb-mode): Don't belittle ido.
848 2013-12-12 Eli Zaretskii <eliz@gnu.org>
850 * term/w32-win.el (w32-handle-dropped-file):
851 * startup.el (normal-top-level):
852 * net/browse-url.el (browse-url-file-url):
853 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
854 decode file names using 'utf-8' rather than
855 file-name-coding-system.
857 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
859 * progmodes/python.el (python-indent-context)
860 (python-indent-calculate-indentation): Fix auto-identation
861 behavior for comment blocks. (Bug#15916)
863 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
865 * progmodes/python.el (python-indent-calculate-indentation):
866 When determining indentation, don't treat "return", "pass", etc., as
867 operators when they are just string constituents. (Bug#15812)
869 2013-12-12 Juri Linkov <juri@jurta.org>
871 * uniquify.el (uniquify-buffer-name-style): Change default to
872 `post-forward-angle-brackets'.
874 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
875 `uniquify'. Change default to `post-forward-angle-brackets'.
877 2013-12-11 Glenn Morris <rgm@gnu.org>
879 * emacs-lisp/package.el (finder-list-matches):
880 Autoload rather than falsely declaring.
882 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
884 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
885 (eww-mode-map): Use them.
887 2013-12-11 Martin Rudalics <rudalics@gmx.at>
889 * window.el (display-buffer-in-side-window): Fix doc-string
892 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
894 * vc/vc-git.el: Silence byte-compiler warnings.
895 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
896 (log-edit-set-header): Declare.
898 2013-12-11 Eli Zaretskii <eliz@gnu.org>
900 * Makefile.in (custom-deps, finder-data): Run output file names
901 through unmsys--file-name. (Bug#16099)
903 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
905 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
906 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
908 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
909 instead of deleting the selection "by hand" (bug#16098).
910 Rely on insert-for-yank to yank rectangles.
911 (cua-highlight-region-shift-only): Mark obsolete.
912 (cua-mode): Don't enable/disable transient-mark-mode,
913 shift-select-mode (cua-mode works both with and without them), and
914 pc-selection-mode (obsolete).
915 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
916 (cua--deactivate-rectangle): Deactivate it.
918 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
919 (delete-selection-helper): Make sure yank starts at the top of the
921 (minibuffer-keyboard-quit): Use region-active-p.
923 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
925 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
926 to `delete' (bug#16109).
928 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
930 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
931 info manual and show keybindings and set `:group' keyword.
933 2013-12-11 Juri Linkov <juri@jurta.org>
935 * delsel.el (delete-active-region): Let-bind `this-command'
936 to prevent `kill-region' from changing its original value.
937 (delete-selection-helper): Handle `overwrite-mode' for the type
938 `kill' exactly the same way as for the type `t'.
939 (insert-char, quoted-insert, reindent-then-newline-and-indent):
940 Support more commands. (Bug#13312)
942 2013-12-11 Juri Linkov <juri@jurta.org>
944 * bindings.el: Map kp keys to non-kp keys systematically
945 with basic modifiers control, meta and shift. (Bug#14397)
947 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
949 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
950 "Close browser" menu items. Fix wrong function of "List
953 2013-12-11 Juri Linkov <juri@jurta.org>
955 * misearch.el (multi-isearch-buffers): Set the value of
956 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
957 arg of isearch-forward to t.
958 (multi-isearch-buffers-regexp): Set the value of
959 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
960 arg of isearch-forward-regexp to t.
961 (multi-isearch-files): Set the value of
962 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
963 arg of isearch-forward to t.
964 (multi-isearch-files-regexp): Set the value of
965 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
966 arg of isearch-forward-regexp to t. (Bug#16035)
968 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
969 arg of isearch-forward to t.
970 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
971 arg of isearch-forward-regexp to t.
972 (dired-isearch-filter-filenames): Remove unnecessary check for
973 `dired-isearch-filenames'.
975 * comint.el (comint-history-isearch-backward):
976 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
977 (comint-history-isearch-backward-regexp):
978 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
980 2013-12-10 Eli Zaretskii <eliz@gnu.org>
982 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
983 unmsys--file-name. (Bug#16099)
985 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
987 * emacs-lisp/package.el (package-keyword-button-action):
988 Remove finder.el require dependency.
990 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
992 * emacs-lisp/package.el: Require finder.el.
993 (describe-package-1): Add keyword buttons.
994 (package-make-button): New convenience function.
995 (package-keyword-button-action): Keyword button action using
996 `finder-list-matches'.
998 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1000 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1003 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1005 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1008 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1010 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1011 after the end of a percent literal.
1013 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1015 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1016 Handle caret-delimited strings (Bug#16079).
1018 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1020 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1021 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1022 `ruby-parse-partial' (Bug#16078).
1024 2013-12-09 Leo Liu <sdl.web@gmail.com>
1026 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1028 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1030 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1031 (js-switch-indent-offset): New option.
1032 (js--proper-indentation): Use it. And handle the case when
1033 "default" is actually a key in an object literal.
1034 (js--same-line): New function.
1035 (js--multi-line-declaration-indentation): Use it.
1036 (js--indent-in-array-comp, js--array-comp-indentation):
1038 (js--proper-indentation): Use them, to handle array comprehension
1041 2013-12-08 Leo Liu <sdl.web@gmail.com>
1043 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1044 (flymake-make-overlay): Remove arg MOUSE-FACE.
1045 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1047 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1049 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1051 (redisplay-highlight-region-function): Use it.
1053 * emulation/cua-base.el (cua--explicit-region-start)
1054 (cua--last-region-shifted): Remove.
1055 (cua--deactivate): Use deactivate-mark.
1056 (cua--pre-command-handler-1): Don't handle shift-selection.
1057 (cua--post-command-handler-1): Don't change transient-mark-mode.
1058 (cua--select-keymaps): Use region-active-p rather than
1059 cua--explicit-region-start or cua--last-region-shifted.
1060 (cua-mode): Enable shift-select-mode.
1062 2013-12-08 Leo Liu <sdl.web@gmail.com>
1064 * progmodes/flymake.el (flymake-popup-current-error-menu):
1065 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1066 (flymake-posn-at-point-as-event, flymake-popup-menu)
1067 (flymake-make-emacs-menu): Remove. (Bug#16077)
1069 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1071 * rect.el (rectangle-mark-mode): Activate mark even if
1072 transient-mark-mode is off (bug#16066).
1073 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1074 is > mark and at bolp.
1076 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1077 (region-extract-function): Use it.
1078 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1079 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1081 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1082 kill-ring-save, kill-region, delete-char, delete-forward-char.
1083 Ignore self-insert-iso.
1085 * emulation/cua-gmrk.el (cua--init-global-mark):
1086 Ignore `self-insert-iso'.
1088 * emulation/cua-base.el (cua--prefix-copy-handler)
1089 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1090 checking cua--rectangle.
1091 (cua-delete-region): Use region-extract-function.
1092 (cua-replace-region): Delete function.
1093 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1094 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1095 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1096 (cua--init-keymaps): Don't remap delete-selection commands.
1097 (cua-mode): Use delete-selection-mode instead of rolling our own
1100 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1101 Obey region-extract-function.
1103 Make registers and delete-selection-mode work on rectangles.
1104 * register.el (describe-register-1): Don't modify the register's value.
1105 (copy-to-register): Obey region-extract-function.
1106 * delsel.el (delete-active-region): Obey region-extract-function.
1108 2013-12-08 Leo Liu <sdl.web@gmail.com>
1110 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1111 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1112 (flymake-compilation-prevents-syntax-check)
1113 (flymake-start-syntax-check-on-newline)
1114 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1115 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1116 (flymake-xml-program, flymake-master-file-dirs)
1117 (flymake-master-file-count-limit)
1118 (flymake-allowed-file-name-masks): Relocate.
1119 (flymake-makehash, flymake-float-time)
1120 (flymake-replace-regexp-in-string, flymake-split-string)
1121 (flymake-get-temp-dir): Remove.
1122 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1123 (flymake-current-row, flymake-selected-frame)
1124 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1125 related functions. (Bug#16077)
1127 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1129 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1131 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1133 * help-fns.el (describe-function-1): Use new advice-* functions
1134 rather than old ad-* functions. Fix function type description and
1135 source links for advised functions and subrs.
1137 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1139 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1141 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1143 * progmodes/compile.el (compilation-start):
1144 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1146 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1147 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1149 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1151 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1152 Touch up the last change.
1154 2013-12-06 Leo Liu <sdl.web@gmail.com>
1156 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1157 (inferior-octave-startup): Always use "octave> " for prompt.
1158 (octave-goto-function-definition)
1159 (octave-sync-function-file-names)
1160 (octave-find-definition-default-filename): Remove redundant backquotes.
1162 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1164 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1166 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1167 where appropriate already.
1168 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1169 end of method names (Bug#15874).
1171 2013-12-06 Juri Linkov <juri@jurta.org>
1173 * isearch.el (isearch--saved-overriding-local-map):
1174 New internal variable.
1175 (isearch-mode): Set it to the initial value of
1176 `overriding-terminal-local-map'.
1177 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1178 with `isearch--saved-overriding-local-map'. (Bug#16035)
1180 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1182 * progmodes/octave.el (inferior-octave-completion-table):
1183 Turn back into function, use `completion-table-with-cache'
1184 (Bug#11906). Update all references.
1186 * minibuffer.el (completion-table-with-cache): New function.
1188 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1190 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1192 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1194 * net/eww.el (eww-current-source): New variable to store page
1196 (eww-display-html, eww-mode, eww-save-history)
1197 (eww-restore-history): Use it.
1198 (eww-view-source): New command to view page source.
1199 Opportunistically uses `html-mode' to highlight the buffer.
1200 (eww-mode-map): Install it.
1202 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1204 * net/dbus.el (dbus-unregister-service)
1205 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1207 (dbus-unregister-service): Skip :serial entries in
1208 `dbus-registered-objects-table'.
1209 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1211 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1213 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1214 around keywords with extra `split-string' argument.
1216 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1218 * windmove.el (windmove-other-window-loc): Handle navigation
1219 between windows (excluding the minibuffer window - Bug#16017).
1221 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1223 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1224 in D-Bus type syntax.
1225 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1226 preserve unibyte strings. (Bug#16048)
1228 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1230 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1231 Call force-mode-line-update is the proper buffer (bug#16042).
1233 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1235 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1236 `log-edit-remember-comment', make argument optional. Adjust all
1238 (log-edit-mode): Add `log-edit-remember-comment' to
1239 `kill-buffer-hook' locally.
1240 (log-edit-kill-buffer): Don't remember comment explicitly since
1241 the buffer is killed anyway.
1243 2013-12-04 Juri Linkov <juri@jurta.org>
1245 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1246 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1248 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1250 * notifications.el (notifications-close-notification): Call the
1251 D-Bus method with ID being a `:uint32'. (Bug#16030)
1253 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1255 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1257 2013-12-03 Juri Linkov <juri@jurta.org>
1259 * progmodes/compile.el (compilation-start): Rename window alist
1260 entry `no-display-ok' to `allow-no-window'.
1262 * simple.el (shell-command): Add window alist entry
1263 `allow-no-window' to `display-buffer'.
1264 (async-shell-command): Doc fix.
1266 * window.el (display-buffer-no-window): New action function.
1267 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1269 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1271 * vc/log-edit.el (log-edit-set-header): Extract from
1272 `log-edit-toggle-header'.
1273 (log-edit-extract-headers): Separate the summary, when extracted
1274 from header, from the rest of the message with an empty line.
1276 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1277 line, if present, to the Summary header.
1279 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1281 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1282 in current-buffer (bug#16029).
1284 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1286 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1287 (debugger-mode-map): Bind it.
1288 (debugger--backtrace-base): New function.
1289 (debugger-eval-expression): Use it.
1290 (debugger-frame-number): Skip local vars when present.
1291 (debugger--locals-visible-p, debugger--insert-locals)
1292 (debugger--show-locals, debugger--hide-locals): New functions.
1294 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1296 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1298 (tramp-get-remote-locale): New defun.
1299 (tramp-open-connection-setup-interactive-shell): Use it.
1301 2013-12-02 Leo Liu <sdl.web@gmail.com>
1303 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1305 * progmodes/sh-script.el (sh-shell-process):
1306 * progmodes/octave.el (inferior-octave-process-live-p):
1307 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1308 (gdb-inferior-io-sentinel):
1309 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1311 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1313 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1314 `save-selected-window' to `log-edit-hide-buf'. This makes
1315 `log-edit-show-files' idempotent.
1316 (log-edit-show-files): Mark the new window as dedicated.
1318 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1320 * vc/log-edit.el (log-edit-mode-map): Add binding for
1321 `log-edit-kill-biffer'.
1322 (log-edit-hide-buf): Add a FIXME comment.
1323 (log-edit-add-new-comment): New function, extracted from
1325 (log-edit-done, log-edit-add-to-changelog): Use it.
1326 (log-edit-kill-buffer): New command.
1328 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1330 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1331 instead of killing the buffer.
1333 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1335 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1337 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1339 * net/eww.el (eww-form-checkbox-selected-symbol)
1340 (eww-form-checkbox-symbol): New customizable variable.
1341 (eww-form-checkbox, eww-toggle-checkbox):
1342 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1344 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1345 (shr--get-media-pref, shr--extract-best-source): New function.
1346 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1347 no :src tag was specified.
1349 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1350 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1351 Use \\` to match beginning of string instead of ^.
1352 (eww-browse-with-external-browser): Provide optional URL parameter.
1353 (eww-render): Set `eww-current-title' back to "".
1355 * net/shr.el (shr-tag-video): Display content for video if no
1356 poster is available.
1357 (shr-tag-audio): Add support for <audio> tag.
1359 * net/eww.el (eww-text-input-types): New const.
1360 (eww-process-text-input): Treat input types in
1361 `eww-text-input-types' as text.
1363 * net/shr.el (shr-tag-table): Fix comment typo.
1365 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1367 * net/eww.el (eww-follow-link): New command to avoid reloading
1368 pages when we follow #target links (bug#15243).
1369 (eww-quit): Special mode buffers shouldn't query before exiting.
1371 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1373 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1376 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1378 * net/eww.el (eww-restore-history): Update the window title after
1379 moving in the history.
1380 (eww-current-dom): New variable used to save the current DOM.
1382 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1384 * vc/log-edit.el (log-edit-mode-map): Add binding for
1385 `log-edit-beginning-of-line'.
1386 (log-edit-setup-add-author): New user option.
1387 (log-edit-beginning-of-line): New command.
1388 (log-edit): Move major mode call above the contents setup so that
1389 the local variable values are already applied.
1390 (log-edit): Only insert "Author: " when
1391 `log-edit-setup-add-author' is non-nil.
1392 (log-edit): When SETUP is non-nil, position point after ": "
1393 instead of point-min.
1395 2013-12-01 Glenn Morris <rgm@gnu.org>
1397 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1399 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1401 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1402 redisplay to make sure the initial frame gets a chance to become
1403 visible. (Bug#16014)
1405 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1407 Support resizing frames and windows pixelwise.
1408 * cus-start.el (frame-resize-pixelwise)
1409 (window-resize-pixelwise): New entries.
1410 * emacs-lisp/debug.el (debug): Use window-total-height instead
1411 of window-total-size.
1412 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1413 * help.el (describe-bindings-internal): Call help-buffer
1414 (temp-buffer-max-width): New option.
1415 (resize-temp-buffer-window, help-window-setup)
1416 (with-help-window): Rewrite.
1417 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1419 * window.el (frame-char-size, window-min-pixel-height)
1420 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1421 (window-min-pixel-width, window-safe-min-pixel-size)
1422 (window-combination-p, window-safe-min-size)
1423 (window-resizable-p, window--size-to-pixel)
1424 (window--pixel-to-size, window--resize-apply-p): New functions.
1425 (window-safe-min-height): Fix doc-string.
1426 (window-size, window-min-size, window--min-size-1)
1427 (window-sizable, window-sizable-p, window--min-delta-1)
1428 (window-min-delta, window--max-delta-1, window-max-delta)
1429 (window--resizable, window--resizable-p, window-resizable)
1430 (window-full-height-p, window-full-width-p, window-at-side-p)
1431 (window--in-direction-2, window-in-direction)
1432 (window--resize-reset-1, window--resize-mini-window)
1433 (window-resize, window-resize-no-error)
1434 (window--resize-child-windows-normal)
1435 (window--resize-child-windows, window--resize-siblings)
1436 (window--resize-this-window, window--resize-root-window)
1437 (window--resize-root-window-vertically)
1438 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1439 (maximize-window, minimize-window, delete-window)
1440 (quit-restore-window, window-split-min-size, split-window)
1441 (balance-windows-2, balance-windows)
1442 (balance-windows-area-adjust, balance-windows-area)
1443 (window--state-get-1, window-state-get, window--state-put-1)
1444 (window--state-put-2, window-state-put)
1445 (display-buffer-record-window, window--display-buffer):
1446 Make functions handle pixelwise sizing of windows.
1447 (display-buffer--action-function-custom-type)
1448 (display-buffer-fallback-action):
1449 Add display-buffer-in-previous-window.
1450 (display-buffer-use-some-window): Resize window to height it had
1452 (fit-window-to-buffer-horizontally): New option.
1453 (fit-frame-to-buffer): Describe new values.
1454 (fit-frame-to-buffer-bottom-margin): Replace with
1455 fit-frame-to-buffer-margins.
1456 (window--sanitize-margin): New function.
1457 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1458 using window-text-pixel-size.
1460 2013-11-30 Glenn Morris <rgm@gnu.org>
1462 * emacs-lisp/bytecomp.el (byte-compile-form):
1463 Make the `interactive-only' warning like the `obsolete' one.
1464 * comint.el (comint-run):
1465 * files.el (insert-file-literally, insert-file):
1466 * replace.el (replace-string, replace-regexp):
1467 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1468 (goto-line, insert-buffer, next-line, previous-line):
1469 Tweak `interactive-only' spec.
1471 Stop keeping (most) generated cedet grammar files in the repository.
1472 * Makefile.in (semantic): New.
1473 (compile-main): Depend on semantic.
1475 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1477 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1478 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1480 * uniquify.el (uniquify-buffer-name-style): Change default.
1482 * loadup.el: Preload "uniquify".
1484 * time.el (display-time-update): Update all mode lines (bug#15999).
1486 * electric.el (electric-indent-mode): Enable by default.
1487 * loadup.el: Preload "electric".
1489 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1491 * emacs-lisp/helpers.el (string-empty-p): New function.
1492 (string-blank-p): New function.
1494 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1496 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1499 2013-11-29 Andreas Politz <politza@fh-trier.de>
1500 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1501 allow non-lambda lists as functions.
1502 (imenu--in-alist): Don't recurse into non-subalists.
1503 (imenu): Don't pass function itself as an argument (Bug#14029).
1505 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1507 * progmodes/python.el (python-mode-map): Remove binding for ":".
1508 (python-indent-electric-colon): Remove command.
1509 (python-indent-post-self-insert-function): Integrate the previous code
1510 of python-indent-electric-colon. Make it conditional on
1511 electric-indent-mode.
1512 (python-mode): Add ?: to electric-indent-chars.
1513 Move python-indent-post-self-insert-function to the end of
1514 post-self-insert-hook.
1516 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1518 * doc-view.el (doc-view-goto-page): Update mode-line.
1520 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1522 2013-11-27 Glenn Morris <rgm@gnu.org>
1524 * international/charprop.el, international/uni-bidi.el:
1525 * international/uni-category.el, international/uni-combining.el:
1526 * international/uni-comment.el, international/uni-decimal.el:
1527 * international/uni-decomposition.el, international/uni-digit.el:
1528 * international/uni-lowercase.el, international/uni-mirrored.el:
1529 * international/uni-name.el, international/uni-numeric.el:
1530 * international/uni-old-name.el, international/uni-titlecase.el:
1531 * international/uni-uppercase.el:
1532 Remove generated files from VCS repository.
1534 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1536 * filenotify.el (file-notify-add-watch): Don't special-case
1537 w32notify when computing the directory to watch.
1539 2013-11-27 Glenn Morris <rgm@gnu.org>
1541 Make bootstrap without generated uni-*.el files possible again.
1542 * loadup.el: Update command-line-args checking for unidata-gen.
1543 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1544 * composite.el, international/characters.el:
1545 Handle unicode tables being undefined.
1547 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1548 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1549 (compile-main): Depend on leim rule.
1551 * loadup.el: Move leim-list.el to leim/ subdirectory.
1552 * startup.el (normal-top-level): No more leim directory.
1553 * international/ja-dic-cnv.el (skkdic-convert):
1554 Disable version-control and autoloads in output files.
1555 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1556 Disable version-control and autoloads in output files.
1557 * leim/quail: Move here from ../leim.
1558 * leim/quail/hangul.el (hangul-input-method-activate):
1559 Add autoload cookie.
1560 (generated-autoload-load-name): Set file-local value.
1561 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1562 (generated-autoload-load-name): Set file-local value.
1564 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1566 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1567 (eww-add-bookmark): Ask confirmation when add to bookmarks
1568 (eww-quit): Ask confirmation before quitting eww.
1570 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1572 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1573 reading output from Diff on MS-Windows and MS-DOS.
1575 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1577 * emacs-lisp/helpers.el (string-reverse): New function.
1579 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1581 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1582 names on MS Windows, like "/[::1]:".
1584 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1587 2013-11-26 Glenn Morris <rgm@gnu.org>
1589 * progmodes/python.el (python-indent-guess-indent-offset):
1590 Avoid corner-case error. (Bug#15975)
1592 Preload leim-list.el. (Bug#4789)
1593 * loadup.el: Load leim-list.el when found.
1594 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1596 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1598 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1600 * emacs-lisp/helpers.el (string-join): New function.
1602 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1604 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1605 Mark as obsolete and replace it with a symbol property.
1606 (byte-compile-form): Use new 'interactive-only property.
1607 * comint.el, files.el, replace.el, simple.el:
1608 Apply new 'interactive-only properly.
1610 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1612 * window.el (display-buffer-at-bottom): Make sure that
1613 split-window-sensibly creates the new window on bottom
1616 2013-11-23 David Kastrup <dak@gnu.org>
1618 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1619 on the conflict markers when available.
1620 (smerge--get-marker): New function.
1621 (smerge-end-re, smerge-base-re): Add subgroup.
1623 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1625 * frame.el (handle-focus-in, handle-focus-out): Add missing
1628 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1630 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1631 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1633 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1635 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1636 (gomoku--last-pos): New var.
1637 (gomoku--intangible-chars): New const.
1638 (gomoku--intangible): New function.
1639 (gomoku-mode): Use it. Derive from special-mode.
1640 (gomoku-move-up): Adjust line count.
1641 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1642 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1643 Simplify accordingly.
1645 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1646 Remove blink-cursor code.
1647 (blink-cursor-timer-function, blink-cursor-suspend):
1648 Don't special-case GUIs.
1649 (blink-cursor-mode): Use focus-in/out-hook.
1651 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1653 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1654 work when annotation is invisible (Bug#13886).
1656 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1658 * json.el (json-alist-p): Only return non-nil if the alist has
1659 simple keys (Bug#13518).
1661 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1663 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1664 when control-statement is the first statement in a buffer (Bug#15956).
1666 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1668 * imenu.el (imenu-generic-skip-comments-and-strings):
1669 New option (Bug#15560).
1670 (imenu--generic-function): Use it.
1672 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1674 * minibuffer.el (completion--in-region-1): Scroll the correct
1677 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1679 * emacs-lisp/helpers.el: Add some string helpers.
1680 (string-trim-left): Removes leading whitespace.
1681 (string-trim-right): Removes trailing whitespace.
1682 (string-trim): Removes leading and trailing whitespace.
1684 * subr.el (string-suffix-p): New function.
1686 2013-11-23 Glenn Morris <rgm@gnu.org>
1688 * progmodes/python.el (python-shell-send-file):
1689 Add option to delete file when done. (Bug#15647)
1690 (python-shell-send-string, python-shell-send-region): Use it.
1692 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1694 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1695 to set buffer-read-only to t, never to nil. (Bug#15938)
1697 * textmodes/tex-mode.el (latex-noindent-environments):
1698 Add safe-local-variable property. (Bug#15936)
1700 2013-11-23 Glenn Morris <rgm@gnu.org>
1702 * textmodes/enriched.el (enriched-mode): Doc fix.
1703 * emacs-lisp/authors.el (authors-renamed-files-alist):
1704 Add enriched.doc -> enriched.txt.
1706 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1708 2013-11-22 Leo Liu <sdl.web@gmail.com>
1710 * progmodes/octave.el (inferior-octave-startup): Spit out error
1713 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1715 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1718 (ruby-encoding-magic-comment-style): Add :version.
1720 2013-11-22 Leo Liu <sdl.web@gmail.com>
1722 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1724 (octave-help-mode): Adapt to change to help-mode-finish to use
1725 derived-mode-p on 2013-09-17.
1726 (inferior-octave-prompt): Also match octave-gui.
1727 (octave-kill-process): Don't ask twice. (Bug#10564)
1729 2013-11-22 Leo Liu <sdl.web@gmail.com>
1731 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1732 (inferior-octave-startup, inferior-octave-check-process)
1733 (inferior-octave-track-window-width-change)
1734 (octave-completion-at-point, octave-eldoc-function): Use it.
1735 (octave-kill-process): Provide confirmation. (Bug#10564)
1737 2013-11-21 Leo Liu <sdl.web@gmail.com>
1739 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1740 Fix obsolete variable comment-use-global-state.
1742 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1744 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1745 Add `octave-source-file'.
1746 (octave-source-file): New function. (Bug#15935)
1748 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1750 * net/eww.el (eww-local-regex): New variable.
1751 (eww): Use it to detect localhost and similar.
1753 2013-11-21 Leo Liu <sdl.web@gmail.com>
1755 Add completion for command `ag'.
1756 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1757 (pcomplete/ag): New function.
1758 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1760 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1762 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1764 (make-obsolete): Remove interactive spec.
1766 2013-11-21 Glenn Morris <rgm@gnu.org>
1768 * startup.el (command-line-1): Use path-separator with -L.
1770 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1772 * emacs-lisp/package.el (describe-package-1): Add package archive
1775 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1777 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1778 Change default to "# encoding: %s" to differentiate it from the
1779 default Ruby encoding comment template.
1781 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1783 * ses.el (ses-mode): Doc fix. (Bug#14748)
1785 2013-11-20 Leo Liu <sdl.web@gmail.com>
1787 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1789 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1791 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1792 when rebase or bisect are in progress.
1794 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1796 * filenotify.el (file-notify-add-watch): Doc fix.
1798 2013-11-19 Leo Liu <sdl.web@gmail.com>
1800 * obsolete/rcompile.el: Mark obsolete.
1802 * progmodes/compile.el (compilation-start)
1803 (compilation-goto-locus, compilation-find-file):
1804 Pass no-display-ok and handle nil value from display-buffer.
1807 * window.el (display-buffer-alist, display-buffer): Document the
1808 new parameter no-display-ok. Return either a window or nil
1809 but never a non-window value.
1811 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1813 * electric.el (electric-indent-mode-map): Remove.
1814 (electric-indent-mode): Change the global-map instead (bug#15915).
1816 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1819 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1821 * emacs-lisp/nadvice.el (remove-function): Align with
1822 add-function's behavior.
1824 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1825 (gdb--string-regexp): New constant.
1826 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1827 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1828 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1830 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1831 Adjust use accordingly.
1832 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1834 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1836 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1837 interpolation curlies (Bug#15914).
1839 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1841 * calc/calc.el (calc-context-sensitive-enter): New variable.
1842 (calc-enter): Use `calc-context-sensitive-enter'.
1844 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1846 * progmodes/cfengine.el: Version bump.
1847 (cfengine-cf-promises): New defcustom to locate cf-promises.
1848 (cfengine3-vartypes): Add new "data" type.
1849 (cfengine3--current-word): New function to get current name-like
1851 (cfengine3--current-function): New function to look up a CFEngine
1852 function's definition.
1853 (cfengine3-format-function-docstring): New function.
1854 (cfengine3-make-syntax-cache): New function.
1855 (cfengine3-documentation-function): New function: ElDoc glue.
1856 (cfengine3-completion-function): New function: completion glue.
1857 (cfengine3-mode): Set `compile-command',
1858 `eldoc-documentation-function', and add to
1859 `completion-at-point-functions'.
1861 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1863 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1864 `tramp-current-connection'.
1866 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1868 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1869 nil/self/true/false with "end of symbol".
1871 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1873 * subr.el (version-regexp-alist): Fix a typo.
1875 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1877 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1878 "en_US.utf8" and "LC_CTYPE" to "".
1879 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1880 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1882 2013-11-15 Leo Liu <sdl.web@gmail.com>
1884 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1886 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1888 * progmodes/gud.el (ctl-x-map):
1889 Remove C-x SPC binding. (Bug#12342)
1890 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1892 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1894 * subr.el (version-regexp-alist):
1895 Recognize hg, svn and darcs versions as snapshot versions.
1897 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1898 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1899 (ruby--encoding-comment-required-p): Extract from
1900 `ruby-mode-set-encoding'.
1901 (ruby-mode-set-encoding): Add the ability to always insert an
1902 utf-8 encoding comment. Fix and simplify coding comment update
1905 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1907 * net/tramp-gvfs.el (top): Run init code only when
1908 `tramp-gvfs-enabled' is not nil.
1909 (tramp-gvfs-enabled): Check also :system bus.
1911 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1913 Sync with upstream verilog-mode revision 78e66ba.
1914 * progmodes/verilog-mode.el (verilog-end-of-defun)
1915 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1916 (verilog-get-end-of-defun): Remove unused argument.
1917 (verilog-comment-depth): Remove unused local `e'.
1918 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1919 Don't pass arg to verilog-get-end-of-defun.
1921 2013-11-14 Glenn Morris <rgm@gnu.org>
1923 * obsolete/assoc.el (aget): Prefix dynamic variable.
1925 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1927 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1929 * widget.el, hfy-cmap.el: Remove bogus package version number.
1931 2013-11-13 Glenn Morris <rgm@gnu.org>
1933 * replace.el (replace-eval-replacement):
1934 Try to give more helpful error message. (Bug#15836)
1936 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1937 (archive-7z-update): Avoid custom type mismatches.
1939 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1941 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1943 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1944 address can be empty.
1946 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1947 Accept nil SWITCHES.
1948 (tramp-gvfs-handle-write-region): Implement APPEND.
1950 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1952 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1953 binary "|" operator and closing block args delimiter.
1954 Remove FIXME comment referring to Ruby 1.8-only syntax.
1955 (ruby-smie--implicit-semi-p): Not after "|" operator.
1956 (ruby-smie--closing-pipe-p): New function.
1957 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1958 (ruby-smie-rules): Indent after "|".
1960 2013-11-12 Glenn Morris <rgm@gnu.org>
1962 * ps-print.el (ps-face-attribute-list):
1963 Handle anonymous faces. (Bug#15827)
1965 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1967 * window.el (display-buffer-other-frame): Fix doc-string.
1970 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1972 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1974 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1976 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1977 (tramp-sh-handle-file-local-copy): Don't write a message when
1978 saving temporary files.
1980 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1981 both directories are remote.
1982 (tramp-smb-handle-directory-files): Do not return double entries.
1983 Do not expand full file names.
1984 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1985 (tramp-smb-handle-write-region): Implement APPEND.
1986 (tramp-smb-get-stat-capability): Fix a stupid bug.
1988 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1990 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1992 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1994 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1995 throwing error over malformed let/let* (bug#15814).
1997 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1999 * iswitchb.el (iswitchb-mode): Mark obsolete.
2001 2013-11-11 Glenn Morris <rgm@gnu.org>
2003 * international/uni-bidi.el, international/uni-category.el:
2004 * international/uni-name.el, international/uni-numeric.el:
2005 Regenerate for Unicode 6.3.0.
2007 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2009 * net/tramp.el (tramp-methods):
2010 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2011 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2013 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2015 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2016 Force highlighting text after Summary keyword in doc face for rpm.
2018 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2020 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2021 available and the word has no wildcards, append one to the grep pattern.
2022 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2023 (ispell-complete-word): Call `ispell-lookup-words' with the value
2024 independent of `ispell-look-p'.
2026 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2028 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2030 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2033 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2035 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2036 (ruby-font-lock-keywords): Use backquote.
2038 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2040 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2041 (ruby-smie--backward-token): Only consider full-string matches.
2043 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2045 * faces.el (describe-face): Add distant-foreground.
2047 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2049 * progmodes/ruby-mode.el: Improve encoding comment handling.
2050 (ruby-encoding-magic-comment-style): New option.
2051 (ruby-custom-encoding-magic-comment-template): New option.
2052 (ruby--insert-coding-comment, ruby--detect-encoding):
2053 New functions extracted from `ruby-mode-set-encoding'.
2054 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2055 to control the style of the auto-inserted encoding comment.
2057 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2059 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2060 Use `smie-backward-sexp' with token argument.
2062 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2064 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2065 Remove instrumentation code.
2067 2013-11-08 Glenn Morris <rgm@gnu.org>
2069 * progmodes/autoconf.el (autoconf-mode):
2070 Tweak comment-start-skip. (Bug#15822)
2072 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2074 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2075 at bobp (bug#15826).
2076 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2078 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2080 * man.el (Man-start-calling): New macro, extracted from
2081 Man-getpage-in-background.
2082 (Man-getpage-in-background): Use it.
2083 (Man-update-manpage): New command.
2084 (Man-mode-map): Bind it.
2086 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2088 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2089 of "and", "or", "&&" and "||".
2090 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2091 argument. Prohibit opening curly brace because it could only be a
2092 block opener in that position.
2093 (ruby-smie--forward-token, ruby-smie--backward-token):
2094 Separate "|" from "&" or "*" going after it. That can happen in block
2096 (ruby-smie--indent-to-stmt): New function, seeks the end of
2097 previous statement or beginning of buffer.
2098 (ruby-smie-rules): Use it.
2099 (ruby-smie-rules): Check if there's a ":" before a curly block
2100 opener candidate; if there is, it's a hash.
2102 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2104 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2105 (cl--block-wrapper): Fix last accidental change.
2107 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2109 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2110 Instrument, in order to hunt failure on hydra.
2112 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2114 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2115 malformed bindings form (bug#15814).
2117 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2119 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2120 "." compared to " @ ". This incidentally fixes some indentation
2122 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2123 (ruby-smie-grammar): New tokens: "and" and "or".
2124 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2125 Exclude "and" and "or". Remove "do" in order to work around token
2127 (ruby-smie-rules): Add all infix tokens. Handle the case of
2128 beginning-of-buffer.
2130 2013-11-06 Glenn Morris <rgm@gnu.org>
2132 * Makefile.in (setwins_almost, setwins_for_subdirs):
2133 Avoid accidental matches.
2135 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2137 * menu-bar.el (popup-menu): Use key-binding.
2139 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2141 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2142 menus, support also the menus produced by minor modes.
2145 2013-11-06 Leo Liu <sdl.web@gmail.com>
2147 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2148 DISTANCE to bound the search. All uses changed. (Bug#15808)
2150 2013-11-06 Glenn Morris <rgm@gnu.org>
2152 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2153 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2154 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2156 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2158 * electric.el (electric-indent-just-newline): New command.
2159 (electric-indent-mode-map): New keymap.
2160 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2161 Re-add :group which weren't redundant.
2163 * electric.el (electric-indent-local-mode): New minor mode.
2164 (electric-indent-functions-without-reindent): New var.
2165 (electric-indent-post-self-insert-function): Use it.
2166 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2168 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2170 * international/quail.el (quail-help): Be more explicit about the
2171 meaning of the labels shown on the keys. (Bug#15800)
2173 * startup.el (normal-top-level): Load the subdirs.el files before
2174 setting the locale environment. (Bug#15805)
2176 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2178 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2179 via arguments so as to get the right ones (bug#15418).
2181 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2183 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2185 Fix problems found while writing a test suite.
2187 * net/tramp-compat.el (tramp-compat-load): New defun.
2188 * net/tramp.el (tramp-handle-load): Use it.
2190 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2191 "(numberp ok-if-already-exists)" correctly.
2193 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2195 * international/characters.el (glyphless-char-display-control):
2198 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2200 * progmodes/python.el (python-mode):
2201 * progmodes/scheme.el (scheme-mode):
2202 * progmodes/prolog.el (prolog-mode):
2203 * progmodes/ruby-mode.el (ruby-mode):
2204 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2205 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2207 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2209 * rect.el (rectangle--highlight-for-redisplay):
2210 * emacs-lisp/smie.el (smie--next-indent-change):
2211 Use buffer-chars-modified-tick.
2213 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2215 * electric.el (electric-indent-post-self-insert-function):
2216 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2218 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2220 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2222 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2224 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2227 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2229 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2231 * progmodes/python.el: Fix up last change.
2232 (python-shell--save-temp-file): New function.
2233 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2234 `string' comes from the current buffer.
2235 (python-shell-send-string-no-output): Remove `msg' arg.
2236 (python--use-fake-loc): New var.
2237 (python-shell-buffer-substring): Obey it. Try to compensate for the
2238 extra coding line added by python-shell--save-temp-file.
2239 (python-shell-send-region): Use python-shell--save-temp-file and
2240 python-shell-send-file directly. Add `nomain' argument.
2241 (python-shell-send-buffer): Use python-shell-send-region.
2242 (python-electric-pair-string-delimiter): New function.
2243 (python-mode): Use it.
2245 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2247 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2248 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2249 environment and decoding all of the default-directory's to here
2251 (command-line): Decode also argv[0].
2253 * loadup.el: Error out if default-directory is a multibyte string
2254 when we are dumping.
2256 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2258 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2260 * emacs-lisp/package.el (package-menu-mode)
2261 (package-menu--print-info, package-menu--archive-predicate):
2262 Add Archive column to package list.
2264 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2266 Fix problems found while writing a test suite.
2268 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2269 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2270 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2271 to nil when running original file name handler. Otherwise,
2272 there are problems with constructs like "$$FOO".
2274 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2277 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2279 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2281 * subr.el (version<, version<=, version=):
2282 Update docstrings with information for snapshot versions.
2284 * helpers.el: New library for misc helper functions.
2285 (hash-table-keys): New function returning a list of hash keys.
2286 (hash-table-values): New function returning a list of hash values.
2288 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2290 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2291 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2293 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2295 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2296 checking whether point is after a 1-letter word.
2298 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2300 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2301 Don't infloop when expanding region over `multiline' syntax-type that
2302 begins a line (bug#15778).
2304 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2306 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2307 Make it into a proper minor mode.
2308 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2309 (rectangle-mark-mode-map): New keymap.
2310 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2312 2013-11-04 Glenn Morris <rgm@gnu.org>
2314 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2316 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2318 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2319 (ruby-smie-rules): Use smie-rule-parent instead.
2321 * emacs-lisp/smie.el (smie-rule-parent): Always call
2322 smie-indent-virtual rather than only for hanging tokens.
2323 (smie--next-indent-change): New helper command.
2325 2013-11-03 Glenn Morris <rgm@gnu.org>
2327 * Makefile.in (abs_srcdir): Remove.
2328 (emacs): Unset EMACSLOADPATH.
2330 2013-11-02 Glenn Morris <rgm@gnu.org>
2332 * Makefile.in (EMACS): Use a relative filename.
2333 (abs_top_builddir): Remove.
2334 (custom-deps, finder-data, autoloads): Use --chdir.
2336 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2338 Use relative filenames in TAGS files.
2339 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2340 (lisptagsfiles4, TAGS): Use relative file names.
2341 (TAGS-LISP): Remove.
2342 (maintainer-clean): No more TAGS-LISP file.
2344 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2345 (lisptagsfiles4): Use absolute filenames again.
2346 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2347 Remove all *loaddefs files, not just the first. Remove esh-groups.
2348 (maintainer-clean): Delete TAGS, TAGS-LISP.
2350 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2352 * emacs-lisp/package.el (package-version-join):
2353 Recognize snapshot versions.
2355 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2357 * subr.el (version-regexp-alist): Add support for snapshot versions.
2359 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2361 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2362 New function, replacement for `smie-rule-parent' for when we want to
2363 skip over our direct parent if it's an assignment token..
2364 (ruby-smie-rules): Use it.
2366 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2368 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2369 unconditionally. Remove now unnecessary forward declarations.
2370 Remove XEmacs-specific setup.
2371 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2372 (ruby-font-lock-syntactic-keywords)
2373 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2374 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2375 (ruby-here-doc-end-syntax): Remove.
2376 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2377 defined as function.
2379 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2381 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2383 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2385 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2386 table and abbrev table, `define-derived-mode' does that for us
2389 2013-11-01 Glenn Morris <rgm@gnu.org>
2391 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2392 files is atomic for some time, so no parallel compilation issues).
2394 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2396 * faces.el (face-x-resources): Add :distant-foreground.
2397 (region): Use :distant-foreground for gtk and ns.
2399 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2401 Allow multiple bibliographies when BibLaTeX is used rather than
2403 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2404 (reftex-locate-bibliography-files): Us it.
2406 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2408 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2409 allow comments in pbm files.
2411 * term/w32-win.el (dynamic-library-alist): Support newer versions
2412 of libjpeg starting with v7: look only for the DLL from the
2413 version against which Emacs was built.
2414 Support versions of libpng beyond 1.4.x.
2415 Support libtiff v4.x.
2417 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2419 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2420 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2422 (ruby-deep-arglist): Add property :type.
2424 2013-10-31 Glenn Morris <rgm@gnu.org>
2426 * Makefile.in (custom-deps, finder-data): No need to setq the target
2427 variables, we are in the right directory and the defaults work fine.
2429 2013-10-30 Glenn Morris <rgm@gnu.org>
2431 * Makefile.in (autoloads): Do not use abs_lisp.
2433 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2434 `newline' does not respect `standard-output', so use `princ'.
2436 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2438 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2439 * buff-menu.el (Buffer-menu--unmark): New function.
2440 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2442 2013-10-30 Glenn Morris <rgm@gnu.org>
2444 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2446 * emacs-lisp/package.el (lm-homepage): Declare.
2448 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2451 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2453 * Makefile.in (finder-data, autoloads, update-subdirs)
2454 (compile-main, compile-clean, compile-always, bootstrap-clean):
2455 Check return value of cd.
2456 (compile-calc): Remove.
2458 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2460 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2462 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2463 (byte-compile-and-folded): New function.
2464 (=, <, >, <=, >=): Use it.
2466 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2467 (path-separator, null-device, buffer-file-coding-system)
2468 (lpr-headers-switches): Check system-type before modifying them.
2469 (find-buffer-file-type-coding-system): Mark obsolete.
2470 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2471 find-file-not-found-set-buffer-file-coding-system.
2472 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2473 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2474 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2475 (w32-direct-print-region-helper, w32-direct-print-region-function)
2476 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2477 * startup.el (normal-top-level-add-subdirs-to-load-path):
2478 * ps-print.el (ps-print-region-function):
2479 * lpr.el (print-region-function): Use new name.
2481 * subr.el (custom-declare-variable-early): Remove function.
2482 (custom-declare-variable-list): Remove var.
2483 (error, user-error): Remove `while' loop.
2484 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2485 (user-emacs-directory-warning, locate-user-emacs-file):
2487 * simple.el (read-quoted-char-radix, read-quoted-char):
2488 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2490 * custom.el (custom-declare-variable-list): Don't process
2491 custom-declare-variable-list.
2493 * progmodes/python.el (python-shell-get-buffer): New function.
2494 (python-shell-get-process): Use it.
2495 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2496 Python which encoding was used. Don't split-string since we only care
2497 about the first line. Return the temp-file, if applicable.
2498 (python-shell-send-region): Tell compile.el how to turn locations in
2499 the temp-file into locations in the source buffer.
2501 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2503 * subr.el (undefined): Add missing behavior from the C code for
2506 * rect.el: Use lexical-binding. Add new rectangular region support.
2507 (rectangle-mark): New command.
2508 (rectangle--region): New var.
2509 (deactivate-mark-hook): Reset rectangle--region.
2510 (rectangle--extract-region, rectangle--insert-for-yank)
2511 (rectangle--highlight-for-redisplay)
2512 (rectangle--unhighlight-for-redisplay): New functions.
2513 (region-extract-function, redisplay-unhighlight-region-function)
2514 (redisplay-highlight-region-function): Use them to handle
2516 * simple.el (region-extract-function): New var.
2517 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2518 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2519 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2520 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2521 (redisplay-unhighlight-region-function)
2522 (redisplay-highlight-region-function): New vars.
2523 (redisplay--update-region-highlight): New function.
2524 (pre-redisplay-function): Use it.
2525 (exchange-point-and-mark): Don't deactivate the mark before
2526 reactivate-it anyway.
2527 * comint.el (comint-kill-region): Remove yank-handler argument.
2528 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2529 (delete-char): Remove property, since it's now part of their
2531 (self-insert-iso): Remove property since this command doesn't exist.
2533 * emacs-lisp/package.el (package--download-one-archive)
2534 (describe-package-1): Don't query the user about final newline.
2536 2013-10-29 Daniel Colascione <dancol@dancol.org>
2538 * net/tramp.el (tramp-methods): Document new functionality.
2539 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2540 tramp-hostname-checker if method provides one instead of scanning
2541 argument list for "%h" to decide hostname acceptability.
2543 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2545 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2546 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2547 Handle COPY-CONTENTS. (Bug#15737)
2549 2013-10-28 Daiki Ueno <ueno@gnu.org>
2552 (epa-file-cache-passphrase-for-symmetric-encryption):
2553 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2555 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2557 * image.el (defimage):
2558 (image-load-path): Doc fixes.
2560 2013-10-27 Alan Mackenzie <acm@muc.de>
2562 Indent statements in macros following "##" correctly.
2563 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2564 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2566 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2568 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2570 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2572 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2573 after `=' is probably a new expression.
2575 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2577 * man.el (man-imenu-title): New option.
2578 (Man-mode-map): Add menu. (Bug#15722)
2579 (Man-mode): Add imenu to menu.
2581 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2583 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2584 specific in what the first arg can be: a non-keyword word,
2585 string/regexp/percent literal opener, opening paren, or unary
2586 operator followed directly by word.
2588 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2590 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2591 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2592 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2593 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2594 Remove vars, they do not apply any more.
2595 (prolog-mode-abbrev-table): Remove redundant declaration.
2596 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2597 (prolog-use-smie): Remove.
2598 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2599 supported by prolog-electric-if-then-else-flag.
2600 (prolog-mode-variables, prolog-menu): Use setq-local.
2601 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2602 Remove binding to `Backspace' since this key doesn't exist anyway.
2603 Remove bindings for electric self-inserting keys.
2604 (prog-mode): Assume it's defined.
2605 (prolog-post-self-insert): New function.
2606 (prolog-mode): Use it.
2607 (prolog-indent-line, prolog-indent-level)
2608 (prolog-find-indent-of-matching-paren)
2609 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2610 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2611 (prolog-goto-next-paren, prolog-in-string-or-comment)
2612 (prolog-tokenize, prolog-inside-mline-comment)
2613 (prolog-find-start-of-mline-comment): Remove functions.
2614 (prolog-find-unmatched-paren, prolog-clause-end)
2615 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2616 (prolog-electric--if-then-else): Rename from
2617 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2618 (prolog-tokenize-searchkey): Remove const.
2619 (prolog-clause-info): Use forward-sexp.
2620 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2621 (prolog-electric-if-then-else): Remove commands.
2622 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2623 for use in post-self-insert-hook.
2624 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2625 for use in post-self-insert-hook.
2626 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2627 for use in post-self-insert-hook.
2628 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2629 adapt it for use in post-self-insert-hook.
2631 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2633 * emacs-lisp/ert.el (ert-run-tests-interactively):
2634 Use `completing-read'. (Bug#9756)
2636 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2638 * simple.el (line-move): Call line-move-1 instead of
2639 line-move-visual when the current window hscroll is zero, but
2640 temporary-goal-column indicates we will need to hscroll as result
2641 of the movement. (Bug#15712)
2643 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2645 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2646 capitalization. Use :visible instead of :active.
2647 Fix `ruby-indent-exp' reference. Add menu items for the generic
2648 commands that are used with SMIE.
2649 (ruby-do-end-to-brace): Insert space after `{'.
2651 2013-10-25 John Anthony <john@jo.hnanthony.com>
2653 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2655 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2657 2013-10-25 Glenn Morris <rgm@gnu.org>
2659 * vc/vc.el (vc-print-log): Don't use a working revision unless
2660 one was explicitly specified. (Bug#15322)
2662 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2664 * subr.el (add-to-list): Preserve return value in compiler-macro
2667 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2669 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2670 result. Ask user to retry using '-all' flag. (Bug#15701)
2672 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2674 * emacs-lisp/smie.el: New smie-config system.
2675 (smie-config): New defcustom.
2676 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2677 (smie-config-guess, smie-config-save): New commands.
2678 (smie-config--mode-local, smie-config--buffer-local)
2679 (smie-config--trace, smie-config--modefuns): New vars.
2680 (smie-config--advice, smie-config--mode-hook)
2681 (smie-config--setter, smie-config-local, smie-config--get-trace)
2682 (smie-config--guess-value, smie-config--guess): New functions.
2683 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2684 text properties. Treat "string fence" syntax like string syntax.
2686 * progmodes/sh-script.el (sh-use-smie): Change default.
2687 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2688 (sh-var-value): Simplify by CSE.
2689 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2690 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2692 (sh-guess-basic-offset): Use cl-incf.
2693 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2695 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2697 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2700 2013-10-24 Glenn Morris <rgm@gnu.org>
2702 * Makefile.in (abs_top_srcdir): Remove.
2703 (update-subdirs): Use relative path to update-subdirs.
2705 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2707 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2708 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2709 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2710 Call unmsys--file-name before expand-file-name, not after it.
2712 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2714 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2715 (ert-test-skipped): New error.
2716 (ert-skip, ert-stats-skipped): New defuns.
2717 (ert--skip-unless): New macro.
2718 (ert-test-skipped): New struct.
2719 (ert--run-test-debugger, ert-test-result-type-p)
2720 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2721 (ert--stats-set-test-and-result, ert-char-for-test-result)
2722 (ert-string-for-test-result, ert-run-tests-batch)
2723 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2724 Handle skipped tests. (Bug#9803)
2726 2013-10-24 Glenn Morris <rgm@gnu.org>
2728 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2730 * Makefile.in (abs_top_srcdir): New, set by configure.
2731 (update-subdirs): Correct build-aux location.
2733 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2735 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2736 value, whether we could auto-deduce `backend', or not.
2738 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2739 with parameters" example. Simplify the "is it block or is it
2740 hash" check, but also make it more thorough.
2742 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2744 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2746 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2748 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2751 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2754 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2756 * progmodes/compile.el (compilation-directory-matcher)
2757 (compilation-page-delimiter):
2758 Support GNU Make-4.0 directory quoting. (Bug#15678)
2760 2013-10-23 Leo Liu <sdl.web@gmail.com>
2762 * ido.el (ido-tidy): Handle read-only text.
2764 2013-10-23 Glenn Morris <rgm@gnu.org>
2766 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2767 (emacs, compile, compile-always):
2768 Quote entities that might contain whitespace.
2769 (custom-deps, finder-data, autoloads): Use abs_lisp.
2770 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2771 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2772 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2774 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2776 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2777 Use `following-char'.
2779 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2781 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2782 * progmodes/ruby-mode.el (ruby-smie-rules):
2783 Remove corresponding workaround. Fix indentation rule of ";" so it
2784 also applies when ";" is the parent.
2786 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2788 * frame.el (display-screens, display-pixel-height)
2789 (display-pixel-width, display-mm-width, display-backing-store)
2790 (display-save-under, display-planes, display-color-cells)
2791 (display-visual-class, display-monitor-attributes-list):
2792 Mention the optional ‘display’ argument in doc strings.
2794 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2796 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2797 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2799 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2801 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2802 TODO. Add "." after " @ ".
2803 (ruby-smie--at-dot-call): New function. Checks if point at method
2804 call with explicit target.
2805 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2806 to the method name tokens when it precedes them.
2807 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2808 (ruby-smie-rules): Add rule for indentation before and after "."
2811 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2813 * textmodes/remember.el (remember-diary-extract-entries):
2816 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2819 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2821 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2822 (ruby-smie--implicit-semi-p): Add new operator chars.
2824 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2826 (ruby-smie--args-separator-p): Check that there's no newline
2827 between method call and its arguments.
2829 2013-10-20 Alan Mackenzie <acm@muc.de>
2831 Allow comma separated lists after Java "implements".
2833 * progmodes/cc-engine.el (c-backward-over-enum-header):
2835 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2836 from a "disallowed" list in enum fontification.
2838 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2840 * startup.el (default-frame-background-mode): Remove unused defvar.
2842 * progmodes/verilog-mode.el (verilog-mode): Don't set
2843 comment-indent-function globally.
2845 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2847 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2848 Move Info menu item creation to ns-win.el.
2850 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2853 * menu-bar.el: Move GNUStep specific menus...
2855 * term/ns-win.el (ns-initialize-window-system): ... to here.
2857 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2859 * simple.el (newline): Only run post-self-insert-hook when
2860 called interactively.
2862 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2864 * icomplete.el (icomplete-with-completion-tables): Add :version.
2866 2013-10-19 Alan Mackenzie <acm@muc.de>
2868 Fix fontification bugs with constructors and const.
2870 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2871 CASE 2) Remove the check for the absence of a suffix construct
2872 after a function declaration with only types (no identifiers) in
2873 the parentheses. Also, accept a function declaration with just a
2874 type inside the parentheses, if this type can be positively
2875 recognised as such, or if a prefix keyword like "explicit" nails
2876 down the construct as a declaration.
2878 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2880 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2881 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2882 the problem whereby selecting a menu item that leads to a
2883 minibuffer prompt moves the cursor out of the minibuffer window,
2884 making it hard to type at the prompt. Suggested by Stefan Monnier
2885 <monnier@iro.umontreal.ca>.
2887 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2889 * menu-bar.el: Don't make Services menu.
2891 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2893 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2894 (ffap-alist): Use ffap-c++-mode for c++-mode.
2895 (ffap-c++-path): New variable.
2896 (ffap-c++-mode): New function.
2898 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2900 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2902 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2904 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2905 introduced on 2013-09-08, which results in an infinite loop
2906 requesting a password.
2908 2013-10-18 Glenn Morris <rgm@gnu.org>
2910 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2912 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2914 Sync with upstream verilog-mode revision 1a6ecec7.
2915 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2916 (verilog-mode-release-date): Remove.
2917 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2918 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2919 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2920 (verilog-auto-tieoff-ignore-regexp)
2921 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2922 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2923 (verilog-signals-with, verilog-dir-cache-preserving)
2924 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2926 (verilog-case-fold): New option, to control case folding in
2927 regexp searches, bug597.
2928 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2929 (verilog-string-match-fold, verilog-in-paren-count)
2930 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2931 (verilog-at-close-struct-p): New functions.
2932 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2933 (verilog-forward-sexp, verilog-set-auto-endcomments):
2934 (verilog-leap-to-case-head): Handle "unique0" case.
2935 (verilog-in-constraint-re): New constant.
2936 (verilog-keywords, verilog-type-font-keywords):
2937 Add some SystemVerilog 1800-2012 keywords.
2938 (verilog-label-be): Remove unimplemented argument, bug669.
2939 (verilog-batch-execute-func): When batch expanding clear
2940 create-lockfiles to prevent spurious user locks when a file ends
2942 (verilog-calculate-indent, verilog-calc-1)
2943 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2944 (verilog-do-indent): Fix indentation of nested constraints
2946 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2947 (verilog-auto-inst-param): Use verilog-string-match-fold.
2948 (verilog-read-inst-module-matcher):
2949 Fix AUTOINST on gate primitives with #1.
2950 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2951 Reads all user-defined typed variables.
2952 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2953 (verilog-signals-matching-regexp)
2954 (verilog-signals-not-matching-regexp, verilog-auto):
2955 Respect verilog-case-fold.
2956 (verilog-diff-report): Fix line count.
2957 (verilog-auto-assign-modport): Remove unused local `modi'.
2958 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2959 better handle multidimensional arrays.
2960 Fix packed array ports misadding bit index in AUTOINST, bug637.
2961 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2962 to not double-declare existing outputs and inputs, respectively.
2963 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2964 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2965 (verilog-sk-uvm-component): New skeleton.
2966 (verilog-submit-bug-report): Add verilog-case-fold,
2967 remove verilog-mode-release-date.
2969 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2971 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2974 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2976 * textmodes/remember.el (remember): Set buffer-offer-save in
2977 remember buffers (bug#13566).
2979 2013-10-18 Daniel Colascione <dancol@dancol.org>
2981 When evaluating forms in ielm, direct standard output to ielm
2982 buffer. Add new ielm-return-for-effect command. Remove trailing
2983 whitespace throughout.
2985 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2986 (ielm-return-for-effect): New command.
2987 (ielm-send-input): Accept optional `for-effect' parameter.
2988 (ielm-eval-input): Accept optional `for-effect' parameter.
2989 Bind `standard-output' to stream we create using
2990 `ielm-standard-output-impl'. Suppress printing result when
2992 (ielm-standard-output-impl): New function.
2993 (inferior-emacs-lisp-mode): Explain new features in documentation.
2995 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2999 * net/tramp.el (tramp-debug-message): Do not check for connection
3001 (tramp-message): Use "vector" connection property.
3003 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3004 (tramp-equal-remote, tramp-eshell-directory-change)
3005 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3006 (tramp-adb-handle-rename-file)
3007 * net/tramp-cmds.el (tramp-list-remote-buffers)
3008 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3009 * net/tramp-compat.el (tramp-compat-process-running-p)
3010 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3011 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3012 (tramp-gvfs-handle-rename-file)
3013 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3014 (tramp-set-file-uid-gid)
3015 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3016 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3019 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3020 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3021 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3022 (tramp-gw-open-network-stream): Suppress unrelated traces.
3024 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3025 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3026 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3027 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3028 connection property.
3030 * net/tramp-cache.el (top): Suppress traces when reading
3033 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3034 Refactor common code. Improve debug message.
3035 (tramp-maybe-open-connection)
3036 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3037 connection buffer too early.
3039 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3040 from `tramp-smb-actions-with-acl'.
3041 (tramp-smb-actions-set-acl): New defconst.
3042 (tramp-smb-handle-copy-directory)
3043 (tramp-smb-action-get-acl): New defun, renamed from
3044 `tramp-smb-action-with-acl'.
3045 (tramp-smb-action-set-acl): New defun.
3046 (tramp-smb-handle-set-file-acl): Rewrite.
3048 2013-10-17 Glenn Morris <rgm@gnu.org>
3050 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3052 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3054 * skeleton.el (skeleton-newline): Remove.
3055 (skeleton-internal-1): Use (insert "\n") instead.
3057 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3060 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3061 forward-sexp-function while we redo its job (bug#15613).
3063 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3065 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3066 represented by lists.
3068 2013-10-16 Glenn Morris <rgm@gnu.org>
3070 * tmm.el (tmm--history): New dynamic variable.
3071 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3073 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3075 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3076 (tramp-smb-errors): Add error messages.
3077 (tramp-smb-actions-with-acl): New defconst.
3078 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3079 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3080 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3081 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3082 (tramp-smb-get-stat-capability): Fix tests.
3084 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3086 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3089 2013-10-16 Glenn Morris <rgm@gnu.org>
3091 * ansi-color.el (ansi-color-drop-regexp):
3092 Add 1J, 1K, 2K. (Bug#15617)
3094 * files.el (hack-local-variables--warned-lexical): New.
3095 (hack-local-variables):
3096 Warn about misplaced lexical-binding. (Bug#15616)
3098 * net/eww.el (eww-render): Always set eww-current-url,
3099 and update header line. (Bug#15622)
3100 (eww-display-html): ... Rather than just doing it here.
3102 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3104 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3105 menu navigations commands.
3107 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3109 * progmodes/subword.el (subword-capitalize): Be careful when
3110 the search for [[:alpha:]] fails (bug#15580).
3112 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3114 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3115 to commands that scroll the menu.
3117 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3119 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3120 Handle methods ending with `?' and `!'.
3122 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3124 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3125 `japanese-cp932' to `cp932' to fix the problem where saving a
3126 source file written in Shift_JIS twice would end up having
3127 `coding: japanese-cp932' which Ruby could not recognize.
3128 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3129 in `ruby-encoding-map'.
3130 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3131 doesn't need to be explicitly declared in magic comment.
3132 (ruby-encoding-map): Add type declaration for better customize UI.
3134 2013-10-13 Glenn Morris <rgm@gnu.org>
3136 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3137 Occur buffers are read-only. http://bugs.debian.org/720775
3139 * emacs-lisp/authors.el (authors-fixed-entries):
3140 Comment out old alpha stuff.
3142 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3144 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3145 to `after-save-hook' instead of `before-save-hook'.
3146 (ruby-mode-set-encoding): Use the value of coding system used to
3147 write the file. Call `basic-save-buffer-1' after modifying the
3150 2013-10-13 Alan Mackenzie <acm@muc.de>
3152 Fix indentation/fontification of Java enum with
3153 "implements"/generic.
3155 * progmodes/cc-engine.el (c-backward-over-enum-header):
3156 Extracted from the three other places and enhanced to handle generics.
3157 (c-inside-bracelist-p): Uses new function above.
3158 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3160 (c-font-lock-enum-tail): Uses new function above.
3162 2013-10-13 Kenichi Handa <handa@gnu.org>
3164 * international/mule-cmds.el (select-safe-coding-system): Remove a
3165 superfluous condition in chekcing whether a coding system is safe
3168 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3170 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3172 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3174 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3176 2013-10-13 Glenn Morris <rgm@gnu.org>
3178 * menu-bar.el (menu-bar-update-buffers):
3179 Unify Buffers menu prompt string. (Bug#15576)
3181 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3183 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3185 (authors-fixed-entries): Use accented form of name.
3187 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3189 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3190 method calls (bug#15594).
3191 (ruby-smie--args-separator-p): New function.
3192 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3193 recognize paren-free method calls.
3195 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3196 internals of universal-argument.
3198 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3200 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3201 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3202 dropped menu on second mouse click on the menu bar.
3204 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3206 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3207 (explicit-shell-file-name): Declare.
3208 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3209 (sh-completion-at-point-function): New function.
3211 (sh-smie--keyword-p): Remove unused argument.
3212 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3214 (sh-set-shell): Always setup SMIE, even if we use the
3215 old indentation code.
3217 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3219 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3221 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3222 predicate would return nil are almost non-existent.
3223 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3225 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3226 cache also after commands that modify the buffer but don't move
3229 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3231 * env.el (substitute-env-in-file-name): New function.
3232 (substitute-env-vars): Extend the meaning of the optional arg.
3234 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3236 * term/w32-win.el (dynamic-library-alist): Define separate lists
3237 of GIF DLLs for versions before and after 5.0.0 of giflib.
3240 2013-10-10 João Távora <joaotavora@gmail.com>
3242 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3243 not locked, use last revision and current source as
3244 defaults. (Bug#15569)
3246 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3248 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3251 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3253 * window.el (pop-to-buffer-same-window): Fix doc-string.
3256 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3258 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3260 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3262 * calendar/icalendar.el (icalendar-import-file):
3263 Fix interactive spec. (Bug#15482)
3265 2013-10-10 Glenn Morris <rgm@gnu.org>
3267 * desktop.el (desktop-save): Default to saving in .emacs.d,
3268 since PWD is no longer in desktop-path by default. (Bug#15319)
3270 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3271 now that text mode has a menu with the same entry.
3272 (menu-bar-text-mode-auto-fill): Remove now unused func.
3273 * textmodes/text-mode.el (text-mode-map):
3274 Use auto-fill help text from menu-bar.el.
3276 2013-10-10 John Anthony <john@jo.hnanthony.com>
3278 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3280 2013-10-09 Juri Linkov <juri@jurta.org>
3282 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3283 instead of this-command-keys. Add universal-argument-more and
3284 universal-argument-minus to the list of prefix commands. (Bug#15568)
3286 2013-10-09 Glenn Morris <rgm@gnu.org>
3288 * vc/vc-svn.el (vc-svn-create-repo):
3289 Expand paths in file://... url. (Bug#15446)
3291 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3293 (authors): Remove unused local variables.
3295 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3297 * profiler.el: Create a more coherent calltree from partial backtraces.
3298 (profiler-format): Hide the tail with `invisible' so that C-s can still
3299 find the hidden elements.
3300 (profiler-calltree-depth): Don't recurse so enthusiastically.
3301 (profiler-function-equal): New hash-table-test.
3302 (profiler-calltree-build-unified): New function.
3303 (profiler-calltree-build): Use it.
3304 (profiler-report-make-name-part): Indent the calltree less.
3305 (profiler-report-mode): Add visibility specs for profiler-format.
3306 (profiler-report-expand-entry, profiler-report-toggle-entry):
3307 Expand the whole subtree when provided with a prefix arg.
3309 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3311 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3313 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3314 hanging iuwu-mod token.
3315 (ruby-smie--forward-token): Do not include a dot after a token in
3317 (ruby-smie--backward-token): Likewise.
3319 2013-10-08 Juri Linkov <juri@jurta.org>
3321 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3322 to isearch-other-control-char.
3323 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3324 and isearch-post-command-hook to post-command-hook.
3325 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3326 and isearch-post-command-hook from post-command-hook.
3327 (isearch-unread-key-sequence)
3328 (isearch-reread-key-sequence-naturally)
3329 (isearch-lookup-scroll-key, isearch-other-control-char)
3330 (isearch-other-meta-char): Remove functions.
3331 (isearch-pre-command-hook, isearch-post-command-hook):
3332 New functions based on isearch-other-meta-char rewritten
3333 relying on the new behavior of overriding-terminal-local-map
3334 that does not replace the local keymaps any more. (Bug#15200)
3336 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3338 Support menus on text-mode terminals.
3339 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3342 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3344 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3345 Move here from mouse.el.
3346 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3348 (tty-menu-navigation-map): New map for TTY menu navigation.
3350 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3352 * frame.el (display-mouse-p): Report text-mode mouse as available
3354 (display-popup-menus-p): Report availability if mouse is
3355 available; don't condition on window-system.
3357 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3358 (tty-menu-selected-face): New faces.
3360 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3362 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3363 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3364 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3365 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3367 (lisp-mode-variables): New `elisp' argument.
3368 (emacs-lisp-mode): Use it.
3369 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3370 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3372 * indent.el: Use lexical-binding.
3373 (indent-region): Add progress reporter.
3374 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3376 (indent--next-tab-stop): New function to implement this behavior.
3377 (tab-to-tab-stop, move-to-tab-stop): Use it.
3379 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3381 * indent.el (indent-rigidly--current-indentation): New function.
3382 (indent-rigidly-map): New var.
3383 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3385 2013-10-08 Bastien Guerry <bzg@gnu.org>
3387 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3389 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3391 * progmodes/perl-mode.el: Use lexical-binding.
3392 Remove redundant :group args.
3393 (perl-nochange): Change default to be closer to other major modes's
3395 (perl-indent-line): Don't consider text on current line as a
3396 valid beginning of function from which to indent.
3398 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3399 with more than one argument (bug#15538).
3401 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3403 * vc/pcvs.el: Use lexical-binding.
3404 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3405 environment of `eval'.
3406 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3407 than a list of expressions. Adjust callers.
3408 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3410 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3412 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3413 case of the dot in a chained method call being on the following line.
3415 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3417 * electric.el (electric-indent-inhibit): New var.
3418 (electric-indent-post-self-insert-function): Use it.
3419 * progmodes/python.el (python-mode): Set it.
3421 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3424 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3426 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3427 (css-mode): Use electric-indent-chars.
3429 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3430 (font-lock-beg, font-lock-end): Move before first use.
3431 (nxml-mode): Use syntax-propertize-function.
3432 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3433 (nxml-extend-after-change-region): Remove.
3434 * nxml/xmltok.el: Use lexical-binding.
3435 (xmltok-save): Use `declare'.
3436 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3437 * nxml/nxml-util.el: Use lexical-binding.
3438 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3440 * nxml/nxml-ns.el: Use lexical-binding.
3441 (nxml-ns-save): Use `declare'.
3442 (nxml-ns-prefixes-for): Avoid add-to-list.
3443 * nxml/rng-match.el: Use lexical-binding.
3444 (rng--ipattern): Use cl-defstruct.
3445 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3446 (rng-cons-group-after, rng-subst-group-after)
3447 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3448 Use closures instead of `(lambda...).
3450 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3452 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3455 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3456 Use `tramp-handle-insert-file-contents'.
3457 (tramp-gvfs-handle-insert-file-contents): Remove function.
3459 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3460 Use `save-restriction' in order to keep markers.
3462 * net/trampver.el: Update release number.
3464 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3466 * progmodes/compile.el (compilation-parse-errors):
3467 Use compilation--put-prop.
3468 (compilation--ensure-parse): Check compilation-multiline.
3470 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3472 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3475 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3477 * progmodes/ruby-mode.el: Fix recently added tests.
3478 (ruby-smie-grammar): Add - and +.
3479 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3480 (ruby-smie--backward-id): New functions.
3481 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3482 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3485 2013-10-07 Leo Liu <sdl.web@gmail.com>
3487 * register.el (register-preview-delay)
3488 (register-preview-functions): New variables.
3489 (register-read-with-preview, register-preview)
3490 (register-describe-oneline): New functions.
3491 (point-to-register, window-configuration-to-register)
3492 (frame-configuration-to-register, jump-to-register)
3493 (number-to-register, view-register, insert-register)
3494 (copy-to-register, append-to-register, prepend-to-register)
3495 (copy-rectangle-to-register): Use register-read-with-preview to
3496 read register. (Bug#15525)
3498 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3500 * net/network-stream.el (network-stream-open-starttls): Don't add
3501 --insecure if it's already present, because that gnutls-cli
3502 rejects getting that parameter twice.
3504 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3506 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3509 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3511 * newcomment.el (comment-use-global-state): Change default value
3512 to t, mark obsolete (Bug#15251).
3513 (comment-beginning): In addition to `comment-to-syntax', check the
3514 value of `comment-use-global-state'.
3516 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3518 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3519 (ruby-comment-column): Follow the global default, by default.
3520 (ruby-smie-grammar): Add assignment syntax.
3521 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3522 open-paren, a comma, or a \.
3523 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3524 and line continuations.
3525 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3526 followed by implicit semi-colons. Add rule for string concatenation
3527 and for indentation at BOB.
3528 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3530 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3531 calling next-sexp, since next-token may have skipped chars which
3532 next-sexp doesn't know should be skipped!
3534 2013-10-05 Leo Liu <sdl.web@gmail.com>
3536 * progmodes/octave.el (octave-send-region):
3537 Call compilation-forget-errors.
3539 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3541 * vc/vc-svn.el (vc-svn-find-admin-dir):
3542 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3543 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3544 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3545 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3547 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3549 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3551 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3553 * subr.el (read-passwd): Hide chars even when called within a context
3554 where after-change-functions is disabled (bug#15501).
3555 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3556 until we removed ourself from overriding-terminal-local-map.
3558 2013-10-04 Leo Liu <sdl.web@gmail.com>
3560 * progmodes/octave.el (inferior-octave-mode):
3561 Call compilation-forget-errors.
3563 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3565 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3567 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3569 * net/secrets.el (secrets-create-collection): Add optional
3570 argument ALIAS. Use proper Label keyword. Append ALIAS as
3571 dbus-call-method argument. (Bug#15516)
3573 2013-10-04 Leo Liu <sdl.web@gmail.com>
3575 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3576 (inferior-octave-compilation-font-lock-keywords): New variables.
3577 (compilation-error-regexp-alist)
3578 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3579 (inferior-octave-mode): Use compilation-shell-minor-mode.
3581 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3583 * minibuffer.el (completion--replace): Be careful that `end' might be
3586 2013-10-03 Daiki Ueno <ueno@gnu.org>
3588 Add support for package signature checking.
3589 * emacs-lisp/package.el (url-http-file-exists-p)
3590 (epg-make-context, epg-context-set-home-directory)
3591 (epg-verify-string, epg-context-result-for)
3592 (epg-signature-status, epg-signature-to-string)
3593 (epg-check-configuration, epg-configuration)
3594 (epg-import-keys-from-file): Declare.
3595 (package-check-signature): New user option.
3596 (package-unsigned-archives): New user option.
3597 (package-desc): Add `signed' field.
3598 (package-load-descriptor): Set `signed' field if .signed file exists.
3599 (package--archive-file-exists-p): New function.
3600 (package--check-signature): New function.
3601 (package-install-from-archive): Check package signature.
3602 (package--download-one-archive): Check archive signature.
3603 (package-delete): Remove .signed file.
3604 (package-import-keyring): New command.
3605 (package-refresh-contents): Import default keyring.
3606 (package-desc-status): Add "unsigned" status.
3607 (describe-package-1, package-menu--print-info)
3608 (package-menu-mark-delete, package-menu--find-upgrades)
3609 (package-menu--status-predicate): Support "unsigned" status.
3611 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3613 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3614 the new compilation scheme using the new byte-codes.
3616 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3617 (byte-pophandler): New byte codes.
3618 (byte-goto-ops): Adjust accordingly.
3619 (byte-compile--use-old-handlers): New var.
3620 (byte-compile-catch): Use new byte codes depending on
3621 byte-compile--use-old-handlers.
3622 (byte-compile-condition-case--old): Rename from
3623 byte-compile-condition-case.
3624 (byte-compile-condition-case--new): New function.
3625 (byte-compile-condition-case): New function that dispatches depending
3626 on byte-compile--use-old-handlers.
3627 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3630 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3631 Optimize under `condition-case' and `catch' if
3632 byte-compile--use-old-handlers is nil.
3633 (disassemble-offset): Handle new bytecodes.
3635 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3637 * subr.el (error): Use `declare'.
3638 (decode-char, encode-char): Use advertised-calling-convention instead
3639 of the docstring to discourage use of the `restriction' arg.
3641 2013-10-03 Daiki Ueno <ueno@gnu.org>
3643 * epg.el (epg-verify-file): Add a comment saying that it does not
3644 notify verification error as a return value nor a signal.
3645 (epg-verify-string): Ditto.
3647 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3649 * progmodes/compile.el (compilation-start): Try globbing the arg to
3652 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3654 Sync with Tramp 2.2.8.
3656 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3657 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3658 * net/trampver.el: Update release number.
3660 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3662 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3663 and default-process-coding-system for darwin only.
3665 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3667 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3669 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3671 * vc/vc-git.el (vc-git-grep): Disable pager.
3673 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3675 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3676 Use :url instead of :homepage, as per
3677 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3679 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3680 non-nil, use `syntax-ppss' (Bug#15251).
3682 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3684 * progmodes/octave.el (inferior-octave-startup-file):
3685 Prefer ~/.emacs.d/init_octave.m.
3687 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3689 * emacs-lisp/package.el (package-desc-from-define):
3690 Accept additional arguments as plist, convert them to an alist and store
3691 them in the `extras' slot.
3692 (package-generate-description-file): Convert extras alist back to
3693 plist and append to the `define-package' form arguments.
3694 (package--alist-to-plist): New function.
3695 (package--ac-desc): Add `extras' slot.
3696 (package--add-to-archive-contents): Check if the archive-contents
3697 vector is long enough, and if it is, pass its `extras' slot value
3698 to `package-desc-create'.
3699 (package-buffer-info): Call `lm-homepage', pass the returned value
3700 to `package-desc-from-define'.
3701 (describe-package-1): Render the homepage button (Bug#13291).
3703 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3704 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3706 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3708 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3709 and default-process-coding-system to utf-8-unix (Bug#15402).
3711 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3713 * subr.el (looking-back): Do not recommend using looking-back.
3715 2013-09-28 Alan Mackenzie <acm@muc.de>
3717 Fix indentation/fontification of Java enum with "implements".
3719 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3720 regexp which matches "implements", etc., in Java.
3721 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3722 specifier clauses coming after "enum".
3723 * progmodes/cc-fonts.el (c-font-lock-declarations)
3724 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3727 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3729 * faces.el (region): Change ns_selection_color to
3730 ns_selection_fg_color, add ns_selection_bg_color.
3732 2013-09-28 Leo Liu <sdl.web@gmail.com>
3734 * progmodes/octave.el (inferior-octave-completion-table)
3735 (inferior-octave-completion-at-point): Minor tweaks.
3737 * textmodes/ispell.el (ispell-lookup-words): Rename from
3738 lookup-words. (Bug#15460)
3739 (lookup-words): Obsolete.
3740 (ispell-complete-word, ispell-command-loop): All uses changed.
3742 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3744 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3745 (octave-mode-menu): Add octave-send-buffer.
3746 (octave-send-buffer): New function.
3748 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3750 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3752 (octave-mode-menu): Add octave-lookfor.
3753 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3755 (octave-lookfor): New function.
3757 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3759 * emacs-lisp/cl-macs.el:
3760 (cl--loop-destr-temps): Remove.
3761 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3763 (cl--loop-set-iterator-function): New function.
3764 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3765 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3766 Bind `it' with `let' instead of substituting it with `cl-subst'.
3767 (cl--unused-var-p): New function.
3768 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3769 Eliminate some unused variable warnings (bug#15326).
3771 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3773 * doc-view.el (doc-view-scale-reset): Rename from
3774 `doc-view-reset-zoom-level'.
3775 (doc-view-scale-adjust): New command.
3776 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3777 `doc-view-scale-adjust'.
3779 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3781 * doc-view.el (doc-view-reset-zoom-level): New command.
3782 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3783 zoom commands (bug#15466).
3785 2013-09-26 Kenichi Handa <handa@gnu.org>
3787 * international/quail.el (quail-help): Make it not a command.
3789 2013-09-26 Leo Liu <sdl.web@gmail.com>
3791 * minibuffer.el (completion-all-sorted-completions): Make args
3792 optional as they are.
3794 2013-09-25 Daniel Colascione <dancol@dancol.org>
3796 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3797 specs are and that they're not evaluated.
3799 2013-09-24 Sam Steingold <sds@gnu.org>
3801 * midnight.el (clean-buffer-list-kill-regexps)
3802 (clean-buffer-list-kill-buffer-names): Update for the new Man
3803 buffer naming which includes the object name.
3805 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3807 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3808 (eshell-parse-command, eshell-parse-pipeline): Use it since
3809 eshell-separate-commands requires a dynamic scoped var.
3810 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3812 2013-09-23 Leo Liu <sdl.web@gmail.com>
3814 * autoinsert.el (auto-insert-alist): Make the value of
3815 lexical-binding match its file setting.
3817 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3819 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3821 * autoarg.el (autoarg-kp-digit-argument):
3822 * electric.el (Electric-command-loop):
3823 * kmacro.el (kmacro-step-edit-insert):
3824 Do not set universal-argument-num-events.
3826 2013-09-22 Leo Liu <sdl.web@gmail.com>
3828 * files.el (interpreter-mode-alist): Add octave.
3830 2013-09-21 Alan Mackenzie <acm@muc.de>
3832 C++: fontify identifier in declaration following "public:" correctly.
3833 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3834 to match "public", etc.
3835 (c-decl-prefix-re): Add ":" into the C++ value.
3836 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3837 bit. Add a check for a ":" preceded by "public", etc.
3839 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3841 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3842 recognized by GDB 7.5 and later.
3844 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3846 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3848 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3850 * subr.el (internal--call-interactively): New const.
3851 (called-interactively-p): Use it (bug#3984).
3853 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3855 * vc/pcvs.el (cvs-mode-ignore):
3856 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3857 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3859 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3861 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3862 (eshell-ls-orig-insert-directory): Remove.
3863 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3864 (eshell-ls-use-in-dired): Use advice-add/remove.
3865 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3866 Add `orig-fun' arg for use in :around advice.
3867 Make it check (redundantly) eshell-ls-use-in-dired.
3869 2013-09-19 Glenn Morris <rgm@gnu.org>
3871 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3873 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3875 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3877 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3879 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3880 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3881 (tramp-get-remote-python): New defuns.
3882 (tramp-get-remote-uid-with-perl)
3883 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3884 contributed by yary <not.com@gmail.com> (tiny change).
3885 (tramp-get-remote-uid-with-python)
3886 (tramp-get-remote-gid-with-python): New defuns. Python code
3887 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3888 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3890 2013-09-19 Glenn Morris <rgm@gnu.org>
3892 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3894 * eshell/em-unix.el (eshell-remove-entries):
3895 Rename argument to avoid name-clash with global `top-level'.
3897 * eshell/esh-proc.el (eshell-kill-process-function):
3898 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3899 (eshell-reset-after-proc): Remove unused arg `proc'.
3901 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3902 (directory-files-and-attributes): Mark unused arg.
3904 * eshell/em-unix.el (eshell-remove-entries):
3905 Remove unused arg `path'. Update callers.
3907 * eshell/em-hist.el (eshell-hist-parse-arguments):
3908 Remove unused arg `silent'. Update callers.
3910 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3911 Fix (f)boundp mix-up.
3913 * eshell/em-smart.el (eshell-smart-scroll-window)
3914 (eshell-disable-after-change):
3915 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3917 2013-09-18 Alan Mackenzie <acm@muc.de>
3919 Fix fontification of type when followed by "const".
3920 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3921 "known" types from fontification.
3923 2013-09-18 Glenn Morris <rgm@gnu.org>
3925 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3926 (chart-face-list): Drop Emacsen without display-color-p.
3928 * net/eww.el (libxml-parse-html-region): Declare.
3929 (eww-display-html): Explicit error if no libxml2 support.
3931 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3933 * image.el (image-type-from-buffer, image-multi-frame-p):
3934 Remove --without-x warning/error.
3936 * mouse.el (mouse-yank-primary):
3937 * term.el (term-mouse-paste):
3938 Reorder to silence --without-x compilation.
3940 * mpc.el (doc-view-mode): Silence --without-x compilation.
3942 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3943 Silence --without-x compilation.
3945 * progmodes/gud.el (gud-find-file, gud-mode):
3946 Silence --without-x compilation.
3947 (tooltip-mode): Declare.
3949 * wdired.el (dired-backup-overwrite): Remove declaration.
3950 (wdired-mode-map): Add doc string.
3952 * custom.el (x-get-resource): Declare.
3954 * eshell/em-glob.el (ange-cache):
3955 * eshell/em-unix.el (ange-cache): Declare.
3957 * faces.el (x-display-list, x-open-connection, x-get-resource):
3960 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3961 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3964 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3966 * net/gnutls.el (gnutls-log-level): Declare.
3968 * net/shr.el (image-size, image-animate): Declare.
3970 * simple.el (font-info): Declare.
3972 * subr.el (x-popup-dialog): Declare.
3974 * term/common-win.el (x-select-enable-primary)
3975 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3978 * term/ns-win.el (x-handle-args): Declare.
3980 * term/x-win.el (x-select-enable-clipboard): Declare.
3982 * term/w32-win.el (create-default-fontset): Declare.
3984 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3987 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3988 (fit-frame-to-buffer): Explicit error if --without-x.
3989 (mouse-autoselect-window-select): Silence compiler.
3991 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3993 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3994 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3995 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3996 * eshell/esh-util.el (eshell-sublist):
3997 Remove unused local variables.
3999 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4001 * textmodes/two-column.el: Make 2C-split work for --without-x.
4002 (scroll-bar-columns): Autoload.
4003 (top-level): Require fringe when compiling.
4005 2013-09-18 Leo Liu <sdl.web@gmail.com>
4007 * subr.el (add-hook): Robustify to handle closure as well.
4009 2013-09-17 Glenn Morris <rgm@gnu.org>
4011 * simple.el (messages-buffer-mode-map): Unbind "g".
4013 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4015 * help-mode.el (help-mode-finish): Use derived-mode-p.
4016 Remove obsolete highlighting.
4018 * play/life.el (life-mode): Use define-derived-mode. Derive from
4020 (life): Let-bind inhibit-read-only.
4021 (life-setup): Avoid `setq'. Use `life-mode'.
4023 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4024 which should not be needed any more.
4025 (package-menu-refresh, package-menu-describe-package): Use user-error.
4027 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4028 (eshell-post-rewrite-command-hook): Make obsolete.
4029 (eshell-parse-command): Simplify.
4030 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4031 (eshell--cmd): Declare.
4032 (eshell-parse-pipeline): Remove unused var `final-p'.
4033 Pass a dynvar to eshell-post-rewrite-command-hook.
4034 Implement the new eshell-post-rewrite-command-function.
4035 (eshell-invoke-directly): Remove unused arg `input'.
4036 * eshell/esh-io.el (eshell-io-initialize):
4037 Use eshell-post-rewrite-command-function (bug#15399).
4038 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4039 adjust to new calling convention.
4040 (eshell-create-handles): Rename args to avoid clashing with dynvar
4043 2013-09-17 Glenn Morris <rgm@gnu.org>
4045 * simple.el (messages-buffer-mode): New major mode.
4046 (messages-buffer): New function.
4047 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4048 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4049 (ert-run-test): Use `messages-buffer' function.
4050 (ert--force-message-log-buffer-truncation): Ignore read-only.
4051 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4052 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4054 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4056 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4058 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4060 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4062 * icomplete.el (icomplete-in-buffer): New var.
4063 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4064 vars and replace them with functions.
4065 (icomplete-minibuffer-setup): Adjust accordingly.
4066 (icomplete--completion-table, icomplete--completion-predicate)
4067 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4069 (icomplete-forward-completions, icomplete-backward-completions)
4070 (icomplete-simple-completing-p, icomplete-exhibit)
4071 (icomplete-completions): Use them.
4072 (icomplete--in-region-buffer): New var.
4073 (icomplete--in-region-setup): New function.
4074 (icomplete-mode): Use it.
4076 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4078 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4079 return args and options.
4080 (eshell-eval-using-options): Use the new return value of
4081 eshell--do-opts to set the options's vars in their scope.
4082 (eshell--set-option): Rename from eshell-set-option.
4084 (eshell--process-option): Rename from eshell-process-option.
4086 (eshell--process-args): Use an `opt-vals' alist to store the options's
4087 values during their processing and return them additionally to the
4090 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4092 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4093 continuation character an operator, as far as indentation is
4094 concerned (Bug#15369).
4096 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4098 * window.el (window--state-put-2): Don't process buffer state
4099 when buffer doesn't exist any more (Bug#15382).
4101 2013-09-15 Glenn Morris <rgm@gnu.org>
4103 * eshell/em-unix.el (eshell/rm):
4104 Make -f ignore missing files. (Bug#15373)
4106 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4107 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4108 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4110 2013-09-14 Glenn Morris <rgm@gnu.org>
4112 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4114 2013-09-13 Glenn Morris <rgm@gnu.org>
4116 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4117 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4119 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4121 * frame.el (x-focus-frame): Mark as declared in frame.c.
4123 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4125 * ls-lisp.el: Use advice-add.
4126 (original-insert-directory): Remove.
4127 (ls-lisp--insert-directory): Rename from insert-directory; add
4128 `orig-fun' argument.
4129 (insert-directory): Advise.
4131 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4133 * term.el (term-emulate-terminal): Decode the command string
4134 before passing it to term-command-hook. (Bug#15337)
4136 2013-09-13 Glenn Morris <rgm@gnu.org>
4138 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4140 * eshell/esh-ext.el (eshell-search-path): Declare.
4142 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4143 Otherwise an error occurs if eshell-dirs module not loaded.
4145 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4147 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4149 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4150 `tramp-check-proper-host'. Check for a valid method name.
4152 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4153 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4154 * net/tramp-sh.el (tramp-maybe-open-connection):
4155 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4157 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4158 also for hash values.
4160 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4162 * term/ns-win.el (parameters): Don't declare as dynamic.
4163 (before-make-frame-hook): Don't add ineffective function.
4165 * eshell/*.el: Use lexical-binding (bug#15231).
4167 2013-09-12 Kenichi Handa <handa@gnu.org>
4169 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4171 2013-09-12 Glenn Morris <rgm@gnu.org>
4173 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4174 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4176 * subr.el (do-after-load-evaluation): Also give compiler warnings
4177 when obsolete files are used (except by obsolete files).
4179 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4180 in the status output, assume `filename' is the first. (Bug#15322)
4182 * vc/vc.el (vc-deduce-fileset): Doc fix.
4184 * calc/calc-help.el (Info-goto-node):
4185 * progmodes/cperl-mode.el (Info-find-node):
4186 * vc/ediff.el (Info-goto-node): Update declarations.
4188 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4190 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4191 (vc-bzr-pull): Require vc-dispatcher.
4192 * vc/vc-git.el (vc-compilation-mode): Declare.
4193 (vc-git-pull): Require vc-dispatcher.
4195 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4197 * progmodes/octave.el (help-button-action): Declare.
4199 * shell.el (shell-directory-tracker): Output error as a message
4200 rather than just returning it as a string.
4201 (shell-process-pushd): Remove useless use of message.
4203 * dframe.el (dframe-timer-fn):
4204 * files.el (dir-locals-read-from-file):
4205 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4207 * reveal.el (reveal-post-command):
4208 * saveplace.el (load-save-place-alist-from-file):
4209 * shell.el (shell-resync-dirs):
4210 * w32-common-fns.el (x-get-selection-value):
4211 * emacs-lisp/copyright.el (copyright-find-copyright):
4212 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4213 * emulation/tpu-edt.el (tpu-copy-keyfile):
4214 * play/bubbles.el (bubbles--mark-neighbourhood):
4215 * progmodes/executable.el
4216 (executable-make-buffer-file-executable-if-script-p):
4217 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4219 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4221 Cleanup Eshell to rely less on dynamic scoping.
4222 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4223 last-value, and ext-command here. Bind `args' closer to `body'.
4224 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4225 (eshell--args): Declare new dynamic var.
4226 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4227 last-value, and ext-command. Pass `args' to `body'.
4228 (eshell-process-args): Bind eshell--args.
4229 (eshell-set-option): Use eshell--args.
4230 * eshell/eshell.el (eshell): Use derived-mode-p.
4231 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4232 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4233 (eshell-glob-function): Declare.
4234 * eshell/esh-util.el: Require cl-lib.
4235 (eshell-read-hosts-file): Avoid add-to-list.
4236 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4238 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4240 (eshell/diff): Remove unused var `err'.
4241 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4243 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4244 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4246 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4247 Move declaration before first use.
4248 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4249 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4252 2013-09-12 Glenn Morris <rgm@gnu.org>
4254 * term/ns-win.el (global-map): Remove binding for ispell-next,
4255 deleted 1999-05-29. (Bug#15357)
4257 2013-09-11 Glenn Morris <rgm@gnu.org>
4259 * echistory.el (electric-command-history): Remove call to deleted func.
4261 * play/landmark.el (landmark-mode): Fix typos.
4263 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4264 Check cvs-sort-ignore-file is bound.
4266 * savehist.el: No need for cl when compiling on Emacs.
4268 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4270 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4272 (eshell-self-insert-command, eshell-send-invisible):
4273 Remove unused argument.
4274 (eshell-handle-control-codes): Remove unused var `orig'.
4275 Avoid delete-backward-char.
4277 * files.el (set-auto-mode): Simplify a bit further.
4279 2013-09-11 Glenn Morris <rgm@gnu.org>
4281 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4282 (set-auto-mode): Don't regexp-quote elements.
4283 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4284 * progmodes/cc-mode.el (interpreter-mode-alist):
4285 * progmodes/ruby-mode.el (interpreter-mode-alist):
4286 Revert previous change.
4288 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4290 * play/snake.el (snake-mode):
4291 * play/mpuz.el (mpuz-mode):
4292 * play/landmark.el (lm-mode):
4293 * play/blackbox.el (blackbox-mode):
4294 * play/5x5.el (5x5-mode):
4295 * obsolete/options.el (Edit-options-mode):
4296 * net/quickurl.el (quickurl-list-mode):
4297 * net/newst-treeview.el (newsticker-treeview-mode):
4298 * mail/rmailsum.el (rmail-summary-mode):
4299 * mail/mspools.el (mspools-mode):
4300 * locate.el (locate-mode):
4301 * ibuffer.el (ibuffer-mode):
4302 * emulation/ws-mode.el (wordstar-mode):
4303 * emacs-lisp/debug.el (debugger-mode):
4304 * array.el (array-mode):
4305 * net/eudc.el (eudc-mode): Use define-derived-mode.
4306 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4307 Move initialization into declaration.
4308 (mairix-searches-mode): Use define-derived-mode.
4309 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4310 (eudc-edit-hotlist): Use dolist.
4311 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4312 (Man-mode): Use define-derived-mode.
4313 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4314 (Info-edit-mode): Use define-derived-mode.
4315 (Info-cease-edit): Use Info-mode.
4316 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4318 (eshell-mode): Use define-derived-mode.
4319 * chistory.el (command-history-mode-map): Rename from
4320 command-history-map.
4321 (command-history-mode): Use define-derived-mode.
4322 (Command-history-setup): Remove function.
4323 * calc/calc.el (calc-trail-mode-map): New var.
4324 (calc-trail-mode): Use define-derived-mode.
4325 (calc-trail-buffer): Set calc-main-buffer manually.
4326 * bookmark.el (bookmark-insert-annotation): New function.
4327 (bookmark-edit-annotation): Use it.
4328 (bookmark-edit-annotation-mode): Make it a proper major mode.
4329 (bookmark-send-edited-annotation): Use derived-mode-p.
4330 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4331 closer to its ideal place. Use \' to match EOS.
4333 * profiler.el (profiler-calltree-find): Use function-equal.
4335 2013-09-10 Glenn Morris <rgm@gnu.org>
4337 * files.el (interpreter-mode-alist): Convert to regexps.
4338 (set-auto-mode): Adapt for this. (Bug#15306)
4339 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4340 Comment out unused variable.
4341 * progmodes/cc-mode.el (interpreter-mode-alist):
4342 * progmodes/python.el (interpreter-mode-alist):
4343 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4344 * progmodes/sh-script.el (sh-set-shell):
4345 No longer use interpreter-mode-alist to get list of shells.
4347 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4349 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4351 * simple.el: Use set-temporary-overlay-map for universal-argument.
4352 (universal-argument-map): Don't use default-bindings (bug#15317).
4353 Bind switch-frame explicitly. Replace universal-argument-minus with
4354 a conditional binding.
4355 (universal-argument-num-events, saved-overriding-map): Remove.
4356 (restore-overriding-map): Remove.
4357 (universal-argument--mode): Rename from save&set-overriding-map,
4359 (universal-argument, universal-argument-more, negative-argument)
4360 (digit-argument): Adjust accordingly.
4361 (universal-argument-minus): Remove.
4362 (universal-argument-other-key): Remove.
4364 * subr.el (with-demoted-errors): Add `format' argument.
4366 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4368 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4369 `tramp-cleanup-connection'.
4371 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4372 parameters KEEP-DEBUG and KEEP-PASSWORD.
4374 * net/tramp.el (tramp-file-name-handler):
4375 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4376 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4377 (tramp-maybe-open-connection):
4378 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4379 Use `tramp-cleanup-connection'.
4381 * net/tramp-sh.el (tramp-maybe-open-connection):
4382 Catch 'uname-changed inside the progress reporter.
4384 2013-09-10 Glenn Morris <rgm@gnu.org>
4386 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4388 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4389 returns "alternate access method" in mode (eg "-rw-r--r--.").
4391 2013-09-08 Glenn Morris <rgm@gnu.org>
4393 * saveplace.el (load-save-place-alist-from-file):
4394 Demote errors. (Bug#15305)
4396 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4398 Improve compatibility with older Emacsen, and XEmacs.
4400 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4401 only if it is bound. It isn't for XEmacs.
4402 (with-tramp-progress-reporter): Do not let-bind `result'.
4403 This yields to scoping errors in XEmacs.
4404 (tramp-handle-make-auto-save-file-name): New function, moved from
4407 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4408 for `make-auto-save-file-name'.
4409 (tramp-adb--gnu-switches-to-ash):
4410 Use `tramp-compat-replace-regexp-in-string'.
4412 * net/tramp-cache.el (tramp-cache-print): Call
4413 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4415 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4416 bound. It isn't for XEmacs.
4418 * net/tramp-compat.el (tramp-compat-copy-file):
4419 Catch `wrong-number-of-arguments' error.
4420 (tramp-compat-replace-regexp-in-string): New defun.
4422 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4423 for `make-auto-save-file-name'.
4424 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4426 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4427 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4428 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4430 * net/tramp-gw.el (tramp-gw-open-network-stream):
4431 Use `tramp-compat-replace-regexp-in-string'.
4433 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4434 Call `tramp-handle-make-auto-save-file-name'.
4435 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4436 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4437 (tramp-sh-file-inotifywait-process-filter):
4438 Use `tramp-compat-replace-regexp-in-string'.
4439 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4441 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4442 for `make-auto-save-file-name'.
4443 (tramp-smb-handle-copy-directory):
4444 Call `tramp-compat-replace-regexp-in-string'.
4445 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4446 (tramp-smb-handle-copy-file): Improve error message.
4447 (tramp-smb-handle-rename-file): Rename directly only in case
4448 `newname' does not exist yet. This is a restriction of smbclient.
4449 (tramp-smb-maybe-open-connection): Rerun the function only when
4450 `auth-sources' is non-nil.
4452 2013-09-08 Kenichi Handa <handa@gnu.org>
4454 * international/characters.el: Set category "^" (Combining) for
4457 2013-09-07 Alan Mackenzie <acm@muc.de>
4459 Correctly fontify Java class constructors.
4460 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4462 (c-recognize-typeless-decls): Set the Java value to t.
4463 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4464 While handling a "(", add a check for, effectively, Java, and handle a
4465 "typeless" declaration there.
4467 2013-09-07 Roland Winkler <winkler@gnu.org>
4469 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4470 field subtitle for entry type book.
4472 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4474 * minibuffer.el: Make minibuffer-complete call completion-in-region
4475 rather than other way around.
4476 (completion--some, completion-pcm--find-all-completions):
4477 Don't delay signals when debugging.
4478 (minibuffer-completion-contents): Beware fields within the
4479 minibuffer contents.
4480 (completion-all-sorted-completions): Use defvar-local.
4481 (completion--do-completion, completion--cache-all-sorted-completions)
4482 (completion-all-sorted-completions, minibuffer-force-complete):
4483 Add args `beg' and `end'.
4484 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4485 (minibuffer-complete): Use completion-in-region.
4486 (completion-complete-and-exit): New fun, extracted from
4487 minibuffer-complete-and-exit.
4488 (minibuffer-complete-and-exit): Use it.
4489 (completion--complete-and-exit): Rename from
4490 minibuffer--complete-and-exit.
4491 (completion-in-region--single-word): New function, extracted from
4492 minibuffer-complete-word.
4493 (minibuffer-complete-word): Use it.
4494 (display-completion-list): Make `common-substring' argument obsolete.
4495 (completion--in-region): Call completion--in-region-1 instead of
4496 minibuffer-complete.
4497 (completion-help-at-point): Pass boundaries to
4498 minibuffer-completion-help as args rather than via an overlay.
4499 (completion-pcm--string->pattern): Use `any-delim'.
4500 (completion-pcm--optimize-pattern): New function.
4501 (completion-pcm--pattern->regex): Handle `any-delim'.
4502 * icomplete.el (icomplete-forward-completions)
4503 (icomplete-backward-completions, icomplete-completions):
4504 Adjust calls to completion-all-sorted-completions and
4505 completion--cache-all-sorted-completions.
4506 (icomplete-with-completion-tables): Default to t.
4507 * emacs-lisp/crm.el (crm--current-element): Rename from
4508 crm--select-current-element. Don't put an overlay but return the
4510 (crm--completion-command): Take two new args to bind to the boundaries.
4511 (crm-completion-help): Adjust accordingly.
4512 (crm-complete): Use completion-in-region.
4513 (crm-complete-word): Use completion-in-region--single-word.
4514 (crm-complete-and-exit): Use completion-complete-and-exit.
4516 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4518 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4521 2013-09-06 Juri Linkov <juri@jurta.org>
4523 * info.el (Info-display-images-node): When image file doesn't exist
4524 display text version of the image if it's provided in the Info file.
4525 Otherwise, display the location of missing image from SRC attribute.
4526 Add help-echo text property from ALT attribute. (Bug#15279)
4528 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4530 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4531 (edit-abbrevs-mode): Use define-derived-mode.
4533 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4534 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4536 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4537 Use define-derived-mode.
4539 * epg.el (epg-start-encrypt): Minor CSE simplification.
4541 2013-09-06 William Xu <william.xwl@gmail.com>
4543 * arc-mode.el: Add support for 7za (bug#15264).
4544 (archive-7z-program): New var.
4545 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4546 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4547 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4549 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4553 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4554 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4555 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4556 (tramp-postfix-host-format, tramp-file-name-regexp)
4557 (tramp-completion-file-name-regexp)
4558 (tramp-completion-dissect-file-name)
4559 (tramp-handle-substitute-in-file-name): Remove 'url case.
4560 (tramp-file-name-regexp-url)
4561 (tramp-completion-file-name-regexp-url): Remove constants.
4563 2013-09-06 Glenn Morris <rgm@gnu.org>
4565 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4567 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4569 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4570 keywords" below "here-doc beginnings" (Bug#15270).
4572 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4574 * subr.el (pop): Use `car-safe'.
4575 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4576 to detect unused `pop' return value.
4578 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4580 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4581 (python-fill-string): Remove unused var `marker'.
4582 (python-skeleton-add-menu-items): Remove unused var `items'.
4584 * international/mule-cmds.el: Require CL.
4585 (find-coding-systems-for-charsets): Avoid add-to-list.
4586 (sanitize-coding-system-list): New function, extracted from
4587 select-safe-coding-system-interactively.
4588 (select-safe-coding-system-interactively): Use it.
4589 (read-input-method-name): Accept symbols for `default'.
4591 * emacs-lisp/advice.el (defadvice): Add indent rule.
4593 2013-09-05 Daniel Hackney <dan@haxney.org>
4597 * net/browse-url.el:
4600 * net/eudcb-ldap.el:
4613 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4614 byte compiler. Remove some unused let-bound variables.
4616 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4618 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4619 a "ref-cell", since it gets better optimized (bug#14883).
4621 2013-09-05 Glenn Morris <rgm@gnu.org>
4623 * progmodes/cc-awk.el (c-forward-sws): Declare.
4625 2013-09-04 Glenn Morris <rgm@gnu.org>
4627 * generic-x.el [rul-generic-mode]: Require cc-mode.
4628 (c++-mode-syntax-table): Declare.
4629 (rul-generic-mode-syntax-table): Init in the defvar.
4631 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4633 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4634 (vc-do-command, vc-set-async-update):
4635 * vc/vc-mtn.el (vc-mtn-dir-status):
4636 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4637 (vc-hg-pull, vc-hg-merge-branch):
4638 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4639 (vc-git-merge-branch):
4640 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4641 (vc-cvs-dir-status-files):
4642 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4643 (vc-bzr-dir-status-files):
4644 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4645 * vc/vc-annotate.el: Use lexical-binding.
4646 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4647 (vc-sentinel-movepoint): Declare.
4648 (vc-annotate): Don't use `goto-line'.
4649 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4650 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4651 (vc-sentinel-movepoint): Declare.
4652 * vc/vc-svn.el: Use lexical-binding.
4653 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4655 * vc/vc-rcs.el: Use lexical-binding.
4657 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4658 `deleted'. Don't drop errors silently.
4660 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4662 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4664 * vc/vc.el (vc-ignore): Rewrite.
4665 (vc-default-ignore): New function.
4666 (vc-default-ignore-completion-table): Use find-ignore-file.
4668 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4669 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4670 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4671 Remove. Most code moved to vc.el.
4673 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4675 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4676 * net/tramp-smb.el (tramp-smb-get-file-entries):
4677 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4678 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4680 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4682 (eww-change-select): Remove unused var `properties'.
4683 (eww-make-unique-file-name): Remove unused var `base'.
4685 * finder.el (finder-compile-keywords): Don't mess with windows.
4687 * calculator.el (calculator-funcall): Fix typo in last change.
4689 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4691 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4692 <pkg>-autoloads.el file stop us.
4694 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4695 warnings, and factor out common code.
4697 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4699 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4700 two-character operators and whether the character preceding them
4701 changes their meaning (Bug#15208).
4703 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4705 Format code sent to Python shell for robustness.
4706 * progmodes/python.el (python-shell-buffer-substring):
4708 (python-shell-send-region, python-shell-send-buffer): Use it.
4710 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4712 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4713 * net/tramp.el (tramp-user-error): ... here.
4714 (tramp-find-method, tramp-check-proper-host)
4715 (tramp-dissect-file-name, tramp-debug-message)
4716 (tramp-handle-shell-command):
4717 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4718 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4720 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4722 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4724 * avoid.el (mouse-avoidance-point-position)
4725 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4728 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4730 * progmodes/python.el (python-shell-completion-get-completions):
4731 Drop use of deleted `comint-last-prompt-overlay'.
4732 (python-nav-if-name-main): New command.
4734 2013-09-01 Glenn Morris <rgm@gnu.org>
4736 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4737 Avoid leading space in $wins. Otherwise the sed command used by
4738 eg compile-main ends up containing "/*.el". (Bug#15170)
4740 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4742 2013-08-30 Glenn Morris <rgm@gnu.org>
4744 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4745 Fix is-this-a-directory logic. (Bug#15220)
4747 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4749 * textmodes/css-mode.el: Use SMIE.
4750 (css-smie-grammar): New var.
4751 (css-smie--forward-token, css-smie--backward-token)
4752 (css-smie-rules): New functions.
4753 (css-mode): Use them.
4754 (css-navigation-syntax-table): Remove var.
4755 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4756 (css-indent-calculate, css-indent-line): Remove functions.
4758 Misc changes to reduce use of `(lambda...); and other cleanups.
4759 * cus-edit.el: Use lexical-binding.
4760 (customize-push-and-save, customize-apropos)
4761 (custom-buffer-create-internal): Use closures.
4762 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4763 * progmodes/ada-xref.el: Use setq.
4764 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4765 * dframe.el: Use lexical-binding.
4766 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4767 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4768 * descr-text.el: Use lexical-binding.
4769 (describe-text-widget, describe-text-sexp, describe-property-list):
4771 * comint.el (comint-history-isearch-push-state): Use a closure.
4772 * calculator.el: Use lexical-binding.
4773 (calculator-number-to-string): Make it work with lexical-binding.
4774 (calculator-funcall): Same and use cl-letf.
4776 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4777 (lisp--company-doc-string, lisp--company-location): New functions.
4778 (lisp-completion-at-point): Use them to improve Company support.
4780 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4781 params of lambda expressions.
4782 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4783 (ruby-smie--opening-pipe-p): New function.
4784 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4785 symbols and matched |...| for formal params.
4786 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4787 from being treated as hanging. Handle "rescue".
4789 2013-08-29 Glenn Morris <rgm@gnu.org>
4791 * progmodes/cc-engine.el (c-pull-open-brace):
4792 Move definition before use.
4794 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4796 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4797 are immutable. Don't use `unsafe' any more.
4798 (cl--defsubst-expand): Don't substitute at the same time as keeping
4799 a residual unused let-binding. Don't use `unsafe' any more.
4801 2013-08-29 Glenn Morris <rgm@gnu.org>
4803 * calendar/cal-china.el (calendar-chinese-year-cache):
4806 * nxml/nxml-util.el (nxml-debug-clear-inside):
4807 Use cl-loop rather than loop.
4809 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4811 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4813 2013-08-28 Glenn Morris <rgm@gnu.org>
4815 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4817 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4819 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4821 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4823 * simple.el (repeat-complex-command--called-interactively-skip):
4825 (repeat-complex-command): Use it (bug#14136).
4827 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4828 (c-define-abbrev-table): Add `doc' argument.
4829 (c-mode-abbrev-table, c++-mode-abbrev-table)
4830 (objc-mode-abbrev-table, java-mode-abbrev-table)
4831 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4832 (awk-mode-abbrev-table): Use it.
4833 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4834 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4835 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4836 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4837 Move initialization into the declaration; and remove any
4840 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4841 and dynamic let binding.
4843 * vc/smerge-mode.el: Remove redundant :group args.
4845 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4848 2013-08-28 Juri Linkov <juri@jurta.org>
4850 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4851 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4852 (isearch-other-meta-char): Handle an undefined shifted printing
4853 character by downshifting it. (Bug#15200)
4855 2013-08-28 Juri Linkov <juri@jurta.org>
4857 * isearch.el (isearch-search): Change regexp error message for
4858 non-regexp searches. (Bug#15166)
4860 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4862 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4863 for portability to hosts where /bin/sh has problems.
4865 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4867 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4869 2013-08-27 Juri Linkov <juri@jurta.org>
4871 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4872 in the keyboard macro. (Bug#15126)
4874 2013-08-27 Juri Linkov <juri@jurta.org>
4876 * isearch.el (isearch-quote-char): Comment out converting unibyte
4877 to multibyte, thus syncing with its `quoted-insert' counterpart.
4880 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4882 * window.el (display-buffer-use-some-window): Add missing
4883 argument in call of get-largest-window (Bug#15185).
4884 Reported by Stephen Leake.
4886 2013-08-27 Glenn Morris <rgm@gnu.org>
4888 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4890 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4892 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4893 from a matcher-function unless there's no more matches (bug#15161).
4895 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4897 * minibuffer.el: Revert change from 2013-08-20.
4899 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4900 with text property `tramp-default', if appropriate.
4901 (tramp-check-proper-host): New defun.
4902 (tramp-dissect-file-name): Do not check hostname. Revert change
4904 (tramp-backtrace): Make VEC-OR-PROC optional.
4906 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4907 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4908 * net/tramp-sh.el (tramp-maybe-open-connection):
4909 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4910 Apply `tramp-check-proper-host'.
4912 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4914 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4915 lambda expression in order to have `describe-variable' display it.
4917 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4919 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4920 BUF can be optional. (Bug#15186)
4922 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4924 * progmodes/flymake.el (flymake-get-real-file-name-function):
4925 Fix broken customization. (Bug#15184)
4927 2013-08-25 Alan Mackenzie <acm@muc.de>
4929 Improve indentation of bracelists defined by macros (without "=").
4931 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4932 expansion begins with "{", regard it as bracelist when it doesn't
4935 Parse C++ inher-intro when there's a template split over 2 lines.
4937 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4938 rigorously the search for "class" etc. followed by ":".
4940 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4941 random languages a regexp which never matches rather than nil.
4943 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4945 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4946 (c-awk-regexp-one-line-possibly-open-char-list-re)
4947 (c-awk-one-line-possibly-open-regexp-re)
4948 (c-awk-one-line-non-syn-ws*-re): Remove.
4949 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4950 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4951 (c-awk-space*-unclosed-regexp-/-re): New constants.
4952 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4953 aren't regexp delimiters.
4955 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4956 handling for a rare situation in AWK Mode involving unterminated
4959 2013-08-23 Glenn Morris <rgm@gnu.org>
4961 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4963 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4965 * files.el (create-file-buffer): If the result would begin with
4966 spaces, prepend a "|" instead of removing them. (Bug#15162)
4968 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4970 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4971 text-properties (bug#15155).
4973 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4975 (calc-keypad-redraw): Remove unused var `pad'.
4976 (calc-keypad-press): Remove unused var `menu'.
4978 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4980 * window.el (display-buffer-pop-up-frame):
4981 Call pop-up-frame-function with BUFFER current so `make-frame' will
4982 use it as the new frame's buffer (Bug#15133).
4984 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4986 * calendar/timeclock.el: Minor cleanups.
4987 (timeclock-ask-before-exiting, timeclock-use-display-time):
4989 (timeclock-modeline-display): Define as alias before the
4991 (timeclock-mode-line-display): Use define-minor-mode.
4992 (timeclock-day-list-template): Make it a function, add an argument.
4993 (timeclock-day-list-required, timeclock-day-list-length)
4994 (timeclock-day-list-debt, timeclock-day-list-span)
4995 (timeclock-day-list-break): Adjust calls accordingly.
4997 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4999 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5000 Use read--expression so that completion works again.
5002 2013-08-21 Sam Steingold <sds@gnu.org>
5004 Add rudimentary inferior shell interaction
5005 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5006 (sh-set-shell): Reset it.
5007 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5008 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5010 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5012 * align.el: Use lexical-binding.
5013 (align-region): Simplify accordingly.
5015 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5017 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5019 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5022 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5026 * net/tramp-cmds.el:
5028 * net/tramp-gvfs.el:
5030 * net/tramp-sh.el: Don't wrap external variable declarations by
5031 `eval-when-compile'.
5033 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5035 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5036 now that Emacs supports ImageMagick animations.
5038 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5040 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5041 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5043 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5045 * window.el (mouse-autoselect-window-select): Do autoselect when
5046 mouse pointer is on margin.
5048 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5050 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5052 2013-08-16 Glenn Morris <rgm@gnu.org>
5054 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5055 Handle "Remote Directory" response of some clients. (Bug#15058)
5057 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5058 Tweak warning. (Bug#14926)
5060 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5061 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5063 * image-mode.el (image-mode-map): Add menu items to reverse,
5064 increase, decrease, reset animation speed.
5065 (image--set-speed, image-increase-speed, image-decrease-speed)
5066 (image-reverse-speed, image-reset-speed): New functions.
5067 (image-mode-map): Add bindings for speed commands.
5069 * image.el (image-animate-get-speed, image-animate-set-speed):
5071 (image-animate-timeout): Respect image :speed property.
5073 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5075 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5076 previous line (bug#15101).
5077 (debugger-eval-expression, debugger-record-expression):
5078 Use read--expression (bug#15102).
5080 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5082 Remove byte compiler warnings, visible when compiling with
5083 `byte-compile-force-lexical-warnings' set to t.
5085 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5086 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5087 (tramp-handle-unhandled-file-name-directory)
5088 (tramp-handle-file-notify-add-watch, tramp-action-login)
5089 (tramp-action-succeed, tramp-action-permission-denied)
5090 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5093 * net/tramp-adb.el (tramp-adb-parse-device-names)
5094 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5095 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5096 (tramp-adb-handle-file-truename): Remove unused arguments.
5098 * net/tramp-cache.el (tramp-flush-directory-property)
5099 (tramp-flush-connection-property, tramp-list-connections)
5100 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5102 * net/tramp-compat.el (tramp-compat-make-temp-file):
5103 Rename FILENAME to F.
5105 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5106 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5107 (tramp-zeroconf-parse-workstation-device-names)
5108 (tramp-zeroconf-parse-webdav-device-names)
5109 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5111 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5112 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5114 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5116 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5117 (tramp-sh-handle-insert-file-contents-literally)
5118 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5120 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5121 Remove unused variables.
5123 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5124 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5125 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5127 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5128 Make them a defconst.
5129 (tramp-uuencode-region): Remove unused variable.
5131 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5133 * frameset.el (frameset--prop-setter): New function.
5134 (frameset-prop): Add gv-setter declaration.
5135 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5136 parameter was already set in FILTERED. Doc fix.
5137 (frameset--record-minibuffer-relationships): Allow saving a
5138 minibufferless frame without its corresponding minibuffer frame.
5139 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5140 frame, if the frame id matches.
5141 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5142 frames before orphaned ones.
5143 (frameset-restore): Warn about orphaned windows, instead of error out.
5145 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5147 * window.el (window-make-atom): Don't overwrite parameter
5149 (display-buffer-in-atom-window): Handle special case where we
5150 split an already atomic window.
5151 (window--major-non-side-window, display-buffer-in-side-window)
5152 (window--side-check): Ignore minibuffer window when walking
5154 (window-deletable-p): Return 'frame only if no other frame uses
5155 our minibuffer window.
5156 (record-window-buffer): Run buffer-list-update-hook.
5157 (split-window): Make sure window--check-frame won't destroy an
5158 existing atomic window in case the new window gets nested
5160 (display-buffer-at-bottom): Ignore minibuffer window when
5161 walking window tree. Don't split a side window.
5162 (pop-to-buffer): Don't set-buffer here, the select-window call
5164 (mouse-autoselect-window-select): Autoselect only if we are in the
5165 text portion of the window.
5167 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5169 * net/shr.el (shr-parse-image-data): New function to grab both the
5170 data itself and the Content-Type.
5171 (shr-put-image): Use it.
5173 * net/eww.el (eww-display-image): Ditto.
5175 * image.el (image-content-type-suffixes): New variable.
5177 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5179 * progmodes/python.el (python-imenu--build-tree)
5180 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5182 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5184 * simple.el (backward-word): Mention the optional argument.
5186 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5188 * frameset.el (frameset--make): Rename constructor from make-frameset.
5189 (frameset-p, frameset-valid-p): Don't autoload.
5190 (frameset-valid-p): Use normal accessors.
5192 2013-08-13 Glenn Morris <rgm@gnu.org>
5194 * progmodes/compile.el (compile-command): Tweak example in doc.
5195 * obsolete/scribe.el (scribe-mode):
5196 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5198 * mail/feedmail.el (feedmail-confirm-outgoing)
5199 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5201 * cus-start.el (truncate-partial-width-windows): Fix type.
5203 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5205 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5207 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5209 * emacs-lisp/timer.el (timer--time-setter): New function.
5210 (timer--time): Use it as gv-setter.
5212 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5213 setter is not a symbol.
5215 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5217 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5218 if sending fails. This makes debugging easier.
5220 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5222 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5223 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5224 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5226 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5228 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5230 2013-08-12 Glenn Morris <rgm@gnu.org>
5232 * format.el (format-annotate-function):
5233 Handle read-only text properties in the source. (Bug#14887)
5235 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5237 * net/eww.el (eww-display-html): Ignore coding system errors.
5238 One web site uses "utf-8lias" as the coding system.
5240 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5242 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5244 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5246 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5247 (tutorial--detailed-help): Remove unused local variables.
5248 (tutorial--save-tutorial-to): Use ignore-errors.
5249 (help-with-tutorial): Use looking-at-p.
5251 * view.el (view-buffer-other-window, view-buffer-other-frame):
5252 Mark unused arguments.
5254 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5255 (woman-select-symbol-fonts, woman, woman-find-file)
5256 (woman-insert-file-contents, woman-non-underline-faces):
5258 (woman1-unquote): Move declaration.
5260 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5261 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5262 argument. Remove unused local variable.
5263 (xml-parse-elem-type): Use string-match-p.
5264 (xml-substitute-numeric-entities): Use ignore-errors.
5266 * calculator.el (calculator): Mark unused argument.
5267 (calculator-paste, calculator-quit, calculator-integer-p):
5269 (calculator-string-to-number, calculator-decimal, calculator-exp)
5270 (calculator-op-or-exp): Use string-match-p.
5272 * dired.el (dired-buffer-more-recently-used-p): Declare.
5273 (dired-insert-set-properties, dired-insert-old-subdirs):
5276 * dired-aux.el (dired-compress): Use ignore-errors.
5277 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5278 (dired-do-async-shell-command, dired-do-shell-command)
5279 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5280 (dired-insert-subdir-validate): Use string-match-p.
5281 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5282 (dired-add-entry): Use string-match-p, looking-at-p.
5283 (dired-insert-subdir-newpos): Remove unused local variable.
5285 * filenotify.el (file-notify-callback): Remove unused local variable.
5287 * filesets.el (filesets-error): Mark unused argument.
5288 (filesets-which-command-p, filesets-filter-dir-names)
5289 (filesets-directory-files, filesets-get-external-viewer)
5290 (filesets-ingroup-get-data): Use string-match-p.
5292 * find-file.el (ff-other-file-name, ff-other-file-name)
5293 (ff-find-the-other-file, ff-cc-hh-converter):
5294 Remove unused local variables.
5295 (ff-get-file-name): Use string-match-p.
5296 (ff-all-dirs-under): Use ignore-errors.
5298 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5299 (follow-select-if-visible): Remove unused local variable.
5301 * forms.el (read-file-filter): Move declaration.
5302 (forms--make-format, forms--make-parser, forms-insert-record):
5303 Quote function with #'.
5304 (forms--update): Use string-match-p. Quote function with #'.
5306 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5307 (help-make-xrefs): Use looking-at-p.
5308 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5310 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5311 (ibuffer-confirm-operation-on): Use string-match-p.
5313 * msb.el (msb-item-handler, msb-dired-item-handler):
5314 Mark unused arguments.
5316 * ses.el (ses-decode-cell-symbol)
5317 (ses-kill-override): Remove unused local variable.
5318 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5319 (ses-load): Use ignore-errors, looking-at-p.
5320 (ses-jump-safe): Use ignore-errors.
5321 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5323 * tabify.el (untabify, tabify): Mark unused arguments.
5325 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5326 Mark unused argument.
5327 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5328 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5330 * emacs-lisp/timer.el (timer--time): Define setter with
5331 gv-define-setter to avoid deprecation warning.
5333 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5334 (*record-cmpl-statistics-p*): Remove (was commented out).
5335 (cmpl-statistics-block): Remove (body was commented out).
5336 All callers changed.
5337 (add-completions-from-buffer, load-completions-from-file):
5338 Remove unused variables.
5340 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5342 * filecache.el (file-cache-delete-file-list):
5343 Print message only when told so.
5344 (file-cache-files-matching): Use #' in mapconcat argument.
5346 * ffap.el (ffap-url-at-point): Fix reference to variable
5347 thing-at-point-default-mail-uri-scheme.
5349 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5351 * subr.el (define-error): New function.
5352 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5353 error-file-not-found and define with define-error.
5354 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5355 and define with define-error.
5356 * userlock.el (file-locked, file-supersession):
5357 * simple.el (mark-inactive):
5358 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5359 * progmodes/ada-mode.el (ada-mode-errors):
5360 * play/life.el (life-extinct):
5361 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5362 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5363 * nxml/rng-util.el (rng-error):
5364 * nxml/rng-uri.el (rng-uri-error):
5365 * nxml/rng-match.el (rng-compile-error):
5366 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5367 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5368 * nxml/nxml-rap.el (nxml-scan-error):
5369 * nxml/nxml-outln.el (nxml-outline-error):
5370 * net/soap-client.el (soap-error):
5371 * net/gnutls.el (gnutls-error):
5372 * net/ange-ftp.el (ftp-error):
5373 * mpc.el (mpc-proc-error):
5374 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5375 (json-number-format, json-string-escape, json-string-format)
5376 (json-key-format, json-object-format):
5377 * jka-compr.el (compression-error):
5378 * international/quail.el (quail-error):
5379 * international/kkc.el (kkc-error):
5380 * emacs-lisp/ert.el (ert-test-failed):
5381 * calc/calc.el (calc-error, inexact-result, math-overflow)
5383 * bookmark.el (bookmark-error-no-filename):
5384 * epg.el (epg-error): Define with define-error.
5386 * time.el (display-time-event-handler)
5387 (display-time-next-load-average): Don't call sit-for since it seems
5388 unnecessary (bug#15045).
5390 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5391 Use #' instead of ' to quote functions.
5392 (checkdoc-output-mode): Use setq-local.
5393 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5394 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5395 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5396 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5397 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5398 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5399 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5400 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5402 * ido.el (ido-completion-help): Fix up compiler warning.
5404 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5406 * frameset.el (frameset-p): Add autoload cookie.
5407 (frameset--jump-to-register): New function, based on code moved from
5409 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5411 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5412 (frameset-restore, frameset-save, frameset-session-filter-alist):
5413 Remove declarations.
5414 (register-alist): Doc fix.
5415 (frameset-to-register): Move to frameset.el.
5416 (jump-to-register, describe-register-1): Remove frameset-specific code.
5418 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5420 * allout-widgets.el (allout-widgets-pre-command-business)
5421 (allout-widgets-post-command-business)
5422 (allout-widgets-after-change-handler)
5423 (allout-decorate-item-and-context, allout-set-boundary-marker)
5424 (allout-body-modification-handler)
5425 (allout-graphics-modification-handler): Mark ignored arguments.
5426 (allout-widgets-post-command-business)
5427 (allout-widgets-exposure-change-processor)
5428 (allout-widgets-exposure-undo-processor)
5429 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5430 (allout-parse-item-at-point, allout-decorate-item-guides)
5431 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5432 * allout.el (epa-passphrase-callback-function): Declare.
5433 (allout-overlay-insert-in-front-handler)
5434 (allout-overlay-interior-modification-handler)
5435 (allout-isearch-end-handler, allout-chart-siblings)
5436 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5437 (allout-yank-processing, allout-process-exposed)
5438 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5439 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5440 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5441 (lisp-indent-defform): Mark ignored arguments.
5442 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5443 (calculate-lisp-indent): Remove unused variables.
5444 * international/characters.el (indian-2-column, arabic-2-column)
5445 (tibetan): Mark ignored arguments.
5446 (use-cjk-char-width-table): Mark ignored arguments.
5447 Remove unused variables.
5448 * international/fontset.el (build-default-fontset-data)
5449 (x-compose-font-name, create-fontset-from-fontset-spec):
5450 Mark ignored arguments.
5451 (fontset-plain-name): Remove unused variables.
5452 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5453 (keyboard-coding-system): Mark ignored arguments.
5454 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5455 * help.el (resize-temp-buffer-window):
5456 * window.el (display-buffer-in-major-side-window)
5457 (display-buffer-in-side-window, display-buffer-in-previous-window):
5458 Remove unused variables.
5459 * isearch.el (isearch-forward-symbol):
5460 * version.el (emacs-bzr-version-bzr):
5461 * international/mule-cmds.el (current-language-environment):
5462 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5464 * term/pc-win.el (x-list-fonts, x-display-planes)
5465 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5466 (x-server-version, x-display-screens, x-display-mm-height)
5467 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5468 (x-selection-owner-p, x-own-selection-internal)
5469 (x-disown-selection-internal, x-get-selection-internal)
5470 (msdos-initialize-window-system):
5471 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5472 * term/x-win.el (x-handle-no-bitmap-icon):
5473 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5474 (vc-default-find-file-hook, vc-default-extra-menu):
5475 Mark ignored arguments.
5477 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5479 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5480 break-condition in the context of the debugged code (bug#12685).
5482 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5485 Do not use an overlay to highlight the last prompt. (Bug#14744)
5486 (comint-mode): Make comint-last-prompt buffer local.
5487 (comint-last-prompt): New variable.
5488 (comint-last-prompt-overlay): Remove. Superseded by
5490 (comint-snapshot-last-prompt, comint-output-filter):
5491 Use comint-last-prompt.
5493 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5495 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5496 (frameset-save): Check validity of the resulting frameset.
5498 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5500 * ido.el (ido-record-command): Add doc string.
5502 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5504 * frameset.el (frameset): Do not disable creation of the default
5505 frameset-p predicate. Doc fix.
5506 (frameset-valid-p): New function, copied from the old predicate-p.
5507 Add additional checks.
5508 (frameset-restore): Check with frameset-valid-p.
5509 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5510 (frameset-name, frameset-description, frameset-properties)
5511 (frameset-states): Add docstring.
5512 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5513 (frameset-filter-alist): Doc fixes.
5515 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5517 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5519 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5521 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5522 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5523 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5524 (byte-compile-normal-call): Remove obsolescence check.
5526 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5528 * frameset.el (frameset-restore): Doc fix.
5530 * register.el (frameset-frame-id, frameset-frame-with-id)
5531 (frameset-p, frameset-restore, frameset-save): Declare.
5532 (register-alist): Document framesets.
5533 (frameset-session-filter-alist): Declare.
5534 (frameset-to-register): New function.
5535 (jump-to-register): Implement jumping to framesets. Doc fix.
5536 (describe-register-1): Describe framesets.
5538 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5540 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5542 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5543 Use lexical-binding.
5545 * frameset.el (frameset): Use type vector, not list (incompatible
5546 change). Do not declare a new constructor, use the default one.
5547 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5548 `name' and `description', respectively, and add read-only slot
5549 `timestamp'. Doc fixes.
5550 (frameset-copy, frameset-persistent-filter-alist)
5551 (frameset-filter-alist, frameset-switch-to-gui-p)
5552 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5553 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5554 (frameset-filter-iconified, frameset-keep-original-display-p):
5556 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5557 Rename from frameset-filter-(save|restore)-param. All callers changed.
5559 (frameset-p): Adapt to change to vector and be more thorough.
5560 Change arg name to OBJECT. Doc fix.
5561 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5562 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5563 All callers changed.
5564 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5565 All callers changed.
5566 (frameset--record-minibuffer-relationships): Rename from
5567 frameset--process-minibuffer-frames. All callers changed.
5568 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5569 Use new default constructor (again). Doc fix.
5570 (frameset--find-frame-if): Rename from `frameset--find-frame.
5571 All callers changed.
5572 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5573 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5575 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5576 PARAMETERS and WINDOW-STATE, respectively.
5577 (frameset-restore): Add new keyword argument PREDICATE.
5578 Reset frameset--target-display to nil. Doc fix.
5580 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5582 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5584 (bat-mode-syntax-table): Mark \n as end-of-comment.
5585 (bat-font-lock-keywords): Remove comment rule.
5587 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5588 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5590 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5591 (byte-compile-callargs-warn): Use `push'.
5592 (byte-compile-arglist-warn): Ignore higher-order "calls".
5593 (byte-compile-file-form-autoload): Use `pcase'.
5594 (byte-compile-function-form): If quoting a symbol, check that it exists.
5596 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5598 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5599 and add a few popular commands found in batch files.
5600 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5601 (dos-mode): Doc fixes.
5603 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5605 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5606 (dos-mode): Use setq-local. Add space after "rem".
5607 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5608 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5610 2013-08-07 Arni Magnusson <arnima@hafro.is>
5612 * progmodes/dos.el: New file.
5613 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5616 2013-08-06 Glenn Morris <rgm@gnu.org>
5618 * calendar/calendar.el: Add new faces, and day-header-array.
5619 (calendar-weekday-header, calendar-weekend-header)
5620 (calendar-month-header): New faces.
5621 (calendar-day-header-construct): New function.
5622 (calendar-day-header-width): Also :set calendar-day-header-array.
5623 (calendar-american-month-header, calendar-european-month-header)
5624 (calendar-iso-month-header): Use calendar- faces.
5625 (calendar-generate-month):
5626 Use calendar-day-header-array for day headers; apply faces to them.
5627 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5628 (calendar-abbrev-construct): Add optional maxlen argument.
5629 (calendar-day-name-array): Doc fix.
5630 (calendar-day-name-array, calendar-abbrev-length)
5631 (calendar-day-abbrev-array):
5632 Also :set calendar-day-header-array, and maybe redraw.
5633 (calendar-day-header-array): New option. (Bug#15007)
5634 (calendar-font-lock-keywords): Set to nil and make obsolete.
5635 (calendar-day-name): Add option to use header array.
5637 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5639 * net/shr.el (shr-render-td): Remove debugging.
5640 (shr-render-td): Make width computation consistent by defaulting
5641 all zero-width columns to 10 characters. This may not be optimal,
5642 but it's at least consistent.
5643 (shr-make-table-1): Redo last change to fix the real problem in
5646 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5648 * files.el (cache-long-line-scans):
5649 Make obsolete alias to `cache-long-scans'.
5651 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5653 * frameset.el (frameset, frameset-filter-alist)
5654 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5655 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5656 (frameset-compute-pos): Rename from frameset--compute-pos,
5658 (frameset-move-onscreen): Use frameset-compute-pos.
5659 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5661 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5662 Fix typos in docstrings.
5664 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5666 * frame.el (get-other-frame): Tiny cleanup.
5668 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5670 * vc/vc.el (vc-default-ignore-completion-table):
5671 Silence byte-compiler warning.
5673 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5674 slot , which can indeed be nil.
5675 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5676 Move entry for `left' from persistent to live filter alist.
5677 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5679 (frameset-filter-params): When restoring a frame, copy items added to
5680 `filtered', to avoid unwittingly modifying the original parameters.
5681 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5682 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5684 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5685 to use looking-at-p instead of looking-at. (Bug#15028)
5687 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5689 Revert introduction of isearch-filter-predicates (bug#14714).
5690 Rely on add-function instead.
5691 * isearch.el (isearch-filter-predicates): Rename it back to
5692 isearch-filter-predicate.
5693 (isearch-message-prefix): Use advice-function-mapc and advice
5694 properties to get the isearch-message-prefix.
5695 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5696 instead of run-hook-with-args-until-failure.
5697 (isearch-filter-visible): Not obsolete any more.
5698 * loadup.el: Preload nadvice.
5699 * replace.el (perform-replace): Revert to funcall
5700 instead of run-hook-with-args-until-failure.
5701 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5702 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5703 dired-isearch-filenames-toggle; make it into a proper minor mode.
5704 Use add/remove-function.
5705 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5706 Call the minor-mode rather than add/remove-hook.
5707 (dired-isearch-filter-filenames):
5708 Remove isearch-message-prefix property.
5709 * info.el (Info--search-loop): New function, extracted from Info-search.
5710 Funcall isearch-filter-predicate instead of
5711 run-hook-with-args-until-failure isearch-filter-predicates.
5712 (Info-search): Use it.
5713 (Info-mode): Use isearch-filter-predicate instead of
5714 isearch-filter-predicates.
5716 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5718 Do not call to `selected-window' where it is assumed by default.
5719 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5720 `window-hscroll', `window-width', `window-height', `window-buffer',
5721 `window-frame', `window-start', `window-point', `next-window'
5722 and `window-display-table'.
5723 * abbrev.el (abbrev--default-expand):
5724 * bs.el (bs--show-with-configuration):
5725 * buff-menu.el (Buffer-menu-mouse-select):
5726 * calc/calc.el (calc):
5727 * calendar/calendar.el (calendar-generate-window):
5728 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5730 * comint.el (send-invisible, comint-dynamic-complete-filename)
5731 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5732 * completion.el (complete):
5733 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5734 * disp-table.el (describe-current-display-table):
5735 * doc-view.el (doc-view-insert-image):
5736 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5737 * ehelp.el (with-electric-help):
5738 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5739 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5740 * emacs-lisp/helper.el (Helper-help-scroller):
5741 * emulation/cua-base.el (cua--post-command-handler-1):
5742 * eshell/esh-mode.el (eshell-output-filter):
5743 * ffap.el (ffap-gnus-wrapper):
5744 * help-macro.el (make-help-screen):
5745 * hilit-chg.el (highlight-compare-buffers):
5746 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5747 * hl-line.el (global-hl-line-highlight):
5748 * icomplete.el (icomplete-simple-completing-p):
5749 * isearch.el (isearch-done):
5750 * jit-lock.el (jit-lock-stealth-fontify):
5751 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5752 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5753 * mpc.el (mpc-tagbrowser, mpc):
5754 * net/rcirc.el (rcirc-any-buffer):
5755 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5756 * play/landmark.el (landmark-max-width, landmark-max-height):
5757 * play/zone.el (zone):
5758 * progmodes/compile.el (compilation-goto-locus):
5759 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5760 * progmodes/etags.el (find-tag-other-window):
5761 * progmodes/fortran.el (fortran-column-ruler):
5762 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5763 * progmodes/verilog-mode.el (verilog-point-text):
5764 * reposition.el (reposition-window):
5765 * rot13.el (toggle-rot13-mode):
5766 * server.el (server-switch-buffer):
5767 * shell.el (shell-dynamic-complete-command)
5768 (shell-dynamic-complete-environment-variable):
5769 * simple.el (insert-buffer, set-selective-display)
5770 (delete-completion-window):
5771 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5772 (speedbar-recenter):
5773 * startup.el (fancy-splash-head):
5774 * textmodes/ispell.el (ispell-command-loop):
5775 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5776 * tutorial.el (help-with-tutorial):
5777 * vc/add-log.el (add-change-log-entry):
5778 * vc/compare-w.el (compare-windows):
5779 * vc/ediff-help.el (ediff-indent-help-message):
5780 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5781 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5782 (ediff-setup-control-frame):
5783 * vc/emerge.el (emerge-position-region):
5784 * vc/pcvs-util.el (cvs-bury-buffer):
5785 * window.el (walk-windows, mouse-autoselect-window-select):
5786 * winner.el (winner-set-conf, winner-undo): Related users changed.
5788 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5790 * frameset.el (frameset--set-id): Doc fix.
5791 (frameset-frame-id, frameset-frame-id-equal-p)
5792 (frameset-locate-frame-id): New functions.
5793 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5794 (frameset-restore): Use them.
5796 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5798 Do not call to `selected-frame' where it is assumed by default.
5799 Affected functions are `raise-frame', `redraw-frame',
5800 `frame-first-window', `frame-terminal' and `delete-frame'.
5801 * calendar/appt.el (appt-disp-window):
5802 * epg.el (epg-wait-for-completion):
5803 * follow.el (follow-delete-other-windows-and-split)
5804 (follow-avoid-tail-recenter):
5805 * international/mule.el (set-terminal-coding-system):
5806 * mail/rmail.el (rmail-mail-return):
5807 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5808 * progmodes/f90.el (f90-add-imenu-menu):
5809 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5810 * server.el (server-switch-buffer):
5811 * simple.el (delete-completion-window):
5813 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5814 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5815 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5816 * vc/ediff.el (ediff-documentation): Related users changed.
5817 * frame.el (selected-terminal): Remove the leftover.
5819 2013-08-05 Glenn Morris <rgm@gnu.org>
5821 * calendar/calendar.el (calendar-generate-month):
5822 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5823 (calendar-generate-month, calendar-font-lock-keywords):
5824 Fix for calendar-day-header-width > length of any day name.
5826 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5828 * desktop.el (desktop-clear): Use new name of sort predicate.
5830 * frameset.el (frameset): Add docstring. Move :version property to its
5832 (frameset-copy): Rename from copy-frameset.
5833 (frameset-p): Check more thoroughly.
5834 (frameset-prop): Do not check for :version, which is no longer a prop.
5835 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5836 Use new :never value instead of t.
5837 (frameset-filter-alist): Expand and clarify docstring.
5838 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5839 (frameset-filter-minibuffer, frameset-filter-save-param)
5840 (frameset-filter-restore-param, frameset-filter-iconified):
5841 Add pointer to docstring of frameset-filter-alist.
5842 (frameset-filter-params): Rename filter values to be more meaningful:
5843 :never instead of t, and reverse the meanings of :save and :restore.
5844 (frameset--process-minibuffer-frames): Clarify error message.
5845 (frameset-save): Avoid unnecessary and confusing call to framep.
5846 Use new BOA constructor for framesets.
5847 (frameset--reuse-list): Doc fix.
5848 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5849 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5850 (frameset-minibufferless-first-p): Doc fix.
5851 Rename from frameset-sort-frames-for-deletion.
5852 (frameset-restore): Doc fixes. Use new function names.
5853 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5855 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5857 * desktop.el (desktop-restore-forces-onscreen)
5858 (desktop-restore-reuses-frames): Document :keyword constant values.
5859 (desktop-filter-parameters-alist): Remove, now identical to
5860 frameset-filter-alist.
5861 (desktop--filter-tty*): Remove, moved to frameset.el.
5862 (desktop-save-frameset, desktop-restore-frameset):
5863 Do not pass :filters argument.
5865 * frameset.el (frameset-live-filter-alist)
5866 (frameset-persistent-filter-alist): New variables.
5867 (frameset-filter-alist): Use them. Add autoload cookie.
5868 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5869 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5870 `frameset--id' (it's supposed to be internal to frameset.el).
5871 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5872 (frameset--initial-params): New function.
5873 (frameset--get-frame): Use it. Doc fix.
5874 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5875 Accept :all, not 'all.
5876 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5877 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5878 with fbound symbols. Fix frame id matching, and remove matching ids if
5879 the frame being restored is deleted. Obey :delete.
5881 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5883 * subr.el (macrop): New function.
5884 (text-clone--maintaining): New var.
5885 (text-clone--maintain): Rename from text-clone-maintain. Use it
5886 instead of inhibit-modification-hooks.
5888 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5889 a proxy, so as handle autoloads and redefinitions of the target.
5890 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5892 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5893 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5894 (pcase--mutually-exclusive-p): New function.
5895 (pcase--split-consp): Use it.
5896 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5897 mutually exclusive with the current predicate.
5899 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5900 (edebug-macrop): Remove. Use `macrop' instead.
5901 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5903 * eshell/esh-cmd.el (eshell-macrop):
5904 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5906 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5908 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5909 (advice-mapc): New function, using it.
5910 (advice-function-member-p): New function.
5911 (advice--normalize): Store the cdr in advice--saved-rewrite since
5912 that's the part that will be changed.
5913 (advice--symbol-function): New function.
5914 (advice-remove): Handle removal before the function is defined.
5915 Adjust to new advice--saved-rewrite.
5916 (advice-member-p): Use advice-function-member-p and
5917 advice--symbol-function.
5919 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5921 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5922 (frameset-filter-minibuffer): Doc fix.
5923 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5924 (frameset--set-id, frameset--process-minibuffer-frames)
5925 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5926 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5928 * desktop.el (desktop-clear): Only delete frames when called
5929 interactively and desktop-restore-frames is non-nil. Doc fix.
5930 (desktop-read): Set desktop-saved-frameset to nil.
5932 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5934 * vc/vc.el (vc-ignore): Rewrite.
5935 (vc-default-ignore-completion-table):
5937 (vc--add-line, vc--remove-regexp): New functions.
5939 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5940 (vc-svn-ignore-completion-table): New function.
5942 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5943 (vc-hg-ignore-completion-table):
5944 (vc-hg-find-ignore-file): New functions.
5946 * vc/vc-git.el (vc-git-ignore): Rewrite.
5947 (vc-git-ignore-completion-table):
5948 (vc-git-find-ignore-file): New functions.
5950 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5952 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5953 (vc-bzr-ignore-completion-table):
5954 (vc-bzr-find-ignore-file): New functions.
5956 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5958 * frameset.el (frameset-prop): New function and setter.
5959 (frameset-save): Do not modify frame list passed by the caller.
5961 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5963 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5965 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5967 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5968 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5970 * custom.el (custom-initialize-default, custom-initialize-set)
5971 (custom-initialize-reset, custom-initialize-changed): Affect the
5972 toplevel-default-value (bug#6275, bug#14586).
5973 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5976 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5978 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5979 Add cl-def* expressions.
5981 * frameset.el (frameset-filter-params): Fix order of arguments.
5983 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5985 Move code related to saving frames to frameset.el.
5986 * desktop.el: Require frameset.
5987 (desktop-restore-frames): Doc fix.
5988 (desktop-restore-reuses-frames): Rename from
5989 desktop-restoring-reuses-frames.
5990 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5991 (desktop-clear): Clear frames too.
5992 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5993 (desktop--filter-tty*, desktop-save, desktop-read):
5994 Use frameset functions.
5995 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5996 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5997 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5998 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5999 (desktop--process-minibuffer-frames, desktop-save-frames)
6000 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6001 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6002 (desktop--sort-states, desktop-restoring-frames-p)
6003 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6004 (desktop-restoring-frameset-p, desktop-restore-frameset)
6005 (desktop--check-dont-save, desktop-save-frameset): New functions.
6006 (desktop--app-id): New constant.
6007 (desktop-first-buffer, desktop-buffer-ok-count)
6008 (desktop-buffer-fail-count): Move before first use.
6009 * frameset.el: New file.
6011 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6013 * files.el: Use lexical-binding.
6014 (dir-locals-read-from-file): Remove unused `err' variable.
6015 (hack-dir-local-variables--warned-coding): New var.
6016 (hack-dir-local-variables): Use it to avoid repeated warnings.
6017 (make-backup-file-name--default-function): New function.
6018 (make-backup-file-name-function): Use it as default.
6019 (buffer-stale--default-function): New function.
6020 (buffer-stale-function): Use it as default.
6021 (revert-buffer-insert-file-contents--default-function): New function.
6022 (revert-buffer-insert-file-contents-function): Use it as default.
6023 (insert-directory): Avoid add-to-list.
6025 * autorevert.el (auto-revert-handler): Simplify.
6026 Use buffer-stale--default-function.
6028 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6030 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6032 * whitespace.el (whitespace-ensure-local-variables): New function.
6033 (whitespace-cleanup-region): Call it.
6034 (whitespace-turn-on): Call it.
6036 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6038 Complete file name handlers.
6040 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6041 (tramp-handle-verify-visited-file-modtime)
6042 (tramp-handle-file-notify-rm-watch): New functions.
6043 (tramp-call-process): Do not bind `default-directory'.
6045 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6046 Order alphabetically.
6047 [access-file, add-name-to-file, dired-call-process]:
6048 [dired-compress-file, file-acl, file-notify-rm-watch]:
6049 [file-ownership-preserved-p, file-selinux-context]:
6050 [make-directory-internal, make-symbolic-link, set-file-acl]:
6051 [set-file-selinux-context, set-visited-file-modtime]:
6052 [verify-visited-file-modtime]: Add handler.
6053 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6055 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6056 [file-notify-add-watch, file-notify-rm-watch]:
6057 [set-file-times, set-visited-file-modtime]:
6058 [verify-visited-file-modtime]: Add handler.
6059 (with-tramp-gvfs-error-message)
6060 (tramp-gvfs-handle-set-visited-file-modtime)
6061 (tramp-gvfs-fuse-file-name): Remove.
6062 (tramp-gvfs-handle-file-notify-add-watch)
6063 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6064 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6066 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6067 Order alphabetically.
6068 [file-notify-rm-watch ]: Use default Tramp handler.
6069 [executable-find]: Remove private handler.
6070 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6071 `default-directory'.
6072 (tramp-sh-handle-executable-find)
6073 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6074 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6075 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6076 Do not use `format' in `tramp-message'.
6078 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6079 [file-notify-rm-watch, set-visited-file-modtime]:
6080 [verify-visited-file-modtime]: Add handler.
6081 (tramp-smb-call-winexe): Do not bind `default-directory'.
6083 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6085 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6087 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6089 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6091 (log-view-diff-changeset): Same.
6092 (log-view-diff-common): Call backend command `previous-revision'
6093 to find out the previous revision, in both cases. Swap the
6094 variables `to' and `fr', so that `fr' usually refers to the
6095 earlier revision (Bug#14989).
6097 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6099 * ibuf-ext.el (ibuffer-filter-by-filename):
6100 Make it work with dired buffers too.
6102 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6104 * emacs-lisp/re-builder.el (reb-color-display-p):
6105 * files.el (save-buffers-kill-terminal):
6106 * net/browse-url.el (browse-url):
6107 * server.el (server-save-buffers-kill-terminal):
6108 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6109 Prefer nil to selected-frame for the first arg of frame-parameter.
6111 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6113 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6115 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6117 * minibuffer.el (completion--twq-all): Try and preserve each
6118 completion's case choice (bug#14907).
6120 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6122 * net/network-stream.el (open-network-stream): Mention the new
6123 :nogreeting parameter.
6124 (network-stream-open-starttls): Use the :nogreeting parameter
6127 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6129 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6130 more natural than popping.
6132 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6133 (shr-urlify): Highlight under mouse.
6135 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6137 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6139 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6141 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6144 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6145 point-min==1. Fix search string. Fix parentheses missing.
6147 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6148 assume point-min==1. Fix search string. Fix parentheses missing.
6150 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6152 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6155 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6157 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6158 initial frame is minibuffer-less. (Bug#14841)
6160 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6162 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6165 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6166 (tramp-maybe-open-connection): Use it.
6168 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6170 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6171 minimal set of parameters passed when creating a frame, because
6172 the minibuffer status of a frame cannot be changed later.
6174 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6176 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6177 replace-regexp-in-string and inadvertent omissions in previous change.
6178 (todo-filter-items): Ensure only file names are comma-separated in
6179 name of filtered items buffer.
6181 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6183 * desktop.el: Optionally force offscreen frames back onscreen.
6184 (desktop-restoring-reuses-frames): New option.
6185 (desktop--compute-pos, desktop--move-onscreen): New functions.
6186 (desktop--make-frame): Use desktop--move-onscreen.
6188 2013-07-27 Alan Mackenzie <acm@muc.de>
6190 Fontify a Java generic method as a function.
6191 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6194 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6196 * calendar/todo-mode.el: Add command to rename todo files.
6197 (todo-rename-file): New command.
6198 (todo-key-bindings-t): Add key binding for it. Change the
6199 bindings of todo-filter-regexp-items(-multifile) to use `x'
6200 instead of `r', since the latter is better suited to the new
6203 2013-07-27 Alan Mackenzie <acm@muc.de>
6205 Make Java try-with-resources statement parse properly.
6206 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6207 (c-block-stmt-1-2-key): New language constants/variables.
6208 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6209 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6210 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6211 with c-block-stmt-1-2-key.
6213 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6215 * desktop.el (desktop--make-frame): Apply most frame parameters after
6216 creating the frame to force (partially or totally) offscreen frames to
6217 be restored as such.
6219 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6221 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6224 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6226 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6227 `base' arg of backtrace-frame.
6229 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6231 * simple.el (list-processes): Doc fix.
6233 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6235 * desktop.el (desktop--select-frame):
6236 Try harder to reuse existing frames.
6238 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6240 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6241 (edebug-eval): Use backtrace-eval.
6242 (edebug--display, edebug--recursive-edit): Don't let-bind the
6243 edebug-outer-* vars that keep track of variables we locally let-bind.
6244 (edebug-outside-excursion): Don't restore outside values of locally
6246 (edebug--display): Use user-error.
6247 (cl-lexical-debug, cl-debug-env): Remove.
6249 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6251 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6252 are restored to be sure that they are visible before deleting any
6255 2013-07-26 Matthias Meulien <orontee@gmail.com>
6257 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6258 vc-print-root-log. (Bug#14948)
6260 2013-07-26 Richard Stallman <rms@gnu.org>
6262 Add aliases for encrypting mail.
6263 * epa.el (epa-mail-aliases): New option.
6264 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6265 Bind inhibit-read-only so read-only text doesn't ruin everything.
6266 (epa-mail-default-recipients): New subroutine broken out.
6267 Handle epa-mail-aliases.
6269 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6271 Add support for lexical variables to the debugger's `e' command.
6272 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6273 vars, except for debugger-outer-match-data.
6274 (debugger-frame-number): Move check for "on a function call" from
6275 callers into it. Add `skip-base' argument.
6276 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6277 (debugger-env-macro): Only reset the state stored in non-variables,
6278 i.e. current-buffer and match-data.
6279 (debugger-eval-expression): Rewrite using backtrace-eval.
6280 * subr.el (internal--called-interactively-p--get-frame): Remove.
6281 (called-interactively-p):
6282 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6283 `base' arg of backtrace-frame instead.
6285 2013-07-26 Glenn Morris <rgm@gnu.org>
6287 * align.el (align-regexp): Doc fix. (Bug#14857)
6288 (align-region): Explicit error if subexpression missing/does not match.
6290 * simple.el (global-visual-line-mode):
6291 Do not duplicate the mode lighter. (Bug#14858)
6293 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6295 * window.el (display-buffer): In display-buffer bind
6296 split-window-keep-point to t, bug#14829.
6298 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6300 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6301 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6302 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6303 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6305 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6306 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6308 2013-07-25 Glenn Morris <rgm@gnu.org>
6310 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6312 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6314 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6315 parameter to modify-frame-parameters if the value has not changed;
6316 this is a workaround for bug#14949.
6317 (desktop--make-frame): On cl-delete-if call, check parameter name,
6320 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6322 * vc/vc.el (vc-ignore): New function.
6324 * vc/vc-svn.el (vc-svn-ignore): New function.
6326 * vc/vc-hg.el (vc-hg-ignore): New function.
6328 * vc/vc-git.el (vc-git-ignore): New function.
6330 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6331 (vc-dir-ignore): New function.
6333 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6334 (cvs-append-to-ignore): Move here from pcvs.el.
6336 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6338 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6340 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6342 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6343 (desktop-restore-frames): Warn when deleting an existing frame failed.
6345 2013-07-24 Glenn Morris <rgm@gnu.org>
6347 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6349 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6351 * filenotify.el (file-notify-supported-p):
6352 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6355 * autorevert.el (auto-revert-use-notify):
6356 (auto-revert-notify-add-watch):
6357 * net/tramp.el (tramp-file-name-for-operation):
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-sh.el (tramp-sh-file-name-handler-alist):
6361 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6362 Remove `file-notify-supported-p' entry.
6364 2013-07-24 Glenn Morris <rgm@gnu.org>
6366 * printing.el: Replace all uses of deleted ps-windows-system,
6367 ps-lp-system, ps-flatten-list with lpr- versions.
6369 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6371 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6372 checked with memq (bug#14935).
6374 * files.el (revert-buffer-function): Use a non-nil default.
6375 (revert-buffer-preserve-modes): Declare var to
6376 provide access to the `preserve-modes' argument.
6377 (revert-buffer): Let-bind it.
6378 (revert-buffer--default): New function, extracted from revert-buffer.
6380 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6382 * lpr.el: Signal print errors more prominently.
6383 (print-region-function): Don't default to nil.
6384 (lpr-print-region): New function, extracted from print-region-1.
6385 Check lpr's return value and signal an error in case of problem.
6386 (print-region-1): Use it.
6387 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6389 (ps-printer-name): Default to nil.
6390 (ps-printer-name-option): Default to lpr-printer-switch.
6391 (ps-print-region-function): Don't default to nil.
6392 (ps-postscript-code-directory): Simplify default.
6393 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6394 (ps-string-list, ps-eval-switch, ps-flatten-list)
6395 (ps-flatten-list-1): Remove.
6396 (ps-multibyte-buffer): Avoid setq.
6397 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6398 (print-region-function, ps-print-region-function): Don't set them here.
6400 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6402 * ido.el (ido-fractionp):
6403 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6404 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6405 (ido-max-directory-size, ido-max-dir-file-cache)
6406 (ido-decorations): Doc fix.
6408 * ansi-color.el: Fix old URL.
6410 2013-07-23 Michael R. Mauger <michael@mauger.com>
6412 * progmodes/sql.el: Version 3.3
6413 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6414 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6415 (sql-interactive-remove-continuation-prompt): Rewrite, use
6416 functions above. Fix continuation prompt and complete output line
6418 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6419 redirected output buffer.
6420 (sql-mode): Restore deleted code (Bug#13591).
6422 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6424 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6426 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6428 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6430 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6431 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6432 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6434 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6436 * desktop.el (desktop-clear): Simplify; remove useless checks
6437 against invalid buffer names.
6438 (desktop-list*): Use cl-list*.
6439 (desktop-buffer-info, desktop-create-buffer): Simplify.
6441 2013-07-23 Leo Liu <sdl.web@gmail.com>
6443 * bookmark.el (bookmark-make-record): Restore NAME as a default
6446 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6448 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6449 extracted from autoload--insert-text.
6450 (autoload--insert-text): Remove.
6451 (autoload--print-cookie-text): New function, extracted from
6452 autoload--insert-cookie-text.
6453 (autoload--insert-cookie-text): Remove.
6454 (autoload-generate-file-autoloads): Adjust calls accordingly.
6456 * winner.el (winner-hook-installed-p): Remove.
6457 (winner-mode): Simplify accordingly.
6459 * subr.el (add-to-list): Fix compiler-macro when `append' is
6460 not constant. Don't use `cl-member' for the base case.
6462 * progmodes/subword.el: Fix boundary case (bug#13758).
6463 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6465 (subword-backward-regexp): Make it a constant.
6466 (subword-forward-internal): Don't treat a trailing capital as the
6467 beginning of a word.
6469 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6471 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6472 global value of tabulated-list-revert-hook (bug#14930).
6474 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6476 * desktop.el: Require 'cl-lib.
6477 (desktop-before-saving-frames-functions): New hook.
6478 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6479 for frames being saved. Rename from desktop--save-minibuffer-frames.
6480 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6481 Do not save frames with non-nil `desktop-dont-save' parameter.
6482 Filter out deleted frames.
6483 (desktop--find-frame): Use cl-find-if.
6484 (desktop--select-frame): Use cl-(first|second|third) to access values
6486 (desktop--make-frame): Use cl-delete-if.
6487 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6488 (desktop-restore-frames): Use cl-(first|second|third) to access values
6489 of desktop-mini. Look for visible frame at the end, not while
6492 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6493 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6494 Use string-match-p, looking-at-p (bug#14927).
6496 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6498 * desktop.el (desktop-saved-frame-states):
6499 Rename from desktop--saved-states; all users changed.
6500 (desktop-save-frames): Rename from desktop--save-frames.
6501 Do not save state to desktop file.
6502 (desktop-save): Save desktop-saved-frame-states to desktop file
6504 (desktop-restoring-frames-p): New function.
6505 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6506 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6507 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6509 * desktop.el: Correctly restore iconified frames.
6510 (desktop--filter-iconified-position): New function.
6511 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6513 2013-07-20 Glenn Morris <rgm@gnu.org>
6515 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6516 Let `message' do the formatting.
6517 (def-gdb-preempt-display-buffer): Add explicit format.
6519 * image-dired.el (image-dired-track-original-file):
6520 Use with-current-buffer.
6521 (image-dired-track-thumbnail): Use with-current-buffer.
6522 Avoid changing point of wrong window.
6524 * image-dired.el (image-dired-track-original-file):
6525 Avoid changing point of wrong window. (Bug#14909)
6527 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6529 * progmodes/gdb-mi.el (gdb-done-or-error):
6530 Guard against "%" in gdb output. (Bug#14127)
6532 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6534 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6537 * international/mule.el (coding-system-iso-2022-flags): Fix last
6540 2013-07-20 Kenichi Handa <handa@gnu.org>
6542 * international/mule.el (coding-system-iso-2022-flags):
6543 Add `8-bit-level-4'. (Bug#8522)
6545 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6547 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6550 * net/eww.el (eww-process-text-input): Allow inputting when the
6551 point is at the start of the line, as the properties aren't
6554 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6557 2013-07-19 Richard Stallman <rms@gnu.org>
6559 * epa.el (epa-popup-info-window): Doc fix.
6561 * subr.el (split-string): New arg TRIM.
6563 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6565 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6566 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6568 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6570 * filenotify.el (file-notify--library): Rename from
6571 `file-notify-support'. Do not autoload. Adapt all uses.
6572 (file-notify-supported-p): New defun.
6574 * autorevert.el (auto-revert-use-notify):
6575 Use `file-notify-supported-p' instead of `file-notify-support'.
6577 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6579 * net/tramp.el (tramp-file-name-for-operation):
6580 Add `file-notify-supported-p'.
6582 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6584 (tramp-sh-file-name-handler-alist): Add it as handler for
6585 `file-notify-supported-p '.
6587 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6588 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6589 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6590 Add `ignore' as handler for `file-notify-*' functions.
6592 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6594 * simple.el (line-move-partial, line-move): Don't start vscroll or
6595 scroll-up if the current line is not taller than the window.
6598 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6600 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6601 highlight question marks in the method names as strings.
6602 (ruby-block-beg-keywords): Inline.
6603 (ruby-font-lock-keyword-beg-re): Extract from
6604 `ruby-font-lock-keywords'.
6606 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6608 * frame.el (blink-cursor-blinks): New defcustom.
6609 (blink-cursor-blinks-done): New defvar.
6610 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6611 (blink-cursor-timer-function): Check if number of blinks has been
6613 (blink-cursor-suspend, blink-cursor-check): New defuns.
6615 2013-07-15 Glenn Morris <rgm@gnu.org>
6617 * edmacro.el (edmacro-format-keys): Fix previous change.
6619 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6621 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6622 The hack didn't work outside English locales anyway.
6624 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6626 * simple.el (define-alternatives): Rename from alternatives-define,
6627 per RMS' suggestion.
6629 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6631 * desktop.el (desktop-restore-frames): Change default to t.
6632 (desktop-restore-in-current-display): Now offer more options.
6633 (desktop-restoring-reuses-frames): New customization option.
6634 (desktop--saved-states): Doc fix.
6635 (desktop-filter-parameters-alist): New variable, renamed and expanded
6636 from desktop--excluded-frame-parameters.
6637 (desktop--target-display): New variable.
6638 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6639 (desktop--filter-tty*, desktop--filter-*-color)
6640 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6641 (desktop--filter-save-desktop-parm)
6642 (desktop-restore-in-original-display-p): New functions.
6643 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6644 (desktop--save-minibuffer-frames): New function, inspired by a similar
6645 function from Martin Rudalics.
6646 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6647 (desktop--restore-in-this-display-p): Remove.
6648 (desktop--find-frame): Rename from desktop--find-frame-in-display
6649 and add predicate argument.
6650 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6651 (desktop--reuse-list): New variable.
6652 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6654 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6656 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6658 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6660 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6662 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6663 Highlight conversion methods on Kernel.
6665 2013-07-13 Alan Mackenzie <acm@muc.de>
6667 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6668 and comment it out. This out-commenting enables certain C++
6669 declarations to be parsed correctly.
6671 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6673 * international/mule.el (define-coding-system): Doc fix.
6675 * simple.el (default-font-height): Don't call font-info if the
6676 frame's default font didn't change since the frame was created.
6679 2013-07-13 Leo Liu <sdl.web@gmail.com>
6681 * ido.el (ido-read-file-name): Guard against non-symbol value.
6683 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6685 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6688 2013-07-13 Leo Liu <sdl.web@gmail.com>
6690 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6691 ido-set-matches call. (Bug#6852)
6693 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6695 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6696 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6698 (ruby-font-lock-keywords): Distinguish calls to functions with
6699 module-like names from module references. Highlight character
6702 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6704 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6705 (gdb-send): Handle continued commands. (Bug#14847)
6707 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6709 * desktop.el (desktop--v2s): Remove unused local variable.
6710 (desktop-save-buffer): Make defvar-local; adjust docstring.
6711 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6712 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6714 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6716 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6718 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6720 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6723 2013-07-12 Glenn Morris <rgm@gnu.org>
6725 * doc-view.el: Require cl-lib at runtime too.
6726 (doc-view-remove-if): Remove.
6727 (doc-view-search-next-match, doc-view-search-previous-match):
6730 * edmacro.el: Require cl-lib at runtime too.
6731 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6732 (edmacro-mismatch, edmacro-subseq): Remove.
6734 * shadowfile.el: Require cl-lib.
6735 (shadow-remove-if): Remove.
6736 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6739 * wid-edit.el: Require cl-lib.
6740 (widget-choose): Use cl-remove-if.
6741 (widget-remove-if): Remove.
6743 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6744 (ebrowse-delete-if-not): Remove.
6745 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6746 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6747 Use cl-delete-if-not.
6749 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6751 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6752 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6754 2013-07-12 Leo Liu <sdl.web@gmail.com>
6756 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6758 2013-07-11 Glenn Morris <rgm@gnu.org>
6760 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6761 (edebug-gensym-index, edebug-gensym):
6762 Remove reimplementation of cl-gensym.
6763 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6765 * thumbs.el: Require cl-lib at run-time too.
6766 (thumbs-gensym-counter, thumbs-gensym):
6767 Remove reimplementation of cl-gensym.
6768 (thumbs-temp-file): Use cl-gensym.
6770 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6771 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6772 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6773 (ert--union, ert--gensym-counter, ert--gensym-counter)
6774 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6775 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6776 (ert-make-test-unbound, ert--expand-should-1)
6777 (ert--expand-should, ert--should-error-handle-error)
6778 (should-error, ert--explain-equal-rec)
6779 (ert--plist-difference-explanation, ert-select-tests)
6780 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6781 Use cl-lib functions rather than reimplementations.
6783 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6785 * net/tramp.el (tramp-methods): Extend docstring.
6786 (tramp-connection-timeout): New defcustom.
6787 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6788 (with-tramp-progress-reporter): Simplify.
6789 (tramp-process-actions): Improve messages.
6791 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6792 * net/tramp-sh.el (tramp-maybe-open-connection):
6793 Use `tramp-connection-timeout'.
6794 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6797 2013-07-11 Leo Liu <sdl.web@gmail.com>
6799 * ido.el (ido-read-file-name): Conform to the requirements of
6800 read-file-name. (Bug#11861)
6801 (ido-read-directory-name): Conform to the requirements of
6802 read-directory-name.
6804 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6806 * subr.el (delay-warning): New function.
6808 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6810 * simple.el (default-line-height): New function.
6811 (line-move-partial, line-move): Use it instead of computing the
6813 (line-move-partial): Always compute ROWH. If the last line is
6814 partially-visible, but its text is completely visible, allow
6815 cursor to enter such a partially-visible line.
6817 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6819 Improve error messages. (Bug#14808)
6821 * net/tramp.el (tramp-current-connection): New defvar, moved from
6823 (tramp-message-show-progress-reporter-message): Remove, not
6825 (tramp-error-with-buffer): Show message in minibuffer.
6826 Discard input before waiting. Reset connection timestamp.
6827 (with-tramp-progress-reporter): Improve messages.
6828 (tramp-process-actions): Use progress reporter. Delete process in
6829 case of error. Improve messages.
6831 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6832 Call `tramp-error-with-buffer' with vector and buffer.
6833 (tramp-current-connection): Remove.
6834 (tramp-maybe-open-connection): The car of
6835 `tramp-current-connection' are the first 3 slots of the vector.
6837 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6839 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6840 inside continued strings.
6842 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6844 Timestamp fixes for undo (Bug#14824).
6845 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6847 2013-07-10 Leo Liu <sdl.web@gmail.com>
6849 * files.el (require-final-newline): Allow safe local value.
6852 2013-07-09 Leo Liu <sdl.web@gmail.com>
6854 * ido.el (ido-read-directory-name): Handle fallback.
6855 (ido-read-file-name): Update DIR to ido-current-directory.
6857 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6859 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6861 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6862 "autoload". Remove "warn lower camel case" section, previously
6863 commented out. Highlight negation char. Do not highlight the
6864 target in singleton method definitions.
6866 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6868 * faces.el (tty-setup-hook): Declare the hook.
6870 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6871 and detect when a guard/pred depends on local vars (bug#14773).
6872 (pcase--u1): Adjust caller.
6874 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6876 * simple.el (line-move-partial, line-move): Account for
6878 (line-move-partial): Avoid setting vscroll when the last
6879 partially-visible line in window is of default height.
6881 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6883 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6886 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6888 * subr.el (read-quoted-char): Remove unused local variable `char'.
6890 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6892 * ediff.el (ediff-version): Version update.
6893 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6894 (ediff-merge-with-ancestor-command, ediff-directories-command)
6895 (ediff-directories3-command, ediff-merge-directories-command)
6896 (ediff-merge-directories-with-ancestor-command): New functions.
6897 All are command-line interfaces to ediff: to facilitate calling
6898 Emacs with the appropriate ediff functions invoked.
6900 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6901 (viper-save-kill-buffer): Check if buffer is modified.
6903 * viper.el (viper-version): Version update.
6904 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6906 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6908 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6909 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6910 (viper-intercept-ESC-key): Simplify.
6911 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6912 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6913 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6914 (viper-setup-ESC-to-escape): New functions.
6915 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6916 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6918 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6920 * simple.el (default-font-height, window-screen-lines):
6922 (line-move, line-move-partial): Use them instead of
6923 frame-char-height and window-text-height. This makes scrolling
6924 text smoother when the buffer's default face uses a font that is
6925 different from the frame's default font.
6927 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6929 * files.el (write-file): Do not display confirm dialog for NS,
6930 it does its own dialog, which can't be cancelled (Bug#14578).
6932 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6934 * simple.el (line-move-partial): Adjust the row returned by
6935 posn-at-point for the current window-vscroll. (Bug#14567)
6937 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6939 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6940 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6943 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6945 * window.el (window-state-put-stale-windows): New variable.
6946 (window--state-put-2): Save list of windows without matching buffer.
6947 (window-state-put): Remove "bufferless" windows if possible.
6949 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6951 * simple.el (alternatives-define): Remove leftover :group keyword.
6954 2013-07-06 Leo Liu <sdl.web@gmail.com>
6956 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6957 (ido-enable-virtual-buffers): New variable.
6958 (ido-buffer-internal, ido-toggle-virtual-buffers)
6959 (ido-make-buffer-list): Use it.
6960 (ido-exhibit): Support turning on and off virtual buffers
6963 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6965 * simple.el (alternatives-define): New macro.
6967 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6969 * subr.el (read-quoted-char): Use read-key.
6970 (sit-for): Let read-event decode tty input (bug#14782).
6972 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6974 * calendar/todo-mode.el: Add handling of file deletion, both by
6975 mode command and externally. Fix various related bugs.
6976 Clarify Commentary and improve some documentation strings and code.
6977 (todo-delete-file): New command.
6978 (todo-check-file): New function.
6979 (todo-show): Handle external deletion of the file we're trying to
6980 show (bug#14688). Replace called-interactively-p by an optional
6981 prefix argument to avoid problematic interaction with catch form
6982 when byte compiled (bug#14702).
6983 (todo-quit): Handle external deletion of the archive's todo file.
6984 Make sure the buffer that was visiting the archive file is still
6985 live before trying to bury it.
6986 (todo-category-completions): Handle external deletion of any
6987 category completion files.
6988 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6989 of todo files, in case of external deletion.
6990 (todo-add-file): Replace unnecessary setq by let-binding.
6991 (todo-find-archive): Check whether there are any archives.
6992 Replace unnecessary setq by let-binding.
6993 (todo-archive-done-item): Use find-file-noselect to get the
6994 archive buffer whether or not the archive already exists.
6995 Remove superfluous code. Use file size instead of buffer-file-name to
6996 check if the archive is new; if it is, update list of archives.
6997 (todo-default-todo-file): Allow nil to be a valid value for when
6998 there are no todo files.
6999 (todo-reevaluate-default-file-defcustom): Use corrected definition
7000 of todo-default-todo-file.
7001 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7002 (todo-delete-category, todo-show-categories-table)
7003 (todo-category-number): Clarify comment.
7004 (todo-filter-items): Clarify documentation string.
7005 (todo-show-current-file, todo-display-as-todo-file)
7006 (todo-reset-and-enable-done-separator): Tweak documentation string.
7007 (todo-done-separator): Make separator length window-width, since
7008 bug#2749 is now fixed.
7010 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7012 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7013 Support both "gvfs-monitor-dir" and "inotifywait".
7014 (tramp-sh-file-inotifywait-process-filter): Rename from
7015 `tramp-sh-file-notify-process-filter'.
7016 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7017 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7019 2013-07-05 Leo Liu <sdl.web@gmail.com>
7021 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7023 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7025 * frame.el (display-pixel-height, display-pixel-width)
7026 (display-mm-height, display-mm-width): Mention behavior on
7027 multi-monitor setups in docstrings.
7028 (w32-display-monitor-attributes-list): Declare function.
7029 (display-monitor-attributes-list): Use it.
7031 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7033 * filenotify.el: New package.
7035 * autorevert.el (top): Require filenotify.el.
7036 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7038 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7039 (auto-revert-notify-handler): Use `file-notify-*' functions.
7041 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7043 * net/tramp.el (tramp-file-name-for-operation):
7044 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7046 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7047 for `file-notify-add-watch' and `file-notify-rm-watch'.
7048 (tramp-process-sentinel): Improve trace.
7049 (tramp-sh-handle-file-notify-add-watch)
7050 (tramp-sh-file-notify-process-filter)
7051 (tramp-sh-handle-file-notify-rm-watch)
7052 (tramp-get-remote-inotifywait): New defuns.
7054 2013-07-03 Juri Linkov <juri@jurta.org>
7056 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7057 call of `occur-read-primary-args' to interactive spec.
7059 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7060 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7062 2013-07-03 Matthias Meulien <orontee@gmail.com>
7064 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7065 `Buffer-menu-multi-occur'. Add it to the menu.
7066 (Buffer-menu-mode): Document it in docstring.
7067 (Buffer-menu-multi-occur): New command. (Bug#14673)
7069 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7071 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7072 keywords and built-ins.
7074 2013-07-03 Glenn Morris <rgm@gnu.org>
7076 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7078 Make info-xref checks case-sensitive by default
7079 * info.el (Info-find-node, Info-find-in-tag-table)
7080 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7081 Add option for exact case matching of nodes.
7082 * info-xref.el (info-xref): New custom group.
7083 (info-xref-case-fold): New option.
7084 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7086 2013-07-03 Leo Liu <sdl.web@gmail.com>
7088 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7090 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7092 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7093 middle of block statement initially, lower the depth. Remove
7094 FIXME comment, not longer valid. Remove middle of block statement
7095 detection, no need to do that anymore since we've been using
7096 `ruby-parse-region' here.
7098 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7100 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7102 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7104 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7106 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7108 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7109 (desktop-restore-in-current-display): New customization option.
7110 (desktop--excluded-frame-parameters): Add `font'.
7111 (desktop--save-frames): Rename from desktop--save-windows.
7112 (desktop--restore-in-this-display-p): New function.
7113 (desktop--make-full-frame): Remove unwanted width/height from
7114 full(width|height) frames.
7115 (desktop--restore-frames): Rename from desktop--restore-windows.
7116 Obey desktop-restore-current-display. Do not delete old frames or
7117 select a new frame unless we were able to restore at least one frame.
7119 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7121 * files.el (find-file-noselect): Simplify conditional expression.
7123 * remember.el (remember-append-to-file):
7124 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7126 Add `remember-notes' function to store random notes across Emacs
7128 * remember.el (remember-data-file): Add :set callback to affect
7129 notes buffer (if any).
7130 (remember-notes): New command.
7131 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7132 New defcustoms for the `remember-notes' function.
7133 (remember-notes-save-and-bury-buffer): New command.
7134 (remember-notes-mode-map): New variable.
7135 (remember-mode): New minor mode.
7136 (remember-notes--kill-buffer-query): New function.
7137 * startup.el (initial-buffer-choice): Add notes to custom type.
7139 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7141 * bindings.el (right-char, left-char): Don't call sit-for, this is
7142 no longer needed. Use arithmetic comparison only for numerical
7145 * international/mule-cmds.el (select-safe-coding-system):
7146 Handle the case of FROM being a string correctly. (Bug#14755)
7148 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7150 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7151 progression on degenerate tables.
7152 (shr-rescale-image): ImageMagick animated images currently don't work.
7154 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7156 Some fixes and improvements for desktop frame restoration.
7157 It is still experimental and disabled by default.
7158 * desktop.el (desktop--save-windows): Put the selected frame at
7159 the head of the list.
7160 (desktop--make-full-frame): New function.
7161 (desktop--restore-windows): Try to re-select the frame that was
7162 selected upon saving. Do not abort if some frames fail to restore,
7163 just show an error message and continue. Set up maximized frames
7164 so they have default non-maximized dimensions.
7166 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7168 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7169 Don't start heredoc inside a string or comment.
7171 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7173 * bindings.el (visual-order-cursor-movement): New defcustom.
7174 (right-char, left-char): Provide visual-order cursor motion by
7175 calling move-point-visually. Update the doc strings.
7177 2013-06-28 Kenichi Handa <handa@gnu.org>
7179 * international/mule.el (define-coding-system): New coding system
7180 properties :inhibit-null-byte-detection,
7181 :inhibit-iso-escape-detection, and :prefer-utf-8.
7182 (set-buffer-file-coding-system): If :charset-list property of
7183 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7184 appropriate for setting.
7186 * international/mule-cmds.el (select-safe-coding-system):
7187 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7188 multibyte characters, return utf-8 (or one of its siblings).
7190 * international/mule-conf.el (prefer-utf-8): New coding system.
7191 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7194 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7196 * net/shr.el (shr-render-region): New function.
7198 * net/eww.el: Autoload `eww-browse-url'.
7200 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7202 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7203 Adapt to `package-desc-version' being a list.
7204 Use `package--ac-desc-version' to retrieve version from a package
7207 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7209 New experimental feature to save&restore window and frame setup.
7210 * desktop.el (desktop-save-windows): New defcustom.
7211 (desktop--saved-states): New var.
7212 (desktop--excluded-frame-parameters): New defconst.
7213 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7214 (desktop--restore-windows, desktop--save-windows): New functions.
7215 (desktop-save): Call `desktop--save-windows'.
7216 (desktop-read): Call `desktop--restore-windows'.
7218 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7220 * net/shr.el (add-face-text-property): Remove compat definition.
7222 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7224 * info.el (Info-try-follow-nearest-node): Move search for footnote
7225 above search for node name to prevent missing a footnote (bug#14717).
7227 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7229 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7231 2013-06-27 Leo Liu <sdl.web@gmail.com>
7233 * net/eww.el (eww-read-bookmarks): Check file size.
7235 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7237 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7238 advice--pending if newdef is nil or an autoload (bug#13820).
7239 (advice-mapc): New function.
7241 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7243 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7245 (eww-mode-map): Add a menu bar.
7246 (eww-add-bookmark): New command.
7247 (eww-bookmark-mode): New mode and commands.
7248 (eww-add-bookmark): Remove newlines from the title.
7249 (eww-bookmark-browse): Don't bug out if it's the only window.
7251 2013-06-26 Glenn Morris <rgm@gnu.org>
7253 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7254 (hfy-size): Handle ttys. (Bug#14668)
7256 * info-xref.el: Update for Texinfo 5 change in *note format.
7257 (info-xref-node-re, info-xref-note-re): New constants.
7258 (info-xref-check-buffer): Use info-xref-note-re.
7260 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7262 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7264 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7265 nil terminate the loop (bug#14718).
7267 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7269 * net/eww.el: Rework history traversal. When going forward/back,
7270 put these actions into the history, too, so that they can be
7272 (eww-render): Move the history reset to the correct buffer.
7274 2013-06-25 Juri Linkov <juri@jurta.org>
7276 * files-x.el (modify-dir-local-variable): Change the header comment
7277 in the file with directory local variables. (Bug#14692)
7279 * files-x.el (read-file-local-variable-value): Add `default'.
7282 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7284 * net/eww.el (eww-make-unique-file-name): Create a unique file
7285 name before saving to entering `y' accidentally asynchronously.
7287 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7289 * net/eww.el (eww-download): New command and keystroke.
7291 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7293 * net/eww.el (eww-copy-page-url): Change name of command.
7295 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7296 be more consistent with Info and dired.
7298 * net/eww.el (eww-mode-map): Ditto.
7300 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7302 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7303 packages from archives.
7304 (package-archive-contents): Change format; include obsolete packages.
7305 (package-desc): Use `dir' to mark builtin packages.
7306 (package--from-builtin): Set the `dir' field to `builtin'.
7307 (generated-autoload-file, version-control): Declare.
7308 (package-compute-transaction): Change first arg and return value to be
7309 lists of package-descs. Adjust to new package-archive-contents format.
7310 (package--add-to-archive-contents): Adjust to new
7311 package-archive-contents format.
7312 (package-download-transaction): Arg is now a list of package-descs.
7313 (package-install): If `pkg' is a package name, pass it as
7314 a requirement, so it is subject to the usual (e.g. disabled) checks.
7315 (describe-package): Accept package-desc as well.
7316 (describe-package-1): Describe a specific package-desc. Add links to
7317 other package-descs for the same package name.
7318 (package-menu-describe-package): Pass the actual package-desc.
7319 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7321 (package-desc-status): New function.
7322 (package-menu--refresh): New function, extracted
7323 from package-menu--generate.
7324 (package-menu--generate): Use it.
7325 (package-delete): Update package-alist.
7326 (package-menu-execute): Don't call package-initialize.
7328 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7329 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7330 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7331 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7332 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7333 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7335 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7337 * window.el (window--state-get-1): Workaround for bug#14527.
7338 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7340 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7342 * net/eww.el (eww-back-url): Implement the history by stashing all
7343 the data into a list.
7344 (eww-forward-url): Allow going forward in the history, too.
7346 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7348 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7349 for values and use read--expression for expressions (bug#14710).
7350 (read-file-local-variable): Avoid setq.
7351 (read-file-local-variable-mode): Use minor-mode-list.
7353 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7355 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7358 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7360 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7361 Update imenu-support when dialect changes.
7363 2013-06-25 Leo Liu <sdl.web@gmail.com>
7365 * ido.el (ido-read-internal): Allow forward slash on windows.
7367 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7369 * net/eww.el (eww): Start of strings is \\`, not ^.
7371 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7373 * net/shr.el (shr-browse-url): Fix interactive spec.
7375 * net/eww.el (eww): Add a trailing slash to domain names.
7377 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7379 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7381 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7383 * net/shr.el (shr-browse-url): Use an external browser if given a
7386 * net/eww.el (eww-external-browser): Move to shr.
7388 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7390 * net/eww.el (eww): Work more correctly for file: URLs.
7391 (eww-detect-charset): Allow quoted charsets.
7392 (eww-yank-page-url): New command and keystroke.
7394 2013-06-24 Daiki Ueno <ueno@gnu.org>
7396 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7397 file name of gpg executable.
7398 (epg-context-program): New function.
7399 (epg-context-home-directory): New function.
7400 (epg-context-set-program): New function.
7401 (epg-context-set-home-directory): New function.
7402 (epg--start): Use `epg-context-program' instead of
7404 (epg--list-keys-1): Likewise.
7406 2013-06-24 Leo Liu <sdl.web@gmail.com>
7408 * ido.el (ido-read-internal): Fix bug#14620.
7410 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7412 * faces.el (face-documentation): Simplify.
7413 (read-face-attribute, tty-find-type, x-resolve-font-name):
7414 Use `string-match-p'.
7415 (list-faces-display): Use `string-match-p'. Simplify.
7416 (face-spec-recalc): Check face to avoid face alias loops.
7417 (read-color): Use `string-match-p' and non-capturing parenthesis.
7419 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7421 * net/shr.el (shr-rescale-image): Use the new
7422 :max-width/:max-height functionality.
7424 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7426 * net/eww.el (eww-search-prefix): New variable.
7428 (eww-external-browser): New variable.
7429 (eww-mode-map): New keystroke.
7430 (eww-browse-with-external-browser): New command.
7432 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7434 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7436 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7437 Don't skip aligning the next header field when padding is 0;
7438 otherwise, field width is not respected unless the title is as
7441 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7443 * emacs-lisp/package.el (package-el-version): Remove.
7444 (package-process-define-package): Fix inf-loop.
7445 (package-install): Allow symbols as arguments again.
7447 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7449 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7450 add some more keyword-like methods.
7451 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7453 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7455 * bs.el (bs-buffer-show-mark): Make defvar-local.
7456 (bs-mode): Use setq-local.
7458 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7459 (emacs-lock--try-unlocking): Make defvar-local.
7461 2013-06-22 Glenn Morris <rgm@gnu.org>
7463 * play/cookie1.el (cookie-apropos): Minor simplification.
7465 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7467 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7469 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7470 `regexp-opt', it breaks the build during dumping.
7472 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7474 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7475 Highlight keyword-like methods on Kernel and Module with
7476 font-lock-builtin-face.
7477 (auto-mode-alist): Consolidate different entries into one regexp
7478 and add more *file-s.
7480 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7482 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7484 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7485 (diary-entry): Use it in the action of this button type instead of
7488 * calendar/todo-mode.el: New version.
7489 (todo-add-category): Append new category to end of file and give
7490 it the highest number, instead of putting it at the beginning and
7491 giving it 0. Incorporate noninteractive functionality.
7492 (todo-forward-category): Adapt to 1-based category numbering.
7493 Allow skipping over archived categories.
7494 (todo-backward-category): Derive from todo-forward-category.
7495 (todo-backward-item, todo-forward-item): Make noninteractive and
7496 delegate interactive part to new commands. Make sensitive to done items.
7497 (todo-categories): Make value an alist of category names and
7498 vectors of item counts.
7499 (todo-category-beg): Make a defconst.
7500 (todo-category-number): Use 1 instead of 0 as initial value.
7501 (todo-category-select): Make sensitive to overlays, optional item
7502 highlighting and done items.
7503 (todo-delete-item): Make sensitive to overlays and marked and done items.
7504 (todo-edit-item): Make sensitive to overlays and editing of
7505 date/time header optional. Add format checks.
7506 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7507 no-op if point is not on an item. Advertise using todo-edit-quit.
7508 (todo-edit-mode): Make sensitive to new format, font-locking, and
7509 multiple todo files.
7510 (todo-insert-item, todo-insert-item-here): Derive from
7511 todo-basic-insert-item and extend functionality.
7512 (todo-item-end, todo-item-start): Make sensitive to done items.
7513 (todo-item-string): Don't return text properties. Restore point.
7514 (todo-jump-to-category): Make sensitive to multiple todo files and
7515 todo archives. Use extended category completion.
7516 (todo-lower-item, todo-raise-item): Rename to *-priority and
7517 derive from todo-set-item-priority.
7518 (todo-mode): Derive from special-mode. Make sensitive to new
7519 format, font-locking and multiple todo files. Make read-only.
7520 (todo-mode-map): Don't suppress digit keys, so they can supply
7521 prefix arguments. Add many new key bindings.
7522 (todo-prefix): Insert as an overlay instead of file text.
7523 Change semantics from diary date expression to purely visual mark.
7524 (todo-print): Rename to todo-print-buffer. Make buffer display
7525 features printable. Remove option to restrict number of items
7526 printed. Add option to print to file.
7527 (todo-print-function): Rename to todo-print-buffer-function.
7528 (todo-quit): Extend to handle exiting new todo modes.
7529 (todo-remove-item): Make sensitive to overlays.
7530 (todo-save): Extend to buffers of filtered items.
7531 (todo-show): Make sensitive to done items, multiple todo files and
7532 new todo modes. Offer to convert legacy todo file before creating
7533 first new todo file.
7534 (todo-show-priorities): Rename to todo-top-priorities.
7535 Change semantics of value 0.
7536 (todo-top-priorities): Rename to todo-filter-top-priorities,
7537 derive from todo-filter-items and extend functionality.
7538 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7539 and extend functionality to other types of filtered items.
7540 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7541 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7542 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7543 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7544 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7545 (todo-edit-mode-hook, todo-entry-prefix-function)
7546 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7547 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7548 (todo-initials, todo-insert-threshold, todo-item-string-start)
7549 (todo-line-string, todo-menu, todo-mode-hook)
7550 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7551 (todo-print-priorities, todo-remove-separator)
7552 (todo-save-top-priorities-too, todo-string-count-lines)
7553 (todo-string-multiline-p, todo-time-string-format)
7554 (todo-tmp-buffer-name): Remove.
7555 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7556 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7557 (todo-edit-category-diary-inclusion)
7558 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7559 (todo-edit-file, todo-edit-item-date-day)
7560 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7561 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7562 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7563 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7564 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7565 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7566 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7567 (todo-filter-top-priorities-multifile, todo-find-archive)
7568 (todo-find-filtered-items-file, todo-go-to-source-item)
7569 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7570 (todo-jump-to-archive-category, todo-lower-category)
7571 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7572 (todo-move-category, todo-move-item, todo-next-button)
7573 (todo-next-item, todo-padded-string, todo-powerset)
7574 (todo-previous-button, todo-previous-item)
7575 (todo-print-buffer-to-file, todo-raise-category)
7576 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7577 (todo-set-category-number, todo-set-item-priority)
7578 (todo-set-top-priorities-in-category)
7579 (todo-set-top-priorities-in-file, todo-show-categories-table)
7580 (todo-sort-categories-alphabetically-or-numerically)
7581 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7582 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7583 (todo-toggle-item-header, todo-toggle-item-highlighting)
7584 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7585 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7586 (todo-unarchive-items, todo-unmark-category): New commands.
7587 (todo-absolute-file-name, todo-add-to-buffer-list)
7588 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7589 (todo-basic-insert-item, todo-category-completions)
7590 (todo-category-number, todo-category-string-matcher-1)
7591 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7592 (todo-check-format, todo-clear-matches)
7593 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7594 (todo-current-category, todo-date-string-matcher)
7595 (todo-define-insertion-command, todo-diary-expired-matcher)
7596 (todo-diary-goto-entry, todo-diary-item-p)
7597 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7598 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7599 (todo-done-item-section-p, todo-done-separator)
7600 (todo-done-string-matcher, todo-files, todo-filter-items)
7601 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7602 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7603 (todo-insert-category-line, todo-insert-item-from-calendar)
7604 (todo-insert-sort-button, todo-insert-with-overlays)
7605 (todo-insertion-command-name, todo-insertion-key-bindings)
7606 (todo-label-to-key, todo-longest-category-name-length)
7607 (todo-make-categories-list, todo-mode-external-set)
7608 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7609 (todo-modes-set-3, todo-multiple-filter-files)
7610 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7611 (todo-read-category, todo-read-date, todo-read-dayname)
7612 (todo-read-file-name, todo-read-time)
7613 (todo-reevaluate-category-completions-files-defcustom)
7614 (todo-reevaluate-default-file-defcustom)
7615 (todo-reevaluate-filelist-defcustoms)
7616 (todo-reevaluate-filter-files-defcustom)
7617 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7618 (todo-reset-done-separator, todo-reset-done-separator-string)
7619 (todo-reset-done-string, todo-reset-global-current-todo-file)
7620 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7621 (todo-reset-prefix, todo-set-categories)
7622 (todo-set-date-from-calendar, todo-set-show-current-file)
7623 (todo-set-top-priorities, todo-short-file-name)
7624 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7625 (todo-total-item-counts, todo-update-buffer-list)
7626 (todo-update-categories-display, todo-update-categories-sexp)
7627 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7629 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7631 (todo-categories, todo-display, todo-edit, todo-faces)
7632 (todo-filtered): New defgroups.
7633 (todo-archived-only, todo-button, todo-category-string, todo-date)
7634 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7635 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7636 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7637 (todo-add-item-if-new-category, todo-always-add-time-string)
7638 (todo-categories-align, todo-categories-archived-label)
7639 (todo-categories-category-label, todo-categories-diary-label)
7640 (todo-categories-done-label, todo-categories-number-separator)
7641 (todo-categories-todo-label, todo-categories-totals-label)
7642 (todo-category-completions-files, todo-completion-ignore-case)
7643 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7644 (todo-done-separator-string, todo-done-string)
7645 (todo-files-function, todo-filter-done-items, todo-filter-files)
7646 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7647 (todo-initial-category, todo-initial-file, todo-item-mark)
7648 (todo-legacy-date-time-regexp, todo-mode-line-function)
7649 (todo-nondiary-marker, todo-number-prefix)
7650 (todo-print-buffer-function, todo-show-current-file)
7651 (todo-show-done-only, todo-show-first, todo-show-with-done)
7652 (todo-skip-archived-categories, todo-top-priorities-overrides)
7653 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7654 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7656 (todo-category-done, todo-date-pattern, todo-date-string-start)
7657 (todo-diary-items-buffer, todo-done-string-start)
7658 (todo-filtered-items-buffer, todo-item-start)
7659 (todo-month-abbrev-array, todo-month-name-array)
7660 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7661 (todo-top-priorities-buffer): New defconsts.
7662 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7663 (todo-categories-with-marks, todo-category-string-face)
7664 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7665 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7666 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7667 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7668 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7669 (todo-font-lock-keywords, todo-global-current-todo-file)
7670 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7671 (todo-insertion-commands-args)
7672 (todo-insertion-commands-args-genlist)
7673 (todo-insertion-commands-names, todo-insertion-map)
7674 (todo-key-bindings-t, todo-key-bindings-t+a)
7675 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7676 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7677 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7678 (todo-visited): New variables.
7680 2013-06-21 Glenn Morris <rgm@gnu.org>
7682 * play/cookie1.el (cookie-apropos): Add optional display argument.
7683 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7684 (psychoanalyze-pinhead): Use cookie-doctor.
7686 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7688 * emacs-lisp/package.el (tar-get-file-descriptor)
7689 (tar--extract): Declare.
7691 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7693 Extend flymake's warning predicate to be a function (bug#14217).
7694 * progmodes/flymake.el (flymake-warning-predicate): New.
7695 (flymake-parse-line): Use it.
7696 (flymake-warning-re): Make obsolete alias to
7697 `flymake-warning-predicate'.
7699 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7701 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7702 (package-obsolete-list): Remove.
7703 (package-activate): Remove min-version argument. Add `force' argument.
7704 Adjust to new package-alist format.
7705 (package-mark-obsolete): Remove.
7706 (package-unpack): Force reload of the package's autoloads.
7707 (package-installed-p): Check builtins if the installed package is not
7709 (package-initialize): Don't reset package-obsolete-list.
7710 Don't specify which package version to activate.
7711 (package-process-define-package, describe-package-1)
7712 (package-menu--generate): Adjust to new package-alist format.
7714 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7716 * allout-widgets.el (allout-widgets-mode-off)
7717 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7718 (allout-widgets-post-command-business)
7719 (allout-widgets-after-copy-or-kill-function)
7720 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7721 (allout-decorate-item-and-context)
7722 (allout-graphics-modification-handler): Fix typos in docstrings.
7723 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7725 * cmuscheme.el (scheme-start-file): Doc fix.
7726 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7727 (scheme-input-filter): Use `string-match-p'.
7729 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7731 * dired-x.el: Use Dired consistently in docstrings.
7733 * dired.el: Use Dired consistently in docstrings.
7734 (dired-readin, dired-mode): Use `setq-local'.
7735 (dired-switches-alist): Make defvar-local.
7736 (dired-buffers-for-dir): Use `zerop'.
7737 (dired-safe-switches-p, dired-switches-escape-p)
7738 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7739 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7740 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7741 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7742 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7743 (dired-toggle-marks, dired-mark-files-containing-regexp)
7744 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7745 (dired-flag-auto-save-files, dired-flag-backup-files):
7747 (dired-mark-files-regexp, dired-build-subdir-alist):
7748 Use `string-match-p', `looking-at-p'.
7750 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7751 (direct-print-region-helper): Use `string-match-p'.
7753 2013-06-21 Leo Liu <sdl.web@gmail.com>
7755 * comint.el (comint-redirect-results-list-from-process):
7758 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7760 * net/eww.el (eww-update-header-line-format): Quote % characters.
7762 2013-06-21 Glenn Morris <rgm@gnu.org>
7764 * play/cookie1.el (cookie): New custom group.
7765 (cookie-file): New option.
7766 (cookie-check-file): New function.
7767 (cookie): Make it interactive. Make start and end messages optional.
7768 Interactively, display the result. Default to cookie-file.
7769 (cookie-insert): Default to cookie-file.
7770 (cookie-snarf): Make start and end messages optional.
7771 Default to cookie-file. Use with-temp-buffer.
7772 (cookie-read): Rename from read-cookie.
7773 Make start and end messages optional. Default to cookie-file.
7774 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7776 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7777 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7779 2013-06-21 Leo Liu <sdl.web@gmail.com>
7781 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7783 2013-06-21 Glenn Morris <rgm@gnu.org>
7785 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7787 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7788 Daniel Hackney <dan@haxney.org>
7790 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7791 Consolidate the single-file vs tarball code.
7792 (package-desc-suffix): New function.
7793 (package-desc-full-name): Don't bother inlining it.
7794 (package-load-descriptor): Return the new package-desc.
7795 (package-mark-obsolete): Remove unused arg `package'.
7796 (package-unpack): Make it work for single files as well.
7797 Make it update package-alist.
7798 (package--make-autoloads-and-stuff): Rename from
7799 package--make-autoloads-and-compile. Don't compile any more.
7800 (package--compile): New function.
7801 (package-generate-description-file): New function, extracted from
7802 package-unpack-single.
7803 (package-unpack-single): Remove.
7804 (package--with-work-buffer): Add indentation and debugging info.
7805 (package-download-single): Remove.
7806 (package-install-from-archive): Rename from package-download-tar, make
7807 it take a pkg-desc, and make it work for single files as well.
7808 (package-download-transaction): Simplify.
7809 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7810 external tar program.
7811 (package-install-from-buffer): Remove `pkg-desc' argument.
7812 Use package-tar-file-info for tar-mode buffers.
7813 (package-install-file): Simplify accordingly.
7814 (package-archive-base): Change to take a pkg-desc.
7815 * tar-mode.el (tar--check-descriptor): New function, extracted from
7817 (tar-get-descriptor): Use it.
7818 (tar-get-file-descriptor): New function.
7819 (tar--extract): New function, extracted from tar-extract.
7820 (tar--extract): Use it.
7821 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7822 case the summary uses non-ascii. Adjust to new calling convention of
7823 package-tar-file-info.
7825 2013-06-21 Leo Liu <sdl.web@gmail.com>
7827 * comint.el (comint-redirect-results-list-from-process):
7828 Fix random delay. (Bug#14681)
7830 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7832 * profiler.el (profiler-format-number): Use log, not log10.
7834 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7836 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7838 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7840 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7841 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7843 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7844 (AUTOGENEL): ... here.
7845 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7846 (cl--defsubst-expand): Use it.
7848 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7850 * subr.el (log10): Move here from C code, and declare as obsolete.
7851 All uses of (log10 X) replaced with (log X 10).
7853 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7855 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7856 Declare with `defvar-local'.
7857 (tabulated-list-use-header-line, tabulated-list-entries)
7858 (tabulated-list-padding, tabulated-list-printer)
7859 (tabulated-list-sort-key): Declare with `defvar-local'.
7860 (tabulated-list-init-header, tabulated-list-print-fake-header):
7863 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7865 * arc-mode.el (archive-mode): Add `archive-write-file' to
7866 `write-contents-functions' also for remote files. (Bug#14652)
7868 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7870 * cus-edit.el (custom-commands): Fix typos.
7871 (custom-display): Fix tooltip text.
7872 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7873 Fix typos in docstrings.
7874 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7875 (custom-unlispify-menu-entry, custom-magic-value-create)
7876 (custom-add-see-also, custom-group-value-create): Use ?\s.
7877 (custom-guess-type, customize-apropos, editable-field)
7878 (custom-face-value-create): Use `string-match-p'.
7879 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7881 * custom.el (custom-load-symbol): Use `string-match-p'.
7883 * ansi-color.el: Convert to lexical binding.
7884 (ansi-colors): Fix URL.
7885 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7886 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7887 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7889 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7891 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7893 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7895 2013-06-19 Tom Tromey <tromey@redhat.com>
7897 * net/eww.el (eww-top-url): Remove.
7898 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7899 (eww-render): Set new variables. Don't set eww-top-url.
7900 (eww-handle-link): Handle "prev", "home", and "contents".
7901 Downcase the rel text.
7902 (eww-top-url): Choose best top URL.
7904 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7906 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7907 relying in widget.el. Using widget.el leads to too many
7908 user interface inconsistencies.
7909 (eww-self-insert): Implement entering commands in text fields.
7910 (eww-process-text-input): New function to make text input field editing
7912 (eww-submit): Rewrite to use the new-style form methods.
7913 (eww-select-display): Display the correct selected item.
7914 (eww-change-select): Implement changing the select value.
7915 (eww-toggle-checkbox): Implement radio/checkboxes.
7916 (eww-update-field): Fix compilation error.
7917 (eww-tag-textarea): Implement <textarea>.
7919 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7920 we don't shadow mode-specific bindings.
7922 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7925 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7927 2013-06-19 Glenn Morris <rgm@gnu.org>
7929 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7931 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7933 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7936 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7938 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7940 * net/browse-url.el (browse-url-browser-function):
7941 `eww-browse-url' has the right calling signature, `eww' does not.
7943 2013-06-19 Glenn Morris <rgm@gnu.org>
7945 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7946 Only eval autoloaded macros.
7947 (byte-compile-autoload): Only give the macro warning for macros.
7949 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7950 (ps-underlined-faces): Declare.
7952 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7953 (speedbar-add-supported-extension): Declare.
7955 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7956 Don't include a date stamp in the header of the generated file;
7957 it leads to needless differences between output files.
7959 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7961 * net/secrets.el (secrets-struct-secret-content-type):
7962 Replace check of introspection data by a test call of "CreateItem".
7963 Some servers do not offer introspection.
7965 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7967 * electric.el (electric-pair-mode): Improve interaction with
7968 electric-layout-mode.
7969 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7970 (electric-pair-syntax): Use text-mode-syntax-table in comments
7972 (electric-pair--insert): New function.
7973 (electric-pair-post-self-insert-function): Use it and
7974 electric--after-char-pos.
7976 2013-06-19 Leo Liu <sdl.web@gmail.com>
7978 * progmodes/octave.el (octave-help): Fix regexp.
7980 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7982 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7983 (shr-table-horizontal-line): Allow nil as a value, and change the
7985 (shr-insert-table-ruler): Respect the nil value.
7987 2013-06-18 Tom Tromey <tromey@barimba>
7989 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7991 (eww-open-file): New defun.
7992 (eww-render): Initialize new variables.
7993 (eww-display-html): Handle "link" and "a".
7994 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7995 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7996 (eww-back-url): Rename from eww-previous-url.
7997 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8000 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8002 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8003 Distinguish ternary operator tokens from slash symbol and slash
8006 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8008 Convert symbol prettification into minor mode and global minor mode.
8010 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8011 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8012 (prettify-symbols--keywords): Rename from
8013 `prog-prettify-symbols-alist' and make a local defvar.
8014 (prettify-symbols--compose-symbol): Rename from
8015 `prog--prettify-font-lock-compose-symbol'.
8016 (prettify-symbols--make-keywords): Rename from
8017 `prog-prettify-font-lock-symbols-keywords' and simplify.
8018 (prog-prettify-install): Remove.
8019 (prettify-symbols-mode): New minor mode, based on
8020 `prog-prettify-install'.
8021 (turn-on-prettify-symbols-mode): New function.
8022 (global-prettify-symbols-mode): New globalized minor mode.
8024 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8025 * progmodes/cfengine.el (cfengine3-mode):
8026 * progmodes/perl-mode.el (perl-mode): Don't call
8027 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8029 2013-06-18 Juri Linkov <juri@jurta.org>
8031 * files-x.el (modify-file-local-variable-message): New function.
8032 (modify-file-local-variable)
8033 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8034 and call `modify-file-local-variable-message' when it's non-nil.
8035 (add-file-local-variable, delete-file-local-variable)
8036 (add-file-local-variable-prop-line)
8037 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8038 and use it. (Bug#9820)
8040 2013-06-18 Juri Linkov <juri@jurta.org>
8042 * emulation/vi.el (vi-shell-op):
8043 * emulation/vip.el (vip-execute-com, ex-command):
8044 * emulation/viper-cmd.el (viper-exec-bang):
8045 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8046 the call of `shell-command-on-region'. (Bug#14637)
8048 * simple.el (shell-command-on-region): Doc fix.
8050 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8052 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8055 2013-06-18 Glenn Morris <rgm@gnu.org>
8057 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8059 * newcomment.el (comment-search-forward, comment-search-backward):
8060 Doc fix. (Bug#14376)
8062 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8064 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8065 (buffer-face-mode-invoke): Doc fix.
8067 2013-06-18 Matthias Meulien <orontee@gmail.com>
8069 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8070 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8072 2013-06-18 Glenn Morris <rgm@gnu.org>
8074 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8075 Replace obsolete function generic-make-keywords with its expansion.
8077 * progmodes/python.el (ffap-alist): Declare.
8079 * textmodes/reftex.el (bibtex-mode-map): Declare.
8081 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8083 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8084 (package-unpack, package-unpack-single): Return the pkg-dir.
8085 (package-download-transaction): Use it to update package-alist.
8087 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8089 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8092 2013-06-17 Juri Linkov <juri@jurta.org>
8094 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8096 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8098 * emacs-lisp/package.el (package-load-descriptor):
8099 Remove `with-syntax-table' call, `read' doesn't need it.
8100 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8102 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8104 * startup.el (command-line): Expand package name returned by
8105 `package--description-file' (bug#14639).
8107 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8109 * emacs-lisp/package.el (package-load-descriptor): Do not call
8110 `emacs-lisp-mode', just use its syntax table.
8112 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8114 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8115 `font-lock-extra-managed-props' if any prettifying keyword is added.
8116 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8117 (prog-mode): Use `setq-local'.
8119 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8121 * international/characters.el (standard-case-table): Set syntax of ?»
8122 and ?« to punctuation.
8124 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8126 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8127 Save relevant match data before calling `syntax-ppss' (bug#14595).
8129 2013-06-15 Juri Linkov <juri@jurta.org>
8131 * files-x.el (modify-file-local-variable-prop-line): Add local
8132 variables to the end of the existing comment on the first line.
8133 Use `file-auto-mode-skip' to skip interpreter magic line,
8134 and also skip XML declaration.
8136 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8138 * startup.el (package--builtin-versions): New var.
8139 (package-subdirectory-regexp): Remove.
8140 (package--description-file): Hard code its value instead.
8142 * emacs-lisp/package.el: Don't activate packages older than builtin.
8143 (package-obsolete-list): Rename from package-obsolete-alist, and make
8144 it into a simple list of package-desc.
8145 (package-strip-version): Remove.
8146 (package-built-in-p): Use package--builtin-versions.
8147 (package-mark-obsolete): Simplify.
8148 (package-process-define-package): Mark it obsolete if older than the
8150 (package-handle-response): Use line-end-position.
8151 (package-read-archive-contents, package--download-one-archive):
8153 (package--add-to-archive-contents): Skip if older than the builtin or
8155 (package-menu-describe-package): Fix last change.
8156 (package-list-unversioned): New var.
8157 (package-menu--generate): Use it.
8159 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8160 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8161 (autoload-builtin-package-versions): New variable.
8162 (autoload-generate-file-autoloads): Use them.
8163 Remove the list of autoloaded functions/macros from the
8164 (autoload...) comments.
8166 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8168 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8170 * simple.el (line-move-partial): Don't jump to the next screen
8171 line as soon as it becomes visible. Instead, continue enlarging
8172 the vscroll until the portion of a tall screen line that's left on
8173 display is about the height of the frame's default font.
8176 2013-06-15 Glenn Morris <rgm@gnu.org>
8178 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8179 compilation-error-regexp-alist void, or local while let-bound.
8181 * progmodes/make-mode.el (makefile-mode-syntax-table):
8182 Treat "=" as punctuation. (Bug#14614)
8184 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8186 * help-fns.el (describe-variable):
8187 Add extra line for permanent-local variables.
8189 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8191 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8192 Add export, import, library. (Bug#9164)
8193 (library): Set indent function.
8195 2013-06-14 Glenn Morris <rgm@gnu.org>
8197 * term/xterm.el (xterm--query):
8198 Stop after first matching handler. (Bug#14615)
8200 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8202 Add support for dired in saveplace.
8203 * dired.el (dired-initial-position-hook): New variable.
8204 (dired-initial-position): Call hook to place cursor position.
8205 * saveplace.el (save-place-to-alist): Add dired position.
8206 (save-place-dired-hook): New function.
8208 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8210 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8211 through a symbol rather than letrec.
8213 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8214 (package-desc): Add `dir' field.
8215 (package-desc-full-name): New function.
8216 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8217 (package-maybe-load-descriptor): Remove.
8218 (package-load-all-descriptors): Just call package-load-descriptor.
8219 (package--disabled-p): New function.
8220 (package-desc-vers, package-desc-doc): Remove aliases.
8221 (package--dir): Remove function.
8222 (package-activate): Check if a package is disabled.
8223 (package-process-define-package): New function, extracted from
8225 (define-package): Turn into a place holder.
8226 (package-unpack-single, package-tar-file-info):
8227 Use package--description-file.
8228 (package-compute-transaction): Use package--disabled-p.
8229 (package-download-transaction): Don't call
8230 package-maybe-load-descriptor since they're all loaded anyway.
8231 (package-install): Change argument to be a pkg-desc.
8232 (package-delete): Use a single pkg-desc argument.
8233 (describe-package-1): Use package-desc-dir instead of package--dir.
8234 Use package-desc property instead of package-symbol.
8235 (package-install-button-action): Adjust accordingly.
8236 (package--push): Rewrite.
8237 (package-menu--print-info): Adjust accordingly. Change the ID format
8239 (package-menu-describe-package, package-menu-get-status)
8240 (package-menu--find-upgrades, package-menu-mark-upgrades)
8241 (package-menu-execute, package-menu--name-predicate):
8243 * startup.el (package--description-file): New function.
8244 (command-line): Use it.
8245 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8246 Use package-desc-version.
8248 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8249 (byte-compile-preprocess): Use it.
8250 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8251 can't quite recognize.
8252 (byte-compile-add-to-list): Remove.
8253 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8254 (cconv-closure-convert): Add assertion.
8256 * emacs-lisp/map-ynp.el: Use lexical-binding.
8257 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8258 Factor out some repeated code.
8260 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8262 * subr.el (with-eval-after-load): New macro.
8263 (eval-after-load): Allow form to be a function.
8264 take advantage of lexical-binding.
8265 (do-after-load-evaluation): Use dolist and adjust to new format.
8266 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8268 2013-06-13 Juri Linkov <juri@jurta.org>
8270 * replace.el (perform-replace): Display "symbol " and other search
8271 modes from `isearch-message-prefix' in the *Help* buffer.
8273 * isearch.el (isearch-query-replace): Add " symbol" and other
8274 possible search modes from `isearch-message-prefix' to the prompt.
8275 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8276 when reading a regexp to collect.
8278 2013-06-13 Juri Linkov <juri@jurta.org>
8280 * isearch.el (word-search-regexp): Match whitespace if the search
8281 string begins or ends in whitespace. The LAX arg is applied to
8282 both ends of the search string. Use `regexp-quote' and explicit
8283 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8284 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8285 boundaries are replaced with symbol boundaries, and characters
8286 between symbols match non-word non-symbol syntax. (Bug#14602)
8288 2013-06-13 Juri Linkov <juri@jurta.org>
8290 * isearch.el (isearch-del-char): Don't exceed the length of
8291 `isearch-string' by the prefix arg. (Bug#14563)
8293 2013-06-13 Juri Linkov <juri@jurta.org>
8295 * isearch.el (isearch-yank-word, isearch-yank-line)
8296 (isearch-char-by-name, isearch-quote-char)
8297 (isearch-printing-char, isearch-process-search-char):
8298 Add optional count prefix arg. (Bug#14563)
8300 * international/isearch-x.el
8301 (isearch-process-search-multibyte-characters):
8302 Add optional count prefix arg.
8304 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8306 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8307 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8310 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8312 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8314 2013-06-13 Glenn Morris <rgm@gnu.org>
8316 * startup.el (tty-handle-args):
8317 Don't just discard "--" and anything after. (Bug#14608)
8319 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8321 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8323 Implement changes in Secret Service API. Make it backward compatible.
8324 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8325 (secrets-create-item): Use it. Prefix properties with interface.
8327 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8329 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8330 (term-emulate-terminal): Respect term-suppress-hard-newline.
8332 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8334 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8335 Only remove a `thumb-file' overlay. (Bug#14548)
8337 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8339 * mail/reporter.el (reporter-submit-bug-report):
8340 Handle missing package-name. (Bug#14600)
8342 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8344 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8345 (reftex-citation-prompt, reftex-default-bibliography)
8346 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8347 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8348 (reftex-bib-sort-author, reftex-bib-sort-year)
8349 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8350 (reftex-extract-bib-entries-from-thebibliography)
8351 (reftex-get-bibkey-default, reftex-get-bib-names)
8352 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8353 (reftex-format-bib-entry, reftex-parse-bibitem)
8354 (reftex-format-bibitem, reftex-do-citation)
8355 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8356 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8357 (reftex-insert-bib-matches, reftex-format-citation)
8358 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8359 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8360 existing comments into docstrings.
8362 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8364 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8366 2013-06-12 Andreas Schwab <schwab@suse.de>
8368 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8369 for auto-save files.
8371 2013-06-12 Glenn Morris <rgm@gnu.org>
8373 * ido.el (ido-delete-ignored-files): Remove.
8374 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8375 Go back to calling ido-ignore-item-p directly.
8377 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8379 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8381 * ido.el (ido-delete-ignored-files): New function,
8382 split from ido-make-file-list-1.
8383 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8384 (ido-make-file-list-1): Use ido-delete-ignored-files.
8386 2013-06-12 Leo Liu <sdl.web@gmail.com>
8388 * progmodes/octave.el (inferior-octave-startup)
8389 (inferior-octave-completion-table)
8390 (inferior-octave-track-window-width-change)
8391 (octave-eldoc-function-signatures, octave-help)
8392 (octave-find-definition): Use single quoted strings.
8393 (inferior-octave-startup-args): Change default value.
8394 (inferior-octave-startup): Do not hard code "-i" and
8395 "--no-line-editing".
8396 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8397 (inferior-octave-directory-tracker): Use it.
8398 (octave-goto-function-definition): Robustify.
8399 (octave-help): Support highlighting operators in 'See also'.
8400 (octave-find-definition): Find subfunctions only in Octave mode.
8402 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8404 * help-fns.el (help-fns--compiler-macro): If the handler function is
8405 named, then put a link to it.
8406 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8407 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8409 (cl-eval-when): Simplify debug spec.
8410 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8411 compiler-macro function instead of setting `compiler-macro-file'.
8413 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8415 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8416 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8418 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8419 Daniel Hackney <dan@haxney.org>
8421 First part of Daniel Hackney's patch to package.el.
8422 * emacs-lisp/package.el: Use defstruct.
8423 (package-desc): New, main struct.
8424 (package--bi-desc, package--ac-desc): New structs, used to describe the
8425 format in external files.
8426 (package-desc-vers): Replace with package-desc-version accessor.
8427 (package-desc-doc): Replace with package-desc-summary accessor.
8428 (package-activate-1): Remove `package' arg since the pkg-vec now
8430 (define-package): Use package-desc-from-define.
8431 (package-unpack-single): Change file-name arg to be a symbol.
8432 (package--add-to-archive-contents): Use package-desc-create and new
8433 accessor functions to package--ac-desc.
8434 (package-buffer-info, package-tar-file-info): Return a package-desc.
8435 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8436 arg to be a package-desc.
8437 (package-install-file): Adjust accordingly. Use \' to match EOS.
8438 (package--from-builtin): New function.
8439 (describe-package-1, package-menu--generate): Use it.
8440 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8441 (package-generate-autoloads): Idem and return the name of the file.
8442 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8443 Change pkg-info arg to be a package-desc.
8444 Use package-make-ac-desc.
8445 (package-upload-file): Use \' to match EOS.
8446 * finder.el (finder-compile-keywords): Use package-make-builtin.
8448 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8450 * vc/vc.el (vc-deduce-fileset): Change error message.
8451 (vc-read-backend): New function.
8452 (vc-next-action): Use it.
8454 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8456 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8457 (prolog-font-lock-keywords): Use regexp-opt instead.
8458 Don't manually highlight strings.
8459 (prolog-mode-variables): Simplify comment-start-skip.
8460 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8462 * emacs-lisp/generic.el (generic--normalise-comments)
8463 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8464 (generic-mode-set-comments): Use them.
8465 (generic-bracket-support): Use setq-local.
8466 (generic-make-keywords-list): Declare obsolete.
8468 2013-06-11 Glenn Morris <rgm@gnu.org>
8470 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8471 Prettify after setting font-lock-defaults. (Bug#14574)
8473 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8475 * replace.el (query-replace, occur-read-regexp-defaults-function)
8477 * subr.el (declare-function, number-sequence, local-set-key)
8478 (substitute-key-definition, locate-user-emacs-file)
8479 (with-silent-modifications, split-string, eval-after-load):
8480 Fix typos, remove unneeded backslashes and reflow some docstrings.
8482 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8484 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8485 default for Elisp files.
8487 2013-06-11 Glenn Morris <rgm@gnu.org>
8489 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8490 although define-derived-mode was doing this anyway. (Bug#14583)
8492 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8494 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8495 Fix make-variable-buffer-local call to refer to the correct variable.
8497 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8499 * eshell/em-term.el (eshell-visual-commands)
8500 (eshell-visual-subcommands, eshell-visual-options):
8501 Add summary line to docstrings. Add cross-references.
8503 2013-06-10 Glenn Morris <rgm@gnu.org>
8505 * epa.el (epa-read-file-name): New function. (Bug#14510)
8506 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8508 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8510 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8511 output redirection to be ignored with visual commands.
8513 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8515 * eshell/em-term.el (eshell-visual-command-p): New function.
8516 (eshell-term-initialize): Move long lambda to separate function
8517 eshell-visual-command-p.
8518 * eshell/em-dirs.el (eshell-dirs-initialise):
8519 * eshell/em-script.el (eshell-script-initialize):
8520 Add missing #' to lambda.
8522 2013-06-08 Leo Liu <sdl.web@gmail.com>
8524 * progmodes/octave.el (octave-add-log-current-defun): New function.
8525 (octave-mode): Set add-log-current-defun-function.
8526 (octave-goto-function-definition): Do not move point if not found.
8527 (octave-find-definition): Enhance to try subfunctions first.
8529 2013-06-08 Glenn Morris <rgm@gnu.org>
8531 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8532 (byte-compile-backward-char, byte-compile-backward-word):
8533 Improve previous change, to handle non-explicit nil.
8535 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8537 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8538 (smie--opener/closer-at-point): New function.
8539 (smie--matching-block-data): Use it. Don't match from right after an
8540 opener or right before a closer. Obey smie-blink-matching-inners.
8541 Don't signal a mismatch for repeated inners like "switch..case..case".
8543 2013-06-07 Leo Liu <sdl.web@gmail.com>
8545 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8547 (octave-function-header-regexp): Fix. (Bug#14570)
8548 (octave-help-mode-finish-hook, octave-help-mode-finish):
8549 Remove. Just use temp-buffer-show-hook.
8551 * newcomment.el (comment-search-backward): Revert last change.
8554 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8556 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8558 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8559 through xargs, to avoid failure due to MS-Windows limitations on
8560 command-line length.
8562 2013-06-06 Glenn Morris <rgm@gnu.org>
8564 * font-lock.el (lisp-font-lock-keywords-2):
8565 Treat user-error like error.
8567 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8568 (byte-compile-backward-char, byte-compile-backward-word):
8569 Handle explicit nil arguments. (Bug#14565)
8571 2013-06-05 Alan Mackenzie <acm@muc.de>
8573 * isearch.el (isearch-allow-prefix): New user option.
8574 (isearch-other-meta-char): Don't exit isearch when a prefix
8575 argument is typed whilst `isearch-allow-prefix' is non-nil.
8578 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8580 * autorevert.el (auto-revert-notify-handler): Use memq.
8581 Hide assertion failure.
8583 * skeleton.el: Use cl-lib.
8584 (skeleton-further-elements): Use defvar-local.
8585 (skeleton-insert): Use cl-progv.
8587 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8589 * progmodes/prog-mode.el (prog-prettify-symbols)
8590 (prog-prettify-install): Update docstrings.
8592 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8594 * simple.el: Move all the prog-mode code to prog-mode.el.
8595 * progmodes/prog-mode.el: New file.
8596 * loadup.el: Add prog-mode.el.
8598 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8600 * simple.el (prog-prettify-symbols): Add version.
8601 (prog-prettify-install): Add convenience function to prettify symbols.
8603 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8604 (perl--augmented-font-lock-keywords-1)
8605 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8606 variables and use it.
8608 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8609 (cfengine3-mode): Remove unneeded variable and use it.
8611 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8612 (lisp--augmented-font-lock-keywords-1)
8613 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8614 Remove unneeded variables and use it.
8616 2013-06-05 João Távora <joaotavora@gmail.com>
8618 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8619 to point when opening the connection. (Bug#14380)
8621 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8623 * subr.el (load-history-regexp, load-history-filename-element)
8624 (eval-after-load, after-load-functions, do-after-load-evaluation)
8625 (eval-next-after-load, display-delayed-warnings)
8626 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8627 definition of save-match-data.
8628 (overriding-local-map): Remove accidental obsolescence declaration.
8630 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8632 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8634 Generalize symbol prettify support to prog-mode and implement it
8635 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8636 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8637 (prog--prettify-font-lock-compose-symbol)
8638 (prog-prettify-font-lock-symbols-keywords): New variables and
8639 functions to support symbol prettification.
8640 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8641 (lisp--augmented-font-lock-keywords-1)
8642 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8643 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8644 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8645 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8646 Implement prettify of -> => :: strings.
8647 * progmodes/perl-mode.el (perl-prettify-symbols)
8648 (perl--font-lock-compose-symbol)
8649 (perl--font-lock-symbols-keywords): Move to prog-mode.
8650 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8651 (perl-font-lock-keywords-1)
8652 (perl-font-lock-keywords-2): Remove explicit prettify support.
8653 (perl--augmented-font-lock-keywords)
8654 (perl--augmented-font-lock-keywords-1)
8655 (perl--augmented-font-lock-keywords-2, perl-mode):
8656 Implement prettify support.
8658 2013-06-05 Leo Liu <sdl.web@gmail.com>
8660 Re-implement smie matching block highlight using
8661 show-paren-data-function. (Bug#14395)
8662 * emacs-lisp/smie.el (smie-matching-block-highlight)
8663 (smie--highlight-matching-block-overlay)
8664 (smie--highlight-matching-block-lastpos)
8665 (smie-highlight-matching-block)
8666 (smie-highlight-matching-block-mode): Remove.
8667 (smie--matching-block-data-cache): New variable.
8668 (smie--matching-block-data): New function.
8669 (smie-setup): Use smie--matching-block-data for
8670 show-paren-data-function.
8672 * progmodes/octave.el (octave-mode-menu): Fix.
8673 (octave-find-definition): Skip garbage lines.
8675 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8677 Fix compilation error with simultaneous dynamic+lexical scoping.
8678 Add warning when a defvar appears after the first let-binding.
8679 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8680 (byte-compile-close-variables): Initialize it.
8681 (byte-compile--declare-var): New function.
8682 (byte-compile-file-form-defvar)
8683 (byte-compile-file-form-define-abbrev-table)
8684 (byte-compile-file-form-custom-declare-variable): Use it.
8685 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8686 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8687 (byte-compile-bind): Handle dynamic bindings that shadow
8689 (byte-compile-unbind): Make arg non-optional.
8690 (byte-compile-let): Simplify.
8691 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8692 (cconv--analyse-function, cconv-analyse-form): Populate it.
8693 Protect byte-compile-bound-variables to limit the scope of defvars.
8694 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8695 Remove unneeded rule for `declare'.
8697 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8698 so as to avoid depending on cl-adjoin at run-time.
8699 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8701 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8702 (macroexp--warn-and-return): Use it.
8704 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8706 * lisp/subr.el: Convert to lexical binding.
8707 (overriding-local-map): Make obsolete.
8708 (add-to-list): Doc fix. Add compiler macro.
8709 (read-key): Swap values of local maps.
8711 2013-06-05 Leo Liu <sdl.web@gmail.com>
8713 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8715 2013-06-04 Leo Liu <sdl.web@gmail.com>
8717 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8718 (compilation-auto-jump): Suppress the "Mark set" message to give
8719 way to exit message.
8721 2013-06-04 Alan Mackenzie <acm@muc.de>
8723 Remove faulty optimisation from indentation calculation.
8724 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8725 search limit based on 2000 characters back from indent-point.
8727 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8729 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8731 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8733 * emacs-lisp/lisp.el: Use lexical-binding.
8734 (lisp--local-variables-1, lisp--local-variables): New functions.
8735 (lisp--local-variables-completion-table): New var.
8736 (lisp-completion-at-point): Use it complete let-bound vars.
8738 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8739 eagerly (bug#14422).
8741 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8743 * autorevert.el (auto-revert-notify-enabled)
8744 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8745 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8746 (auto-revert-notify-handler): Handle also gfilenotify.
8748 * subr.el (file-notify-handle-event): New defun. Replacing ...
8749 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8752 2013-06-03 Juri Linkov <juri@jurta.org>
8754 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8755 `M-s h .'. (Bug#14427)
8757 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8758 command `hi-lock-face-symbol-at-point'.
8759 (hi-lock-face-symbol-at-point): New command.
8760 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8761 (hi-lock-menu): Add `highlight-symbol-at-point'.
8762 (hi-lock-mode): Doc fix.
8764 * isearch.el (isearch-forward-symbol-at-point): New command.
8765 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8766 (isearch-highlight-regexp): Add a regexp which matches
8767 words/symbols for word/symbol mode.
8769 * subr.el (find-tag-default-bounds): New function with the body
8770 mostly moved from `find-tag-default'.
8771 (find-tag-default): Move most code to `find-tag-default-bounds',
8772 call it and apply `buffer-substring-no-properties' afterwards.
8774 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8776 * eshell/em-term.el (eshell-term-initialize):
8777 Use `cl-intersection' rather than `intersection'.
8779 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8781 * vc/log-view.el: Doc fix.
8782 (log-view-mode-map): Copy keymap from `special-mode-map'.
8784 2013-06-02 Eric Ludlam <zappo@gnu.org>
8786 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8787 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8788 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8789 (eieio-unbound, eieio-default-superclass)
8790 (eieio--define-field-accessors, method-static, method-before)
8791 (method-primary, method-after, method-num-lists)
8792 (method-generic-before, method-generic-primary)
8793 (method-generic-after, method-num-slots)
8794 (eieio-specialized-key-to-generic-key)
8795 (eieio--check-type, class-v, class-p)
8796 (eieio-class-name, define-obsolete-function-alias)
8797 (eieio-class-parents-fast, eieio-class-children-fast)
8798 (same-class-fast-p, class-constructor, generic-p)
8799 (generic-primary-only-p, generic-primary-only-one-p)
8800 (class-option-assoc, class-option, eieio-object-p)
8801 (class-abstract-p, class-method-invocation-order)
8802 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8803 (eieio-class-un-autoload, eieio-defclass)
8804 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8805 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8806 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8807 (eieio-defgeneric-reset-generic-form)
8808 (eieio-defgeneric-form-primary-only)
8809 (eieio-defgeneric-reset-generic-form-primary-only)
8810 (eieio-defgeneric-form-primary-only-one)
8811 (eieio-defgeneric-reset-generic-form-primary-only-one)
8812 (eieio-unbind-method-implementations)
8813 (eieio--defmethod, eieio--typep)
8814 (eieio-perform-slot-validation, eieio-validate-slot-value)
8815 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8816 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8817 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8818 (eieio-slot-name-index, eieio-class-slot-name-index)
8819 (eieio-set-defaults, eieio-initarg-to-attribute)
8820 (eieio-attribute-to-initarg, eieio-c3-candidate)
8821 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8822 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8823 (eieio-class-precedence-list, eieio-generic-call-methodname)
8824 (eieio-generic-call-arglst, eieio-generic-call-key)
8825 (eieio-generic-call-next-method-list)
8826 (eieio-pre-method-execution-functions, eieio-generic-call)
8827 (eieio-generic-call-primary-only, eieiomt-method-list)
8828 (eieiomt-optimizing-obarray, eieiomt-install)
8829 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8830 (eieio-generic-form, eieio-defmethod, make-obsolete)
8831 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8832 (defclass): Remove `eval-and-compile' from macro.
8833 (call-next-method, shared-initialize): Instead of using
8834 `scoped-class' variable, use new eieio--scoped-class, and
8835 eieio--with-scoped-class.
8836 (initialize-instance): Rename local variable 'scoped-class' to
8837 'this-class' to remove ambiguitity from old global.
8839 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8841 (eieio--scoped-class-stack): New variable.
8842 (eieio--scoped-class): New fcn.
8843 (eieio--with-scoped-class): New scoping macro.
8844 (eieio-defclass): Use pushnew instead of add-to-list.
8845 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8846 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8847 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8848 `scoped-class' variable, use new eieio--scoped-class, and
8849 eieio--with-scoped-class.
8851 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8853 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8855 * eshell/esh-ext.el (eshell-external-command): Pass args to
8856 `eshell-find-interpreter'.
8857 (eshell-find-interpreter): Add new second parameter ARGS.
8859 * eshell/em-script.el (eshell-script-initialize): Add second arg
8860 to the function added as MATCH to `eshell-interpreter-alist'.
8862 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8863 the function added as MATCH to `eshell-interpreter-alist'.
8865 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8866 (eshell-visual-options): New defcustom.
8867 (eshell-escape-control-x): Adapt docstring.
8868 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8869 `eshell-visual-options' in addition to `eshell-visual-commands'.
8870 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8872 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8874 * progmodes/python.el (python-indent-block-enders): Add break,
8875 continue and raise keywords.
8877 2013-06-01 Glenn Morris <rgm@gnu.org>
8879 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8881 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8882 * progmodes/cc-cmds.el (delete-forward-p):
8883 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8884 * progmodes/cc-engine.el (buffer-syntactic-context):
8885 * progmodes/cc-fonts.el (face-property-instance):
8886 * progmodes/cc-mode.el (set-keymap-parents):
8887 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8888 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8889 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8890 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8891 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8893 * progmodes/cc-vars.el (other): Emacs has this widget since
8894 at least 21.1, so don't (re)define it.
8896 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8897 Replace the obsolete alias pcomplete-arg-quote-list.
8899 2013-06-01 Leo Liu <sdl.web@gmail.com>
8901 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8903 (inferior-octave-minimal-columns)
8904 (inferior-octave-last-column-width): New variables.
8905 (inferior-octave-track-window-width-change): New function.
8906 (inferior-octave-mode): Adjust column width so that Octave output,
8907 for example from 'ls', can fit into the window nicely.
8909 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8911 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8912 Highlight expansions inside regexp literals.
8914 2013-05-31 Glenn Morris <rgm@gnu.org>
8916 * obsolete/sym-comp.el (symbol-complete):
8917 Replace obsolete completion-annotate-function.
8919 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8921 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8923 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8924 New function, checks if point is inside a literal that allows
8925 expression expansion.
8926 (ruby-syntax-propertize-expansion): Use it.
8927 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8930 2013-05-30 Juri Linkov <juri@jurta.org>
8932 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8934 (isearch-invisible): New variable.
8935 (isearch-forward): Doc fix.
8936 (isearch-mode): Set `isearch-invisible'
8937 to the value of `search-invisible'.
8938 (isearch-toggle-case-fold): Doc fix.
8939 (isearch-toggle-invisible): New command.
8940 (isearch-query-replace): Let-bind `search-invisible'
8941 to the value of `isearch-invisible'.
8942 (isearch-search): Use `isearch-invisible' instead of
8943 `search-invisible'. Let-bind `search-invisible'
8944 to the value of `isearch-invisible'. (Bug#11378)
8946 2013-05-30 Juri Linkov <juri@jurta.org>
8948 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8949 call when `query-flag' is nil and `search-invisible' is non-nil.
8952 2013-05-30 Glenn Morris <rgm@gnu.org>
8954 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8956 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8957 (cc-require): Suppress spurious "noruntime" warnings.
8958 (cc-require-when-compile): Use fboundp, for sake of compiler.
8960 * progmodes/cc-mode.el: Move load of cc-vars before that of
8961 cc-langs (which in turn loads cc-vars), to quieten compiler.
8963 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8965 * paren.el: Simplify the code.
8966 (show-paren-mode): Always start the timer.
8967 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8968 (show-paren--overlay, show-paren--overlay-1): Rename from
8969 show-paren-overlay and show-paren-overlay-1, and initialize to an
8970 overlay rather than to nil.
8971 (show-paren-function): Misc cleanup and simplifications.
8973 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8975 * paren.el (show-paren-data-function): New hook.
8976 (show-paren--default): New function, extracted from show-paren-function.
8977 (show-paren-function): Use show-paren-data-function.
8979 2013-05-30 Glenn Morris <rgm@gnu.org>
8981 * ielm.el (ielm-map, ielm-complete-symbol):
8982 Use completion-at-point rather than obsolete functions.
8983 (inferior-emacs-lisp-mode): Doc fix.
8984 Set completion-at-point-functions, rather than
8985 comint-dynamic-complete-functions.
8987 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8988 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8989 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8991 * image.el (image-animated-p): Tweak definition.
8993 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8994 (rlogin-process-connection-type): Tweak default. Add set-after.
8995 (rlogin-host): Doc fix.
8996 (rlogin): Tweak prompt.
8997 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8999 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9000 * progmodes/tcl.el (inferior-tcl-mode-map):
9001 Use completion-at-point rather than obsolete alias.
9003 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9005 * minibuffer.el (read-file-name-completion-ignore-case):
9006 Move before completion--in-region, for eager macro expansion.
9008 2013-05-29 Juri Linkov <juri@jurta.org>
9010 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9011 for total count of matching lines. Add `global-matches' for total
9012 count of matches. Rename `matches' to `lines' for count of
9013 matching lines. Add `matches' for count of matches.
9014 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9015 to `prev-line' for line number of prev match endpt.
9016 Increment `matches' for every match. Print the number of
9017 matching lines in the header.
9018 (occur-context-lines): Rename `lines' to `curr-line'.
9019 Rename `prev-lines' to `prev-line'. (Bug#14017)
9021 2013-05-29 Juri Linkov <juri@jurta.org>
9023 * replace.el (perform-replace): Add `skip-read-only-count',
9024 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9025 Increment them for corresponding conditions and report the number
9026 of skipped occurrences in the final message. (Bug#11746)
9027 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9028 (replace-string, replace-regexp): Doc fix.
9030 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9032 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9034 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9035 prog-mode-map (bug#14504).
9037 2013-05-29 Leo Liu <sdl.web@gmail.com>
9039 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9040 (octave-help): Small simplification.
9042 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9043 off the highlight first.
9045 2013-05-29 Glenn Morris <rgm@gnu.org>
9047 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9048 Handle idlwave-last-system-routine-info-cons-cell being nil.
9050 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9051 (idlwave-write-paths): Simplify via with-temp-buffer.
9053 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9054 * emulation/cua-rect.el: Also load cua-base at run time.
9056 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9057 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9058 (cperl-imenu-on-info): Require imenu.
9060 2013-05-28 Alan Mackenzie <acm@muc.de>
9062 Handle "capitalised keywords" correctly.
9063 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9065 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9067 * eshell/em-unix.el: Add -r option to cp.
9069 2013-05-28 Glenn Morris <rgm@gnu.org>
9071 * vc/vc-arch.el (vc-exec-after): Declare.
9072 (vc-switches): Autoload.
9073 * vc/vc-bzr.el: No need to require vc when compiling.
9074 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9075 (vc-resynch-buffer, vc-dir-refresh): Declare.
9076 (vc-setup-buffer, vc-switches): Autoload.
9077 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9078 (vc-resynch-buffer): Declare.
9079 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9080 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9081 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9082 (grep-read-regexp, grep-read-files, grep-expand-template)
9083 (vc-dir-refresh): Declare.
9084 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9085 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9086 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9087 * vc/vc-mtn.el (vc-exec-after): Declare.
9088 (vc-switches): Autoload.
9089 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9090 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9091 (vc-file-tree-walk): Declare.
9092 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9093 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9094 (vc-tag-precondition, vc-rename-master): Autoload.
9095 * vc/vc-svn.el (vc-exec-after): Declare.
9096 (vc-switches, vc-setup-buffer): Autoload.
9097 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9099 (vc-resynch-buffer): Declare.
9101 * obsolete/fast-lock.el (byte-compile-warnings):
9102 Don't warn about obsolete features in this obsolete file.
9104 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9105 Move definition before use.
9107 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9108 (dun-unix-verbs): Remove dun-zippy.
9109 (dun-zippy): Remove function.
9111 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9113 2013-05-27 Juri Linkov <juri@jurta.org>
9115 * replace.el (replace-search): New function with code moved out
9116 from `perform-replace'.
9117 (replace-highlight, replace-dehighlight): Move function definitions
9118 up closer to `replace-search'. (Bug#11746)
9120 2013-05-27 Juri Linkov <juri@jurta.org>
9122 * replace.el (perform-replace): Ignore invisible matches.
9123 In addition to checking `query-replace-skip-read-only', also
9124 filter out matches by calling `run-hook-with-args-until-failure'
9125 on `isearch-filter-predicates', and also check `search-invisible'
9126 for t or call `isearch-range-invisible'.
9127 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9129 2013-05-27 Juri Linkov <juri@jurta.org>
9131 * isearch.el (isearch-filter-predicates): Rename from
9132 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9133 (isearch-message-prefix): Display text from the property
9134 `isearch-message-prefix' of the currently active filters.
9135 (isearch-search): Don't compare `isearch-filter-predicate' with
9136 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9137 on `isearch-filter-predicates'. Also check `search-invisible' for t
9138 or call `isearch-range-invisible'.
9139 (isearch-filter-visible): Make obsolete.
9140 (isearch-lazy-highlight-search):
9141 Call `run-hook-with-args-until-failure' on
9142 `isearch-filter-predicates' and use `isearch-range-invisible'.
9144 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9145 `isearch-filter-predicates' instead of `funcall'ing
9146 `isearch-filter-predicate'.
9147 (Info-mode): Set `Info-isearch-filter' to
9148 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9150 * dired-aux.el (dired-isearch-filter-predicate-orig):
9152 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9153 (dired-isearch-filenames-end): Add and remove
9154 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9155 instead of changing the value of `isearch-filter-predicate'.
9156 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9157 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9158 Put property `isearch-message-prefix' to "filename " on
9159 `dired-isearch-filter-filenames'.
9161 * wdired.el (wdired-change-to-wdired-mode):
9162 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9163 locally instead of changing `isearch-filter-predicate'.
9164 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9166 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9168 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9169 return the commit hash (Bug#14459). Also set the
9170 `vc-git-detached' property.
9171 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9172 (vc-git-mode-line-string): Use the same help-echo format whether
9173 in detached mode or not, because we know the actual revision now.
9174 When in detached mode, shorten the revision to 7 chars.
9176 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9178 * emacs-lisp/easy-mmode.el (define-minor-mode):
9179 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9180 mode hook and provide a docstring.
9182 2013-05-27 Alan Mackenzie <acm@muc.de>
9184 Remove spurious syntax-table text properties inserted by C-y.
9185 * progmodes/cc-mode.el (c-after-change): Also clear hard
9186 syntax-table property with value nil.
9188 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9190 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9191 when reading the events; the buffer layout shall not be changed.
9193 2013-05-27 Leo Liu <sdl.web@gmail.com>
9195 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9197 (inferior-octave-directory-tracker): Automatically re-sync
9199 (octave-help): Improve handling of 'See also'.
9201 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9203 * doc-view.el: Minor naming convention tweaks.
9204 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9206 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9207 even if there's no `display' property yet (bug#14435).
9209 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9211 * subr.el (unmsys--file-name): Rename from reveal-filename.
9213 * Makefile.in (custom-deps, finder-data, autoloads)
9214 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9215 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9216 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9218 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9220 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9221 error-completion on the first 2 args of condition-case (bug#14446).
9224 2013-05-25 Leo Liu <sdl.web@gmail.com>
9226 * comint.el (comint-previous-matching-input): Do not flood the
9227 *Messages* buffer with trivial messages.
9229 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9231 * progmodes/flymake.el (flymake-nop): Don't return a string.
9232 (flymake-set-at): Fix typo.
9234 * simple.el (read--expression): New function, extracted from
9235 eval-expression. Set completion-at-point-functions (bug#14465).
9236 (eval-expression, eval-minibuffer): Use it.
9238 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9240 * progmodes/flymake.el (flymake-save-buffer-in-file)
9241 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9242 (flymake-selected-frame, flymake-log, flymake-ins-after)
9243 (flymake-set-at, flymake-get-buildfile-from-cache)
9244 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9245 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9246 Refine the doc string.
9247 (flymake-get-file-name-mode-and-masks): Reformat.
9248 (flymake-get-real-file-name-function): Fix a minor bug.
9250 2013-05-24 Juri Linkov <juri@jurta.org>
9252 * progmodes/grep.el (grep-mode-font-lock-keywords):
9253 Support =linenumber= format used by git-grep for lines with
9254 function names. (Bug#13549)
9256 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9258 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9259 0 after a semi-colon; it works better for smie-auto-fill.
9260 (octave--indent-new-comment-line): New function.
9261 (octave-indent-new-comment-line): Use it (indirectly).
9262 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9263 modify comment-line-break-function.
9265 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9266 (smie-setup): Use add-function to set it.
9268 2013-05-24 Sam Steingold <sds@gnu.org>
9270 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9271 argument (before the `interactive' argument).
9273 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9275 * image-mode.el (image-mode-winprops): Add winprops to
9276 image-mode-winprops-alist before running
9277 image-mode-new-window-functions.
9278 * doc-view.el (doc-view-new-window-function): Don't delay
9279 doc-view-goto-page via timers (bug#14435).
9281 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9283 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9284 (doc-view-desktop-save-buffer): New function.
9285 (doc-view-restore-desktop-buffer): New function.
9286 (desktop-buffer-mode-handlers):
9287 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9289 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9290 `desktop-save-buffer' function.
9292 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9294 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9295 (tramp-gvfs-file-name-handler): Raise a user error when
9296 `tramp-gvfs-enabled' is nil.
9297 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9298 Do not raise a user error when loading package. (Bug#14447)
9300 * net/xesam.el: Move to obsolete/.
9302 2013-05-24 Glenn Morris <rgm@gnu.org>
9304 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9306 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9308 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9309 (Info-find-node, Man-getpage-in-background): Declare.
9311 * mail/unrmail.el (unrmail):
9312 Replace obsolete detect-coding-with-priority.
9314 * net/socks.el (socks-split-string): Use this rather than split-string.
9315 (socks-nslookup-host): Update for above change.
9316 (dynamic-choice, s5-dynamic-choice-match)
9317 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9318 Comment out unused code.
9320 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9321 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9322 (gud-tooltip-echo-area): Make obsolete.
9323 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9325 * progmodes/js.el (js--optimize-arglist): Declare.
9327 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9329 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9330 (ediff-window-C): Declare.
9332 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9333 Tweak requires to silence compiler.
9335 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9336 (he-search-string, he-tried-table, he-expand-list)
9337 (he-init-string, he-string-member, he-substitute-string)
9338 (he-reset-string): Declare.
9340 * obsolete/options.el (list-options): Use custom-variable-p,
9341 rather than obsolete alias.
9343 2013-05-23 Sam Steingold <sds@gnu.org>
9345 * simple.el (shell-command-on-region): Pass the `replace' argument
9346 down to `call-process-region' to comply with the doc as reported on
9347 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9349 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9351 * emacs-lisp/smie.el (smie-indent-forward-token)
9352 (smie-indent-backward-token): Handle string tokens (bug#14381).
9354 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9356 * ielm.el (ielm-menu): New menu.
9357 (inferior-emacs-lisp-mode): Set comment-start.
9359 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9361 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9362 Fix deactivate action.
9364 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9365 Add cleveref macros.
9367 * lisp/textmodes/reftex-parse.el
9368 (reftex-locate-bibliography-files): Accept options for
9369 bibliography commands.
9370 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9371 Add addbibresource. Basic Biblatex support.
9373 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9375 * net/tramp-gvfs.el (top):
9376 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9377 when loading package. (Bug#14447)
9379 2013-05-23 Glenn Morris <rgm@gnu.org>
9381 * progmodes/js.el: No need to load comint when compiling.
9382 (ring-insert, comint-send-string, comint-send-input)
9383 (comint-last-input-end, ido-chop): Declare.
9385 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9386 * vc/ediff-mult.el: Adjust requires.
9387 (ediff-directories-internal, ediff-directory-revisions-internal)
9388 (ediff-patch-file-internal): Declare.
9389 * vc/ediff-ptch.el: Adjust requires.
9390 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9391 (ediff-find-file): Autoload.
9392 * vc/ediff-util.el: No need to load ediff when compiling.
9393 (ediff-regions-internal): Declare.
9394 * vc/ediff-wind.el: Adjust requires.
9395 (ediff-compute-toolbar-width): Define when compiling.
9396 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9397 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9398 (dired-get-filename, dired-get-marked-files)
9399 (ediff-last-dir-patch, ediff-patch-default-directory)
9400 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9401 (ediff-patch-buffer-internal): Declare.
9403 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9404 (ispell-process, ispell-buffer-local-words, lm-summary)
9405 (lm-section-start, lm-section-end): Declare.
9406 (checkdoc-ispell-init): Simplify.
9408 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9409 (he-string-member, he-reset-string, he-substitute-string): Declare.
9411 * eshell/em-ls.el: Adjust requires.
9412 (eshell-glob-regexp): Declare.
9413 * eshell/em-tramp.el: Adjust requires.
9414 (eshell-parse-command): Autoload.
9415 * eshell/em-xtra.el: Adjust requires.
9416 (eshell-parse-command): Autoload.
9417 * eshell/esh-ext.el: Adjust requires.
9418 (eshell-parse-command, eshell-close-handles): Autoload.
9419 * eshell/esh-io.el: Adjust requires.
9420 (eshell-output-filter): Autoload.
9421 * eshell/esh-util.el: No need to load tramp when compiling.
9422 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9424 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9425 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9426 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9427 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9428 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9429 * eshell/esh-opt.el, eshell/esh-proc.el:
9430 * eshell/esh-var.el: Adjust requires.
9431 * eshell/eshell.el: Do not require esh-util twice.
9432 (eshell-add-input-to-history): Declare.
9433 (eshell-command): Check history module is active before using it.
9435 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9437 2013-05-22 Leo Liu <sdl.web@gmail.com>
9439 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9441 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9443 * autorevert.el (auto-revert-notify-add-watch)
9444 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9445 it indicates changes in file modification time.
9447 2013-05-22 Glenn Morris <rgm@gnu.org>
9449 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9450 Always delete the autoloaded function from the noruntime and
9451 unresolved functions lists.
9453 * allout.el: No need to load epa, epg, overlay when compiling.
9454 (epg-context-set-passphrase-callback, epg-list-keys)
9455 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9456 (epg-key-user-id-list): Declare.
9458 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9459 (viper-set-parsing-style-toggling-macro)
9460 (viper-set-emacs-state-searchstyle-macros):
9461 Use called-interactively-p on Emacs.
9462 (viper-looking-back): Make it an obsolete alias. Update callers.
9463 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9464 Use looking-back rather than viper-looking-back.
9465 (viper-tmp-insert-at-eob, viper-enlarge-region)
9466 (viper-read-string-with-history, viper-register-to-point)
9467 (viper-append-to-register, viper-change-state-to-vi)
9468 (viper-backward-char-carefully, viper-forward-char-carefully)
9469 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9470 (viper-change-state-to-emacs): Declare.
9471 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9472 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9473 * emulation/viper-mous.el: Do not load viper-cmd.
9474 (viper-backward-char-carefully, viper-forward-char-carefully)
9475 (viper-forward-word, viper-adjust-window): Declare.
9477 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9479 * progmodes/idlw-help.el (idlwave-help-fontify):
9480 Use called-interactively-p.
9482 * term/w32console.el (w32-get-console-codepage)
9483 (w32-get-console-output-codepage): Declare.
9485 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9486 Remove unnecessary declarations.
9487 (dframe-message): Doc fix.
9489 * info.el (dframe-select-attached-frame, dframe-current-frame):
9492 * speedbar.el (speedbar-message): Make it an obsolete alias.
9494 (speedbar-with-attached-buffer)
9495 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9496 (speedbar-with-writable): Use backquote.
9497 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9498 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9499 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9500 rather than speedbar- aliases.
9501 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9502 (speedbar-make-specialized-keymap, speedbar-insert-button)
9503 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9504 (speedbar-do-function-pointer): Declare.
9505 (rmail-speedbar-button, rmail-speedbar-find-file)
9506 (rmail-speedbar-move-message):
9507 Use dframe-with-attached-buffer rather than speedbar- alias.
9508 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9509 (dframe-message, speedbar-make-specialized-keymap)
9510 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9511 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9512 (speedbar-insert-button, dframe-select-attached-frame)
9513 (dframe-maybee-jump-to-attached-frame)
9514 (speedbar-change-initial-expansion-list)
9515 (speedbar-previously-used-expansion-list-name): Declare.
9516 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9517 Use dframe-message, dframe-with-attached-buffer rather than
9519 (gud-sentinel): Silence compiler.
9520 * progmodes/vhdl-mode.el (speedbar-refresh)
9521 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9522 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9523 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9524 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9525 (speedbar-file-lists, speedbar-make-tag-line)
9526 (speedbar-line-directory, speedbar-goto-this-file)
9527 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9528 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9529 (speedbar-make-button, speedbar-reset-scanners)
9530 (speedbar-files-item-info, speedbar-line-text)
9531 (speedbar-find-file-in-frame, speedbar-set-timer)
9532 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9533 (speedbar-with-writable): Do not (re)define it.
9534 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9535 rather than speedbar- alias.
9537 2013-05-21 Leo Liu <sdl.web@gmail.com>
9539 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9541 (octave-mode): Tweak fill-nobreak-predicate.
9542 (inferior-octave-startup): Check process to avoid infinite loop.
9543 (inferior-octave): Pop to buffer first to show abornmal process
9546 2013-05-21 Glenn Morris <rgm@gnu.org>
9548 * printing.el (pr-menu-bar): Define when compiling.
9550 2013-05-21 Leo Liu <sdl.web@gmail.com>
9552 * progmodes/octave.el (octave-auto-fill): Remove.
9553 (octave-indent-new-comment-line): Improve.
9554 (octave-mode): Use auto fill mode through
9555 comment-line-break-function and fill-nobreak-predicate.
9556 (octave-goto-function-definition): Support DEFUN_DLD.
9557 (octave-beginning-of-defun): Small tweak.
9558 (octave-help): Show parent directory.
9560 2013-05-21 Glenn Morris <rgm@gnu.org>
9562 * files.el (dired-unmark):
9563 * progmodes/gud.el (gdb-input): Update declarations.
9565 * calculator.el (electric, ehelp): No need to load when compiling.
9566 (Electric-command-loop, electric-describe-mode): Declare.
9568 * doc-view.el (doc-view-current-converter-processes): Move before use.
9570 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9571 Move MODE-set-explicitly definition before use.
9573 * international/mule-diag.el (mule-diag):
9574 Don't use obsolete window-system-version.
9576 * mail/feedmail.el (smtpmail): No need to load when compiling.
9577 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9579 * mail/mail-utils.el (rfc822): No need to load when compiling.
9580 (rfc822-addresses): Autoload it.
9581 (mail-strip-quoted-names): Trivial simplification.
9583 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9584 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9586 * net/snmp-mode.el (tempo): Don't duplicate requires.
9588 * progmodes/prolog.el (info): No need to load when compiling.
9589 (comint): Require before shell requires it.
9590 (Info-goto-node): Autoload it.
9591 (Info-follow-nearest-node): Declare.
9592 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9594 * textmodes/artist.el (picture-mode-exit): Declare.
9596 * textmodes/reftex-parse.el (reftex-parse-from-file):
9597 Trivial rewrite so the compiler can parse it better.
9599 2013-05-20 Leo Liu <sdl.web@gmail.com>
9601 * progmodes/octave.el (octave-help-mode-map)
9602 (octave-help-mode-finish-hook): New variables.
9603 (octave-help-mode, octave-help-mode-finish): New functions.
9604 (octave-help): Use octave-help-mode.
9606 2013-05-20 Glenn Morris <rgm@gnu.org>
9608 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9610 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9612 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9613 start at point, so that expansion starting right after opening
9614 slash in a regexp is recognized.
9615 (ruby-syntax-before-regexp-re): New defvar, extracted from
9616 ruby-syntax-propertize-function. Since the value of this regexp
9617 is looked up at runtime now, we should be able to turn
9618 `ruby-syntax-methods-before-regexp' into a defcustom later.
9619 (ruby-syntax-propertize-function): Split regexp matching into two
9620 parts, for opening and closing slashes. That allows us to skip
9621 over string interpolations and support multiline regexps.
9622 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9623 for them, which calls `ruby-syntax-propertize-expansion'.
9624 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9625 call to `ruby-syntax-propertize-function'.
9626 (ruby-syntax-propertize-expansion): Extracted from
9627 `ruby-syntax-propertize-expansions'. Handles one expansion.
9628 (ruby-syntax-propertize-percent-literal): Leave point right after
9629 the percent symbol, so that the expression expansion rule can
9630 propertize the contents.
9631 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9633 (ruby-syntax-propertize-expansions): Remove.
9635 2013-05-18 Juri Linkov <juri@jurta.org>
9637 * man.el (Man-default-man-entry): Remove `-' from the end
9638 of the default value. (Bug#14400)
9640 2013-05-18 Glenn Morris <rgm@gnu.org>
9642 * comint.el (comint-password-prompt-regexp):
9643 Allow "password for XXX" where XXX contains colons (eg https://...).
9645 2013-05-18 Leo Liu <sdl.web@gmail.com>
9647 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9648 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9649 (octave-source-directories): Don't check process.
9650 (octave-source-directories, octave-find-definition): Doc fix.
9652 2013-05-18 Glenn Morris <rgm@gnu.org>
9654 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9655 Remove backspace/delete bindings. (Bug#14392)
9657 * cus-dep.el (custom-make-dependencies): Sort the output.
9658 (custom-versions-load-alist): Convert comment to doc.
9660 2013-05-17 Leo Liu <sdl.web@gmail.com>
9662 * newcomment.el (comment-search-backward): Stricter in finding
9663 comment start. (Bug#14303)
9665 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9666 (octave-comment-start-skip): Properly anchored.
9668 2013-05-17 Leo Liu <sdl.web@gmail.com>
9670 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9671 Clean up when turned off. (Bug#14395)
9672 (smie--highlight-matching-block-overlay): No longer buffer-local.
9673 (smie-highlight-matching-block): Adjust.
9675 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9677 Doc string fix for "nanoseconds" (Bug#14406).
9678 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9679 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9681 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9683 * calc/calc-units.el (math-extract-units): Preserve powers
9686 2013-05-17 Leo Liu <sdl.web@gmail.com>
9688 * subr.el (delete-consecutive-dups): New function.
9689 * ido.el (ido-set-matches-1): Use it.
9690 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9691 * ido.el (ido-remove-consecutive-dups): Remove.
9693 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9695 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9696 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9697 regexp-opt's `words'.
9699 2013-05-16 Leo Liu <sdl.web@gmail.com>
9701 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9702 (smie--highlight-matching-block-overlay)
9703 (smie--highlight-matching-block-lastpos)
9704 (smie--highlight-matching-block-timer): New variables.
9705 (smie-highlight-matching-block): New function.
9706 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9707 (smie-setup): Conditionally enable smie-blink-matching-open.
9709 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9711 Sync with upstream verilog-mode r840.
9712 * progmodes/verilog-mode.el (verilog-mode-version)
9713 (verilog-mode-release-date): Update.
9714 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9715 (verilog-sig-tieoff): Fix string error on
9716 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9717 (verilog-read-decls): Fix parameters confusing
9718 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9720 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9722 * subr.el (reveal-filename): New function.
9724 * loadup.el: Compute Emacs executable versions on MS-Windows,
9725 where executables have the .exe extension. Add a hard link
9726 emacs-XX.YY.ZZ.exe on MS-Windows.
9728 * Makefile.in (XARGS_LIMIT): New variable.
9729 (custom-deps, finder-data, autoloads)
9730 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9731 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9732 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9733 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9735 2013-05-16 Leo Liu <sdl.web@gmail.com>
9737 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9738 (octave-mode-menu, octave-mode-map): Remove its uses.
9740 2013-05-16 Reto Zimmermann <reto@gnu.org>
9742 Sync with upstream vhdl mode v3.34.2.
9743 * progmodes/vhdl-mode.el: Use `push' throughout.
9744 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9745 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9746 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9747 (vhdl-actual-generic-name): New option to derive actual generic name.
9748 (vhdl-port-paste-signals): Replace formal by actual generics.
9749 (vhdl-beautify): New name for old group vhdl-align. Update users.
9750 (vhdl-beautify-options): New option.
9751 (vhdl-last-input-event): New compat alias. Use throughout.
9752 (vhdl-goto-line): Replace user level function `goto-line'.
9753 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9754 vhdl-fix-statement-buffer.
9755 (vhdl-create-mode-menu): Add some entries.
9756 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9757 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9758 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9759 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9760 to force statements on one line.
9761 (vhdl-remove-trailing-spaces-region):
9762 New, split from vhdl-remove-trailing-spaces.
9763 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9764 Respect vhdl-beautify-options.
9765 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9766 (vhdl-update-sensitivity-list): Not add with index if exists without.
9767 Not include array index with signal. Ignore keywords in comments.
9768 (vhdl-get-visible-signals): Regexp tweaks.
9769 (vhdl-template-component-inst): Handle empty library.
9770 (vhdl-template-type): Add template for 'enum' type.
9771 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9772 Use vhdl-replace-string.
9773 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9774 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9775 (vhdl-speedbar-initialize): Update for above name change.
9776 (vhdl-compose-wire-components): Fix in handling of constants.
9777 (vhdl-error-regexp-emacs-alist): New variable.
9778 (vhdl-error-regexp-add-emacs): New function;
9779 adds support for new compile.el (Emacs 22+)
9780 (vhdl-generate-makefile-1): Change target order for single lib. units.
9781 Allow use of absolute file names.
9783 2013-05-16 Leo Liu <sdl.web@gmail.com>
9785 * simple.el (prog-indent-sexp): Indent enclosing defun.
9787 2013-05-15 Glenn Morris <rgm@gnu.org>
9789 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9790 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9791 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9792 (whitespace-highlight): Move to whitespace group.
9794 * comint.el (comint-source):
9795 * pcmpl-linux.el (pcmpl-linux):
9796 * shell.el (shell-faces):
9797 * eshell/esh-opt.el (eshell-opt):
9798 * international/ccl.el (ccl): Remove empty custom groups.
9800 * completion.el (dynamic-completion-mode):
9801 * jit-lock.el (jit-lock-debug-mode):
9802 * minibuffer.el (completion-in-region-mode):
9803 * type-break.el (type-break-mode-line-message-mode)
9804 (type-break-query-mode):
9805 * emulation/tpu-edt.el (tpu-edt-mode):
9806 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9807 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9808 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9810 * term/xterm.el (xterm): Change parent group to terminals.
9812 * master.el (master): Remove empty custom group.
9813 (master-mode): Remove unused :group argument.
9814 * textmodes/refill.el (refill): Remove empty custom group.
9815 (refill-mode): Remove unused :group argument.
9817 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9819 * cus-dep.el: Provide a feature.
9820 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9821 Don't mistakenly ignore files whose basenames match a basename
9822 from preloaded-file-list (eg cedet/ede/simple.el).
9823 Add a fallback method for getting :group.
9825 2013-05-15 Juri Linkov <juri@jurta.org>
9827 * isearch.el (isearch-char-by-name): Rename from
9828 `isearch-insert-char-by-name'. Doc fix.
9829 (isearch-forward): Mention `isearch-char-by-name' in
9830 the docstring. (Bug#13348)
9832 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9833 `exit-minibuffer' instead of
9834 `isearch-nonincremental-exit-minibuffer'.
9835 (isearch-edit-string): Remove mention of
9836 `isearch-nonincremental-exit-minibuffer' from docstring.
9837 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9838 (isearch-forward-exit-minibuffer)
9839 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9841 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9843 * loadup.el: Just use unversioned DOC.
9845 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9846 literals as extending to EOB.
9847 (nxml-last-fontify-end): Remove unused variable.
9848 (nxml-after-change1): Use with-silent-modifications.
9849 (nxml-extend-after-change-region): Simplify.
9850 (nxml-extend-after-change-region1): Remove function.
9851 (nxml-after-change1): Don't adjust for dependent regions.
9852 (nxml-fontify-matcher): Simplify.
9853 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9854 (xmltok-add-dependent): Remove function.
9855 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9856 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9857 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9858 unclosed <[[, <?, comment, and other literals as extending to EOB.
9859 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9860 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9862 (rng-do-some-validation-1): Don't mark dependent regions.
9863 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9864 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9865 (nxml-clear-dependent-regions): Remove functions.
9866 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9867 (nxml-ensure-scan-up-to-date):
9868 Don't clear&mark dependent regions.
9870 2013-05-15 Leo Liu <sdl.web@gmail.com>
9872 * progmodes/octave.el (octave-goto-function-definition):
9873 Improve and fix callers.
9875 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9877 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9878 the setter (bug#14387).
9880 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9881 surrounding group (bug#14402).
9883 2013-05-14 Juri Linkov <juri@jurta.org>
9885 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9888 2013-05-14 Glenn Morris <rgm@gnu.org>
9890 * progmodes/f90.el (f90-imenu-generic-expression):
9891 Fix typo in 2013-05-08 change. (Bug#14402)
9893 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9895 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9896 Remove signals for which replies are never received.
9898 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9900 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9901 (gdb-handler-alist, gdb-handler-number): Remove variables.
9902 (gdb-handler-list): New variable.
9903 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9904 (gdb-pending-handler-p, gdb-handle-reply)
9905 (gdb-remove-all-pending-triggers): New functions.
9906 (gdb-discard-unordered-replies): New defcustom.
9907 (gdb-handler): New defstruct.
9908 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9909 instead of gdb-pending-triggers. Update docstring.
9910 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9911 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9912 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9913 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9914 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9915 (gdb-frame-handler): Pending triggers are now automatically managed.
9916 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9918 (gdb-input): Automatically handles pending triggers. Update docstring.
9919 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9920 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9922 (gdb-done-or-error): Now use gdb-handle-reply.
9924 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9926 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9929 2013-05-14 Glenn Morris <rgm@gnu.org>
9931 * subr.el (user-emacs-directory-warning): New option.
9932 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9934 2013-05-14 Leo Liu <sdl.web@gmail.com>
9936 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9938 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9939 (octave-font-lock-texinfo-comment): Fix invalid search bound
9940 error: wrong side of point.
9942 2013-05-14 Glenn Morris <rgm@gnu.org>
9944 * progmodes/flymake.el (flymake-xml-program): New option.
9945 (flymake-xml-init): Use it.
9947 * term/xterm.el: Provide a feature.
9949 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9951 2013-05-13 Glenn Morris <rgm@gnu.org>
9953 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9954 Add compat aliases as a hack workaround. (Bug#14384)
9956 2013-05-13 Leo Liu <sdl.web@gmail.com>
9958 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9960 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9962 (octave-comment-start-skip): Include %!.
9963 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9965 2013-05-12 Leo Liu <sdl.web@gmail.com>
9967 * progmodes/octave.el (inferior-octave-startup): Store the value
9968 of __octave_srcdir__ for octave-source-directories.
9969 (inferior-octave-check-process): New function refactored out of
9970 inferior-octave-send-list-and-digest.
9971 (octave-source-directories)
9972 (octave-find-definition-filename-function): New variables.
9973 (octave-source-directories)
9974 (octave-find-definition-default-filename): New functions.
9975 (octave-find-definition): Improve to find functions implemented in C++.
9977 2013-05-12 Glenn Morris <rgm@gnu.org>
9979 * calendar/diary-lib.el (diary-outlook-format-1):
9980 Don't include dayname in the output. (Bug#14349)
9982 2013-05-11 Glenn Morris <rgm@gnu.org>
9984 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9986 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9987 Treat cc-provide like provide.
9989 2013-05-11 Kevin Ryde <user42@zip.com.au>
9991 * cus-dep.el (custom-make-dependencies):
9992 Use generated-autoload-load-name for the sake of files such
9993 such cedet/semantic/bovine/c.el, where the base file name
9994 is not in load-path. (Bug#5277)
9996 2013-05-11 Glenn Morris <rgm@gnu.org>
9998 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10001 2013-05-11 Leo Liu <sdl.web@gmail.com>
10003 * progmodes/octave.el (octave-indent-comment): Improve.
10004 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10005 (octave-eldoc-function-signatures, octave-eldoc-function):
10007 (octave-mode, inferior-octave-mode): Add eldoc support.
10009 2013-05-11 Richard Stallman <rms@gnu.org>
10011 * epa.el (epa-decrypt-file): Take output file name as argument
10012 and read it using `interactive'.
10014 2013-05-11 Leo Liu <sdl.web@gmail.com>
10016 * progmodes/octave.el (octave-beginning-of-line)
10017 (octave-end-of-line): Check before using up-list because it jumps
10018 out of more syntactic contructs since moving to smie.
10019 (octave-indent-comment): New function.
10020 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10021 (octave-begin-keywords, octave-end-keywords)
10022 (octave-reserved-words, octave-smie-bnf-table)
10023 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10025 2013-05-11 Glenn Morris <rgm@gnu.org>
10027 * faces.el (internal-face-x-get-resource):
10028 * frame.el (ns-display-monitor-attributes-list):
10029 * calc/calc-aent.el (math-to-radians-2):
10030 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10033 * calc/calc-menu.el: Make it loadable in isolation.
10035 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10036 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10037 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10038 (eudc-bbdb-query-internal): Require 'bbdb.
10040 * lpr.el (lpr-headers-switches):
10041 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10043 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10045 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10047 * term.el (term-set-escape-char): Make it idempotent.
10049 2013-05-10 Leo Liu <sdl.web@gmail.com>
10051 * progmodes/octave.el (inferior-octave-completion-table):
10052 No longer a function and all uses changed. Use cache to speed up
10053 completion due to bug#11906.
10054 (octave-beginning-of-defun): Re-write to be more general.
10056 2013-05-10 Glenn Morris <rgm@gnu.org>
10058 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10060 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10062 * comint.el (comint-redirect-send-command-to-process): Use :around
10063 rather than :override for comint-redirect-filter.
10064 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10065 Call it instead of comint-redirect-original-filter-function (which
10066 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10068 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10070 * frame.el (display-monitor-attributes-list): Add NS case.
10071 (ns-display-monitor-attributes-list): Declare.
10073 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10075 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10077 2013-05-09 Glenn Morris <rgm@gnu.org>
10079 * international/fontset.el (vertical-centering-font-regexp):
10080 Set standard-value.
10082 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10084 * bookmark.el (bookmark-search-delay):
10085 * cus-start.el (vertical-centering-font-regexp):
10086 * ps-mule.el (ps-mule-font-info-database-default):
10087 * ps-print.el (ps-default-fg, ps-default-bg):
10088 * type-break.el (type-break-good-break-interval):
10089 * whitespace.el (whitespace-indentation-regexp)
10090 (whitespace-space-after-tab-regexp):
10091 * emacs-lisp/testcover.el (testcover-1value-functions)
10092 (testcover-noreturn-functions, testcover-progn-functions)
10093 (testcover-prog1-functions):
10094 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10095 * eshell/em-glob.el (eshell-glob-translate-alist):
10096 * play/tetris.el (tetris-tty-colors):
10097 * progmodes/cpp.el (cpp-face-default-list):
10098 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10099 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10100 (idlwave-help-browser-generic-args):
10101 * progmodes/make-mode.el (makefile-special-targets-list):
10102 * progmodes/python.el (python-shell-virtualenv-path):
10103 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10104 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10105 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10106 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10107 * textmodes/reftex-vars.el (reftex-format-label-function):
10108 * textmodes/remember.el (remember-diary-file): Fix custom types.
10110 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10113 2013-05-09 Leo Liu <sdl.web@gmail.com>
10115 * progmodes/octave.el (inferior-octave-completion-at-point):
10116 Restore file completion. (Bug#14300)
10117 (inferior-octave-startup): Fix incorrect highlighting for the
10120 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10122 * progmodes/ruby-mode.el: First cut at SMIE support.
10123 (ruby-use-smie): New var.
10124 (ruby-smie-grammar): New constant.
10125 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10126 (ruby-smie--forward-token, ruby-smie--backward-token)
10127 (ruby-smie-rules): New functions.
10128 (ruby-mode-variables): Setup SMIE if applicable.
10130 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10132 * simple.el (line-move-visual): Signal beginning/end of buffer
10133 only if vertical-motion moved less than it was requested. Avoids
10134 silly incorrect error messages when there are display strings with
10135 multiple newlines at EOL.
10137 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10139 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10140 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10141 (prolog-char-quote-workaround):
10142 * progmodes/cperl-mode.el (cperl-under-as-char):
10143 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10145 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10147 (vhdl-mode-syntax-table-init): Remove.
10149 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10152 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10154 (ld-script-font-lock-keywords):
10155 Change regexps to use things like \_< and \_>.
10157 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10158 Change all regexps to use things like \_< and \_>.
10160 * progmodes/autoconf.el (autoconf-definition-regexp)
10161 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10162 Handle a _ with symbol syntax.
10163 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10165 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10166 Consolidate declaration.
10167 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10169 (ada-create-syntax-table): Remove.
10170 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10171 already has the right syntax nowadays.
10172 (ada-goto-next-word): Don't change the syntax of "_".
10174 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10177 2013-05-08 Sam Steingold <sds@gnu.org>
10179 * thingatpt.el (thing-at-point): Accept optional second argument
10180 NO-PROPERTIES to strip the text properties from the return value.
10181 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10182 to `thing-at-point' instead of stripping the properties ourselves.
10183 Also, when `thing-at-point' fails to find a url, prepend "http://"
10184 to the filename at point on the assumption that the user is
10185 pointing at something like gnu.org/gnu.
10187 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10189 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10190 * faces.el (crm-separator):
10191 Silence byte-compiler.
10193 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10194 (tool-bar-map): Remove unneeded defvars.
10196 2013-05-08 Leo Liu <sdl.web@gmail.com>
10198 Re-work a fix for bug#10994 based on Le Wang's patch.
10199 * ido.el (ido-remove-consecutive-dups): New helper.
10200 (ido-completing-read): Use it.
10201 (ido-chop): Revert fix for bug#10994.
10203 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10205 * cus-edit.el (custom-save-variables):
10206 Pretty-print long values. (Bug#14187)
10208 2013-05-08 Glenn Morris <rgm@gnu.org>
10210 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10211 (m4-mode-syntax-table): Init in the defvar.
10212 (m4-mode-abbrev-table): Let define-derived-mode define it.
10214 2013-05-08 Tom Tromey <tromey@redhat.com>
10216 * progmodes/m4-mode.el (m4-mode-syntax-table):
10217 Do not treat "_" as word constituent. (Bug#14167)
10219 2013-05-07 Glenn Morris <rgm@gnu.org>
10221 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10222 Remove explicit eshell-isearch-cancel-map.
10224 * progmodes/f90.el (f90-smart-end-names): New option.
10225 (f90-smart-end): Doc fix.
10226 (f90-end-block-optional-name): New constant.
10227 (f90-block-match): Respect f90-smart-end-names.
10229 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10231 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10232 about implicit semi-colons (bug#14218).
10234 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10236 * frame.el (display-monitor-attributes-list)
10237 (frame-monitor-attributes): New functions.
10239 2013-05-06 Leo Liu <sdl.web@gmail.com>
10241 * progmodes/octave.el (octave-syntax-propertize-function): Change
10242 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10243 (octave-font-lock-keywords): Use octave-operator-regexp.
10244 (octave-completion-at-point): Rename from
10245 octave-completion-at-point-function.
10246 (inferior-octave-directory-tracker): Robustify.
10247 (octave-text-functions): Remove and fix its uses. No such things
10250 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10252 * emacs-lisp/trace.el (trace--display-buffer): New function.
10253 (trace-make-advice): Use it.
10255 2013-05-06 Juri Linkov <juri@jurta.org>
10257 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10258 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10260 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10261 in the help string. (Bug#12985)
10263 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10265 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10267 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10269 * progmodes/perl-mode.el: Add support for here documents.
10270 (perl-syntax-propertize-function): Match here-doc markers.
10271 (perl-syntax-propertize-special-constructs): Find their end.
10272 (perl-imenu-generic-expression): Use [:alnum:].
10274 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10275 (advice--add-function): Refresh the advice if already present
10278 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10280 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10282 2013-05-06 Glenn Morris <rgm@gnu.org>
10284 * w32-fns.el (w32-charset-info-alist): Declare.
10286 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10287 of its defcustom properties.
10288 (eshell-cmpl-initialize): No need to load pcomplete.
10290 * generic-x.el: No need to require comint when compiling.
10292 * net/eudc-export.el: Make it loadable without bbdb.
10293 (top-level): Use require rather than load-library.
10294 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10295 (eudc-batch-export-records-to-bbdb)
10296 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10299 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10301 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10302 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10303 some tweaks, instead.
10305 2013-05-05 Leo Liu <sdl.web@gmail.com>
10307 * progmodes/octave.el (octave-font-lock-keywords)
10308 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10309 (inferior-octave-send-list-and-digest): Improve error message.
10310 (octave-mode, inferior-octave-mode): Use setq-local.
10311 (octave-help): Set info-lookup-mode.
10313 2013-05-05 Richard Stallman <rms@gnu.org>
10315 * vc/compare-w.el (compare-windows-whitespace):
10316 Treat no-break space as whitespace.
10318 * mail/rmailsum.el (rmail-summary-rmail-update):
10319 Detect empty summary and don't change selected message.
10320 (rmail-summary-goto-msg): Likewise.
10322 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10323 Doc fixes, rename args.
10325 2013-05-05 Alan Mackenzie <acm@muc.de>
10327 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10329 2013-05-05 Juri Linkov <juri@jurta.org>
10331 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10332 to not add the length of the summary segment to the return value.
10335 2013-05-05 Leo Liu <sdl.web@gmail.com>
10337 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10338 (inferior-octave-output-filter): Remove.
10339 (octave-send-region, inferior-octave-startup): Fix callers.
10340 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10341 (octave-binary-file-extensions): New user variable.
10342 (octave-find-definition): Confirm if opening binary files.
10343 (octave-help-file): Use octave-find-definition to get the binary
10345 (octave-help): Adjust for octave-help-file change.
10347 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10349 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10350 Merge the two entries that handle function definitions.
10351 (pascal--syntax-propertize): New const.
10352 (pascal-mode): Use it. Use setq-local.
10354 2013-05-04 Glenn Morris <rgm@gnu.org>
10356 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10357 (diary-from-outlook): Respect diary-from-outlook-function.
10359 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10361 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10362 Move the declaration from C.
10363 (read-minibuffer, eval-minibuffer): Move from C.
10364 (completion-setup-function): Avoid minibuffer-completion-contents.
10366 2013-05-03 Leo Liu <sdl.web@gmail.com>
10368 * progmodes/octave.el (octave-font-lock-keywords): Do not
10369 dehighlight 'end' in comments or strings.
10370 (octave-completing-read, octave-goto-function-definition):
10372 (octave-help-buffer): New user variable.
10373 (octave-help-file, octave-help-function): New button types.
10374 (octave-help): New command and bind it to C-h ;.
10375 (octave-find-definition): New command and bind it to M-.
10376 (user-error): Alias to error if not defined.
10378 2013-05-02 Leo Liu <sdl.web@gmail.com>
10380 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10382 (octave-font-lock-keywords): Include [ and {.
10384 2013-05-02 Leo Liu <sdl.web@gmail.com>
10386 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10387 (inferior-octave): Remove calling comint-mode and return the buffer.
10388 (inferior-octave-startup): Cosmetic changes.
10390 2013-05-02 Leo Liu <sdl.web@gmail.com>
10392 * progmodes/octave.el (octave-syntax-propertize-function):
10393 Include the case when ' is at line beginning. (Bug#14336)
10395 2013-05-02 Glenn Morris <rgm@gnu.org>
10397 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10398 * desktop.el (vc-dir-mode): Just autoload it here.
10400 2013-05-02 Alan Mackenzie <acm@muc.de>
10402 Eliminate variable c-standard-font-lock-fontify-region-function.
10403 * progmodes/cc-mode.el
10404 (c-standard-font-lock-fontify-region-function): Remove.
10405 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10407 2013-05-01 Leo Liu <sdl.web@gmail.com>
10409 * progmodes/octave.el: Compatible with older emacs-24 releases.
10410 (inferior-octave-has-built-in-variables): Remove. Built-in
10411 variables were removed from Octave in 2007.
10412 (inferior-octave-startup): Fix uses.
10413 (comint-line-beginning-position): Remove compatibility code for
10416 2013-05-01 Juri Linkov <juri@jurta.org>
10418 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10420 2013-05-01 Juri Linkov <juri@jurta.org>
10422 * comint.el (comint-previous-matching-input): Don't print message
10423 "History item: %d" when `isearch-mode' is active.
10424 (comint-history-isearch-message): Print message "History item: %d"
10425 when `comint-input-ring-index' is not empty and this function is
10426 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10428 2013-05-01 Leo Liu <sdl.web@gmail.com>
10430 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10431 definitions. Use completion-at-point to insert keywords.
10432 (octave-abbrev-start): Remove.
10433 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10435 2013-04-30 Leo Liu <sdl.web@gmail.com>
10437 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10440 2013-04-30 Alan Mackenzie <acm@muc.de>
10442 Handle arbitrarily long C++ member initialisation lists.
10443 * progmodes/cc-engine.el (c-back-over-member-initializers):
10445 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10446 (most) member init lists.
10448 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10450 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10453 2013-04-30 Leo Liu <sdl.web@gmail.com>
10455 * progmodes/octave.el (octave-variables): Remove. No builtin
10456 variables any more. All converted to functions.
10457 (octave-font-lock-keywords, octave-completion-at-point-function):
10459 (octave-font-lock-texinfo-comment): New user variable.
10460 (octave-texinfo-font-lock-keywords): New variable for texinfo
10462 (octave-function-comment-block): New face.
10463 (octave-font-lock-texinfo-comment): New function.
10464 (octave-mode): Font lock texinfo comment block.
10466 2013-04-29 Leo Liu <sdl.web@gmail.com>
10468 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10469 indexing expression.
10470 (octave-continuation-string): Do not use \.
10471 (inferior-octave-complete-impossible): Remove.
10472 (inferior-octave-completion-table)
10473 (inferior-octave-completion-at-point): Remove its uses.
10474 (inferior-octave-startup): completion_matches was introduced to
10475 Octave in 1996 so safe to assume it.
10476 (octave-function-file-comment): Improve to follow how Octave does it.
10477 (octave-update-function-file-comment): Tweak.
10479 2013-04-29 Leo Liu <sdl.web@gmail.com>
10481 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10482 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10483 (octave-function-file-comment): Fix typo.
10484 (octave-sync-function-file-names): Use read-char-choice.
10486 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10488 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10489 to t for the less important warnings.
10491 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10493 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10495 2013-04-27 Glenn Morris <rgm@gnu.org>
10497 * vc/log-view.el (log-view-current-entry):
10498 Treat "---" separator lines as part of the following rev. (Bug#14169)
10500 2013-04-27 Juri Linkov <juri@jurta.org>
10502 * subr.el (read-number): Doc fix about using it by interactive
10503 code letter `n'. (Bug#14254)
10505 2013-04-27 Juri Linkov <juri@jurta.org>
10507 * desktop.el (desktop-auto-save-timeout): New option.
10508 (desktop-file-checksum): New variable.
10509 (desktop-save): Add optional arg `auto-save' and don't auto-save
10510 if nothing changed.
10511 (desktop-auto-save-timer): New variable.
10512 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10513 (after-init-hook): Call `desktop-auto-save-set-timer'.
10514 Suggested by Reuben Thomas <rrt@sc3d.org> in
10515 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10517 2013-04-27 Leo Liu <sdl.web@gmail.com>
10519 * progmodes/octave.el (octave-function-file-p)
10520 (octave-skip-comment-forward, octave-function-file-comment)
10521 (octave-update-function-file-comment): New functions.
10522 (octave-mode-map): Bind C-c ; to
10523 octave-update-function-file-comment.
10524 (octave-mode-menu): Add octave-update-function-file-comment.
10525 (octave-mode, inferior-octave-mode): Fix doc-string.
10526 (octave-insert-defun): Conform to Octave's coding convention.
10529 * files.el (basic-save-buffer): Don't let errors in
10530 before-save-hook prevent saving buffer.
10532 2013-04-20 Roland Winkler <winkler@gnu.org>
10534 * faces.el (read-face-name): Use completing-read if arg multiple
10537 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10539 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10540 displayed, move point to after the totals line.
10541 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10544 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10546 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10547 Add current dir to the load-path.
10548 (package-generate-autoloads): Don't rely on
10549 autoload-ensure-default-file.
10551 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10553 * textmodes/remember.el (remember-store-in-files): Document that
10554 the file name format is passed to `format-time-string'.
10556 2013-04-26 Leo Liu <sdl.web@gmail.com>
10558 * progmodes/octave.el (octave-sync-function-file-names): New function.
10559 (octave-mode): Use it in before-save-hook.
10561 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10563 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10566 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10567 \n and comment, even if it's not an implicit ; (bug#14218).
10569 2013-04-26 Glenn Morris <rgm@gnu.org>
10571 * subr.el (read-number): Once more use `read' rather than
10572 `string-to-number', to trap non-numeric input. (Bug#14254)
10574 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10576 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10577 Use `syntax-multiline' text property consistently instead of
10578 `font-lock-multiline'. (Bug#14237)
10580 2013-04-26 Glenn Morris <rgm@gnu.org>
10582 * emacs-lisp/shadow.el (list-load-path-shadows):
10583 No longer necessary to check for duplicate simple.el, since
10584 2012-07-07 change to init_lread to not include installation lisp
10585 directories in load-path when running uninstalled. (Bug#14270)
10587 2013-04-26 Leo Liu <sdl.web@gmail.com>
10589 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10590 (octave-mode, inferior-octave-mode): Use setq-local.
10591 (octave-not-in-string-or-comment-p): Rename to
10592 octave-in-string-or-comment-p.
10593 (octave-in-comment-p, octave-in-string-p)
10594 (octave-in-string-or-comment-p): Replace defsubst with defun.
10596 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10598 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10600 2013-04-25 Bastien Guerry <bzg@gnu.org>
10602 * textmodes/remember.el (remember-data-directory)
10603 (remember-directory-file-name-format): Fix custom types.
10605 2013-04-25 Leo Liu <sdl.web@gmail.com>
10607 * progmodes/octave.el (octave-completion-at-point-function):
10608 Make use of inferior octave process.
10609 (octave-initialize-completions): Remove.
10610 (inferior-octave-completion-table): New function.
10611 (inferior-octave-completion-at-point): Use it.
10612 (octave-completion-alist): Remove.
10614 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10616 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10617 (opascal-mode-syntax-table): New var.
10618 (opascal-literal-kind, opascal-is-literal-end)
10619 (opascal-literal-token-at): Rewrite.
10620 (opascal--literal-start-re, opascal-font-lock-keywords)
10621 (opascal--syntax-propertize): New constants.
10622 (opascal-font-lock-defaults): Adjust.
10623 (opascal-mode): Use them. Set comment-<foo> variables as well.
10624 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10625 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10626 (delphi-other-face, opascal-other-face): Remove face variables.
10627 (opascal-save-state): Remove macro.
10628 (opascal-fontifying-progress-step): Remove constant.
10629 (opascal--ignore-changes): Remove var.
10630 (opascal-set-token-property, opascal-parse-next-literal)
10631 (opascal-is-stable-literal, opascal-complete-literal)
10632 (opascal-is-literal-start, opascal-face-of)
10633 (opascal-parse-region, opascal-parse-region-until-stable)
10634 (opascal-fontify-region, opascal-after-change)
10635 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10636 (opascal-debug-parse-region, opascal-debug-parse-window)
10637 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10638 (opascal-debug-fontify-buffer): Remove.
10639 (opascal-debug-mode-map): Adjust accordingly.
10641 2013-04-25 Leo Liu <sdl.web@gmail.com>
10643 Merge octave-mod.el and octave-inf.el into octave.el with some
10645 * progmodes/octave.el: New file renamed from octave-mod.el.
10646 * progmodes/octave-inf.el: Merged into octave.el.
10647 * progmodes/octave-mod.el: Renamed to octave.el.
10649 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10651 * textmodes/reftex-vars.el
10652 (reftex-label-ignored-macros-and-environments): New defcustom.
10654 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10656 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10658 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10659 (smie-indent-keyword): Improve the check to ensure that the next
10660 comment is really on the same line.
10661 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10663 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10664 semi-colons if the line is not otherwise empty (bug#14218).
10666 2013-04-25 Glenn Morris <rgm@gnu.org>
10668 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10670 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10672 * progmodes/opascal.el (opascal-set-token-property): Rename from
10673 opascal-set-text-properties and only set `token' (bug#14134).
10674 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10675 (opascal-literal-text-properties): Remove.
10676 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10679 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10681 * textmodes/remember.el (remember-handler-functions): Add an
10682 option for a new handler `remember-store-in-files'.
10683 (remember-data-directory, remember-directory-file-name-format):
10685 (remember-store-in-files): New function to store remember notes
10686 as separate files within a directory.
10688 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10690 * progmodes/compile.el (compilation-next-error-function):
10691 Pass "formats" to compilation-find-file (bug#11777).
10693 2013-04-24 Glenn Morris <rgm@gnu.org>
10695 * vc/vc-bzr.el (vc-bzr-print-log):
10696 * vc/vc-hg.el (vc-hg-print-log):
10697 * vc/vc-svn.el (vc-svn-print-log):
10698 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10700 * vc/vc-bzr.el (vc-bzr-print-log):
10701 * vc/vc-cvs.el (vc-cvs-print-log):
10702 * vc/vc-git.el (vc-git-print-log):
10703 * vc/vc-hg.el (vc-hg-print-log):
10704 * vc/vc-mtn.el (vc-mtn-print-log):
10705 * vc/vc-rcs.el (vc-rcs-print-log):
10706 * vc/vc-sccs.el (vc-sccs-print-log):
10707 * vc/vc-svn.el (vc-svn-print-log):
10708 * vc/vc.el (vc-print-log-internal): Doc fixes.
10710 2013-04-23 Glenn Morris <rgm@gnu.org>
10712 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10713 Remove venerable code attempting to avoid substitute-command-keys.
10715 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10717 * textmodes/reftex-vars.el (reftex-label-regexps):
10718 Call `reftex-compile-variables' after changes to this variable.
10720 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10722 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10723 Use lexical-binding.
10724 (jit-lock-force-redisplay): Use markers, check buffer's continued
10725 existence and beware narrowed buffers.
10726 (jit-lock-fontify-now): Adjust call accordingly.
10728 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10730 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10731 to avoid misleading the user.
10733 2013-04-22 Leo Liu <sdl.web@gmail.com>
10735 * info-look.el: Prefer latex2e.info. (Bug#14240)
10737 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10739 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10741 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10742 * net/tramp.el (tramp-call-process): ... here.
10743 (tramp-set-completion-function, tramp-parse-putty):
10744 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10745 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10746 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10747 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10748 (tramp-call-local-coding-command): Use `tramp-call-process'
10749 instead of `tramp-compat-call-process'.
10751 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10752 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10753 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10754 (tramp-find-inline-compress): Improve traces.
10755 (tramp-maybe-send-script): Check for Perl binary.
10756 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10758 2013-04-22 Daiki Ueno <ueno@gnu.org>
10760 * epg.el (epg-context-pinentry-mode): New function.
10761 (epg-context-set-pinentry-mode): New function.
10762 (epg--start): Pass --pinentry-mode option to gpg command.
10764 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10766 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10767 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10768 `completion-at-point'. (Bug#13774)
10770 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10771 default key binding for `describe-distribution' has been moved to
10772 `C-h C-o'. (Bug#13970)
10774 2013-04-21 Glenn Morris <rgm@gnu.org>
10776 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10778 (vc-print-log): Clarify interactive prompt.
10780 2013-04-20 Glenn Morris <rgm@gnu.org>
10782 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10783 No longer include timestamp etc information.
10785 2013-04-20 Roland Winkler <winkler@gnu.org>
10787 * faces.el (read-face-name): Bug fix, return just one face if arg
10788 multiple is nil. (Bug#14209)
10790 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10792 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10793 (remove-function): Autoload.
10795 * comint.el (comint-redirect-original-filter-function): Remove.
10796 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10797 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10798 (vc-cvs-annotate-command):
10799 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10800 * progmodes/prolog.el (prolog-consult-compile):
10801 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10802 Use add/remove-function instead.
10803 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10804 (gud-tooltip-process-output, gud-tooltip-tips):
10805 Use add/remove-function instead.
10806 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10807 (scheme-interaction-mode, exit-scheme-interaction-mode):
10808 Use add/remove-function instead.
10810 * vc/vc-dispatcher.el: Use lexical-binding.
10811 (vc--process-sentinel): Rename from vc-process-sentinel.
10812 Change last arg to be the code to run. Don't use vc-previous-sentinel
10813 and vc-sentinel-commands any more.
10814 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10815 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10817 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10819 * progmodes/sh-script.el (sh-imenu-generic-expression):
10820 Handle function names with a single character. (Bug#14111)
10822 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10824 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10825 for subroutines defined in an eval (bug#14182).
10827 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10829 * bookmark.el (bookmark-completing-read): Improve handling of empty
10830 string (bug#14176).
10832 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10834 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10836 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10838 New faster Imenu implementation (bug#14058).
10839 * progmodes/python.el:
10840 (python-imenu-prev-index-position):
10841 (python-imenu-format-item-label-function)
10842 (python-imenu-format-parent-item-label-function)
10843 (python-imenu-format-parent-item-jump-label-function):
10845 (python-imenu-format-item-label)
10846 (python-imenu-format-parent-item-label)
10847 (python-imenu-format-parent-item-jump-label)
10848 (python-imenu--put-parent, python-imenu--build-tree)
10849 (python-imenu-create-index, python-imenu-create-flat-index)
10850 (python-util-popn): New functions.
10851 (python-mode): Set imenu-create-index-function to
10852 python-imenu-create-index.
10854 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10856 * winner.el (winner-active-region): Use region-active-p, activate-mark
10857 and deactivate-mark (bug#14225).
10859 * simple.el (deactivate-mark): Don't inline it.
10861 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10863 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10865 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10867 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10868 file extensions from the archive-mode entry in order to prefer
10869 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10871 2013-04-18 Leo Liu <sdl.web@gmail.com>
10873 * bindings.el (help-event-list): Add ?\?.
10875 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10877 * subr.el (with-wrapper-hook): Declare obsolete.
10878 * simple.el (filter-buffer-substring-function): New hook.
10879 (filter-buffer-substring): Use it.
10880 (filter-buffer-substring-functions): Mark obsolete.
10881 * minibuffer.el (completion-in-region-function): New hook.
10882 (completion-in-region): Use it.
10883 (completion-in-region-functions): Mark obsolete.
10884 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10885 * abbrev.el (abbrev-expand-function): New hook.
10886 (expand-abbrev): Use it.
10887 (abbrev-expand-functions): Mark obsolete.
10888 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10889 and :filter-return.
10891 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10893 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10894 and do not care about match data.
10896 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10898 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10899 completion tables when completing error conditions and
10900 `declare' arguments.
10901 (lisp-complete-symbol, field-complete): Mark as obsolete.
10902 (check-parens): Unmatched parens are user errors.
10903 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10905 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10907 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10908 command changed buffer (ie. `flyspell-pre-buffer' is not current
10909 buffer), which prevents making decisions based on invalid value of
10910 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10911 cause an error when `flyspell-pre-point' was nil after switching
10913 (flyspell-post-command-hook): No longer needs to change buffers when
10914 checking pre-word. While at it remove unnecessary progn.
10916 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10918 * textmodes/ispell.el (ispell-add-per-file-word-list):
10919 Fix `flyspell-correct-word-before-point' error when accepting
10920 words and `coment-padding' is an integer by using
10921 `comment-normalize-vars' (Bug #14214).
10923 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10925 New defun movement commands.
10926 * progmodes/python.el (python-nav--syntactically)
10927 (python-nav--forward-defun, python-nav-backward-defun)
10928 (python-nav-forward-defun): New functions.
10930 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10932 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10933 (python-syntax-context): Use named compiler-macro for backwards
10934 compatibility with Emacs 24.x.
10936 2013-04-17 Leo Liu <sdl.web@gmail.com>
10938 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10939 octave-hide-process-buffer.
10941 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10943 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10946 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10948 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10949 Fix adjustment of offset when receiving incomplete responses from GDB
10952 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10954 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10955 python-mode-abbrev-table.
10956 (python-skeleton-define): Adjust accordingly.
10957 (python-mode-abbrev-table): New table that inherits from it so that
10958 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10960 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10961 (abbrev-symbol): Use it.
10962 (abbrev--before-point): Use it since we already handle inheritance.
10964 2013-04-16 Leo Liu <sdl.web@gmail.com>
10966 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10967 binding to info-lookup-symbol.
10969 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10971 * minibuffer.el (completion--twq-all):
10972 * term/ns-win.el (ns-initialize-window-system):
10973 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10975 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10977 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10980 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10982 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10984 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10985 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10987 (ruby-end-of-defun): Remove the unused arg, change the docstring
10988 to reflect that this function is only used as the value of
10989 `end-of-defun-function'.
10990 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10991 to reflect an earlier change that beginning/end-of-defun functions
10992 jump between methods in a class definition, as well as top-level
10995 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10997 * minibuffer.el (minibuffer-complete): Don't just scroll
10998 a *Completions* that's been iconified.
10999 (minibuffer-force-complete): Make sure repetitions do cycle when going
11000 through completion-in-region -> minibuffer-complete.
11002 2013-04-15 Alan Mackenzie <acm@muc.de>
11004 Correct the placement of c-cpp-delimiters when there're #s not at
11007 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11008 place a submatch around the #.
11009 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11010 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11013 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11015 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11016 (advice--member-p): New arg `name'.
11017 (advice--add-function, advice-member-p): Use it (bug#14202).
11019 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11021 Reformulate java imenu-generic-expression.
11022 The old expression contained ill formed regexps.
11024 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11025 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11026 (cc-imenu-java-method-arg-regexp): New defconsts.
11027 (cc-imenu-java-build-type-args-regex): New defun.
11028 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11029 handling of spaces in the regexp.
11031 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11033 * textmodes/ispell.el (ispell-command-loop): Remove
11034 flyspell highlight of a word when ispell accepts it (bug #14178).
11036 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11038 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11039 uses code from the previous `ange-ftp-run-real-handler'.
11040 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11041 only in case that function exist. This is needed for proper
11042 unloading of Tramp.
11044 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11046 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11048 * textmodes/reftex.el (reftex-compile-variables): Use it.
11050 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11052 * files.el (normal-mode): Only use default major-mode if no other mode
11055 * emacs-lisp/trace.el (trace-values): New function.
11057 * files.el: Allow : in local variables (bug#14089).
11058 (hack-local-variable-regexp): New var.
11059 (hack-local-variables-prop-line, hack-local-variables): Use it.
11061 2013-04-13 Roland Winkler <winkler@gnu.org>
11063 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11064 data before it gets modified by bibtex-beginning-of-entry.
11066 2013-04-13 Roland Winkler <winkler@gnu.org>
11068 * textmodes/bibtex.el (bibtex-url): Doc fix.
11070 2013-04-13 Roland Winkler <winkler@gnu.org>
11072 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11073 does not visit a BibTeX file, exclude it from the list of buffers
11074 returned by bibtex-initialize.
11076 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11078 * window.el (split-window): Remove interactive form, since as a
11079 command this function is a special case of split-window-below.
11080 Correct doc string.
11082 2013-04-12 Roland Winkler <winkler@gnu.org>
11084 * faces.el (read-face-name): Do not override value of arg default.
11085 Allow single faces and strings as default values. Remove those
11086 elements from return value that are not faces.
11087 (describe-face): Simplify.
11088 (face-at-point): New optional args thing and multiple so that this
11089 function can provide the same functionality previously provided by
11091 (make-face-bold, make-face-unbold, make-face-italic)
11092 (make-face-unitalic, make-face-bold-italic, invert-face)
11093 (modify-face, read-face-and-attribute): Use face-at-point.
11095 * cus-edit.el (customize-face, customize-face-other-window)
11096 * cus-theme.el (custom-theme-add-face)
11097 * face-remap.el (buffer-face-set)
11098 * facemenu.el (facemenu-set-face): Use face-at-point.
11100 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11102 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11104 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11106 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11107 off leading { and trailing } from field values.
11109 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11111 * emacs-lisp/timer.el (timer--check): New function.
11112 (timer--time, timer-set-function, timer-event-handler): Use it.
11113 (timer-set-idle-time): Simplify.
11114 (timer--activate): CSE.
11115 (timer-event-handler): Give more info in error message.
11116 (internal-timer-start-idle): New function, moved from C.
11118 * mpc.el (mpc-proc): Add `restart' argument.
11119 (mpc-proc-cmd): Use it.
11120 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11121 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11124 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11126 * progmodes/sh-script.el: Implement `sh-mode' own
11127 `add-log-current-defun-function' (bug#14112).
11128 (sh-current-defun-name): New function.
11129 (sh-mode): Use the function.
11131 2013-04-09 Bastien Guerry <bzg@gnu.org>
11133 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11135 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11137 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11139 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11142 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11144 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11147 2013-04-07 Leo Liu <sdl.web@gmail.com>
11149 * pcmpl-x.el: New file.
11151 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11153 Do not set x-display-name until X connection is established.
11154 This is needed to prevent from weird situation described at
11155 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11156 * frame.el (make-frame): Set x-display-name after call to
11157 window system initialization function, not before.
11158 * term/x-win.el (x-initialize-window-system): Add optional
11159 display argument and use it.
11160 * term/w32-win.el (w32-initialize-window-system):
11161 * term/ns-win.el (ns-initialize-window-system):
11162 * term/pc-win.el (msdos-initialize-window-system):
11163 Add compatible optional display argument.
11165 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11167 * files.el (normal-backup-enable-predicate): On MS-Windows and
11168 MS-DOS compare truenames of temporary-file-directory and of the
11169 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11170 don't fail comparison by compare-strings. Also, compare file
11171 names case-insensitively on MS-Windows and MS-DOS.
11173 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11175 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11176 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11178 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11180 * whitespace.el (whitespace-color-on, whitespace-color-off):
11181 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11183 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11185 * ispell.el (ispell-set-spellchecker-params):
11186 Really set `ispell-args' for all equivs.
11188 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11190 * ido.el (ido-completions): Use extra elements of ido-decorations
11192 (ido-decorations): Update docstring.
11194 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11196 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11197 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11198 nil during initialization, in order not to miss changes since the
11199 file was opened. (Bug#14140)
11201 2013-04-05 Leo Liu <sdl.web@gmail.com>
11203 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11205 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11207 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11209 2013-04-04 Glenn Morris <rgm@gnu.org>
11211 * electric.el (electric-pair-inhibit-predicate): Add :version.
11213 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11215 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11216 when a package is required several times (bug#14082).
11218 2013-04-04 Roland Winkler <winkler@gnu.org>
11220 * faces.el (read-face-name): Behave as promised by the docstring.
11221 Assume that arg default is a list of faces.
11222 (describe-face): Call read-face-name with list of default faces.
11224 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11226 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11227 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11228 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11230 (bookmark-exit-hook-internal): Save even if list is empty.
11232 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11234 * emacs-lisp/package.el (package-pinned-packages): New var.
11235 (package--add-to-archive-contents): Obey it (bug#14118).
11237 2013-04-03 Alan Mackenzie <acm@muc.de>
11239 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11240 Also adapt to the new values of element 7 of a parse state.
11242 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11243 parameter `not-in-delimiter'. Handle being inside comment opener.
11244 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11245 character in case we're typing a '*' after a '/'.
11246 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11247 instead by passing the parameter to c-state-pp-to-literal.
11249 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11250 for elt. 7 of a parse state.
11252 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11254 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11255 * international/latin1-disp.el, international/mule-util.el:
11256 * language/cyril-util.el, language/european.el, language/ind-util.el:
11257 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11258 * language/tibetan.el, language/viet-util.el:
11259 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11261 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11263 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11264 (electric-pair-post-self-insert-function): Use it.
11265 (electric-pair-default-inhibit): New function, extracted from
11266 electric-pair-post-self-insert-function.
11268 2013-03-31 Roland Winkler <winkler@gnu.org>
11270 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11272 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11274 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11276 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11278 Un-indent after "pass" and "return" statements (Bug#13888)
11279 * progmodes/python.el (python-indent-block-enders): New var.
11280 (python-indent-calculate-indentation): Use it.
11282 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11284 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11285 defun. Defining it as defalias could introduce too eager
11286 byte-compiler optimization. (Bug#14030)
11288 2013-03-30 Chong Yidong <cyd@gnu.org>
11290 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11292 2013-03-30 Leo Liu <sdl.web@gmail.com>
11294 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11295 (kmacro-execute-from-register): Pass the keyboard macro to
11296 kmacro-call-macro or repeating won't work correctly.
11298 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11300 * progmodes/subword.el: Back to using `forward-symbol'.
11302 * subr.el (forward-whitespace, forward-symbol)
11303 (forward-same-syntax): Move from thingatpt.el.
11305 2013-03-29 Leo Liu <sdl.web@gmail.com>
11307 * kmacro.el (kmacro-to-register): New command.
11308 (kmacro-execute-from-register): New function.
11309 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11311 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11313 * mpc.el: Use defvar-local and setq-local.
11314 (mpc--proc-connect): Connection failures are not bugs.
11315 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11316 (mpc-volume-map): Bind to the up-events.
11318 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11320 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11321 instead of `forward-symbol'.
11323 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11325 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11326 (edebug--recursive-edit): Use it.
11327 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11328 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11330 2013-03-28 Leo Liu <sdl.web@gmail.com>
11332 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11334 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11336 * facemenu.el (list-colors-callback): New defvar.
11337 (list-colors-redisplay): New function.
11338 (list-colors-display): Install list-colors-redisplay as the
11339 revert-buffer-function. (Bug#14063)
11341 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11343 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11344 and suffixes don't overlap (bug#14061).
11346 * case-table.el: Use lexical-binding.
11347 (case-table-get-table): New function.
11348 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11350 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11352 * progmodes/subword.el: Add `superword-mode' to do word motion
11353 over symbol_words (parallels and leverages `subword-mode' which
11354 does word motion inside MixedCaseWords).
11356 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11358 * eshell/em-unix.el: Move su and sudo to...
11359 * eshell/em-tramp.el: ...Eshell tramp module.
11361 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11363 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11364 Change return value to be a sexp. Delay `get-buffer' to after
11365 restoring the desktop (bug#13951).
11367 2013-03-26 Leo Liu <sdl.web@gmail.com>
11369 * register.el: Move semantic tag handling back to
11370 cedet/semantic/senator.el. (Bug#14052)
11372 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11374 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11375 into the prompt either (bug#13963).
11377 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11379 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11380 part of "(error-foo)".
11382 2013-03-24 Juri Linkov <juri@jurta.org>
11384 * replace.el (list-matching-lines-prefix-face): New defcustom.
11385 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11386 `occur-engine' if `face-differs-from-default-p' returns t.
11387 (occur-engine): Add `,' inside backquote construct to evaluate
11388 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11389 Pass `prefix-face' to the functions `occur-context-lines' and
11390 `occur-engine-add-prefix'.
11391 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11392 `prefix-face' and propertize the prefix with `prefix-face'.
11395 2013-03-24 Leo Liu <sdl.web@gmail.com>
11397 * nxml/rng-valid.el (rng-validate-while-idle)
11398 (rng-validate-quick-while-idle): Guard against deleted buffer.
11401 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11402 is the last entry in kill-buffer-hook.
11404 * files.el (kill-buffer-hook): Doc fix.
11406 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11408 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11409 Make it safe-local.
11411 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11413 2013-03-23 Leo Liu <sdl.web@gmail.com>
11415 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11418 * nxml/rng-valid.el (rng-validate-mode)
11419 (rng-after-change-function, rng-do-some-validation):
11420 * nxml/rng-maint.el (rng-validate-buffer):
11421 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11422 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11423 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11424 (nxml-extend-after-change-region): Use with-silent-modifications.
11426 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11429 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11430 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11431 timer-idle-list. (Bug#13999)
11433 2013-03-23 Juri Linkov <juri@jurta.org>
11435 * info.el (info-index-match): New face.
11436 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11437 main pattern and add text properties with the new face to matches
11438 in index entries relative to the beginning of the index entry.
11441 2013-03-21 Eric Ludlam <zappo@gnu.org>
11443 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11444 Inhibit read only while inserting objects.
11446 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11448 * progmodes/cfengine.el: Update docs to mention
11449 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11450 symbol motion. Remove "_" from the word syntax.
11452 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11454 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11455 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11457 2013-03-20 Juri Linkov <juri@jurta.org>
11459 * info.el (Info-next-reference-or-link)
11460 (Info-prev-reference-or-link): New functions.
11461 (Info-next-reference, Info-prev-reference): Use them.
11462 (Info-try-follow-nearest-node): Handle footnote navigation.
11463 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11465 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11467 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11468 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11470 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11472 Suppress unnecessary non-ASCII chatter during build process.
11473 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11474 (batch-skkdic-convert): Suppress most of the chatter.
11475 It's not needed so much now that machines are faster,
11476 and its non-ASCII component was confusing; see Dmitry Gutov in
11477 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11479 2013-03-20 Leo Liu <sdl.web@gmail.com>
11481 * ido.el (ido-chop): Fix bug#10994.
11483 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11485 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11487 (whitespace-color-on, whitespace-color-off):
11488 Use `font-lock-fontify-buffer' (Bug#13817).
11490 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11492 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11493 remapping in mode-line.
11494 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11496 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11498 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11499 value for `whitespace-line' face (Bug#13875).
11500 (whitespace-font-lock-keywords): Change description.
11501 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11502 the constructed keywords instead.
11503 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11505 2013-03-19 Leo Liu <sdl.web@gmail.com>
11507 * progmodes/compile.el (compilation-display-error): New command.
11508 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11511 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11513 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11515 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11517 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11519 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11521 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11523 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11524 * net/tramp-gvfs.el (top):
11525 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11526 (tramp-handle-shell-command): Use it.
11527 (tramp-dissect-file-name): Raise an error when hostname is a
11528 method name, and neither method nor user is specified.
11530 * net/trampver.el: Update release number.
11532 2013-03-18 Leo Liu <sdl.web@gmail.com>
11534 Make sure eldoc can be turned off properly.
11535 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11537 (eldoc-display-message-p): Revert last change.
11538 (eldoc-display-message-no-interference-p)
11539 (eldoc-print-current-symbol-info): Tweak.
11541 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11543 * doc-view.el (doc-view-new-window-function): Check the new window
11544 overlay's display property instead the char property of the
11545 buffer's first char. Use `with-selected-window' instead of
11546 `save-window-excursion' with `select-window'.
11547 (doc-view-document->bitmap): Check the current doc-view overlay's
11548 display property instead the char property of the buffer's first char.
11550 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11552 Automate the build of ja-dic.el (Bug#13984).
11553 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11554 from the input, rather than assume that it's been done for us by the
11555 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11556 the current date into a ja-dic.el comment, as that complicates
11557 regression testing.
11559 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11561 * whitespace.el: Fix double evaluation.
11562 (whitespace-space, whitespace-hspace, whitespace-tab)
11563 (whitespace-newline, whitespace-trailing, whitespace-line)
11564 (whitespace-space-before-tab, whitespace-indentation)
11565 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11567 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11568 (whitespace-color-on): Use a single font-lock-add-keywords call.
11569 Fix double-evaluation of face variables.
11571 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11573 * net/tramp-adb.el (tramp-adb-parse-device-names):
11574 Use `start-process' instead of `call-process'. Otherwise, the
11575 function might be blocked under MS Windows. (Bug#13299)
11577 2013-03-17 Leo Liu <sdl.web@gmail.com>
11579 Extend eldoc to display info in the mode-line. (Bug#13978)
11580 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11581 (eldoc-mode-line-string): New variable.
11582 (eldoc-minibuffer-message): New function.
11583 (eldoc-message-function): New variable.
11584 (eldoc-message): Use it.
11585 (eldoc-display-message-p)
11586 (eldoc-display-message-no-interference-p):
11587 Support eldoc-post-insert-mode.
11589 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11590 (eval-expression): Run it.
11592 2013-03-17 Roland Winkler <winkler@gnu.org>
11594 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11595 strings in the list of return values.
11597 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11599 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11600 radix before checking for HMS forms.
11602 2013-03-16 Leo Liu <sdl.web@gmail.com>
11604 * progmodes/scheme.el: Add indentation and font-locking for λ.
11607 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11609 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11610 token before point (bug#13942).
11612 2013-03-16 Leo Liu <sdl.web@gmail.com>
11614 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11616 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11618 * startup.el (command-line-normalize-file-name): Fix handling of
11619 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11620 <xfq.free@gmail.com> in
11621 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11623 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11625 Sync with Tramp 2.2.7.
11627 * net/trampver.el: Update release number.
11629 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11631 * doc-view.el: Fix bug#13887.
11632 (doc-view-insert-image): Don't modify overlay associated to
11633 non-live windows, and implement horizontal centering of image in
11634 case it's smaller than the window.
11635 (doc-view-new-window-function): Force redisplay of new windows on
11638 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11640 * saveplace.el (save-place-alist-to-file): Don't sort
11641 `save-place-alist', just pretty-print it (bug#13882).
11643 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11645 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11646 Check whether `default-file-name-coding-system' is bound.
11647 It isn't in XEmacs.
11649 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11651 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11652 backquotes for `obsolete' (bug#13929).
11654 * international/mule.el (find-auto-coding): Include file name in
11655 obsolescence warning (bug#13922).
11657 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11659 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11660 for CFEngine 3-specific indentation.
11661 (cfengine3-indent-line): Use it. Fix up category regex.
11662 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11664 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11666 * type-break.el (type-break-file-name):
11667 * textmodes/remember.el (remember-data-file):
11668 * strokes.el (strokes-file):
11669 * shadowfile.el (shadow-initialize):
11670 * saveplace.el (save-place-file):
11671 * ps-bdf.el (bdf-cache-file):
11672 * progmodes/idlwave.el (idlwave-config-directory):
11673 * net/quickurl.el (quickurl-url-file):
11674 * international/kkc.el (kkc-init-file-name):
11675 * ido.el (ido-save-directory-list-file):
11676 * emulation/viper.el (viper-custom-file-name):
11677 * emulation/vip.el (vip-startup-file):
11678 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11679 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11681 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11683 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11684 * language/thai-word.el: Switch to UTF-8.
11686 See ChangeLog.16 for earlier changes.
11688 ;; Local Variables:
11692 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11694 This file is part of GNU Emacs.
11696 GNU Emacs is free software: you can redistribute it and/or modify
11697 it under the terms of the GNU General Public License as published by
11698 the Free Software Foundation, either version 3 of the License, or
11699 (at your option) any later version.
11701 GNU Emacs is distributed in the hope that it will be useful,
11702 but WITHOUT ANY WARRANTY; without even the implied warranty of
11703 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11704 GNU General Public License for more details.
11706 You should have received a copy of the GNU General Public License
11707 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.