1 2013-12-28 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/authors.el (authors-ignored-files)
4 (authors-valid-file-names, authors-renamed-files-alist): Additions.
6 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
8 * shell.el (shell-dynamic-complete-command): Doc fix.
9 (shell--command-completion-data): Shell completion now matches
10 executable filenames from the current buffer's directory, on
11 systems in which this behaviour is the default (windows-nt, ms-dos).
13 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
15 * net/shr.el (shr-insert): Don't infloop if the width is zero.
17 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
19 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
22 * electric.el: Move all electric-pair-* to elec-pair.el.
23 * elec-pair.el: New file, split from electric.el.
25 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
27 * net/shr.el (shr-find-fill-point): Don't try to fill if the
28 indentation level is larger than the width, because that will
30 (shr-insert): Fill repeatedly long texts, so that Japanese is
31 formatted correctly (bug#16263).
32 (shr-find-fill-point): Off by one error in comparison with the
35 2013-12-26 João Távora <joaotavora@gmail.com>
37 * electric.el (electric-pair-mode): More flexible engine for skip-
38 and inhibit predicates, new options for pairing-related functionality.
39 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
40 if that keeps or improves their balance in buffers.
41 (electric-pair-delete-adjacent-pairs): Delete the pair when
42 backspacing over adjacent matched delimiters.
43 (electric-pair-open-extra-newline): Open extra newline when
44 inserting newlines between adjacent matched delimiters.
45 (electric--sort-post-self-insertion-hook):
46 Sort post-self-insert-hook according to priority values when
47 minor-modes are activated.
48 * simple.el (newline-and-indent): Call newline with interactive
50 (blink-paren-post-self-insert-function): Set priority to 100.
51 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
52 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
53 comments. Locally set electric-pair-skip-whitespace to 'chomp and
54 electric-pair-open-newline-between-pairs to nil.
56 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
58 * progmodes/python.el: Use lexical-binding.
59 (python-nav-beginning-of-defun): Stop searching ASAP.
61 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
63 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
64 Fix interactive spec. Doc fix. (Bug#15754)
66 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
68 * emacs-lisp/byte-run.el (eval-when-compile):
69 * progmodes/cc-defs.el (cc-eval-when-compile):
70 Fix edebug spec (bug#16184).
72 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
74 * net/shr.el (shr-visit-file): Remove debugging function.
75 (shr-insert): Don't infloop if we can't find a good place to break
78 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
80 * progmodes/python.el:
81 (python-nav--lisp-forward-sexp): New function.
82 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
83 python-nav-lisp-forward-sexp-safe.
84 (python-nav--forward-sexp): New argument SAFE allows switching
85 forward sexp movement behavior for parens.
86 (python-nav-forward-sexp): Throw errors on unterminated parens
88 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
89 (python-nav-backward-sexp-safe): New functions.
90 (python-shell-buffer-substring):
91 Use `python-nav-forward-sexp-safe'.
93 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
95 * net/shr.el (shr-find-fill-point): Don't break lines before a
97 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
98 (shr-find-fill-point): Remove the special checks for the quotation
99 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
101 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
103 * net/eww.el (eww-form-textarea): Use a different face for
104 textareas than text input since they have different keymaps
107 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
109 * progmodes/python.el (python-nav-beginning-of-statement):
110 Speed up (Bug#15295).
112 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
114 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
115 the window configuration.
117 2013-12-24 Eli Zaretskii <eliz@gnu.org>
119 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
120 we run on MS-Windows or MS-DOS.
122 2013-12-24 Martin Rudalics <rudalics@gmx.at>
124 * window.el (balance-windows-area): Call window-size instead of
125 window-height and window-width. Bug#16241.
127 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
129 * net/eww.el (eww-bookmark-quit): Remove.
130 (eww-bookmark-browse): Restore the window configuration when you
131 choose a bookmark (bug#16144).
133 2013-12-24 Daniel Colascione <dancol@dancol.org>
135 * icomplete.el: Remove redundant :group arguments to `defcustom'
137 (icomplete-show-matches-on-no-input): New customizable variable.
138 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
139 we have something to show.
140 (icomplete-exhibit): Compute completions even if we have no user input.
142 2013-12-23 Daniel Colascione <dancol@dancol.org>
144 * icomplete.el: Move `provide' to end of file.
146 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
148 * net/gnutls.el (gnutls-verify-error): Add version tag.
150 2013-12-23 Chong Yidong <cyd@gnu.org>
152 * subr.el (set-transient-map): Rename from
153 set-temporary-overlay-map. Doc fix.
155 * face-remap.el (text-scale-adjust):
156 * indent.el (indent-rigidly):
157 * kmacro.el (kmacro-call-macro):
158 * minibuffer.el (minibuffer-force-complete):
159 * repeat.el (repeat):
160 * simple.el (universal-argument--mode):
161 * calendar/todo-mode.el (todo-insert-item--next-param):
162 * progmodes/f90.el (f90-abbrev-start): Callers changed.
164 * indent.el (indent-rigidly): Use substitute-command-keys.
166 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
168 * net/eww.el (eww-tag-select): Add text-property to jump to next
170 (eww) : Add non-supported ftp error.
172 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
174 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
175 comments. Handle electric indent after typing `?' and `!'.
177 2013-12-22 Chong Yidong <cyd@gnu.org>
179 * faces.el (face-spec-recalc): If the theme specs are not
180 applicable to a frame, fall back on the defface spec.
181 This prevents themes from obliterating faces on low-color terminals.
183 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
185 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
186 after `{'. We need it after block openers, and it doesn't seem
187 to hurt after hash openers.
189 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
191 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
192 extracted from `ruby-smie-rules'.
193 (ruby--electric-indent-chars): New variable.
194 (ruby--electric-indent-p): New function.
195 (ruby-mode): Use `electric-indent-functions' instead of
196 `electric-indent-chars'.
198 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
200 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
202 (ruby-smie-rules): Indent plus one level after `=>'.
204 2013-12-21 Richard Stallman <rms@gnu.org>
206 * simple.el (newline): Doc fix.
208 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
210 * net/eww.el (eww-list-histories, eww-list-histories)
211 (eww-history-browse, eww-history-quit, eww-history-kill)
212 (eww-history-mode-map, eww-history-mode): New command and
213 functions to list browser histories.
214 (eww-form-text): Support text form with disabled
215 and readonly attributes.
216 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
218 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
220 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
221 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
222 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
223 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
225 (eww-bookmark-mode-map): Add menu.
226 (eww-render, eww-mode): Use `setq-local'.
227 (eww-tool-bar-map): New variable.
228 (eww-mode): Set `tool-bar-map'.
229 (eww-view-source): Check for `html-mode' with `fboundp'.
231 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
233 * net/shr.el (shr--extract-best-source): Don't bug out on audio
234 elements with text inside. Also remove debugging.
236 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
238 * cus-start.el (all): Add ns-use-srgb-colorspace.
240 2013-12-21 Chong Yidong <cyd@gnu.org>
242 * custom.el (custom-theme-recalc-face): Do nothing if the face is
243 undefined. Thus, theme settings for undefined faces do not take
244 effect until the faces are defined with defface, the same as with
247 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
248 (face-spec-reset-face): Don't assign extra properties in temacs.
249 (face-spec-recalc): Apply X resources too.
251 2013-12-21 Chong Yidong <cyd@gnu.org>
253 * faces.el (face-spec-set):
254 * cus-face.el (custom-theme-set-faces, custom-set-faces):
255 * custom.el (defface): Doc fixes (Bug#16203).
257 * indent.el (indent-rigidly-map): Add docstring, and move commands
258 into named functions.
259 (indent-rigidly-left, indent-rigidly-right)
260 (indent-rigidly-left-to-tab-stop)
261 (indent-rigidly-right-to-tab-stop): New functions. Decide on
262 indentation direction based on bidi direction, and accumulate
263 sequential commands in a single undo boundary.
264 (indent-rigidly--pop-undo): New utility function.
266 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
268 * faces.el (read-face-name): Require crm.el when using crm-separator.
270 2013-12-20 Daniel Colascione <dancol@dancol.org>
272 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
273 so that we don't reflow comments into the shebang line.
275 2013-12-20 Juri Linkov <juri@jurta.org>
277 * saveplace.el (save-place-to-alist): Add `dired-filename' as
278 a position when `dired-directory' is non-nil. Check integer
279 positions with `integerp'.
280 (toggle-save-place, save-places-to-alist): Add check for
282 (save-place-find-file-hook): Check integer positions with
284 (save-place-dired-hook): Use `dired-goto-file' when
285 `dired-filename' is found in the assoc list. Check integer
286 positions with `integerp'.
287 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
289 * dired.el (dired-initial-position-hook): Rename back from
290 `dired-initial-point-hook'.
291 (dired-initial-position): Rename `dired-initial-point-hook' to
292 `dired-initial-position-hook'.
293 (dired-file-name-at-point): Doc fix. (Bug#15329)
295 2013-12-20 Juri Linkov <juri@jurta.org>
297 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
298 (read-regexp-suggestions): New function.
299 (read-regexp): Use `read-regexp-defaults-function' to get default values.
300 Use `read-regexp-suggestions'. Add non-empty default to history
302 (occur-read-regexp-defaults-function): Remove function.
303 (occur-read-primary-args): Use `regexp-history-last' instead of
304 `occur-read-regexp-defaults-function'.
306 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
307 (hi-lock-line-face-buffer, hi-lock-face-buffer)
308 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
309 `hi-lock-read-regexp-defaults-function'. Doc fix.
310 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
311 with `find-tag-default-as-symbol-regexp'. Doc fix.
312 (hi-lock-read-regexp-defaults): Remove function.
313 (hi-lock-regexp-okay): Add check for null.
315 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
316 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
318 * subr.el (find-tag-default-as-symbol-regexp): New function.
319 (find-tag-default-as-regexp): Move symbol regexp formatting to
320 `find-tag-default-as-symbol-regexp'.
322 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
324 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
327 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
329 * calendar/todo-mode.el: New implementation of item insertion
330 commands and key bindings.
331 (todo-key-prompt): New face.
332 (todo-insert-item): New command.
333 (todo-insert-item--parameters): New defconst, replacing defvar
334 todo-insertion-commands-args-genlist.
335 (todo-insert-item--param-key-alist): New defconst, replacing
336 defvar todo-insertion-commands-arg-key-list.
337 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
338 (todo-insert-item--argsleft, todo-insert-item--apply-args)
339 (todo-insert-item--next-param): New functions.
340 (todo-insert-item--args, todo-insert-item--argleft)
341 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
343 (todo-key-bindings-t): Change binding of "i" from
344 todo-insertion-map to todo-insert-item.
345 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
346 (todo-insertion-command-name, todo-insertion-commands-names)
347 (todo-define-insertion-command, todo-insertion-commands)
348 (todo-insertion-key-bindings, todo-insertion-map): Remove.
350 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
352 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
353 (todo-toggle-item-highlighting): Use eval-and-compile instead of
355 (todo-move-category): Allow choosing a non-existing todo file to
356 move the category to, and create that file.
357 (todo-default-priority): New user option.
358 (todo-set-item-priority): Use it.
359 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
360 (desktop-restore-file-buffer): Declare.
361 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
362 (todo-modes-set-2): Locally set desktop-save-buffer to
363 todo-desktop-save-buffer.
364 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
365 (auto-mode-alist): Add autoload cookie.
367 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
369 * emacs-lisp/subr-x.el: Renamed from helpers.el.
370 helpers.el was a poor choice of name.
371 (string-remove-prefix): New function.
372 (string-remove-suffix): New function.
374 2013-12-20 Martin Rudalics <rudalics@gmx.at>
376 Fix assignment for new window total sizes.
377 * window.el (window--pixel-to-size): Remove function.
378 (window--pixel-to-total-1, window--pixel-to-total):
379 Fix calculation of new total sizes.
381 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
383 * comint.el (comint-output-filter): Fix rear-nonsticky property
384 placement (Bug#16010).
386 2013-12-20 Chong Yidong <cyd@gnu.org>
388 * faces.el (read-color): Minor fix for completion function.
390 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
392 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
393 New option. (Bug#16182)
394 (ruby-smie--indent-to-stmt-p): Use it.
395 (ruby-smie-rules): Revert the logic in the handling of `when'.
396 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
397 (ruby-deep-arglist, ruby-deep-indent-paren)
398 (ruby-deep-indent-paren-style): Update docstrings to note that the
399 vars don't have any effect with SMIE.
401 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
403 * calc/calc.el (calc-enter, calc-pop): Use the variable
404 `calc-context-sensitive-enter'.
406 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
408 * net/shr.el (shr-insert): Protect against infloops in degenerate
411 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
413 * progmodes/octave.el (octave): Add link to manual and octave
415 (octave-mode-menu): Link to octave-mode manual.
417 2013-12-20 Leo Liu <sdl.web@gmail.com>
419 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
420 insertion using skeleton-end-newline. (Bug#16138)
422 2013-12-20 Juri Linkov <juri@jurta.org>
424 * replace.el (occur-engine): Use `add-face-text-property'
425 to add the face property to matches and titles. (Bug#14645)
427 * hi-lock.el (hi-green): Use lighter color "light green" closer to
428 the palette of other hi-lock colors.
429 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
431 2013-12-19 Juri Linkov <juri@jurta.org>
433 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
434 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
435 (minibuffer-history-symbol): Move variable declaration closer to
438 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
441 2013-12-19 Juri Linkov <juri@jurta.org>
443 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
445 (log-edit-hook): Add it to :options. (Bug#16170)
447 2013-12-19 Juri Linkov <juri@jurta.org>
449 * simple.el (eval-expression-print-format): Don't check for
450 command names and the last command. Always display additional
451 formats of the integer result in the echo area, and insert them
452 to the current buffer only with a zero prefix arg.
453 Display character when char-displayable-p is non-nil.
454 (eval-expression): With a zero prefix arg, set `print-length' and
455 `print-level' to nil, and insert the integer values from
456 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
458 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
459 `eval-last-sexp-arg-internal'. Doc fix.
460 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
461 `eval-last-sexp-print-value'. Doc fix.
462 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
463 Set `print-length' and `print-level' to nil when arg is zero.
464 (eval-last-sexp): Doc fix.
465 (eval-defun-2): Print the integer values from
466 `eval-expression-print-format' at the end.
468 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
469 values from `eval-expression-print-format' at the end.
471 * ielm.el (ielm-eval-input): Print the integer
472 values from `eval-expression-print-format' at the end.
474 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
476 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
477 2013-12-11T19:01:44Z!tzz@lifelogs.com.
479 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
481 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
482 (hl-line-highlight, global-hl-line-highlight): Use it.
483 (hl-line-overlay): Use defvar-local.
485 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
487 * term/ns-win.el: Require dnd.
488 (global-map): Remove drag items.
489 (ns-insert-text, ns-set-foreground-at-mouse)
490 (ns-set-background-at-mouse):
491 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
492 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
495 2013-12-19 Glenn Morris <rgm@gnu.org>
497 * emacs-lisp/ert.el (ert-select-tests):
498 Fix string/symbol mixup. (Bug#16121)
500 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
502 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
503 keywords to their parent.
505 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
507 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
508 first arg to be a string (fixed dead code), or an operator symbol.
509 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
511 (ruby-smie-rules): Remove parent token check in the `.' clause, it
512 did nothing. Don't respond to `(:after ".")', it will be called
513 with :before anyway. Remove the ` @ ' rule, it didn't seem to
514 change anything. Only return indentation for binary operators
515 when they are hanging. De-dent opening paren when its parent is
516 `.', otherwise it looks bad when the dot is not at bol or eol
519 2013-12-19 Juri Linkov <juri@jurta.org>
521 * replace.el (query-replace-read-args): Split a non-negative arg
522 and a negative arg into separate elements.
523 (query-replace, query-replace-regexp, replace-string)
524 (replace-regexp): Add arg `backward'. Doc fix.
525 (replace-match-maybe-edit): When new arg `backward' is non-nil,
526 move point to the beginning of the match.
527 (replace-search, replace-highlight): Use new arg `backward'
528 to set the value of `isearch-forward'.
529 (perform-replace): Add arg `backward' and use it to perform
530 replacement backward. (Bug#14979)
532 * isearch.el (isearch-query-replace): Use a negative prefix arg
533 to call `perform-replace' with a non-nil arg `backward'.
535 2013-12-18 Juri Linkov <juri@jurta.org>
537 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
538 to the default list. Move `log-edit-show-files' to the end.
539 Add more available functions to options.
540 (log-edit): Move default specific settings to
541 `log-edit-insert-message-template'. Don't move point.
542 (log-edit-insert-message-template): New function.
543 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
546 2013-12-18 Juri Linkov <juri@jurta.org>
548 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
549 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
551 2013-12-18 Leo Liu <sdl.web@gmail.com>
553 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
555 2013-12-18 Eli Zaretskii <eliz@gnu.org>
557 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
558 formats for displaying file sizes when the -s switch is given.
559 Instead, compute a separate format for displaying the size in
560 blocks, which is displayed in addition to the "regular" size.
561 When -h is given in addition to -s, produce size in blocks in
562 human-readable form as well. (Bug#16179)
564 2013-12-18 Tassilo Horn <tsdh@gnu.org>
566 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
567 Reference tables with ~\ref{...} instead of only \ref{...}.
569 2013-12-18 Chong Yidong <cyd@gnu.org>
571 * cus-edit.el (custom-magic-alist): Fix "themed" description
574 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
575 is non-nil, do not create a new entry in the symbol's theme-value
576 or theme-face property; update theme-settings only (Bug#14664).
577 (custom-available-themes): Doc fix.
579 * cus-theme.el (custom-new-theme-mode-map): Add bindings
582 * replace.el (occur-engine): Avoid infloop (Bug#7593).
584 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
586 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
589 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
591 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
593 2013-12-18 Glenn Morris <rgm@gnu.org>
595 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
596 * cus-start.el (load-prefer-newer): New option.
598 2013-12-18 Le Wang <l26wang@gmail.com>
600 * comint.el (comint-previous-matching-input-from-input):
601 Retain point (Bug#13404).
603 2013-12-18 Chong Yidong <cyd@gnu.org>
605 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
607 2013-12-18 Glenn Morris <rgm@gnu.org>
609 * mail/emacsbug.el (report-emacs-bug):
610 Only mention enable-multibyte-characters if non-standard.
612 2013-12-17 Juri Linkov <juri@jurta.org>
614 * arc-mode.el (archive-extract-by-file): Check if directory exists
615 before deletion to not show irrelevant errors if it doesn't exist.
617 2013-12-17 Juri Linkov <juri@jurta.org>
619 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
622 * net/eww.el (browse-web): Add alias to `eww'.
623 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
624 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
626 * net/browse-url.el (browse-url-browser-function): Move `eww'
627 closer to similar functions.
629 * startup.el (fancy-startup-screen, fancy-about-screen):
630 Set browse-url-browser-function to eww-browse-url locally.
633 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
635 * window.el (window--pixel-to-total): Remove unused `mini' var.
636 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
637 (split-window): Remove unused `new' var.
638 (window--display-buffer): Remove unused `frame' and `delta' vars.
639 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
642 2013-12-17 Martin Rudalics <rudalics@gmx.at>
644 * dired.el (dired-mark-pop-up):
645 * register.el (register-preview): Don't bind
646 split-height-threshold here since it's now done in
647 display-buffer-below-selected.
649 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
651 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
652 xterm-rgb-convert-to-16bit.
653 (rxvt-register-default-colors): Standardize with
654 xterm-register-default-colors (Bug#14078).
656 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
658 * simple.el (kill-region): Pass mark first, then point, so that
659 kill-append works right (Bug#12819).
660 (copy-region-as-kill, kill-ring-save): Likewise.
662 2013-12-17 Leo Liu <sdl.web@gmail.com>
664 * net/rcirc.el (rcirc-add-face):
665 * eshell/em-prompt.el (eshell-emit-prompt):
666 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
669 2013-12-17 Chong Yidong <cyd@gnu.org>
671 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
672 Suggested by Xue Fuqiao.
674 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
676 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
678 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
680 * net/shr.el (shr-insert-document): Remove unused var
681 `shr-preliminary-table-render'.
682 (shr-rescale-image): Remove unused arg `force'.
683 (shr-put-image): Update calls accordingly.
684 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
686 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
688 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
689 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
690 :close-all, to see which indentation method to use (Bug#16116).
691 (smie-rules-function): Document the method :close-all.
693 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
695 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
697 * net/eww.el (eww-display-html): If we can't find the anchor we're
698 looking for, then go to point-min.
700 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
702 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
703 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
704 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
705 Expand dir too, in case it's relative.
707 2013-12-16 Juri Linkov <juri@jurta.org>
709 * desktop.el (desktop-auto-save-timeout): Change default to
710 `auto-save-timeout'. Doc fix.
711 (desktop-save): Skip the timestamp in desktop-saved-frameset
712 when checking for auto-save changes.
713 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
714 `desktop-auto-save' is called repeatedly by the idle timer.
715 (desktop-auto-save-set-timer): Replace `run-with-timer' with
716 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
719 2013-12-16 Juri Linkov <juri@jurta.org>
721 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
723 (isearch-pre-command-hook): Check `this-command' for symbolp.
725 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
727 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
729 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
731 * progmodes/cfengine.el (cfengine3--current-word): Remove.
732 (cfengine3--current-function): Bring in the current-function
733 functionality from `cfengine3--current-word'.
734 (cfengine3-completion-function): Bring in the
735 bounds-of-current-word functionality from
736 `cfengine3--current-word'.
738 2013-12-16 Martin Rudalics <rudalics@gmx.at>
740 * window.el (display-buffer-below-selected):
741 Bind split-height-threshold to 0 as suggested by Juri Linkov.
743 2013-12-16 Leo Liu <sdl.web@gmail.com>
745 * progmodes/compile.el (compile-goto-error): Do not push-mark.
746 Remove NOMSG arg and all uses changed.
748 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
750 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
751 (cua--deactivate-rectangle): Don't deactivate the mark.
752 (cua-set-rectangle-mark): Don't set mark-active since
753 cua--activate-rectangle already does it for us.
754 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
755 non-rectangular region.
757 * emulation/cua-base.el (cua-repeat-replace-region):
758 Use with-current-buffer.
760 * net/gnutls.el: Use cl-lib.
761 (gnutls-negotiate): `mapcan' -> cl-mapcan.
763 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
765 * emacs-lisp/package.el (package-built-in-p): Support both
766 built-in and the package.el converted package descriptions.
767 (package-show-package-list): Allow keywords.
768 (package-keyword-button-action): Use it instead of
769 `finder-list-matches'.
770 (package-menu-filter-interactive): Interactive filtering (by
772 (package-menu--generate): Support keywords and change keymappings
773 and headers when they are given.
774 (package--has-keyword-p): Helper function.
775 (package-menu--refresh): Use it.
776 (package--mapc): Helper function.
777 (package-all-keywords): Use it.
778 (package-menu-mode-map): Set up menu items and keybindings to
779 provide a filtering UI.
781 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
783 * net/gnutls.el (gnutls-verify-error): New defcustom to control
784 the behavior when a certificate fails validation. Defaults to
785 old behavior: never abort, just warn.
786 (gnutls-negotiate): Use it.
788 2013-12-14 Martin Rudalics <rudalics@gmx.at>
790 * window.el (display-buffer-below-selected): Never split window
791 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
793 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
795 * emacs-lisp/package.el (package--prepare-dependencies): New function.
796 (package-buffer-info): Use it (bug#15108).
798 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
800 * icomplete.el (icomplete-completions): Make sure the prefix is already
801 displayed elsewhere before hiding it (bug#16219).
803 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
805 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
806 open-paren tokens when preceded by a open-paren, too.
807 (ruby-smie-rules): Handle virtual indentation after open-paren
808 tokens specially. If there is code between it and eol, return the
809 column where is starts (Bug#16118).
811 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
813 * progmodes/cfengine.el: Fix `add-hook' doc.
814 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
815 (cfengine3--current-word): Fix parameters.
816 (cfengine3-make-syntax-cache): Simplify further.
817 (cfengine3-completion-function, cfengine3--current-function):
818 Use `assq' for symbols.
819 (cfengine3--current-function): Fix `cfengine3--current-word' call.
821 2013-12-13 Glenn Morris <rgm@gnu.org>
823 * loadup.el (load-path): Warn if site-load or site-init changes it.
824 No more need to reset it when bootstrapping.
826 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
828 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
829 locations for cf-promises.
830 (cfengine-mode-syntax-functions-regex): New caching variable.
831 (cfengine3-fallback-syntax): Fallback syntax for cases where
832 cf-promises doesn't run.
833 (cfengine3--current-word): Reimplement using
834 `cfengine-mode-syntax-functions-regex'.
835 (cfengine3-completion-function, cfengine3--current-function):
836 Use `cfengine3-make-syntax-cache' directly.
837 (cfengine3-clear-syntax-cache): New function.
838 (cfengine3-make-syntax-cache): Simplify and create
839 `cfengine-mode-syntax-functions-regex' on demand.
840 (cfengine3-format-function-docstring): Don't call
841 `cfengine3-make-syntax-cache' explicitly.
843 2013-12-13 Martin Rudalics <rudalics@gmx.at>
845 Fix windmove-find-other-window broken after pixelwise resizing
847 * windmove.el (windmove-other-window-loc): Revert change from
849 (windmove-find-other-window): Call window-in-direction.
850 * window.el (window-in-direction): New arguments SIGN, WRAP and
851 MINI to emulate original windmove-find-other-window behavior.
853 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
855 * simple.el (blink-matching--overlay): New variable.
856 (blink-matching-open): Instead of moving point, highlight the
857 matching paren with an overlay
858 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
860 * faces.el (paren-showing-faces, show-paren-match)
861 (show-paren-mismatch): Move from paren.el.
863 2013-12-13 Leo Liu <sdl.web@gmail.com>
865 * indent.el (indent-region): Disable progress reporter in
866 minibuffer. (Bug#16108)
868 * bindings.el (visual-order-cursor-movement): Fix version.
870 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
872 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
873 Also match after beginning of line.
874 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
875 files. Thanks to Russell Sim. (Bug#15378)
877 2013-12-13 Juri Linkov <juri@jurta.org>
879 * simple.el <Keypad support>: Remove key bindings duplicated
880 with bindings.el. (Bug#14397)
882 2013-12-13 Juri Linkov <juri@jurta.org>
884 * comint.el (comint-mode-map): Replace `delete-char' with
885 `delete-forward-char'. (Bug#16109)
887 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
889 * progmodes/python.el (python-indent-calculate-indentation):
890 Fix de-denters cornercase. (Bug#15731)
892 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
894 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
895 (advice--make): Pay attention to `depth'.
896 (advice--make-1): Don't autoload commands eagerly.
897 * emacs-lisp/elp.el (elp-instrument-function):
898 * emacs-lisp/trace.el (trace-function-internal):
899 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
901 * iswitchb.el (iswitchb-mode): Don't belittle ido.
903 2013-12-12 Eli Zaretskii <eliz@gnu.org>
905 * term/w32-win.el (w32-handle-dropped-file):
906 * startup.el (normal-top-level):
907 * net/browse-url.el (browse-url-file-url):
908 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
909 decode file names using 'utf-8' rather than
910 file-name-coding-system.
912 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
914 * progmodes/python.el (python-indent-context)
915 (python-indent-calculate-indentation): Fix auto-identation
916 behavior for comment blocks. (Bug#15916)
918 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
920 * progmodes/python.el (python-indent-calculate-indentation):
921 When determining indentation, don't treat "return", "pass", etc., as
922 operators when they are just string constituents. (Bug#15812)
924 2013-12-12 Juri Linkov <juri@jurta.org>
926 * uniquify.el (uniquify-buffer-name-style): Change default to
927 `post-forward-angle-brackets'.
929 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
930 `uniquify'. Change default to `post-forward-angle-brackets'.
932 2013-12-11 Glenn Morris <rgm@gnu.org>
934 * emacs-lisp/package.el (finder-list-matches):
935 Autoload rather than falsely declaring.
937 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
939 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
940 (eww-mode-map): Use them.
942 2013-12-11 Martin Rudalics <rudalics@gmx.at>
944 * window.el (display-buffer-in-side-window): Fix doc-string
947 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
949 * vc/vc-git.el: Silence byte-compiler warnings.
950 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
951 (log-edit-set-header): Declare.
953 2013-12-11 Eli Zaretskii <eliz@gnu.org>
955 * Makefile.in (custom-deps, finder-data): Run output file names
956 through unmsys--file-name. (Bug#16099)
958 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
960 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
961 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
963 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
964 instead of deleting the selection "by hand" (bug#16098).
965 Rely on insert-for-yank to yank rectangles.
966 (cua-highlight-region-shift-only): Mark obsolete.
967 (cua-mode): Don't enable/disable transient-mark-mode,
968 shift-select-mode (cua-mode works both with and without them), and
969 pc-selection-mode (obsolete).
970 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
971 (cua--deactivate-rectangle): Deactivate it.
973 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
974 (delete-selection-helper): Make sure yank starts at the top of the
976 (minibuffer-keyboard-quit): Use region-active-p.
978 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
980 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
981 to `delete' (bug#16109).
983 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
985 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
986 info manual and show keybindings and set `:group' keyword.
988 2013-12-11 Juri Linkov <juri@jurta.org>
990 * delsel.el (delete-active-region): Let-bind `this-command'
991 to prevent `kill-region' from changing its original value.
992 (delete-selection-helper): Handle `overwrite-mode' for the type
993 `kill' exactly the same way as for the type `t'.
994 (insert-char, quoted-insert, reindent-then-newline-and-indent):
995 Support more commands. (Bug#13312)
997 2013-12-11 Juri Linkov <juri@jurta.org>
999 * bindings.el: Map kp keys to non-kp keys systematically
1000 with basic modifiers control, meta and shift. (Bug#14397)
1002 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1004 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1005 "Close browser" menu items. Fix wrong function of "List
1008 2013-12-11 Juri Linkov <juri@jurta.org>
1010 * misearch.el (multi-isearch-buffers): Set the value of
1011 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1012 arg of isearch-forward to t.
1013 (multi-isearch-buffers-regexp): Set the value of
1014 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1015 arg of isearch-forward-regexp to t.
1016 (multi-isearch-files): Set the value of
1017 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1018 arg of isearch-forward to t.
1019 (multi-isearch-files-regexp): Set the value of
1020 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1021 arg of isearch-forward-regexp to t. (Bug#16035)
1023 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1024 arg of isearch-forward to t.
1025 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1026 arg of isearch-forward-regexp to t.
1027 (dired-isearch-filter-filenames): Remove unnecessary check for
1028 `dired-isearch-filenames'.
1030 * comint.el (comint-history-isearch-backward):
1031 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1032 (comint-history-isearch-backward-regexp):
1033 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1035 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1037 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1038 unmsys--file-name. (Bug#16099)
1040 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1042 * emacs-lisp/package.el (package-keyword-button-action):
1043 Remove finder.el require dependency.
1045 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1047 * emacs-lisp/package.el: Require finder.el.
1048 (describe-package-1): Add keyword buttons.
1049 (package-make-button): New convenience function.
1050 (package-keyword-button-action): Keyword button action using
1051 `finder-list-matches'.
1053 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1055 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1058 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1060 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1063 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1065 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1066 after the end of a percent literal.
1068 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1070 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1071 Handle caret-delimited strings (Bug#16079).
1073 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1075 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1076 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1077 `ruby-parse-partial' (Bug#16078).
1079 2013-12-09 Leo Liu <sdl.web@gmail.com>
1081 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1083 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1085 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1086 (js-switch-indent-offset): New option.
1087 (js--proper-indentation): Use it. And handle the case when
1088 "default" is actually a key in an object literal.
1089 (js--same-line): New function.
1090 (js--multi-line-declaration-indentation): Use it.
1091 (js--indent-in-array-comp, js--array-comp-indentation):
1093 (js--proper-indentation): Use them, to handle array comprehension
1096 2013-12-08 Leo Liu <sdl.web@gmail.com>
1098 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1099 (flymake-make-overlay): Remove arg MOUSE-FACE.
1100 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1102 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1104 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1106 (redisplay-highlight-region-function): Use it.
1108 * emulation/cua-base.el (cua--explicit-region-start)
1109 (cua--last-region-shifted): Remove.
1110 (cua--deactivate): Use deactivate-mark.
1111 (cua--pre-command-handler-1): Don't handle shift-selection.
1112 (cua--post-command-handler-1): Don't change transient-mark-mode.
1113 (cua--select-keymaps): Use region-active-p rather than
1114 cua--explicit-region-start or cua--last-region-shifted.
1115 (cua-mode): Enable shift-select-mode.
1117 2013-12-08 Leo Liu <sdl.web@gmail.com>
1119 * progmodes/flymake.el (flymake-popup-current-error-menu):
1120 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1121 (flymake-posn-at-point-as-event, flymake-popup-menu)
1122 (flymake-make-emacs-menu): Remove. (Bug#16077)
1124 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1126 * rect.el (rectangle-mark-mode): Activate mark even if
1127 transient-mark-mode is off (bug#16066).
1128 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1129 is > mark and at bolp.
1131 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1132 (region-extract-function): Use it.
1133 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1134 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1136 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1137 kill-ring-save, kill-region, delete-char, delete-forward-char.
1138 Ignore self-insert-iso.
1140 * emulation/cua-gmrk.el (cua--init-global-mark):
1141 Ignore `self-insert-iso'.
1143 * emulation/cua-base.el (cua--prefix-copy-handler)
1144 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1145 checking cua--rectangle.
1146 (cua-delete-region): Use region-extract-function.
1147 (cua-replace-region): Delete function.
1148 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1149 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1150 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1151 (cua--init-keymaps): Don't remap delete-selection commands.
1152 (cua-mode): Use delete-selection-mode instead of rolling our own
1155 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1156 Obey region-extract-function.
1158 Make registers and delete-selection-mode work on rectangles.
1159 * register.el (describe-register-1): Don't modify the register's value.
1160 (copy-to-register): Obey region-extract-function.
1161 * delsel.el (delete-active-region): Obey region-extract-function.
1163 2013-12-08 Leo Liu <sdl.web@gmail.com>
1165 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1166 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1167 (flymake-compilation-prevents-syntax-check)
1168 (flymake-start-syntax-check-on-newline)
1169 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1170 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1171 (flymake-xml-program, flymake-master-file-dirs)
1172 (flymake-master-file-count-limit)
1173 (flymake-allowed-file-name-masks): Relocate.
1174 (flymake-makehash, flymake-float-time)
1175 (flymake-replace-regexp-in-string, flymake-split-string)
1176 (flymake-get-temp-dir): Remove.
1177 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1178 (flymake-current-row, flymake-selected-frame)
1179 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1180 related functions. (Bug#16077)
1182 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1184 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1186 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1188 * help-fns.el (describe-function-1): Use new advice-* functions
1189 rather than old ad-* functions. Fix function type description and
1190 source links for advised functions and subrs.
1192 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1194 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1196 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1198 * progmodes/compile.el (compilation-start):
1199 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1201 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1202 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1204 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1206 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1207 Touch up the last change.
1209 2013-12-06 Leo Liu <sdl.web@gmail.com>
1211 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1212 (inferior-octave-startup): Always use "octave> " for prompt.
1213 (octave-goto-function-definition)
1214 (octave-sync-function-file-names)
1215 (octave-find-definition-default-filename): Remove redundant backquotes.
1217 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1219 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1221 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1222 where appropriate already.
1223 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1224 end of method names (Bug#15874).
1226 2013-12-06 Juri Linkov <juri@jurta.org>
1228 * isearch.el (isearch--saved-overriding-local-map):
1229 New internal variable.
1230 (isearch-mode): Set it to the initial value of
1231 `overriding-terminal-local-map'.
1232 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1233 with `isearch--saved-overriding-local-map'. (Bug#16035)
1235 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1237 * progmodes/octave.el (inferior-octave-completion-table):
1238 Turn back into function, use `completion-table-with-cache'
1239 (Bug#11906). Update all references.
1241 * minibuffer.el (completion-table-with-cache): New function.
1243 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1245 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1247 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1249 * net/eww.el (eww-current-source): New variable to store page
1251 (eww-display-html, eww-mode, eww-save-history)
1252 (eww-restore-history): Use it.
1253 (eww-view-source): New command to view page source.
1254 Opportunistically uses `html-mode' to highlight the buffer.
1255 (eww-mode-map): Install it.
1257 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1259 * net/dbus.el (dbus-unregister-service)
1260 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1262 (dbus-unregister-service): Skip :serial entries in
1263 `dbus-registered-objects-table'.
1264 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1266 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1268 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1269 around keywords with extra `split-string' argument.
1271 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1273 * windmove.el (windmove-other-window-loc): Handle navigation
1274 between windows (excluding the minibuffer window - Bug#16017).
1276 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1278 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1279 in D-Bus type syntax.
1280 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1281 preserve unibyte strings. (Bug#16048)
1283 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1285 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1286 Call force-mode-line-update is the proper buffer (bug#16042).
1288 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1290 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1291 `log-edit-remember-comment', make argument optional. Adjust all
1293 (log-edit-mode): Add `log-edit-remember-comment' to
1294 `kill-buffer-hook' locally.
1295 (log-edit-kill-buffer): Don't remember comment explicitly since
1296 the buffer is killed anyway.
1298 2013-12-04 Juri Linkov <juri@jurta.org>
1300 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1301 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1303 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1305 * notifications.el (notifications-close-notification): Call the
1306 D-Bus method with ID being a `:uint32'. (Bug#16030)
1308 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1310 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1312 2013-12-03 Juri Linkov <juri@jurta.org>
1314 * progmodes/compile.el (compilation-start): Rename window alist
1315 entry `no-display-ok' to `allow-no-window'.
1317 * simple.el (shell-command): Add window alist entry
1318 `allow-no-window' to `display-buffer'.
1319 (async-shell-command): Doc fix.
1321 * window.el (display-buffer-no-window): New action function.
1322 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1324 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1326 * vc/log-edit.el (log-edit-set-header): Extract from
1327 `log-edit-toggle-header'.
1328 (log-edit-extract-headers): Separate the summary, when extracted
1329 from header, from the rest of the message with an empty line.
1331 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1332 line, if present, to the Summary header.
1334 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1336 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1337 in current-buffer (bug#16029).
1339 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1341 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1342 (debugger-mode-map): Bind it.
1343 (debugger--backtrace-base): New function.
1344 (debugger-eval-expression): Use it.
1345 (debugger-frame-number): Skip local vars when present.
1346 (debugger--locals-visible-p, debugger--insert-locals)
1347 (debugger--show-locals, debugger--hide-locals): New functions.
1349 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1351 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1353 (tramp-get-remote-locale): New defun.
1354 (tramp-open-connection-setup-interactive-shell): Use it.
1356 2013-12-02 Leo Liu <sdl.web@gmail.com>
1358 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1360 * progmodes/sh-script.el (sh-shell-process):
1361 * progmodes/octave.el (inferior-octave-process-live-p):
1362 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1363 (gdb-inferior-io-sentinel):
1364 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1366 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1368 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1369 `save-selected-window' to `log-edit-hide-buf'. This makes
1370 `log-edit-show-files' idempotent.
1371 (log-edit-show-files): Mark the new window as dedicated.
1373 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1375 * vc/log-edit.el (log-edit-mode-map): Add binding for
1376 `log-edit-kill-biffer'.
1377 (log-edit-hide-buf): Add a FIXME comment.
1378 (log-edit-add-new-comment): New function, extracted from
1380 (log-edit-done, log-edit-add-to-changelog): Use it.
1381 (log-edit-kill-buffer): New command.
1383 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1385 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1386 instead of killing the buffer.
1388 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1390 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1392 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1394 * net/eww.el (eww-form-checkbox-selected-symbol)
1395 (eww-form-checkbox-symbol): New customizable variable.
1396 (eww-form-checkbox, eww-toggle-checkbox):
1397 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1399 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1400 (shr--get-media-pref, shr--extract-best-source): New function.
1401 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1402 no :src tag was specified.
1404 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1405 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1406 Use \\` to match beginning of string instead of ^.
1407 (eww-browse-with-external-browser): Provide optional URL parameter.
1408 (eww-render): Set `eww-current-title' back to "".
1410 * net/shr.el (shr-tag-video): Display content for video if no
1411 poster is available.
1412 (shr-tag-audio): Add support for <audio> tag.
1414 * net/eww.el (eww-text-input-types): New const.
1415 (eww-process-text-input): Treat input types in
1416 `eww-text-input-types' as text.
1418 * net/shr.el (shr-tag-table): Fix comment typo.
1420 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1422 * net/eww.el (eww-follow-link): New command to avoid reloading
1423 pages when we follow #target links (bug#15243).
1424 (eww-quit): Special mode buffers shouldn't query before exiting.
1426 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1428 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1431 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1433 * net/eww.el (eww-restore-history): Update the window title after
1434 moving in the history.
1435 (eww-current-dom): New variable used to save the current DOM.
1437 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1439 * vc/log-edit.el (log-edit-mode-map): Add binding for
1440 `log-edit-beginning-of-line'.
1441 (log-edit-setup-add-author): New user option.
1442 (log-edit-beginning-of-line): New command.
1443 (log-edit): Move major mode call above the contents setup so that
1444 the local variable values are already applied.
1445 (log-edit): Only insert "Author: " when
1446 `log-edit-setup-add-author' is non-nil.
1447 (log-edit): When SETUP is non-nil, position point after ": "
1448 instead of point-min.
1450 2013-12-01 Glenn Morris <rgm@gnu.org>
1452 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1454 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1456 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1457 redisplay to make sure the initial frame gets a chance to become
1458 visible. (Bug#16014)
1460 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1462 Support resizing frames and windows pixelwise.
1463 * cus-start.el (frame-resize-pixelwise)
1464 (window-resize-pixelwise): New entries.
1465 * emacs-lisp/debug.el (debug): Use window-total-height instead
1466 of window-total-size.
1467 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1468 * help.el (describe-bindings-internal): Call help-buffer
1469 (temp-buffer-max-width): New option.
1470 (resize-temp-buffer-window, help-window-setup)
1471 (with-help-window): Rewrite.
1472 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1474 * window.el (frame-char-size, window-min-pixel-height)
1475 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1476 (window-min-pixel-width, window-safe-min-pixel-size)
1477 (window-combination-p, window-safe-min-size)
1478 (window-resizable-p, window--size-to-pixel)
1479 (window--pixel-to-size, window--resize-apply-p): New functions.
1480 (window-safe-min-height): Fix doc-string.
1481 (window-size, window-min-size, window--min-size-1)
1482 (window-sizable, window-sizable-p, window--min-delta-1)
1483 (window-min-delta, window--max-delta-1, window-max-delta)
1484 (window--resizable, window--resizable-p, window-resizable)
1485 (window-full-height-p, window-full-width-p, window-at-side-p)
1486 (window--in-direction-2, window-in-direction)
1487 (window--resize-reset-1, window--resize-mini-window)
1488 (window-resize, window-resize-no-error)
1489 (window--resize-child-windows-normal)
1490 (window--resize-child-windows, window--resize-siblings)
1491 (window--resize-this-window, window--resize-root-window)
1492 (window--resize-root-window-vertically)
1493 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1494 (maximize-window, minimize-window, delete-window)
1495 (quit-restore-window, window-split-min-size, split-window)
1496 (balance-windows-2, balance-windows)
1497 (balance-windows-area-adjust, balance-windows-area)
1498 (window--state-get-1, window-state-get, window--state-put-1)
1499 (window--state-put-2, window-state-put)
1500 (display-buffer-record-window, window--display-buffer):
1501 Make functions handle pixelwise sizing of windows.
1502 (display-buffer--action-function-custom-type)
1503 (display-buffer-fallback-action):
1504 Add display-buffer-in-previous-window.
1505 (display-buffer-use-some-window): Resize window to height it had
1507 (fit-window-to-buffer-horizontally): New option.
1508 (fit-frame-to-buffer): Describe new values.
1509 (fit-frame-to-buffer-bottom-margin): Replace with
1510 fit-frame-to-buffer-margins.
1511 (window--sanitize-margin): New function.
1512 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1513 using window-text-pixel-size.
1515 2013-11-30 Glenn Morris <rgm@gnu.org>
1517 * emacs-lisp/bytecomp.el (byte-compile-form):
1518 Make the `interactive-only' warning like the `obsolete' one.
1519 * comint.el (comint-run):
1520 * files.el (insert-file-literally, insert-file):
1521 * replace.el (replace-string, replace-regexp):
1522 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1523 (goto-line, insert-buffer, next-line, previous-line):
1524 Tweak `interactive-only' spec.
1526 Stop keeping (most) generated cedet grammar files in the repository.
1527 * Makefile.in (semantic): New.
1528 (compile-main): Depend on semantic.
1530 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1532 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1533 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1535 * uniquify.el (uniquify-buffer-name-style): Change default.
1537 * loadup.el: Preload "uniquify".
1539 * time.el (display-time-update): Update all mode lines (bug#15999).
1541 * electric.el (electric-indent-mode): Enable by default.
1542 * loadup.el: Preload "electric".
1544 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1546 * emacs-lisp/helpers.el (string-empty-p): New function.
1547 (string-blank-p): New function.
1549 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1551 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1554 2013-11-29 Andreas Politz <politza@fh-trier.de>
1555 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1556 allow non-lambda lists as functions.
1557 (imenu--in-alist): Don't recurse into non-subalists.
1558 (imenu): Don't pass function itself as an argument (Bug#14029).
1560 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1562 * progmodes/python.el (python-mode-map): Remove binding for ":".
1563 (python-indent-electric-colon): Remove command.
1564 (python-indent-post-self-insert-function): Integrate the previous code
1565 of python-indent-electric-colon. Make it conditional on
1566 electric-indent-mode.
1567 (python-mode): Add ?: to electric-indent-chars.
1568 Move python-indent-post-self-insert-function to the end of
1569 post-self-insert-hook.
1571 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1573 * doc-view.el (doc-view-goto-page): Update mode-line.
1575 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1577 2013-11-27 Glenn Morris <rgm@gnu.org>
1579 * international/charprop.el, international/uni-bidi.el:
1580 * international/uni-category.el, international/uni-combining.el:
1581 * international/uni-comment.el, international/uni-decimal.el:
1582 * international/uni-decomposition.el, international/uni-digit.el:
1583 * international/uni-lowercase.el, international/uni-mirrored.el:
1584 * international/uni-name.el, international/uni-numeric.el:
1585 * international/uni-old-name.el, international/uni-titlecase.el:
1586 * international/uni-uppercase.el:
1587 Remove generated files from VCS repository.
1589 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1591 * filenotify.el (file-notify-add-watch): Don't special-case
1592 w32notify when computing the directory to watch.
1594 2013-11-27 Glenn Morris <rgm@gnu.org>
1596 Make bootstrap without generated uni-*.el files possible again.
1597 * loadup.el: Update command-line-args checking for unidata-gen.
1598 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1599 * composite.el, international/characters.el:
1600 Handle unicode tables being undefined.
1602 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1603 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1604 (compile-main): Depend on leim rule.
1606 * loadup.el: Move leim-list.el to leim/ subdirectory.
1607 * startup.el (normal-top-level): No more leim directory.
1608 * international/ja-dic-cnv.el (skkdic-convert):
1609 Disable version-control and autoloads in output files.
1610 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1611 Disable version-control and autoloads in output files.
1612 * leim/quail: Move here from ../leim.
1613 * leim/quail/hangul.el (hangul-input-method-activate):
1614 Add autoload cookie.
1615 (generated-autoload-load-name): Set file-local value.
1616 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1617 (generated-autoload-load-name): Set file-local value.
1619 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
1621 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1622 (eww-add-bookmark): Ask confirmation when add to bookmarks.
1623 (eww-quit): Ask confirmation before quitting eww.
1625 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1627 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1628 reading output from Diff on MS-Windows and MS-DOS.
1630 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1632 * emacs-lisp/helpers.el (string-reverse): New function.
1634 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1636 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1637 names on MS Windows, like "/[::1]:".
1639 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1642 2013-11-26 Glenn Morris <rgm@gnu.org>
1644 * progmodes/python.el (python-indent-guess-indent-offset):
1645 Avoid corner-case error. (Bug#15975)
1647 Preload leim-list.el. (Bug#4789)
1648 * loadup.el: Load leim-list.el when found.
1649 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1651 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1653 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1655 * emacs-lisp/helpers.el (string-join): New function.
1657 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1659 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1660 Mark as obsolete and replace it with a symbol property.
1661 (byte-compile-form): Use new 'interactive-only property.
1662 * comint.el, files.el, replace.el, simple.el:
1663 Apply new 'interactive-only properly.
1665 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1667 * window.el (display-buffer-at-bottom): Make sure that
1668 split-window-sensibly creates the new window on bottom
1671 2013-11-23 David Kastrup <dak@gnu.org>
1673 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1674 on the conflict markers when available.
1675 (smerge--get-marker): New function.
1676 (smerge-end-re, smerge-base-re): Add subgroup.
1678 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1680 * frame.el (handle-focus-in, handle-focus-out): Add missing
1683 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1685 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1686 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1688 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1690 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1691 (gomoku--last-pos): New var.
1692 (gomoku--intangible-chars): New const.
1693 (gomoku--intangible): New function.
1694 (gomoku-mode): Use it. Derive from special-mode.
1695 (gomoku-move-up): Adjust line count.
1696 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1697 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1698 Simplify accordingly.
1700 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1701 Remove blink-cursor code.
1702 (blink-cursor-timer-function, blink-cursor-suspend):
1703 Don't special-case GUIs.
1704 (blink-cursor-mode): Use focus-in/out-hook.
1706 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1708 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1709 work when annotation is invisible (Bug#13886).
1711 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1713 * json.el (json-alist-p): Only return non-nil if the alist has
1714 simple keys (Bug#13518).
1716 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1718 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1719 when control-statement is the first statement in a buffer (Bug#15956).
1721 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1723 * imenu.el (imenu-generic-skip-comments-and-strings):
1724 New option (Bug#15560).
1725 (imenu--generic-function): Use it.
1727 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1729 * minibuffer.el (completion--in-region-1): Scroll the correct
1732 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1734 * emacs-lisp/helpers.el: Add some string helpers.
1735 (string-trim-left): Removes leading whitespace.
1736 (string-trim-right): Removes trailing whitespace.
1737 (string-trim): Removes leading and trailing whitespace.
1739 * subr.el (string-suffix-p): New function.
1741 2013-11-23 Glenn Morris <rgm@gnu.org>
1743 * progmodes/python.el (python-shell-send-file):
1744 Add option to delete file when done. (Bug#15647)
1745 (python-shell-send-string, python-shell-send-region): Use it.
1747 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1749 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1750 to set buffer-read-only to t, never to nil. (Bug#15938)
1752 * textmodes/tex-mode.el (latex-noindent-environments):
1753 Add safe-local-variable property. (Bug#15936)
1755 2013-11-23 Glenn Morris <rgm@gnu.org>
1757 * textmodes/enriched.el (enriched-mode): Doc fix.
1758 * emacs-lisp/authors.el (authors-renamed-files-alist):
1759 Add enriched.doc -> enriched.txt.
1761 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1763 2013-11-22 Leo Liu <sdl.web@gmail.com>
1765 * progmodes/octave.el (inferior-octave-startup): Spit out error
1768 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1770 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1773 (ruby-encoding-magic-comment-style): Add :version.
1775 2013-11-22 Leo Liu <sdl.web@gmail.com>
1777 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1779 (octave-help-mode): Adapt to change to help-mode-finish to use
1780 derived-mode-p on 2013-09-17.
1781 (inferior-octave-prompt): Also match octave-gui.
1782 (octave-kill-process): Don't ask twice. (Bug#10564)
1784 2013-11-22 Leo Liu <sdl.web@gmail.com>
1786 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1787 (inferior-octave-startup, inferior-octave-check-process)
1788 (inferior-octave-track-window-width-change)
1789 (octave-completion-at-point, octave-eldoc-function): Use it.
1790 (octave-kill-process): Provide confirmation. (Bug#10564)
1792 2013-11-21 Leo Liu <sdl.web@gmail.com>
1794 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1795 Fix obsolete variable comment-use-global-state.
1797 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1799 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1800 Add `octave-source-file'.
1801 (octave-source-file): New function. (Bug#15935)
1803 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
1805 * net/eww.el (eww-local-regex): New variable.
1806 (eww): Use it to detect localhost and similar.
1808 2013-11-21 Leo Liu <sdl.web@gmail.com>
1810 Add completion for command `ag'.
1811 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1812 (pcomplete/ag): New function.
1813 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1815 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1817 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1819 (make-obsolete): Remove interactive spec.
1821 2013-11-21 Glenn Morris <rgm@gnu.org>
1823 * startup.el (command-line-1): Use path-separator with -L.
1825 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1827 * emacs-lisp/package.el (describe-package-1): Add package archive
1830 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1832 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1833 Change default to "# encoding: %s" to differentiate it from the
1834 default Ruby encoding comment template.
1836 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1838 * ses.el (ses-mode): Doc fix. (Bug#14748)
1840 2013-11-20 Leo Liu <sdl.web@gmail.com>
1842 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1844 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1846 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1847 when rebase or bisect are in progress.
1849 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1851 * filenotify.el (file-notify-add-watch): Doc fix.
1853 2013-11-19 Leo Liu <sdl.web@gmail.com>
1855 * obsolete/rcompile.el: Mark obsolete.
1857 * progmodes/compile.el (compilation-start)
1858 (compilation-goto-locus, compilation-find-file):
1859 Pass no-display-ok and handle nil value from display-buffer.
1862 * window.el (display-buffer-alist, display-buffer): Document the
1863 new parameter no-display-ok. Return either a window or nil
1864 but never a non-window value.
1866 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1868 * electric.el (electric-indent-mode-map): Remove.
1869 (electric-indent-mode): Change the global-map instead (bug#15915).
1871 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1874 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1876 * emacs-lisp/nadvice.el (remove-function): Align with
1877 add-function's behavior.
1879 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1880 (gdb--string-regexp): New constant.
1881 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1882 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1883 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1885 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1886 Adjust use accordingly.
1887 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1889 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1891 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1892 interpolation curlies (Bug#15914).
1894 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1896 * calc/calc.el (calc-context-sensitive-enter): New variable.
1897 (calc-enter): Use `calc-context-sensitive-enter'.
1899 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1901 * progmodes/cfengine.el: Version bump.
1902 (cfengine-cf-promises): New defcustom to locate cf-promises.
1903 (cfengine3-vartypes): Add new "data" type.
1904 (cfengine3--current-word): New function to get current name-like
1906 (cfengine3--current-function): New function to look up a CFEngine
1907 function's definition.
1908 (cfengine3-format-function-docstring): New function.
1909 (cfengine3-make-syntax-cache): New function.
1910 (cfengine3-documentation-function): New function: ElDoc glue.
1911 (cfengine3-completion-function): New function: completion glue.
1912 (cfengine3-mode): Set `compile-command',
1913 `eldoc-documentation-function', and add to
1914 `completion-at-point-functions'.
1916 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1918 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1919 `tramp-current-connection'.
1921 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1923 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1924 nil/self/true/false with "end of symbol".
1926 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1928 * subr.el (version-regexp-alist): Fix a typo.
1930 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1932 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1933 "en_US.utf8" and "LC_CTYPE" to "".
1934 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1935 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1937 2013-11-15 Leo Liu <sdl.web@gmail.com>
1939 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1941 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1943 * progmodes/gud.el (ctl-x-map):
1944 Remove C-x SPC binding. (Bug#12342)
1945 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1947 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1949 * subr.el (version-regexp-alist):
1950 Recognize hg, svn and darcs versions as snapshot versions.
1952 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1953 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1954 (ruby--encoding-comment-required-p): Extract from
1955 `ruby-mode-set-encoding'.
1956 (ruby-mode-set-encoding): Add the ability to always insert an
1957 utf-8 encoding comment. Fix and simplify coding comment update
1960 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1962 * net/tramp-gvfs.el (top): Run init code only when
1963 `tramp-gvfs-enabled' is not nil.
1964 (tramp-gvfs-enabled): Check also :system bus.
1966 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1968 Sync with upstream verilog-mode revision 78e66ba.
1969 * progmodes/verilog-mode.el (verilog-end-of-defun)
1970 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1971 (verilog-get-end-of-defun): Remove unused argument.
1972 (verilog-comment-depth): Remove unused local `e'.
1973 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1974 Don't pass arg to verilog-get-end-of-defun.
1976 2013-11-14 Glenn Morris <rgm@gnu.org>
1978 * obsolete/assoc.el (aget): Prefix dynamic variable.
1980 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1982 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1984 * widget.el, hfy-cmap.el: Remove bogus package version number.
1986 2013-11-13 Glenn Morris <rgm@gnu.org>
1988 * replace.el (replace-eval-replacement):
1989 Try to give more helpful error message. (Bug#15836)
1991 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1992 (archive-7z-update): Avoid custom type mismatches.
1994 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1996 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1998 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1999 address can be empty.
2001 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2002 Accept nil SWITCHES.
2003 (tramp-gvfs-handle-write-region): Implement APPEND.
2005 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2007 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2008 binary "|" operator and closing block args delimiter.
2009 Remove FIXME comment referring to Ruby 1.8-only syntax.
2010 (ruby-smie--implicit-semi-p): Not after "|" operator.
2011 (ruby-smie--closing-pipe-p): New function.
2012 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2013 (ruby-smie-rules): Indent after "|".
2015 2013-11-12 Glenn Morris <rgm@gnu.org>
2017 * ps-print.el (ps-face-attribute-list):
2018 Handle anonymous faces. (Bug#15827)
2020 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2022 * window.el (display-buffer-other-frame): Fix doc-string.
2025 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2027 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2029 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2031 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2032 (tramp-sh-handle-file-local-copy): Don't write a message when
2033 saving temporary files.
2035 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2036 both directories are remote.
2037 (tramp-smb-handle-directory-files): Do not return double entries.
2038 Do not expand full file names.
2039 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2040 (tramp-smb-handle-write-region): Implement APPEND.
2041 (tramp-smb-get-stat-capability): Fix a stupid bug.
2043 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2045 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2047 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2049 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2050 throwing error over malformed let/let* (bug#15814).
2052 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2054 * iswitchb.el (iswitchb-mode): Mark obsolete.
2056 2013-11-11 Glenn Morris <rgm@gnu.org>
2058 * international/uni-bidi.el, international/uni-category.el:
2059 * international/uni-name.el, international/uni-numeric.el:
2060 Regenerate for Unicode 6.3.0.
2062 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2064 * net/tramp.el (tramp-methods):
2065 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2066 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2068 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2070 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2071 Force highlighting text after Summary keyword in doc face for rpm.
2073 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2075 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2076 available and the word has no wildcards, append one to the grep pattern.
2077 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2078 (ispell-complete-word): Call `ispell-lookup-words' with the value
2079 independent of `ispell-look-p'.
2081 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2083 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2085 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2088 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2090 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2091 (ruby-font-lock-keywords): Use backquote.
2093 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2095 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2096 (ruby-smie--backward-token): Only consider full-string matches.
2098 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2100 * faces.el (describe-face): Add distant-foreground.
2102 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2104 * progmodes/ruby-mode.el: Improve encoding comment handling.
2105 (ruby-encoding-magic-comment-style): New option.
2106 (ruby-custom-encoding-magic-comment-template): New option.
2107 (ruby--insert-coding-comment, ruby--detect-encoding):
2108 New functions extracted from `ruby-mode-set-encoding'.
2109 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2110 to control the style of the auto-inserted encoding comment.
2112 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2114 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2115 Use `smie-backward-sexp' with token argument.
2117 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2119 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2120 Remove instrumentation code.
2122 2013-11-08 Glenn Morris <rgm@gnu.org>
2124 * progmodes/autoconf.el (autoconf-mode):
2125 Tweak comment-start-skip. (Bug#15822)
2127 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2129 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2130 at bobp (bug#15826).
2131 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2133 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2135 * man.el (Man-start-calling): New macro, extracted from
2136 Man-getpage-in-background.
2137 (Man-getpage-in-background): Use it.
2138 (Man-update-manpage): New command.
2139 (Man-mode-map): Bind it.
2141 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2143 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2144 of "and", "or", "&&" and "||".
2145 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2146 argument. Prohibit opening curly brace because it could only be a
2147 block opener in that position.
2148 (ruby-smie--forward-token, ruby-smie--backward-token):
2149 Separate "|" from "&" or "*" going after it. That can happen in block
2151 (ruby-smie--indent-to-stmt): New function, seeks the end of
2152 previous statement or beginning of buffer.
2153 (ruby-smie-rules): Use it.
2154 (ruby-smie-rules): Check if there's a ":" before a curly block
2155 opener candidate; if there is, it's a hash.
2157 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2159 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2160 (cl--block-wrapper): Fix last accidental change.
2162 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2164 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2165 Instrument, in order to hunt failure on hydra.
2167 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2169 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2170 malformed bindings form (bug#15814).
2172 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2174 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2175 "." compared to " @ ". This incidentally fixes some indentation
2177 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2178 (ruby-smie-grammar): New tokens: "and" and "or".
2179 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2180 Exclude "and" and "or". Remove "do" in order to work around token
2182 (ruby-smie-rules): Add all infix tokens. Handle the case of
2183 beginning-of-buffer.
2185 2013-11-06 Glenn Morris <rgm@gnu.org>
2187 * Makefile.in (setwins_almost, setwins_for_subdirs):
2188 Avoid accidental matches.
2190 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2192 * menu-bar.el (popup-menu): Use key-binding.
2194 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2196 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2197 menus, support also the menus produced by minor modes.
2200 2013-11-06 Leo Liu <sdl.web@gmail.com>
2202 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2203 DISTANCE to bound the search. All uses changed. (Bug#15808)
2205 2013-11-06 Glenn Morris <rgm@gnu.org>
2207 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2208 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2209 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2211 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2213 * electric.el (electric-indent-just-newline): New command.
2214 (electric-indent-mode-map): New keymap.
2215 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2216 Re-add :group which weren't redundant.
2218 * electric.el (electric-indent-local-mode): New minor mode.
2219 (electric-indent-functions-without-reindent): New var.
2220 (electric-indent-post-self-insert-function): Use it.
2221 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2223 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2225 * international/quail.el (quail-help): Be more explicit about the
2226 meaning of the labels shown on the keys. (Bug#15800)
2228 * startup.el (normal-top-level): Load the subdirs.el files before
2229 setting the locale environment. (Bug#15805)
2231 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2233 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2234 via arguments so as to get the right ones (bug#15418).
2236 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2238 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2240 Fix problems found while writing a test suite.
2242 * net/tramp-compat.el (tramp-compat-load): New defun.
2243 * net/tramp.el (tramp-handle-load): Use it.
2245 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2246 "(numberp ok-if-already-exists)" correctly.
2248 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2250 * international/characters.el (glyphless-char-display-control):
2253 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2255 * progmodes/python.el (python-mode):
2256 * progmodes/scheme.el (scheme-mode):
2257 * progmodes/prolog.el (prolog-mode):
2258 * progmodes/ruby-mode.el (ruby-mode):
2259 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2260 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2262 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2264 * rect.el (rectangle--highlight-for-redisplay):
2265 * emacs-lisp/smie.el (smie--next-indent-change):
2266 Use buffer-chars-modified-tick.
2268 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2270 * electric.el (electric-indent-post-self-insert-function):
2271 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2273 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2275 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2277 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2279 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2282 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2284 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2286 * progmodes/python.el: Fix up last change.
2287 (python-shell--save-temp-file): New function.
2288 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2289 `string' comes from the current buffer.
2290 (python-shell-send-string-no-output): Remove `msg' arg.
2291 (python--use-fake-loc): New var.
2292 (python-shell-buffer-substring): Obey it. Try to compensate for the
2293 extra coding line added by python-shell--save-temp-file.
2294 (python-shell-send-region): Use python-shell--save-temp-file and
2295 python-shell-send-file directly. Add `nomain' argument.
2296 (python-shell-send-buffer): Use python-shell-send-region.
2297 (python-electric-pair-string-delimiter): New function.
2298 (python-mode): Use it.
2300 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2302 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2303 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2304 environment and decoding all of the default-directory's to here
2306 (command-line): Decode also argv[0].
2308 * loadup.el: Error out if default-directory is a multibyte string
2309 when we are dumping.
2311 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2313 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2315 * emacs-lisp/package.el (package-menu-mode)
2316 (package-menu--print-info, package-menu--archive-predicate):
2317 Add Archive column to package list.
2319 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2321 Fix problems found while writing a test suite.
2323 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2324 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2325 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2326 to nil when running original file name handler. Otherwise,
2327 there are problems with constructs like "$$FOO".
2329 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2332 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2334 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2336 * subr.el (version<, version<=, version=):
2337 Update docstrings with information for snapshot versions.
2339 * helpers.el: New library for misc helper functions.
2340 (hash-table-keys): New function returning a list of hash keys.
2341 (hash-table-values): New function returning a list of hash values.
2343 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2345 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2346 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2348 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2350 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2351 checking whether point is after a 1-letter word.
2353 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2355 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2356 Don't infloop when expanding region over `multiline' syntax-type that
2357 begins a line (bug#15778).
2359 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2361 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2362 Make it into a proper minor mode.
2363 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2364 (rectangle-mark-mode-map): New keymap.
2365 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2367 2013-11-04 Glenn Morris <rgm@gnu.org>
2369 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2371 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2373 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2374 (ruby-smie-rules): Use smie-rule-parent instead.
2376 * emacs-lisp/smie.el (smie-rule-parent): Always call
2377 smie-indent-virtual rather than only for hanging tokens.
2378 (smie--next-indent-change): New helper command.
2380 2013-11-03 Glenn Morris <rgm@gnu.org>
2382 * Makefile.in (abs_srcdir): Remove.
2383 (emacs): Unset EMACSLOADPATH.
2385 2013-11-02 Glenn Morris <rgm@gnu.org>
2387 * Makefile.in (EMACS): Use a relative filename.
2388 (abs_top_builddir): Remove.
2389 (custom-deps, finder-data, autoloads): Use --chdir.
2391 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2393 Use relative filenames in TAGS files.
2394 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2395 (lisptagsfiles4, TAGS): Use relative file names.
2396 (TAGS-LISP): Remove.
2397 (maintainer-clean): No more TAGS-LISP file.
2399 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2400 (lisptagsfiles4): Use absolute filenames again.
2401 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2402 Remove all *loaddefs files, not just the first. Remove esh-groups.
2403 (maintainer-clean): Delete TAGS, TAGS-LISP.
2405 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2407 * emacs-lisp/package.el (package-version-join):
2408 Recognize snapshot versions.
2410 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2412 * subr.el (version-regexp-alist): Add support for snapshot versions.
2414 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2416 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2417 New function, replacement for `smie-rule-parent' for when we want to
2418 skip over our direct parent if it's an assignment token..
2419 (ruby-smie-rules): Use it.
2421 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2423 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2424 unconditionally. Remove now unnecessary forward declarations.
2425 Remove XEmacs-specific setup.
2426 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2427 (ruby-font-lock-syntactic-keywords)
2428 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2429 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2430 (ruby-here-doc-end-syntax): Remove.
2431 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2432 defined as function.
2434 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2436 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2438 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2440 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2441 table and abbrev table, `define-derived-mode' does that for us
2444 2013-11-01 Glenn Morris <rgm@gnu.org>
2446 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2447 files is atomic for some time, so no parallel compilation issues).
2449 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2451 * faces.el (face-x-resources): Add :distant-foreground.
2452 (region): Use :distant-foreground for gtk and ns.
2454 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2456 Allow multiple bibliographies when BibLaTeX is used rather than
2458 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2459 (reftex-locate-bibliography-files): Us it.
2461 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2463 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2464 allow comments in pbm files.
2466 * term/w32-win.el (dynamic-library-alist): Support newer versions
2467 of libjpeg starting with v7: look only for the DLL from the
2468 version against which Emacs was built.
2469 Support versions of libpng beyond 1.4.x.
2470 Support libtiff v4.x.
2472 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2474 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2475 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2477 (ruby-deep-arglist): Add property :type.
2479 2013-10-31 Glenn Morris <rgm@gnu.org>
2481 * Makefile.in (custom-deps, finder-data): No need to setq the target
2482 variables, we are in the right directory and the defaults work fine.
2484 2013-10-30 Glenn Morris <rgm@gnu.org>
2486 * Makefile.in (autoloads): Do not use abs_lisp.
2488 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2489 `newline' does not respect `standard-output', so use `princ'.
2491 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2493 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2494 * buff-menu.el (Buffer-menu--unmark): New function.
2495 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2497 2013-10-30 Glenn Morris <rgm@gnu.org>
2499 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2501 * emacs-lisp/package.el (lm-homepage): Declare.
2503 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2506 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2508 * Makefile.in (finder-data, autoloads, update-subdirs)
2509 (compile-main, compile-clean, compile-always, bootstrap-clean):
2510 Check return value of cd.
2511 (compile-calc): Remove.
2513 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2515 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2517 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2518 (byte-compile-and-folded): New function.
2519 (=, <, >, <=, >=): Use it.
2521 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2522 (path-separator, null-device, buffer-file-coding-system)
2523 (lpr-headers-switches): Check system-type before modifying them.
2524 (find-buffer-file-type-coding-system): Mark obsolete.
2525 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2526 find-file-not-found-set-buffer-file-coding-system.
2527 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2528 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2529 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2530 (w32-direct-print-region-helper, w32-direct-print-region-function)
2531 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2532 * startup.el (normal-top-level-add-subdirs-to-load-path):
2533 * ps-print.el (ps-print-region-function):
2534 * lpr.el (print-region-function): Use new name.
2536 * subr.el (custom-declare-variable-early): Remove function.
2537 (custom-declare-variable-list): Remove var.
2538 (error, user-error): Remove `while' loop.
2539 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2540 (user-emacs-directory-warning, locate-user-emacs-file):
2542 * simple.el (read-quoted-char-radix, read-quoted-char):
2543 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2545 * custom.el (custom-declare-variable-list): Don't process
2546 custom-declare-variable-list.
2548 * progmodes/python.el (python-shell-get-buffer): New function.
2549 (python-shell-get-process): Use it.
2550 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2551 Python which encoding was used. Don't split-string since we only care
2552 about the first line. Return the temp-file, if applicable.
2553 (python-shell-send-region): Tell compile.el how to turn locations in
2554 the temp-file into locations in the source buffer.
2556 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2558 * subr.el (undefined): Add missing behavior from the C code for
2561 * rect.el: Use lexical-binding. Add new rectangular region support.
2562 (rectangle-mark): New command.
2563 (rectangle--region): New var.
2564 (deactivate-mark-hook): Reset rectangle--region.
2565 (rectangle--extract-region, rectangle--insert-for-yank)
2566 (rectangle--highlight-for-redisplay)
2567 (rectangle--unhighlight-for-redisplay): New functions.
2568 (region-extract-function, redisplay-unhighlight-region-function)
2569 (redisplay-highlight-region-function): Use them to handle
2571 * simple.el (region-extract-function): New var.
2572 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2573 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2574 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2575 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2576 (redisplay-unhighlight-region-function)
2577 (redisplay-highlight-region-function): New vars.
2578 (redisplay--update-region-highlight): New function.
2579 (pre-redisplay-function): Use it.
2580 (exchange-point-and-mark): Don't deactivate the mark before
2581 reactivate-it anyway.
2582 * comint.el (comint-kill-region): Remove yank-handler argument.
2583 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2584 (delete-char): Remove property, since it's now part of their
2586 (self-insert-iso): Remove property since this command doesn't exist.
2588 * emacs-lisp/package.el (package--download-one-archive)
2589 (describe-package-1): Don't query the user about final newline.
2591 2013-10-29 Daniel Colascione <dancol@dancol.org>
2593 * net/tramp.el (tramp-methods): Document new functionality.
2594 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2595 tramp-hostname-checker if method provides one instead of scanning
2596 argument list for "%h" to decide hostname acceptability.
2598 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2600 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2601 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2602 Handle COPY-CONTENTS. (Bug#15737)
2604 2013-10-28 Daiki Ueno <ueno@gnu.org>
2607 (epa-file-cache-passphrase-for-symmetric-encryption):
2608 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2610 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2612 * image.el (defimage):
2613 (image-load-path): Doc fixes.
2615 2013-10-27 Alan Mackenzie <acm@muc.de>
2617 Indent statements in macros following "##" correctly.
2618 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2619 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2621 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2623 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2625 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2627 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2628 after `=' is probably a new expression.
2630 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2632 * man.el (man-imenu-title): New option.
2633 (Man-mode-map): Add menu. (Bug#15722)
2634 (Man-mode): Add imenu to menu.
2636 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2638 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2639 specific in what the first arg can be: a non-keyword word,
2640 string/regexp/percent literal opener, opening paren, or unary
2641 operator followed directly by word.
2643 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2645 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2646 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2647 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2648 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2649 Remove vars, they do not apply any more.
2650 (prolog-mode-abbrev-table): Remove redundant declaration.
2651 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2652 (prolog-use-smie): Remove.
2653 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2654 supported by prolog-electric-if-then-else-flag.
2655 (prolog-mode-variables, prolog-menu): Use setq-local.
2656 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2657 Remove binding to `Backspace' since this key doesn't exist anyway.
2658 Remove bindings for electric self-inserting keys.
2659 (prog-mode): Assume it's defined.
2660 (prolog-post-self-insert): New function.
2661 (prolog-mode): Use it.
2662 (prolog-indent-line, prolog-indent-level)
2663 (prolog-find-indent-of-matching-paren)
2664 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2665 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2666 (prolog-goto-next-paren, prolog-in-string-or-comment)
2667 (prolog-tokenize, prolog-inside-mline-comment)
2668 (prolog-find-start-of-mline-comment): Remove functions.
2669 (prolog-find-unmatched-paren, prolog-clause-end)
2670 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2671 (prolog-electric--if-then-else): Rename from
2672 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2673 (prolog-tokenize-searchkey): Remove const.
2674 (prolog-clause-info): Use forward-sexp.
2675 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2676 (prolog-electric-if-then-else): Remove commands.
2677 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2678 for use in post-self-insert-hook.
2679 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2680 for use in post-self-insert-hook.
2681 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2682 for use in post-self-insert-hook.
2683 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2684 adapt it for use in post-self-insert-hook.
2686 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2688 * emacs-lisp/ert.el (ert-run-tests-interactively):
2689 Use `completing-read'. (Bug#9756)
2691 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2693 * simple.el (line-move): Call line-move-1 instead of
2694 line-move-visual when the current window hscroll is zero, but
2695 temporary-goal-column indicates we will need to hscroll as result
2696 of the movement. (Bug#15712)
2698 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2700 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2701 capitalization. Use :visible instead of :active.
2702 Fix `ruby-indent-exp' reference. Add menu items for the generic
2703 commands that are used with SMIE.
2704 (ruby-do-end-to-brace): Insert space after `{'.
2706 2013-10-25 John Anthony <john@jo.hnanthony.com>
2708 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2710 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2712 2013-10-25 Glenn Morris <rgm@gnu.org>
2714 * vc/vc.el (vc-print-log): Don't use a working revision unless
2715 one was explicitly specified. (Bug#15322)
2717 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2719 * subr.el (add-to-list): Preserve return value in compiler-macro
2722 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2724 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2725 result. Ask user to retry using '-all' flag. (Bug#15701)
2727 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2729 * emacs-lisp/smie.el: New smie-config system.
2730 (smie-config): New defcustom.
2731 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2732 (smie-config-guess, smie-config-save): New commands.
2733 (smie-config--mode-local, smie-config--buffer-local)
2734 (smie-config--trace, smie-config--modefuns): New vars.
2735 (smie-config--advice, smie-config--mode-hook)
2736 (smie-config--setter, smie-config-local, smie-config--get-trace)
2737 (smie-config--guess-value, smie-config--guess): New functions.
2738 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2739 text properties. Treat "string fence" syntax like string syntax.
2741 * progmodes/sh-script.el (sh-use-smie): Change default.
2742 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2743 (sh-var-value): Simplify by CSE.
2744 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2745 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2747 (sh-guess-basic-offset): Use cl-incf.
2748 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2750 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2752 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2755 2013-10-24 Glenn Morris <rgm@gnu.org>
2757 * Makefile.in (abs_top_srcdir): Remove.
2758 (update-subdirs): Use relative path to update-subdirs.
2760 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2762 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2763 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2764 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2765 Call unmsys--file-name before expand-file-name, not after it.
2767 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2769 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2770 (ert-test-skipped): New error.
2771 (ert-skip, ert-stats-skipped): New defuns.
2772 (ert--skip-unless): New macro.
2773 (ert-test-skipped): New struct.
2774 (ert--run-test-debugger, ert-test-result-type-p)
2775 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2776 (ert--stats-set-test-and-result, ert-char-for-test-result)
2777 (ert-string-for-test-result, ert-run-tests-batch)
2778 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2779 Handle skipped tests. (Bug#9803)
2781 2013-10-24 Glenn Morris <rgm@gnu.org>
2783 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2785 * Makefile.in (abs_top_srcdir): New, set by configure.
2786 (update-subdirs): Correct build-aux location.
2788 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2790 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2791 value, whether we could auto-deduce `backend', or not.
2793 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2794 with parameters" example. Simplify the "is it block or is it
2795 hash" check, but also make it more thorough.
2797 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2799 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2801 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2803 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2806 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2809 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2811 * progmodes/compile.el (compilation-directory-matcher)
2812 (compilation-page-delimiter):
2813 Support GNU Make-4.0 directory quoting. (Bug#15678)
2815 2013-10-23 Leo Liu <sdl.web@gmail.com>
2817 * ido.el (ido-tidy): Handle read-only text.
2819 2013-10-23 Glenn Morris <rgm@gnu.org>
2821 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2822 (emacs, compile, compile-always):
2823 Quote entities that might contain whitespace.
2824 (custom-deps, finder-data, autoloads): Use abs_lisp.
2825 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2826 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2827 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2829 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2831 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2832 Use `following-char'.
2834 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2836 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2837 * progmodes/ruby-mode.el (ruby-smie-rules):
2838 Remove corresponding workaround. Fix indentation rule of ";" so it
2839 also applies when ";" is the parent.
2841 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2843 * frame.el (display-screens, display-pixel-height)
2844 (display-pixel-width, display-mm-width, display-backing-store)
2845 (display-save-under, display-planes, display-color-cells)
2846 (display-visual-class, display-monitor-attributes-list):
2847 Mention the optional ‘display’ argument in doc strings.
2849 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2851 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2852 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2854 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2856 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2857 TODO. Add "." after " @ ".
2858 (ruby-smie--at-dot-call): New function. Checks if point at method
2859 call with explicit target.
2860 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2861 to the method name tokens when it precedes them.
2862 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2863 (ruby-smie-rules): Add rule for indentation before and after "."
2866 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2868 * textmodes/remember.el (remember-diary-extract-entries):
2871 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2874 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2876 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2877 (ruby-smie--implicit-semi-p): Add new operator chars.
2879 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2881 (ruby-smie--args-separator-p): Check that there's no newline
2882 between method call and its arguments.
2884 2013-10-20 Alan Mackenzie <acm@muc.de>
2886 Allow comma separated lists after Java "implements".
2888 * progmodes/cc-engine.el (c-backward-over-enum-header):
2890 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2891 from a "disallowed" list in enum fontification.
2893 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2895 * startup.el (default-frame-background-mode): Remove unused defvar.
2897 * progmodes/verilog-mode.el (verilog-mode): Don't set
2898 comment-indent-function globally.
2900 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2902 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2903 Move Info menu item creation to ns-win.el.
2905 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2908 * menu-bar.el: Move GNUStep specific menus...
2910 * term/ns-win.el (ns-initialize-window-system): ... to here.
2912 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2914 * simple.el (newline): Only run post-self-insert-hook when
2915 called interactively.
2917 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2919 * icomplete.el (icomplete-with-completion-tables): Add :version.
2921 2013-10-19 Alan Mackenzie <acm@muc.de>
2923 Fix fontification bugs with constructors and const.
2925 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2926 CASE 2) Remove the check for the absence of a suffix construct
2927 after a function declaration with only types (no identifiers) in
2928 the parentheses. Also, accept a function declaration with just a
2929 type inside the parentheses, if this type can be positively
2930 recognised as such, or if a prefix keyword like "explicit" nails
2931 down the construct as a declaration.
2933 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2935 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2936 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2937 the problem whereby selecting a menu item that leads to a
2938 minibuffer prompt moves the cursor out of the minibuffer window,
2939 making it hard to type at the prompt. Suggested by Stefan Monnier
2940 <monnier@iro.umontreal.ca>.
2942 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2944 * menu-bar.el: Don't make Services menu.
2946 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2948 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2949 (ffap-alist): Use ffap-c++-mode for c++-mode.
2950 (ffap-c++-path): New variable.
2951 (ffap-c++-mode): New function.
2953 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2955 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2957 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2959 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2960 introduced on 2013-09-08, which results in an infinite loop
2961 requesting a password.
2963 2013-10-18 Glenn Morris <rgm@gnu.org>
2965 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2967 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2969 Sync with upstream verilog-mode revision 1a6ecec7.
2970 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2971 (verilog-mode-release-date): Remove.
2972 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2973 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2974 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2975 (verilog-auto-tieoff-ignore-regexp)
2976 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2977 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2978 (verilog-signals-with, verilog-dir-cache-preserving)
2979 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2981 (verilog-case-fold): New option, to control case folding in
2982 regexp searches, bug597.
2983 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2984 (verilog-string-match-fold, verilog-in-paren-count)
2985 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2986 (verilog-at-close-struct-p): New functions.
2987 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2988 (verilog-forward-sexp, verilog-set-auto-endcomments):
2989 (verilog-leap-to-case-head): Handle "unique0" case.
2990 (verilog-in-constraint-re): New constant.
2991 (verilog-keywords, verilog-type-font-keywords):
2992 Add some SystemVerilog 1800-2012 keywords.
2993 (verilog-label-be): Remove unimplemented argument, bug669.
2994 (verilog-batch-execute-func): When batch expanding clear
2995 create-lockfiles to prevent spurious user locks when a file ends
2997 (verilog-calculate-indent, verilog-calc-1)
2998 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2999 (verilog-do-indent): Fix indentation of nested constraints
3001 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3002 (verilog-auto-inst-param): Use verilog-string-match-fold.
3003 (verilog-read-inst-module-matcher):
3004 Fix AUTOINST on gate primitives with #1.
3005 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3006 Reads all user-defined typed variables.
3007 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3008 (verilog-signals-matching-regexp)
3009 (verilog-signals-not-matching-regexp, verilog-auto):
3010 Respect verilog-case-fold.
3011 (verilog-diff-report): Fix line count.
3012 (verilog-auto-assign-modport): Remove unused local `modi'.
3013 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3014 better handle multidimensional arrays.
3015 Fix packed array ports misadding bit index in AUTOINST, bug637.
3016 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3017 to not double-declare existing outputs and inputs, respectively.
3018 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3019 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3020 (verilog-sk-uvm-component): New skeleton.
3021 (verilog-submit-bug-report): Add verilog-case-fold,
3022 remove verilog-mode-release-date.
3024 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3026 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3029 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3031 * textmodes/remember.el (remember): Set buffer-offer-save in
3032 remember buffers (bug#13566).
3034 2013-10-18 Daniel Colascione <dancol@dancol.org>
3036 When evaluating forms in ielm, direct standard output to ielm
3037 buffer. Add new ielm-return-for-effect command. Remove trailing
3038 whitespace throughout.
3040 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3041 (ielm-return-for-effect): New command.
3042 (ielm-send-input): Accept optional `for-effect' parameter.
3043 (ielm-eval-input): Accept optional `for-effect' parameter.
3044 Bind `standard-output' to stream we create using
3045 `ielm-standard-output-impl'. Suppress printing result when
3047 (ielm-standard-output-impl): New function.
3048 (inferior-emacs-lisp-mode): Explain new features in documentation.
3050 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3054 * net/tramp.el (tramp-debug-message): Do not check for connection
3056 (tramp-message): Use "vector" connection property.
3058 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3059 (tramp-equal-remote, tramp-eshell-directory-change)
3060 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3061 (tramp-adb-handle-rename-file)
3062 * net/tramp-cmds.el (tramp-list-remote-buffers)
3063 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3064 * net/tramp-compat.el (tramp-compat-process-running-p)
3065 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3066 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3067 (tramp-gvfs-handle-rename-file)
3068 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3069 (tramp-set-file-uid-gid)
3070 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3071 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3074 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3075 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3076 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3077 (tramp-gw-open-network-stream): Suppress unrelated traces.
3079 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3080 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3081 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3082 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3083 connection property.
3085 * net/tramp-cache.el (top): Suppress traces when reading
3088 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3089 Refactor common code. Improve debug message.
3090 (tramp-maybe-open-connection)
3091 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3092 connection buffer too early.
3094 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3095 from `tramp-smb-actions-with-acl'.
3096 (tramp-smb-actions-set-acl): New defconst.
3097 (tramp-smb-handle-copy-directory)
3098 (tramp-smb-action-get-acl): New defun, renamed from
3099 `tramp-smb-action-with-acl'.
3100 (tramp-smb-action-set-acl): New defun.
3101 (tramp-smb-handle-set-file-acl): Rewrite.
3103 2013-10-17 Glenn Morris <rgm@gnu.org>
3105 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3107 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3109 * skeleton.el (skeleton-newline): Remove.
3110 (skeleton-internal-1): Use (insert "\n") instead.
3112 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3115 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3116 forward-sexp-function while we redo its job (bug#15613).
3118 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3120 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3121 represented by lists.
3123 2013-10-16 Glenn Morris <rgm@gnu.org>
3125 * tmm.el (tmm--history): New dynamic variable.
3126 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3128 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3130 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3131 (tramp-smb-errors): Add error messages.
3132 (tramp-smb-actions-with-acl): New defconst.
3133 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3134 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3135 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3136 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3137 (tramp-smb-get-stat-capability): Fix tests.
3139 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3141 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3144 2013-10-16 Glenn Morris <rgm@gnu.org>
3146 * ansi-color.el (ansi-color-drop-regexp):
3147 Add 1J, 1K, 2K. (Bug#15617)
3149 * files.el (hack-local-variables--warned-lexical): New.
3150 (hack-local-variables):
3151 Warn about misplaced lexical-binding. (Bug#15616)
3153 * net/eww.el (eww-render): Always set eww-current-url,
3154 and update header line. (Bug#15622)
3155 (eww-display-html): ... Rather than just doing it here.
3157 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3159 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3160 menu navigations commands.
3162 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3164 * progmodes/subword.el (subword-capitalize): Be careful when
3165 the search for [[:alpha:]] fails (bug#15580).
3167 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3169 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3170 to commands that scroll the menu.
3172 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3174 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3175 Handle methods ending with `?' and `!'.
3177 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3179 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3180 `japanese-cp932' to `cp932' to fix the problem where saving a
3181 source file written in Shift_JIS twice would end up having
3182 `coding: japanese-cp932' which Ruby could not recognize.
3183 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3184 in `ruby-encoding-map'.
3185 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3186 doesn't need to be explicitly declared in magic comment.
3187 (ruby-encoding-map): Add type declaration for better customize UI.
3189 2013-10-13 Glenn Morris <rgm@gnu.org>
3191 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3192 Occur buffers are read-only. http://bugs.debian.org/720775
3194 * emacs-lisp/authors.el (authors-fixed-entries):
3195 Comment out old alpha stuff.
3197 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3199 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3200 to `after-save-hook' instead of `before-save-hook'.
3201 (ruby-mode-set-encoding): Use the value of coding system used to
3202 write the file. Call `basic-save-buffer-1' after modifying the
3205 2013-10-13 Alan Mackenzie <acm@muc.de>
3207 Fix indentation/fontification of Java enum with
3208 "implements"/generic.
3210 * progmodes/cc-engine.el (c-backward-over-enum-header):
3211 Extracted from the three other places and enhanced to handle generics.
3212 (c-inside-bracelist-p): Uses new function above.
3213 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3215 (c-font-lock-enum-tail): Uses new function above.
3217 2013-10-13 Kenichi Handa <handa@gnu.org>
3219 * international/mule-cmds.el (select-safe-coding-system): Remove a
3220 superfluous condition in chekcing whether a coding system is safe
3223 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3225 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3227 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3229 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3231 2013-10-13 Glenn Morris <rgm@gnu.org>
3233 * menu-bar.el (menu-bar-update-buffers):
3234 Unify Buffers menu prompt string. (Bug#15576)
3236 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3238 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3240 (authors-fixed-entries): Use accented form of name.
3242 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3244 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3245 method calls (bug#15594).
3246 (ruby-smie--args-separator-p): New function.
3247 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3248 recognize paren-free method calls.
3250 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3251 internals of universal-argument.
3253 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3255 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3256 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3257 dropped menu on second mouse click on the menu bar.
3259 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3261 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3262 (explicit-shell-file-name): Declare.
3263 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3264 (sh-completion-at-point-function): New function.
3266 (sh-smie--keyword-p): Remove unused argument.
3267 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3269 (sh-set-shell): Always setup SMIE, even if we use the
3270 old indentation code.
3272 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3274 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3276 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3277 predicate would return nil are almost non-existent.
3278 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3280 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3281 cache also after commands that modify the buffer but don't move
3284 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3286 * env.el (substitute-env-in-file-name): New function.
3287 (substitute-env-vars): Extend the meaning of the optional arg.
3289 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3291 * term/w32-win.el (dynamic-library-alist): Define separate lists
3292 of GIF DLLs for versions before and after 5.0.0 of giflib.
3295 2013-10-10 João Távora <joaotavora@gmail.com>
3297 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3298 not locked, use last revision and current source as
3299 defaults. (Bug#15569)
3301 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3303 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3306 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3308 * window.el (pop-to-buffer-same-window): Fix doc-string.
3311 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3313 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3315 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3317 * calendar/icalendar.el (icalendar-import-file):
3318 Fix interactive spec. (Bug#15482)
3320 2013-10-10 Glenn Morris <rgm@gnu.org>
3322 * desktop.el (desktop-save): Default to saving in .emacs.d,
3323 since PWD is no longer in desktop-path by default. (Bug#15319)
3325 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3326 now that text mode has a menu with the same entry.
3327 (menu-bar-text-mode-auto-fill): Remove now unused func.
3328 * textmodes/text-mode.el (text-mode-map):
3329 Use auto-fill help text from menu-bar.el.
3331 2013-10-10 John Anthony <john@jo.hnanthony.com>
3333 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3335 2013-10-09 Juri Linkov <juri@jurta.org>
3337 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3338 instead of this-command-keys. Add universal-argument-more and
3339 universal-argument-minus to the list of prefix commands. (Bug#15568)
3341 2013-10-09 Glenn Morris <rgm@gnu.org>
3343 * vc/vc-svn.el (vc-svn-create-repo):
3344 Expand paths in file://... url. (Bug#15446)
3346 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3348 (authors): Remove unused local variables.
3350 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3352 * profiler.el: Create a more coherent calltree from partial backtraces.
3353 (profiler-format): Hide the tail with `invisible' so that C-s can still
3354 find the hidden elements.
3355 (profiler-calltree-depth): Don't recurse so enthusiastically.
3356 (profiler-function-equal): New hash-table-test.
3357 (profiler-calltree-build-unified): New function.
3358 (profiler-calltree-build): Use it.
3359 (profiler-report-make-name-part): Indent the calltree less.
3360 (profiler-report-mode): Add visibility specs for profiler-format.
3361 (profiler-report-expand-entry, profiler-report-toggle-entry):
3362 Expand the whole subtree when provided with a prefix arg.
3364 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3366 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3368 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3369 hanging iuwu-mod token.
3370 (ruby-smie--forward-token): Do not include a dot after a token in
3372 (ruby-smie--backward-token): Likewise.
3374 2013-10-08 Juri Linkov <juri@jurta.org>
3376 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3377 to isearch-other-control-char.
3378 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3379 and isearch-post-command-hook to post-command-hook.
3380 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3381 and isearch-post-command-hook from post-command-hook.
3382 (isearch-unread-key-sequence)
3383 (isearch-reread-key-sequence-naturally)
3384 (isearch-lookup-scroll-key, isearch-other-control-char)
3385 (isearch-other-meta-char): Remove functions.
3386 (isearch-pre-command-hook, isearch-post-command-hook):
3387 New functions based on isearch-other-meta-char rewritten
3388 relying on the new behavior of overriding-terminal-local-map
3389 that does not replace the local keymaps any more. (Bug#15200)
3391 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3393 Support menus on text-mode terminals.
3394 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3397 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3399 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3400 Move here from mouse.el.
3401 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3403 (tty-menu-navigation-map): New map for TTY menu navigation.
3405 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3407 * frame.el (display-mouse-p): Report text-mode mouse as available
3409 (display-popup-menus-p): Report availability if mouse is
3410 available; don't condition on window-system.
3412 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3413 (tty-menu-selected-face): New faces.
3415 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3417 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3418 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3419 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3420 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3422 (lisp-mode-variables): New `elisp' argument.
3423 (emacs-lisp-mode): Use it.
3424 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3425 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3427 * indent.el: Use lexical-binding.
3428 (indent-region): Add progress reporter.
3429 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3431 (indent--next-tab-stop): New function to implement this behavior.
3432 (tab-to-tab-stop, move-to-tab-stop): Use it.
3434 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3436 * indent.el (indent-rigidly--current-indentation): New function.
3437 (indent-rigidly-map): New var.
3438 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3440 2013-10-08 Bastien Guerry <bzg@gnu.org>
3442 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3444 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3446 * progmodes/perl-mode.el: Use lexical-binding.
3447 Remove redundant :group args.
3448 (perl-nochange): Change default to be closer to other major modes's
3450 (perl-indent-line): Don't consider text on current line as a
3451 valid beginning of function from which to indent.
3453 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3454 with more than one argument (bug#15538).
3456 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3458 * vc/pcvs.el: Use lexical-binding.
3459 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3460 environment of `eval'.
3461 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3462 than a list of expressions. Adjust callers.
3463 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3465 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3467 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3468 case of the dot in a chained method call being on the following line.
3470 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3472 * electric.el (electric-indent-inhibit): New var.
3473 (electric-indent-post-self-insert-function): Use it.
3474 * progmodes/python.el (python-mode): Set it.
3476 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3479 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3481 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3482 (css-mode): Use electric-indent-chars.
3484 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3485 (font-lock-beg, font-lock-end): Move before first use.
3486 (nxml-mode): Use syntax-propertize-function.
3487 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3488 (nxml-extend-after-change-region): Remove.
3489 * nxml/xmltok.el: Use lexical-binding.
3490 (xmltok-save): Use `declare'.
3491 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3492 * nxml/nxml-util.el: Use lexical-binding.
3493 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3495 * nxml/nxml-ns.el: Use lexical-binding.
3496 (nxml-ns-save): Use `declare'.
3497 (nxml-ns-prefixes-for): Avoid add-to-list.
3498 * nxml/rng-match.el: Use lexical-binding.
3499 (rng--ipattern): Use cl-defstruct.
3500 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3501 (rng-cons-group-after, rng-subst-group-after)
3502 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3503 Use closures instead of `(lambda...).
3505 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3507 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3510 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3511 Use `tramp-handle-insert-file-contents'.
3512 (tramp-gvfs-handle-insert-file-contents): Remove function.
3514 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3515 Use `save-restriction' in order to keep markers.
3517 * net/trampver.el: Update release number.
3519 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3521 * progmodes/compile.el (compilation-parse-errors):
3522 Use compilation--put-prop.
3523 (compilation--ensure-parse): Check compilation-multiline.
3525 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3527 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3530 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3532 * progmodes/ruby-mode.el: Fix recently added tests.
3533 (ruby-smie-grammar): Add - and +.
3534 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3535 (ruby-smie--backward-id): New functions.
3536 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3537 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3540 2013-10-07 Leo Liu <sdl.web@gmail.com>
3542 * register.el (register-preview-delay)
3543 (register-preview-functions): New variables.
3544 (register-read-with-preview, register-preview)
3545 (register-describe-oneline): New functions.
3546 (point-to-register, window-configuration-to-register)
3547 (frame-configuration-to-register, jump-to-register)
3548 (number-to-register, view-register, insert-register)
3549 (copy-to-register, append-to-register, prepend-to-register)
3550 (copy-rectangle-to-register): Use register-read-with-preview to
3551 read register. (Bug#15525)
3553 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3555 * net/network-stream.el (network-stream-open-starttls): Don't add
3556 --insecure if it's already present, because that gnutls-cli
3557 rejects getting that parameter twice.
3559 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3561 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3564 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3566 * newcomment.el (comment-use-global-state): Change default value
3567 to t, mark obsolete (Bug#15251).
3568 (comment-beginning): In addition to `comment-to-syntax', check the
3569 value of `comment-use-global-state'.
3571 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3573 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3574 (ruby-comment-column): Follow the global default, by default.
3575 (ruby-smie-grammar): Add assignment syntax.
3576 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3577 open-paren, a comma, or a \.
3578 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3579 and line continuations.
3580 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3581 followed by implicit semi-colons. Add rule for string concatenation
3582 and for indentation at BOB.
3583 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3585 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3586 calling next-sexp, since next-token may have skipped chars which
3587 next-sexp doesn't know should be skipped!
3589 2013-10-05 Leo Liu <sdl.web@gmail.com>
3591 * progmodes/octave.el (octave-send-region):
3592 Call compilation-forget-errors.
3594 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3596 * vc/vc-svn.el (vc-svn-find-admin-dir):
3597 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3598 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3599 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3600 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3602 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3604 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3606 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3608 * subr.el (read-passwd): Hide chars even when called within a context
3609 where after-change-functions is disabled (bug#15501).
3610 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3611 until we removed ourself from overriding-terminal-local-map.
3613 2013-10-04 Leo Liu <sdl.web@gmail.com>
3615 * progmodes/octave.el (inferior-octave-mode):
3616 Call compilation-forget-errors.
3618 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3620 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3622 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3624 * net/secrets.el (secrets-create-collection): Add optional
3625 argument ALIAS. Use proper Label keyword. Append ALIAS as
3626 dbus-call-method argument. (Bug#15516)
3628 2013-10-04 Leo Liu <sdl.web@gmail.com>
3630 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3631 (inferior-octave-compilation-font-lock-keywords): New variables.
3632 (compilation-error-regexp-alist)
3633 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3634 (inferior-octave-mode): Use compilation-shell-minor-mode.
3636 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3638 * minibuffer.el (completion--replace): Be careful that `end' might be
3641 2013-10-03 Daiki Ueno <ueno@gnu.org>
3643 Add support for package signature checking.
3644 * emacs-lisp/package.el (url-http-file-exists-p)
3645 (epg-make-context, epg-context-set-home-directory)
3646 (epg-verify-string, epg-context-result-for)
3647 (epg-signature-status, epg-signature-to-string)
3648 (epg-check-configuration, epg-configuration)
3649 (epg-import-keys-from-file): Declare.
3650 (package-check-signature): New user option.
3651 (package-unsigned-archives): New user option.
3652 (package-desc): Add `signed' field.
3653 (package-load-descriptor): Set `signed' field if .signed file exists.
3654 (package--archive-file-exists-p): New function.
3655 (package--check-signature): New function.
3656 (package-install-from-archive): Check package signature.
3657 (package--download-one-archive): Check archive signature.
3658 (package-delete): Remove .signed file.
3659 (package-import-keyring): New command.
3660 (package-refresh-contents): Import default keyring.
3661 (package-desc-status): Add "unsigned" status.
3662 (describe-package-1, package-menu--print-info)
3663 (package-menu-mark-delete, package-menu--find-upgrades)
3664 (package-menu--status-predicate): Support "unsigned" status.
3666 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3668 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3669 the new compilation scheme using the new byte-codes.
3671 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3672 (byte-pophandler): New byte codes.
3673 (byte-goto-ops): Adjust accordingly.
3674 (byte-compile--use-old-handlers): New var.
3675 (byte-compile-catch): Use new byte codes depending on
3676 byte-compile--use-old-handlers.
3677 (byte-compile-condition-case--old): Rename from
3678 byte-compile-condition-case.
3679 (byte-compile-condition-case--new): New function.
3680 (byte-compile-condition-case): New function that dispatches depending
3681 on byte-compile--use-old-handlers.
3682 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3685 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3686 Optimize under `condition-case' and `catch' if
3687 byte-compile--use-old-handlers is nil.
3688 (disassemble-offset): Handle new bytecodes.
3690 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3692 * subr.el (error): Use `declare'.
3693 (decode-char, encode-char): Use advertised-calling-convention instead
3694 of the docstring to discourage use of the `restriction' arg.
3696 2013-10-03 Daiki Ueno <ueno@gnu.org>
3698 * epg.el (epg-verify-file): Add a comment saying that it does not
3699 notify verification error as a return value nor a signal.
3700 (epg-verify-string): Ditto.
3702 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3704 * progmodes/compile.el (compilation-start): Try globbing the arg to
3707 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3709 Sync with Tramp 2.2.8.
3711 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3712 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3713 * net/trampver.el: Update release number.
3715 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3717 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3718 and default-process-coding-system for darwin only.
3720 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3722 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3724 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3726 * vc/vc-git.el (vc-git-grep): Disable pager.
3728 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3730 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3731 Use :url instead of :homepage, as per
3732 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3734 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3735 non-nil, use `syntax-ppss' (Bug#15251).
3737 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3739 * progmodes/octave.el (inferior-octave-startup-file):
3740 Prefer ~/.emacs.d/init_octave.m.
3742 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3744 * emacs-lisp/package.el (package-desc-from-define):
3745 Accept additional arguments as plist, convert them to an alist and store
3746 them in the `extras' slot.
3747 (package-generate-description-file): Convert extras alist back to
3748 plist and append to the `define-package' form arguments.
3749 (package--alist-to-plist): New function.
3750 (package--ac-desc): Add `extras' slot.
3751 (package--add-to-archive-contents): Check if the archive-contents
3752 vector is long enough, and if it is, pass its `extras' slot value
3753 to `package-desc-create'.
3754 (package-buffer-info): Call `lm-homepage', pass the returned value
3755 to `package-desc-from-define'.
3756 (describe-package-1): Render the homepage button (Bug#13291).
3758 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3759 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3761 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3763 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3764 and default-process-coding-system to utf-8-unix (Bug#15402).
3766 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3768 * subr.el (looking-back): Do not recommend using looking-back.
3770 2013-09-28 Alan Mackenzie <acm@muc.de>
3772 Fix indentation/fontification of Java enum with "implements".
3774 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3775 regexp which matches "implements", etc., in Java.
3776 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3777 specifier clauses coming after "enum".
3778 * progmodes/cc-fonts.el (c-font-lock-declarations)
3779 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3782 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3784 * faces.el (region): Change ns_selection_color to
3785 ns_selection_fg_color, add ns_selection_bg_color.
3787 2013-09-28 Leo Liu <sdl.web@gmail.com>
3789 * progmodes/octave.el (inferior-octave-completion-table)
3790 (inferior-octave-completion-at-point): Minor tweaks.
3792 * textmodes/ispell.el (ispell-lookup-words): Rename from
3793 lookup-words. (Bug#15460)
3794 (lookup-words): Obsolete.
3795 (ispell-complete-word, ispell-command-loop): All uses changed.
3797 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3799 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3800 (octave-mode-menu): Add octave-send-buffer.
3801 (octave-send-buffer): New function.
3803 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3805 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3807 (octave-mode-menu): Add octave-lookfor.
3808 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3810 (octave-lookfor): New function.
3812 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3814 * emacs-lisp/cl-macs.el:
3815 (cl--loop-destr-temps): Remove.
3816 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3818 (cl--loop-set-iterator-function): New function.
3819 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3820 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3821 Bind `it' with `let' instead of substituting it with `cl-subst'.
3822 (cl--unused-var-p): New function.
3823 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3824 Eliminate some unused variable warnings (bug#15326).
3826 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3828 * doc-view.el (doc-view-scale-reset): Rename from
3829 `doc-view-reset-zoom-level'.
3830 (doc-view-scale-adjust): New command.
3831 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3832 `doc-view-scale-adjust'.
3834 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3836 * doc-view.el (doc-view-reset-zoom-level): New command.
3837 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3838 zoom commands (bug#15466).
3840 2013-09-26 Kenichi Handa <handa@gnu.org>
3842 * international/quail.el (quail-help): Make it not a command.
3844 2013-09-26 Leo Liu <sdl.web@gmail.com>
3846 * minibuffer.el (completion-all-sorted-completions): Make args
3847 optional as they are.
3849 2013-09-25 Daniel Colascione <dancol@dancol.org>
3851 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3852 specs are and that they're not evaluated.
3854 2013-09-24 Sam Steingold <sds@gnu.org>
3856 * midnight.el (clean-buffer-list-kill-regexps)
3857 (clean-buffer-list-kill-buffer-names): Update for the new Man
3858 buffer naming which includes the object name.
3860 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3862 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3863 (eshell-parse-command, eshell-parse-pipeline): Use it since
3864 eshell-separate-commands requires a dynamic scoped var.
3865 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3867 2013-09-23 Leo Liu <sdl.web@gmail.com>
3869 * autoinsert.el (auto-insert-alist): Make the value of
3870 lexical-binding match its file setting.
3872 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3874 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3876 * autoarg.el (autoarg-kp-digit-argument):
3877 * electric.el (Electric-command-loop):
3878 * kmacro.el (kmacro-step-edit-insert):
3879 Do not set universal-argument-num-events.
3881 2013-09-22 Leo Liu <sdl.web@gmail.com>
3883 * files.el (interpreter-mode-alist): Add octave.
3885 2013-09-21 Alan Mackenzie <acm@muc.de>
3887 C++: fontify identifier in declaration following "public:" correctly.
3888 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3889 to match "public", etc.
3890 (c-decl-prefix-re): Add ":" into the C++ value.
3891 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3892 bit. Add a check for a ":" preceded by "public", etc.
3894 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3896 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3897 recognized by GDB 7.5 and later.
3899 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3901 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3903 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3905 * subr.el (internal--call-interactively): New const.
3906 (called-interactively-p): Use it (bug#3984).
3908 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3910 * vc/pcvs.el (cvs-mode-ignore):
3911 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3912 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3914 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3916 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3917 (eshell-ls-orig-insert-directory): Remove.
3918 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3919 (eshell-ls-use-in-dired): Use advice-add/remove.
3920 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3921 Add `orig-fun' arg for use in :around advice.
3922 Make it check (redundantly) eshell-ls-use-in-dired.
3924 2013-09-19 Glenn Morris <rgm@gnu.org>
3926 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3928 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3930 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3932 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3934 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3935 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3936 (tramp-get-remote-python): New defuns.
3937 (tramp-get-remote-uid-with-perl)
3938 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3939 contributed by yary <not.com@gmail.com> (tiny change).
3940 (tramp-get-remote-uid-with-python)
3941 (tramp-get-remote-gid-with-python): New defuns. Python code
3942 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3943 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3945 2013-09-19 Glenn Morris <rgm@gnu.org>
3947 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3949 * eshell/em-unix.el (eshell-remove-entries):
3950 Rename argument to avoid name-clash with global `top-level'.
3952 * eshell/esh-proc.el (eshell-kill-process-function):
3953 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3954 (eshell-reset-after-proc): Remove unused arg `proc'.
3956 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3957 (directory-files-and-attributes): Mark unused arg.
3959 * eshell/em-unix.el (eshell-remove-entries):
3960 Remove unused arg `path'. Update callers.
3962 * eshell/em-hist.el (eshell-hist-parse-arguments):
3963 Remove unused arg `silent'. Update callers.
3965 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3966 Fix (f)boundp mix-up.
3968 * eshell/em-smart.el (eshell-smart-scroll-window)
3969 (eshell-disable-after-change):
3970 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3972 2013-09-18 Alan Mackenzie <acm@muc.de>
3974 Fix fontification of type when followed by "const".
3975 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3976 "known" types from fontification.
3978 2013-09-18 Glenn Morris <rgm@gnu.org>
3980 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3981 (chart-face-list): Drop Emacsen without display-color-p.
3983 * net/eww.el (libxml-parse-html-region): Declare.
3984 (eww-display-html): Explicit error if no libxml2 support.
3986 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3988 * image.el (image-type-from-buffer, image-multi-frame-p):
3989 Remove --without-x warning/error.
3991 * mouse.el (mouse-yank-primary):
3992 * term.el (term-mouse-paste):
3993 Reorder to silence --without-x compilation.
3995 * mpc.el (doc-view-mode): Silence --without-x compilation.
3997 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3998 Silence --without-x compilation.
4000 * progmodes/gud.el (gud-find-file, gud-mode):
4001 Silence --without-x compilation.
4002 (tooltip-mode): Declare.
4004 * wdired.el (dired-backup-overwrite): Remove declaration.
4005 (wdired-mode-map): Add doc string.
4007 * custom.el (x-get-resource): Declare.
4009 * eshell/em-glob.el (ange-cache):
4010 * eshell/em-unix.el (ange-cache): Declare.
4012 * faces.el (x-display-list, x-open-connection, x-get-resource):
4015 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4016 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4019 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4021 * net/gnutls.el (gnutls-log-level): Declare.
4023 * net/shr.el (image-size, image-animate): Declare.
4025 * simple.el (font-info): Declare.
4027 * subr.el (x-popup-dialog): Declare.
4029 * term/common-win.el (x-select-enable-primary)
4030 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4033 * term/ns-win.el (x-handle-args): Declare.
4035 * term/x-win.el (x-select-enable-clipboard): Declare.
4037 * term/w32-win.el (create-default-fontset): Declare.
4039 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4042 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4043 (fit-frame-to-buffer): Explicit error if --without-x.
4044 (mouse-autoselect-window-select): Silence compiler.
4046 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4048 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4049 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4050 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4051 * eshell/esh-util.el (eshell-sublist):
4052 Remove unused local variables.
4054 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4056 * textmodes/two-column.el: Make 2C-split work for --without-x.
4057 (scroll-bar-columns): Autoload.
4058 (top-level): Require fringe when compiling.
4060 2013-09-18 Leo Liu <sdl.web@gmail.com>
4062 * subr.el (add-hook): Robustify to handle closure as well.
4064 2013-09-17 Glenn Morris <rgm@gnu.org>
4066 * simple.el (messages-buffer-mode-map): Unbind "g".
4068 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4070 * help-mode.el (help-mode-finish): Use derived-mode-p.
4071 Remove obsolete highlighting.
4073 * play/life.el (life-mode): Use define-derived-mode. Derive from
4075 (life): Let-bind inhibit-read-only.
4076 (life-setup): Avoid `setq'. Use `life-mode'.
4078 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4079 which should not be needed any more.
4080 (package-menu-refresh, package-menu-describe-package): Use user-error.
4082 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4083 (eshell-post-rewrite-command-hook): Make obsolete.
4084 (eshell-parse-command): Simplify.
4085 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4086 (eshell--cmd): Declare.
4087 (eshell-parse-pipeline): Remove unused var `final-p'.
4088 Pass a dynvar to eshell-post-rewrite-command-hook.
4089 Implement the new eshell-post-rewrite-command-function.
4090 (eshell-invoke-directly): Remove unused arg `input'.
4091 * eshell/esh-io.el (eshell-io-initialize):
4092 Use eshell-post-rewrite-command-function (bug#15399).
4093 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4094 adjust to new calling convention.
4095 (eshell-create-handles): Rename args to avoid clashing with dynvar
4098 2013-09-17 Glenn Morris <rgm@gnu.org>
4100 * simple.el (messages-buffer-mode): New major mode.
4101 (messages-buffer): New function.
4102 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4103 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4104 (ert-run-test): Use `messages-buffer' function.
4105 (ert--force-message-log-buffer-truncation): Ignore read-only.
4106 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4107 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4109 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4111 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4113 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4115 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4117 * icomplete.el (icomplete-in-buffer): New var.
4118 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4119 vars and replace them with functions.
4120 (icomplete-minibuffer-setup): Adjust accordingly.
4121 (icomplete--completion-table, icomplete--completion-predicate)
4122 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4124 (icomplete-forward-completions, icomplete-backward-completions)
4125 (icomplete-simple-completing-p, icomplete-exhibit)
4126 (icomplete-completions): Use them.
4127 (icomplete--in-region-buffer): New var.
4128 (icomplete--in-region-setup): New function.
4129 (icomplete-mode): Use it.
4131 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4133 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4134 return args and options.
4135 (eshell-eval-using-options): Use the new return value of
4136 eshell--do-opts to set the options's vars in their scope.
4137 (eshell--set-option): Rename from eshell-set-option.
4139 (eshell--process-option): Rename from eshell-process-option.
4141 (eshell--process-args): Use an `opt-vals' alist to store the options's
4142 values during their processing and return them additionally to the
4145 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4147 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4148 continuation character an operator, as far as indentation is
4149 concerned (Bug#15369).
4151 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4153 * window.el (window--state-put-2): Don't process buffer state
4154 when buffer doesn't exist any more (Bug#15382).
4156 2013-09-15 Glenn Morris <rgm@gnu.org>
4158 * eshell/em-unix.el (eshell/rm):
4159 Make -f ignore missing files. (Bug#15373)
4161 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4162 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4163 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4165 2013-09-14 Glenn Morris <rgm@gnu.org>
4167 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4169 2013-09-13 Glenn Morris <rgm@gnu.org>
4171 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4172 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4174 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4176 * frame.el (x-focus-frame): Mark as declared in frame.c.
4178 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4180 * ls-lisp.el: Use advice-add.
4181 (original-insert-directory): Remove.
4182 (ls-lisp--insert-directory): Rename from insert-directory; add
4183 `orig-fun' argument.
4184 (insert-directory): Advise.
4186 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4188 * term.el (term-emulate-terminal): Decode the command string
4189 before passing it to term-command-hook. (Bug#15337)
4191 2013-09-13 Glenn Morris <rgm@gnu.org>
4193 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4195 * eshell/esh-ext.el (eshell-search-path): Declare.
4197 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4198 Otherwise an error occurs if eshell-dirs module not loaded.
4200 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4202 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4204 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4205 `tramp-check-proper-host'. Check for a valid method name.
4207 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4208 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4209 * net/tramp-sh.el (tramp-maybe-open-connection):
4210 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4212 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4213 also for hash values.
4215 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4217 * term/ns-win.el (parameters): Don't declare as dynamic.
4218 (before-make-frame-hook): Don't add ineffective function.
4220 * eshell/*.el: Use lexical-binding (bug#15231).
4222 2013-09-12 Kenichi Handa <handa@gnu.org>
4224 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4226 2013-09-12 Glenn Morris <rgm@gnu.org>
4228 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4229 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4231 * subr.el (do-after-load-evaluation): Also give compiler warnings
4232 when obsolete files are used (except by obsolete files).
4234 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4235 in the status output, assume `filename' is the first. (Bug#15322)
4237 * vc/vc.el (vc-deduce-fileset): Doc fix.
4239 * calc/calc-help.el (Info-goto-node):
4240 * progmodes/cperl-mode.el (Info-find-node):
4241 * vc/ediff.el (Info-goto-node): Update declarations.
4243 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4245 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4246 (vc-bzr-pull): Require vc-dispatcher.
4247 * vc/vc-git.el (vc-compilation-mode): Declare.
4248 (vc-git-pull): Require vc-dispatcher.
4250 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4252 * progmodes/octave.el (help-button-action): Declare.
4254 * shell.el (shell-directory-tracker): Output error as a message
4255 rather than just returning it as a string.
4256 (shell-process-pushd): Remove useless use of message.
4258 * dframe.el (dframe-timer-fn):
4259 * files.el (dir-locals-read-from-file):
4260 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4262 * reveal.el (reveal-post-command):
4263 * saveplace.el (load-save-place-alist-from-file):
4264 * shell.el (shell-resync-dirs):
4265 * w32-common-fns.el (x-get-selection-value):
4266 * emacs-lisp/copyright.el (copyright-find-copyright):
4267 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4268 * emulation/tpu-edt.el (tpu-copy-keyfile):
4269 * play/bubbles.el (bubbles--mark-neighbourhood):
4270 * progmodes/executable.el
4271 (executable-make-buffer-file-executable-if-script-p):
4272 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4274 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4276 Cleanup Eshell to rely less on dynamic scoping.
4277 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4278 last-value, and ext-command here. Bind `args' closer to `body'.
4279 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4280 (eshell--args): Declare new dynamic var.
4281 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4282 last-value, and ext-command. Pass `args' to `body'.
4283 (eshell-process-args): Bind eshell--args.
4284 (eshell-set-option): Use eshell--args.
4285 * eshell/eshell.el (eshell): Use derived-mode-p.
4286 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4287 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4288 (eshell-glob-function): Declare.
4289 * eshell/esh-util.el: Require cl-lib.
4290 (eshell-read-hosts-file): Avoid add-to-list.
4291 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4293 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4295 (eshell/diff): Remove unused var `err'.
4296 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4298 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4299 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4301 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4302 Move declaration before first use.
4303 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4304 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4307 2013-09-12 Glenn Morris <rgm@gnu.org>
4309 * term/ns-win.el (global-map): Remove binding for ispell-next,
4310 deleted 1999-05-29. (Bug#15357)
4312 2013-09-11 Glenn Morris <rgm@gnu.org>
4314 * echistory.el (electric-command-history): Remove call to deleted func.
4316 * play/landmark.el (landmark-mode): Fix typos.
4318 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4319 Check cvs-sort-ignore-file is bound.
4321 * savehist.el: No need for cl when compiling on Emacs.
4323 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4325 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4327 (eshell-self-insert-command, eshell-send-invisible):
4328 Remove unused argument.
4329 (eshell-handle-control-codes): Remove unused var `orig'.
4330 Avoid delete-backward-char.
4332 * files.el (set-auto-mode): Simplify a bit further.
4334 2013-09-11 Glenn Morris <rgm@gnu.org>
4336 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4337 (set-auto-mode): Don't regexp-quote elements.
4338 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4339 * progmodes/cc-mode.el (interpreter-mode-alist):
4340 * progmodes/ruby-mode.el (interpreter-mode-alist):
4341 Revert previous change.
4343 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4345 * play/snake.el (snake-mode):
4346 * play/mpuz.el (mpuz-mode):
4347 * play/landmark.el (lm-mode):
4348 * play/blackbox.el (blackbox-mode):
4349 * play/5x5.el (5x5-mode):
4350 * obsolete/options.el (Edit-options-mode):
4351 * net/quickurl.el (quickurl-list-mode):
4352 * net/newst-treeview.el (newsticker-treeview-mode):
4353 * mail/rmailsum.el (rmail-summary-mode):
4354 * mail/mspools.el (mspools-mode):
4355 * locate.el (locate-mode):
4356 * ibuffer.el (ibuffer-mode):
4357 * emulation/ws-mode.el (wordstar-mode):
4358 * emacs-lisp/debug.el (debugger-mode):
4359 * array.el (array-mode):
4360 * net/eudc.el (eudc-mode): Use define-derived-mode.
4361 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4362 Move initialization into declaration.
4363 (mairix-searches-mode): Use define-derived-mode.
4364 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4365 (eudc-edit-hotlist): Use dolist.
4366 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4367 (Man-mode): Use define-derived-mode.
4368 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4369 (Info-edit-mode): Use define-derived-mode.
4370 (Info-cease-edit): Use Info-mode.
4371 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4373 (eshell-mode): Use define-derived-mode.
4374 * chistory.el (command-history-mode-map): Rename from
4375 command-history-map.
4376 (command-history-mode): Use define-derived-mode.
4377 (Command-history-setup): Remove function.
4378 * calc/calc.el (calc-trail-mode-map): New var.
4379 (calc-trail-mode): Use define-derived-mode.
4380 (calc-trail-buffer): Set calc-main-buffer manually.
4381 * bookmark.el (bookmark-insert-annotation): New function.
4382 (bookmark-edit-annotation): Use it.
4383 (bookmark-edit-annotation-mode): Make it a proper major mode.
4384 (bookmark-send-edited-annotation): Use derived-mode-p.
4385 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4386 closer to its ideal place. Use \' to match EOS.
4388 * profiler.el (profiler-calltree-find): Use function-equal.
4390 2013-09-10 Glenn Morris <rgm@gnu.org>
4392 * files.el (interpreter-mode-alist): Convert to regexps.
4393 (set-auto-mode): Adapt for this. (Bug#15306)
4394 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4395 Comment out unused variable.
4396 * progmodes/cc-mode.el (interpreter-mode-alist):
4397 * progmodes/python.el (interpreter-mode-alist):
4398 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4399 * progmodes/sh-script.el (sh-set-shell):
4400 No longer use interpreter-mode-alist to get list of shells.
4402 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4404 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4406 * simple.el: Use set-temporary-overlay-map for universal-argument.
4407 (universal-argument-map): Don't use default-bindings (bug#15317).
4408 Bind switch-frame explicitly. Replace universal-argument-minus with
4409 a conditional binding.
4410 (universal-argument-num-events, saved-overriding-map): Remove.
4411 (restore-overriding-map): Remove.
4412 (universal-argument--mode): Rename from save&set-overriding-map,
4414 (universal-argument, universal-argument-more, negative-argument)
4415 (digit-argument): Adjust accordingly.
4416 (universal-argument-minus): Remove.
4417 (universal-argument-other-key): Remove.
4419 * subr.el (with-demoted-errors): Add `format' argument.
4421 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4423 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4424 `tramp-cleanup-connection'.
4426 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4427 parameters KEEP-DEBUG and KEEP-PASSWORD.
4429 * net/tramp.el (tramp-file-name-handler):
4430 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4431 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4432 (tramp-maybe-open-connection):
4433 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4434 Use `tramp-cleanup-connection'.
4436 * net/tramp-sh.el (tramp-maybe-open-connection):
4437 Catch 'uname-changed inside the progress reporter.
4439 2013-09-10 Glenn Morris <rgm@gnu.org>
4441 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4443 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4444 returns "alternate access method" in mode (eg "-rw-r--r--.").
4446 2013-09-08 Glenn Morris <rgm@gnu.org>
4448 * saveplace.el (load-save-place-alist-from-file):
4449 Demote errors. (Bug#15305)
4451 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4453 Improve compatibility with older Emacsen, and XEmacs.
4455 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4456 only if it is bound. It isn't for XEmacs.
4457 (with-tramp-progress-reporter): Do not let-bind `result'.
4458 This yields to scoping errors in XEmacs.
4459 (tramp-handle-make-auto-save-file-name): New function, moved from
4462 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4463 for `make-auto-save-file-name'.
4464 (tramp-adb--gnu-switches-to-ash):
4465 Use `tramp-compat-replace-regexp-in-string'.
4467 * net/tramp-cache.el (tramp-cache-print): Call
4468 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4470 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4471 bound. It isn't for XEmacs.
4473 * net/tramp-compat.el (tramp-compat-copy-file):
4474 Catch `wrong-number-of-arguments' error.
4475 (tramp-compat-replace-regexp-in-string): New defun.
4477 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4478 for `make-auto-save-file-name'.
4479 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4481 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4482 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4483 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4485 * net/tramp-gw.el (tramp-gw-open-network-stream):
4486 Use `tramp-compat-replace-regexp-in-string'.
4488 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4489 Call `tramp-handle-make-auto-save-file-name'.
4490 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4491 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4492 (tramp-sh-file-inotifywait-process-filter):
4493 Use `tramp-compat-replace-regexp-in-string'.
4494 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4496 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4497 for `make-auto-save-file-name'.
4498 (tramp-smb-handle-copy-directory):
4499 Call `tramp-compat-replace-regexp-in-string'.
4500 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4501 (tramp-smb-handle-copy-file): Improve error message.
4502 (tramp-smb-handle-rename-file): Rename directly only in case
4503 `newname' does not exist yet. This is a restriction of smbclient.
4504 (tramp-smb-maybe-open-connection): Rerun the function only when
4505 `auth-sources' is non-nil.
4507 2013-09-08 Kenichi Handa <handa@gnu.org>
4509 * international/characters.el: Set category "^" (Combining) for
4512 2013-09-07 Alan Mackenzie <acm@muc.de>
4514 Correctly fontify Java class constructors.
4515 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4517 (c-recognize-typeless-decls): Set the Java value to t.
4518 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4519 While handling a "(", add a check for, effectively, Java, and handle a
4520 "typeless" declaration there.
4522 2013-09-07 Roland Winkler <winkler@gnu.org>
4524 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4525 field subtitle for entry type book.
4527 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4529 * minibuffer.el: Make minibuffer-complete call completion-in-region
4530 rather than other way around.
4531 (completion--some, completion-pcm--find-all-completions):
4532 Don't delay signals when debugging.
4533 (minibuffer-completion-contents): Beware fields within the
4534 minibuffer contents.
4535 (completion-all-sorted-completions): Use defvar-local.
4536 (completion--do-completion, completion--cache-all-sorted-completions)
4537 (completion-all-sorted-completions, minibuffer-force-complete):
4538 Add args `beg' and `end'.
4539 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4540 (minibuffer-complete): Use completion-in-region.
4541 (completion-complete-and-exit): New fun, extracted from
4542 minibuffer-complete-and-exit.
4543 (minibuffer-complete-and-exit): Use it.
4544 (completion--complete-and-exit): Rename from
4545 minibuffer--complete-and-exit.
4546 (completion-in-region--single-word): New function, extracted from
4547 minibuffer-complete-word.
4548 (minibuffer-complete-word): Use it.
4549 (display-completion-list): Make `common-substring' argument obsolete.
4550 (completion--in-region): Call completion--in-region-1 instead of
4551 minibuffer-complete.
4552 (completion-help-at-point): Pass boundaries to
4553 minibuffer-completion-help as args rather than via an overlay.
4554 (completion-pcm--string->pattern): Use `any-delim'.
4555 (completion-pcm--optimize-pattern): New function.
4556 (completion-pcm--pattern->regex): Handle `any-delim'.
4557 * icomplete.el (icomplete-forward-completions)
4558 (icomplete-backward-completions, icomplete-completions):
4559 Adjust calls to completion-all-sorted-completions and
4560 completion--cache-all-sorted-completions.
4561 (icomplete-with-completion-tables): Default to t.
4562 * emacs-lisp/crm.el (crm--current-element): Rename from
4563 crm--select-current-element. Don't put an overlay but return the
4565 (crm--completion-command): Take two new args to bind to the boundaries.
4566 (crm-completion-help): Adjust accordingly.
4567 (crm-complete): Use completion-in-region.
4568 (crm-complete-word): Use completion-in-region--single-word.
4569 (crm-complete-and-exit): Use completion-complete-and-exit.
4571 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4573 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4576 2013-09-06 Juri Linkov <juri@jurta.org>
4578 * info.el (Info-display-images-node): When image file doesn't exist
4579 display text version of the image if it's provided in the Info file.
4580 Otherwise, display the location of missing image from SRC attribute.
4581 Add help-echo text property from ALT attribute. (Bug#15279)
4583 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4585 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4586 (edit-abbrevs-mode): Use define-derived-mode.
4588 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4589 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4591 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4592 Use define-derived-mode.
4594 * epg.el (epg-start-encrypt): Minor CSE simplification.
4596 2013-09-06 William Xu <william.xwl@gmail.com>
4598 * arc-mode.el: Add support for 7za (bug#15264).
4599 (archive-7z-program): New var.
4600 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4601 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4602 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4604 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4608 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4609 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4610 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4611 (tramp-postfix-host-format, tramp-file-name-regexp)
4612 (tramp-completion-file-name-regexp)
4613 (tramp-completion-dissect-file-name)
4614 (tramp-handle-substitute-in-file-name): Remove 'url case.
4615 (tramp-file-name-regexp-url)
4616 (tramp-completion-file-name-regexp-url): Remove constants.
4618 2013-09-06 Glenn Morris <rgm@gnu.org>
4620 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4622 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4624 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4625 keywords" below "here-doc beginnings" (Bug#15270).
4627 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4629 * subr.el (pop): Use `car-safe'.
4630 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4631 to detect unused `pop' return value.
4633 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4635 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4636 (python-fill-string): Remove unused var `marker'.
4637 (python-skeleton-add-menu-items): Remove unused var `items'.
4639 * international/mule-cmds.el: Require CL.
4640 (find-coding-systems-for-charsets): Avoid add-to-list.
4641 (sanitize-coding-system-list): New function, extracted from
4642 select-safe-coding-system-interactively.
4643 (select-safe-coding-system-interactively): Use it.
4644 (read-input-method-name): Accept symbols for `default'.
4646 * emacs-lisp/advice.el (defadvice): Add indent rule.
4648 2013-09-05 Daniel Hackney <dan@haxney.org>
4652 * net/browse-url.el:
4655 * net/eudcb-ldap.el:
4668 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4669 byte compiler. Remove some unused let-bound variables.
4671 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4673 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4674 a "ref-cell", since it gets better optimized (bug#14883).
4676 2013-09-05 Glenn Morris <rgm@gnu.org>
4678 * progmodes/cc-awk.el (c-forward-sws): Declare.
4680 2013-09-04 Glenn Morris <rgm@gnu.org>
4682 * generic-x.el [rul-generic-mode]: Require cc-mode.
4683 (c++-mode-syntax-table): Declare.
4684 (rul-generic-mode-syntax-table): Init in the defvar.
4686 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4688 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4689 (vc-do-command, vc-set-async-update):
4690 * vc/vc-mtn.el (vc-mtn-dir-status):
4691 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4692 (vc-hg-pull, vc-hg-merge-branch):
4693 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4694 (vc-git-merge-branch):
4695 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4696 (vc-cvs-dir-status-files):
4697 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4698 (vc-bzr-dir-status-files):
4699 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4700 * vc/vc-annotate.el: Use lexical-binding.
4701 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4702 (vc-sentinel-movepoint): Declare.
4703 (vc-annotate): Don't use `goto-line'.
4704 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4705 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4706 (vc-sentinel-movepoint): Declare.
4707 * vc/vc-svn.el: Use lexical-binding.
4708 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4710 * vc/vc-rcs.el: Use lexical-binding.
4712 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4713 `deleted'. Don't drop errors silently.
4715 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4717 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4719 * vc/vc.el (vc-ignore): Rewrite.
4720 (vc-default-ignore): New function.
4721 (vc-default-ignore-completion-table): Use find-ignore-file.
4723 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4724 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4725 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4726 Remove. Most code moved to vc.el.
4728 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4730 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4731 * net/tramp-smb.el (tramp-smb-get-file-entries):
4732 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4733 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4735 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4737 (eww-change-select): Remove unused var `properties'.
4738 (eww-make-unique-file-name): Remove unused var `base'.
4740 * finder.el (finder-compile-keywords): Don't mess with windows.
4742 * calculator.el (calculator-funcall): Fix typo in last change.
4744 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4746 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4747 <pkg>-autoloads.el file stop us.
4749 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4750 warnings, and factor out common code.
4752 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4754 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4755 two-character operators and whether the character preceding them
4756 changes their meaning (Bug#15208).
4758 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4760 Format code sent to Python shell for robustness.
4761 * progmodes/python.el (python-shell-buffer-substring):
4763 (python-shell-send-region, python-shell-send-buffer): Use it.
4765 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4767 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4768 * net/tramp.el (tramp-user-error): ... here.
4769 (tramp-find-method, tramp-check-proper-host)
4770 (tramp-dissect-file-name, tramp-debug-message)
4771 (tramp-handle-shell-command):
4772 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4773 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4775 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4777 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4779 * avoid.el (mouse-avoidance-point-position)
4780 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4783 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4785 * progmodes/python.el (python-shell-completion-get-completions):
4786 Drop use of deleted `comint-last-prompt-overlay'.
4787 (python-nav-if-name-main): New command.
4789 2013-09-01 Glenn Morris <rgm@gnu.org>
4791 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4792 Avoid leading space in $wins. Otherwise the sed command used by
4793 eg compile-main ends up containing "/*.el". (Bug#15170)
4795 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4797 2013-08-30 Glenn Morris <rgm@gnu.org>
4799 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4800 Fix is-this-a-directory logic. (Bug#15220)
4802 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4804 * textmodes/css-mode.el: Use SMIE.
4805 (css-smie-grammar): New var.
4806 (css-smie--forward-token, css-smie--backward-token)
4807 (css-smie-rules): New functions.
4808 (css-mode): Use them.
4809 (css-navigation-syntax-table): Remove var.
4810 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4811 (css-indent-calculate, css-indent-line): Remove functions.
4813 Misc changes to reduce use of `(lambda...); and other cleanups.
4814 * cus-edit.el: Use lexical-binding.
4815 (customize-push-and-save, customize-apropos)
4816 (custom-buffer-create-internal): Use closures.
4817 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4818 * progmodes/ada-xref.el: Use setq.
4819 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4820 * dframe.el: Use lexical-binding.
4821 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4822 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4823 * descr-text.el: Use lexical-binding.
4824 (describe-text-widget, describe-text-sexp, describe-property-list):
4826 * comint.el (comint-history-isearch-push-state): Use a closure.
4827 * calculator.el: Use lexical-binding.
4828 (calculator-number-to-string): Make it work with lexical-binding.
4829 (calculator-funcall): Same and use cl-letf.
4831 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4832 (lisp--company-doc-string, lisp--company-location): New functions.
4833 (lisp-completion-at-point): Use them to improve Company support.
4835 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4836 params of lambda expressions.
4837 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4838 (ruby-smie--opening-pipe-p): New function.
4839 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4840 symbols and matched |...| for formal params.
4841 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4842 from being treated as hanging. Handle "rescue".
4844 2013-08-29 Glenn Morris <rgm@gnu.org>
4846 * progmodes/cc-engine.el (c-pull-open-brace):
4847 Move definition before use.
4849 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4851 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4852 are immutable. Don't use `unsafe' any more.
4853 (cl--defsubst-expand): Don't substitute at the same time as keeping
4854 a residual unused let-binding. Don't use `unsafe' any more.
4856 2013-08-29 Glenn Morris <rgm@gnu.org>
4858 * calendar/cal-china.el (calendar-chinese-year-cache):
4861 * nxml/nxml-util.el (nxml-debug-clear-inside):
4862 Use cl-loop rather than loop.
4864 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4866 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4868 2013-08-28 Glenn Morris <rgm@gnu.org>
4870 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4872 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4874 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4876 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4878 * simple.el (repeat-complex-command--called-interactively-skip):
4880 (repeat-complex-command): Use it (bug#14136).
4882 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4883 (c-define-abbrev-table): Add `doc' argument.
4884 (c-mode-abbrev-table, c++-mode-abbrev-table)
4885 (objc-mode-abbrev-table, java-mode-abbrev-table)
4886 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4887 (awk-mode-abbrev-table): Use it.
4888 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4889 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4890 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4891 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4892 Move initialization into the declaration; and remove any
4895 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4896 and dynamic let binding.
4898 * vc/smerge-mode.el: Remove redundant :group args.
4900 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4903 2013-08-28 Juri Linkov <juri@jurta.org>
4905 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4906 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4907 (isearch-other-meta-char): Handle an undefined shifted printing
4908 character by downshifting it. (Bug#15200)
4910 2013-08-28 Juri Linkov <juri@jurta.org>
4912 * isearch.el (isearch-search): Change regexp error message for
4913 non-regexp searches. (Bug#15166)
4915 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4917 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4918 for portability to hosts where /bin/sh has problems.
4920 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4922 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4924 2013-08-27 Juri Linkov <juri@jurta.org>
4926 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4927 in the keyboard macro. (Bug#15126)
4929 2013-08-27 Juri Linkov <juri@jurta.org>
4931 * isearch.el (isearch-quote-char): Comment out converting unibyte
4932 to multibyte, thus syncing with its `quoted-insert' counterpart.
4935 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4937 * window.el (display-buffer-use-some-window): Add missing
4938 argument in call of get-largest-window (Bug#15185).
4939 Reported by Stephen Leake.
4941 2013-08-27 Glenn Morris <rgm@gnu.org>
4943 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4945 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4947 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4948 from a matcher-function unless there's no more matches (bug#15161).
4950 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4952 * minibuffer.el: Revert change from 2013-08-20.
4954 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4955 with text property `tramp-default', if appropriate.
4956 (tramp-check-proper-host): New defun.
4957 (tramp-dissect-file-name): Do not check hostname. Revert change
4959 (tramp-backtrace): Make VEC-OR-PROC optional.
4961 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4962 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4963 * net/tramp-sh.el (tramp-maybe-open-connection):
4964 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4965 Apply `tramp-check-proper-host'.
4967 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4969 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4970 lambda expression in order to have `describe-variable' display it.
4972 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4974 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4975 BUF can be optional. (Bug#15186)
4977 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4979 * progmodes/flymake.el (flymake-get-real-file-name-function):
4980 Fix broken customization. (Bug#15184)
4982 2013-08-25 Alan Mackenzie <acm@muc.de>
4984 Improve indentation of bracelists defined by macros (without "=").
4986 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4987 expansion begins with "{", regard it as bracelist when it doesn't
4990 Parse C++ inher-intro when there's a template split over 2 lines.
4992 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4993 rigorously the search for "class" etc. followed by ":".
4995 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4996 random languages a regexp which never matches rather than nil.
4998 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5000 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5001 (c-awk-regexp-one-line-possibly-open-char-list-re)
5002 (c-awk-one-line-possibly-open-regexp-re)
5003 (c-awk-one-line-non-syn-ws*-re): Remove.
5004 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5005 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5006 (c-awk-space*-unclosed-regexp-/-re): New constants.
5007 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5008 aren't regexp delimiters.
5010 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5011 handling for a rare situation in AWK Mode involving unterminated
5014 2013-08-23 Glenn Morris <rgm@gnu.org>
5016 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5018 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5020 * files.el (create-file-buffer): If the result would begin with
5021 spaces, prepend a "|" instead of removing them. (Bug#15162)
5023 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5025 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5026 text-properties (bug#15155).
5028 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5030 (calc-keypad-redraw): Remove unused var `pad'.
5031 (calc-keypad-press): Remove unused var `menu'.
5033 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5035 * window.el (display-buffer-pop-up-frame):
5036 Call pop-up-frame-function with BUFFER current so `make-frame' will
5037 use it as the new frame's buffer (Bug#15133).
5039 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5041 * calendar/timeclock.el: Minor cleanups.
5042 (timeclock-ask-before-exiting, timeclock-use-display-time):
5044 (timeclock-modeline-display): Define as alias before the
5046 (timeclock-mode-line-display): Use define-minor-mode.
5047 (timeclock-day-list-template): Make it a function, add an argument.
5048 (timeclock-day-list-required, timeclock-day-list-length)
5049 (timeclock-day-list-debt, timeclock-day-list-span)
5050 (timeclock-day-list-break): Adjust calls accordingly.
5052 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5054 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5055 Use read--expression so that completion works again.
5057 2013-08-21 Sam Steingold <sds@gnu.org>
5059 Add rudimentary inferior shell interaction
5060 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5061 (sh-set-shell): Reset it.
5062 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5063 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5065 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5067 * align.el: Use lexical-binding.
5068 (align-region): Simplify accordingly.
5070 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5072 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5074 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5077 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5081 * net/tramp-cmds.el:
5083 * net/tramp-gvfs.el:
5085 * net/tramp-sh.el: Don't wrap external variable declarations by
5086 `eval-when-compile'.
5088 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5090 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5091 now that Emacs supports ImageMagick animations.
5093 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5095 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5096 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5098 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5100 * window.el (mouse-autoselect-window-select): Do autoselect when
5101 mouse pointer is on margin.
5103 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5105 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5107 2013-08-16 Glenn Morris <rgm@gnu.org>
5109 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5110 Handle "Remote Directory" response of some clients. (Bug#15058)
5112 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5113 Tweak warning. (Bug#14926)
5115 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5116 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5118 * image-mode.el (image-mode-map): Add menu items to reverse,
5119 increase, decrease, reset animation speed.
5120 (image--set-speed, image-increase-speed, image-decrease-speed)
5121 (image-reverse-speed, image-reset-speed): New functions.
5122 (image-mode-map): Add bindings for speed commands.
5124 * image.el (image-animate-get-speed, image-animate-set-speed):
5126 (image-animate-timeout): Respect image :speed property.
5128 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5130 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5131 previous line (bug#15101).
5132 (debugger-eval-expression, debugger-record-expression):
5133 Use read--expression (bug#15102).
5135 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5137 Remove byte compiler warnings, visible when compiling with
5138 `byte-compile-force-lexical-warnings' set to t.
5140 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5141 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5142 (tramp-handle-unhandled-file-name-directory)
5143 (tramp-handle-file-notify-add-watch, tramp-action-login)
5144 (tramp-action-succeed, tramp-action-permission-denied)
5145 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5148 * net/tramp-adb.el (tramp-adb-parse-device-names)
5149 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5150 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5151 (tramp-adb-handle-file-truename): Remove unused arguments.
5153 * net/tramp-cache.el (tramp-flush-directory-property)
5154 (tramp-flush-connection-property, tramp-list-connections)
5155 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5157 * net/tramp-compat.el (tramp-compat-make-temp-file):
5158 Rename FILENAME to F.
5160 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5161 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5162 (tramp-zeroconf-parse-workstation-device-names)
5163 (tramp-zeroconf-parse-webdav-device-names)
5164 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5166 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5167 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5169 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5171 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5172 (tramp-sh-handle-insert-file-contents-literally)
5173 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5175 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5176 Remove unused variables.
5178 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5179 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5180 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5182 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5183 Make them a defconst.
5184 (tramp-uuencode-region): Remove unused variable.
5186 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5188 * frameset.el (frameset--prop-setter): New function.
5189 (frameset-prop): Add gv-setter declaration.
5190 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5191 parameter was already set in FILTERED. Doc fix.
5192 (frameset--record-minibuffer-relationships): Allow saving a
5193 minibufferless frame without its corresponding minibuffer frame.
5194 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5195 frame, if the frame id matches.
5196 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5197 frames before orphaned ones.
5198 (frameset-restore): Warn about orphaned windows, instead of error out.
5200 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5202 * window.el (window-make-atom): Don't overwrite parameter
5204 (display-buffer-in-atom-window): Handle special case where we
5205 split an already atomic window.
5206 (window--major-non-side-window, display-buffer-in-side-window)
5207 (window--side-check): Ignore minibuffer window when walking
5209 (window-deletable-p): Return 'frame only if no other frame uses
5210 our minibuffer window.
5211 (record-window-buffer): Run buffer-list-update-hook.
5212 (split-window): Make sure window--check-frame won't destroy an
5213 existing atomic window in case the new window gets nested
5215 (display-buffer-at-bottom): Ignore minibuffer window when
5216 walking window tree. Don't split a side window.
5217 (pop-to-buffer): Don't set-buffer here, the select-window call
5219 (mouse-autoselect-window-select): Autoselect only if we are in the
5220 text portion of the window.
5222 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5224 * net/shr.el (shr-parse-image-data): New function to grab both the
5225 data itself and the Content-Type.
5226 (shr-put-image): Use it.
5228 * net/eww.el (eww-display-image): Ditto.
5230 * image.el (image-content-type-suffixes): New variable.
5232 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5234 * progmodes/python.el (python-imenu--build-tree)
5235 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5237 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5239 * simple.el (backward-word): Mention the optional argument.
5241 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5243 * frameset.el (frameset--make): Rename constructor from make-frameset.
5244 (frameset-p, frameset-valid-p): Don't autoload.
5245 (frameset-valid-p): Use normal accessors.
5247 2013-08-13 Glenn Morris <rgm@gnu.org>
5249 * progmodes/compile.el (compile-command): Tweak example in doc.
5250 * obsolete/scribe.el (scribe-mode):
5251 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5253 * mail/feedmail.el (feedmail-confirm-outgoing)
5254 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5256 * cus-start.el (truncate-partial-width-windows): Fix type.
5258 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5260 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5262 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5264 * emacs-lisp/timer.el (timer--time-setter): New function.
5265 (timer--time): Use it as gv-setter.
5267 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5268 setter is not a symbol.
5270 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5272 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5273 if sending fails. This makes debugging easier.
5275 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5277 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5278 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5279 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5281 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5283 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5285 2013-08-12 Glenn Morris <rgm@gnu.org>
5287 * format.el (format-annotate-function):
5288 Handle read-only text properties in the source. (Bug#14887)
5290 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5292 * net/eww.el (eww-display-html): Ignore coding system errors.
5293 One web site uses "utf-8lias" as the coding system.
5295 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5297 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5299 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5301 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5302 (tutorial--detailed-help): Remove unused local variables.
5303 (tutorial--save-tutorial-to): Use ignore-errors.
5304 (help-with-tutorial): Use looking-at-p.
5306 * view.el (view-buffer-other-window, view-buffer-other-frame):
5307 Mark unused arguments.
5309 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5310 (woman-select-symbol-fonts, woman, woman-find-file)
5311 (woman-insert-file-contents, woman-non-underline-faces):
5313 (woman1-unquote): Move declaration.
5315 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5316 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5317 argument. Remove unused local variable.
5318 (xml-parse-elem-type): Use string-match-p.
5319 (xml-substitute-numeric-entities): Use ignore-errors.
5321 * calculator.el (calculator): Mark unused argument.
5322 (calculator-paste, calculator-quit, calculator-integer-p):
5324 (calculator-string-to-number, calculator-decimal, calculator-exp)
5325 (calculator-op-or-exp): Use string-match-p.
5327 * dired.el (dired-buffer-more-recently-used-p): Declare.
5328 (dired-insert-set-properties, dired-insert-old-subdirs):
5331 * dired-aux.el (dired-compress): Use ignore-errors.
5332 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5333 (dired-do-async-shell-command, dired-do-shell-command)
5334 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5335 (dired-insert-subdir-validate): Use string-match-p.
5336 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5337 (dired-add-entry): Use string-match-p, looking-at-p.
5338 (dired-insert-subdir-newpos): Remove unused local variable.
5340 * filenotify.el (file-notify-callback): Remove unused local variable.
5342 * filesets.el (filesets-error): Mark unused argument.
5343 (filesets-which-command-p, filesets-filter-dir-names)
5344 (filesets-directory-files, filesets-get-external-viewer)
5345 (filesets-ingroup-get-data): Use string-match-p.
5347 * find-file.el (ff-other-file-name, ff-other-file-name)
5348 (ff-find-the-other-file, ff-cc-hh-converter):
5349 Remove unused local variables.
5350 (ff-get-file-name): Use string-match-p.
5351 (ff-all-dirs-under): Use ignore-errors.
5353 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5354 (follow-select-if-visible): Remove unused local variable.
5356 * forms.el (read-file-filter): Move declaration.
5357 (forms--make-format, forms--make-parser, forms-insert-record):
5358 Quote function with #'.
5359 (forms--update): Use string-match-p. Quote function with #'.
5361 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5362 (help-make-xrefs): Use looking-at-p.
5363 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5365 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5366 (ibuffer-confirm-operation-on): Use string-match-p.
5368 * msb.el (msb-item-handler, msb-dired-item-handler):
5369 Mark unused arguments.
5371 * ses.el (ses-decode-cell-symbol)
5372 (ses-kill-override): Remove unused local variable.
5373 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5374 (ses-load): Use ignore-errors, looking-at-p.
5375 (ses-jump-safe): Use ignore-errors.
5376 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5378 * tabify.el (untabify, tabify): Mark unused arguments.
5380 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5381 Mark unused argument.
5382 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5383 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5385 * emacs-lisp/timer.el (timer--time): Define setter with
5386 gv-define-setter to avoid deprecation warning.
5388 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5389 (*record-cmpl-statistics-p*): Remove (was commented out).
5390 (cmpl-statistics-block): Remove (body was commented out).
5391 All callers changed.
5392 (add-completions-from-buffer, load-completions-from-file):
5393 Remove unused variables.
5395 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5397 * filecache.el (file-cache-delete-file-list):
5398 Print message only when told so.
5399 (file-cache-files-matching): Use #' in mapconcat argument.
5401 * ffap.el (ffap-url-at-point): Fix reference to variable
5402 thing-at-point-default-mail-uri-scheme.
5404 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5406 * subr.el (define-error): New function.
5407 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5408 error-file-not-found and define with define-error.
5409 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5410 and define with define-error.
5411 * userlock.el (file-locked, file-supersession):
5412 * simple.el (mark-inactive):
5413 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5414 * progmodes/ada-mode.el (ada-mode-errors):
5415 * play/life.el (life-extinct):
5416 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5417 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5418 * nxml/rng-util.el (rng-error):
5419 * nxml/rng-uri.el (rng-uri-error):
5420 * nxml/rng-match.el (rng-compile-error):
5421 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5422 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5423 * nxml/nxml-rap.el (nxml-scan-error):
5424 * nxml/nxml-outln.el (nxml-outline-error):
5425 * net/soap-client.el (soap-error):
5426 * net/gnutls.el (gnutls-error):
5427 * net/ange-ftp.el (ftp-error):
5428 * mpc.el (mpc-proc-error):
5429 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5430 (json-number-format, json-string-escape, json-string-format)
5431 (json-key-format, json-object-format):
5432 * jka-compr.el (compression-error):
5433 * international/quail.el (quail-error):
5434 * international/kkc.el (kkc-error):
5435 * emacs-lisp/ert.el (ert-test-failed):
5436 * calc/calc.el (calc-error, inexact-result, math-overflow)
5438 * bookmark.el (bookmark-error-no-filename):
5439 * epg.el (epg-error): Define with define-error.
5441 * time.el (display-time-event-handler)
5442 (display-time-next-load-average): Don't call sit-for since it seems
5443 unnecessary (bug#15045).
5445 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5446 Use #' instead of ' to quote functions.
5447 (checkdoc-output-mode): Use setq-local.
5448 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5449 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5450 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5451 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5452 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5453 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5454 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5455 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5457 * ido.el (ido-completion-help): Fix up compiler warning.
5459 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5461 * frameset.el (frameset-p): Add autoload cookie.
5462 (frameset--jump-to-register): New function, based on code moved from
5464 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5466 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5467 (frameset-restore, frameset-save, frameset-session-filter-alist):
5468 Remove declarations.
5469 (register-alist): Doc fix.
5470 (frameset-to-register): Move to frameset.el.
5471 (jump-to-register, describe-register-1): Remove frameset-specific code.
5473 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5475 * allout-widgets.el (allout-widgets-pre-command-business)
5476 (allout-widgets-post-command-business)
5477 (allout-widgets-after-change-handler)
5478 (allout-decorate-item-and-context, allout-set-boundary-marker)
5479 (allout-body-modification-handler)
5480 (allout-graphics-modification-handler): Mark ignored arguments.
5481 (allout-widgets-post-command-business)
5482 (allout-widgets-exposure-change-processor)
5483 (allout-widgets-exposure-undo-processor)
5484 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5485 (allout-parse-item-at-point, allout-decorate-item-guides)
5486 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5487 * allout.el (epa-passphrase-callback-function): Declare.
5488 (allout-overlay-insert-in-front-handler)
5489 (allout-overlay-interior-modification-handler)
5490 (allout-isearch-end-handler, allout-chart-siblings)
5491 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5492 (allout-yank-processing, allout-process-exposed)
5493 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5494 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5495 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5496 (lisp-indent-defform): Mark ignored arguments.
5497 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5498 (calculate-lisp-indent): Remove unused variables.
5499 * international/characters.el (indian-2-column, arabic-2-column)
5500 (tibetan): Mark ignored arguments.
5501 (use-cjk-char-width-table): Mark ignored arguments.
5502 Remove unused variables.
5503 * international/fontset.el (build-default-fontset-data)
5504 (x-compose-font-name, create-fontset-from-fontset-spec):
5505 Mark ignored arguments.
5506 (fontset-plain-name): Remove unused variables.
5507 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5508 (keyboard-coding-system): Mark ignored arguments.
5509 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5510 * help.el (resize-temp-buffer-window):
5511 * window.el (display-buffer-in-major-side-window)
5512 (display-buffer-in-side-window, display-buffer-in-previous-window):
5513 Remove unused variables.
5514 * isearch.el (isearch-forward-symbol):
5515 * version.el (emacs-bzr-version-bzr):
5516 * international/mule-cmds.el (current-language-environment):
5517 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5519 * term/pc-win.el (x-list-fonts, x-display-planes)
5520 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5521 (x-server-version, x-display-screens, x-display-mm-height)
5522 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5523 (x-selection-owner-p, x-own-selection-internal)
5524 (x-disown-selection-internal, x-get-selection-internal)
5525 (msdos-initialize-window-system):
5526 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5527 * term/x-win.el (x-handle-no-bitmap-icon):
5528 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5529 (vc-default-find-file-hook, vc-default-extra-menu):
5530 Mark ignored arguments.
5532 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5534 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5535 break-condition in the context of the debugged code (bug#12685).
5537 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5540 Do not use an overlay to highlight the last prompt. (Bug#14744)
5541 (comint-mode): Make comint-last-prompt buffer local.
5542 (comint-last-prompt): New variable.
5543 (comint-last-prompt-overlay): Remove. Superseded by
5545 (comint-snapshot-last-prompt, comint-output-filter):
5546 Use comint-last-prompt.
5548 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5550 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5551 (frameset-save): Check validity of the resulting frameset.
5553 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5555 * ido.el (ido-record-command): Add doc string.
5557 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5559 * frameset.el (frameset): Do not disable creation of the default
5560 frameset-p predicate. Doc fix.
5561 (frameset-valid-p): New function, copied from the old predicate-p.
5562 Add additional checks.
5563 (frameset-restore): Check with frameset-valid-p.
5564 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5565 (frameset-name, frameset-description, frameset-properties)
5566 (frameset-states): Add docstring.
5567 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5568 (frameset-filter-alist): Doc fixes.
5570 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5572 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5574 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5576 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5577 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5578 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5579 (byte-compile-normal-call): Remove obsolescence check.
5581 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5583 * frameset.el (frameset-restore): Doc fix.
5585 * register.el (frameset-frame-id, frameset-frame-with-id)
5586 (frameset-p, frameset-restore, frameset-save): Declare.
5587 (register-alist): Document framesets.
5588 (frameset-session-filter-alist): Declare.
5589 (frameset-to-register): New function.
5590 (jump-to-register): Implement jumping to framesets. Doc fix.
5591 (describe-register-1): Describe framesets.
5593 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5595 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5597 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5598 Use lexical-binding.
5600 * frameset.el (frameset): Use type vector, not list (incompatible
5601 change). Do not declare a new constructor, use the default one.
5602 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5603 `name' and `description', respectively, and add read-only slot
5604 `timestamp'. Doc fixes.
5605 (frameset-copy, frameset-persistent-filter-alist)
5606 (frameset-filter-alist, frameset-switch-to-gui-p)
5607 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5608 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5609 (frameset-filter-iconified, frameset-keep-original-display-p):
5611 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5612 Rename from frameset-filter-(save|restore)-param. All callers changed.
5614 (frameset-p): Adapt to change to vector and be more thorough.
5615 Change arg name to OBJECT. Doc fix.
5616 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5617 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5618 All callers changed.
5619 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5620 All callers changed.
5621 (frameset--record-minibuffer-relationships): Rename from
5622 frameset--process-minibuffer-frames. All callers changed.
5623 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5624 Use new default constructor (again). Doc fix.
5625 (frameset--find-frame-if): Rename from `frameset--find-frame.
5626 All callers changed.
5627 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5628 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5630 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5631 PARAMETERS and WINDOW-STATE, respectively.
5632 (frameset-restore): Add new keyword argument PREDICATE.
5633 Reset frameset--target-display to nil. Doc fix.
5635 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5637 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5639 (bat-mode-syntax-table): Mark \n as end-of-comment.
5640 (bat-font-lock-keywords): Remove comment rule.
5642 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5643 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5645 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5646 (byte-compile-callargs-warn): Use `push'.
5647 (byte-compile-arglist-warn): Ignore higher-order "calls".
5648 (byte-compile-file-form-autoload): Use `pcase'.
5649 (byte-compile-function-form): If quoting a symbol, check that it exists.
5651 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5653 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5654 and add a few popular commands found in batch files.
5655 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5656 (dos-mode): Doc fixes.
5658 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5660 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5661 (dos-mode): Use setq-local. Add space after "rem".
5662 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5663 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5665 2013-08-07 Arni Magnusson <arnima@hafro.is>
5667 * progmodes/dos.el: New file.
5668 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5671 2013-08-06 Glenn Morris <rgm@gnu.org>
5673 * calendar/calendar.el: Add new faces, and day-header-array.
5674 (calendar-weekday-header, calendar-weekend-header)
5675 (calendar-month-header): New faces.
5676 (calendar-day-header-construct): New function.
5677 (calendar-day-header-width): Also :set calendar-day-header-array.
5678 (calendar-american-month-header, calendar-european-month-header)
5679 (calendar-iso-month-header): Use calendar- faces.
5680 (calendar-generate-month):
5681 Use calendar-day-header-array for day headers; apply faces to them.
5682 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5683 (calendar-abbrev-construct): Add optional maxlen argument.
5684 (calendar-day-name-array): Doc fix.
5685 (calendar-day-name-array, calendar-abbrev-length)
5686 (calendar-day-abbrev-array):
5687 Also :set calendar-day-header-array, and maybe redraw.
5688 (calendar-day-header-array): New option. (Bug#15007)
5689 (calendar-font-lock-keywords): Set to nil and make obsolete.
5690 (calendar-day-name): Add option to use header array.
5692 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5694 * net/shr.el (shr-render-td): Remove debugging.
5695 (shr-render-td): Make width computation consistent by defaulting
5696 all zero-width columns to 10 characters. This may not be optimal,
5697 but it's at least consistent.
5698 (shr-make-table-1): Redo last change to fix the real problem in
5701 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5703 * files.el (cache-long-line-scans):
5704 Make obsolete alias to `cache-long-scans'.
5706 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5708 * frameset.el (frameset, frameset-filter-alist)
5709 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5710 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5711 (frameset-compute-pos): Rename from frameset--compute-pos,
5713 (frameset-move-onscreen): Use frameset-compute-pos.
5714 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5716 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5717 Fix typos in docstrings.
5719 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5721 * frame.el (get-other-frame): Tiny cleanup.
5723 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5725 * vc/vc.el (vc-default-ignore-completion-table):
5726 Silence byte-compiler warning.
5728 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5729 slot , which can indeed be nil.
5730 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5731 Move entry for `left' from persistent to live filter alist.
5732 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5734 (frameset-filter-params): When restoring a frame, copy items added to
5735 `filtered', to avoid unwittingly modifying the original parameters.
5736 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5737 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5739 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5740 to use looking-at-p instead of looking-at. (Bug#15028)
5742 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5744 Revert introduction of isearch-filter-predicates (bug#14714).
5745 Rely on add-function instead.
5746 * isearch.el (isearch-filter-predicates): Rename it back to
5747 isearch-filter-predicate.
5748 (isearch-message-prefix): Use advice-function-mapc and advice
5749 properties to get the isearch-message-prefix.
5750 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5751 instead of run-hook-with-args-until-failure.
5752 (isearch-filter-visible): Not obsolete any more.
5753 * loadup.el: Preload nadvice.
5754 * replace.el (perform-replace): Revert to funcall
5755 instead of run-hook-with-args-until-failure.
5756 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5757 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5758 dired-isearch-filenames-toggle; make it into a proper minor mode.
5759 Use add/remove-function.
5760 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5761 Call the minor-mode rather than add/remove-hook.
5762 (dired-isearch-filter-filenames):
5763 Remove isearch-message-prefix property.
5764 * info.el (Info--search-loop): New function, extracted from Info-search.
5765 Funcall isearch-filter-predicate instead of
5766 run-hook-with-args-until-failure isearch-filter-predicates.
5767 (Info-search): Use it.
5768 (Info-mode): Use isearch-filter-predicate instead of
5769 isearch-filter-predicates.
5771 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5773 Do not call to `selected-window' where it is assumed by default.
5774 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5775 `window-hscroll', `window-width', `window-height', `window-buffer',
5776 `window-frame', `window-start', `window-point', `next-window'
5777 and `window-display-table'.
5778 * abbrev.el (abbrev--default-expand):
5779 * bs.el (bs--show-with-configuration):
5780 * buff-menu.el (Buffer-menu-mouse-select):
5781 * calc/calc.el (calc):
5782 * calendar/calendar.el (calendar-generate-window):
5783 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5785 * comint.el (send-invisible, comint-dynamic-complete-filename)
5786 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5787 * completion.el (complete):
5788 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5789 * disp-table.el (describe-current-display-table):
5790 * doc-view.el (doc-view-insert-image):
5791 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5792 * ehelp.el (with-electric-help):
5793 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5794 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5795 * emacs-lisp/helper.el (Helper-help-scroller):
5796 * emulation/cua-base.el (cua--post-command-handler-1):
5797 * eshell/esh-mode.el (eshell-output-filter):
5798 * ffap.el (ffap-gnus-wrapper):
5799 * help-macro.el (make-help-screen):
5800 * hilit-chg.el (highlight-compare-buffers):
5801 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5802 * hl-line.el (global-hl-line-highlight):
5803 * icomplete.el (icomplete-simple-completing-p):
5804 * isearch.el (isearch-done):
5805 * jit-lock.el (jit-lock-stealth-fontify):
5806 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5807 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5808 * mpc.el (mpc-tagbrowser, mpc):
5809 * net/rcirc.el (rcirc-any-buffer):
5810 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5811 * play/landmark.el (landmark-max-width, landmark-max-height):
5812 * play/zone.el (zone):
5813 * progmodes/compile.el (compilation-goto-locus):
5814 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5815 * progmodes/etags.el (find-tag-other-window):
5816 * progmodes/fortran.el (fortran-column-ruler):
5817 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5818 * progmodes/verilog-mode.el (verilog-point-text):
5819 * reposition.el (reposition-window):
5820 * rot13.el (toggle-rot13-mode):
5821 * server.el (server-switch-buffer):
5822 * shell.el (shell-dynamic-complete-command)
5823 (shell-dynamic-complete-environment-variable):
5824 * simple.el (insert-buffer, set-selective-display)
5825 (delete-completion-window):
5826 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5827 (speedbar-recenter):
5828 * startup.el (fancy-splash-head):
5829 * textmodes/ispell.el (ispell-command-loop):
5830 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5831 * tutorial.el (help-with-tutorial):
5832 * vc/add-log.el (add-change-log-entry):
5833 * vc/compare-w.el (compare-windows):
5834 * vc/ediff-help.el (ediff-indent-help-message):
5835 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5836 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5837 (ediff-setup-control-frame):
5838 * vc/emerge.el (emerge-position-region):
5839 * vc/pcvs-util.el (cvs-bury-buffer):
5840 * window.el (walk-windows, mouse-autoselect-window-select):
5841 * winner.el (winner-set-conf, winner-undo): Related users changed.
5843 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5845 * frameset.el (frameset--set-id): Doc fix.
5846 (frameset-frame-id, frameset-frame-id-equal-p)
5847 (frameset-locate-frame-id): New functions.
5848 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5849 (frameset-restore): Use them.
5851 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5853 Do not call to `selected-frame' where it is assumed by default.
5854 Affected functions are `raise-frame', `redraw-frame',
5855 `frame-first-window', `frame-terminal' and `delete-frame'.
5856 * calendar/appt.el (appt-disp-window):
5857 * epg.el (epg-wait-for-completion):
5858 * follow.el (follow-delete-other-windows-and-split)
5859 (follow-avoid-tail-recenter):
5860 * international/mule.el (set-terminal-coding-system):
5861 * mail/rmail.el (rmail-mail-return):
5862 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5863 * progmodes/f90.el (f90-add-imenu-menu):
5864 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5865 * server.el (server-switch-buffer):
5866 * simple.el (delete-completion-window):
5868 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5869 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5870 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5871 * vc/ediff.el (ediff-documentation): Related users changed.
5872 * frame.el (selected-terminal): Remove the leftover.
5874 2013-08-05 Glenn Morris <rgm@gnu.org>
5876 * calendar/calendar.el (calendar-generate-month):
5877 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5878 (calendar-generate-month, calendar-font-lock-keywords):
5879 Fix for calendar-day-header-width > length of any day name.
5881 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5883 * desktop.el (desktop-clear): Use new name of sort predicate.
5885 * frameset.el (frameset): Add docstring. Move :version property to its
5887 (frameset-copy): Rename from copy-frameset.
5888 (frameset-p): Check more thoroughly.
5889 (frameset-prop): Do not check for :version, which is no longer a prop.
5890 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5891 Use new :never value instead of t.
5892 (frameset-filter-alist): Expand and clarify docstring.
5893 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5894 (frameset-filter-minibuffer, frameset-filter-save-param)
5895 (frameset-filter-restore-param, frameset-filter-iconified):
5896 Add pointer to docstring of frameset-filter-alist.
5897 (frameset-filter-params): Rename filter values to be more meaningful:
5898 :never instead of t, and reverse the meanings of :save and :restore.
5899 (frameset--process-minibuffer-frames): Clarify error message.
5900 (frameset-save): Avoid unnecessary and confusing call to framep.
5901 Use new BOA constructor for framesets.
5902 (frameset--reuse-list): Doc fix.
5903 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5904 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5905 (frameset-minibufferless-first-p): Doc fix.
5906 Rename from frameset-sort-frames-for-deletion.
5907 (frameset-restore): Doc fixes. Use new function names.
5908 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5910 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5912 * desktop.el (desktop-restore-forces-onscreen)
5913 (desktop-restore-reuses-frames): Document :keyword constant values.
5914 (desktop-filter-parameters-alist): Remove, now identical to
5915 frameset-filter-alist.
5916 (desktop--filter-tty*): Remove, moved to frameset.el.
5917 (desktop-save-frameset, desktop-restore-frameset):
5918 Do not pass :filters argument.
5920 * frameset.el (frameset-live-filter-alist)
5921 (frameset-persistent-filter-alist): New variables.
5922 (frameset-filter-alist): Use them. Add autoload cookie.
5923 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5924 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5925 `frameset--id' (it's supposed to be internal to frameset.el).
5926 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5927 (frameset--initial-params): New function.
5928 (frameset--get-frame): Use it. Doc fix.
5929 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5930 Accept :all, not 'all.
5931 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5932 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5933 with fbound symbols. Fix frame id matching, and remove matching ids if
5934 the frame being restored is deleted. Obey :delete.
5936 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5938 * subr.el (macrop): New function.
5939 (text-clone--maintaining): New var.
5940 (text-clone--maintain): Rename from text-clone-maintain. Use it
5941 instead of inhibit-modification-hooks.
5943 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5944 a proxy, so as handle autoloads and redefinitions of the target.
5945 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5947 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5948 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5949 (pcase--mutually-exclusive-p): New function.
5950 (pcase--split-consp): Use it.
5951 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5952 mutually exclusive with the current predicate.
5954 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5955 (edebug-macrop): Remove. Use `macrop' instead.
5956 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5958 * eshell/esh-cmd.el (eshell-macrop):
5959 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5961 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5963 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5964 (advice-mapc): New function, using it.
5965 (advice-function-member-p): New function.
5966 (advice--normalize): Store the cdr in advice--saved-rewrite since
5967 that's the part that will be changed.
5968 (advice--symbol-function): New function.
5969 (advice-remove): Handle removal before the function is defined.
5970 Adjust to new advice--saved-rewrite.
5971 (advice-member-p): Use advice-function-member-p and
5972 advice--symbol-function.
5974 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5976 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5977 (frameset-filter-minibuffer): Doc fix.
5978 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5979 (frameset--set-id, frameset--process-minibuffer-frames)
5980 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5981 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5983 * desktop.el (desktop-clear): Only delete frames when called
5984 interactively and desktop-restore-frames is non-nil. Doc fix.
5985 (desktop-read): Set desktop-saved-frameset to nil.
5987 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5989 * vc/vc.el (vc-ignore): Rewrite.
5990 (vc-default-ignore-completion-table):
5992 (vc--add-line, vc--remove-regexp): New functions.
5994 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5995 (vc-svn-ignore-completion-table): New function.
5997 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5998 (vc-hg-ignore-completion-table):
5999 (vc-hg-find-ignore-file): New functions.
6001 * vc/vc-git.el (vc-git-ignore): Rewrite.
6002 (vc-git-ignore-completion-table):
6003 (vc-git-find-ignore-file): New functions.
6005 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6007 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6008 (vc-bzr-ignore-completion-table):
6009 (vc-bzr-find-ignore-file): New functions.
6011 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6013 * frameset.el (frameset-prop): New function and setter.
6014 (frameset-save): Do not modify frame list passed by the caller.
6016 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6018 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6020 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6022 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6023 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6025 * custom.el (custom-initialize-default, custom-initialize-set)
6026 (custom-initialize-reset, custom-initialize-changed): Affect the
6027 toplevel-default-value (bug#6275, bug#14586).
6028 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6031 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6033 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6034 Add cl-def* expressions.
6036 * frameset.el (frameset-filter-params): Fix order of arguments.
6038 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6040 Move code related to saving frames to frameset.el.
6041 * desktop.el: Require frameset.
6042 (desktop-restore-frames): Doc fix.
6043 (desktop-restore-reuses-frames): Rename from
6044 desktop-restoring-reuses-frames.
6045 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6046 (desktop-clear): Clear frames too.
6047 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6048 (desktop--filter-tty*, desktop-save, desktop-read):
6049 Use frameset functions.
6050 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6051 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6052 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6053 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6054 (desktop--process-minibuffer-frames, desktop-save-frames)
6055 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6056 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6057 (desktop--sort-states, desktop-restoring-frames-p)
6058 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6059 (desktop-restoring-frameset-p, desktop-restore-frameset)
6060 (desktop--check-dont-save, desktop-save-frameset): New functions.
6061 (desktop--app-id): New constant.
6062 (desktop-first-buffer, desktop-buffer-ok-count)
6063 (desktop-buffer-fail-count): Move before first use.
6064 * frameset.el: New file.
6066 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6068 * files.el: Use lexical-binding.
6069 (dir-locals-read-from-file): Remove unused `err' variable.
6070 (hack-dir-local-variables--warned-coding): New var.
6071 (hack-dir-local-variables): Use it to avoid repeated warnings.
6072 (make-backup-file-name--default-function): New function.
6073 (make-backup-file-name-function): Use it as default.
6074 (buffer-stale--default-function): New function.
6075 (buffer-stale-function): Use it as default.
6076 (revert-buffer-insert-file-contents--default-function): New function.
6077 (revert-buffer-insert-file-contents-function): Use it as default.
6078 (insert-directory): Avoid add-to-list.
6080 * autorevert.el (auto-revert-handler): Simplify.
6081 Use buffer-stale--default-function.
6083 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6085 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6087 * whitespace.el (whitespace-ensure-local-variables): New function.
6088 (whitespace-cleanup-region): Call it.
6089 (whitespace-turn-on): Call it.
6091 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6093 Complete file name handlers.
6095 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6096 (tramp-handle-verify-visited-file-modtime)
6097 (tramp-handle-file-notify-rm-watch): New functions.
6098 (tramp-call-process): Do not bind `default-directory'.
6100 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6101 Order alphabetically.
6102 [access-file, add-name-to-file, dired-call-process]:
6103 [dired-compress-file, file-acl, file-notify-rm-watch]:
6104 [file-ownership-preserved-p, file-selinux-context]:
6105 [make-directory-internal, make-symbolic-link, set-file-acl]:
6106 [set-file-selinux-context, set-visited-file-modtime]:
6107 [verify-visited-file-modtime]: Add handler.
6108 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6110 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6111 [file-notify-add-watch, file-notify-rm-watch]:
6112 [set-file-times, set-visited-file-modtime]:
6113 [verify-visited-file-modtime]: Add handler.
6114 (with-tramp-gvfs-error-message)
6115 (tramp-gvfs-handle-set-visited-file-modtime)
6116 (tramp-gvfs-fuse-file-name): Remove.
6117 (tramp-gvfs-handle-file-notify-add-watch)
6118 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6119 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6121 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6122 Order alphabetically.
6123 [file-notify-rm-watch ]: Use default Tramp handler.
6124 [executable-find]: Remove private handler.
6125 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6126 `default-directory'.
6127 (tramp-sh-handle-executable-find)
6128 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6129 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6130 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6131 Do not use `format' in `tramp-message'.
6133 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6134 [file-notify-rm-watch, set-visited-file-modtime]:
6135 [verify-visited-file-modtime]: Add handler.
6136 (tramp-smb-call-winexe): Do not bind `default-directory'.
6138 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6140 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6142 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6144 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6146 (log-view-diff-changeset): Same.
6147 (log-view-diff-common): Call backend command `previous-revision'
6148 to find out the previous revision, in both cases. Swap the
6149 variables `to' and `fr', so that `fr' usually refers to the
6150 earlier revision (Bug#14989).
6152 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6154 * ibuf-ext.el (ibuffer-filter-by-filename):
6155 Make it work with dired buffers too.
6157 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6159 * emacs-lisp/re-builder.el (reb-color-display-p):
6160 * files.el (save-buffers-kill-terminal):
6161 * net/browse-url.el (browse-url):
6162 * server.el (server-save-buffers-kill-terminal):
6163 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6164 Prefer nil to selected-frame for the first arg of frame-parameter.
6166 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6168 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6170 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6172 * minibuffer.el (completion--twq-all): Try and preserve each
6173 completion's case choice (bug#14907).
6175 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6177 * net/network-stream.el (open-network-stream): Mention the new
6178 :nogreeting parameter.
6179 (network-stream-open-starttls): Use the :nogreeting parameter
6182 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6184 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6185 more natural than popping.
6187 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6188 (shr-urlify): Highlight under mouse.
6190 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6192 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6194 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6196 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6199 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6200 point-min==1. Fix search string. Fix parentheses missing.
6202 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6203 assume point-min==1. Fix search string. Fix parentheses missing.
6205 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6207 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6210 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6212 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6213 initial frame is minibuffer-less. (Bug#14841)
6215 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6217 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6220 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6221 (tramp-maybe-open-connection): Use it.
6223 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6225 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6226 minimal set of parameters passed when creating a frame, because
6227 the minibuffer status of a frame cannot be changed later.
6229 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6231 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6232 replace-regexp-in-string and inadvertent omissions in previous change.
6233 (todo-filter-items): Ensure only file names are comma-separated in
6234 name of filtered items buffer.
6236 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6238 * desktop.el: Optionally force offscreen frames back onscreen.
6239 (desktop-restoring-reuses-frames): New option.
6240 (desktop--compute-pos, desktop--move-onscreen): New functions.
6241 (desktop--make-frame): Use desktop--move-onscreen.
6243 2013-07-27 Alan Mackenzie <acm@muc.de>
6245 Fontify a Java generic method as a function.
6246 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6249 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6251 * calendar/todo-mode.el: Add command to rename todo files.
6252 (todo-rename-file): New command.
6253 (todo-key-bindings-t): Add key binding for it. Change the
6254 bindings of todo-filter-regexp-items(-multifile) to use `x'
6255 instead of `r', since the latter is better suited to the new
6258 2013-07-27 Alan Mackenzie <acm@muc.de>
6260 Make Java try-with-resources statement parse properly.
6261 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6262 (c-block-stmt-1-2-key): New language constants/variables.
6263 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6264 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6265 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6266 with c-block-stmt-1-2-key.
6268 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6270 * desktop.el (desktop--make-frame): Apply most frame parameters after
6271 creating the frame to force (partially or totally) offscreen frames to
6272 be restored as such.
6274 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6276 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6279 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6281 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6282 `base' arg of backtrace-frame.
6284 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6286 * simple.el (list-processes): Doc fix.
6288 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6290 * desktop.el (desktop--select-frame):
6291 Try harder to reuse existing frames.
6293 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6295 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6296 (edebug-eval): Use backtrace-eval.
6297 (edebug--display, edebug--recursive-edit): Don't let-bind the
6298 edebug-outer-* vars that keep track of variables we locally let-bind.
6299 (edebug-outside-excursion): Don't restore outside values of locally
6301 (edebug--display): Use user-error.
6302 (cl-lexical-debug, cl-debug-env): Remove.
6304 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6306 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6307 are restored to be sure that they are visible before deleting any
6310 2013-07-26 Matthias Meulien <orontee@gmail.com>
6312 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6313 vc-print-root-log. (Bug#14948)
6315 2013-07-26 Richard Stallman <rms@gnu.org>
6317 Add aliases for encrypting mail.
6318 * epa.el (epa-mail-aliases): New option.
6319 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6320 Bind inhibit-read-only so read-only text doesn't ruin everything.
6321 (epa-mail-default-recipients): New subroutine broken out.
6322 Handle epa-mail-aliases.
6324 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6326 Add support for lexical variables to the debugger's `e' command.
6327 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6328 vars, except for debugger-outer-match-data.
6329 (debugger-frame-number): Move check for "on a function call" from
6330 callers into it. Add `skip-base' argument.
6331 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6332 (debugger-env-macro): Only reset the state stored in non-variables,
6333 i.e. current-buffer and match-data.
6334 (debugger-eval-expression): Rewrite using backtrace-eval.
6335 * subr.el (internal--called-interactively-p--get-frame): Remove.
6336 (called-interactively-p):
6337 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6338 `base' arg of backtrace-frame instead.
6340 2013-07-26 Glenn Morris <rgm@gnu.org>
6342 * align.el (align-regexp): Doc fix. (Bug#14857)
6343 (align-region): Explicit error if subexpression missing/does not match.
6345 * simple.el (global-visual-line-mode):
6346 Do not duplicate the mode lighter. (Bug#14858)
6348 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6350 * window.el (display-buffer): In display-buffer bind
6351 split-window-keep-point to t, bug#14829.
6353 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6355 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6356 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6357 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6358 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6360 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6361 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6363 2013-07-25 Glenn Morris <rgm@gnu.org>
6365 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6367 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6369 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6370 parameter to modify-frame-parameters if the value has not changed;
6371 this is a workaround for bug#14949.
6372 (desktop--make-frame): On cl-delete-if call, check parameter name,
6375 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6377 * vc/vc.el (vc-ignore): New function.
6379 * vc/vc-svn.el (vc-svn-ignore): New function.
6381 * vc/vc-hg.el (vc-hg-ignore): New function.
6383 * vc/vc-git.el (vc-git-ignore): New function.
6385 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6386 (vc-dir-ignore): New function.
6388 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6389 (cvs-append-to-ignore): Move here from pcvs.el.
6391 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6393 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6395 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6397 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6398 (desktop-restore-frames): Warn when deleting an existing frame failed.
6400 2013-07-24 Glenn Morris <rgm@gnu.org>
6402 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6404 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6406 * filenotify.el (file-notify-supported-p):
6407 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6410 * autorevert.el (auto-revert-use-notify):
6411 (auto-revert-notify-add-watch):
6412 * net/tramp.el (tramp-file-name-for-operation):
6413 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6414 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6415 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6416 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6417 Remove `file-notify-supported-p' entry.
6419 2013-07-24 Glenn Morris <rgm@gnu.org>
6421 * printing.el: Replace all uses of deleted ps-windows-system,
6422 ps-lp-system, ps-flatten-list with lpr- versions.
6424 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6426 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6427 checked with memq (bug#14935).
6429 * files.el (revert-buffer-function): Use a non-nil default.
6430 (revert-buffer-preserve-modes): Declare var to
6431 provide access to the `preserve-modes' argument.
6432 (revert-buffer): Let-bind it.
6433 (revert-buffer--default): New function, extracted from revert-buffer.
6435 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6437 * lpr.el: Signal print errors more prominently.
6438 (print-region-function): Don't default to nil.
6439 (lpr-print-region): New function, extracted from print-region-1.
6440 Check lpr's return value and signal an error in case of problem.
6441 (print-region-1): Use it.
6442 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6444 (ps-printer-name): Default to nil.
6445 (ps-printer-name-option): Default to lpr-printer-switch.
6446 (ps-print-region-function): Don't default to nil.
6447 (ps-postscript-code-directory): Simplify default.
6448 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6449 (ps-string-list, ps-eval-switch, ps-flatten-list)
6450 (ps-flatten-list-1): Remove.
6451 (ps-multibyte-buffer): Avoid setq.
6452 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6453 (print-region-function, ps-print-region-function): Don't set them here.
6455 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6457 * ido.el (ido-fractionp):
6458 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6459 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6460 (ido-max-directory-size, ido-max-dir-file-cache)
6461 (ido-decorations): Doc fix.
6463 * ansi-color.el: Fix old URL.
6465 2013-07-23 Michael R. Mauger <michael@mauger.com>
6467 * progmodes/sql.el: Version 3.3
6468 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6469 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6470 (sql-interactive-remove-continuation-prompt): Rewrite, use
6471 functions above. Fix continuation prompt and complete output line
6473 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6474 redirected output buffer.
6475 (sql-mode): Restore deleted code (Bug#13591).
6477 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6479 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6481 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6483 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6485 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6486 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6487 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6489 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6491 * desktop.el (desktop-clear): Simplify; remove useless checks
6492 against invalid buffer names.
6493 (desktop-list*): Use cl-list*.
6494 (desktop-buffer-info, desktop-create-buffer): Simplify.
6496 2013-07-23 Leo Liu <sdl.web@gmail.com>
6498 * bookmark.el (bookmark-make-record): Restore NAME as a default
6501 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6503 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6504 extracted from autoload--insert-text.
6505 (autoload--insert-text): Remove.
6506 (autoload--print-cookie-text): New function, extracted from
6507 autoload--insert-cookie-text.
6508 (autoload--insert-cookie-text): Remove.
6509 (autoload-generate-file-autoloads): Adjust calls accordingly.
6511 * winner.el (winner-hook-installed-p): Remove.
6512 (winner-mode): Simplify accordingly.
6514 * subr.el (add-to-list): Fix compiler-macro when `append' is
6515 not constant. Don't use `cl-member' for the base case.
6517 * progmodes/subword.el: Fix boundary case (bug#13758).
6518 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6520 (subword-backward-regexp): Make it a constant.
6521 (subword-forward-internal): Don't treat a trailing capital as the
6522 beginning of a word.
6524 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6526 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6527 global value of tabulated-list-revert-hook (bug#14930).
6529 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6531 * desktop.el: Require 'cl-lib.
6532 (desktop-before-saving-frames-functions): New hook.
6533 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6534 for frames being saved. Rename from desktop--save-minibuffer-frames.
6535 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6536 Do not save frames with non-nil `desktop-dont-save' parameter.
6537 Filter out deleted frames.
6538 (desktop--find-frame): Use cl-find-if.
6539 (desktop--select-frame): Use cl-(first|second|third) to access values
6541 (desktop--make-frame): Use cl-delete-if.
6542 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6543 (desktop-restore-frames): Use cl-(first|second|third) to access values
6544 of desktop-mini. Look for visible frame at the end, not while
6547 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6548 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6549 Use string-match-p, looking-at-p (bug#14927).
6551 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6553 * desktop.el (desktop-saved-frame-states):
6554 Rename from desktop--saved-states; all users changed.
6555 (desktop-save-frames): Rename from desktop--save-frames.
6556 Do not save state to desktop file.
6557 (desktop-save): Save desktop-saved-frame-states to desktop file
6559 (desktop-restoring-frames-p): New function.
6560 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6561 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6562 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6564 * desktop.el: Correctly restore iconified frames.
6565 (desktop--filter-iconified-position): New function.
6566 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6568 2013-07-20 Glenn Morris <rgm@gnu.org>
6570 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6571 Let `message' do the formatting.
6572 (def-gdb-preempt-display-buffer): Add explicit format.
6574 * image-dired.el (image-dired-track-original-file):
6575 Use with-current-buffer.
6576 (image-dired-track-thumbnail): Use with-current-buffer.
6577 Avoid changing point of wrong window.
6579 * image-dired.el (image-dired-track-original-file):
6580 Avoid changing point of wrong window. (Bug#14909)
6582 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6584 * progmodes/gdb-mi.el (gdb-done-or-error):
6585 Guard against "%" in gdb output. (Bug#14127)
6587 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6589 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6592 * international/mule.el (coding-system-iso-2022-flags): Fix last
6595 2013-07-20 Kenichi Handa <handa@gnu.org>
6597 * international/mule.el (coding-system-iso-2022-flags):
6598 Add `8-bit-level-4'. (Bug#8522)
6600 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6602 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6605 * net/eww.el (eww-process-text-input): Allow inputting when the
6606 point is at the start of the line, as the properties aren't
6609 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6612 2013-07-19 Richard Stallman <rms@gnu.org>
6614 * epa.el (epa-popup-info-window): Doc fix.
6616 * subr.el (split-string): New arg TRIM.
6618 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6620 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6621 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6623 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6625 * filenotify.el (file-notify--library): Rename from
6626 `file-notify-support'. Do not autoload. Adapt all uses.
6627 (file-notify-supported-p): New defun.
6629 * autorevert.el (auto-revert-use-notify):
6630 Use `file-notify-supported-p' instead of `file-notify-support'.
6632 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6634 * net/tramp.el (tramp-file-name-for-operation):
6635 Add `file-notify-supported-p'.
6637 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6639 (tramp-sh-file-name-handler-alist): Add it as handler for
6640 `file-notify-supported-p '.
6642 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6643 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6644 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6645 Add `ignore' as handler for `file-notify-*' functions.
6647 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6649 * simple.el (line-move-partial, line-move): Don't start vscroll or
6650 scroll-up if the current line is not taller than the window.
6653 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6655 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6656 highlight question marks in the method names as strings.
6657 (ruby-block-beg-keywords): Inline.
6658 (ruby-font-lock-keyword-beg-re): Extract from
6659 `ruby-font-lock-keywords'.
6661 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6663 * frame.el (blink-cursor-blinks): New defcustom.
6664 (blink-cursor-blinks-done): New defvar.
6665 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6666 (blink-cursor-timer-function): Check if number of blinks has been
6668 (blink-cursor-suspend, blink-cursor-check): New defuns.
6670 2013-07-15 Glenn Morris <rgm@gnu.org>
6672 * edmacro.el (edmacro-format-keys): Fix previous change.
6674 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6676 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6677 The hack didn't work outside English locales anyway.
6679 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6681 * simple.el (define-alternatives): Rename from alternatives-define,
6682 per RMS' suggestion.
6684 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6686 * desktop.el (desktop-restore-frames): Change default to t.
6687 (desktop-restore-in-current-display): Now offer more options.
6688 (desktop-restoring-reuses-frames): New customization option.
6689 (desktop--saved-states): Doc fix.
6690 (desktop-filter-parameters-alist): New variable, renamed and expanded
6691 from desktop--excluded-frame-parameters.
6692 (desktop--target-display): New variable.
6693 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6694 (desktop--filter-tty*, desktop--filter-*-color)
6695 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6696 (desktop--filter-save-desktop-parm)
6697 (desktop-restore-in-original-display-p): New functions.
6698 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6699 (desktop--save-minibuffer-frames): New function, inspired by a similar
6700 function from Martin Rudalics.
6701 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6702 (desktop--restore-in-this-display-p): Remove.
6703 (desktop--find-frame): Rename from desktop--find-frame-in-display
6704 and add predicate argument.
6705 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6706 (desktop--reuse-list): New variable.
6707 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6709 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6711 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6713 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6715 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6717 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6718 Highlight conversion methods on Kernel.
6720 2013-07-13 Alan Mackenzie <acm@muc.de>
6722 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6723 and comment it out. This out-commenting enables certain C++
6724 declarations to be parsed correctly.
6726 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6728 * international/mule.el (define-coding-system): Doc fix.
6730 * simple.el (default-font-height): Don't call font-info if the
6731 frame's default font didn't change since the frame was created.
6734 2013-07-13 Leo Liu <sdl.web@gmail.com>
6736 * ido.el (ido-read-file-name): Guard against non-symbol value.
6738 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6740 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6743 2013-07-13 Leo Liu <sdl.web@gmail.com>
6745 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6746 ido-set-matches call. (Bug#6852)
6748 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6750 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6751 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6753 (ruby-font-lock-keywords): Distinguish calls to functions with
6754 module-like names from module references. Highlight character
6757 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6759 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6760 (gdb-send): Handle continued commands. (Bug#14847)
6762 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6764 * desktop.el (desktop--v2s): Remove unused local variable.
6765 (desktop-save-buffer): Make defvar-local; adjust docstring.
6766 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6767 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6769 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6771 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6773 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6775 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6778 2013-07-12 Glenn Morris <rgm@gnu.org>
6780 * doc-view.el: Require cl-lib at runtime too.
6781 (doc-view-remove-if): Remove.
6782 (doc-view-search-next-match, doc-view-search-previous-match):
6785 * edmacro.el: Require cl-lib at runtime too.
6786 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6787 (edmacro-mismatch, edmacro-subseq): Remove.
6789 * shadowfile.el: Require cl-lib.
6790 (shadow-remove-if): Remove.
6791 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6794 * wid-edit.el: Require cl-lib.
6795 (widget-choose): Use cl-remove-if.
6796 (widget-remove-if): Remove.
6798 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6799 (ebrowse-delete-if-not): Remove.
6800 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6801 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6802 Use cl-delete-if-not.
6804 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6806 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6807 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6809 2013-07-12 Leo Liu <sdl.web@gmail.com>
6811 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6813 2013-07-11 Glenn Morris <rgm@gnu.org>
6815 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6816 (edebug-gensym-index, edebug-gensym):
6817 Remove reimplementation of cl-gensym.
6818 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6820 * thumbs.el: Require cl-lib at run-time too.
6821 (thumbs-gensym-counter, thumbs-gensym):
6822 Remove reimplementation of cl-gensym.
6823 (thumbs-temp-file): Use cl-gensym.
6825 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6826 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6827 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6828 (ert--union, ert--gensym-counter, ert--gensym-counter)
6829 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6830 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6831 (ert-make-test-unbound, ert--expand-should-1)
6832 (ert--expand-should, ert--should-error-handle-error)
6833 (should-error, ert--explain-equal-rec)
6834 (ert--plist-difference-explanation, ert-select-tests)
6835 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6836 Use cl-lib functions rather than reimplementations.
6838 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6840 * net/tramp.el (tramp-methods): Extend docstring.
6841 (tramp-connection-timeout): New defcustom.
6842 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6843 (with-tramp-progress-reporter): Simplify.
6844 (tramp-process-actions): Improve messages.
6846 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6847 * net/tramp-sh.el (tramp-maybe-open-connection):
6848 Use `tramp-connection-timeout'.
6849 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6852 2013-07-11 Leo Liu <sdl.web@gmail.com>
6854 * ido.el (ido-read-file-name): Conform to the requirements of
6855 read-file-name. (Bug#11861)
6856 (ido-read-directory-name): Conform to the requirements of
6857 read-directory-name.
6859 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6861 * subr.el (delay-warning): New function.
6863 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6865 * simple.el (default-line-height): New function.
6866 (line-move-partial, line-move): Use it instead of computing the
6868 (line-move-partial): Always compute ROWH. If the last line is
6869 partially-visible, but its text is completely visible, allow
6870 cursor to enter such a partially-visible line.
6872 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6874 Improve error messages. (Bug#14808)
6876 * net/tramp.el (tramp-current-connection): New defvar, moved from
6878 (tramp-message-show-progress-reporter-message): Remove, not
6880 (tramp-error-with-buffer): Show message in minibuffer.
6881 Discard input before waiting. Reset connection timestamp.
6882 (with-tramp-progress-reporter): Improve messages.
6883 (tramp-process-actions): Use progress reporter. Delete process in
6884 case of error. Improve messages.
6886 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6887 Call `tramp-error-with-buffer' with vector and buffer.
6888 (tramp-current-connection): Remove.
6889 (tramp-maybe-open-connection): The car of
6890 `tramp-current-connection' are the first 3 slots of the vector.
6892 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6894 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6895 inside continued strings.
6897 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6899 Timestamp fixes for undo (Bug#14824).
6900 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6902 2013-07-10 Leo Liu <sdl.web@gmail.com>
6904 * files.el (require-final-newline): Allow safe local value.
6907 2013-07-09 Leo Liu <sdl.web@gmail.com>
6909 * ido.el (ido-read-directory-name): Handle fallback.
6910 (ido-read-file-name): Update DIR to ido-current-directory.
6912 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6914 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6916 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6917 "autoload". Remove "warn lower camel case" section, previously
6918 commented out. Highlight negation char. Do not highlight the
6919 target in singleton method definitions.
6921 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6923 * faces.el (tty-setup-hook): Declare the hook.
6925 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6926 and detect when a guard/pred depends on local vars (bug#14773).
6927 (pcase--u1): Adjust caller.
6929 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6931 * simple.el (line-move-partial, line-move): Account for
6933 (line-move-partial): Avoid setting vscroll when the last
6934 partially-visible line in window is of default height.
6936 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6938 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6941 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6943 * subr.el (read-quoted-char): Remove unused local variable `char'.
6945 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6947 * ediff.el (ediff-version): Version update.
6948 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6949 (ediff-merge-with-ancestor-command, ediff-directories-command)
6950 (ediff-directories3-command, ediff-merge-directories-command)
6951 (ediff-merge-directories-with-ancestor-command): New functions.
6952 All are command-line interfaces to ediff: to facilitate calling
6953 Emacs with the appropriate ediff functions invoked.
6955 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6956 (viper-save-kill-buffer): Check if buffer is modified.
6958 * viper.el (viper-version): Version update.
6959 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6961 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6963 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6964 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6965 (viper-intercept-ESC-key): Simplify.
6966 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6967 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6968 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6969 (viper-setup-ESC-to-escape): New functions.
6970 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6971 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6973 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6975 * simple.el (default-font-height, window-screen-lines):
6977 (line-move, line-move-partial): Use them instead of
6978 frame-char-height and window-text-height. This makes scrolling
6979 text smoother when the buffer's default face uses a font that is
6980 different from the frame's default font.
6982 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6984 * files.el (write-file): Do not display confirm dialog for NS,
6985 it does its own dialog, which can't be cancelled (Bug#14578).
6987 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6989 * simple.el (line-move-partial): Adjust the row returned by
6990 posn-at-point for the current window-vscroll. (Bug#14567)
6992 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6994 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6995 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6998 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7000 * window.el (window-state-put-stale-windows): New variable.
7001 (window--state-put-2): Save list of windows without matching buffer.
7002 (window-state-put): Remove "bufferless" windows if possible.
7004 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7006 * simple.el (alternatives-define): Remove leftover :group keyword.
7009 2013-07-06 Leo Liu <sdl.web@gmail.com>
7011 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7012 (ido-enable-virtual-buffers): New variable.
7013 (ido-buffer-internal, ido-toggle-virtual-buffers)
7014 (ido-make-buffer-list): Use it.
7015 (ido-exhibit): Support turning on and off virtual buffers
7018 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7020 * simple.el (alternatives-define): New macro.
7022 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7024 * subr.el (read-quoted-char): Use read-key.
7025 (sit-for): Let read-event decode tty input (bug#14782).
7027 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7029 * calendar/todo-mode.el: Add handling of file deletion, both by
7030 mode command and externally. Fix various related bugs.
7031 Clarify Commentary and improve some documentation strings and code.
7032 (todo-delete-file): New command.
7033 (todo-check-file): New function.
7034 (todo-show): Handle external deletion of the file we're trying to
7035 show (bug#14688). Replace called-interactively-p by an optional
7036 prefix argument to avoid problematic interaction with catch form
7037 when byte compiled (bug#14702).
7038 (todo-quit): Handle external deletion of the archive's todo file.
7039 Make sure the buffer that was visiting the archive file is still
7040 live before trying to bury it.
7041 (todo-category-completions): Handle external deletion of any
7042 category completion files.
7043 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7044 of todo files, in case of external deletion.
7045 (todo-add-file): Replace unnecessary setq by let-binding.
7046 (todo-find-archive): Check whether there are any archives.
7047 Replace unnecessary setq by let-binding.
7048 (todo-archive-done-item): Use find-file-noselect to get the
7049 archive buffer whether or not the archive already exists.
7050 Remove superfluous code. Use file size instead of buffer-file-name to
7051 check if the archive is new; if it is, update list of archives.
7052 (todo-default-todo-file): Allow nil to be a valid value for when
7053 there are no todo files.
7054 (todo-reevaluate-default-file-defcustom): Use corrected definition
7055 of todo-default-todo-file.
7056 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7057 (todo-delete-category, todo-show-categories-table)
7058 (todo-category-number): Clarify comment.
7059 (todo-filter-items): Clarify documentation string.
7060 (todo-show-current-file, todo-display-as-todo-file)
7061 (todo-reset-and-enable-done-separator): Tweak documentation string.
7062 (todo-done-separator): Make separator length window-width, since
7063 bug#2749 is now fixed.
7065 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7067 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7068 Support both "gvfs-monitor-dir" and "inotifywait".
7069 (tramp-sh-file-inotifywait-process-filter): Rename from
7070 `tramp-sh-file-notify-process-filter'.
7071 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7072 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7074 2013-07-05 Leo Liu <sdl.web@gmail.com>
7076 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7078 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7080 * frame.el (display-pixel-height, display-pixel-width)
7081 (display-mm-height, display-mm-width): Mention behavior on
7082 multi-monitor setups in docstrings.
7083 (w32-display-monitor-attributes-list): Declare function.
7084 (display-monitor-attributes-list): Use it.
7086 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7088 * filenotify.el: New package.
7090 * autorevert.el (top): Require filenotify.el.
7091 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7093 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7094 (auto-revert-notify-handler): Use `file-notify-*' functions.
7096 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7098 * net/tramp.el (tramp-file-name-for-operation):
7099 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7101 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7102 for `file-notify-add-watch' and `file-notify-rm-watch'.
7103 (tramp-process-sentinel): Improve trace.
7104 (tramp-sh-handle-file-notify-add-watch)
7105 (tramp-sh-file-notify-process-filter)
7106 (tramp-sh-handle-file-notify-rm-watch)
7107 (tramp-get-remote-inotifywait): New defuns.
7109 2013-07-03 Juri Linkov <juri@jurta.org>
7111 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7112 call of `occur-read-primary-args' to interactive spec.
7114 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7115 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7117 2013-07-03 Matthias Meulien <orontee@gmail.com>
7119 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7120 `Buffer-menu-multi-occur'. Add it to the menu.
7121 (Buffer-menu-mode): Document it in docstring.
7122 (Buffer-menu-multi-occur): New command. (Bug#14673)
7124 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7126 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7127 keywords and built-ins.
7129 2013-07-03 Glenn Morris <rgm@gnu.org>
7131 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7133 Make info-xref checks case-sensitive by default
7134 * info.el (Info-find-node, Info-find-in-tag-table)
7135 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7136 Add option for exact case matching of nodes.
7137 * info-xref.el (info-xref): New custom group.
7138 (info-xref-case-fold): New option.
7139 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7141 2013-07-03 Leo Liu <sdl.web@gmail.com>
7143 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7145 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7147 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7148 middle of block statement initially, lower the depth. Remove
7149 FIXME comment, not longer valid. Remove middle of block statement
7150 detection, no need to do that anymore since we've been using
7151 `ruby-parse-region' here.
7153 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7155 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7157 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7159 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7161 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7163 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7164 (desktop-restore-in-current-display): New customization option.
7165 (desktop--excluded-frame-parameters): Add `font'.
7166 (desktop--save-frames): Rename from desktop--save-windows.
7167 (desktop--restore-in-this-display-p): New function.
7168 (desktop--make-full-frame): Remove unwanted width/height from
7169 full(width|height) frames.
7170 (desktop--restore-frames): Rename from desktop--restore-windows.
7171 Obey desktop-restore-current-display. Do not delete old frames or
7172 select a new frame unless we were able to restore at least one frame.
7174 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7176 * files.el (find-file-noselect): Simplify conditional expression.
7178 * remember.el (remember-append-to-file):
7179 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7181 Add `remember-notes' function to store random notes across Emacs
7183 * remember.el (remember-data-file): Add :set callback to affect
7184 notes buffer (if any).
7185 (remember-notes): New command.
7186 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7187 New defcustoms for the `remember-notes' function.
7188 (remember-notes-save-and-bury-buffer): New command.
7189 (remember-notes-mode-map): New variable.
7190 (remember-mode): New minor mode.
7191 (remember-notes--kill-buffer-query): New function.
7192 * startup.el (initial-buffer-choice): Add notes to custom type.
7194 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7196 * bindings.el (right-char, left-char): Don't call sit-for, this is
7197 no longer needed. Use arithmetic comparison only for numerical
7200 * international/mule-cmds.el (select-safe-coding-system):
7201 Handle the case of FROM being a string correctly. (Bug#14755)
7203 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7205 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7206 progression on degenerate tables.
7207 (shr-rescale-image): ImageMagick animated images currently don't work.
7209 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7211 Some fixes and improvements for desktop frame restoration.
7212 It is still experimental and disabled by default.
7213 * desktop.el (desktop--save-windows): Put the selected frame at
7214 the head of the list.
7215 (desktop--make-full-frame): New function.
7216 (desktop--restore-windows): Try to re-select the frame that was
7217 selected upon saving. Do not abort if some frames fail to restore,
7218 just show an error message and continue. Set up maximized frames
7219 so they have default non-maximized dimensions.
7221 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7223 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7224 Don't start heredoc inside a string or comment.
7226 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7228 * bindings.el (visual-order-cursor-movement): New defcustom.
7229 (right-char, left-char): Provide visual-order cursor motion by
7230 calling move-point-visually. Update the doc strings.
7232 2013-06-28 Kenichi Handa <handa@gnu.org>
7234 * international/mule.el (define-coding-system): New coding system
7235 properties :inhibit-null-byte-detection,
7236 :inhibit-iso-escape-detection, and :prefer-utf-8.
7237 (set-buffer-file-coding-system): If :charset-list property of
7238 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7239 appropriate for setting.
7241 * international/mule-cmds.el (select-safe-coding-system):
7242 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7243 multibyte characters, return utf-8 (or one of its siblings).
7245 * international/mule-conf.el (prefer-utf-8): New coding system.
7246 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7249 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7251 * net/shr.el (shr-render-region): New function.
7253 * net/eww.el: Autoload `eww-browse-url'.
7255 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7257 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7258 Adapt to `package-desc-version' being a list.
7259 Use `package--ac-desc-version' to retrieve version from a package
7262 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7264 New experimental feature to save&restore window and frame setup.
7265 * desktop.el (desktop-save-windows): New defcustom.
7266 (desktop--saved-states): New var.
7267 (desktop--excluded-frame-parameters): New defconst.
7268 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7269 (desktop--restore-windows, desktop--save-windows): New functions.
7270 (desktop-save): Call `desktop--save-windows'.
7271 (desktop-read): Call `desktop--restore-windows'.
7273 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7275 * net/shr.el (add-face-text-property): Remove compat definition.
7277 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7279 * info.el (Info-try-follow-nearest-node): Move search for footnote
7280 above search for node name to prevent missing a footnote (bug#14717).
7282 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7284 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7286 2013-06-27 Leo Liu <sdl.web@gmail.com>
7288 * net/eww.el (eww-read-bookmarks): Check file size.
7290 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7292 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7293 advice--pending if newdef is nil or an autoload (bug#13820).
7294 (advice-mapc): New function.
7296 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7298 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7300 (eww-mode-map): Add a menu bar.
7301 (eww-add-bookmark): New command.
7302 (eww-bookmark-mode): New mode and commands.
7303 (eww-add-bookmark): Remove newlines from the title.
7304 (eww-bookmark-browse): Don't bug out if it's the only window.
7306 2013-06-26 Glenn Morris <rgm@gnu.org>
7308 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7309 (hfy-size): Handle ttys. (Bug#14668)
7311 * info-xref.el: Update for Texinfo 5 change in *note format.
7312 (info-xref-node-re, info-xref-note-re): New constants.
7313 (info-xref-check-buffer): Use info-xref-note-re.
7315 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7317 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7319 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7320 nil terminate the loop (bug#14718).
7322 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7324 * net/eww.el: Rework history traversal. When going forward/back,
7325 put these actions into the history, too, so that they can be
7327 (eww-render): Move the history reset to the correct buffer.
7329 2013-06-25 Juri Linkov <juri@jurta.org>
7331 * files-x.el (modify-dir-local-variable): Change the header comment
7332 in the file with directory local variables. (Bug#14692)
7334 * files-x.el (read-file-local-variable-value): Add `default'.
7337 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7339 * net/eww.el (eww-make-unique-file-name): Create a unique file
7340 name before saving to entering `y' accidentally asynchronously.
7342 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7344 * net/eww.el (eww-download): New command and keystroke.
7346 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7348 * net/eww.el (eww-copy-page-url): Change name of command.
7350 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7351 be more consistent with Info and dired.
7353 * net/eww.el (eww-mode-map): Ditto.
7355 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7357 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7358 packages from archives.
7359 (package-archive-contents): Change format; include obsolete packages.
7360 (package-desc): Use `dir' to mark builtin packages.
7361 (package--from-builtin): Set the `dir' field to `builtin'.
7362 (generated-autoload-file, version-control): Declare.
7363 (package-compute-transaction): Change first arg and return value to be
7364 lists of package-descs. Adjust to new package-archive-contents format.
7365 (package--add-to-archive-contents): Adjust to new
7366 package-archive-contents format.
7367 (package-download-transaction): Arg is now a list of package-descs.
7368 (package-install): If `pkg' is a package name, pass it as
7369 a requirement, so it is subject to the usual (e.g. disabled) checks.
7370 (describe-package): Accept package-desc as well.
7371 (describe-package-1): Describe a specific package-desc. Add links to
7372 other package-descs for the same package name.
7373 (package-menu-describe-package): Pass the actual package-desc.
7374 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7376 (package-desc-status): New function.
7377 (package-menu--refresh): New function, extracted
7378 from package-menu--generate.
7379 (package-menu--generate): Use it.
7380 (package-delete): Update package-alist.
7381 (package-menu-execute): Don't call package-initialize.
7383 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7384 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7385 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7386 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7387 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7388 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7390 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7392 * window.el (window--state-get-1): Workaround for bug#14527.
7393 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7395 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7397 * net/eww.el (eww-back-url): Implement the history by stashing all
7398 the data into a list.
7399 (eww-forward-url): Allow going forward in the history, too.
7401 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7403 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7404 for values and use read--expression for expressions (bug#14710).
7405 (read-file-local-variable): Avoid setq.
7406 (read-file-local-variable-mode): Use minor-mode-list.
7408 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7410 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7413 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7415 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7416 Update imenu-support when dialect changes.
7418 2013-06-25 Leo Liu <sdl.web@gmail.com>
7420 * ido.el (ido-read-internal): Allow forward slash on windows.
7422 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7424 * net/eww.el (eww): Start of strings is \\`, not ^.
7426 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7428 * net/shr.el (shr-browse-url): Fix interactive spec.
7430 * net/eww.el (eww): Add a trailing slash to domain names.
7432 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7434 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7436 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7438 * net/shr.el (shr-browse-url): Use an external browser if given a
7441 * net/eww.el (eww-external-browser): Move to shr.
7443 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7445 * net/eww.el (eww): Work more correctly for file: URLs.
7446 (eww-detect-charset): Allow quoted charsets.
7447 (eww-yank-page-url): New command and keystroke.
7449 2013-06-24 Daiki Ueno <ueno@gnu.org>
7451 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7452 file name of gpg executable.
7453 (epg-context-program): New function.
7454 (epg-context-home-directory): New function.
7455 (epg-context-set-program): New function.
7456 (epg-context-set-home-directory): New function.
7457 (epg--start): Use `epg-context-program' instead of
7459 (epg--list-keys-1): Likewise.
7461 2013-06-24 Leo Liu <sdl.web@gmail.com>
7463 * ido.el (ido-read-internal): Fix bug#14620.
7465 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7467 * faces.el (face-documentation): Simplify.
7468 (read-face-attribute, tty-find-type, x-resolve-font-name):
7469 Use `string-match-p'.
7470 (list-faces-display): Use `string-match-p'. Simplify.
7471 (face-spec-recalc): Check face to avoid face alias loops.
7472 (read-color): Use `string-match-p' and non-capturing parenthesis.
7474 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7476 * net/shr.el (shr-rescale-image): Use the new
7477 :max-width/:max-height functionality.
7479 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7481 * net/eww.el (eww-search-prefix): New variable.
7483 (eww-external-browser): New variable.
7484 (eww-mode-map): New keystroke.
7485 (eww-browse-with-external-browser): New command.
7487 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7489 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7491 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7492 Don't skip aligning the next header field when padding is 0;
7493 otherwise, field width is not respected unless the title is as
7496 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7498 * emacs-lisp/package.el (package-el-version): Remove.
7499 (package-process-define-package): Fix inf-loop.
7500 (package-install): Allow symbols as arguments again.
7502 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7504 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7505 add some more keyword-like methods.
7506 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7508 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7510 * bs.el (bs-buffer-show-mark): Make defvar-local.
7511 (bs-mode): Use setq-local.
7513 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7514 (emacs-lock--try-unlocking): Make defvar-local.
7516 2013-06-22 Glenn Morris <rgm@gnu.org>
7518 * play/cookie1.el (cookie-apropos): Minor simplification.
7520 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7522 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7524 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7525 `regexp-opt', it breaks the build during dumping.
7527 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7529 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7530 Highlight keyword-like methods on Kernel and Module with
7531 font-lock-builtin-face.
7532 (auto-mode-alist): Consolidate different entries into one regexp
7533 and add more *file-s.
7535 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7537 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7539 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7540 (diary-entry): Use it in the action of this button type instead of
7543 * calendar/todo-mode.el: New version.
7544 (todo-add-category): Append new category to end of file and give
7545 it the highest number, instead of putting it at the beginning and
7546 giving it 0. Incorporate noninteractive functionality.
7547 (todo-forward-category): Adapt to 1-based category numbering.
7548 Allow skipping over archived categories.
7549 (todo-backward-category): Derive from todo-forward-category.
7550 (todo-backward-item, todo-forward-item): Make noninteractive and
7551 delegate interactive part to new commands. Make sensitive to done items.
7552 (todo-categories): Make value an alist of category names and
7553 vectors of item counts.
7554 (todo-category-beg): Make a defconst.
7555 (todo-category-number): Use 1 instead of 0 as initial value.
7556 (todo-category-select): Make sensitive to overlays, optional item
7557 highlighting and done items.
7558 (todo-delete-item): Make sensitive to overlays and marked and done items.
7559 (todo-edit-item): Make sensitive to overlays and editing of
7560 date/time header optional. Add format checks.
7561 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7562 no-op if point is not on an item. Advertise using todo-edit-quit.
7563 (todo-edit-mode): Make sensitive to new format, font-locking, and
7564 multiple todo files.
7565 (todo-insert-item, todo-insert-item-here): Derive from
7566 todo-basic-insert-item and extend functionality.
7567 (todo-item-end, todo-item-start): Make sensitive to done items.
7568 (todo-item-string): Don't return text properties. Restore point.
7569 (todo-jump-to-category): Make sensitive to multiple todo files and
7570 todo archives. Use extended category completion.
7571 (todo-lower-item, todo-raise-item): Rename to *-priority and
7572 derive from todo-set-item-priority.
7573 (todo-mode): Derive from special-mode. Make sensitive to new
7574 format, font-locking and multiple todo files. Make read-only.
7575 (todo-mode-map): Don't suppress digit keys, so they can supply
7576 prefix arguments. Add many new key bindings.
7577 (todo-prefix): Insert as an overlay instead of file text.
7578 Change semantics from diary date expression to purely visual mark.
7579 (todo-print): Rename to todo-print-buffer. Make buffer display
7580 features printable. Remove option to restrict number of items
7581 printed. Add option to print to file.
7582 (todo-print-function): Rename to todo-print-buffer-function.
7583 (todo-quit): Extend to handle exiting new todo modes.
7584 (todo-remove-item): Make sensitive to overlays.
7585 (todo-save): Extend to buffers of filtered items.
7586 (todo-show): Make sensitive to done items, multiple todo files and
7587 new todo modes. Offer to convert legacy todo file before creating
7588 first new todo file.
7589 (todo-show-priorities): Rename to todo-top-priorities.
7590 Change semantics of value 0.
7591 (todo-top-priorities): Rename to todo-filter-top-priorities,
7592 derive from todo-filter-items and extend functionality.
7593 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7594 and extend functionality to other types of filtered items.
7595 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7596 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7597 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7598 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7599 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7600 (todo-edit-mode-hook, todo-entry-prefix-function)
7601 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7602 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7603 (todo-initials, todo-insert-threshold, todo-item-string-start)
7604 (todo-line-string, todo-menu, todo-mode-hook)
7605 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7606 (todo-print-priorities, todo-remove-separator)
7607 (todo-save-top-priorities-too, todo-string-count-lines)
7608 (todo-string-multiline-p, todo-time-string-format)
7609 (todo-tmp-buffer-name): Remove.
7610 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7611 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7612 (todo-edit-category-diary-inclusion)
7613 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7614 (todo-edit-file, todo-edit-item-date-day)
7615 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7616 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7617 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7618 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7619 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7620 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7621 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7622 (todo-filter-top-priorities-multifile, todo-find-archive)
7623 (todo-find-filtered-items-file, todo-go-to-source-item)
7624 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7625 (todo-jump-to-archive-category, todo-lower-category)
7626 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7627 (todo-move-category, todo-move-item, todo-next-button)
7628 (todo-next-item, todo-padded-string, todo-powerset)
7629 (todo-previous-button, todo-previous-item)
7630 (todo-print-buffer-to-file, todo-raise-category)
7631 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7632 (todo-set-category-number, todo-set-item-priority)
7633 (todo-set-top-priorities-in-category)
7634 (todo-set-top-priorities-in-file, todo-show-categories-table)
7635 (todo-sort-categories-alphabetically-or-numerically)
7636 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7637 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7638 (todo-toggle-item-header, todo-toggle-item-highlighting)
7639 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7640 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7641 (todo-unarchive-items, todo-unmark-category): New commands.
7642 (todo-absolute-file-name, todo-add-to-buffer-list)
7643 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7644 (todo-basic-insert-item, todo-category-completions)
7645 (todo-category-number, todo-category-string-matcher-1)
7646 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7647 (todo-check-format, todo-clear-matches)
7648 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7649 (todo-current-category, todo-date-string-matcher)
7650 (todo-define-insertion-command, todo-diary-expired-matcher)
7651 (todo-diary-goto-entry, todo-diary-item-p)
7652 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7653 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7654 (todo-done-item-section-p, todo-done-separator)
7655 (todo-done-string-matcher, todo-files, todo-filter-items)
7656 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7657 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7658 (todo-insert-category-line, todo-insert-item-from-calendar)
7659 (todo-insert-sort-button, todo-insert-with-overlays)
7660 (todo-insertion-command-name, todo-insertion-key-bindings)
7661 (todo-label-to-key, todo-longest-category-name-length)
7662 (todo-make-categories-list, todo-mode-external-set)
7663 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7664 (todo-modes-set-3, todo-multiple-filter-files)
7665 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7666 (todo-read-category, todo-read-date, todo-read-dayname)
7667 (todo-read-file-name, todo-read-time)
7668 (todo-reevaluate-category-completions-files-defcustom)
7669 (todo-reevaluate-default-file-defcustom)
7670 (todo-reevaluate-filelist-defcustoms)
7671 (todo-reevaluate-filter-files-defcustom)
7672 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7673 (todo-reset-done-separator, todo-reset-done-separator-string)
7674 (todo-reset-done-string, todo-reset-global-current-todo-file)
7675 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7676 (todo-reset-prefix, todo-set-categories)
7677 (todo-set-date-from-calendar, todo-set-show-current-file)
7678 (todo-set-top-priorities, todo-short-file-name)
7679 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7680 (todo-total-item-counts, todo-update-buffer-list)
7681 (todo-update-categories-display, todo-update-categories-sexp)
7682 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7684 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7686 (todo-categories, todo-display, todo-edit, todo-faces)
7687 (todo-filtered): New defgroups.
7688 (todo-archived-only, todo-button, todo-category-string, todo-date)
7689 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7690 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7691 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7692 (todo-add-item-if-new-category, todo-always-add-time-string)
7693 (todo-categories-align, todo-categories-archived-label)
7694 (todo-categories-category-label, todo-categories-diary-label)
7695 (todo-categories-done-label, todo-categories-number-separator)
7696 (todo-categories-todo-label, todo-categories-totals-label)
7697 (todo-category-completions-files, todo-completion-ignore-case)
7698 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7699 (todo-done-separator-string, todo-done-string)
7700 (todo-files-function, todo-filter-done-items, todo-filter-files)
7701 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7702 (todo-initial-category, todo-initial-file, todo-item-mark)
7703 (todo-legacy-date-time-regexp, todo-mode-line-function)
7704 (todo-nondiary-marker, todo-number-prefix)
7705 (todo-print-buffer-function, todo-show-current-file)
7706 (todo-show-done-only, todo-show-first, todo-show-with-done)
7707 (todo-skip-archived-categories, todo-top-priorities-overrides)
7708 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7709 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7711 (todo-category-done, todo-date-pattern, todo-date-string-start)
7712 (todo-diary-items-buffer, todo-done-string-start)
7713 (todo-filtered-items-buffer, todo-item-start)
7714 (todo-month-abbrev-array, todo-month-name-array)
7715 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7716 (todo-top-priorities-buffer): New defconsts.
7717 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7718 (todo-categories-with-marks, todo-category-string-face)
7719 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7720 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7721 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7722 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7723 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7724 (todo-font-lock-keywords, todo-global-current-todo-file)
7725 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7726 (todo-insertion-commands-args)
7727 (todo-insertion-commands-args-genlist)
7728 (todo-insertion-commands-names, todo-insertion-map)
7729 (todo-key-bindings-t, todo-key-bindings-t+a)
7730 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7731 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7732 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7733 (todo-visited): New variables.
7735 2013-06-21 Glenn Morris <rgm@gnu.org>
7737 * play/cookie1.el (cookie-apropos): Add optional display argument.
7738 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7739 (psychoanalyze-pinhead): Use cookie-doctor.
7741 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7743 * emacs-lisp/package.el (tar-get-file-descriptor)
7744 (tar--extract): Declare.
7746 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7748 Extend flymake's warning predicate to be a function (bug#14217).
7749 * progmodes/flymake.el (flymake-warning-predicate): New.
7750 (flymake-parse-line): Use it.
7751 (flymake-warning-re): Make obsolete alias to
7752 `flymake-warning-predicate'.
7754 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7756 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7757 (package-obsolete-list): Remove.
7758 (package-activate): Remove min-version argument. Add `force' argument.
7759 Adjust to new package-alist format.
7760 (package-mark-obsolete): Remove.
7761 (package-unpack): Force reload of the package's autoloads.
7762 (package-installed-p): Check builtins if the installed package is not
7764 (package-initialize): Don't reset package-obsolete-list.
7765 Don't specify which package version to activate.
7766 (package-process-define-package, describe-package-1)
7767 (package-menu--generate): Adjust to new package-alist format.
7769 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7771 * allout-widgets.el (allout-widgets-mode-off)
7772 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7773 (allout-widgets-post-command-business)
7774 (allout-widgets-after-copy-or-kill-function)
7775 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7776 (allout-decorate-item-and-context)
7777 (allout-graphics-modification-handler): Fix typos in docstrings.
7778 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7780 * cmuscheme.el (scheme-start-file): Doc fix.
7781 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7782 (scheme-input-filter): Use `string-match-p'.
7784 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7786 * dired-x.el: Use Dired consistently in docstrings.
7788 * dired.el: Use Dired consistently in docstrings.
7789 (dired-readin, dired-mode): Use `setq-local'.
7790 (dired-switches-alist): Make defvar-local.
7791 (dired-buffers-for-dir): Use `zerop'.
7792 (dired-safe-switches-p, dired-switches-escape-p)
7793 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7794 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7795 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7796 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7797 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7798 (dired-toggle-marks, dired-mark-files-containing-regexp)
7799 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7800 (dired-flag-auto-save-files, dired-flag-backup-files):
7802 (dired-mark-files-regexp, dired-build-subdir-alist):
7803 Use `string-match-p', `looking-at-p'.
7805 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7806 (direct-print-region-helper): Use `string-match-p'.
7808 2013-06-21 Leo Liu <sdl.web@gmail.com>
7810 * comint.el (comint-redirect-results-list-from-process):
7813 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7815 * net/eww.el (eww-update-header-line-format): Quote % characters.
7817 2013-06-21 Glenn Morris <rgm@gnu.org>
7819 * play/cookie1.el (cookie): New custom group.
7820 (cookie-file): New option.
7821 (cookie-check-file): New function.
7822 (cookie): Make it interactive. Make start and end messages optional.
7823 Interactively, display the result. Default to cookie-file.
7824 (cookie-insert): Default to cookie-file.
7825 (cookie-snarf): Make start and end messages optional.
7826 Default to cookie-file. Use with-temp-buffer.
7827 (cookie-read): Rename from read-cookie.
7828 Make start and end messages optional. Default to cookie-file.
7829 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7831 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7832 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7834 2013-06-21 Leo Liu <sdl.web@gmail.com>
7836 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7838 2013-06-21 Glenn Morris <rgm@gnu.org>
7840 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7842 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7843 Daniel Hackney <dan@haxney.org>
7845 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7846 Consolidate the single-file vs tarball code.
7847 (package-desc-suffix): New function.
7848 (package-desc-full-name): Don't bother inlining it.
7849 (package-load-descriptor): Return the new package-desc.
7850 (package-mark-obsolete): Remove unused arg `package'.
7851 (package-unpack): Make it work for single files as well.
7852 Make it update package-alist.
7853 (package--make-autoloads-and-stuff): Rename from
7854 package--make-autoloads-and-compile. Don't compile any more.
7855 (package--compile): New function.
7856 (package-generate-description-file): New function, extracted from
7857 package-unpack-single.
7858 (package-unpack-single): Remove.
7859 (package--with-work-buffer): Add indentation and debugging info.
7860 (package-download-single): Remove.
7861 (package-install-from-archive): Rename from package-download-tar, make
7862 it take a pkg-desc, and make it work for single files as well.
7863 (package-download-transaction): Simplify.
7864 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7865 external tar program.
7866 (package-install-from-buffer): Remove `pkg-desc' argument.
7867 Use package-tar-file-info for tar-mode buffers.
7868 (package-install-file): Simplify accordingly.
7869 (package-archive-base): Change to take a pkg-desc.
7870 * tar-mode.el (tar--check-descriptor): New function, extracted from
7872 (tar-get-descriptor): Use it.
7873 (tar-get-file-descriptor): New function.
7874 (tar--extract): New function, extracted from tar-extract.
7875 (tar--extract): Use it.
7876 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7877 case the summary uses non-ascii. Adjust to new calling convention of
7878 package-tar-file-info.
7880 2013-06-21 Leo Liu <sdl.web@gmail.com>
7882 * comint.el (comint-redirect-results-list-from-process):
7883 Fix random delay. (Bug#14681)
7885 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7887 * profiler.el (profiler-format-number): Use log, not log10.
7889 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7891 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7893 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7895 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7896 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7898 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7899 (AUTOGENEL): ... here.
7900 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7901 (cl--defsubst-expand): Use it.
7903 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7905 * subr.el (log10): Move here from C code, and declare as obsolete.
7906 All uses of (log10 X) replaced with (log X 10).
7908 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7910 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7911 Declare with `defvar-local'.
7912 (tabulated-list-use-header-line, tabulated-list-entries)
7913 (tabulated-list-padding, tabulated-list-printer)
7914 (tabulated-list-sort-key): Declare with `defvar-local'.
7915 (tabulated-list-init-header, tabulated-list-print-fake-header):
7918 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7920 * arc-mode.el (archive-mode): Add `archive-write-file' to
7921 `write-contents-functions' also for remote files. (Bug#14652)
7923 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7925 * cus-edit.el (custom-commands): Fix typos.
7926 (custom-display): Fix tooltip text.
7927 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7928 Fix typos in docstrings.
7929 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7930 (custom-unlispify-menu-entry, custom-magic-value-create)
7931 (custom-add-see-also, custom-group-value-create): Use ?\s.
7932 (custom-guess-type, customize-apropos, editable-field)
7933 (custom-face-value-create): Use `string-match-p'.
7934 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7936 * custom.el (custom-load-symbol): Use `string-match-p'.
7938 * ansi-color.el: Convert to lexical binding.
7939 (ansi-colors): Fix URL.
7940 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7941 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7942 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7944 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7946 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7948 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7950 2013-06-19 Tom Tromey <tromey@redhat.com>
7952 * net/eww.el (eww-top-url): Remove.
7953 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7954 (eww-render): Set new variables. Don't set eww-top-url.
7955 (eww-handle-link): Handle "prev", "home", and "contents".
7956 Downcase the rel text.
7957 (eww-top-url): Choose best top URL.
7959 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7961 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7962 relying in widget.el. Using widget.el leads to too many
7963 user interface inconsistencies.
7964 (eww-self-insert): Implement entering commands in text fields.
7965 (eww-process-text-input): New function to make text input field editing
7967 (eww-submit): Rewrite to use the new-style form methods.
7968 (eww-select-display): Display the correct selected item.
7969 (eww-change-select): Implement changing the select value.
7970 (eww-toggle-checkbox): Implement radio/checkboxes.
7971 (eww-update-field): Fix compilation error.
7972 (eww-tag-textarea): Implement <textarea>.
7974 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7975 we don't shadow mode-specific bindings.
7977 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7980 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7982 2013-06-19 Glenn Morris <rgm@gnu.org>
7984 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7986 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7988 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7991 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7993 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7995 * net/browse-url.el (browse-url-browser-function):
7996 `eww-browse-url' has the right calling signature, `eww' does not.
7998 2013-06-19 Glenn Morris <rgm@gnu.org>
8000 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8001 Only eval autoloaded macros.
8002 (byte-compile-autoload): Only give the macro warning for macros.
8004 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8005 (ps-underlined-faces): Declare.
8007 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8008 (speedbar-add-supported-extension): Declare.
8010 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8011 Don't include a date stamp in the header of the generated file;
8012 it leads to needless differences between output files.
8014 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8016 * net/secrets.el (secrets-struct-secret-content-type):
8017 Replace check of introspection data by a test call of "CreateItem".
8018 Some servers do not offer introspection.
8020 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8022 * electric.el (electric-pair-mode): Improve interaction with
8023 electric-layout-mode.
8024 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8025 (electric-pair-syntax): Use text-mode-syntax-table in comments
8027 (electric-pair--insert): New function.
8028 (electric-pair-post-self-insert-function): Use it and
8029 electric--after-char-pos.
8031 2013-06-19 Leo Liu <sdl.web@gmail.com>
8033 * progmodes/octave.el (octave-help): Fix regexp.
8035 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8037 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8038 (shr-table-horizontal-line): Allow nil as a value, and change the
8040 (shr-insert-table-ruler): Respect the nil value.
8042 2013-06-18 Tom Tromey <tromey@barimba>
8044 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8046 (eww-open-file): New defun.
8047 (eww-render): Initialize new variables.
8048 (eww-display-html): Handle "link" and "a".
8049 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8050 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8051 (eww-back-url): Rename from eww-previous-url.
8052 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8055 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8057 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8058 Distinguish ternary operator tokens from slash symbol and slash
8061 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8063 Convert symbol prettification into minor mode and global minor mode.
8065 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8066 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8067 (prettify-symbols--keywords): Rename from
8068 `prog-prettify-symbols-alist' and make a local defvar.
8069 (prettify-symbols--compose-symbol): Rename from
8070 `prog--prettify-font-lock-compose-symbol'.
8071 (prettify-symbols--make-keywords): Rename from
8072 `prog-prettify-font-lock-symbols-keywords' and simplify.
8073 (prog-prettify-install): Remove.
8074 (prettify-symbols-mode): New minor mode, based on
8075 `prog-prettify-install'.
8076 (turn-on-prettify-symbols-mode): New function.
8077 (global-prettify-symbols-mode): New globalized minor mode.
8079 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8080 * progmodes/cfengine.el (cfengine3-mode):
8081 * progmodes/perl-mode.el (perl-mode): Don't call
8082 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8084 2013-06-18 Juri Linkov <juri@jurta.org>
8086 * files-x.el (modify-file-local-variable-message): New function.
8087 (modify-file-local-variable)
8088 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8089 and call `modify-file-local-variable-message' when it's non-nil.
8090 (add-file-local-variable, delete-file-local-variable)
8091 (add-file-local-variable-prop-line)
8092 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8093 and use it. (Bug#9820)
8095 2013-06-18 Juri Linkov <juri@jurta.org>
8097 * emulation/vi.el (vi-shell-op):
8098 * emulation/vip.el (vip-execute-com, ex-command):
8099 * emulation/viper-cmd.el (viper-exec-bang):
8100 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8101 the call of `shell-command-on-region'. (Bug#14637)
8103 * simple.el (shell-command-on-region): Doc fix.
8105 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8107 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8110 2013-06-18 Glenn Morris <rgm@gnu.org>
8112 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8114 * newcomment.el (comment-search-forward, comment-search-backward):
8115 Doc fix. (Bug#14376)
8117 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8119 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8120 (buffer-face-mode-invoke): Doc fix.
8122 2013-06-18 Matthias Meulien <orontee@gmail.com>
8124 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8125 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8127 2013-06-18 Glenn Morris <rgm@gnu.org>
8129 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8130 Replace obsolete function generic-make-keywords with its expansion.
8132 * progmodes/python.el (ffap-alist): Declare.
8134 * textmodes/reftex.el (bibtex-mode-map): Declare.
8136 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8138 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8139 (package-unpack, package-unpack-single): Return the pkg-dir.
8140 (package-download-transaction): Use it to update package-alist.
8142 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8144 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8147 2013-06-17 Juri Linkov <juri@jurta.org>
8149 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8151 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8153 * emacs-lisp/package.el (package-load-descriptor):
8154 Remove `with-syntax-table' call, `read' doesn't need it.
8155 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8157 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8159 * startup.el (command-line): Expand package name returned by
8160 `package--description-file' (bug#14639).
8162 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8164 * emacs-lisp/package.el (package-load-descriptor): Do not call
8165 `emacs-lisp-mode', just use its syntax table.
8167 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8169 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8170 `font-lock-extra-managed-props' if any prettifying keyword is added.
8171 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8172 (prog-mode): Use `setq-local'.
8174 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8176 * international/characters.el (standard-case-table): Set syntax of ?»
8177 and ?« to punctuation.
8179 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8181 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8182 Save relevant match data before calling `syntax-ppss' (bug#14595).
8184 2013-06-15 Juri Linkov <juri@jurta.org>
8186 * files-x.el (modify-file-local-variable-prop-line): Add local
8187 variables to the end of the existing comment on the first line.
8188 Use `file-auto-mode-skip' to skip interpreter magic line,
8189 and also skip XML declaration.
8191 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8193 * startup.el (package--builtin-versions): New var.
8194 (package-subdirectory-regexp): Remove.
8195 (package--description-file): Hard code its value instead.
8197 * emacs-lisp/package.el: Don't activate packages older than builtin.
8198 (package-obsolete-list): Rename from package-obsolete-alist, and make
8199 it into a simple list of package-desc.
8200 (package-strip-version): Remove.
8201 (package-built-in-p): Use package--builtin-versions.
8202 (package-mark-obsolete): Simplify.
8203 (package-process-define-package): Mark it obsolete if older than the
8205 (package-handle-response): Use line-end-position.
8206 (package-read-archive-contents, package--download-one-archive):
8208 (package--add-to-archive-contents): Skip if older than the builtin or
8210 (package-menu-describe-package): Fix last change.
8211 (package-list-unversioned): New var.
8212 (package-menu--generate): Use it.
8214 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8215 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8216 (autoload-builtin-package-versions): New variable.
8217 (autoload-generate-file-autoloads): Use them.
8218 Remove the list of autoloaded functions/macros from the
8219 (autoload...) comments.
8221 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8223 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8225 * simple.el (line-move-partial): Don't jump to the next screen
8226 line as soon as it becomes visible. Instead, continue enlarging
8227 the vscroll until the portion of a tall screen line that's left on
8228 display is about the height of the frame's default font.
8231 2013-06-15 Glenn Morris <rgm@gnu.org>
8233 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8234 compilation-error-regexp-alist void, or local while let-bound.
8236 * progmodes/make-mode.el (makefile-mode-syntax-table):
8237 Treat "=" as punctuation. (Bug#14614)
8239 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8241 * help-fns.el (describe-variable):
8242 Add extra line for permanent-local variables.
8244 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8246 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8247 Add export, import, library. (Bug#9164)
8248 (library): Set indent function.
8250 2013-06-14 Glenn Morris <rgm@gnu.org>
8252 * term/xterm.el (xterm--query):
8253 Stop after first matching handler. (Bug#14615)
8255 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8257 Add support for dired in saveplace.
8258 * dired.el (dired-initial-position-hook): New variable.
8259 (dired-initial-position): Call hook to place cursor position.
8260 * saveplace.el (save-place-to-alist): Add dired position.
8261 (save-place-dired-hook): New function.
8263 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8265 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8266 through a symbol rather than letrec.
8268 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8269 (package-desc): Add `dir' field.
8270 (package-desc-full-name): New function.
8271 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8272 (package-maybe-load-descriptor): Remove.
8273 (package-load-all-descriptors): Just call package-load-descriptor.
8274 (package--disabled-p): New function.
8275 (package-desc-vers, package-desc-doc): Remove aliases.
8276 (package--dir): Remove function.
8277 (package-activate): Check if a package is disabled.
8278 (package-process-define-package): New function, extracted from
8280 (define-package): Turn into a place holder.
8281 (package-unpack-single, package-tar-file-info):
8282 Use package--description-file.
8283 (package-compute-transaction): Use package--disabled-p.
8284 (package-download-transaction): Don't call
8285 package-maybe-load-descriptor since they're all loaded anyway.
8286 (package-install): Change argument to be a pkg-desc.
8287 (package-delete): Use a single pkg-desc argument.
8288 (describe-package-1): Use package-desc-dir instead of package--dir.
8289 Use package-desc property instead of package-symbol.
8290 (package-install-button-action): Adjust accordingly.
8291 (package--push): Rewrite.
8292 (package-menu--print-info): Adjust accordingly. Change the ID format
8294 (package-menu-describe-package, package-menu-get-status)
8295 (package-menu--find-upgrades, package-menu-mark-upgrades)
8296 (package-menu-execute, package-menu--name-predicate):
8298 * startup.el (package--description-file): New function.
8299 (command-line): Use it.
8300 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8301 Use package-desc-version.
8303 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8304 (byte-compile-preprocess): Use it.
8305 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8306 can't quite recognize.
8307 (byte-compile-add-to-list): Remove.
8308 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8309 (cconv-closure-convert): Add assertion.
8311 * emacs-lisp/map-ynp.el: Use lexical-binding.
8312 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8313 Factor out some repeated code.
8315 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8317 * subr.el (with-eval-after-load): New macro.
8318 (eval-after-load): Allow form to be a function.
8319 take advantage of lexical-binding.
8320 (do-after-load-evaluation): Use dolist and adjust to new format.
8321 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8323 2013-06-13 Juri Linkov <juri@jurta.org>
8325 * replace.el (perform-replace): Display "symbol " and other search
8326 modes from `isearch-message-prefix' in the *Help* buffer.
8328 * isearch.el (isearch-query-replace): Add " symbol" and other
8329 possible search modes from `isearch-message-prefix' to the prompt.
8330 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8331 when reading a regexp to collect.
8333 2013-06-13 Juri Linkov <juri@jurta.org>
8335 * isearch.el (word-search-regexp): Match whitespace if the search
8336 string begins or ends in whitespace. The LAX arg is applied to
8337 both ends of the search string. Use `regexp-quote' and explicit
8338 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8339 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8340 boundaries are replaced with symbol boundaries, and characters
8341 between symbols match non-word non-symbol syntax. (Bug#14602)
8343 2013-06-13 Juri Linkov <juri@jurta.org>
8345 * isearch.el (isearch-del-char): Don't exceed the length of
8346 `isearch-string' by the prefix arg. (Bug#14563)
8348 2013-06-13 Juri Linkov <juri@jurta.org>
8350 * isearch.el (isearch-yank-word, isearch-yank-line)
8351 (isearch-char-by-name, isearch-quote-char)
8352 (isearch-printing-char, isearch-process-search-char):
8353 Add optional count prefix arg. (Bug#14563)
8355 * international/isearch-x.el
8356 (isearch-process-search-multibyte-characters):
8357 Add optional count prefix arg.
8359 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8361 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8362 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8365 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8367 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8369 2013-06-13 Glenn Morris <rgm@gnu.org>
8371 * startup.el (tty-handle-args):
8372 Don't just discard "--" and anything after. (Bug#14608)
8374 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8376 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8378 Implement changes in Secret Service API. Make it backward compatible.
8379 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8380 (secrets-create-item): Use it. Prefix properties with interface.
8382 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8384 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8385 (term-emulate-terminal): Respect term-suppress-hard-newline.
8387 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8389 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8390 Only remove a `thumb-file' overlay. (Bug#14548)
8392 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8394 * mail/reporter.el (reporter-submit-bug-report):
8395 Handle missing package-name. (Bug#14600)
8397 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8399 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8400 (reftex-citation-prompt, reftex-default-bibliography)
8401 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8402 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8403 (reftex-bib-sort-author, reftex-bib-sort-year)
8404 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8405 (reftex-extract-bib-entries-from-thebibliography)
8406 (reftex-get-bibkey-default, reftex-get-bib-names)
8407 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8408 (reftex-format-bib-entry, reftex-parse-bibitem)
8409 (reftex-format-bibitem, reftex-do-citation)
8410 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8411 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8412 (reftex-insert-bib-matches, reftex-format-citation)
8413 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8414 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8415 existing comments into docstrings.
8417 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8419 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8421 2013-06-12 Andreas Schwab <schwab@suse.de>
8423 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8424 for auto-save files.
8426 2013-06-12 Glenn Morris <rgm@gnu.org>
8428 * ido.el (ido-delete-ignored-files): Remove.
8429 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8430 Go back to calling ido-ignore-item-p directly.
8432 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8434 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8436 * ido.el (ido-delete-ignored-files): New function,
8437 split from ido-make-file-list-1.
8438 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8439 (ido-make-file-list-1): Use ido-delete-ignored-files.
8441 2013-06-12 Leo Liu <sdl.web@gmail.com>
8443 * progmodes/octave.el (inferior-octave-startup)
8444 (inferior-octave-completion-table)
8445 (inferior-octave-track-window-width-change)
8446 (octave-eldoc-function-signatures, octave-help)
8447 (octave-find-definition): Use single quoted strings.
8448 (inferior-octave-startup-args): Change default value.
8449 (inferior-octave-startup): Do not hard code "-i" and
8450 "--no-line-editing".
8451 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8452 (inferior-octave-directory-tracker): Use it.
8453 (octave-goto-function-definition): Robustify.
8454 (octave-help): Support highlighting operators in 'See also'.
8455 (octave-find-definition): Find subfunctions only in Octave mode.
8457 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8459 * help-fns.el (help-fns--compiler-macro): If the handler function is
8460 named, then put a link to it.
8461 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8462 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8464 (cl-eval-when): Simplify debug spec.
8465 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8466 compiler-macro function instead of setting `compiler-macro-file'.
8468 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8470 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8471 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8473 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8474 Daniel Hackney <dan@haxney.org>
8476 First part of Daniel Hackney's patch to package.el.
8477 * emacs-lisp/package.el: Use defstruct.
8478 (package-desc): New, main struct.
8479 (package--bi-desc, package--ac-desc): New structs, used to describe the
8480 format in external files.
8481 (package-desc-vers): Replace with package-desc-version accessor.
8482 (package-desc-doc): Replace with package-desc-summary accessor.
8483 (package-activate-1): Remove `package' arg since the pkg-vec now
8485 (define-package): Use package-desc-from-define.
8486 (package-unpack-single): Change file-name arg to be a symbol.
8487 (package--add-to-archive-contents): Use package-desc-create and new
8488 accessor functions to package--ac-desc.
8489 (package-buffer-info, package-tar-file-info): Return a package-desc.
8490 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8491 arg to be a package-desc.
8492 (package-install-file): Adjust accordingly. Use \' to match EOS.
8493 (package--from-builtin): New function.
8494 (describe-package-1, package-menu--generate): Use it.
8495 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8496 (package-generate-autoloads): Idem and return the name of the file.
8497 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8498 Change pkg-info arg to be a package-desc.
8499 Use package-make-ac-desc.
8500 (package-upload-file): Use \' to match EOS.
8501 * finder.el (finder-compile-keywords): Use package-make-builtin.
8503 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8505 * vc/vc.el (vc-deduce-fileset): Change error message.
8506 (vc-read-backend): New function.
8507 (vc-next-action): Use it.
8509 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8511 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8512 (prolog-font-lock-keywords): Use regexp-opt instead.
8513 Don't manually highlight strings.
8514 (prolog-mode-variables): Simplify comment-start-skip.
8515 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8517 * emacs-lisp/generic.el (generic--normalise-comments)
8518 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8519 (generic-mode-set-comments): Use them.
8520 (generic-bracket-support): Use setq-local.
8521 (generic-make-keywords-list): Declare obsolete.
8523 2013-06-11 Glenn Morris <rgm@gnu.org>
8525 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8526 Prettify after setting font-lock-defaults. (Bug#14574)
8528 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8530 * replace.el (query-replace, occur-read-regexp-defaults-function)
8532 * subr.el (declare-function, number-sequence, local-set-key)
8533 (substitute-key-definition, locate-user-emacs-file)
8534 (with-silent-modifications, split-string, eval-after-load):
8535 Fix typos, remove unneeded backslashes and reflow some docstrings.
8537 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8539 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8540 default for Elisp files.
8542 2013-06-11 Glenn Morris <rgm@gnu.org>
8544 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8545 although define-derived-mode was doing this anyway. (Bug#14583)
8547 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8549 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8550 Fix make-variable-buffer-local call to refer to the correct variable.
8552 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8554 * eshell/em-term.el (eshell-visual-commands)
8555 (eshell-visual-subcommands, eshell-visual-options):
8556 Add summary line to docstrings. Add cross-references.
8558 2013-06-10 Glenn Morris <rgm@gnu.org>
8560 * epa.el (epa-read-file-name): New function. (Bug#14510)
8561 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8563 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8565 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8566 output redirection to be ignored with visual commands.
8568 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8570 * eshell/em-term.el (eshell-visual-command-p): New function.
8571 (eshell-term-initialize): Move long lambda to separate function
8572 eshell-visual-command-p.
8573 * eshell/em-dirs.el (eshell-dirs-initialise):
8574 * eshell/em-script.el (eshell-script-initialize):
8575 Add missing #' to lambda.
8577 2013-06-08 Leo Liu <sdl.web@gmail.com>
8579 * progmodes/octave.el (octave-add-log-current-defun): New function.
8580 (octave-mode): Set add-log-current-defun-function.
8581 (octave-goto-function-definition): Do not move point if not found.
8582 (octave-find-definition): Enhance to try subfunctions first.
8584 2013-06-08 Glenn Morris <rgm@gnu.org>
8586 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8587 (byte-compile-backward-char, byte-compile-backward-word):
8588 Improve previous change, to handle non-explicit nil.
8590 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8592 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8593 (smie--opener/closer-at-point): New function.
8594 (smie--matching-block-data): Use it. Don't match from right after an
8595 opener or right before a closer. Obey smie-blink-matching-inners.
8596 Don't signal a mismatch for repeated inners like "switch..case..case".
8598 2013-06-07 Leo Liu <sdl.web@gmail.com>
8600 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8602 (octave-function-header-regexp): Fix. (Bug#14570)
8603 (octave-help-mode-finish-hook, octave-help-mode-finish):
8604 Remove. Just use temp-buffer-show-hook.
8606 * newcomment.el (comment-search-backward): Revert last change.
8609 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8611 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8613 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8614 through xargs, to avoid failure due to MS-Windows limitations on
8615 command-line length.
8617 2013-06-06 Glenn Morris <rgm@gnu.org>
8619 * font-lock.el (lisp-font-lock-keywords-2):
8620 Treat user-error like error.
8622 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8623 (byte-compile-backward-char, byte-compile-backward-word):
8624 Handle explicit nil arguments. (Bug#14565)
8626 2013-06-05 Alan Mackenzie <acm@muc.de>
8628 * isearch.el (isearch-allow-prefix): New user option.
8629 (isearch-other-meta-char): Don't exit isearch when a prefix
8630 argument is typed whilst `isearch-allow-prefix' is non-nil.
8633 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8635 * autorevert.el (auto-revert-notify-handler): Use memq.
8636 Hide assertion failure.
8638 * skeleton.el: Use cl-lib.
8639 (skeleton-further-elements): Use defvar-local.
8640 (skeleton-insert): Use cl-progv.
8642 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8644 * progmodes/prog-mode.el (prog-prettify-symbols)
8645 (prog-prettify-install): Update docstrings.
8647 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8649 * simple.el: Move all the prog-mode code to prog-mode.el.
8650 * progmodes/prog-mode.el: New file.
8651 * loadup.el: Add prog-mode.el.
8653 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8655 * simple.el (prog-prettify-symbols): Add version.
8656 (prog-prettify-install): Add convenience function to prettify symbols.
8658 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8659 (perl--augmented-font-lock-keywords-1)
8660 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8661 variables and use it.
8663 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8664 (cfengine3-mode): Remove unneeded variable and use it.
8666 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8667 (lisp--augmented-font-lock-keywords-1)
8668 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8669 Remove unneeded variables and use it.
8671 2013-06-05 João Távora <joaotavora@gmail.com>
8673 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8674 to point when opening the connection. (Bug#14380)
8676 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8678 * subr.el (load-history-regexp, load-history-filename-element)
8679 (eval-after-load, after-load-functions, do-after-load-evaluation)
8680 (eval-next-after-load, display-delayed-warnings)
8681 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8682 definition of save-match-data.
8683 (overriding-local-map): Remove accidental obsolescence declaration.
8685 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8687 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8689 Generalize symbol prettify support to prog-mode and implement it
8690 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8691 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8692 (prog--prettify-font-lock-compose-symbol)
8693 (prog-prettify-font-lock-symbols-keywords): New variables and
8694 functions to support symbol prettification.
8695 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8696 (lisp--augmented-font-lock-keywords-1)
8697 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8698 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8699 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8700 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8701 Implement prettify of -> => :: strings.
8702 * progmodes/perl-mode.el (perl-prettify-symbols)
8703 (perl--font-lock-compose-symbol)
8704 (perl--font-lock-symbols-keywords): Move to prog-mode.
8705 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8706 (perl-font-lock-keywords-1)
8707 (perl-font-lock-keywords-2): Remove explicit prettify support.
8708 (perl--augmented-font-lock-keywords)
8709 (perl--augmented-font-lock-keywords-1)
8710 (perl--augmented-font-lock-keywords-2, perl-mode):
8711 Implement prettify support.
8713 2013-06-05 Leo Liu <sdl.web@gmail.com>
8715 Re-implement smie matching block highlight using
8716 show-paren-data-function. (Bug#14395)
8717 * emacs-lisp/smie.el (smie-matching-block-highlight)
8718 (smie--highlight-matching-block-overlay)
8719 (smie--highlight-matching-block-lastpos)
8720 (smie-highlight-matching-block)
8721 (smie-highlight-matching-block-mode): Remove.
8722 (smie--matching-block-data-cache): New variable.
8723 (smie--matching-block-data): New function.
8724 (smie-setup): Use smie--matching-block-data for
8725 show-paren-data-function.
8727 * progmodes/octave.el (octave-mode-menu): Fix.
8728 (octave-find-definition): Skip garbage lines.
8730 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8732 Fix compilation error with simultaneous dynamic+lexical scoping.
8733 Add warning when a defvar appears after the first let-binding.
8734 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8735 (byte-compile-close-variables): Initialize it.
8736 (byte-compile--declare-var): New function.
8737 (byte-compile-file-form-defvar)
8738 (byte-compile-file-form-define-abbrev-table)
8739 (byte-compile-file-form-custom-declare-variable): Use it.
8740 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8741 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8742 (byte-compile-bind): Handle dynamic bindings that shadow
8744 (byte-compile-unbind): Make arg non-optional.
8745 (byte-compile-let): Simplify.
8746 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8747 (cconv--analyse-function, cconv-analyse-form): Populate it.
8748 Protect byte-compile-bound-variables to limit the scope of defvars.
8749 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8750 Remove unneeded rule for `declare'.
8752 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8753 so as to avoid depending on cl-adjoin at run-time.
8754 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8756 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8757 (macroexp--warn-and-return): Use it.
8759 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8761 * lisp/subr.el: Convert to lexical binding.
8762 (overriding-local-map): Make obsolete.
8763 (add-to-list): Doc fix. Add compiler macro.
8764 (read-key): Swap values of local maps.
8766 2013-06-05 Leo Liu <sdl.web@gmail.com>
8768 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8770 2013-06-04 Leo Liu <sdl.web@gmail.com>
8772 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8773 (compilation-auto-jump): Suppress the "Mark set" message to give
8774 way to exit message.
8776 2013-06-04 Alan Mackenzie <acm@muc.de>
8778 Remove faulty optimisation from indentation calculation.
8779 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8780 search limit based on 2000 characters back from indent-point.
8782 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8784 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8786 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8788 * emacs-lisp/lisp.el: Use lexical-binding.
8789 (lisp--local-variables-1, lisp--local-variables): New functions.
8790 (lisp--local-variables-completion-table): New var.
8791 (lisp-completion-at-point): Use it complete let-bound vars.
8793 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8794 eagerly (bug#14422).
8796 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8798 * autorevert.el (auto-revert-notify-enabled)
8799 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8800 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8801 (auto-revert-notify-handler): Handle also gfilenotify.
8803 * subr.el (file-notify-handle-event): New defun. Replacing ...
8804 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8807 2013-06-03 Juri Linkov <juri@jurta.org>
8809 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8810 `M-s h .'. (Bug#14427)
8812 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8813 command `hi-lock-face-symbol-at-point'.
8814 (hi-lock-face-symbol-at-point): New command.
8815 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8816 (hi-lock-menu): Add `highlight-symbol-at-point'.
8817 (hi-lock-mode): Doc fix.
8819 * isearch.el (isearch-forward-symbol-at-point): New command.
8820 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8821 (isearch-highlight-regexp): Add a regexp which matches
8822 words/symbols for word/symbol mode.
8824 * subr.el (find-tag-default-bounds): New function with the body
8825 mostly moved from `find-tag-default'.
8826 (find-tag-default): Move most code to `find-tag-default-bounds',
8827 call it and apply `buffer-substring-no-properties' afterwards.
8829 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8831 * eshell/em-term.el (eshell-term-initialize):
8832 Use `cl-intersection' rather than `intersection'.
8834 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8836 * vc/log-view.el: Doc fix.
8837 (log-view-mode-map): Copy keymap from `special-mode-map'.
8839 2013-06-02 Eric Ludlam <zappo@gnu.org>
8841 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8842 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8843 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8844 (eieio-unbound, eieio-default-superclass)
8845 (eieio--define-field-accessors, method-static, method-before)
8846 (method-primary, method-after, method-num-lists)
8847 (method-generic-before, method-generic-primary)
8848 (method-generic-after, method-num-slots)
8849 (eieio-specialized-key-to-generic-key)
8850 (eieio--check-type, class-v, class-p)
8851 (eieio-class-name, define-obsolete-function-alias)
8852 (eieio-class-parents-fast, eieio-class-children-fast)
8853 (same-class-fast-p, class-constructor, generic-p)
8854 (generic-primary-only-p, generic-primary-only-one-p)
8855 (class-option-assoc, class-option, eieio-object-p)
8856 (class-abstract-p, class-method-invocation-order)
8857 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8858 (eieio-class-un-autoload, eieio-defclass)
8859 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8860 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8861 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8862 (eieio-defgeneric-reset-generic-form)
8863 (eieio-defgeneric-form-primary-only)
8864 (eieio-defgeneric-reset-generic-form-primary-only)
8865 (eieio-defgeneric-form-primary-only-one)
8866 (eieio-defgeneric-reset-generic-form-primary-only-one)
8867 (eieio-unbind-method-implementations)
8868 (eieio--defmethod, eieio--typep)
8869 (eieio-perform-slot-validation, eieio-validate-slot-value)
8870 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8871 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8872 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8873 (eieio-slot-name-index, eieio-class-slot-name-index)
8874 (eieio-set-defaults, eieio-initarg-to-attribute)
8875 (eieio-attribute-to-initarg, eieio-c3-candidate)
8876 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8877 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8878 (eieio-class-precedence-list, eieio-generic-call-methodname)
8879 (eieio-generic-call-arglst, eieio-generic-call-key)
8880 (eieio-generic-call-next-method-list)
8881 (eieio-pre-method-execution-functions, eieio-generic-call)
8882 (eieio-generic-call-primary-only, eieiomt-method-list)
8883 (eieiomt-optimizing-obarray, eieiomt-install)
8884 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8885 (eieio-generic-form, eieio-defmethod, make-obsolete)
8886 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8887 (defclass): Remove `eval-and-compile' from macro.
8888 (call-next-method, shared-initialize): Instead of using
8889 `scoped-class' variable, use new eieio--scoped-class, and
8890 eieio--with-scoped-class.
8891 (initialize-instance): Rename local variable 'scoped-class' to
8892 'this-class' to remove ambiguitity from old global.
8894 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8896 (eieio--scoped-class-stack): New variable.
8897 (eieio--scoped-class): New fcn.
8898 (eieio--with-scoped-class): New scoping macro.
8899 (eieio-defclass): Use pushnew instead of add-to-list.
8900 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8901 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8902 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8903 `scoped-class' variable, use new eieio--scoped-class, and
8904 eieio--with-scoped-class.
8906 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8908 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8910 * eshell/esh-ext.el (eshell-external-command): Pass args to
8911 `eshell-find-interpreter'.
8912 (eshell-find-interpreter): Add new second parameter ARGS.
8914 * eshell/em-script.el (eshell-script-initialize): Add second arg
8915 to the function added as MATCH to `eshell-interpreter-alist'.
8917 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8918 the function added as MATCH to `eshell-interpreter-alist'.
8920 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8921 (eshell-visual-options): New defcustom.
8922 (eshell-escape-control-x): Adapt docstring.
8923 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8924 `eshell-visual-options' in addition to `eshell-visual-commands'.
8925 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8927 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8929 * progmodes/python.el (python-indent-block-enders): Add break,
8930 continue and raise keywords.
8932 2013-06-01 Glenn Morris <rgm@gnu.org>
8934 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8936 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8937 * progmodes/cc-cmds.el (delete-forward-p):
8938 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8939 * progmodes/cc-engine.el (buffer-syntactic-context):
8940 * progmodes/cc-fonts.el (face-property-instance):
8941 * progmodes/cc-mode.el (set-keymap-parents):
8942 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8943 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8944 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8945 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8946 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8948 * progmodes/cc-vars.el (other): Emacs has this widget since
8949 at least 21.1, so don't (re)define it.
8951 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8952 Replace the obsolete alias pcomplete-arg-quote-list.
8954 2013-06-01 Leo Liu <sdl.web@gmail.com>
8956 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8958 (inferior-octave-minimal-columns)
8959 (inferior-octave-last-column-width): New variables.
8960 (inferior-octave-track-window-width-change): New function.
8961 (inferior-octave-mode): Adjust column width so that Octave output,
8962 for example from 'ls', can fit into the window nicely.
8964 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8966 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8967 Highlight expansions inside regexp literals.
8969 2013-05-31 Glenn Morris <rgm@gnu.org>
8971 * obsolete/sym-comp.el (symbol-complete):
8972 Replace obsolete completion-annotate-function.
8974 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8976 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8978 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8979 New function, checks if point is inside a literal that allows
8980 expression expansion.
8981 (ruby-syntax-propertize-expansion): Use it.
8982 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8985 2013-05-30 Juri Linkov <juri@jurta.org>
8987 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8989 (isearch-invisible): New variable.
8990 (isearch-forward): Doc fix.
8991 (isearch-mode): Set `isearch-invisible'
8992 to the value of `search-invisible'.
8993 (isearch-toggle-case-fold): Doc fix.
8994 (isearch-toggle-invisible): New command.
8995 (isearch-query-replace): Let-bind `search-invisible'
8996 to the value of `isearch-invisible'.
8997 (isearch-search): Use `isearch-invisible' instead of
8998 `search-invisible'. Let-bind `search-invisible'
8999 to the value of `isearch-invisible'. (Bug#11378)
9001 2013-05-30 Juri Linkov <juri@jurta.org>
9003 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9004 call when `query-flag' is nil and `search-invisible' is non-nil.
9007 2013-05-30 Glenn Morris <rgm@gnu.org>
9009 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9011 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9012 (cc-require): Suppress spurious "noruntime" warnings.
9013 (cc-require-when-compile): Use fboundp, for sake of compiler.
9015 * progmodes/cc-mode.el: Move load of cc-vars before that of
9016 cc-langs (which in turn loads cc-vars), to quieten compiler.
9018 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9020 * paren.el: Simplify the code.
9021 (show-paren-mode): Always start the timer.
9022 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9023 (show-paren--overlay, show-paren--overlay-1): Rename from
9024 show-paren-overlay and show-paren-overlay-1, and initialize to an
9025 overlay rather than to nil.
9026 (show-paren-function): Misc cleanup and simplifications.
9028 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9030 * paren.el (show-paren-data-function): New hook.
9031 (show-paren--default): New function, extracted from show-paren-function.
9032 (show-paren-function): Use show-paren-data-function.
9034 2013-05-30 Glenn Morris <rgm@gnu.org>
9036 * ielm.el (ielm-map, ielm-complete-symbol):
9037 Use completion-at-point rather than obsolete functions.
9038 (inferior-emacs-lisp-mode): Doc fix.
9039 Set completion-at-point-functions, rather than
9040 comint-dynamic-complete-functions.
9042 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9043 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9044 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9046 * image.el (image-animated-p): Tweak definition.
9048 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9049 (rlogin-process-connection-type): Tweak default. Add set-after.
9050 (rlogin-host): Doc fix.
9051 (rlogin): Tweak prompt.
9052 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9054 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9055 * progmodes/tcl.el (inferior-tcl-mode-map):
9056 Use completion-at-point rather than obsolete alias.
9058 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9060 * minibuffer.el (read-file-name-completion-ignore-case):
9061 Move before completion--in-region, for eager macro expansion.
9063 2013-05-29 Juri Linkov <juri@jurta.org>
9065 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9066 for total count of matching lines. Add `global-matches' for total
9067 count of matches. Rename `matches' to `lines' for count of
9068 matching lines. Add `matches' for count of matches.
9069 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9070 to `prev-line' for line number of prev match endpt.
9071 Increment `matches' for every match. Print the number of
9072 matching lines in the header.
9073 (occur-context-lines): Rename `lines' to `curr-line'.
9074 Rename `prev-lines' to `prev-line'. (Bug#14017)
9076 2013-05-29 Juri Linkov <juri@jurta.org>
9078 * replace.el (perform-replace): Add `skip-read-only-count',
9079 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9080 Increment them for corresponding conditions and report the number
9081 of skipped occurrences in the final message. (Bug#11746)
9082 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9083 (replace-string, replace-regexp): Doc fix.
9085 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9087 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9089 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9090 prog-mode-map (bug#14504).
9092 2013-05-29 Leo Liu <sdl.web@gmail.com>
9094 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9095 (octave-help): Small simplification.
9097 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9098 off the highlight first.
9100 2013-05-29 Glenn Morris <rgm@gnu.org>
9102 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9103 Handle idlwave-last-system-routine-info-cons-cell being nil.
9105 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9106 (idlwave-write-paths): Simplify via with-temp-buffer.
9108 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9109 * emulation/cua-rect.el: Also load cua-base at run time.
9111 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9112 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9113 (cperl-imenu-on-info): Require imenu.
9115 2013-05-28 Alan Mackenzie <acm@muc.de>
9117 Handle "capitalised keywords" correctly.
9118 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9120 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9122 * eshell/em-unix.el: Add -r option to cp.
9124 2013-05-28 Glenn Morris <rgm@gnu.org>
9126 * vc/vc-arch.el (vc-exec-after): Declare.
9127 (vc-switches): Autoload.
9128 * vc/vc-bzr.el: No need to require vc when compiling.
9129 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9130 (vc-resynch-buffer, vc-dir-refresh): Declare.
9131 (vc-setup-buffer, vc-switches): Autoload.
9132 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9133 (vc-resynch-buffer): Declare.
9134 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9135 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9136 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9137 (grep-read-regexp, grep-read-files, grep-expand-template)
9138 (vc-dir-refresh): Declare.
9139 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9140 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9141 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9142 * vc/vc-mtn.el (vc-exec-after): Declare.
9143 (vc-switches): Autoload.
9144 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9145 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9146 (vc-file-tree-walk): Declare.
9147 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9148 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9149 (vc-tag-precondition, vc-rename-master): Autoload.
9150 * vc/vc-svn.el (vc-exec-after): Declare.
9151 (vc-switches, vc-setup-buffer): Autoload.
9152 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9154 (vc-resynch-buffer): Declare.
9156 * obsolete/fast-lock.el (byte-compile-warnings):
9157 Don't warn about obsolete features in this obsolete file.
9159 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9160 Move definition before use.
9162 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9163 (dun-unix-verbs): Remove dun-zippy.
9164 (dun-zippy): Remove function.
9166 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9168 2013-05-27 Juri Linkov <juri@jurta.org>
9170 * replace.el (replace-search): New function with code moved out
9171 from `perform-replace'.
9172 (replace-highlight, replace-dehighlight): Move function definitions
9173 up closer to `replace-search'. (Bug#11746)
9175 2013-05-27 Juri Linkov <juri@jurta.org>
9177 * replace.el (perform-replace): Ignore invisible matches.
9178 In addition to checking `query-replace-skip-read-only', also
9179 filter out matches by calling `run-hook-with-args-until-failure'
9180 on `isearch-filter-predicates', and also check `search-invisible'
9181 for t or call `isearch-range-invisible'.
9182 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9184 2013-05-27 Juri Linkov <juri@jurta.org>
9186 * isearch.el (isearch-filter-predicates): Rename from
9187 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9188 (isearch-message-prefix): Display text from the property
9189 `isearch-message-prefix' of the currently active filters.
9190 (isearch-search): Don't compare `isearch-filter-predicate' with
9191 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9192 on `isearch-filter-predicates'. Also check `search-invisible' for t
9193 or call `isearch-range-invisible'.
9194 (isearch-filter-visible): Make obsolete.
9195 (isearch-lazy-highlight-search):
9196 Call `run-hook-with-args-until-failure' on
9197 `isearch-filter-predicates' and use `isearch-range-invisible'.
9199 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9200 `isearch-filter-predicates' instead of `funcall'ing
9201 `isearch-filter-predicate'.
9202 (Info-mode): Set `Info-isearch-filter' to
9203 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9205 * dired-aux.el (dired-isearch-filter-predicate-orig):
9207 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9208 (dired-isearch-filenames-end): Add and remove
9209 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9210 instead of changing the value of `isearch-filter-predicate'.
9211 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9212 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9213 Put property `isearch-message-prefix' to "filename " on
9214 `dired-isearch-filter-filenames'.
9216 * wdired.el (wdired-change-to-wdired-mode):
9217 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9218 locally instead of changing `isearch-filter-predicate'.
9219 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9221 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9223 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9224 return the commit hash (Bug#14459). Also set the
9225 `vc-git-detached' property.
9226 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9227 (vc-git-mode-line-string): Use the same help-echo format whether
9228 in detached mode or not, because we know the actual revision now.
9229 When in detached mode, shorten the revision to 7 chars.
9231 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9233 * emacs-lisp/easy-mmode.el (define-minor-mode):
9234 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9235 mode hook and provide a docstring.
9237 2013-05-27 Alan Mackenzie <acm@muc.de>
9239 Remove spurious syntax-table text properties inserted by C-y.
9240 * progmodes/cc-mode.el (c-after-change): Also clear hard
9241 syntax-table property with value nil.
9243 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9245 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9246 when reading the events; the buffer layout shall not be changed.
9248 2013-05-27 Leo Liu <sdl.web@gmail.com>
9250 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9252 (inferior-octave-directory-tracker): Automatically re-sync
9254 (octave-help): Improve handling of 'See also'.
9256 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9258 * doc-view.el: Minor naming convention tweaks.
9259 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9261 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9262 even if there's no `display' property yet (bug#14435).
9264 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9266 * subr.el (unmsys--file-name): Rename from reveal-filename.
9268 * Makefile.in (custom-deps, finder-data, autoloads)
9269 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9270 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9271 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9273 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9275 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9276 error-completion on the first 2 args of condition-case (bug#14446).
9279 2013-05-25 Leo Liu <sdl.web@gmail.com>
9281 * comint.el (comint-previous-matching-input): Do not flood the
9282 *Messages* buffer with trivial messages.
9284 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9286 * progmodes/flymake.el (flymake-nop): Don't return a string.
9287 (flymake-set-at): Fix typo.
9289 * simple.el (read--expression): New function, extracted from
9290 eval-expression. Set completion-at-point-functions (bug#14465).
9291 (eval-expression, eval-minibuffer): Use it.
9293 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9295 * progmodes/flymake.el (flymake-save-buffer-in-file)
9296 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9297 (flymake-selected-frame, flymake-log, flymake-ins-after)
9298 (flymake-set-at, flymake-get-buildfile-from-cache)
9299 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9300 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9301 Refine the doc string.
9302 (flymake-get-file-name-mode-and-masks): Reformat.
9303 (flymake-get-real-file-name-function): Fix a minor bug.
9305 2013-05-24 Juri Linkov <juri@jurta.org>
9307 * progmodes/grep.el (grep-mode-font-lock-keywords):
9308 Support =linenumber= format used by git-grep for lines with
9309 function names. (Bug#13549)
9311 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9313 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9314 0 after a semi-colon; it works better for smie-auto-fill.
9315 (octave--indent-new-comment-line): New function.
9316 (octave-indent-new-comment-line): Use it (indirectly).
9317 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9318 modify comment-line-break-function.
9320 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9321 (smie-setup): Use add-function to set it.
9323 2013-05-24 Sam Steingold <sds@gnu.org>
9325 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9326 argument (before the `interactive' argument).
9328 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9330 * image-mode.el (image-mode-winprops): Add winprops to
9331 image-mode-winprops-alist before running
9332 image-mode-new-window-functions.
9333 * doc-view.el (doc-view-new-window-function): Don't delay
9334 doc-view-goto-page via timers (bug#14435).
9336 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9338 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9339 (doc-view-desktop-save-buffer): New function.
9340 (doc-view-restore-desktop-buffer): New function.
9341 (desktop-buffer-mode-handlers):
9342 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9344 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9345 `desktop-save-buffer' function.
9347 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9349 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9350 (tramp-gvfs-file-name-handler): Raise a user error when
9351 `tramp-gvfs-enabled' is nil.
9352 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9353 Do not raise a user error when loading package. (Bug#14447)
9355 * net/xesam.el: Move to obsolete/.
9357 2013-05-24 Glenn Morris <rgm@gnu.org>
9359 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9361 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9363 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9364 (Info-find-node, Man-getpage-in-background): Declare.
9366 * mail/unrmail.el (unrmail):
9367 Replace obsolete detect-coding-with-priority.
9369 * net/socks.el (socks-split-string): Use this rather than split-string.
9370 (socks-nslookup-host): Update for above change.
9371 (dynamic-choice, s5-dynamic-choice-match)
9372 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9373 Comment out unused code.
9375 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9376 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9377 (gud-tooltip-echo-area): Make obsolete.
9378 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9380 * progmodes/js.el (js--optimize-arglist): Declare.
9382 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9384 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9385 (ediff-window-C): Declare.
9387 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9388 Tweak requires to silence compiler.
9390 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9391 (he-search-string, he-tried-table, he-expand-list)
9392 (he-init-string, he-string-member, he-substitute-string)
9393 (he-reset-string): Declare.
9395 * obsolete/options.el (list-options): Use custom-variable-p,
9396 rather than obsolete alias.
9398 2013-05-23 Sam Steingold <sds@gnu.org>
9400 * simple.el (shell-command-on-region): Pass the `replace' argument
9401 down to `call-process-region' to comply with the doc as reported on
9402 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9404 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9406 * emacs-lisp/smie.el (smie-indent-forward-token)
9407 (smie-indent-backward-token): Handle string tokens (bug#14381).
9409 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9411 * ielm.el (ielm-menu): New menu.
9412 (inferior-emacs-lisp-mode): Set comment-start.
9414 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9416 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9417 Fix deactivate action.
9419 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9420 Add cleveref macros.
9422 * lisp/textmodes/reftex-parse.el
9423 (reftex-locate-bibliography-files): Accept options for
9424 bibliography commands.
9425 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9426 Add addbibresource. Basic Biblatex support.
9428 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9430 * net/tramp-gvfs.el (top):
9431 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9432 when loading package. (Bug#14447)
9434 2013-05-23 Glenn Morris <rgm@gnu.org>
9436 * progmodes/js.el: No need to load comint when compiling.
9437 (ring-insert, comint-send-string, comint-send-input)
9438 (comint-last-input-end, ido-chop): Declare.
9440 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9441 * vc/ediff-mult.el: Adjust requires.
9442 (ediff-directories-internal, ediff-directory-revisions-internal)
9443 (ediff-patch-file-internal): Declare.
9444 * vc/ediff-ptch.el: Adjust requires.
9445 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9446 (ediff-find-file): Autoload.
9447 * vc/ediff-util.el: No need to load ediff when compiling.
9448 (ediff-regions-internal): Declare.
9449 * vc/ediff-wind.el: Adjust requires.
9450 (ediff-compute-toolbar-width): Define when compiling.
9451 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9452 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9453 (dired-get-filename, dired-get-marked-files)
9454 (ediff-last-dir-patch, ediff-patch-default-directory)
9455 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9456 (ediff-patch-buffer-internal): Declare.
9458 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9459 (ispell-process, ispell-buffer-local-words, lm-summary)
9460 (lm-section-start, lm-section-end): Declare.
9461 (checkdoc-ispell-init): Simplify.
9463 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9464 (he-string-member, he-reset-string, he-substitute-string): Declare.
9466 * eshell/em-ls.el: Adjust requires.
9467 (eshell-glob-regexp): Declare.
9468 * eshell/em-tramp.el: Adjust requires.
9469 (eshell-parse-command): Autoload.
9470 * eshell/em-xtra.el: Adjust requires.
9471 (eshell-parse-command): Autoload.
9472 * eshell/esh-ext.el: Adjust requires.
9473 (eshell-parse-command, eshell-close-handles): Autoload.
9474 * eshell/esh-io.el: Adjust requires.
9475 (eshell-output-filter): Autoload.
9476 * eshell/esh-util.el: No need to load tramp when compiling.
9477 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9479 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9480 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9481 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9482 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9483 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9484 * eshell/esh-opt.el, eshell/esh-proc.el:
9485 * eshell/esh-var.el: Adjust requires.
9486 * eshell/eshell.el: Do not require esh-util twice.
9487 (eshell-add-input-to-history): Declare.
9488 (eshell-command): Check history module is active before using it.
9490 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9492 2013-05-22 Leo Liu <sdl.web@gmail.com>
9494 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9496 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9498 * autorevert.el (auto-revert-notify-add-watch)
9499 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9500 it indicates changes in file modification time.
9502 2013-05-22 Glenn Morris <rgm@gnu.org>
9504 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9505 Always delete the autoloaded function from the noruntime and
9506 unresolved functions lists.
9508 * allout.el: No need to load epa, epg, overlay when compiling.
9509 (epg-context-set-passphrase-callback, epg-list-keys)
9510 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9511 (epg-key-user-id-list): Declare.
9513 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9514 (viper-set-parsing-style-toggling-macro)
9515 (viper-set-emacs-state-searchstyle-macros):
9516 Use called-interactively-p on Emacs.
9517 (viper-looking-back): Make it an obsolete alias. Update callers.
9518 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9519 Use looking-back rather than viper-looking-back.
9520 (viper-tmp-insert-at-eob, viper-enlarge-region)
9521 (viper-read-string-with-history, viper-register-to-point)
9522 (viper-append-to-register, viper-change-state-to-vi)
9523 (viper-backward-char-carefully, viper-forward-char-carefully)
9524 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9525 (viper-change-state-to-emacs): Declare.
9526 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9527 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9528 * emulation/viper-mous.el: Do not load viper-cmd.
9529 (viper-backward-char-carefully, viper-forward-char-carefully)
9530 (viper-forward-word, viper-adjust-window): Declare.
9532 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9534 * progmodes/idlw-help.el (idlwave-help-fontify):
9535 Use called-interactively-p.
9537 * term/w32console.el (w32-get-console-codepage)
9538 (w32-get-console-output-codepage): Declare.
9540 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9541 Remove unnecessary declarations.
9542 (dframe-message): Doc fix.
9544 * info.el (dframe-select-attached-frame, dframe-current-frame):
9547 * speedbar.el (speedbar-message): Make it an obsolete alias.
9549 (speedbar-with-attached-buffer)
9550 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9551 (speedbar-with-writable): Use backquote.
9552 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9553 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9554 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9555 rather than speedbar- aliases.
9556 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9557 (speedbar-make-specialized-keymap, speedbar-insert-button)
9558 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9559 (speedbar-do-function-pointer): Declare.
9560 (rmail-speedbar-button, rmail-speedbar-find-file)
9561 (rmail-speedbar-move-message):
9562 Use dframe-with-attached-buffer rather than speedbar- alias.
9563 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9564 (dframe-message, speedbar-make-specialized-keymap)
9565 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9566 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9567 (speedbar-insert-button, dframe-select-attached-frame)
9568 (dframe-maybee-jump-to-attached-frame)
9569 (speedbar-change-initial-expansion-list)
9570 (speedbar-previously-used-expansion-list-name): Declare.
9571 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9572 Use dframe-message, dframe-with-attached-buffer rather than
9574 (gud-sentinel): Silence compiler.
9575 * progmodes/vhdl-mode.el (speedbar-refresh)
9576 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9577 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9578 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9579 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9580 (speedbar-file-lists, speedbar-make-tag-line)
9581 (speedbar-line-directory, speedbar-goto-this-file)
9582 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9583 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9584 (speedbar-make-button, speedbar-reset-scanners)
9585 (speedbar-files-item-info, speedbar-line-text)
9586 (speedbar-find-file-in-frame, speedbar-set-timer)
9587 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9588 (speedbar-with-writable): Do not (re)define it.
9589 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9590 rather than speedbar- alias.
9592 2013-05-21 Leo Liu <sdl.web@gmail.com>
9594 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9596 (octave-mode): Tweak fill-nobreak-predicate.
9597 (inferior-octave-startup): Check process to avoid infinite loop.
9598 (inferior-octave): Pop to buffer first to show abornmal process
9601 2013-05-21 Glenn Morris <rgm@gnu.org>
9603 * printing.el (pr-menu-bar): Define when compiling.
9605 2013-05-21 Leo Liu <sdl.web@gmail.com>
9607 * progmodes/octave.el (octave-auto-fill): Remove.
9608 (octave-indent-new-comment-line): Improve.
9609 (octave-mode): Use auto fill mode through
9610 comment-line-break-function and fill-nobreak-predicate.
9611 (octave-goto-function-definition): Support DEFUN_DLD.
9612 (octave-beginning-of-defun): Small tweak.
9613 (octave-help): Show parent directory.
9615 2013-05-21 Glenn Morris <rgm@gnu.org>
9617 * files.el (dired-unmark):
9618 * progmodes/gud.el (gdb-input): Update declarations.
9620 * calculator.el (electric, ehelp): No need to load when compiling.
9621 (Electric-command-loop, electric-describe-mode): Declare.
9623 * doc-view.el (doc-view-current-converter-processes): Move before use.
9625 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9626 Move MODE-set-explicitly definition before use.
9628 * international/mule-diag.el (mule-diag):
9629 Don't use obsolete window-system-version.
9631 * mail/feedmail.el (smtpmail): No need to load when compiling.
9632 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9634 * mail/mail-utils.el (rfc822): No need to load when compiling.
9635 (rfc822-addresses): Autoload it.
9636 (mail-strip-quoted-names): Trivial simplification.
9638 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9639 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9641 * net/snmp-mode.el (tempo): Don't duplicate requires.
9643 * progmodes/prolog.el (info): No need to load when compiling.
9644 (comint): Require before shell requires it.
9645 (Info-goto-node): Autoload it.
9646 (Info-follow-nearest-node): Declare.
9647 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9649 * textmodes/artist.el (picture-mode-exit): Declare.
9651 * textmodes/reftex-parse.el (reftex-parse-from-file):
9652 Trivial rewrite so the compiler can parse it better.
9654 2013-05-20 Leo Liu <sdl.web@gmail.com>
9656 * progmodes/octave.el (octave-help-mode-map)
9657 (octave-help-mode-finish-hook): New variables.
9658 (octave-help-mode, octave-help-mode-finish): New functions.
9659 (octave-help): Use octave-help-mode.
9661 2013-05-20 Glenn Morris <rgm@gnu.org>
9663 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9665 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9667 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9668 start at point, so that expansion starting right after opening
9669 slash in a regexp is recognized.
9670 (ruby-syntax-before-regexp-re): New defvar, extracted from
9671 ruby-syntax-propertize-function. Since the value of this regexp
9672 is looked up at runtime now, we should be able to turn
9673 `ruby-syntax-methods-before-regexp' into a defcustom later.
9674 (ruby-syntax-propertize-function): Split regexp matching into two
9675 parts, for opening and closing slashes. That allows us to skip
9676 over string interpolations and support multiline regexps.
9677 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9678 for them, which calls `ruby-syntax-propertize-expansion'.
9679 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9680 call to `ruby-syntax-propertize-function'.
9681 (ruby-syntax-propertize-expansion): Extracted from
9682 `ruby-syntax-propertize-expansions'. Handles one expansion.
9683 (ruby-syntax-propertize-percent-literal): Leave point right after
9684 the percent symbol, so that the expression expansion rule can
9685 propertize the contents.
9686 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9688 (ruby-syntax-propertize-expansions): Remove.
9690 2013-05-18 Juri Linkov <juri@jurta.org>
9692 * man.el (Man-default-man-entry): Remove `-' from the end
9693 of the default value. (Bug#14400)
9695 2013-05-18 Glenn Morris <rgm@gnu.org>
9697 * comint.el (comint-password-prompt-regexp):
9698 Allow "password for XXX" where XXX contains colons (eg https://...).
9700 2013-05-18 Leo Liu <sdl.web@gmail.com>
9702 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9703 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9704 (octave-source-directories): Don't check process.
9705 (octave-source-directories, octave-find-definition): Doc fix.
9707 2013-05-18 Glenn Morris <rgm@gnu.org>
9709 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9710 Remove backspace/delete bindings. (Bug#14392)
9712 * cus-dep.el (custom-make-dependencies): Sort the output.
9713 (custom-versions-load-alist): Convert comment to doc.
9715 2013-05-17 Leo Liu <sdl.web@gmail.com>
9717 * newcomment.el (comment-search-backward): Stricter in finding
9718 comment start. (Bug#14303)
9720 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9721 (octave-comment-start-skip): Properly anchored.
9723 2013-05-17 Leo Liu <sdl.web@gmail.com>
9725 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9726 Clean up when turned off. (Bug#14395)
9727 (smie--highlight-matching-block-overlay): No longer buffer-local.
9728 (smie-highlight-matching-block): Adjust.
9730 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9732 Doc string fix for "nanoseconds" (Bug#14406).
9733 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9734 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9736 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9738 * calc/calc-units.el (math-extract-units): Preserve powers
9741 2013-05-17 Leo Liu <sdl.web@gmail.com>
9743 * subr.el (delete-consecutive-dups): New function.
9744 * ido.el (ido-set-matches-1): Use it.
9745 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9746 * ido.el (ido-remove-consecutive-dups): Remove.
9748 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9750 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9751 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9752 regexp-opt's `words'.
9754 2013-05-16 Leo Liu <sdl.web@gmail.com>
9756 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9757 (smie--highlight-matching-block-overlay)
9758 (smie--highlight-matching-block-lastpos)
9759 (smie--highlight-matching-block-timer): New variables.
9760 (smie-highlight-matching-block): New function.
9761 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9762 (smie-setup): Conditionally enable smie-blink-matching-open.
9764 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9766 Sync with upstream verilog-mode r840.
9767 * progmodes/verilog-mode.el (verilog-mode-version)
9768 (verilog-mode-release-date): Update.
9769 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9770 (verilog-sig-tieoff): Fix string error on
9771 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9772 (verilog-read-decls): Fix parameters confusing
9773 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9775 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9777 * subr.el (reveal-filename): New function.
9779 * loadup.el: Compute Emacs executable versions on MS-Windows,
9780 where executables have the .exe extension. Add a hard link
9781 emacs-XX.YY.ZZ.exe on MS-Windows.
9783 * Makefile.in (XARGS_LIMIT): New variable.
9784 (custom-deps, finder-data, autoloads)
9785 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9786 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9787 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9788 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9790 2013-05-16 Leo Liu <sdl.web@gmail.com>
9792 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9793 (octave-mode-menu, octave-mode-map): Remove its uses.
9795 2013-05-16 Reto Zimmermann <reto@gnu.org>
9797 Sync with upstream vhdl mode v3.34.2.
9798 * progmodes/vhdl-mode.el: Use `push' throughout.
9799 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9800 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9801 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9802 (vhdl-actual-generic-name): New option to derive actual generic name.
9803 (vhdl-port-paste-signals): Replace formal by actual generics.
9804 (vhdl-beautify): New name for old group vhdl-align. Update users.
9805 (vhdl-beautify-options): New option.
9806 (vhdl-last-input-event): New compat alias. Use throughout.
9807 (vhdl-goto-line): Replace user level function `goto-line'.
9808 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9809 vhdl-fix-statement-buffer.
9810 (vhdl-create-mode-menu): Add some entries.
9811 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9812 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9813 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9814 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9815 to force statements on one line.
9816 (vhdl-remove-trailing-spaces-region):
9817 New, split from vhdl-remove-trailing-spaces.
9818 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9819 Respect vhdl-beautify-options.
9820 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9821 (vhdl-update-sensitivity-list): Not add with index if exists without.
9822 Not include array index with signal. Ignore keywords in comments.
9823 (vhdl-get-visible-signals): Regexp tweaks.
9824 (vhdl-template-component-inst): Handle empty library.
9825 (vhdl-template-type): Add template for 'enum' type.
9826 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9827 Use vhdl-replace-string.
9828 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9829 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9830 (vhdl-speedbar-initialize): Update for above name change.
9831 (vhdl-compose-wire-components): Fix in handling of constants.
9832 (vhdl-error-regexp-emacs-alist): New variable.
9833 (vhdl-error-regexp-add-emacs): New function;
9834 adds support for new compile.el (Emacs 22+)
9835 (vhdl-generate-makefile-1): Change target order for single lib. units.
9836 Allow use of absolute file names.
9838 2013-05-16 Leo Liu <sdl.web@gmail.com>
9840 * simple.el (prog-indent-sexp): Indent enclosing defun.
9842 2013-05-15 Glenn Morris <rgm@gnu.org>
9844 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9845 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9846 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9847 (whitespace-highlight): Move to whitespace group.
9849 * comint.el (comint-source):
9850 * pcmpl-linux.el (pcmpl-linux):
9851 * shell.el (shell-faces):
9852 * eshell/esh-opt.el (eshell-opt):
9853 * international/ccl.el (ccl): Remove empty custom groups.
9855 * completion.el (dynamic-completion-mode):
9856 * jit-lock.el (jit-lock-debug-mode):
9857 * minibuffer.el (completion-in-region-mode):
9858 * type-break.el (type-break-mode-line-message-mode)
9859 (type-break-query-mode):
9860 * emulation/tpu-edt.el (tpu-edt-mode):
9861 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9862 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9863 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9865 * term/xterm.el (xterm): Change parent group to terminals.
9867 * master.el (master): Remove empty custom group.
9868 (master-mode): Remove unused :group argument.
9869 * textmodes/refill.el (refill): Remove empty custom group.
9870 (refill-mode): Remove unused :group argument.
9872 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9874 * cus-dep.el: Provide a feature.
9875 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9876 Don't mistakenly ignore files whose basenames match a basename
9877 from preloaded-file-list (eg cedet/ede/simple.el).
9878 Add a fallback method for getting :group.
9880 2013-05-15 Juri Linkov <juri@jurta.org>
9882 * isearch.el (isearch-char-by-name): Rename from
9883 `isearch-insert-char-by-name'. Doc fix.
9884 (isearch-forward): Mention `isearch-char-by-name' in
9885 the docstring. (Bug#13348)
9887 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9888 `exit-minibuffer' instead of
9889 `isearch-nonincremental-exit-minibuffer'.
9890 (isearch-edit-string): Remove mention of
9891 `isearch-nonincremental-exit-minibuffer' from docstring.
9892 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9893 (isearch-forward-exit-minibuffer)
9894 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9896 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9898 * loadup.el: Just use unversioned DOC.
9900 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9901 literals as extending to EOB.
9902 (nxml-last-fontify-end): Remove unused variable.
9903 (nxml-after-change1): Use with-silent-modifications.
9904 (nxml-extend-after-change-region): Simplify.
9905 (nxml-extend-after-change-region1): Remove function.
9906 (nxml-after-change1): Don't adjust for dependent regions.
9907 (nxml-fontify-matcher): Simplify.
9908 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9909 (xmltok-add-dependent): Remove function.
9910 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9911 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9912 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9913 unclosed <[[, <?, comment, and other literals as extending to EOB.
9914 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9915 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9917 (rng-do-some-validation-1): Don't mark dependent regions.
9918 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9919 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9920 (nxml-clear-dependent-regions): Remove functions.
9921 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9922 (nxml-ensure-scan-up-to-date):
9923 Don't clear&mark dependent regions.
9925 2013-05-15 Leo Liu <sdl.web@gmail.com>
9927 * progmodes/octave.el (octave-goto-function-definition):
9928 Improve and fix callers.
9930 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9932 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9933 the setter (bug#14387).
9935 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9936 surrounding group (bug#14402).
9938 2013-05-14 Juri Linkov <juri@jurta.org>
9940 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9943 2013-05-14 Glenn Morris <rgm@gnu.org>
9945 * progmodes/f90.el (f90-imenu-generic-expression):
9946 Fix typo in 2013-05-08 change. (Bug#14402)
9948 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9950 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9951 Remove signals for which replies are never received.
9953 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9955 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9956 (gdb-handler-alist, gdb-handler-number): Remove variables.
9957 (gdb-handler-list): New variable.
9958 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9959 (gdb-pending-handler-p, gdb-handle-reply)
9960 (gdb-remove-all-pending-triggers): New functions.
9961 (gdb-discard-unordered-replies): New defcustom.
9962 (gdb-handler): New defstruct.
9963 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9964 instead of gdb-pending-triggers. Update docstring.
9965 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9966 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9967 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9968 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9969 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9970 (gdb-frame-handler): Pending triggers are now automatically managed.
9971 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9973 (gdb-input): Automatically handles pending triggers. Update docstring.
9974 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9975 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9977 (gdb-done-or-error): Now use gdb-handle-reply.
9979 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9981 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9984 2013-05-14 Glenn Morris <rgm@gnu.org>
9986 * subr.el (user-emacs-directory-warning): New option.
9987 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9989 2013-05-14 Leo Liu <sdl.web@gmail.com>
9991 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9993 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9994 (octave-font-lock-texinfo-comment): Fix invalid search bound
9995 error: wrong side of point.
9997 2013-05-14 Glenn Morris <rgm@gnu.org>
9999 * progmodes/flymake.el (flymake-xml-program): New option.
10000 (flymake-xml-init): Use it.
10002 * term/xterm.el: Provide a feature.
10004 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10006 2013-05-13 Glenn Morris <rgm@gnu.org>
10008 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10009 Add compat aliases as a hack workaround. (Bug#14384)
10011 2013-05-13 Leo Liu <sdl.web@gmail.com>
10013 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10015 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10017 (octave-comment-start-skip): Include %!.
10018 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10020 2013-05-12 Leo Liu <sdl.web@gmail.com>
10022 * progmodes/octave.el (inferior-octave-startup): Store the value
10023 of __octave_srcdir__ for octave-source-directories.
10024 (inferior-octave-check-process): New function refactored out of
10025 inferior-octave-send-list-and-digest.
10026 (octave-source-directories)
10027 (octave-find-definition-filename-function): New variables.
10028 (octave-source-directories)
10029 (octave-find-definition-default-filename): New functions.
10030 (octave-find-definition): Improve to find functions implemented in C++.
10032 2013-05-12 Glenn Morris <rgm@gnu.org>
10034 * calendar/diary-lib.el (diary-outlook-format-1):
10035 Don't include dayname in the output. (Bug#14349)
10037 2013-05-11 Glenn Morris <rgm@gnu.org>
10039 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10041 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10042 Treat cc-provide like provide.
10044 2013-05-11 Kevin Ryde <user42@zip.com.au>
10046 * cus-dep.el (custom-make-dependencies):
10047 Use generated-autoload-load-name for the sake of files such
10048 such cedet/semantic/bovine/c.el, where the base file name
10049 is not in load-path. (Bug#5277)
10051 2013-05-11 Glenn Morris <rgm@gnu.org>
10053 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10056 2013-05-11 Leo Liu <sdl.web@gmail.com>
10058 * progmodes/octave.el (octave-indent-comment): Improve.
10059 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10060 (octave-eldoc-function-signatures, octave-eldoc-function):
10062 (octave-mode, inferior-octave-mode): Add eldoc support.
10064 2013-05-11 Richard Stallman <rms@gnu.org>
10066 * epa.el (epa-decrypt-file): Take output file name as argument
10067 and read it using `interactive'.
10069 2013-05-11 Leo Liu <sdl.web@gmail.com>
10071 * progmodes/octave.el (octave-beginning-of-line)
10072 (octave-end-of-line): Check before using up-list because it jumps
10073 out of more syntactic contructs since moving to smie.
10074 (octave-indent-comment): New function.
10075 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10076 (octave-begin-keywords, octave-end-keywords)
10077 (octave-reserved-words, octave-smie-bnf-table)
10078 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10080 2013-05-11 Glenn Morris <rgm@gnu.org>
10082 * faces.el (internal-face-x-get-resource):
10083 * frame.el (ns-display-monitor-attributes-list):
10084 * calc/calc-aent.el (math-to-radians-2):
10085 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10088 * calc/calc-menu.el: Make it loadable in isolation.
10090 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10091 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10092 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10093 (eudc-bbdb-query-internal): Require 'bbdb.
10095 * lpr.el (lpr-headers-switches):
10096 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10098 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10100 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10102 * term.el (term-set-escape-char): Make it idempotent.
10104 2013-05-10 Leo Liu <sdl.web@gmail.com>
10106 * progmodes/octave.el (inferior-octave-completion-table):
10107 No longer a function and all uses changed. Use cache to speed up
10108 completion due to bug#11906.
10109 (octave-beginning-of-defun): Re-write to be more general.
10111 2013-05-10 Glenn Morris <rgm@gnu.org>
10113 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10115 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10117 * comint.el (comint-redirect-send-command-to-process): Use :around
10118 rather than :override for comint-redirect-filter.
10119 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10120 Call it instead of comint-redirect-original-filter-function (which
10121 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10123 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10125 * frame.el (display-monitor-attributes-list): Add NS case.
10126 (ns-display-monitor-attributes-list): Declare.
10128 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10130 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10132 2013-05-09 Glenn Morris <rgm@gnu.org>
10134 * international/fontset.el (vertical-centering-font-regexp):
10135 Set standard-value.
10137 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10139 * bookmark.el (bookmark-search-delay):
10140 * cus-start.el (vertical-centering-font-regexp):
10141 * ps-mule.el (ps-mule-font-info-database-default):
10142 * ps-print.el (ps-default-fg, ps-default-bg):
10143 * type-break.el (type-break-good-break-interval):
10144 * whitespace.el (whitespace-indentation-regexp)
10145 (whitespace-space-after-tab-regexp):
10146 * emacs-lisp/testcover.el (testcover-1value-functions)
10147 (testcover-noreturn-functions, testcover-progn-functions)
10148 (testcover-prog1-functions):
10149 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10150 * eshell/em-glob.el (eshell-glob-translate-alist):
10151 * play/tetris.el (tetris-tty-colors):
10152 * progmodes/cpp.el (cpp-face-default-list):
10153 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10154 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10155 (idlwave-help-browser-generic-args):
10156 * progmodes/make-mode.el (makefile-special-targets-list):
10157 * progmodes/python.el (python-shell-virtualenv-path):
10158 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10159 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10160 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10161 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10162 * textmodes/reftex-vars.el (reftex-format-label-function):
10163 * textmodes/remember.el (remember-diary-file): Fix custom types.
10165 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10168 2013-05-09 Leo Liu <sdl.web@gmail.com>
10170 * progmodes/octave.el (inferior-octave-completion-at-point):
10171 Restore file completion. (Bug#14300)
10172 (inferior-octave-startup): Fix incorrect highlighting for the
10175 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10177 * progmodes/ruby-mode.el: First cut at SMIE support.
10178 (ruby-use-smie): New var.
10179 (ruby-smie-grammar): New constant.
10180 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10181 (ruby-smie--forward-token, ruby-smie--backward-token)
10182 (ruby-smie-rules): New functions.
10183 (ruby-mode-variables): Setup SMIE if applicable.
10185 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10187 * simple.el (line-move-visual): Signal beginning/end of buffer
10188 only if vertical-motion moved less than it was requested. Avoids
10189 silly incorrect error messages when there are display strings with
10190 multiple newlines at EOL.
10192 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10194 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10195 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10196 (prolog-char-quote-workaround):
10197 * progmodes/cperl-mode.el (cperl-under-as-char):
10198 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10200 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10202 (vhdl-mode-syntax-table-init): Remove.
10204 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10207 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10209 (ld-script-font-lock-keywords):
10210 Change regexps to use things like \_< and \_>.
10212 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10213 Change all regexps to use things like \_< and \_>.
10215 * progmodes/autoconf.el (autoconf-definition-regexp)
10216 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10217 Handle a _ with symbol syntax.
10218 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10220 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10221 Consolidate declaration.
10222 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10224 (ada-create-syntax-table): Remove.
10225 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10226 already has the right syntax nowadays.
10227 (ada-goto-next-word): Don't change the syntax of "_".
10229 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10232 2013-05-08 Sam Steingold <sds@gnu.org>
10234 * thingatpt.el (thing-at-point): Accept optional second argument
10235 NO-PROPERTIES to strip the text properties from the return value.
10236 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10237 to `thing-at-point' instead of stripping the properties ourselves.
10238 Also, when `thing-at-point' fails to find a url, prepend "http://"
10239 to the filename at point on the assumption that the user is
10240 pointing at something like gnu.org/gnu.
10242 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10244 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10245 * faces.el (crm-separator):
10246 Silence byte-compiler.
10248 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10249 (tool-bar-map): Remove unneeded defvars.
10251 2013-05-08 Leo Liu <sdl.web@gmail.com>
10253 Re-work a fix for bug#10994 based on Le Wang's patch.
10254 * ido.el (ido-remove-consecutive-dups): New helper.
10255 (ido-completing-read): Use it.
10256 (ido-chop): Revert fix for bug#10994.
10258 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10260 * cus-edit.el (custom-save-variables):
10261 Pretty-print long values. (Bug#14187)
10263 2013-05-08 Glenn Morris <rgm@gnu.org>
10265 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10266 (m4-mode-syntax-table): Init in the defvar.
10267 (m4-mode-abbrev-table): Let define-derived-mode define it.
10269 2013-05-08 Tom Tromey <tromey@redhat.com>
10271 * progmodes/m4-mode.el (m4-mode-syntax-table):
10272 Do not treat "_" as word constituent. (Bug#14167)
10274 2013-05-07 Glenn Morris <rgm@gnu.org>
10276 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10277 Remove explicit eshell-isearch-cancel-map.
10279 * progmodes/f90.el (f90-smart-end-names): New option.
10280 (f90-smart-end): Doc fix.
10281 (f90-end-block-optional-name): New constant.
10282 (f90-block-match): Respect f90-smart-end-names.
10284 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10286 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10287 about implicit semi-colons (bug#14218).
10289 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10291 * frame.el (display-monitor-attributes-list)
10292 (frame-monitor-attributes): New functions.
10294 2013-05-06 Leo Liu <sdl.web@gmail.com>
10296 * progmodes/octave.el (octave-syntax-propertize-function): Change
10297 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10298 (octave-font-lock-keywords): Use octave-operator-regexp.
10299 (octave-completion-at-point): Rename from
10300 octave-completion-at-point-function.
10301 (inferior-octave-directory-tracker): Robustify.
10302 (octave-text-functions): Remove and fix its uses. No such things
10305 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10307 * emacs-lisp/trace.el (trace--display-buffer): New function.
10308 (trace-make-advice): Use it.
10310 2013-05-06 Juri Linkov <juri@jurta.org>
10312 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10313 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10315 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10316 in the help string. (Bug#12985)
10318 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10320 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10322 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10324 * progmodes/perl-mode.el: Add support for here documents.
10325 (perl-syntax-propertize-function): Match here-doc markers.
10326 (perl-syntax-propertize-special-constructs): Find their end.
10327 (perl-imenu-generic-expression): Use [:alnum:].
10329 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10330 (advice--add-function): Refresh the advice if already present
10333 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10335 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10337 2013-05-06 Glenn Morris <rgm@gnu.org>
10339 * w32-fns.el (w32-charset-info-alist): Declare.
10341 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10342 of its defcustom properties.
10343 (eshell-cmpl-initialize): No need to load pcomplete.
10345 * generic-x.el: No need to require comint when compiling.
10347 * net/eudc-export.el: Make it loadable without bbdb.
10348 (top-level): Use require rather than load-library.
10349 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10350 (eudc-batch-export-records-to-bbdb)
10351 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10354 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10356 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10357 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10358 some tweaks, instead.
10360 2013-05-05 Leo Liu <sdl.web@gmail.com>
10362 * progmodes/octave.el (octave-font-lock-keywords)
10363 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10364 (inferior-octave-send-list-and-digest): Improve error message.
10365 (octave-mode, inferior-octave-mode): Use setq-local.
10366 (octave-help): Set info-lookup-mode.
10368 2013-05-05 Richard Stallman <rms@gnu.org>
10370 * vc/compare-w.el (compare-windows-whitespace):
10371 Treat no-break space as whitespace.
10373 * mail/rmailsum.el (rmail-summary-rmail-update):
10374 Detect empty summary and don't change selected message.
10375 (rmail-summary-goto-msg): Likewise.
10377 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10378 Doc fixes, rename args.
10380 2013-05-05 Alan Mackenzie <acm@muc.de>
10382 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10384 2013-05-05 Juri Linkov <juri@jurta.org>
10386 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10387 to not add the length of the summary segment to the return value.
10390 2013-05-05 Leo Liu <sdl.web@gmail.com>
10392 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10393 (inferior-octave-output-filter): Remove.
10394 (octave-send-region, inferior-octave-startup): Fix callers.
10395 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10396 (octave-binary-file-extensions): New user variable.
10397 (octave-find-definition): Confirm if opening binary files.
10398 (octave-help-file): Use octave-find-definition to get the binary
10400 (octave-help): Adjust for octave-help-file change.
10402 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10404 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10405 Merge the two entries that handle function definitions.
10406 (pascal--syntax-propertize): New const.
10407 (pascal-mode): Use it. Use setq-local.
10409 2013-05-04 Glenn Morris <rgm@gnu.org>
10411 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10412 (diary-from-outlook): Respect diary-from-outlook-function.
10414 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10416 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10417 Move the declaration from C.
10418 (read-minibuffer, eval-minibuffer): Move from C.
10419 (completion-setup-function): Avoid minibuffer-completion-contents.
10421 2013-05-03 Leo Liu <sdl.web@gmail.com>
10423 * progmodes/octave.el (octave-font-lock-keywords): Do not
10424 dehighlight 'end' in comments or strings.
10425 (octave-completing-read, octave-goto-function-definition):
10427 (octave-help-buffer): New user variable.
10428 (octave-help-file, octave-help-function): New button types.
10429 (octave-help): New command and bind it to C-h ;.
10430 (octave-find-definition): New command and bind it to M-.
10431 (user-error): Alias to error if not defined.
10433 2013-05-02 Leo Liu <sdl.web@gmail.com>
10435 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10437 (octave-font-lock-keywords): Include [ and {.
10439 2013-05-02 Leo Liu <sdl.web@gmail.com>
10441 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10442 (inferior-octave): Remove calling comint-mode and return the buffer.
10443 (inferior-octave-startup): Cosmetic changes.
10445 2013-05-02 Leo Liu <sdl.web@gmail.com>
10447 * progmodes/octave.el (octave-syntax-propertize-function):
10448 Include the case when ' is at line beginning. (Bug#14336)
10450 2013-05-02 Glenn Morris <rgm@gnu.org>
10452 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10453 * desktop.el (vc-dir-mode): Just autoload it here.
10455 2013-05-02 Alan Mackenzie <acm@muc.de>
10457 Eliminate variable c-standard-font-lock-fontify-region-function.
10458 * progmodes/cc-mode.el
10459 (c-standard-font-lock-fontify-region-function): Remove.
10460 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10462 2013-05-01 Leo Liu <sdl.web@gmail.com>
10464 * progmodes/octave.el: Compatible with older emacs-24 releases.
10465 (inferior-octave-has-built-in-variables): Remove. Built-in
10466 variables were removed from Octave in 2007.
10467 (inferior-octave-startup): Fix uses.
10468 (comint-line-beginning-position): Remove compatibility code for
10471 2013-05-01 Juri Linkov <juri@jurta.org>
10473 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10475 2013-05-01 Juri Linkov <juri@jurta.org>
10477 * comint.el (comint-previous-matching-input): Don't print message
10478 "History item: %d" when `isearch-mode' is active.
10479 (comint-history-isearch-message): Print message "History item: %d"
10480 when `comint-input-ring-index' is not empty and this function is
10481 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10483 2013-05-01 Leo Liu <sdl.web@gmail.com>
10485 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10486 definitions. Use completion-at-point to insert keywords.
10487 (octave-abbrev-start): Remove.
10488 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10490 2013-04-30 Leo Liu <sdl.web@gmail.com>
10492 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10495 2013-04-30 Alan Mackenzie <acm@muc.de>
10497 Handle arbitrarily long C++ member initialisation lists.
10498 * progmodes/cc-engine.el (c-back-over-member-initializers):
10500 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10501 (most) member init lists.
10503 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10505 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10508 2013-04-30 Leo Liu <sdl.web@gmail.com>
10510 * progmodes/octave.el (octave-variables): Remove. No builtin
10511 variables any more. All converted to functions.
10512 (octave-font-lock-keywords, octave-completion-at-point-function):
10514 (octave-font-lock-texinfo-comment): New user variable.
10515 (octave-texinfo-font-lock-keywords): New variable for texinfo
10517 (octave-function-comment-block): New face.
10518 (octave-font-lock-texinfo-comment): New function.
10519 (octave-mode): Font lock texinfo comment block.
10521 2013-04-29 Leo Liu <sdl.web@gmail.com>
10523 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10524 indexing expression.
10525 (octave-continuation-string): Do not use \.
10526 (inferior-octave-complete-impossible): Remove.
10527 (inferior-octave-completion-table)
10528 (inferior-octave-completion-at-point): Remove its uses.
10529 (inferior-octave-startup): completion_matches was introduced to
10530 Octave in 1996 so safe to assume it.
10531 (octave-function-file-comment): Improve to follow how Octave does it.
10532 (octave-update-function-file-comment): Tweak.
10534 2013-04-29 Leo Liu <sdl.web@gmail.com>
10536 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10537 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10538 (octave-function-file-comment): Fix typo.
10539 (octave-sync-function-file-names): Use read-char-choice.
10541 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10543 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10544 to t for the less important warnings.
10546 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10548 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10550 2013-04-27 Glenn Morris <rgm@gnu.org>
10552 * vc/log-view.el (log-view-current-entry):
10553 Treat "---" separator lines as part of the following rev. (Bug#14169)
10555 2013-04-27 Juri Linkov <juri@jurta.org>
10557 * subr.el (read-number): Doc fix about using it by interactive
10558 code letter `n'. (Bug#14254)
10560 2013-04-27 Juri Linkov <juri@jurta.org>
10562 * desktop.el (desktop-auto-save-timeout): New option.
10563 (desktop-file-checksum): New variable.
10564 (desktop-save): Add optional arg `auto-save' and don't auto-save
10565 if nothing changed.
10566 (desktop-auto-save-timer): New variable.
10567 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10568 (after-init-hook): Call `desktop-auto-save-set-timer'.
10569 Suggested by Reuben Thomas <rrt@sc3d.org> in
10570 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10572 2013-04-27 Leo Liu <sdl.web@gmail.com>
10574 * progmodes/octave.el (octave-function-file-p)
10575 (octave-skip-comment-forward, octave-function-file-comment)
10576 (octave-update-function-file-comment): New functions.
10577 (octave-mode-map): Bind C-c ; to
10578 octave-update-function-file-comment.
10579 (octave-mode-menu): Add octave-update-function-file-comment.
10580 (octave-mode, inferior-octave-mode): Fix doc-string.
10581 (octave-insert-defun): Conform to Octave's coding convention.
10584 * files.el (basic-save-buffer): Don't let errors in
10585 before-save-hook prevent saving buffer.
10587 2013-04-20 Roland Winkler <winkler@gnu.org>
10589 * faces.el (read-face-name): Use completing-read if arg multiple
10592 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10594 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10595 displayed, move point to after the totals line.
10596 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10599 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10601 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10602 Add current dir to the load-path.
10603 (package-generate-autoloads): Don't rely on
10604 autoload-ensure-default-file.
10606 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10608 * textmodes/remember.el (remember-store-in-files): Document that
10609 the file name format is passed to `format-time-string'.
10611 2013-04-26 Leo Liu <sdl.web@gmail.com>
10613 * progmodes/octave.el (octave-sync-function-file-names): New function.
10614 (octave-mode): Use it in before-save-hook.
10616 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10618 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10621 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10622 \n and comment, even if it's not an implicit ; (bug#14218).
10624 2013-04-26 Glenn Morris <rgm@gnu.org>
10626 * subr.el (read-number): Once more use `read' rather than
10627 `string-to-number', to trap non-numeric input. (Bug#14254)
10629 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10631 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10632 Use `syntax-multiline' text property consistently instead of
10633 `font-lock-multiline'. (Bug#14237)
10635 2013-04-26 Glenn Morris <rgm@gnu.org>
10637 * emacs-lisp/shadow.el (list-load-path-shadows):
10638 No longer necessary to check for duplicate simple.el, since
10639 2012-07-07 change to init_lread to not include installation lisp
10640 directories in load-path when running uninstalled. (Bug#14270)
10642 2013-04-26 Leo Liu <sdl.web@gmail.com>
10644 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10645 (octave-mode, inferior-octave-mode): Use setq-local.
10646 (octave-not-in-string-or-comment-p): Rename to
10647 octave-in-string-or-comment-p.
10648 (octave-in-comment-p, octave-in-string-p)
10649 (octave-in-string-or-comment-p): Replace defsubst with defun.
10651 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10653 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10655 2013-04-25 Bastien Guerry <bzg@gnu.org>
10657 * textmodes/remember.el (remember-data-directory)
10658 (remember-directory-file-name-format): Fix custom types.
10660 2013-04-25 Leo Liu <sdl.web@gmail.com>
10662 * progmodes/octave.el (octave-completion-at-point-function):
10663 Make use of inferior octave process.
10664 (octave-initialize-completions): Remove.
10665 (inferior-octave-completion-table): New function.
10666 (inferior-octave-completion-at-point): Use it.
10667 (octave-completion-alist): Remove.
10669 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10671 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10672 (opascal-mode-syntax-table): New var.
10673 (opascal-literal-kind, opascal-is-literal-end)
10674 (opascal-literal-token-at): Rewrite.
10675 (opascal--literal-start-re, opascal-font-lock-keywords)
10676 (opascal--syntax-propertize): New constants.
10677 (opascal-font-lock-defaults): Adjust.
10678 (opascal-mode): Use them. Set comment-<foo> variables as well.
10679 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10680 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10681 (delphi-other-face, opascal-other-face): Remove face variables.
10682 (opascal-save-state): Remove macro.
10683 (opascal-fontifying-progress-step): Remove constant.
10684 (opascal--ignore-changes): Remove var.
10685 (opascal-set-token-property, opascal-parse-next-literal)
10686 (opascal-is-stable-literal, opascal-complete-literal)
10687 (opascal-is-literal-start, opascal-face-of)
10688 (opascal-parse-region, opascal-parse-region-until-stable)
10689 (opascal-fontify-region, opascal-after-change)
10690 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10691 (opascal-debug-parse-region, opascal-debug-parse-window)
10692 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10693 (opascal-debug-fontify-buffer): Remove.
10694 (opascal-debug-mode-map): Adjust accordingly.
10696 2013-04-25 Leo Liu <sdl.web@gmail.com>
10698 Merge octave-mod.el and octave-inf.el into octave.el with some
10700 * progmodes/octave.el: New file renamed from octave-mod.el.
10701 * progmodes/octave-inf.el: Merged into octave.el.
10702 * progmodes/octave-mod.el: Renamed to octave.el.
10704 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10706 * textmodes/reftex-vars.el
10707 (reftex-label-ignored-macros-and-environments): New defcustom.
10709 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10711 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10713 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10714 (smie-indent-keyword): Improve the check to ensure that the next
10715 comment is really on the same line.
10716 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10718 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10719 semi-colons if the line is not otherwise empty (bug#14218).
10721 2013-04-25 Glenn Morris <rgm@gnu.org>
10723 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10725 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10727 * progmodes/opascal.el (opascal-set-token-property): Rename from
10728 opascal-set-text-properties and only set `token' (bug#14134).
10729 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10730 (opascal-literal-text-properties): Remove.
10731 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10734 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10736 * textmodes/remember.el (remember-handler-functions): Add an
10737 option for a new handler `remember-store-in-files'.
10738 (remember-data-directory, remember-directory-file-name-format):
10740 (remember-store-in-files): New function to store remember notes
10741 as separate files within a directory.
10743 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10745 * progmodes/compile.el (compilation-next-error-function):
10746 Pass "formats" to compilation-find-file (bug#11777).
10748 2013-04-24 Glenn Morris <rgm@gnu.org>
10750 * vc/vc-bzr.el (vc-bzr-print-log):
10751 * vc/vc-hg.el (vc-hg-print-log):
10752 * vc/vc-svn.el (vc-svn-print-log):
10753 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10755 * vc/vc-bzr.el (vc-bzr-print-log):
10756 * vc/vc-cvs.el (vc-cvs-print-log):
10757 * vc/vc-git.el (vc-git-print-log):
10758 * vc/vc-hg.el (vc-hg-print-log):
10759 * vc/vc-mtn.el (vc-mtn-print-log):
10760 * vc/vc-rcs.el (vc-rcs-print-log):
10761 * vc/vc-sccs.el (vc-sccs-print-log):
10762 * vc/vc-svn.el (vc-svn-print-log):
10763 * vc/vc.el (vc-print-log-internal): Doc fixes.
10765 2013-04-23 Glenn Morris <rgm@gnu.org>
10767 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10768 Remove venerable code attempting to avoid substitute-command-keys.
10770 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10772 * textmodes/reftex-vars.el (reftex-label-regexps):
10773 Call `reftex-compile-variables' after changes to this variable.
10775 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10777 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10778 Use lexical-binding.
10779 (jit-lock-force-redisplay): Use markers, check buffer's continued
10780 existence and beware narrowed buffers.
10781 (jit-lock-fontify-now): Adjust call accordingly.
10783 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10785 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10786 to avoid misleading the user.
10788 2013-04-22 Leo Liu <sdl.web@gmail.com>
10790 * info-look.el: Prefer latex2e.info. (Bug#14240)
10792 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10794 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10796 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10797 * net/tramp.el (tramp-call-process): ... here.
10798 (tramp-set-completion-function, tramp-parse-putty):
10799 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10800 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10801 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10802 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10803 (tramp-call-local-coding-command): Use `tramp-call-process'
10804 instead of `tramp-compat-call-process'.
10806 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10807 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10808 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10809 (tramp-find-inline-compress): Improve traces.
10810 (tramp-maybe-send-script): Check for Perl binary.
10811 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10813 2013-04-22 Daiki Ueno <ueno@gnu.org>
10815 * epg.el (epg-context-pinentry-mode): New function.
10816 (epg-context-set-pinentry-mode): New function.
10817 (epg--start): Pass --pinentry-mode option to gpg command.
10819 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10821 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10822 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10823 `completion-at-point'. (Bug#13774)
10825 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10826 default key binding for `describe-distribution' has been moved to
10827 `C-h C-o'. (Bug#13970)
10829 2013-04-21 Glenn Morris <rgm@gnu.org>
10831 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10833 (vc-print-log): Clarify interactive prompt.
10835 2013-04-20 Glenn Morris <rgm@gnu.org>
10837 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10838 No longer include timestamp etc information.
10840 2013-04-20 Roland Winkler <winkler@gnu.org>
10842 * faces.el (read-face-name): Bug fix, return just one face if arg
10843 multiple is nil. (Bug#14209)
10845 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10847 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10848 (remove-function): Autoload.
10850 * comint.el (comint-redirect-original-filter-function): Remove.
10851 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10852 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10853 (vc-cvs-annotate-command):
10854 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10855 * progmodes/prolog.el (prolog-consult-compile):
10856 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10857 Use add/remove-function instead.
10858 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10859 (gud-tooltip-process-output, gud-tooltip-tips):
10860 Use add/remove-function instead.
10861 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10862 (scheme-interaction-mode, exit-scheme-interaction-mode):
10863 Use add/remove-function instead.
10865 * vc/vc-dispatcher.el: Use lexical-binding.
10866 (vc--process-sentinel): Rename from vc-process-sentinel.
10867 Change last arg to be the code to run. Don't use vc-previous-sentinel
10868 and vc-sentinel-commands any more.
10869 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10870 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10872 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10874 * progmodes/sh-script.el (sh-imenu-generic-expression):
10875 Handle function names with a single character. (Bug#14111)
10877 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10879 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10880 for subroutines defined in an eval (bug#14182).
10882 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10884 * bookmark.el (bookmark-completing-read): Improve handling of empty
10885 string (bug#14176).
10887 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10889 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10891 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10893 New faster Imenu implementation (bug#14058).
10894 * progmodes/python.el:
10895 (python-imenu-prev-index-position):
10896 (python-imenu-format-item-label-function)
10897 (python-imenu-format-parent-item-label-function)
10898 (python-imenu-format-parent-item-jump-label-function):
10900 (python-imenu-format-item-label)
10901 (python-imenu-format-parent-item-label)
10902 (python-imenu-format-parent-item-jump-label)
10903 (python-imenu--put-parent, python-imenu--build-tree)
10904 (python-imenu-create-index, python-imenu-create-flat-index)
10905 (python-util-popn): New functions.
10906 (python-mode): Set imenu-create-index-function to
10907 python-imenu-create-index.
10909 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10911 * winner.el (winner-active-region): Use region-active-p, activate-mark
10912 and deactivate-mark (bug#14225).
10914 * simple.el (deactivate-mark): Don't inline it.
10916 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10918 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10920 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10922 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10923 file extensions from the archive-mode entry in order to prefer
10924 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10926 2013-04-18 Leo Liu <sdl.web@gmail.com>
10928 * bindings.el (help-event-list): Add ?\?.
10930 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10932 * subr.el (with-wrapper-hook): Declare obsolete.
10933 * simple.el (filter-buffer-substring-function): New hook.
10934 (filter-buffer-substring): Use it.
10935 (filter-buffer-substring-functions): Mark obsolete.
10936 * minibuffer.el (completion-in-region-function): New hook.
10937 (completion-in-region): Use it.
10938 (completion-in-region-functions): Mark obsolete.
10939 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10940 * abbrev.el (abbrev-expand-function): New hook.
10941 (expand-abbrev): Use it.
10942 (abbrev-expand-functions): Mark obsolete.
10943 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10944 and :filter-return.
10946 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10948 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10949 and do not care about match data.
10951 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10953 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10954 completion tables when completing error conditions and
10955 `declare' arguments.
10956 (lisp-complete-symbol, field-complete): Mark as obsolete.
10957 (check-parens): Unmatched parens are user errors.
10958 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10960 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10962 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10963 command changed buffer (ie. `flyspell-pre-buffer' is not current
10964 buffer), which prevents making decisions based on invalid value of
10965 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10966 cause an error when `flyspell-pre-point' was nil after switching
10968 (flyspell-post-command-hook): No longer needs to change buffers when
10969 checking pre-word. While at it remove unnecessary progn.
10971 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10973 * textmodes/ispell.el (ispell-add-per-file-word-list):
10974 Fix `flyspell-correct-word-before-point' error when accepting
10975 words and `coment-padding' is an integer by using
10976 `comment-normalize-vars' (Bug #14214).
10978 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10980 New defun movement commands.
10981 * progmodes/python.el (python-nav--syntactically)
10982 (python-nav--forward-defun, python-nav-backward-defun)
10983 (python-nav-forward-defun): New functions.
10985 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10987 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10988 (python-syntax-context): Use named compiler-macro for backwards
10989 compatibility with Emacs 24.x.
10991 2013-04-17 Leo Liu <sdl.web@gmail.com>
10993 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10994 octave-hide-process-buffer.
10996 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10998 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11001 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11003 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11004 Fix adjustment of offset when receiving incomplete responses from GDB
11007 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11009 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11010 python-mode-abbrev-table.
11011 (python-skeleton-define): Adjust accordingly.
11012 (python-mode-abbrev-table): New table that inherits from it so that
11013 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11015 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11016 (abbrev-symbol): Use it.
11017 (abbrev--before-point): Use it since we already handle inheritance.
11019 2013-04-16 Leo Liu <sdl.web@gmail.com>
11021 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11022 binding to info-lookup-symbol.
11024 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11026 * minibuffer.el (completion--twq-all):
11027 * term/ns-win.el (ns-initialize-window-system):
11028 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11030 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11032 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11035 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11037 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11039 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11040 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11042 (ruby-end-of-defun): Remove the unused arg, change the docstring
11043 to reflect that this function is only used as the value of
11044 `end-of-defun-function'.
11045 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11046 to reflect an earlier change that beginning/end-of-defun functions
11047 jump between methods in a class definition, as well as top-level
11050 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11052 * minibuffer.el (minibuffer-complete): Don't just scroll
11053 a *Completions* that's been iconified.
11054 (minibuffer-force-complete): Make sure repetitions do cycle when going
11055 through completion-in-region -> minibuffer-complete.
11057 2013-04-15 Alan Mackenzie <acm@muc.de>
11059 Correct the placement of c-cpp-delimiters when there're #s not at
11062 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11063 place a submatch around the #.
11064 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11065 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11068 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11070 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11071 (advice--member-p): New arg `name'.
11072 (advice--add-function, advice-member-p): Use it (bug#14202).
11074 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11076 Reformulate java imenu-generic-expression.
11077 The old expression contained ill formed regexps.
11079 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11080 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11081 (cc-imenu-java-method-arg-regexp): New defconsts.
11082 (cc-imenu-java-build-type-args-regex): New defun.
11083 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11084 handling of spaces in the regexp.
11086 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11088 * textmodes/ispell.el (ispell-command-loop): Remove
11089 flyspell highlight of a word when ispell accepts it (bug #14178).
11091 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11093 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11094 uses code from the previous `ange-ftp-run-real-handler'.
11095 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11096 only in case that function exist. This is needed for proper
11097 unloading of Tramp.
11099 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11101 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11103 * textmodes/reftex.el (reftex-compile-variables): Use it.
11105 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11107 * files.el (normal-mode): Only use default major-mode if no other mode
11110 * emacs-lisp/trace.el (trace-values): New function.
11112 * files.el: Allow : in local variables (bug#14089).
11113 (hack-local-variable-regexp): New var.
11114 (hack-local-variables-prop-line, hack-local-variables): Use it.
11116 2013-04-13 Roland Winkler <winkler@gnu.org>
11118 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11119 data before it gets modified by bibtex-beginning-of-entry.
11121 2013-04-13 Roland Winkler <winkler@gnu.org>
11123 * textmodes/bibtex.el (bibtex-url): Doc fix.
11125 2013-04-13 Roland Winkler <winkler@gnu.org>
11127 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11128 does not visit a BibTeX file, exclude it from the list of buffers
11129 returned by bibtex-initialize.
11131 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11133 * window.el (split-window): Remove interactive form, since as a
11134 command this function is a special case of split-window-below.
11135 Correct doc string.
11137 2013-04-12 Roland Winkler <winkler@gnu.org>
11139 * faces.el (read-face-name): Do not override value of arg default.
11140 Allow single faces and strings as default values. Remove those
11141 elements from return value that are not faces.
11142 (describe-face): Simplify.
11143 (face-at-point): New optional args thing and multiple so that this
11144 function can provide the same functionality previously provided by
11146 (make-face-bold, make-face-unbold, make-face-italic)
11147 (make-face-unitalic, make-face-bold-italic, invert-face)
11148 (modify-face, read-face-and-attribute): Use face-at-point.
11150 * cus-edit.el (customize-face, customize-face-other-window)
11151 * cus-theme.el (custom-theme-add-face)
11152 * face-remap.el (buffer-face-set)
11153 * facemenu.el (facemenu-set-face): Use face-at-point.
11155 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11157 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11159 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11161 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11162 off leading { and trailing } from field values.
11164 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11166 * emacs-lisp/timer.el (timer--check): New function.
11167 (timer--time, timer-set-function, timer-event-handler): Use it.
11168 (timer-set-idle-time): Simplify.
11169 (timer--activate): CSE.
11170 (timer-event-handler): Give more info in error message.
11171 (internal-timer-start-idle): New function, moved from C.
11173 * mpc.el (mpc-proc): Add `restart' argument.
11174 (mpc-proc-cmd): Use it.
11175 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11176 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11179 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11181 * progmodes/sh-script.el: Implement `sh-mode' own
11182 `add-log-current-defun-function' (bug#14112).
11183 (sh-current-defun-name): New function.
11184 (sh-mode): Use the function.
11186 2013-04-09 Bastien Guerry <bzg@gnu.org>
11188 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11190 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11192 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11194 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11197 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11199 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11202 2013-04-07 Leo Liu <sdl.web@gmail.com>
11204 * pcmpl-x.el: New file.
11206 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11208 Do not set x-display-name until X connection is established.
11209 This is needed to prevent from weird situation described at
11210 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11211 * frame.el (make-frame): Set x-display-name after call to
11212 window system initialization function, not before.
11213 * term/x-win.el (x-initialize-window-system): Add optional
11214 display argument and use it.
11215 * term/w32-win.el (w32-initialize-window-system):
11216 * term/ns-win.el (ns-initialize-window-system):
11217 * term/pc-win.el (msdos-initialize-window-system):
11218 Add compatible optional display argument.
11220 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11222 * files.el (normal-backup-enable-predicate): On MS-Windows and
11223 MS-DOS compare truenames of temporary-file-directory and of the
11224 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11225 don't fail comparison by compare-strings. Also, compare file
11226 names case-insensitively on MS-Windows and MS-DOS.
11228 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11230 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11231 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11233 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11235 * whitespace.el (whitespace-color-on, whitespace-color-off):
11236 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11238 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11240 * ispell.el (ispell-set-spellchecker-params):
11241 Really set `ispell-args' for all equivs.
11243 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11245 * ido.el (ido-completions): Use extra elements of ido-decorations
11247 (ido-decorations): Update docstring.
11249 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11251 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11252 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11253 nil during initialization, in order not to miss changes since the
11254 file was opened. (Bug#14140)
11256 2013-04-05 Leo Liu <sdl.web@gmail.com>
11258 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11260 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11262 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11264 2013-04-04 Glenn Morris <rgm@gnu.org>
11266 * electric.el (electric-pair-inhibit-predicate): Add :version.
11268 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11270 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11271 when a package is required several times (bug#14082).
11273 2013-04-04 Roland Winkler <winkler@gnu.org>
11275 * faces.el (read-face-name): Behave as promised by the docstring.
11276 Assume that arg default is a list of faces.
11277 (describe-face): Call read-face-name with list of default faces.
11279 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11281 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11282 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11283 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11285 (bookmark-exit-hook-internal): Save even if list is empty.
11287 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11289 * emacs-lisp/package.el (package-pinned-packages): New var.
11290 (package--add-to-archive-contents): Obey it (bug#14118).
11292 2013-04-03 Alan Mackenzie <acm@muc.de>
11294 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11295 Also adapt to the new values of element 7 of a parse state.
11297 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11298 parameter `not-in-delimiter'. Handle being inside comment opener.
11299 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11300 character in case we're typing a '*' after a '/'.
11301 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11302 instead by passing the parameter to c-state-pp-to-literal.
11304 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11305 for elt. 7 of a parse state.
11307 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11309 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11310 * international/latin1-disp.el, international/mule-util.el:
11311 * language/cyril-util.el, language/european.el, language/ind-util.el:
11312 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11313 * language/tibetan.el, language/viet-util.el:
11314 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11316 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11318 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11319 (electric-pair-post-self-insert-function): Use it.
11320 (electric-pair-default-inhibit): New function, extracted from
11321 electric-pair-post-self-insert-function.
11323 2013-03-31 Roland Winkler <winkler@gnu.org>
11325 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11327 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11329 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11331 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11333 Un-indent after "pass" and "return" statements (Bug#13888)
11334 * progmodes/python.el (python-indent-block-enders): New var.
11335 (python-indent-calculate-indentation): Use it.
11337 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11339 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11340 defun. Defining it as defalias could introduce too eager
11341 byte-compiler optimization. (Bug#14030)
11343 2013-03-30 Chong Yidong <cyd@gnu.org>
11345 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11347 2013-03-30 Leo Liu <sdl.web@gmail.com>
11349 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11350 (kmacro-execute-from-register): Pass the keyboard macro to
11351 kmacro-call-macro or repeating won't work correctly.
11353 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11355 * progmodes/subword.el: Back to using `forward-symbol'.
11357 * subr.el (forward-whitespace, forward-symbol)
11358 (forward-same-syntax): Move from thingatpt.el.
11360 2013-03-29 Leo Liu <sdl.web@gmail.com>
11362 * kmacro.el (kmacro-to-register): New command.
11363 (kmacro-execute-from-register): New function.
11364 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11366 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11368 * mpc.el: Use defvar-local and setq-local.
11369 (mpc--proc-connect): Connection failures are not bugs.
11370 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11371 (mpc-volume-map): Bind to the up-events.
11373 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11375 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11376 instead of `forward-symbol'.
11378 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11380 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11381 (edebug--recursive-edit): Use it.
11382 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11383 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11385 2013-03-28 Leo Liu <sdl.web@gmail.com>
11387 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11389 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11391 * facemenu.el (list-colors-callback): New defvar.
11392 (list-colors-redisplay): New function.
11393 (list-colors-display): Install list-colors-redisplay as the
11394 revert-buffer-function. (Bug#14063)
11396 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11398 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11399 and suffixes don't overlap (bug#14061).
11401 * case-table.el: Use lexical-binding.
11402 (case-table-get-table): New function.
11403 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11405 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11407 * progmodes/subword.el: Add `superword-mode' to do word motion
11408 over symbol_words (parallels and leverages `subword-mode' which
11409 does word motion inside MixedCaseWords).
11411 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11413 * eshell/em-unix.el: Move su and sudo to...
11414 * eshell/em-tramp.el: ...Eshell tramp module.
11416 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11418 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11419 Change return value to be a sexp. Delay `get-buffer' to after
11420 restoring the desktop (bug#13951).
11422 2013-03-26 Leo Liu <sdl.web@gmail.com>
11424 * register.el: Move semantic tag handling back to
11425 cedet/semantic/senator.el. (Bug#14052)
11427 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11429 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11430 into the prompt either (bug#13963).
11432 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11434 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11435 part of "(error-foo)".
11437 2013-03-24 Juri Linkov <juri@jurta.org>
11439 * replace.el (list-matching-lines-prefix-face): New defcustom.
11440 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11441 `occur-engine' if `face-differs-from-default-p' returns t.
11442 (occur-engine): Add `,' inside backquote construct to evaluate
11443 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11444 Pass `prefix-face' to the functions `occur-context-lines' and
11445 `occur-engine-add-prefix'.
11446 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11447 `prefix-face' and propertize the prefix with `prefix-face'.
11450 2013-03-24 Leo Liu <sdl.web@gmail.com>
11452 * nxml/rng-valid.el (rng-validate-while-idle)
11453 (rng-validate-quick-while-idle): Guard against deleted buffer.
11456 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11457 is the last entry in kill-buffer-hook.
11459 * files.el (kill-buffer-hook): Doc fix.
11461 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11463 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11464 Make it safe-local.
11466 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11468 2013-03-23 Leo Liu <sdl.web@gmail.com>
11470 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11473 * nxml/rng-valid.el (rng-validate-mode)
11474 (rng-after-change-function, rng-do-some-validation):
11475 * nxml/rng-maint.el (rng-validate-buffer):
11476 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11477 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11478 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11479 (nxml-extend-after-change-region): Use with-silent-modifications.
11481 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11484 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11485 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11486 timer-idle-list. (Bug#13999)
11488 2013-03-23 Juri Linkov <juri@jurta.org>
11490 * info.el (info-index-match): New face.
11491 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11492 main pattern and add text properties with the new face to matches
11493 in index entries relative to the beginning of the index entry.
11496 2013-03-21 Eric Ludlam <zappo@gnu.org>
11498 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11499 Inhibit read only while inserting objects.
11501 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11503 * progmodes/cfengine.el: Update docs to mention
11504 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11505 symbol motion. Remove "_" from the word syntax.
11507 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11509 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11510 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11512 2013-03-20 Juri Linkov <juri@jurta.org>
11514 * info.el (Info-next-reference-or-link)
11515 (Info-prev-reference-or-link): New functions.
11516 (Info-next-reference, Info-prev-reference): Use them.
11517 (Info-try-follow-nearest-node): Handle footnote navigation.
11518 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11520 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11522 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11523 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11525 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11527 Suppress unnecessary non-ASCII chatter during build process.
11528 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11529 (batch-skkdic-convert): Suppress most of the chatter.
11530 It's not needed so much now that machines are faster,
11531 and its non-ASCII component was confusing; see Dmitry Gutov in
11532 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11534 2013-03-20 Leo Liu <sdl.web@gmail.com>
11536 * ido.el (ido-chop): Fix bug#10994.
11538 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11540 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11542 (whitespace-color-on, whitespace-color-off):
11543 Use `font-lock-fontify-buffer' (Bug#13817).
11545 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11547 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11548 remapping in mode-line.
11549 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11551 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11553 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11554 value for `whitespace-line' face (Bug#13875).
11555 (whitespace-font-lock-keywords): Change description.
11556 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11557 the constructed keywords instead.
11558 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11560 2013-03-19 Leo Liu <sdl.web@gmail.com>
11562 * progmodes/compile.el (compilation-display-error): New command.
11563 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11566 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11568 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11570 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11572 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11574 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11576 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11578 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11579 * net/tramp-gvfs.el (top):
11580 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11581 (tramp-handle-shell-command): Use it.
11582 (tramp-dissect-file-name): Raise an error when hostname is a
11583 method name, and neither method nor user is specified.
11585 * net/trampver.el: Update release number.
11587 2013-03-18 Leo Liu <sdl.web@gmail.com>
11589 Make sure eldoc can be turned off properly.
11590 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11592 (eldoc-display-message-p): Revert last change.
11593 (eldoc-display-message-no-interference-p)
11594 (eldoc-print-current-symbol-info): Tweak.
11596 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11598 * doc-view.el (doc-view-new-window-function): Check the new window
11599 overlay's display property instead the char property of the
11600 buffer's first char. Use `with-selected-window' instead of
11601 `save-window-excursion' with `select-window'.
11602 (doc-view-document->bitmap): Check the current doc-view overlay's
11603 display property instead the char property of the buffer's first char.
11605 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11607 Automate the build of ja-dic.el (Bug#13984).
11608 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11609 from the input, rather than assume that it's been done for us by the
11610 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11611 the current date into a ja-dic.el comment, as that complicates
11612 regression testing.
11614 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11616 * whitespace.el: Fix double evaluation.
11617 (whitespace-space, whitespace-hspace, whitespace-tab)
11618 (whitespace-newline, whitespace-trailing, whitespace-line)
11619 (whitespace-space-before-tab, whitespace-indentation)
11620 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11622 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11623 (whitespace-color-on): Use a single font-lock-add-keywords call.
11624 Fix double-evaluation of face variables.
11626 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11628 * net/tramp-adb.el (tramp-adb-parse-device-names):
11629 Use `start-process' instead of `call-process'. Otherwise, the
11630 function might be blocked under MS Windows. (Bug#13299)
11632 2013-03-17 Leo Liu <sdl.web@gmail.com>
11634 Extend eldoc to display info in the mode-line. (Bug#13978)
11635 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11636 (eldoc-mode-line-string): New variable.
11637 (eldoc-minibuffer-message): New function.
11638 (eldoc-message-function): New variable.
11639 (eldoc-message): Use it.
11640 (eldoc-display-message-p)
11641 (eldoc-display-message-no-interference-p):
11642 Support eldoc-post-insert-mode.
11644 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11645 (eval-expression): Run it.
11647 2013-03-17 Roland Winkler <winkler@gnu.org>
11649 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11650 strings in the list of return values.
11652 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11654 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11655 radix before checking for HMS forms.
11657 2013-03-16 Leo Liu <sdl.web@gmail.com>
11659 * progmodes/scheme.el: Add indentation and font-locking for λ.
11662 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11664 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11665 token before point (bug#13942).
11667 2013-03-16 Leo Liu <sdl.web@gmail.com>
11669 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11671 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11673 * startup.el (command-line-normalize-file-name): Fix handling of
11674 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11675 <xfq.free@gmail.com> in
11676 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11678 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11680 Sync with Tramp 2.2.7.
11682 * net/trampver.el: Update release number.
11684 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11686 * doc-view.el: Fix bug#13887.
11687 (doc-view-insert-image): Don't modify overlay associated to
11688 non-live windows, and implement horizontal centering of image in
11689 case it's smaller than the window.
11690 (doc-view-new-window-function): Force redisplay of new windows on
11693 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11695 * saveplace.el (save-place-alist-to-file): Don't sort
11696 `save-place-alist', just pretty-print it (bug#13882).
11698 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11700 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11701 Check whether `default-file-name-coding-system' is bound.
11702 It isn't in XEmacs.
11704 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11706 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11707 backquotes for `obsolete' (bug#13929).
11709 * international/mule.el (find-auto-coding): Include file name in
11710 obsolescence warning (bug#13922).
11712 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11714 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11715 for CFEngine 3-specific indentation.
11716 (cfengine3-indent-line): Use it. Fix up category regex.
11717 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11719 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11721 * type-break.el (type-break-file-name):
11722 * textmodes/remember.el (remember-data-file):
11723 * strokes.el (strokes-file):
11724 * shadowfile.el (shadow-initialize):
11725 * saveplace.el (save-place-file):
11726 * ps-bdf.el (bdf-cache-file):
11727 * progmodes/idlwave.el (idlwave-config-directory):
11728 * net/quickurl.el (quickurl-url-file):
11729 * international/kkc.el (kkc-init-file-name):
11730 * ido.el (ido-save-directory-list-file):
11731 * emulation/viper.el (viper-custom-file-name):
11732 * emulation/vip.el (vip-startup-file):
11733 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11734 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11736 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11738 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11739 * language/thai-word.el: Switch to UTF-8.
11741 See ChangeLog.16 for earlier changes.
11743 ;; Local Variables:
11747 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11749 This file is part of GNU Emacs.
11751 GNU Emacs is free software: you can redistribute it and/or modify
11752 it under the terms of the GNU General Public License as published by
11753 the Free Software Foundation, either version 3 of the License, or
11754 (at your option) any later version.
11756 GNU Emacs is distributed in the hope that it will be useful,
11757 but WITHOUT ANY WARRANTY; without even the implied warranty of
11758 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11759 GNU General Public License for more details.
11761 You should have received a copy of the GNU General Public License
11762 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.