1 2013-12-31 Eli Zaretskii <eliz@gnu.org>
3 * international/mule-conf.el: Unify the charset indian-is13194.
4 (indian-is13194): Specify unify-map.
6 2013-12-31 Leo Liu <sdl.web@gmail.com>
8 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
10 2013-12-30 Daniel Colascione <dancol@dancol.org>
12 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
13 of printing a useless when we resume from sleep.
15 * progmodes/sh-script.el
16 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
17 in indentation code. (Bug#16233)
19 2013-12-28 João Távora <joaotavora@gmail.com>
21 * elec-pair.el (electric-pair-post-self-insert-function): Don't
22 open extra newlines at beginning of buffer. (Bug#16272)
24 2013-12-28 Eli Zaretskii <eliz@gnu.org>
26 * frame.el (window-system-for-display): Don't allow to create a
27 GUI frame from a -nw session on MS-Windows. (Bug#14739)
29 2013-12-28 Glenn Morris <rgm@gnu.org>
31 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
34 * apropos.el (apropos-match-face):
35 * calculator.el (calculator-displayer):
36 * dabbrev.el (dabbrev-search-these-buffers-only):
37 * face-remap.el (buffer-face-mode-face):
38 * simple.el (yank-handled-properties):
39 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
40 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
41 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
42 (hashcash-double-spend-database):
43 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
44 (ruby-deep-indent-paren-style):
45 * textmodes/flyspell.el (flyspell-auto-correct-binding):
46 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
47 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
48 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
51 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
52 * bookmark.el (bookmark-bmenu-use-header-line):
53 * doc-view.el (doc-view-scale-internally):
54 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
55 * register.el (register-preview-delay):
56 * net/shr.el (shr-bullet):
57 * progmodes/cfengine.el (cfengine-cf-promises)
58 (cfengine-parameters-indent):
59 * progmodes/octave.el (inferior-octave-error-regexp-alist):
60 * textmodes/reftex-vars.el (reftex-label-regexps):
61 * vc/log-edit.el (log-edit-setup-add-author): Add version.
63 * net/tls.el (tls-certtool-program): Fix default value.
65 * desktop.el (desktop-restore-in-current-display):
66 * newcomment.el (comment-empty-lines):
67 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
68 (idlwave-pad-keyword):
69 * progmodes/tcl.el (tcl-tab-always-indent):
70 * textmodes/reftex-vars.el (reftex-index-default-tag):
71 * elec-pair.el (electric-pair-skip-whitespace):
72 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
74 * emacs-lisp/authors.el (authors-ignored-files)
75 (authors-valid-file-names, authors-renamed-files-alist): Additions.
77 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
79 * shell.el (shell-dynamic-complete-command): Doc fix.
80 (shell--command-completion-data): Shell completion now matches
81 executable filenames from the current buffer's directory, on
82 systems in which this behaviour is the default (windows-nt, ms-dos).
84 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
86 * net/shr.el (shr-insert): Don't infloop if the width is zero.
88 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
90 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
93 * electric.el: Move all electric-pair-* to elec-pair.el.
94 * elec-pair.el: New file, split from electric.el.
96 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
98 * net/shr.el (shr-find-fill-point): Don't try to fill if the
99 indentation level is larger than the width, because that will
101 (shr-insert): Fill repeatedly long texts, so that Japanese is
102 formatted correctly (bug#16263).
103 (shr-find-fill-point): Off by one error in comparison with the
106 2013-12-26 João Távora <joaotavora@gmail.com>
108 * electric.el (electric-pair-mode): More flexible engine for skip-
109 and inhibit predicates, new options for pairing-related functionality.
110 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
111 if that keeps or improves their balance in buffers.
112 (electric-pair-delete-adjacent-pairs): Delete the pair when
113 backspacing over adjacent matched delimiters.
114 (electric-pair-open-extra-newline): Open extra newline when
115 inserting newlines between adjacent matched delimiters.
116 (electric--sort-post-self-insertion-hook):
117 Sort post-self-insert-hook according to priority values when
118 minor-modes are activated.
119 * simple.el (newline-and-indent): Call newline with interactive
121 (blink-paren-post-self-insert-function): Set priority to 100.
122 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
123 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
124 comments. Locally set electric-pair-skip-whitespace to 'chomp and
125 electric-pair-open-newline-between-pairs to nil.
127 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
129 * progmodes/python.el: Use lexical-binding.
130 (python-nav-beginning-of-defun): Stop searching ASAP.
132 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
134 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
135 Fix interactive spec. Doc fix. (Bug#15754)
137 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
139 * emacs-lisp/byte-run.el (eval-when-compile):
140 * progmodes/cc-defs.el (cc-eval-when-compile):
141 Fix edebug spec (bug#16184).
143 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
145 * net/shr.el (shr-visit-file): Remove debugging function.
146 (shr-insert): Don't infloop if we can't find a good place to break
147 the line (bug#16256).
149 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
151 * progmodes/python.el:
152 (python-nav--lisp-forward-sexp): New function.
153 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
154 python-nav-lisp-forward-sexp-safe.
155 (python-nav--forward-sexp): New argument SAFE allows switching
156 forward sexp movement behavior for parens.
157 (python-nav-forward-sexp): Throw errors on unterminated parens
159 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
160 (python-nav-backward-sexp-safe): New functions.
161 (python-shell-buffer-substring):
162 Use `python-nav-forward-sexp-safe'.
164 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
166 * net/shr.el (shr-find-fill-point): Don't break lines before a
168 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
169 (shr-find-fill-point): Remove the special checks for the quotation
170 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
172 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
174 * net/eww.el (eww-form-textarea): Use a different face for
175 textareas than text input since they have different keymaps
178 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
180 * progmodes/python.el (python-nav-beginning-of-statement):
181 Speed up (Bug#15295).
183 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
185 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
186 the window configuration.
188 2013-12-24 Eli Zaretskii <eliz@gnu.org>
190 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
191 we run on MS-Windows or MS-DOS.
193 2013-12-24 Martin Rudalics <rudalics@gmx.at>
195 * window.el (balance-windows-area): Call window-size instead of
196 window-height and window-width. Bug#16241.
198 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
200 * net/eww.el (eww-bookmark-quit): Remove.
201 (eww-bookmark-browse): Restore the window configuration when you
202 choose a bookmark (bug#16144).
204 2013-12-24 Daniel Colascione <dancol@dancol.org>
206 * icomplete.el: Remove redundant :group arguments to `defcustom'
208 (icomplete-show-matches-on-no-input): New customizable variable.
209 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
210 we have something to show.
211 (icomplete-exhibit): Compute completions even if we have no user input.
213 2013-12-23 Daniel Colascione <dancol@dancol.org>
215 * icomplete.el: Move `provide' to end of file.
217 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
219 * net/gnutls.el (gnutls-verify-error): Add version tag.
221 2013-12-23 Chong Yidong <cyd@gnu.org>
223 * subr.el (set-transient-map): Rename from
224 set-temporary-overlay-map. Doc fix.
226 * face-remap.el (text-scale-adjust):
227 * indent.el (indent-rigidly):
228 * kmacro.el (kmacro-call-macro):
229 * minibuffer.el (minibuffer-force-complete):
230 * repeat.el (repeat):
231 * simple.el (universal-argument--mode):
232 * calendar/todo-mode.el (todo-insert-item--next-param):
233 * progmodes/f90.el (f90-abbrev-start): Callers changed.
235 * indent.el (indent-rigidly): Use substitute-command-keys.
237 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
239 * net/eww.el (eww-tag-select): Add text-property to jump to next
241 (eww): Add non-supported ftp error.
243 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
245 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
246 comments. Handle electric indent after typing `?' and `!'.
248 2013-12-22 Chong Yidong <cyd@gnu.org>
250 * faces.el (face-spec-recalc): If the theme specs are not
251 applicable to a frame, fall back on the defface spec.
252 This prevents themes from obliterating faces on low-color terminals.
254 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
256 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
257 after `{'. We need it after block openers, and it doesn't seem
258 to hurt after hash openers.
260 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
262 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
263 extracted from `ruby-smie-rules'.
264 (ruby--electric-indent-chars): New variable.
265 (ruby--electric-indent-p): New function.
266 (ruby-mode): Use `electric-indent-functions' instead of
267 `electric-indent-chars'.
269 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
271 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
273 (ruby-smie-rules): Indent plus one level after `=>'.
275 2013-12-21 Richard Stallman <rms@gnu.org>
277 * simple.el (newline): Doc fix.
279 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
281 * net/eww.el (eww-list-histories, eww-list-histories)
282 (eww-history-browse, eww-history-quit, eww-history-kill)
283 (eww-history-mode-map, eww-history-mode): New command and
284 functions to list browser histories.
285 (eww-form-text): Support text form with disabled
286 and readonly attributes.
287 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
289 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
291 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
292 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
293 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
294 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
296 (eww-bookmark-mode-map): Add menu.
297 (eww-render, eww-mode): Use `setq-local'.
298 (eww-tool-bar-map): New variable.
299 (eww-mode): Set `tool-bar-map'.
300 (eww-view-source): Check for `html-mode' with `fboundp'.
302 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
304 * net/shr.el (shr--extract-best-source): Don't bug out on audio
305 elements with text inside. Also remove debugging.
307 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
309 * cus-start.el (all): Add ns-use-srgb-colorspace.
311 2013-12-21 Chong Yidong <cyd@gnu.org>
313 * custom.el (custom-theme-recalc-face): Do nothing if the face is
314 undefined. Thus, theme settings for undefined faces do not take
315 effect until the faces are defined with defface, the same as with
318 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
319 (face-spec-reset-face): Don't assign extra properties in temacs.
320 (face-spec-recalc): Apply X resources too.
322 2013-12-21 Chong Yidong <cyd@gnu.org>
324 * faces.el (face-spec-set):
325 * cus-face.el (custom-theme-set-faces, custom-set-faces):
326 * custom.el (defface): Doc fixes (Bug#16203).
328 * indent.el (indent-rigidly-map): Add docstring, and move commands
329 into named functions.
330 (indent-rigidly-left, indent-rigidly-right)
331 (indent-rigidly-left-to-tab-stop)
332 (indent-rigidly-right-to-tab-stop): New functions. Decide on
333 indentation direction based on bidi direction, and accumulate
334 sequential commands in a single undo boundary.
335 (indent-rigidly--pop-undo): New utility function.
337 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
339 * faces.el (read-face-name): Require crm.el when using crm-separator.
341 2013-12-20 Daniel Colascione <dancol@dancol.org>
343 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
344 so that we don't reflow comments into the shebang line.
346 2013-12-20 Juri Linkov <juri@jurta.org>
348 * saveplace.el (save-place-to-alist): Add `dired-filename' as
349 a position when `dired-directory' is non-nil. Check integer
350 positions with `integerp'.
351 (toggle-save-place, save-places-to-alist): Add check for
353 (save-place-find-file-hook): Check integer positions with
355 (save-place-dired-hook): Use `dired-goto-file' when
356 `dired-filename' is found in the assoc list. Check integer
357 positions with `integerp'.
358 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
360 * dired.el (dired-initial-position-hook): Rename back from
361 `dired-initial-point-hook'.
362 (dired-initial-position): Rename `dired-initial-point-hook' to
363 `dired-initial-position-hook'.
364 (dired-file-name-at-point): Doc fix. (Bug#15329)
366 2013-12-20 Juri Linkov <juri@jurta.org>
368 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
369 (read-regexp-suggestions): New function.
370 (read-regexp): Use `read-regexp-defaults-function' to get default values.
371 Use `read-regexp-suggestions'. Add non-empty default to history
373 (occur-read-regexp-defaults-function): Remove function.
374 (occur-read-primary-args): Use `regexp-history-last' instead of
375 `occur-read-regexp-defaults-function'.
377 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
378 (hi-lock-line-face-buffer, hi-lock-face-buffer)
379 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
380 `hi-lock-read-regexp-defaults-function'. Doc fix.
381 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
382 with `find-tag-default-as-symbol-regexp'. Doc fix.
383 (hi-lock-read-regexp-defaults): Remove function.
384 (hi-lock-regexp-okay): Add check for null.
386 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
387 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
389 * subr.el (find-tag-default-as-symbol-regexp): New function.
390 (find-tag-default-as-regexp): Move symbol regexp formatting to
391 `find-tag-default-as-symbol-regexp'.
393 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
395 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
398 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
400 * calendar/todo-mode.el: New implementation of item insertion
401 commands and key bindings.
402 (todo-key-prompt): New face.
403 (todo-insert-item): New command.
404 (todo-insert-item--parameters): New defconst, replacing defvar
405 todo-insertion-commands-args-genlist.
406 (todo-insert-item--param-key-alist): New defconst, replacing
407 defvar todo-insertion-commands-arg-key-list.
408 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
409 (todo-insert-item--argsleft, todo-insert-item--apply-args)
410 (todo-insert-item--next-param): New functions.
411 (todo-insert-item--args, todo-insert-item--argleft)
412 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
414 (todo-key-bindings-t): Change binding of "i" from
415 todo-insertion-map to todo-insert-item.
416 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
417 (todo-insertion-command-name, todo-insertion-commands-names)
418 (todo-define-insertion-command, todo-insertion-commands)
419 (todo-insertion-key-bindings, todo-insertion-map): Remove.
421 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
423 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
424 (todo-toggle-item-highlighting): Use eval-and-compile instead of
426 (todo-move-category): Allow choosing a non-existing todo file to
427 move the category to, and create that file.
428 (todo-default-priority): New user option.
429 (todo-set-item-priority): Use it.
430 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
431 (desktop-restore-file-buffer): Declare.
432 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
433 (todo-modes-set-2): Locally set desktop-save-buffer to
434 todo-desktop-save-buffer.
435 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
436 (auto-mode-alist): Add autoload cookie.
438 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
440 * emacs-lisp/subr-x.el: Renamed from helpers.el.
441 helpers.el was a poor choice of name.
442 (string-remove-prefix): New function.
443 (string-remove-suffix): New function.
445 2013-12-20 Martin Rudalics <rudalics@gmx.at>
447 Fix assignment for new window total sizes.
448 * window.el (window--pixel-to-size): Remove function.
449 (window--pixel-to-total-1, window--pixel-to-total):
450 Fix calculation of new total sizes.
452 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
454 * comint.el (comint-output-filter): Fix rear-nonsticky property
455 placement (Bug#16010).
457 2013-12-20 Chong Yidong <cyd@gnu.org>
459 * faces.el (read-color): Minor fix for completion function.
461 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
463 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
464 New option. (Bug#16182)
465 (ruby-smie--indent-to-stmt-p): Use it.
466 (ruby-smie-rules): Revert the logic in the handling of `when'.
467 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
468 (ruby-deep-arglist, ruby-deep-indent-paren)
469 (ruby-deep-indent-paren-style): Update docstrings to note that the
470 vars don't have any effect with SMIE.
472 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
474 * calc/calc.el (calc-enter, calc-pop): Use the variable
475 `calc-context-sensitive-enter'.
477 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
479 * net/shr.el (shr-insert): Protect against infloops in degenerate
482 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
484 * progmodes/octave.el (octave): Add link to manual and octave
486 (octave-mode-menu): Link to octave-mode manual.
488 2013-12-20 Leo Liu <sdl.web@gmail.com>
490 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
491 insertion using skeleton-end-newline. (Bug#16138)
493 2013-12-20 Juri Linkov <juri@jurta.org>
495 * replace.el (occur-engine): Use `add-face-text-property'
496 to add the face property to matches and titles. (Bug#14645)
498 * hi-lock.el (hi-green): Use lighter color "light green" closer to
499 the palette of other hi-lock colors.
500 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
502 2013-12-19 Juri Linkov <juri@jurta.org>
504 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
505 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
506 (minibuffer-history-symbol): Move variable declaration closer to
509 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
512 2013-12-19 Juri Linkov <juri@jurta.org>
514 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
516 (log-edit-hook): Add it to :options. (Bug#16170)
518 2013-12-19 Juri Linkov <juri@jurta.org>
520 * simple.el (eval-expression-print-format): Don't check for
521 command names and the last command. Always display additional
522 formats of the integer result in the echo area, and insert them
523 to the current buffer only with a zero prefix arg.
524 Display character when char-displayable-p is non-nil.
525 (eval-expression): With a zero prefix arg, set `print-length' and
526 `print-level' to nil, and insert the integer values from
527 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
529 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
530 `eval-last-sexp-arg-internal'. Doc fix.
531 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
532 `eval-last-sexp-print-value'. Doc fix.
533 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
534 Set `print-length' and `print-level' to nil when arg is zero.
535 (eval-last-sexp): Doc fix.
536 (eval-defun-2): Print the integer values from
537 `eval-expression-print-format' at the end.
539 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
540 values from `eval-expression-print-format' at the end.
542 * ielm.el (ielm-eval-input): Print the integer
543 values from `eval-expression-print-format' at the end.
545 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
547 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
548 2013-12-11T19:01:44Z!tzz@lifelogs.com.
550 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
552 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
553 (hl-line-highlight, global-hl-line-highlight): Use it.
554 (hl-line-overlay): Use defvar-local.
556 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
558 * term/ns-win.el: Require dnd.
559 (global-map): Remove drag items.
560 (ns-insert-text, ns-set-foreground-at-mouse)
561 (ns-set-background-at-mouse):
562 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
563 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
566 2013-12-19 Glenn Morris <rgm@gnu.org>
568 * emacs-lisp/ert.el (ert-select-tests):
569 Fix string/symbol mixup. (Bug#16121)
571 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
573 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
574 keywords to their parent.
576 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
578 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
579 first arg to be a string (fixed dead code), or an operator symbol.
580 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
582 (ruby-smie-rules): Remove parent token check in the `.' clause, it
583 did nothing. Don't respond to `(:after ".")', it will be called
584 with :before anyway. Remove the ` @ ' rule, it didn't seem to
585 change anything. Only return indentation for binary operators
586 when they are hanging. De-dent opening paren when its parent is
587 `.', otherwise it looks bad when the dot is not at bol or eol
590 2013-12-19 Juri Linkov <juri@jurta.org>
592 * replace.el (query-replace-read-args): Split a non-negative arg
593 and a negative arg into separate elements.
594 (query-replace, query-replace-regexp, replace-string)
595 (replace-regexp): Add arg `backward'. Doc fix.
596 (replace-match-maybe-edit): When new arg `backward' is non-nil,
597 move point to the beginning of the match.
598 (replace-search, replace-highlight): Use new arg `backward'
599 to set the value of `isearch-forward'.
600 (perform-replace): Add arg `backward' and use it to perform
601 replacement backward. (Bug#14979)
603 * isearch.el (isearch-query-replace): Use a negative prefix arg
604 to call `perform-replace' with a non-nil arg `backward'.
606 2013-12-18 Juri Linkov <juri@jurta.org>
608 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
609 to the default list. Move `log-edit-show-files' to the end.
610 Add more available functions to options.
611 (log-edit): Move default specific settings to
612 `log-edit-insert-message-template'. Don't move point.
613 (log-edit-insert-message-template): New function.
614 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
617 2013-12-18 Juri Linkov <juri@jurta.org>
619 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
620 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
622 2013-12-18 Leo Liu <sdl.web@gmail.com>
624 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
627 2013-12-18 Eli Zaretskii <eliz@gnu.org>
629 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
630 formats for displaying file sizes when the -s switch is given.
631 Instead, compute a separate format for displaying the size in
632 blocks, which is displayed in addition to the "regular" size.
633 When -h is given in addition to -s, produce size in blocks in
634 human-readable form as well. (Bug#16179)
636 2013-12-18 Tassilo Horn <tsdh@gnu.org>
638 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
639 Reference tables with ~\ref{...} instead of only \ref{...}.
641 2013-12-18 Chong Yidong <cyd@gnu.org>
643 * cus-edit.el (custom-magic-alist): Fix "themed" description
646 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
647 is non-nil, do not create a new entry in the symbol's theme-value
648 or theme-face property; update theme-settings only (Bug#14664).
649 (custom-available-themes): Doc fix.
651 * cus-theme.el (custom-new-theme-mode-map): Add bindings
654 * replace.el (occur-engine): Avoid infloop (Bug#7593).
656 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
658 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
661 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
663 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
665 2013-12-18 Glenn Morris <rgm@gnu.org>
667 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
668 * cus-start.el (load-prefer-newer): New option.
670 2013-12-18 Le Wang <l26wang@gmail.com>
672 * comint.el (comint-previous-matching-input-from-input):
673 Retain point (Bug#13404).
675 2013-12-18 Chong Yidong <cyd@gnu.org>
677 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
679 2013-12-18 Glenn Morris <rgm@gnu.org>
681 * mail/emacsbug.el (report-emacs-bug):
682 Only mention enable-multibyte-characters if non-standard.
684 2013-12-17 Juri Linkov <juri@jurta.org>
686 * arc-mode.el (archive-extract-by-file): Check if directory exists
687 before deletion to not show irrelevant errors if it doesn't exist.
689 2013-12-17 Juri Linkov <juri@jurta.org>
691 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
694 * net/eww.el (browse-web): Add alias to `eww'.
695 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
696 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
698 * net/browse-url.el (browse-url-browser-function): Move `eww'
699 closer to similar functions.
701 * startup.el (fancy-startup-screen, fancy-about-screen):
702 Set browse-url-browser-function to eww-browse-url locally.
705 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
707 * window.el (window--pixel-to-total): Remove unused `mini' var.
708 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
709 (split-window): Remove unused `new' var.
710 (window--display-buffer): Remove unused `frame' and `delta' vars.
711 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
714 2013-12-17 Martin Rudalics <rudalics@gmx.at>
716 * dired.el (dired-mark-pop-up):
717 * register.el (register-preview): Don't bind
718 split-height-threshold here since it's now done in
719 display-buffer-below-selected.
721 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
723 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
724 xterm-rgb-convert-to-16bit.
725 (rxvt-register-default-colors): Standardize with
726 xterm-register-default-colors (Bug#14078).
728 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
730 * simple.el (kill-region): Pass mark first, then point, so that
731 kill-append works right (Bug#12819).
732 (copy-region-as-kill, kill-ring-save): Likewise.
734 2013-12-17 Leo Liu <sdl.web@gmail.com>
736 * net/rcirc.el (rcirc-add-face):
737 * eshell/em-prompt.el (eshell-emit-prompt):
738 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
741 2013-12-17 Chong Yidong <cyd@gnu.org>
743 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
744 Suggested by Xue Fuqiao.
746 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
748 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
750 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
752 * net/shr.el (shr-insert-document): Remove unused var
753 `shr-preliminary-table-render'.
754 (shr-rescale-image): Remove unused arg `force'.
755 (shr-put-image): Update calls accordingly.
756 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
758 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
760 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
761 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
762 :close-all, to see which indentation method to use (Bug#16116).
763 (smie-rules-function): Document the method :close-all.
765 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
767 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
769 * net/eww.el (eww-display-html): If we can't find the anchor we're
770 looking for, then go to point-min.
772 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
774 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
775 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
776 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
777 Expand dir too, in case it's relative.
779 2013-12-16 Juri Linkov <juri@jurta.org>
781 * desktop.el (desktop-auto-save-timeout): Change default to
782 `auto-save-timeout'. Doc fix.
783 (desktop-save): Skip the timestamp in desktop-saved-frameset
784 when checking for auto-save changes.
785 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
786 `desktop-auto-save' is called repeatedly by the idle timer.
787 (desktop-auto-save-set-timer): Replace `run-with-timer' with
788 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
791 2013-12-16 Juri Linkov <juri@jurta.org>
793 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
795 (isearch-pre-command-hook): Check `this-command' for symbolp.
797 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
799 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
801 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
803 * progmodes/cfengine.el (cfengine3--current-word): Remove.
804 (cfengine3--current-function): Bring in the current-function
805 functionality from `cfengine3--current-word'.
806 (cfengine3-completion-function): Bring in the
807 bounds-of-current-word functionality from
808 `cfengine3--current-word'.
810 2013-12-16 Martin Rudalics <rudalics@gmx.at>
812 * window.el (display-buffer-below-selected):
813 Bind split-height-threshold to 0 as suggested by Juri Linkov.
815 2013-12-16 Leo Liu <sdl.web@gmail.com>
817 * progmodes/compile.el (compile-goto-error): Do not push-mark.
818 Remove NOMSG arg and all uses changed.
820 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
822 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
823 (cua--deactivate-rectangle): Don't deactivate the mark.
824 (cua-set-rectangle-mark): Don't set mark-active since
825 cua--activate-rectangle already does it for us.
826 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
827 non-rectangular region.
829 * emulation/cua-base.el (cua-repeat-replace-region):
830 Use with-current-buffer.
832 * net/gnutls.el: Use cl-lib.
833 (gnutls-negotiate): `mapcan' -> cl-mapcan.
835 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
837 * emacs-lisp/package.el (package-built-in-p): Support both
838 built-in and the package.el converted package descriptions.
839 (package-show-package-list): Allow keywords.
840 (package-keyword-button-action): Use it instead of
841 `finder-list-matches'.
842 (package-menu-filter-interactive): Interactive filtering (by
844 (package-menu--generate): Support keywords and change keymappings
845 and headers when they are given.
846 (package--has-keyword-p): Helper function.
847 (package-menu--refresh): Use it.
848 (package--mapc): Helper function.
849 (package-all-keywords): Use it.
850 (package-menu-mode-map): Set up menu items and keybindings to
851 provide a filtering UI.
853 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
855 * net/gnutls.el (gnutls-verify-error): New defcustom to control
856 the behavior when a certificate fails validation. Defaults to
857 old behavior: never abort, just warn.
858 (gnutls-negotiate): Use it.
860 2013-12-14 Martin Rudalics <rudalics@gmx.at>
862 * window.el (display-buffer-below-selected): Never split window
863 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
865 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
867 * emacs-lisp/package.el (package--prepare-dependencies): New function.
868 (package-buffer-info): Use it (bug#15108).
870 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
872 * icomplete.el (icomplete-completions): Make sure the prefix is already
873 displayed elsewhere before hiding it (bug#16219).
875 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
877 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
878 open-paren tokens when preceded by a open-paren, too.
879 (ruby-smie-rules): Handle virtual indentation after open-paren
880 tokens specially. If there is code between it and eol, return the
881 column where is starts (Bug#16118).
883 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
885 * progmodes/cfengine.el: Fix `add-hook' doc.
886 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
887 (cfengine3--current-word): Fix parameters.
888 (cfengine3-make-syntax-cache): Simplify further.
889 (cfengine3-completion-function, cfengine3--current-function):
890 Use `assq' for symbols.
891 (cfengine3--current-function): Fix `cfengine3--current-word' call.
893 2013-12-13 Glenn Morris <rgm@gnu.org>
895 * loadup.el (load-path): Warn if site-load or site-init changes it.
896 No more need to reset it when bootstrapping.
898 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
900 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
901 locations for cf-promises.
902 (cfengine-mode-syntax-functions-regex): New caching variable.
903 (cfengine3-fallback-syntax): Fallback syntax for cases where
904 cf-promises doesn't run.
905 (cfengine3--current-word): Reimplement using
906 `cfengine-mode-syntax-functions-regex'.
907 (cfengine3-completion-function, cfengine3--current-function):
908 Use `cfengine3-make-syntax-cache' directly.
909 (cfengine3-clear-syntax-cache): New function.
910 (cfengine3-make-syntax-cache): Simplify and create
911 `cfengine-mode-syntax-functions-regex' on demand.
912 (cfengine3-format-function-docstring): Don't call
913 `cfengine3-make-syntax-cache' explicitly.
915 2013-12-13 Martin Rudalics <rudalics@gmx.at>
917 Fix windmove-find-other-window broken after pixelwise resizing
919 * windmove.el (windmove-other-window-loc): Revert change from
921 (windmove-find-other-window): Call window-in-direction.
922 * window.el (window-in-direction): New arguments SIGN, WRAP and
923 MINI to emulate original windmove-find-other-window behavior.
925 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
927 * simple.el (blink-matching--overlay): New variable.
928 (blink-matching-open): Instead of moving point, highlight the
929 matching paren with an overlay
930 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
932 * faces.el (paren-showing-faces, show-paren-match)
933 (show-paren-mismatch): Move from paren.el.
935 2013-12-13 Leo Liu <sdl.web@gmail.com>
937 * indent.el (indent-region): Disable progress reporter in
938 minibuffer. (Bug#16108)
940 * bindings.el (visual-order-cursor-movement): Fix version.
942 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
944 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
945 Also match after beginning of line.
946 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
947 files. Thanks to Russell Sim. (Bug#15378)
949 2013-12-13 Juri Linkov <juri@jurta.org>
951 * simple.el <Keypad support>: Remove key bindings duplicated
952 with bindings.el. (Bug#14397)
954 2013-12-13 Juri Linkov <juri@jurta.org>
956 * comint.el (comint-mode-map): Replace `delete-char' with
957 `delete-forward-char'. (Bug#16109)
959 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
961 * progmodes/python.el (python-indent-calculate-indentation):
962 Fix de-denters cornercase. (Bug#15731)
964 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
966 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
967 (advice--make): Pay attention to `depth'.
968 (advice--make-1): Don't autoload commands eagerly.
969 * emacs-lisp/elp.el (elp-instrument-function):
970 * emacs-lisp/trace.el (trace-function-internal):
971 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
973 * iswitchb.el (iswitchb-mode): Don't belittle ido.
975 2013-12-12 Eli Zaretskii <eliz@gnu.org>
977 * term/w32-win.el (w32-handle-dropped-file):
978 * startup.el (normal-top-level):
979 * net/browse-url.el (browse-url-file-url):
980 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
981 decode file names using 'utf-8' rather than
982 file-name-coding-system.
984 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
986 * progmodes/python.el (python-indent-context)
987 (python-indent-calculate-indentation): Fix auto-identation
988 behavior for comment blocks. (Bug#15916)
990 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
992 * progmodes/python.el (python-indent-calculate-indentation):
993 When determining indentation, don't treat "return", "pass", etc., as
994 operators when they are just string constituents. (Bug#15812)
996 2013-12-12 Juri Linkov <juri@jurta.org>
998 * uniquify.el (uniquify-buffer-name-style): Change default to
999 `post-forward-angle-brackets'.
1001 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1002 `uniquify'. Change default to `post-forward-angle-brackets'.
1004 2013-12-11 Glenn Morris <rgm@gnu.org>
1006 * emacs-lisp/package.el (finder-list-matches):
1007 Autoload rather than falsely declaring.
1009 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1011 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1012 (eww-mode-map): Use them.
1014 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1016 * window.el (display-buffer-in-side-window): Fix doc-string
1019 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1021 * vc/vc-git.el: Silence byte-compiler warnings.
1022 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1023 (log-edit-set-header): Declare.
1025 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1027 * Makefile.in (custom-deps, finder-data): Run output file names
1028 through unmsys--file-name. (Bug#16099)
1030 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1032 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1033 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1035 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1036 instead of deleting the selection "by hand" (bug#16098).
1037 Rely on insert-for-yank to yank rectangles.
1038 (cua-highlight-region-shift-only): Mark obsolete.
1039 (cua-mode): Don't enable/disable transient-mark-mode,
1040 shift-select-mode (cua-mode works both with and without them), and
1041 pc-selection-mode (obsolete).
1042 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1043 (cua--deactivate-rectangle): Deactivate it.
1045 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1046 (delete-selection-helper): Make sure yank starts at the top of the
1048 (minibuffer-keyboard-quit): Use region-active-p.
1050 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1052 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1053 to `delete' (bug#16109).
1055 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1057 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1058 info manual and show keybindings and set `:group' keyword.
1060 2013-12-11 Juri Linkov <juri@jurta.org>
1062 * delsel.el (delete-active-region): Let-bind `this-command'
1063 to prevent `kill-region' from changing its original value.
1064 (delete-selection-helper): Handle `overwrite-mode' for the type
1065 `kill' exactly the same way as for the type `t'.
1066 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1067 Support more commands. (Bug#13312)
1069 2013-12-11 Juri Linkov <juri@jurta.org>
1071 * bindings.el: Map kp keys to non-kp keys systematically
1072 with basic modifiers control, meta and shift. (Bug#14397)
1074 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1076 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1077 "Close browser" menu items. Fix wrong function of "List
1080 2013-12-11 Juri Linkov <juri@jurta.org>
1082 * misearch.el (multi-isearch-buffers): Set the value of
1083 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1084 arg of isearch-forward to t.
1085 (multi-isearch-buffers-regexp): Set the value of
1086 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1087 arg of isearch-forward-regexp to t.
1088 (multi-isearch-files): Set the value of
1089 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1090 arg of isearch-forward to t.
1091 (multi-isearch-files-regexp): Set the value of
1092 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1093 arg of isearch-forward-regexp to t. (Bug#16035)
1095 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1096 arg of isearch-forward to t.
1097 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1098 arg of isearch-forward-regexp to t.
1099 (dired-isearch-filter-filenames): Remove unnecessary check for
1100 `dired-isearch-filenames'.
1102 * comint.el (comint-history-isearch-backward):
1103 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1104 (comint-history-isearch-backward-regexp):
1105 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1107 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1109 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1110 unmsys--file-name. (Bug#16099)
1112 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1114 * emacs-lisp/package.el (package-keyword-button-action):
1115 Remove finder.el require dependency.
1117 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1119 * emacs-lisp/package.el: Require finder.el.
1120 (describe-package-1): Add keyword buttons.
1121 (package-make-button): New convenience function.
1122 (package-keyword-button-action): Keyword button action using
1123 `finder-list-matches'.
1125 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1127 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1130 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1132 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1135 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1137 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1138 after the end of a percent literal.
1140 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1142 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1143 Handle caret-delimited strings (Bug#16079).
1145 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1147 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1148 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1149 `ruby-parse-partial' (Bug#16078).
1151 2013-12-09 Leo Liu <sdl.web@gmail.com>
1153 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1155 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1157 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1158 (js-switch-indent-offset): New option.
1159 (js--proper-indentation): Use it. And handle the case when
1160 "default" is actually a key in an object literal.
1161 (js--same-line): New function.
1162 (js--multi-line-declaration-indentation): Use it.
1163 (js--indent-in-array-comp, js--array-comp-indentation):
1165 (js--proper-indentation): Use them, to handle array comprehension
1168 2013-12-08 Leo Liu <sdl.web@gmail.com>
1170 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1171 (flymake-make-overlay): Remove arg MOUSE-FACE.
1172 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1174 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1176 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1178 (redisplay-highlight-region-function): Use it.
1180 * emulation/cua-base.el (cua--explicit-region-start)
1181 (cua--last-region-shifted): Remove.
1182 (cua--deactivate): Use deactivate-mark.
1183 (cua--pre-command-handler-1): Don't handle shift-selection.
1184 (cua--post-command-handler-1): Don't change transient-mark-mode.
1185 (cua--select-keymaps): Use region-active-p rather than
1186 cua--explicit-region-start or cua--last-region-shifted.
1187 (cua-mode): Enable shift-select-mode.
1189 2013-12-08 Leo Liu <sdl.web@gmail.com>
1191 * progmodes/flymake.el (flymake-popup-current-error-menu):
1192 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1193 (flymake-posn-at-point-as-event, flymake-popup-menu)
1194 (flymake-make-emacs-menu): Remove. (Bug#16077)
1196 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1198 * rect.el (rectangle-mark-mode): Activate mark even if
1199 transient-mark-mode is off (bug#16066).
1200 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1201 is > mark and at bolp.
1203 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1204 (region-extract-function): Use it.
1205 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1206 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1208 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1209 kill-ring-save, kill-region, delete-char, delete-forward-char.
1210 Ignore self-insert-iso.
1212 * emulation/cua-gmrk.el (cua--init-global-mark):
1213 Ignore `self-insert-iso'.
1215 * emulation/cua-base.el (cua--prefix-copy-handler)
1216 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1217 checking cua--rectangle.
1218 (cua-delete-region): Use region-extract-function.
1219 (cua-replace-region): Delete function.
1220 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1221 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1222 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1223 (cua--init-keymaps): Don't remap delete-selection commands.
1224 (cua-mode): Use delete-selection-mode instead of rolling our own
1227 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1228 Obey region-extract-function.
1230 Make registers and delete-selection-mode work on rectangles.
1231 * register.el (describe-register-1): Don't modify the register's value.
1232 (copy-to-register): Obey region-extract-function.
1233 * delsel.el (delete-active-region): Obey region-extract-function.
1235 2013-12-08 Leo Liu <sdl.web@gmail.com>
1237 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1238 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1239 (flymake-compilation-prevents-syntax-check)
1240 (flymake-start-syntax-check-on-newline)
1241 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1242 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1243 (flymake-xml-program, flymake-master-file-dirs)
1244 (flymake-master-file-count-limit)
1245 (flymake-allowed-file-name-masks): Relocate.
1246 (flymake-makehash, flymake-float-time)
1247 (flymake-replace-regexp-in-string, flymake-split-string)
1248 (flymake-get-temp-dir): Remove.
1249 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1250 (flymake-current-row, flymake-selected-frame)
1251 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1252 related functions. (Bug#16077)
1254 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1256 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1258 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1260 * help-fns.el (describe-function-1): Use new advice-* functions
1261 rather than old ad-* functions. Fix function type description and
1262 source links for advised functions and subrs.
1264 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1266 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1268 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1270 * progmodes/compile.el (compilation-start):
1271 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1273 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1274 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1276 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1278 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1279 Touch up the last change.
1281 2013-12-06 Leo Liu <sdl.web@gmail.com>
1283 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1284 (inferior-octave-startup): Always use "octave> " for prompt.
1285 (octave-goto-function-definition)
1286 (octave-sync-function-file-names)
1287 (octave-find-definition-default-filename): Remove redundant backquotes.
1289 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1291 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1293 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1294 where appropriate already.
1295 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1296 end of method names (Bug#15874).
1298 2013-12-06 Juri Linkov <juri@jurta.org>
1300 * isearch.el (isearch--saved-overriding-local-map):
1301 New internal variable.
1302 (isearch-mode): Set it to the initial value of
1303 `overriding-terminal-local-map'.
1304 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1305 with `isearch--saved-overriding-local-map'. (Bug#16035)
1307 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1309 * progmodes/octave.el (inferior-octave-completion-table):
1310 Turn back into function, use `completion-table-with-cache'
1311 (Bug#11906). Update all references.
1313 * minibuffer.el (completion-table-with-cache): New function.
1315 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1317 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1319 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1321 * net/eww.el (eww-current-source): New variable to store page
1323 (eww-display-html, eww-mode, eww-save-history)
1324 (eww-restore-history): Use it.
1325 (eww-view-source): New command to view page source.
1326 Opportunistically uses `html-mode' to highlight the buffer.
1327 (eww-mode-map): Install it.
1329 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1331 * net/dbus.el (dbus-unregister-service)
1332 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1334 (dbus-unregister-service): Skip :serial entries in
1335 `dbus-registered-objects-table'.
1336 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1338 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1340 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1341 around keywords with extra `split-string' argument.
1343 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1345 * windmove.el (windmove-other-window-loc): Handle navigation
1346 between windows (excluding the minibuffer window - Bug#16017).
1348 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1350 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1351 in D-Bus type syntax.
1352 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1353 preserve unibyte strings. (Bug#16048)
1355 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1357 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1358 Call force-mode-line-update is the proper buffer (bug#16042).
1360 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1362 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1363 `log-edit-remember-comment', make argument optional. Adjust all
1365 (log-edit-mode): Add `log-edit-remember-comment' to
1366 `kill-buffer-hook' locally.
1367 (log-edit-kill-buffer): Don't remember comment explicitly since
1368 the buffer is killed anyway.
1370 2013-12-04 Juri Linkov <juri@jurta.org>
1372 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1373 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1375 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1377 * notifications.el (notifications-close-notification): Call the
1378 D-Bus method with ID being a `:uint32'. (Bug#16030)
1380 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1382 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1384 2013-12-03 Juri Linkov <juri@jurta.org>
1386 * progmodes/compile.el (compilation-start): Rename window alist
1387 entry `no-display-ok' to `allow-no-window'.
1389 * simple.el (shell-command): Add window alist entry
1390 `allow-no-window' to `display-buffer'.
1391 (async-shell-command): Doc fix.
1393 * window.el (display-buffer-no-window): New action function.
1394 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1396 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1398 * vc/log-edit.el (log-edit-set-header): Extract from
1399 `log-edit-toggle-header'.
1400 (log-edit-extract-headers): Separate the summary, when extracted
1401 from header, from the rest of the message with an empty line.
1403 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1404 line, if present, to the Summary header.
1406 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1408 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1409 in current-buffer (bug#16029).
1411 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1413 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1414 (debugger-mode-map): Bind it.
1415 (debugger--backtrace-base): New function.
1416 (debugger-eval-expression): Use it.
1417 (debugger-frame-number): Skip local vars when present.
1418 (debugger--locals-visible-p, debugger--insert-locals)
1419 (debugger--show-locals, debugger--hide-locals): New functions.
1421 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1423 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1425 (tramp-get-remote-locale): New defun.
1426 (tramp-open-connection-setup-interactive-shell): Use it.
1428 2013-12-02 Leo Liu <sdl.web@gmail.com>
1430 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1432 * progmodes/sh-script.el (sh-shell-process):
1433 * progmodes/octave.el (inferior-octave-process-live-p):
1434 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1435 (gdb-inferior-io-sentinel):
1436 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1438 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1440 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1441 `save-selected-window' to `log-edit-hide-buf'. This makes
1442 `log-edit-show-files' idempotent.
1443 (log-edit-show-files): Mark the new window as dedicated.
1445 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1447 * vc/log-edit.el (log-edit-mode-map): Add binding for
1448 `log-edit-kill-biffer'.
1449 (log-edit-hide-buf): Add a FIXME comment.
1450 (log-edit-add-new-comment): New function, extracted from
1452 (log-edit-done, log-edit-add-to-changelog): Use it.
1453 (log-edit-kill-buffer): New command.
1455 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1457 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1458 instead of killing the buffer.
1460 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1462 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1464 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1466 * net/eww.el (eww-form-checkbox-selected-symbol)
1467 (eww-form-checkbox-symbol): New customizable variable.
1468 (eww-form-checkbox, eww-toggle-checkbox):
1469 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1471 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1472 (shr--get-media-pref, shr--extract-best-source): New function.
1473 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1474 no :src tag was specified.
1476 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1477 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1478 Use \\` to match beginning of string instead of ^.
1479 (eww-browse-with-external-browser): Provide optional URL parameter.
1480 (eww-render): Set `eww-current-title' back to "".
1482 * net/shr.el (shr-tag-video): Display content for video if no
1483 poster is available.
1484 (shr-tag-audio): Add support for <audio> tag.
1486 * net/eww.el (eww-text-input-types): New const.
1487 (eww-process-text-input): Treat input types in
1488 `eww-text-input-types' as text.
1490 * net/shr.el (shr-tag-table): Fix comment typo.
1492 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1494 * net/eww.el (eww-follow-link): New command to avoid reloading
1495 pages when we follow #target links (bug#15243).
1496 (eww-quit): Special mode buffers shouldn't query before exiting.
1498 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1500 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1503 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1505 * net/eww.el (eww-restore-history): Update the window title after
1506 moving in the history.
1507 (eww-current-dom): New variable used to save the current DOM.
1509 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1511 * vc/log-edit.el (log-edit-mode-map): Add binding for
1512 `log-edit-beginning-of-line'.
1513 (log-edit-setup-add-author): New user option.
1514 (log-edit-beginning-of-line): New command.
1515 (log-edit): Move major mode call above the contents setup so that
1516 the local variable values are already applied.
1517 (log-edit): Only insert "Author: " when
1518 `log-edit-setup-add-author' is non-nil.
1519 (log-edit): When SETUP is non-nil, position point after ": "
1520 instead of point-min.
1522 2013-12-01 Glenn Morris <rgm@gnu.org>
1524 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1526 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1528 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1529 redisplay to make sure the initial frame gets a chance to become
1530 visible. (Bug#16014)
1532 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1534 Support resizing frames and windows pixelwise.
1535 * cus-start.el (frame-resize-pixelwise)
1536 (window-resize-pixelwise): New entries.
1537 * emacs-lisp/debug.el (debug): Use window-total-height instead
1538 of window-total-size.
1539 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1540 * help.el (describe-bindings-internal): Call help-buffer
1541 (temp-buffer-max-width): New option.
1542 (resize-temp-buffer-window, help-window-setup)
1543 (with-help-window): Rewrite.
1544 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1546 * window.el (frame-char-size, window-min-pixel-height)
1547 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1548 (window-min-pixel-width, window-safe-min-pixel-size)
1549 (window-combination-p, window-safe-min-size)
1550 (window-resizable-p, window--size-to-pixel)
1551 (window--pixel-to-size, window--resize-apply-p): New functions.
1552 (window-safe-min-height): Fix doc-string.
1553 (window-size, window-min-size, window--min-size-1)
1554 (window-sizable, window-sizable-p, window--min-delta-1)
1555 (window-min-delta, window--max-delta-1, window-max-delta)
1556 (window--resizable, window--resizable-p, window-resizable)
1557 (window-full-height-p, window-full-width-p, window-at-side-p)
1558 (window--in-direction-2, window-in-direction)
1559 (window--resize-reset-1, window--resize-mini-window)
1560 (window-resize, window-resize-no-error)
1561 (window--resize-child-windows-normal)
1562 (window--resize-child-windows, window--resize-siblings)
1563 (window--resize-this-window, window--resize-root-window)
1564 (window--resize-root-window-vertically)
1565 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1566 (maximize-window, minimize-window, delete-window)
1567 (quit-restore-window, window-split-min-size, split-window)
1568 (balance-windows-2, balance-windows)
1569 (balance-windows-area-adjust, balance-windows-area)
1570 (window--state-get-1, window-state-get, window--state-put-1)
1571 (window--state-put-2, window-state-put)
1572 (display-buffer-record-window, window--display-buffer):
1573 Make functions handle pixelwise sizing of windows.
1574 (display-buffer--action-function-custom-type)
1575 (display-buffer-fallback-action):
1576 Add display-buffer-in-previous-window.
1577 (display-buffer-use-some-window): Resize window to height it had
1579 (fit-window-to-buffer-horizontally): New option.
1580 (fit-frame-to-buffer): Describe new values.
1581 (fit-frame-to-buffer-bottom-margin): Replace with
1582 fit-frame-to-buffer-margins.
1583 (window--sanitize-margin): New function.
1584 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1585 using window-text-pixel-size.
1587 2013-11-30 Glenn Morris <rgm@gnu.org>
1589 * emacs-lisp/bytecomp.el (byte-compile-form):
1590 Make the `interactive-only' warning like the `obsolete' one.
1591 * comint.el (comint-run):
1592 * files.el (insert-file-literally, insert-file):
1593 * replace.el (replace-string, replace-regexp):
1594 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1595 (goto-line, insert-buffer, next-line, previous-line):
1596 Tweak `interactive-only' spec.
1598 Stop keeping (most) generated cedet grammar files in the repository.
1599 * Makefile.in (semantic): New.
1600 (compile-main): Depend on semantic.
1602 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1604 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1605 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1607 * uniquify.el (uniquify-buffer-name-style): Change default.
1609 * loadup.el: Preload "uniquify".
1611 * time.el (display-time-update): Update all mode lines (bug#15999).
1613 * electric.el (electric-indent-mode): Enable by default.
1614 * loadup.el: Preload "electric".
1616 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1618 * emacs-lisp/helpers.el (string-empty-p): New function.
1619 (string-blank-p): New function.
1621 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1623 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1626 2013-11-29 Andreas Politz <politza@fh-trier.de>
1627 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1628 allow non-lambda lists as functions.
1629 (imenu--in-alist): Don't recurse into non-subalists.
1630 (imenu): Don't pass function itself as an argument (Bug#14029).
1632 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * progmodes/python.el (python-mode-map): Remove binding for ":".
1635 (python-indent-electric-colon): Remove command.
1636 (python-indent-post-self-insert-function): Integrate the previous code
1637 of python-indent-electric-colon. Make it conditional on
1638 electric-indent-mode.
1639 (python-mode): Add ?: to electric-indent-chars.
1640 Move python-indent-post-self-insert-function to the end of
1641 post-self-insert-hook.
1643 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1645 * doc-view.el (doc-view-goto-page): Update mode-line.
1647 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1649 2013-11-27 Glenn Morris <rgm@gnu.org>
1651 * international/charprop.el, international/uni-bidi.el:
1652 * international/uni-category.el, international/uni-combining.el:
1653 * international/uni-comment.el, international/uni-decimal.el:
1654 * international/uni-decomposition.el, international/uni-digit.el:
1655 * international/uni-lowercase.el, international/uni-mirrored.el:
1656 * international/uni-name.el, international/uni-numeric.el:
1657 * international/uni-old-name.el, international/uni-titlecase.el:
1658 * international/uni-uppercase.el:
1659 Remove generated files from VCS repository.
1661 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1663 * filenotify.el (file-notify-add-watch): Don't special-case
1664 w32notify when computing the directory to watch.
1666 2013-11-27 Glenn Morris <rgm@gnu.org>
1668 Make bootstrap without generated uni-*.el files possible again.
1669 * loadup.el: Update command-line-args checking for unidata-gen.
1670 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1671 * composite.el, international/characters.el:
1672 Handle unicode tables being undefined.
1674 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1675 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1676 (compile-main): Depend on leim rule.
1678 * loadup.el: Move leim-list.el to leim/ subdirectory.
1679 * startup.el (normal-top-level): No more leim directory.
1680 * international/ja-dic-cnv.el (skkdic-convert):
1681 Disable version-control and autoloads in output files.
1682 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1683 Disable version-control and autoloads in output files.
1684 * leim/quail: Move here from ../leim.
1685 * leim/quail/hangul.el (hangul-input-method-activate):
1686 Add autoload cookie.
1687 (generated-autoload-load-name): Set file-local value.
1688 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1689 (generated-autoload-load-name): Set file-local value.
1691 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
1693 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1694 (eww-add-bookmark): Ask confirmation when add to bookmarks.
1695 (eww-quit): Ask confirmation before quitting eww.
1697 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1699 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1700 reading output from Diff on MS-Windows and MS-DOS.
1702 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1704 * emacs-lisp/helpers.el (string-reverse): New function.
1706 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1708 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1709 names on MS Windows, like "/[::1]:".
1711 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1714 2013-11-26 Glenn Morris <rgm@gnu.org>
1716 * progmodes/python.el (python-indent-guess-indent-offset):
1717 Avoid corner-case error. (Bug#15975)
1719 Preload leim-list.el. (Bug#4789)
1720 * loadup.el: Load leim-list.el when found.
1721 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1723 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1725 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1727 * emacs-lisp/helpers.el (string-join): New function.
1729 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1731 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1732 Mark as obsolete and replace it with a symbol property.
1733 (byte-compile-form): Use new 'interactive-only property.
1734 * comint.el, files.el, replace.el, simple.el:
1735 Apply new 'interactive-only properly.
1737 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1739 * window.el (display-buffer-at-bottom): Make sure that
1740 split-window-sensibly creates the new window on bottom
1743 2013-11-23 David Kastrup <dak@gnu.org>
1745 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1746 on the conflict markers when available.
1747 (smerge--get-marker): New function.
1748 (smerge-end-re, smerge-base-re): Add subgroup.
1750 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1752 * frame.el (handle-focus-in, handle-focus-out): Add missing
1755 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1757 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1758 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1760 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1762 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1763 (gomoku--last-pos): New var.
1764 (gomoku--intangible-chars): New const.
1765 (gomoku--intangible): New function.
1766 (gomoku-mode): Use it. Derive from special-mode.
1767 (gomoku-move-up): Adjust line count.
1768 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1769 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1770 Simplify accordingly.
1772 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1773 Remove blink-cursor code.
1774 (blink-cursor-timer-function, blink-cursor-suspend):
1775 Don't special-case GUIs.
1776 (blink-cursor-mode): Use focus-in/out-hook.
1778 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1780 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1781 work when annotation is invisible (Bug#13886).
1783 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1785 * json.el (json-alist-p): Only return non-nil if the alist has
1786 simple keys (Bug#13518).
1788 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1790 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1791 when control-statement is the first statement in a buffer (Bug#15956).
1793 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1795 * imenu.el (imenu-generic-skip-comments-and-strings):
1796 New option (Bug#15560).
1797 (imenu--generic-function): Use it.
1799 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1801 * minibuffer.el (completion--in-region-1): Scroll the correct window.
1804 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1806 * emacs-lisp/helpers.el: Add some string helpers.
1807 (string-trim-left): Removes leading whitespace.
1808 (string-trim-right): Removes trailing whitespace.
1809 (string-trim): Removes leading and trailing whitespace.
1811 * subr.el (string-suffix-p): New function.
1813 2013-11-23 Glenn Morris <rgm@gnu.org>
1815 * progmodes/python.el (python-shell-send-file):
1816 Add option to delete file when done. (Bug#15647)
1817 (python-shell-send-string, python-shell-send-region): Use it.
1819 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1821 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1822 to set buffer-read-only to t, never to nil. (Bug#15938)
1824 * textmodes/tex-mode.el (latex-noindent-environments):
1825 Add safe-local-variable property. (Bug#15936)
1827 2013-11-23 Glenn Morris <rgm@gnu.org>
1829 * textmodes/enriched.el (enriched-mode): Doc fix.
1830 * emacs-lisp/authors.el (authors-renamed-files-alist):
1831 Add enriched.doc -> enriched.txt.
1833 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1835 2013-11-22 Leo Liu <sdl.web@gmail.com>
1837 * progmodes/octave.el (inferior-octave-startup): Spit out error
1840 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1842 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1845 (ruby-encoding-magic-comment-style): Add :version.
1847 2013-11-22 Leo Liu <sdl.web@gmail.com>
1849 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1851 (octave-help-mode): Adapt to change to help-mode-finish to use
1852 derived-mode-p on 2013-09-17.
1853 (inferior-octave-prompt): Also match octave-gui.
1854 (octave-kill-process): Don't ask twice. (Bug#10564)
1856 2013-11-22 Leo Liu <sdl.web@gmail.com>
1858 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1859 (inferior-octave-startup, inferior-octave-check-process)
1860 (inferior-octave-track-window-width-change)
1861 (octave-completion-at-point, octave-eldoc-function): Use it.
1862 (octave-kill-process): Provide confirmation. (Bug#10564)
1864 2013-11-21 Leo Liu <sdl.web@gmail.com>
1866 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1867 Fix obsolete variable comment-use-global-state.
1869 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1871 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1872 Add `octave-source-file'.
1873 (octave-source-file): New function. (Bug#15935)
1875 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
1877 * net/eww.el (eww-local-regex): New variable.
1878 (eww): Use it to detect localhost and similar.
1880 2013-11-21 Leo Liu <sdl.web@gmail.com>
1882 Add completion for command `ag'.
1883 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1884 (pcomplete/ag): New function.
1885 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1887 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1889 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1891 (make-obsolete): Remove interactive spec.
1893 2013-11-21 Glenn Morris <rgm@gnu.org>
1895 * startup.el (command-line-1): Use path-separator with -L.
1897 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1899 * emacs-lisp/package.el (describe-package-1): Add package archive
1902 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1904 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1905 Change default to "# encoding: %s" to differentiate it from the
1906 default Ruby encoding comment template.
1908 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1910 * ses.el (ses-mode): Doc fix. (Bug#14748)
1912 2013-11-20 Leo Liu <sdl.web@gmail.com>
1914 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1916 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1918 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1919 when rebase or bisect are in progress.
1921 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1923 * filenotify.el (file-notify-add-watch): Doc fix.
1925 2013-11-19 Leo Liu <sdl.web@gmail.com>
1927 * obsolete/rcompile.el: Mark obsolete.
1929 * progmodes/compile.el (compilation-start)
1930 (compilation-goto-locus, compilation-find-file):
1931 Pass no-display-ok and handle nil value from display-buffer.
1934 * window.el (display-buffer-alist, display-buffer): Document the
1935 new parameter no-display-ok. Return either a window or nil
1936 but never a non-window value.
1938 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1940 * electric.el (electric-indent-mode-map): Remove.
1941 (electric-indent-mode): Change the global-map instead (bug#15915).
1943 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1946 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1948 * emacs-lisp/nadvice.el (remove-function): Align with
1949 add-function's behavior.
1951 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1952 (gdb--string-regexp): New constant.
1953 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1954 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1955 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1957 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1958 Adjust use accordingly.
1959 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1961 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1963 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1964 interpolation curlies (Bug#15914).
1966 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1968 * calc/calc.el (calc-context-sensitive-enter): New variable.
1969 (calc-enter): Use `calc-context-sensitive-enter'.
1971 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1973 * progmodes/cfengine.el: Version bump.
1974 (cfengine-cf-promises): New defcustom to locate cf-promises.
1975 (cfengine3-vartypes): Add new "data" type.
1976 (cfengine3--current-word): New function to get current name-like
1978 (cfengine3--current-function): New function to look up a CFEngine
1979 function's definition.
1980 (cfengine3-format-function-docstring): New function.
1981 (cfengine3-make-syntax-cache): New function.
1982 (cfengine3-documentation-function): New function: ElDoc glue.
1983 (cfengine3-completion-function): New function: completion glue.
1984 (cfengine3-mode): Set `compile-command',
1985 `eldoc-documentation-function', and add to
1986 `completion-at-point-functions'.
1988 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1990 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1991 `tramp-current-connection'.
1993 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1995 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1996 nil/self/true/false with "end of symbol".
1998 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2000 * subr.el (version-regexp-alist): Fix a typo.
2002 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2004 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2005 "en_US.utf8" and "LC_CTYPE" to "".
2006 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2007 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2009 2013-11-15 Leo Liu <sdl.web@gmail.com>
2011 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2013 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2015 * progmodes/gud.el (ctl-x-map):
2016 Remove C-x SPC binding. (Bug#12342)
2017 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2019 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2021 * subr.el (version-regexp-alist):
2022 Recognize hg, svn and darcs versions as snapshot versions.
2024 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2025 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2026 (ruby--encoding-comment-required-p): Extract from
2027 `ruby-mode-set-encoding'.
2028 (ruby-mode-set-encoding): Add the ability to always insert an
2029 utf-8 encoding comment. Fix and simplify coding comment update
2032 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2034 * net/tramp-gvfs.el (top): Run init code only when
2035 `tramp-gvfs-enabled' is not nil.
2036 (tramp-gvfs-enabled): Check also :system bus.
2038 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2040 Sync with upstream verilog-mode revision 78e66ba.
2041 * progmodes/verilog-mode.el (verilog-end-of-defun)
2042 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2043 (verilog-get-end-of-defun): Remove unused argument.
2044 (verilog-comment-depth): Remove unused local `e'.
2045 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2046 Don't pass arg to verilog-get-end-of-defun.
2048 2013-11-14 Glenn Morris <rgm@gnu.org>
2050 * obsolete/assoc.el (aget): Prefix dynamic variable.
2052 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2054 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2056 * widget.el, hfy-cmap.el: Remove bogus package version number.
2058 2013-11-13 Glenn Morris <rgm@gnu.org>
2060 * replace.el (replace-eval-replacement):
2061 Try to give more helpful error message. (Bug#15836)
2063 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2064 (archive-7z-update): Avoid custom type mismatches.
2066 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2068 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2070 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2071 address can be empty.
2073 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2074 Accept nil SWITCHES.
2075 (tramp-gvfs-handle-write-region): Implement APPEND.
2077 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2079 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2080 binary "|" operator and closing block args delimiter.
2081 Remove FIXME comment referring to Ruby 1.8-only syntax.
2082 (ruby-smie--implicit-semi-p): Not after "|" operator.
2083 (ruby-smie--closing-pipe-p): New function.
2084 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2085 (ruby-smie-rules): Indent after "|".
2087 2013-11-12 Glenn Morris <rgm@gnu.org>
2089 * ps-print.el (ps-face-attribute-list):
2090 Handle anonymous faces. (Bug#15827)
2092 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2094 * window.el (display-buffer-other-frame): Fix doc-string.
2097 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2099 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2101 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2103 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2104 (tramp-sh-handle-file-local-copy): Don't write a message when
2105 saving temporary files.
2107 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2108 both directories are remote.
2109 (tramp-smb-handle-directory-files): Do not return double entries.
2110 Do not expand full file names.
2111 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2112 (tramp-smb-handle-write-region): Implement APPEND.
2113 (tramp-smb-get-stat-capability): Fix a stupid bug.
2115 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2117 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2119 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2121 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2122 throwing error over malformed let/let* (bug#15814).
2124 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2126 * iswitchb.el (iswitchb-mode): Mark obsolete.
2128 2013-11-11 Glenn Morris <rgm@gnu.org>
2130 * international/uni-bidi.el, international/uni-category.el:
2131 * international/uni-name.el, international/uni-numeric.el:
2132 Regenerate for Unicode 6.3.0.
2134 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2136 * net/tramp.el (tramp-methods):
2137 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2138 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2140 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2142 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2143 Force highlighting text after Summary keyword in doc face for rpm.
2145 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2147 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2148 available and the word has no wildcards, append one to the grep pattern.
2149 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2150 (ispell-complete-word): Call `ispell-lookup-words' with the value
2151 independent of `ispell-look-p'.
2153 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2155 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2157 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2160 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2162 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2163 (ruby-font-lock-keywords): Use backquote.
2165 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2167 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2168 (ruby-smie--backward-token): Only consider full-string matches.
2170 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2172 * faces.el (describe-face): Add distant-foreground.
2174 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2176 * progmodes/ruby-mode.el: Improve encoding comment handling.
2177 (ruby-encoding-magic-comment-style): New option.
2178 (ruby-custom-encoding-magic-comment-template): New option.
2179 (ruby--insert-coding-comment, ruby--detect-encoding):
2180 New functions extracted from `ruby-mode-set-encoding'.
2181 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2182 to control the style of the auto-inserted encoding comment.
2184 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2186 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2187 Use `smie-backward-sexp' with token argument.
2189 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2191 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2192 Remove instrumentation code.
2194 2013-11-08 Glenn Morris <rgm@gnu.org>
2196 * progmodes/autoconf.el (autoconf-mode):
2197 Tweak comment-start-skip. (Bug#15822)
2199 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2201 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2202 at bobp (bug#15826).
2203 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2205 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2207 * man.el (Man-start-calling): New macro, extracted from
2208 Man-getpage-in-background.
2209 (Man-getpage-in-background): Use it.
2210 (Man-update-manpage): New command.
2211 (Man-mode-map): Bind it.
2213 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2215 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2216 of "and", "or", "&&" and "||".
2217 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2218 argument. Prohibit opening curly brace because it could only be a
2219 block opener in that position.
2220 (ruby-smie--forward-token, ruby-smie--backward-token):
2221 Separate "|" from "&" or "*" going after it. That can happen in block
2223 (ruby-smie--indent-to-stmt): New function, seeks the end of
2224 previous statement or beginning of buffer.
2225 (ruby-smie-rules): Use it.
2226 (ruby-smie-rules): Check if there's a ":" before a curly block
2227 opener candidate; if there is, it's a hash.
2229 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2231 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2232 (cl--block-wrapper): Fix last accidental change.
2234 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2236 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2237 Instrument, in order to hunt failure on hydra.
2239 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2241 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2242 malformed bindings form (bug#15814).
2244 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2246 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2247 "." compared to " @ ". This incidentally fixes some indentation
2249 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2250 (ruby-smie-grammar): New tokens: "and" and "or".
2251 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2252 Exclude "and" and "or". Remove "do" in order to work around token
2254 (ruby-smie-rules): Add all infix tokens. Handle the case of
2255 beginning-of-buffer.
2257 2013-11-06 Glenn Morris <rgm@gnu.org>
2259 * Makefile.in (setwins_almost, setwins_for_subdirs):
2260 Avoid accidental matches.
2262 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2264 * menu-bar.el (popup-menu): Use key-binding.
2266 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2268 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2269 menus, support also the menus produced by minor modes.
2272 2013-11-06 Leo Liu <sdl.web@gmail.com>
2274 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2275 DISTANCE to bound the search. All uses changed. (Bug#15808)
2277 2013-11-06 Glenn Morris <rgm@gnu.org>
2279 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2280 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2281 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2283 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2285 * electric.el (electric-indent-just-newline): New command.
2286 (electric-indent-mode-map): New keymap.
2287 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2288 Re-add :group which weren't redundant.
2290 * electric.el (electric-indent-local-mode): New minor mode.
2291 (electric-indent-functions-without-reindent): New var.
2292 (electric-indent-post-self-insert-function): Use it.
2293 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2295 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2297 * international/quail.el (quail-help): Be more explicit about the
2298 meaning of the labels shown on the keys. (Bug#15800)
2300 * startup.el (normal-top-level): Load the subdirs.el files before
2301 setting the locale environment. (Bug#15805)
2303 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2305 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2306 via arguments so as to get the right ones (bug#15418).
2308 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2310 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2312 Fix problems found while writing a test suite.
2314 * net/tramp-compat.el (tramp-compat-load): New defun.
2315 * net/tramp.el (tramp-handle-load): Use it.
2317 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2318 "(numberp ok-if-already-exists)" correctly.
2320 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2322 * international/characters.el (glyphless-char-display-control):
2325 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2327 * progmodes/python.el (python-mode):
2328 * progmodes/scheme.el (scheme-mode):
2329 * progmodes/prolog.el (prolog-mode):
2330 * progmodes/ruby-mode.el (ruby-mode):
2331 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2332 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2334 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2336 * rect.el (rectangle--highlight-for-redisplay):
2337 * emacs-lisp/smie.el (smie--next-indent-change):
2338 Use buffer-chars-modified-tick.
2340 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2342 * electric.el (electric-indent-post-self-insert-function):
2343 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2345 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2347 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2349 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2351 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2354 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2356 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2358 * progmodes/python.el: Fix up last change.
2359 (python-shell--save-temp-file): New function.
2360 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2361 `string' comes from the current buffer.
2362 (python-shell-send-string-no-output): Remove `msg' arg.
2363 (python--use-fake-loc): New var.
2364 (python-shell-buffer-substring): Obey it. Try to compensate for the
2365 extra coding line added by python-shell--save-temp-file.
2366 (python-shell-send-region): Use python-shell--save-temp-file and
2367 python-shell-send-file directly. Add `nomain' argument.
2368 (python-shell-send-buffer): Use python-shell-send-region.
2369 (python-electric-pair-string-delimiter): New function.
2370 (python-mode): Use it.
2372 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2374 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2375 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2376 environment and decoding all of the default-directory's to here
2378 (command-line): Decode also argv[0].
2380 * loadup.el: Error out if default-directory is a multibyte string
2381 when we are dumping.
2383 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2385 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2387 * emacs-lisp/package.el (package-menu-mode)
2388 (package-menu--print-info, package-menu--archive-predicate):
2389 Add Archive column to package list.
2391 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2393 Fix problems found while writing a test suite.
2395 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2396 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2397 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2398 to nil when running original file name handler. Otherwise,
2399 there are problems with constructs like "$$FOO".
2401 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2404 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2406 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2408 * subr.el (version<, version<=, version=):
2409 Update docstrings with information for snapshot versions.
2411 * helpers.el: New library for misc helper functions.
2412 (hash-table-keys): New function returning a list of hash keys.
2413 (hash-table-values): New function returning a list of hash values.
2415 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2417 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2418 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2420 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2422 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2423 checking whether point is after a 1-letter word.
2425 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2427 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2428 Don't infloop when expanding region over `multiline' syntax-type that
2429 begins a line (bug#15778).
2431 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2433 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2434 Make it into a proper minor mode.
2435 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2436 (rectangle-mark-mode-map): New keymap.
2437 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2439 2013-11-04 Glenn Morris <rgm@gnu.org>
2441 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2443 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2445 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2446 (ruby-smie-rules): Use smie-rule-parent instead.
2448 * emacs-lisp/smie.el (smie-rule-parent): Always call
2449 smie-indent-virtual rather than only for hanging tokens.
2450 (smie--next-indent-change): New helper command.
2452 2013-11-03 Glenn Morris <rgm@gnu.org>
2454 * Makefile.in (abs_srcdir): Remove.
2455 (emacs): Unset EMACSLOADPATH.
2457 2013-11-02 Glenn Morris <rgm@gnu.org>
2459 * Makefile.in (EMACS): Use a relative filename.
2460 (abs_top_builddir): Remove.
2461 (custom-deps, finder-data, autoloads): Use --chdir.
2463 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2465 Use relative filenames in TAGS files.
2466 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2467 (lisptagsfiles4, TAGS): Use relative file names.
2468 (TAGS-LISP): Remove.
2469 (maintainer-clean): No more TAGS-LISP file.
2471 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2472 (lisptagsfiles4): Use absolute filenames again.
2473 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2474 Remove all *loaddefs files, not just the first. Remove esh-groups.
2475 (maintainer-clean): Delete TAGS, TAGS-LISP.
2477 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2479 * emacs-lisp/package.el (package-version-join):
2480 Recognize snapshot versions.
2482 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2484 * subr.el (version-regexp-alist): Add support for snapshot versions.
2486 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2488 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2489 New function, replacement for `smie-rule-parent' for when we want to
2490 skip over our direct parent if it's an assignment token..
2491 (ruby-smie-rules): Use it.
2493 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2495 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
2496 unconditionally. Remove now unnecessary forward declarations.
2497 Remove XEmacs-specific setup.
2498 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2499 (ruby-font-lock-syntactic-keywords)
2500 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2501 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2502 (ruby-here-doc-end-syntax): Remove.
2503 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2504 defined as function.
2506 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2508 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2510 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2512 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2513 table and abbrev table, `define-derived-mode' does that for us
2516 2013-11-01 Glenn Morris <rgm@gnu.org>
2518 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2519 files is atomic for some time, so no parallel compilation issues).
2521 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2523 * faces.el (face-x-resources): Add :distant-foreground.
2524 (region): Use :distant-foreground for gtk and ns.
2526 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2528 Allow multiple bibliographies when BibLaTeX is used rather than
2530 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2531 (reftex-locate-bibliography-files): Us it.
2533 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2535 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2536 allow comments in pbm files.
2538 * term/w32-win.el (dynamic-library-alist): Support newer versions
2539 of libjpeg starting with v7: look only for the DLL from the
2540 version against which Emacs was built.
2541 Support versions of libpng beyond 1.4.x.
2542 Support libtiff v4.x.
2544 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2546 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2547 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2549 (ruby-deep-arglist): Add property :type.
2551 2013-10-31 Glenn Morris <rgm@gnu.org>
2553 * Makefile.in (custom-deps, finder-data): No need to setq the target
2554 variables, we are in the right directory and the defaults work fine.
2556 2013-10-30 Glenn Morris <rgm@gnu.org>
2558 * Makefile.in (autoloads): Do not use abs_lisp.
2560 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2561 `newline' does not respect `standard-output', so use `princ'.
2563 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2565 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2566 * buff-menu.el (Buffer-menu--unmark): New function.
2567 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2569 2013-10-30 Glenn Morris <rgm@gnu.org>
2571 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2573 * emacs-lisp/package.el (lm-homepage): Declare.
2575 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2578 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2580 * Makefile.in (finder-data, autoloads, update-subdirs)
2581 (compile-main, compile-clean, compile-always, bootstrap-clean):
2582 Check return value of cd.
2583 (compile-calc): Remove.
2585 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2587 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2589 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2590 (byte-compile-and-folded): New function.
2591 (=, <, >, <=, >=): Use it.
2593 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2594 (path-separator, null-device, buffer-file-coding-system)
2595 (lpr-headers-switches): Check system-type before modifying them.
2596 (find-buffer-file-type-coding-system): Mark obsolete.
2597 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2598 find-file-not-found-set-buffer-file-coding-system.
2599 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2600 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2601 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2602 (w32-direct-print-region-helper, w32-direct-print-region-function)
2603 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2604 * startup.el (normal-top-level-add-subdirs-to-load-path):
2605 * ps-print.el (ps-print-region-function):
2606 * lpr.el (print-region-function): Use new name.
2608 * subr.el (custom-declare-variable-early): Remove function.
2609 (custom-declare-variable-list): Remove var.
2610 (error, user-error): Remove `while' loop.
2611 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2612 (user-emacs-directory-warning, locate-user-emacs-file):
2614 * simple.el (read-quoted-char-radix, read-quoted-char):
2615 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2617 * custom.el (custom-declare-variable-list): Don't process
2618 custom-declare-variable-list.
2620 * progmodes/python.el (python-shell-get-buffer): New function.
2621 (python-shell-get-process): Use it.
2622 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2623 Python which encoding was used. Don't split-string since we only care
2624 about the first line. Return the temp-file, if applicable.
2625 (python-shell-send-region): Tell compile.el how to turn locations in
2626 the temp-file into locations in the source buffer.
2628 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2630 * subr.el (undefined): Add missing behavior from the C code for
2633 * rect.el: Use lexical-binding. Add new rectangular region support.
2634 (rectangle-mark): New command.
2635 (rectangle--region): New var.
2636 (deactivate-mark-hook): Reset rectangle--region.
2637 (rectangle--extract-region, rectangle--insert-for-yank)
2638 (rectangle--highlight-for-redisplay)
2639 (rectangle--unhighlight-for-redisplay): New functions.
2640 (region-extract-function, redisplay-unhighlight-region-function)
2641 (redisplay-highlight-region-function): Use them to handle
2643 * simple.el (region-extract-function): New var.
2644 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2645 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2646 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2647 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2648 (redisplay-unhighlight-region-function)
2649 (redisplay-highlight-region-function): New vars.
2650 (redisplay--update-region-highlight): New function.
2651 (pre-redisplay-function): Use it.
2652 (exchange-point-and-mark): Don't deactivate the mark before
2653 reactivate-it anyway.
2654 * comint.el (comint-kill-region): Remove yank-handler argument.
2655 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2656 (delete-char): Remove property, since it's now part of their
2658 (self-insert-iso): Remove property since this command doesn't exist.
2660 * emacs-lisp/package.el (package--download-one-archive)
2661 (describe-package-1): Don't query the user about final newline.
2663 2013-10-29 Daniel Colascione <dancol@dancol.org>
2665 * net/tramp.el (tramp-methods): Document new functionality.
2666 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2667 tramp-hostname-checker if method provides one instead of scanning
2668 argument list for "%h" to decide hostname acceptability.
2670 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2672 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2673 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2674 Handle COPY-CONTENTS. (Bug#15737)
2676 2013-10-28 Daiki Ueno <ueno@gnu.org>
2679 (epa-file-cache-passphrase-for-symmetric-encryption):
2680 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2682 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2684 * image.el (defimage):
2685 (image-load-path): Doc fixes.
2687 2013-10-27 Alan Mackenzie <acm@muc.de>
2689 Indent statements in macros following "##" correctly.
2690 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2691 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2693 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2695 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2697 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2699 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2700 after `=' is probably a new expression.
2702 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2704 * man.el (man-imenu-title): New option.
2705 (Man-mode-map): Add menu. (Bug#15722)
2706 (Man-mode): Add imenu to menu.
2708 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2710 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2711 specific in what the first arg can be: a non-keyword word,
2712 string/regexp/percent literal opener, opening paren, or unary
2713 operator followed directly by word.
2715 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2717 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2718 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2719 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2720 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2721 Remove vars, they do not apply any more.
2722 (prolog-mode-abbrev-table): Remove redundant declaration.
2723 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2724 (prolog-use-smie): Remove.
2725 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2726 supported by prolog-electric-if-then-else-flag.
2727 (prolog-mode-variables, prolog-menu): Use setq-local.
2728 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2729 Remove binding to `Backspace' since this key doesn't exist anyway.
2730 Remove bindings for electric self-inserting keys.
2731 (prog-mode): Assume it's defined.
2732 (prolog-post-self-insert): New function.
2733 (prolog-mode): Use it.
2734 (prolog-indent-line, prolog-indent-level)
2735 (prolog-find-indent-of-matching-paren)
2736 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2737 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2738 (prolog-goto-next-paren, prolog-in-string-or-comment)
2739 (prolog-tokenize, prolog-inside-mline-comment)
2740 (prolog-find-start-of-mline-comment): Remove functions.
2741 (prolog-find-unmatched-paren, prolog-clause-end)
2742 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2743 (prolog-electric--if-then-else): Rename from
2744 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2745 (prolog-tokenize-searchkey): Remove const.
2746 (prolog-clause-info): Use forward-sexp.
2747 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2748 (prolog-electric-if-then-else): Remove commands.
2749 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2750 for use in post-self-insert-hook.
2751 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2752 for use in post-self-insert-hook.
2753 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2754 for use in post-self-insert-hook.
2755 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2756 adapt it for use in post-self-insert-hook.
2758 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2760 * emacs-lisp/ert.el (ert-run-tests-interactively):
2761 Use `completing-read'. (Bug#9756)
2763 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2765 * simple.el (line-move): Call line-move-1 instead of
2766 line-move-visual when the current window hscroll is zero, but
2767 temporary-goal-column indicates we will need to hscroll as result
2768 of the movement. (Bug#15712)
2770 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2772 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2773 capitalization. Use :visible instead of :active.
2774 Fix `ruby-indent-exp' reference. Add menu items for the generic
2775 commands that are used with SMIE.
2776 (ruby-do-end-to-brace): Insert space after `{'.
2778 2013-10-25 John Anthony <john@jo.hnanthony.com>
2780 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2782 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2784 2013-10-25 Glenn Morris <rgm@gnu.org>
2786 * vc/vc.el (vc-print-log): Don't use a working revision unless
2787 one was explicitly specified. (Bug#15322)
2789 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2791 * subr.el (add-to-list): Preserve return value in compiler-macro
2794 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2796 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2797 result. Ask user to retry using '-all' flag. (Bug#15701)
2799 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2801 * emacs-lisp/smie.el: New smie-config system.
2802 (smie-config): New defcustom.
2803 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2804 (smie-config-guess, smie-config-save): New commands.
2805 (smie-config--mode-local, smie-config--buffer-local)
2806 (smie-config--trace, smie-config--modefuns): New vars.
2807 (smie-config--advice, smie-config--mode-hook)
2808 (smie-config--setter, smie-config-local, smie-config--get-trace)
2809 (smie-config--guess-value, smie-config--guess): New functions.
2810 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2811 text properties. Treat "string fence" syntax like string syntax.
2813 * progmodes/sh-script.el (sh-use-smie): Change default.
2814 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2815 (sh-var-value): Simplify by CSE.
2816 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2817 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2819 (sh-guess-basic-offset): Use cl-incf.
2820 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2822 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2824 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2827 2013-10-24 Glenn Morris <rgm@gnu.org>
2829 * Makefile.in (abs_top_srcdir): Remove.
2830 (update-subdirs): Use relative path to update-subdirs.
2832 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2834 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2835 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2836 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2837 Call unmsys--file-name before expand-file-name, not after it.
2839 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2841 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2842 (ert-test-skipped): New error.
2843 (ert-skip, ert-stats-skipped): New defuns.
2844 (ert--skip-unless): New macro.
2845 (ert-test-skipped): New struct.
2846 (ert--run-test-debugger, ert-test-result-type-p)
2847 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2848 (ert--stats-set-test-and-result, ert-char-for-test-result)
2849 (ert-string-for-test-result, ert-run-tests-batch)
2850 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2851 Handle skipped tests. (Bug#9803)
2853 2013-10-24 Glenn Morris <rgm@gnu.org>
2855 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2857 * Makefile.in (abs_top_srcdir): New, set by configure.
2858 (update-subdirs): Correct build-aux location.
2860 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2862 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2863 value, whether we could auto-deduce `backend', or not.
2865 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2866 with parameters" example. Simplify the "is it block or is it
2867 hash" check, but also make it more thorough.
2869 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2871 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2873 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2875 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2878 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2881 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2883 * progmodes/compile.el (compilation-directory-matcher)
2884 (compilation-page-delimiter):
2885 Support GNU Make-4.0 directory quoting. (Bug#15678)
2887 2013-10-23 Leo Liu <sdl.web@gmail.com>
2889 * ido.el (ido-tidy): Handle read-only text.
2891 2013-10-23 Glenn Morris <rgm@gnu.org>
2893 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2894 (emacs, compile, compile-always):
2895 Quote entities that might contain whitespace.
2896 (custom-deps, finder-data, autoloads): Use abs_lisp.
2897 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2898 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2899 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2901 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2903 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2904 Use `following-char'.
2906 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2908 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2909 * progmodes/ruby-mode.el (ruby-smie-rules):
2910 Remove corresponding workaround. Fix indentation rule of ";" so it
2911 also applies when ";" is the parent.
2913 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2915 * frame.el (display-screens, display-pixel-height)
2916 (display-pixel-width, display-mm-width, display-backing-store)
2917 (display-save-under, display-planes, display-color-cells)
2918 (display-visual-class, display-monitor-attributes-list):
2919 Mention the optional ‘display’ argument in doc strings.
2921 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2923 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2924 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2926 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2928 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2929 TODO. Add "." after " @ ".
2930 (ruby-smie--at-dot-call): New function. Checks if point at method
2931 call with explicit target.
2932 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2933 to the method name tokens when it precedes them.
2934 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2935 (ruby-smie-rules): Add rule for indentation before and after "."
2938 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2940 * textmodes/remember.el (remember-diary-extract-entries):
2943 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2946 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2948 * progmodes/ruby-mode.el (ruby-smie-grammar):
2949 Add (almost) all infix operators.
2950 (ruby-smie--implicit-semi-p): Add new operator chars.
2952 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2954 (ruby-smie--args-separator-p): Check that there's no newline
2955 between method call and its arguments.
2957 2013-10-20 Alan Mackenzie <acm@muc.de>
2959 Allow comma separated lists after Java "implements".
2961 * progmodes/cc-engine.el (c-backward-over-enum-header):
2963 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2964 from a "disallowed" list in enum fontification.
2966 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2968 * startup.el (default-frame-background-mode): Remove unused defvar.
2970 * progmodes/verilog-mode.el (verilog-mode): Don't set
2971 comment-indent-function globally.
2973 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2975 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2976 Move Info menu item creation to ns-win.el.
2978 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2981 * menu-bar.el: Move GNUStep specific menus...
2983 * term/ns-win.el (ns-initialize-window-system): ... to here.
2985 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2987 * simple.el (newline): Only run post-self-insert-hook when
2988 called interactively.
2990 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2992 * icomplete.el (icomplete-with-completion-tables): Add :version.
2994 2013-10-19 Alan Mackenzie <acm@muc.de>
2996 Fix fontification bugs with constructors and const.
2998 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2999 CASE 2) Remove the check for the absence of a suffix construct
3000 after a function declaration with only types (no identifiers) in
3001 the parentheses. Also, accept a function declaration with just a
3002 type inside the parentheses, if this type can be positively
3003 recognised as such, or if a prefix keyword like "explicit" nails
3004 down the construct as a declaration.
3006 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3008 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3009 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3010 the problem whereby selecting a menu item that leads to a
3011 minibuffer prompt moves the cursor out of the minibuffer window,
3012 making it hard to type at the prompt. Suggested by Stefan Monnier
3013 <monnier@iro.umontreal.ca>.
3015 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3017 * menu-bar.el: Don't make Services menu.
3019 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3021 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3022 (ffap-alist): Use ffap-c++-mode for c++-mode.
3023 (ffap-c++-path): New variable.
3024 (ffap-c++-mode): New function.
3026 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3028 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3030 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3032 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3033 introduced on 2013-09-08, which results in an infinite loop
3034 requesting a password.
3036 2013-10-18 Glenn Morris <rgm@gnu.org>
3038 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3040 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3042 Sync with upstream verilog-mode revision 1a6ecec7.
3043 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3044 (verilog-mode-release-date): Remove.
3045 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3046 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3047 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3048 (verilog-auto-tieoff-ignore-regexp)
3049 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3050 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3051 (verilog-signals-with, verilog-dir-cache-preserving)
3052 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3054 (verilog-case-fold): New option, to control case folding in
3055 regexp searches, bug597.
3056 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3057 (verilog-string-match-fold, verilog-in-paren-count)
3058 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3059 (verilog-at-close-struct-p): New functions.
3060 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3061 (verilog-forward-sexp, verilog-set-auto-endcomments):
3062 (verilog-leap-to-case-head): Handle "unique0" case.
3063 (verilog-in-constraint-re): New constant.
3064 (verilog-keywords, verilog-type-font-keywords):
3065 Add some SystemVerilog 1800-2012 keywords.
3066 (verilog-label-be): Remove unimplemented argument, bug669.
3067 (verilog-batch-execute-func): When batch expanding clear
3068 create-lockfiles to prevent spurious user locks when a file ends
3070 (verilog-calculate-indent, verilog-calc-1)
3071 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3072 (verilog-do-indent): Fix indentation of nested constraints
3074 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3075 (verilog-auto-inst-param): Use verilog-string-match-fold.
3076 (verilog-read-inst-module-matcher):
3077 Fix AUTOINST on gate primitives with #1.
3078 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3079 Reads all user-defined typed variables.
3080 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3081 (verilog-signals-matching-regexp)
3082 (verilog-signals-not-matching-regexp, verilog-auto):
3083 Respect verilog-case-fold.
3084 (verilog-diff-report): Fix line count.
3085 (verilog-auto-assign-modport): Remove unused local `modi'.
3086 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3087 better handle multidimensional arrays.
3088 Fix packed array ports misadding bit index in AUTOINST, bug637.
3089 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3090 to not double-declare existing outputs and inputs, respectively.
3091 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3092 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3093 (verilog-sk-uvm-component): New skeleton.
3094 (verilog-submit-bug-report): Add verilog-case-fold,
3095 remove verilog-mode-release-date.
3097 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3099 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
3102 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3104 * textmodes/remember.el (remember): Set buffer-offer-save in
3105 remember buffers (bug#13566).
3107 2013-10-18 Daniel Colascione <dancol@dancol.org>
3109 When evaluating forms in ielm, direct standard output to ielm
3110 buffer. Add new ielm-return-for-effect command. Remove trailing
3111 whitespace throughout.
3113 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3114 (ielm-return-for-effect): New command.
3115 (ielm-send-input): Accept optional `for-effect' parameter.
3116 (ielm-eval-input): Accept optional `for-effect' parameter.
3117 Bind `standard-output' to stream we create using
3118 `ielm-standard-output-impl'. Suppress printing result when
3120 (ielm-standard-output-impl): New function.
3121 (inferior-emacs-lisp-mode): Explain new features in documentation.
3123 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3127 * net/tramp.el (tramp-debug-message): Do not check for connection
3129 (tramp-message): Use "vector" connection property.
3131 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3132 (tramp-equal-remote, tramp-eshell-directory-change)
3133 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3134 (tramp-adb-handle-rename-file)
3135 * net/tramp-cmds.el (tramp-list-remote-buffers)
3136 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3137 * net/tramp-compat.el (tramp-compat-process-running-p)
3138 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3139 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3140 (tramp-gvfs-handle-rename-file)
3141 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3142 (tramp-set-file-uid-gid)
3143 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3144 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3147 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3148 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3149 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3150 (tramp-gw-open-network-stream): Suppress unrelated traces.
3152 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3153 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3154 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3155 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3156 connection property.
3158 * net/tramp-cache.el (top): Suppress traces when reading
3161 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3162 Refactor common code. Improve debug message.
3163 (tramp-maybe-open-connection)
3164 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3165 connection buffer too early.
3167 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3168 from `tramp-smb-actions-with-acl'.
3169 (tramp-smb-actions-set-acl): New defconst.
3170 (tramp-smb-handle-copy-directory)
3171 (tramp-smb-action-get-acl): New defun, renamed from
3172 `tramp-smb-action-with-acl'.
3173 (tramp-smb-action-set-acl): New defun.
3174 (tramp-smb-handle-set-file-acl): Rewrite.
3176 2013-10-17 Glenn Morris <rgm@gnu.org>
3178 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3180 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3182 * skeleton.el (skeleton-newline): Remove.
3183 (skeleton-internal-1): Use (insert "\n") instead.
3185 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3188 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3189 forward-sexp-function while we redo its job (bug#15613).
3191 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3193 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3194 represented by lists.
3196 2013-10-16 Glenn Morris <rgm@gnu.org>
3198 * tmm.el (tmm--history): New dynamic variable.
3199 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3201 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3203 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3204 (tramp-smb-errors): Add error messages.
3205 (tramp-smb-actions-with-acl): New defconst.
3206 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3207 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3208 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3209 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3210 (tramp-smb-get-stat-capability): Fix tests.
3212 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3214 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3217 2013-10-16 Glenn Morris <rgm@gnu.org>
3219 * ansi-color.el (ansi-color-drop-regexp):
3220 Add 1J, 1K, 2K. (Bug#15617)
3222 * files.el (hack-local-variables--warned-lexical): New.
3223 (hack-local-variables):
3224 Warn about misplaced lexical-binding. (Bug#15616)
3226 * net/eww.el (eww-render): Always set eww-current-url,
3227 and update header line. (Bug#15622)
3228 (eww-display-html): ... Rather than just doing it here.
3230 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3232 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3233 menu navigations commands.
3235 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3237 * progmodes/subword.el (subword-capitalize): Be careful when
3238 the search for [[:alpha:]] fails (bug#15580).
3240 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3242 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3243 to commands that scroll the menu.
3245 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3247 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3248 Handle methods ending with `?' and `!'.
3250 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3252 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3253 `japanese-cp932' to `cp932' to fix the problem where saving a
3254 source file written in Shift_JIS twice would end up having
3255 `coding: japanese-cp932' which Ruby could not recognize.
3256 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3257 in `ruby-encoding-map'.
3258 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3259 doesn't need to be explicitly declared in magic comment.
3260 (ruby-encoding-map): Add type declaration for better customize UI.
3262 2013-10-13 Glenn Morris <rgm@gnu.org>
3264 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3265 Occur buffers are read-only. http://bugs.debian.org/720775
3267 * emacs-lisp/authors.el (authors-fixed-entries):
3268 Comment out old alpha stuff.
3270 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3272 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3273 to `after-save-hook' instead of `before-save-hook'.
3274 (ruby-mode-set-encoding): Use the value of coding system used to
3275 write the file. Call `basic-save-buffer-1' after modifying the
3278 2013-10-13 Alan Mackenzie <acm@muc.de>
3280 Fix indentation/fontification of Java enum with
3281 "implements"/generic.
3283 * progmodes/cc-engine.el (c-backward-over-enum-header):
3284 Extracted from the three other places and enhanced to handle generics.
3285 (c-inside-bracelist-p): Uses new function above.
3286 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3288 (c-font-lock-enum-tail): Uses new function above.
3290 2013-10-13 Kenichi Handa <handa@gnu.org>
3292 * international/mule-cmds.el (select-safe-coding-system): Remove a
3293 superfluous condition in chekcing whether a coding system is safe
3296 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3298 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3300 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3302 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3304 2013-10-13 Glenn Morris <rgm@gnu.org>
3306 * menu-bar.el (menu-bar-update-buffers):
3307 Unify Buffers menu prompt string. (Bug#15576)
3309 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3311 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3313 (authors-fixed-entries): Use accented form of name.
3315 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3317 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3318 method calls (bug#15594).
3319 (ruby-smie--args-separator-p): New function.
3320 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3321 recognize paren-free method calls.
3323 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3324 internals of universal-argument.
3326 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3328 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3329 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3330 dropped menu on second mouse click on the menu bar.
3332 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3334 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3335 (explicit-shell-file-name): Declare.
3336 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3337 (sh-completion-at-point-function): New function.
3339 (sh-smie--keyword-p): Remove unused argument.
3340 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3342 (sh-set-shell): Always setup SMIE, even if we use the
3343 old indentation code.
3345 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3347 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3349 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3350 predicate would return nil are almost non-existent.
3351 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3353 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3354 cache also after commands that modify the buffer but don't move
3357 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3359 * env.el (substitute-env-in-file-name): New function.
3360 (substitute-env-vars): Extend the meaning of the optional arg.
3362 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3364 * term/w32-win.el (dynamic-library-alist): Define separate lists
3365 of GIF DLLs for versions before and after 5.0.0 of giflib.
3368 2013-10-10 João Távora <joaotavora@gmail.com>
3370 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3371 not locked, use last revision and current source as
3372 defaults. (Bug#15569)
3374 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3376 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3379 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3381 * window.el (pop-to-buffer-same-window): Fix doc-string.
3384 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3386 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3388 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3390 * calendar/icalendar.el (icalendar-import-file):
3391 Fix interactive spec. (Bug#15482)
3393 2013-10-10 Glenn Morris <rgm@gnu.org>
3395 * desktop.el (desktop-save): Default to saving in .emacs.d,
3396 since PWD is no longer in desktop-path by default. (Bug#15319)
3398 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3399 now that text mode has a menu with the same entry.
3400 (menu-bar-text-mode-auto-fill): Remove now unused func.
3401 * textmodes/text-mode.el (text-mode-map):
3402 Use auto-fill help text from menu-bar.el.
3404 2013-10-10 John Anthony <john@jo.hnanthony.com>
3406 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3408 2013-10-09 Juri Linkov <juri@jurta.org>
3410 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3411 instead of this-command-keys. Add universal-argument-more and
3412 universal-argument-minus to the list of prefix commands. (Bug#15568)
3414 2013-10-09 Glenn Morris <rgm@gnu.org>
3416 * vc/vc-svn.el (vc-svn-create-repo):
3417 Expand paths in file://... url. (Bug#15446)
3419 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3421 (authors): Remove unused local variables.
3423 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3425 * profiler.el: Create a more coherent calltree from partial backtraces.
3426 (profiler-format): Hide the tail with `invisible' so that C-s can still
3427 find the hidden elements.
3428 (profiler-calltree-depth): Don't recurse so enthusiastically.
3429 (profiler-function-equal): New hash-table-test.
3430 (profiler-calltree-build-unified): New function.
3431 (profiler-calltree-build): Use it.
3432 (profiler-report-make-name-part): Indent the calltree less.
3433 (profiler-report-mode): Add visibility specs for profiler-format.
3434 (profiler-report-expand-entry, profiler-report-toggle-entry):
3435 Expand the whole subtree when provided with a prefix arg.
3437 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3439 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3441 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3442 hanging iuwu-mod token.
3443 (ruby-smie--forward-token): Do not include a dot after a token in
3445 (ruby-smie--backward-token): Likewise.
3447 2013-10-08 Juri Linkov <juri@jurta.org>
3449 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3450 to isearch-other-control-char.
3451 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3452 and isearch-post-command-hook to post-command-hook.
3453 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3454 and isearch-post-command-hook from post-command-hook.
3455 (isearch-unread-key-sequence)
3456 (isearch-reread-key-sequence-naturally)
3457 (isearch-lookup-scroll-key, isearch-other-control-char)
3458 (isearch-other-meta-char): Remove functions.
3459 (isearch-pre-command-hook, isearch-post-command-hook):
3460 New functions based on isearch-other-meta-char rewritten
3461 relying on the new behavior of overriding-terminal-local-map
3462 that does not replace the local keymaps any more. (Bug#15200)
3464 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3466 Support menus on text-mode terminals.
3467 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3470 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3472 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3473 Move here from mouse.el.
3474 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3476 (tty-menu-navigation-map): New map for TTY menu navigation.
3478 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3480 * frame.el (display-mouse-p): Report text-mode mouse as available
3482 (display-popup-menus-p): Report availability if mouse is
3483 available; don't condition on window-system.
3485 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3486 (tty-menu-selected-face): New faces.
3488 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3490 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3491 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3492 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3493 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3495 (lisp-mode-variables): New `elisp' argument.
3496 (emacs-lisp-mode): Use it.
3497 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3498 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3500 * indent.el: Use lexical-binding.
3501 (indent-region): Add progress reporter.
3502 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3504 (indent--next-tab-stop): New function to implement this behavior.
3505 (tab-to-tab-stop, move-to-tab-stop): Use it.
3507 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3509 * indent.el (indent-rigidly--current-indentation): New function.
3510 (indent-rigidly-map): New var.
3511 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3513 2013-10-08 Bastien Guerry <bzg@gnu.org>
3515 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3517 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3519 * progmodes/perl-mode.el: Use lexical-binding.
3520 Remove redundant :group args.
3521 (perl-nochange): Change default to be closer to other major modes's
3523 (perl-indent-line): Don't consider text on current line as a
3524 valid beginning of function from which to indent.
3526 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3527 with more than one argument (bug#15538).
3529 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3531 * vc/pcvs.el: Use lexical-binding.
3532 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3533 environment of `eval'.
3534 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3535 than a list of expressions. Adjust callers.
3536 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3538 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3540 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3541 case of the dot in a chained method call being on the following line.
3543 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3545 * electric.el (electric-indent-inhibit): New var.
3546 (electric-indent-post-self-insert-function): Use it.
3547 * progmodes/python.el (python-mode): Set it.
3549 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3552 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3554 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3555 (css-mode): Use electric-indent-chars.
3557 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3558 (font-lock-beg, font-lock-end): Move before first use.
3559 (nxml-mode): Use syntax-propertize-function.
3560 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3561 (nxml-extend-after-change-region): Remove.
3562 * nxml/xmltok.el: Use lexical-binding.
3563 (xmltok-save): Use `declare'.
3564 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3565 * nxml/nxml-util.el: Use lexical-binding.
3566 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3568 * nxml/nxml-ns.el: Use lexical-binding.
3569 (nxml-ns-save): Use `declare'.
3570 (nxml-ns-prefixes-for): Avoid add-to-list.
3571 * nxml/rng-match.el: Use lexical-binding.
3572 (rng--ipattern): Use cl-defstruct.
3573 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3574 (rng-cons-group-after, rng-subst-group-after)
3575 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3576 Use closures instead of `(lambda...).
3578 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3580 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3583 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3584 Use `tramp-handle-insert-file-contents'.
3585 (tramp-gvfs-handle-insert-file-contents): Remove function.
3587 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3588 Use `save-restriction' in order to keep markers.
3590 * net/trampver.el: Update release number.
3592 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3594 * progmodes/compile.el (compilation-parse-errors):
3595 Use compilation--put-prop.
3596 (compilation--ensure-parse): Check compilation-multiline.
3598 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3600 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3603 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3605 * progmodes/ruby-mode.el: Fix recently added tests.
3606 (ruby-smie-grammar): Add - and +.
3607 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3608 (ruby-smie--backward-id): New functions.
3609 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3610 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3613 2013-10-07 Leo Liu <sdl.web@gmail.com>
3615 * register.el (register-preview-delay)
3616 (register-preview-functions): New variables.
3617 (register-read-with-preview, register-preview)
3618 (register-describe-oneline): New functions.
3619 (point-to-register, window-configuration-to-register)
3620 (frame-configuration-to-register, jump-to-register)
3621 (number-to-register, view-register, insert-register)
3622 (copy-to-register, append-to-register, prepend-to-register)
3623 (copy-rectangle-to-register): Use register-read-with-preview to
3624 read register. (Bug#15525)
3626 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3628 * net/network-stream.el (network-stream-open-starttls): Don't add
3629 --insecure if it's already present, because that gnutls-cli
3630 rejects getting that parameter twice.
3632 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3634 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3637 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3639 * newcomment.el (comment-use-global-state): Change default value
3640 to t, mark obsolete (Bug#15251).
3641 (comment-beginning): In addition to `comment-to-syntax', check the
3642 value of `comment-use-global-state'.
3644 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3646 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3647 (ruby-comment-column): Follow the global default, by default.
3648 (ruby-smie-grammar): Add assignment syntax.
3649 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3650 open-paren, a comma, or a \.
3651 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3652 and line continuations.
3653 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3654 followed by implicit semi-colons. Add rule for string concatenation
3655 and for indentation at BOB.
3656 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3658 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3659 calling next-sexp, since next-token may have skipped chars which
3660 next-sexp doesn't know should be skipped!
3662 2013-10-05 Leo Liu <sdl.web@gmail.com>
3664 * progmodes/octave.el (octave-send-region):
3665 Call compilation-forget-errors.
3667 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3669 * vc/vc-svn.el (vc-svn-find-admin-dir):
3670 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3671 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3672 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3673 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3675 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3677 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3679 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3681 * subr.el (read-passwd): Hide chars even when called within a context
3682 where after-change-functions is disabled (bug#15501).
3683 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3684 until we removed ourself from overriding-terminal-local-map.
3686 2013-10-04 Leo Liu <sdl.web@gmail.com>
3688 * progmodes/octave.el (inferior-octave-mode):
3689 Call compilation-forget-errors.
3691 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3693 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3695 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3697 * net/secrets.el (secrets-create-collection): Add optional
3698 argument ALIAS. Use proper Label keyword. Append ALIAS as
3699 dbus-call-method argument. (Bug#15516)
3701 2013-10-04 Leo Liu <sdl.web@gmail.com>
3703 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3704 (inferior-octave-compilation-font-lock-keywords): New variables.
3705 (compilation-error-regexp-alist)
3706 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3707 (inferior-octave-mode): Use compilation-shell-minor-mode.
3709 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3711 * minibuffer.el (completion--replace): Be careful that `end' might be
3714 2013-10-03 Daiki Ueno <ueno@gnu.org>
3716 Add support for package signature checking.
3717 * emacs-lisp/package.el (url-http-file-exists-p)
3718 (epg-make-context, epg-context-set-home-directory)
3719 (epg-verify-string, epg-context-result-for)
3720 (epg-signature-status, epg-signature-to-string)
3721 (epg-check-configuration, epg-configuration)
3722 (epg-import-keys-from-file): Declare.
3723 (package-check-signature): New user option.
3724 (package-unsigned-archives): New user option.
3725 (package-desc): Add `signed' field.
3726 (package-load-descriptor): Set `signed' field if .signed file exists.
3727 (package--archive-file-exists-p): New function.
3728 (package--check-signature): New function.
3729 (package-install-from-archive): Check package signature.
3730 (package--download-one-archive): Check archive signature.
3731 (package-delete): Remove .signed file.
3732 (package-import-keyring): New command.
3733 (package-refresh-contents): Import default keyring.
3734 (package-desc-status): Add "unsigned" status.
3735 (describe-package-1, package-menu--print-info)
3736 (package-menu-mark-delete, package-menu--find-upgrades)
3737 (package-menu--status-predicate): Support "unsigned" status.
3739 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3741 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3742 the new compilation scheme using the new byte-codes.
3744 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3745 (byte-pophandler): New byte codes.
3746 (byte-goto-ops): Adjust accordingly.
3747 (byte-compile--use-old-handlers): New var.
3748 (byte-compile-catch): Use new byte codes depending on
3749 byte-compile--use-old-handlers.
3750 (byte-compile-condition-case--old): Rename from
3751 byte-compile-condition-case.
3752 (byte-compile-condition-case--new): New function.
3753 (byte-compile-condition-case): New function that dispatches depending
3754 on byte-compile--use-old-handlers.
3755 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3758 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3759 Optimize under `condition-case' and `catch' if
3760 byte-compile--use-old-handlers is nil.
3761 (disassemble-offset): Handle new bytecodes.
3763 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3765 * subr.el (error): Use `declare'.
3766 (decode-char, encode-char): Use advertised-calling-convention instead
3767 of the docstring to discourage use of the `restriction' arg.
3769 2013-10-03 Daiki Ueno <ueno@gnu.org>
3771 * epg.el (epg-verify-file): Add a comment saying that it does not
3772 notify verification error as a return value nor a signal.
3773 (epg-verify-string): Ditto.
3775 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3777 * progmodes/compile.el (compilation-start): Try globbing the arg to
3780 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3782 Sync with Tramp 2.2.8.
3784 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3785 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3786 * net/trampver.el: Update release number.
3788 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3790 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3791 and default-process-coding-system for darwin only.
3793 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3795 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3797 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3799 * vc/vc-git.el (vc-git-grep): Disable pager.
3801 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3803 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3804 Use :url instead of :homepage, as per
3805 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3807 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3808 non-nil, use `syntax-ppss' (Bug#15251).
3810 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3812 * progmodes/octave.el (inferior-octave-startup-file):
3813 Prefer ~/.emacs.d/init_octave.m.
3815 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3817 * emacs-lisp/package.el (package-desc-from-define):
3818 Accept additional arguments as plist, convert them to an alist and store
3819 them in the `extras' slot.
3820 (package-generate-description-file): Convert extras alist back to
3821 plist and append to the `define-package' form arguments.
3822 (package--alist-to-plist): New function.
3823 (package--ac-desc): Add `extras' slot.
3824 (package--add-to-archive-contents): Check if the archive-contents
3825 vector is long enough, and if it is, pass its `extras' slot value
3826 to `package-desc-create'.
3827 (package-buffer-info): Call `lm-homepage', pass the returned value
3828 to `package-desc-from-define'.
3829 (describe-package-1): Render the homepage button (Bug#13291).
3831 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3832 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3834 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3836 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3837 and default-process-coding-system to utf-8-unix (Bug#15402).
3839 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3841 * subr.el (looking-back): Do not recommend using looking-back.
3843 2013-09-28 Alan Mackenzie <acm@muc.de>
3845 Fix indentation/fontification of Java enum with "implements".
3847 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3848 regexp which matches "implements", etc., in Java.
3849 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3850 specifier clauses coming after "enum".
3851 * progmodes/cc-fonts.el (c-font-lock-declarations)
3852 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3855 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3857 * faces.el (region): Change ns_selection_color to
3858 ns_selection_fg_color, add ns_selection_bg_color.
3860 2013-09-28 Leo Liu <sdl.web@gmail.com>
3862 * progmodes/octave.el (inferior-octave-completion-table)
3863 (inferior-octave-completion-at-point): Minor tweaks.
3865 * textmodes/ispell.el (ispell-lookup-words): Rename from
3866 lookup-words. (Bug#15460)
3867 (lookup-words): Obsolete.
3868 (ispell-complete-word, ispell-command-loop): All uses changed.
3870 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3872 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3873 (octave-mode-menu): Add octave-send-buffer.
3874 (octave-send-buffer): New function.
3876 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3878 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3880 (octave-mode-menu): Add octave-lookfor.
3881 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3883 (octave-lookfor): New function.
3885 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3887 * emacs-lisp/cl-macs.el:
3888 (cl--loop-destr-temps): Remove.
3889 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3891 (cl--loop-set-iterator-function): New function.
3892 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3893 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3894 Bind `it' with `let' instead of substituting it with `cl-subst'.
3895 (cl--unused-var-p): New function.
3896 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3897 Eliminate some unused variable warnings (bug#15326).
3899 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3901 * doc-view.el (doc-view-scale-reset): Rename from
3902 `doc-view-reset-zoom-level'.
3903 (doc-view-scale-adjust): New command.
3904 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3905 `doc-view-scale-adjust'.
3907 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3909 * doc-view.el (doc-view-reset-zoom-level): New command.
3910 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3911 zoom commands (bug#15466).
3913 2013-09-26 Kenichi Handa <handa@gnu.org>
3915 * international/quail.el (quail-help): Make it not a command.
3917 2013-09-26 Leo Liu <sdl.web@gmail.com>
3919 * minibuffer.el (completion-all-sorted-completions): Make args
3920 optional as they are.
3922 2013-09-25 Daniel Colascione <dancol@dancol.org>
3924 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3925 specs are and that they're not evaluated.
3927 2013-09-24 Sam Steingold <sds@gnu.org>
3929 * midnight.el (clean-buffer-list-kill-regexps)
3930 (clean-buffer-list-kill-buffer-names): Update for the new Man
3931 buffer naming which includes the object name.
3933 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3935 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3936 (eshell-parse-command, eshell-parse-pipeline): Use it since
3937 eshell-separate-commands requires a dynamic scoped var.
3938 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3940 2013-09-23 Leo Liu <sdl.web@gmail.com>
3942 * autoinsert.el (auto-insert-alist): Make the value of
3943 lexical-binding match its file setting.
3945 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3947 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3949 * autoarg.el (autoarg-kp-digit-argument):
3950 * electric.el (Electric-command-loop):
3951 * kmacro.el (kmacro-step-edit-insert):
3952 Do not set universal-argument-num-events.
3954 2013-09-22 Leo Liu <sdl.web@gmail.com>
3956 * files.el (interpreter-mode-alist): Add octave.
3958 2013-09-21 Alan Mackenzie <acm@muc.de>
3960 C++: fontify identifier in declaration following "public:" correctly.
3961 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3962 to match "public", etc.
3963 (c-decl-prefix-re): Add ":" into the C++ value.
3964 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3965 bit. Add a check for a ":" preceded by "public", etc.
3967 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3969 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3970 recognized by GDB 7.5 and later.
3972 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3974 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3976 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3978 * subr.el (internal--call-interactively): New const.
3979 (called-interactively-p): Use it (bug#3984).
3981 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3983 * vc/pcvs.el (cvs-mode-ignore):
3984 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3985 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3987 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3989 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3990 (eshell-ls-orig-insert-directory): Remove.
3991 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3992 (eshell-ls-use-in-dired): Use advice-add/remove.
3993 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3994 Add `orig-fun' arg for use in :around advice.
3995 Make it check (redundantly) eshell-ls-use-in-dired.
3997 2013-09-19 Glenn Morris <rgm@gnu.org>
3999 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4001 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4003 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4005 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4007 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4008 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4009 (tramp-get-remote-python): New defuns.
4010 (tramp-get-remote-uid-with-perl)
4011 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4012 contributed by yary <not.com@gmail.com> (tiny change).
4013 (tramp-get-remote-uid-with-python)
4014 (tramp-get-remote-gid-with-python): New defuns. Python code
4015 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4016 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4018 2013-09-19 Glenn Morris <rgm@gnu.org>
4020 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4022 * eshell/em-unix.el (eshell-remove-entries):
4023 Rename argument to avoid name-clash with global `top-level'.
4025 * eshell/esh-proc.el (eshell-kill-process-function):
4026 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4027 (eshell-reset-after-proc): Remove unused arg `proc'.
4029 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4030 (directory-files-and-attributes): Mark unused arg.
4032 * eshell/em-unix.el (eshell-remove-entries):
4033 Remove unused arg `path'. Update callers.
4035 * eshell/em-hist.el (eshell-hist-parse-arguments):
4036 Remove unused arg `silent'. Update callers.
4038 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4039 Fix (f)boundp mix-up.
4041 * eshell/em-smart.el (eshell-smart-scroll-window)
4042 (eshell-disable-after-change):
4043 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4045 2013-09-18 Alan Mackenzie <acm@muc.de>
4047 Fix fontification of type when followed by "const".
4048 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4049 "known" types from fontification.
4051 2013-09-18 Glenn Morris <rgm@gnu.org>
4053 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4054 (chart-face-list): Drop Emacsen without display-color-p.
4056 * net/eww.el (libxml-parse-html-region): Declare.
4057 (eww-display-html): Explicit error if no libxml2 support.
4059 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4061 * image.el (image-type-from-buffer, image-multi-frame-p):
4062 Remove --without-x warning/error.
4064 * mouse.el (mouse-yank-primary):
4065 * term.el (term-mouse-paste):
4066 Reorder to silence --without-x compilation.
4068 * mpc.el (doc-view-mode): Silence --without-x compilation.
4070 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4071 Silence --without-x compilation.
4073 * progmodes/gud.el (gud-find-file, gud-mode):
4074 Silence --without-x compilation.
4075 (tooltip-mode): Declare.
4077 * wdired.el (dired-backup-overwrite): Remove declaration.
4078 (wdired-mode-map): Add doc string.
4080 * custom.el (x-get-resource): Declare.
4082 * eshell/em-glob.el (ange-cache):
4083 * eshell/em-unix.el (ange-cache): Declare.
4085 * faces.el (x-display-list, x-open-connection, x-get-resource):
4088 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4089 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4092 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4094 * net/gnutls.el (gnutls-log-level): Declare.
4096 * net/shr.el (image-size, image-animate): Declare.
4098 * simple.el (font-info): Declare.
4100 * subr.el (x-popup-dialog): Declare.
4102 * term/common-win.el (x-select-enable-primary)
4103 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4106 * term/ns-win.el (x-handle-args): Declare.
4108 * term/x-win.el (x-select-enable-clipboard): Declare.
4110 * term/w32-win.el (create-default-fontset): Declare.
4112 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4115 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4116 (fit-frame-to-buffer): Explicit error if --without-x.
4117 (mouse-autoselect-window-select): Silence compiler.
4119 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4121 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4122 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4123 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4124 * eshell/esh-util.el (eshell-sublist):
4125 Remove unused local variables.
4127 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4129 * textmodes/two-column.el: Make 2C-split work for --without-x.
4130 (scroll-bar-columns): Autoload.
4131 (top-level): Require fringe when compiling.
4133 2013-09-18 Leo Liu <sdl.web@gmail.com>
4135 * subr.el (add-hook): Robustify to handle closure as well.
4137 2013-09-17 Glenn Morris <rgm@gnu.org>
4139 * simple.el (messages-buffer-mode-map): Unbind "g".
4141 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4143 * help-mode.el (help-mode-finish): Use derived-mode-p.
4144 Remove obsolete highlighting.
4146 * play/life.el (life-mode): Use define-derived-mode. Derive from
4148 (life): Let-bind inhibit-read-only.
4149 (life-setup): Avoid `setq'. Use `life-mode'.
4151 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4152 which should not be needed any more.
4153 (package-menu-refresh, package-menu-describe-package): Use user-error.
4155 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4156 (eshell-post-rewrite-command-hook): Make obsolete.
4157 (eshell-parse-command): Simplify.
4158 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4159 (eshell--cmd): Declare.
4160 (eshell-parse-pipeline): Remove unused var `final-p'.
4161 Pass a dynvar to eshell-post-rewrite-command-hook.
4162 Implement the new eshell-post-rewrite-command-function.
4163 (eshell-invoke-directly): Remove unused arg `input'.
4164 * eshell/esh-io.el (eshell-io-initialize):
4165 Use eshell-post-rewrite-command-function (bug#15399).
4166 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4167 adjust to new calling convention.
4168 (eshell-create-handles): Rename args to avoid clashing with dynvar
4171 2013-09-17 Glenn Morris <rgm@gnu.org>
4173 * simple.el (messages-buffer-mode): New major mode.
4174 (messages-buffer): New function.
4175 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4176 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4177 (ert-run-test): Use `messages-buffer' function.
4178 (ert--force-message-log-buffer-truncation): Ignore read-only.
4179 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4180 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4182 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4184 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4186 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4188 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4190 * icomplete.el (icomplete-in-buffer): New var.
4191 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4192 vars and replace them with functions.
4193 (icomplete-minibuffer-setup): Adjust accordingly.
4194 (icomplete--completion-table, icomplete--completion-predicate)
4195 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4197 (icomplete-forward-completions, icomplete-backward-completions)
4198 (icomplete-simple-completing-p, icomplete-exhibit)
4199 (icomplete-completions): Use them.
4200 (icomplete--in-region-buffer): New var.
4201 (icomplete--in-region-setup): New function.
4202 (icomplete-mode): Use it.
4204 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4206 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4207 return args and options.
4208 (eshell-eval-using-options): Use the new return value of
4209 eshell--do-opts to set the options's vars in their scope.
4210 (eshell--set-option): Rename from eshell-set-option.
4212 (eshell--process-option): Rename from eshell-process-option.
4214 (eshell--process-args): Use an `opt-vals' alist to store the options's
4215 values during their processing and return them additionally to the
4218 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4220 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4221 continuation character an operator, as far as indentation is
4222 concerned (Bug#15369).
4224 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4226 * window.el (window--state-put-2): Don't process buffer state
4227 when buffer doesn't exist any more (Bug#15382).
4229 2013-09-15 Glenn Morris <rgm@gnu.org>
4231 * eshell/em-unix.el (eshell/rm):
4232 Make -f ignore missing files. (Bug#15373)
4234 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4235 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4236 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4238 2013-09-14 Glenn Morris <rgm@gnu.org>
4240 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4242 2013-09-13 Glenn Morris <rgm@gnu.org>
4244 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4245 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4247 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4249 * frame.el (x-focus-frame): Mark as declared in frame.c.
4251 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4253 * ls-lisp.el: Use advice-add.
4254 (original-insert-directory): Remove.
4255 (ls-lisp--insert-directory): Rename from insert-directory; add
4256 `orig-fun' argument.
4257 (insert-directory): Advise.
4259 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4261 * term.el (term-emulate-terminal): Decode the command string
4262 before passing it to term-command-hook. (Bug#15337)
4264 2013-09-13 Glenn Morris <rgm@gnu.org>
4266 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4268 * eshell/esh-ext.el (eshell-search-path): Declare.
4270 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4271 Otherwise an error occurs if eshell-dirs module not loaded.
4273 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4275 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4277 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4278 `tramp-check-proper-host'. Check for a valid method name.
4280 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4281 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4282 * net/tramp-sh.el (tramp-maybe-open-connection):
4283 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4285 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4286 also for hash values.
4288 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4290 * term/ns-win.el (parameters): Don't declare as dynamic.
4291 (before-make-frame-hook): Don't add ineffective function.
4293 * eshell/*.el: Use lexical-binding (bug#15231).
4295 2013-09-12 Kenichi Handa <handa@gnu.org>
4297 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4299 2013-09-12 Glenn Morris <rgm@gnu.org>
4301 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4302 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4304 * subr.el (do-after-load-evaluation): Also give compiler warnings
4305 when obsolete files are used (except by obsolete files).
4307 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4308 in the status output, assume `filename' is the first. (Bug#15322)
4310 * vc/vc.el (vc-deduce-fileset): Doc fix.
4312 * calc/calc-help.el (Info-goto-node):
4313 * progmodes/cperl-mode.el (Info-find-node):
4314 * vc/ediff.el (Info-goto-node): Update declarations.
4316 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4318 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4319 (vc-bzr-pull): Require vc-dispatcher.
4320 * vc/vc-git.el (vc-compilation-mode): Declare.
4321 (vc-git-pull): Require vc-dispatcher.
4323 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4325 * progmodes/octave.el (help-button-action): Declare.
4327 * shell.el (shell-directory-tracker): Output error as a message
4328 rather than just returning it as a string.
4329 (shell-process-pushd): Remove useless use of message.
4331 * dframe.el (dframe-timer-fn):
4332 * files.el (dir-locals-read-from-file):
4333 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4335 * reveal.el (reveal-post-command):
4336 * saveplace.el (load-save-place-alist-from-file):
4337 * shell.el (shell-resync-dirs):
4338 * w32-common-fns.el (x-get-selection-value):
4339 * emacs-lisp/copyright.el (copyright-find-copyright):
4340 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4341 * emulation/tpu-edt.el (tpu-copy-keyfile):
4342 * play/bubbles.el (bubbles--mark-neighbourhood):
4343 * progmodes/executable.el
4344 (executable-make-buffer-file-executable-if-script-p):
4345 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4347 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4349 Cleanup Eshell to rely less on dynamic scoping.
4350 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4351 last-value, and ext-command here. Bind `args' closer to `body'.
4352 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4353 (eshell--args): Declare new dynamic var.
4354 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4355 last-value, and ext-command. Pass `args' to `body'.
4356 (eshell-process-args): Bind eshell--args.
4357 (eshell-set-option): Use eshell--args.
4358 * eshell/eshell.el (eshell): Use derived-mode-p.
4359 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4360 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4361 (eshell-glob-function): Declare.
4362 * eshell/esh-util.el: Require cl-lib.
4363 (eshell-read-hosts-file): Avoid add-to-list.
4364 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4366 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4368 (eshell/diff): Remove unused var `err'.
4369 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4371 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4372 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4374 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4375 Move declaration before first use.
4376 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4377 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4380 2013-09-12 Glenn Morris <rgm@gnu.org>
4382 * term/ns-win.el (global-map): Remove binding for ispell-next,
4383 deleted 1999-05-29. (Bug#15357)
4385 2013-09-11 Glenn Morris <rgm@gnu.org>
4387 * echistory.el (electric-command-history): Remove call to deleted func.
4389 * play/landmark.el (landmark-mode): Fix typos.
4391 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4392 Check cvs-sort-ignore-file is bound.
4394 * savehist.el: No need for cl when compiling on Emacs.
4396 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4398 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4400 (eshell-self-insert-command, eshell-send-invisible):
4401 Remove unused argument.
4402 (eshell-handle-control-codes): Remove unused var `orig'.
4403 Avoid delete-backward-char.
4405 * files.el (set-auto-mode): Simplify a bit further.
4407 2013-09-11 Glenn Morris <rgm@gnu.org>
4409 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4410 (set-auto-mode): Don't regexp-quote elements.
4411 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4412 * progmodes/cc-mode.el (interpreter-mode-alist):
4413 * progmodes/ruby-mode.el (interpreter-mode-alist):
4414 Revert previous change.
4416 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4418 * play/snake.el (snake-mode):
4419 * play/mpuz.el (mpuz-mode):
4420 * play/landmark.el (lm-mode):
4421 * play/blackbox.el (blackbox-mode):
4422 * play/5x5.el (5x5-mode):
4423 * obsolete/options.el (Edit-options-mode):
4424 * net/quickurl.el (quickurl-list-mode):
4425 * net/newst-treeview.el (newsticker-treeview-mode):
4426 * mail/rmailsum.el (rmail-summary-mode):
4427 * mail/mspools.el (mspools-mode):
4428 * locate.el (locate-mode):
4429 * ibuffer.el (ibuffer-mode):
4430 * emulation/ws-mode.el (wordstar-mode):
4431 * emacs-lisp/debug.el (debugger-mode):
4432 * array.el (array-mode):
4433 * net/eudc.el (eudc-mode): Use define-derived-mode.
4434 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4435 Move initialization into declaration.
4436 (mairix-searches-mode): Use define-derived-mode.
4437 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4438 (eudc-edit-hotlist): Use dolist.
4439 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4440 (Man-mode): Use define-derived-mode.
4441 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4442 (Info-edit-mode): Use define-derived-mode.
4443 (Info-cease-edit): Use Info-mode.
4444 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4446 (eshell-mode): Use define-derived-mode.
4447 * chistory.el (command-history-mode-map): Rename from
4448 command-history-map.
4449 (command-history-mode): Use define-derived-mode.
4450 (Command-history-setup): Remove function.
4451 * calc/calc.el (calc-trail-mode-map): New var.
4452 (calc-trail-mode): Use define-derived-mode.
4453 (calc-trail-buffer): Set calc-main-buffer manually.
4454 * bookmark.el (bookmark-insert-annotation): New function.
4455 (bookmark-edit-annotation): Use it.
4456 (bookmark-edit-annotation-mode): Make it a proper major mode.
4457 (bookmark-send-edited-annotation): Use derived-mode-p.
4458 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4459 closer to its ideal place. Use \' to match EOS.
4461 * profiler.el (profiler-calltree-find): Use function-equal.
4463 2013-09-10 Glenn Morris <rgm@gnu.org>
4465 * files.el (interpreter-mode-alist): Convert to regexps.
4466 (set-auto-mode): Adapt for this. (Bug#15306)
4467 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4468 Comment out unused variable.
4469 * progmodes/cc-mode.el (interpreter-mode-alist):
4470 * progmodes/python.el (interpreter-mode-alist):
4471 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4472 * progmodes/sh-script.el (sh-set-shell):
4473 No longer use interpreter-mode-alist to get list of shells.
4475 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4477 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4479 * simple.el: Use set-temporary-overlay-map for universal-argument.
4480 (universal-argument-map): Don't use default-bindings (bug#15317).
4481 Bind switch-frame explicitly. Replace universal-argument-minus with
4482 a conditional binding.
4483 (universal-argument-num-events, saved-overriding-map): Remove.
4484 (restore-overriding-map): Remove.
4485 (universal-argument--mode): Rename from save&set-overriding-map,
4487 (universal-argument, universal-argument-more, negative-argument)
4488 (digit-argument): Adjust accordingly.
4489 (universal-argument-minus): Remove.
4490 (universal-argument-other-key): Remove.
4492 * subr.el (with-demoted-errors): Add `format' argument.
4494 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4496 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4497 `tramp-cleanup-connection'.
4499 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4500 parameters KEEP-DEBUG and KEEP-PASSWORD.
4502 * net/tramp.el (tramp-file-name-handler):
4503 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4504 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4505 (tramp-maybe-open-connection):
4506 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4507 Use `tramp-cleanup-connection'.
4509 * net/tramp-sh.el (tramp-maybe-open-connection):
4510 Catch 'uname-changed inside the progress reporter.
4512 2013-09-10 Glenn Morris <rgm@gnu.org>
4514 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4516 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4517 returns "alternate access method" in mode (eg "-rw-r--r--.").
4519 2013-09-08 Glenn Morris <rgm@gnu.org>
4521 * saveplace.el (load-save-place-alist-from-file):
4522 Demote errors. (Bug#15305)
4524 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4526 Improve compatibility with older Emacsen, and XEmacs.
4528 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4529 only if it is bound. It isn't for XEmacs.
4530 (with-tramp-progress-reporter): Do not let-bind `result'.
4531 This yields to scoping errors in XEmacs.
4532 (tramp-handle-make-auto-save-file-name): New function, moved from
4535 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4536 for `make-auto-save-file-name'.
4537 (tramp-adb--gnu-switches-to-ash):
4538 Use `tramp-compat-replace-regexp-in-string'.
4540 * net/tramp-cache.el (tramp-cache-print): Call
4541 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4543 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4544 bound. It isn't for XEmacs.
4546 * net/tramp-compat.el (tramp-compat-copy-file):
4547 Catch `wrong-number-of-arguments' error.
4548 (tramp-compat-replace-regexp-in-string): New defun.
4550 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4551 for `make-auto-save-file-name'.
4552 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4554 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4555 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4556 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4558 * net/tramp-gw.el (tramp-gw-open-network-stream):
4559 Use `tramp-compat-replace-regexp-in-string'.
4561 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4562 Call `tramp-handle-make-auto-save-file-name'.
4563 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4564 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4565 (tramp-sh-file-inotifywait-process-filter):
4566 Use `tramp-compat-replace-regexp-in-string'.
4567 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4569 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4570 for `make-auto-save-file-name'.
4571 (tramp-smb-handle-copy-directory):
4572 Call `tramp-compat-replace-regexp-in-string'.
4573 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4574 (tramp-smb-handle-copy-file): Improve error message.
4575 (tramp-smb-handle-rename-file): Rename directly only in case
4576 `newname' does not exist yet. This is a restriction of smbclient.
4577 (tramp-smb-maybe-open-connection): Rerun the function only when
4578 `auth-sources' is non-nil.
4580 2013-09-08 Kenichi Handa <handa@gnu.org>
4582 * international/characters.el: Set category "^" (Combining) for
4585 2013-09-07 Alan Mackenzie <acm@muc.de>
4587 Correctly fontify Java class constructors.
4588 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4590 (c-recognize-typeless-decls): Set the Java value to t.
4591 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4592 While handling a "(", add a check for, effectively, Java, and handle a
4593 "typeless" declaration there.
4595 2013-09-07 Roland Winkler <winkler@gnu.org>
4597 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4598 field subtitle for entry type book.
4600 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4602 * minibuffer.el: Make minibuffer-complete call completion-in-region
4603 rather than other way around.
4604 (completion--some, completion-pcm--find-all-completions):
4605 Don't delay signals when debugging.
4606 (minibuffer-completion-contents): Beware fields within the
4607 minibuffer contents.
4608 (completion-all-sorted-completions): Use defvar-local.
4609 (completion--do-completion, completion--cache-all-sorted-completions)
4610 (completion-all-sorted-completions, minibuffer-force-complete):
4611 Add args `beg' and `end'.
4612 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4613 (minibuffer-complete): Use completion-in-region.
4614 (completion-complete-and-exit): New fun, extracted from
4615 minibuffer-complete-and-exit.
4616 (minibuffer-complete-and-exit): Use it.
4617 (completion--complete-and-exit): Rename from
4618 minibuffer--complete-and-exit.
4619 (completion-in-region--single-word): New function, extracted from
4620 minibuffer-complete-word.
4621 (minibuffer-complete-word): Use it.
4622 (display-completion-list): Make `common-substring' argument obsolete.
4623 (completion--in-region): Call completion--in-region-1 instead of
4624 minibuffer-complete.
4625 (completion-help-at-point): Pass boundaries to
4626 minibuffer-completion-help as args rather than via an overlay.
4627 (completion-pcm--string->pattern): Use `any-delim'.
4628 (completion-pcm--optimize-pattern): New function.
4629 (completion-pcm--pattern->regex): Handle `any-delim'.
4630 * icomplete.el (icomplete-forward-completions)
4631 (icomplete-backward-completions, icomplete-completions):
4632 Adjust calls to completion-all-sorted-completions and
4633 completion--cache-all-sorted-completions.
4634 (icomplete-with-completion-tables): Default to t.
4635 * emacs-lisp/crm.el (crm--current-element): Rename from
4636 crm--select-current-element. Don't put an overlay but return the
4638 (crm--completion-command): Take two new args to bind to the boundaries.
4639 (crm-completion-help): Adjust accordingly.
4640 (crm-complete): Use completion-in-region.
4641 (crm-complete-word): Use completion-in-region--single-word.
4642 (crm-complete-and-exit): Use completion-complete-and-exit.
4644 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4646 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4649 2013-09-06 Juri Linkov <juri@jurta.org>
4651 * info.el (Info-display-images-node): When image file doesn't exist
4652 display text version of the image if it's provided in the Info file.
4653 Otherwise, display the location of missing image from SRC attribute.
4654 Add help-echo text property from ALT attribute. (Bug#15279)
4656 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4658 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4659 (edit-abbrevs-mode): Use define-derived-mode.
4661 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4662 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4664 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4665 Use define-derived-mode.
4667 * epg.el (epg-start-encrypt): Minor CSE simplification.
4669 2013-09-06 William Xu <william.xwl@gmail.com>
4671 * arc-mode.el: Add support for 7za (bug#15264).
4672 (archive-7z-program): New var.
4673 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4674 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4675 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4677 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4681 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4682 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4683 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4684 (tramp-postfix-host-format, tramp-file-name-regexp)
4685 (tramp-completion-file-name-regexp)
4686 (tramp-completion-dissect-file-name)
4687 (tramp-handle-substitute-in-file-name): Remove 'url case.
4688 (tramp-file-name-regexp-url)
4689 (tramp-completion-file-name-regexp-url): Remove constants.
4691 2013-09-06 Glenn Morris <rgm@gnu.org>
4693 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4695 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4697 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4698 keywords" below "here-doc beginnings" (Bug#15270).
4700 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4702 * subr.el (pop): Use `car-safe'.
4703 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4704 to detect unused `pop' return value.
4706 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4708 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4709 (python-fill-string): Remove unused var `marker'.
4710 (python-skeleton-add-menu-items): Remove unused var `items'.
4712 * international/mule-cmds.el: Require CL.
4713 (find-coding-systems-for-charsets): Avoid add-to-list.
4714 (sanitize-coding-system-list): New function, extracted from
4715 select-safe-coding-system-interactively.
4716 (select-safe-coding-system-interactively): Use it.
4717 (read-input-method-name): Accept symbols for `default'.
4719 * emacs-lisp/advice.el (defadvice): Add indent rule.
4721 2013-09-05 Daniel Hackney <dan@haxney.org>
4725 * net/browse-url.el:
4728 * net/eudcb-ldap.el:
4741 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4742 byte compiler. Remove some unused let-bound variables.
4744 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4746 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4747 a "ref-cell", since it gets better optimized (bug#14883).
4749 2013-09-05 Glenn Morris <rgm@gnu.org>
4751 * progmodes/cc-awk.el (c-forward-sws): Declare.
4753 2013-09-04 Glenn Morris <rgm@gnu.org>
4755 * generic-x.el [rul-generic-mode]: Require cc-mode.
4756 (c++-mode-syntax-table): Declare.
4757 (rul-generic-mode-syntax-table): Init in the defvar.
4759 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4761 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4762 (vc-do-command, vc-set-async-update):
4763 * vc/vc-mtn.el (vc-mtn-dir-status):
4764 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4765 (vc-hg-pull, vc-hg-merge-branch):
4766 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4767 (vc-git-merge-branch):
4768 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4769 (vc-cvs-dir-status-files):
4770 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4771 (vc-bzr-dir-status-files):
4772 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4773 * vc/vc-annotate.el: Use lexical-binding.
4774 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4775 (vc-sentinel-movepoint): Declare.
4776 (vc-annotate): Don't use `goto-line'.
4777 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4778 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4779 (vc-sentinel-movepoint): Declare.
4780 * vc/vc-svn.el: Use lexical-binding.
4781 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4783 * vc/vc-rcs.el: Use lexical-binding.
4785 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4786 `deleted'. Don't drop errors silently.
4788 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4790 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4792 * vc/vc.el (vc-ignore): Rewrite.
4793 (vc-default-ignore): New function.
4794 (vc-default-ignore-completion-table): Use find-ignore-file.
4796 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4797 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4798 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4799 Remove. Most code moved to vc.el.
4801 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4803 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4804 * net/tramp-smb.el (tramp-smb-get-file-entries):
4805 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4806 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4808 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4810 (eww-change-select): Remove unused var `properties'.
4811 (eww-make-unique-file-name): Remove unused var `base'.
4813 * finder.el (finder-compile-keywords): Don't mess with windows.
4815 * calculator.el (calculator-funcall): Fix typo in last change.
4817 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4819 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4820 <pkg>-autoloads.el file stop us.
4822 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4823 warnings, and factor out common code.
4825 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4827 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4828 two-character operators and whether the character preceding them
4829 changes their meaning (Bug#15208).
4831 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4833 Format code sent to Python shell for robustness.
4834 * progmodes/python.el (python-shell-buffer-substring):
4836 (python-shell-send-region, python-shell-send-buffer): Use it.
4838 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4840 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4841 * net/tramp.el (tramp-user-error): ... here.
4842 (tramp-find-method, tramp-check-proper-host)
4843 (tramp-dissect-file-name, tramp-debug-message)
4844 (tramp-handle-shell-command):
4845 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4846 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4848 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4850 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4852 * avoid.el (mouse-avoidance-point-position)
4853 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4856 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4858 * progmodes/python.el (python-shell-completion-get-completions):
4859 Drop use of deleted `comint-last-prompt-overlay'.
4860 (python-nav-if-name-main): New command.
4862 2013-09-01 Glenn Morris <rgm@gnu.org>
4864 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4865 Avoid leading space in $wins. Otherwise the sed command used by
4866 eg compile-main ends up containing "/*.el". (Bug#15170)
4868 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4870 2013-08-30 Glenn Morris <rgm@gnu.org>
4872 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4873 Fix is-this-a-directory logic. (Bug#15220)
4875 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4877 * textmodes/css-mode.el: Use SMIE.
4878 (css-smie-grammar): New var.
4879 (css-smie--forward-token, css-smie--backward-token)
4880 (css-smie-rules): New functions.
4881 (css-mode): Use them.
4882 (css-navigation-syntax-table): Remove var.
4883 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4884 (css-indent-calculate, css-indent-line): Remove functions.
4886 Misc changes to reduce use of `(lambda...); and other cleanups.
4887 * cus-edit.el: Use lexical-binding.
4888 (customize-push-and-save, customize-apropos)
4889 (custom-buffer-create-internal): Use closures.
4890 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4891 * progmodes/ada-xref.el: Use setq.
4892 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4893 * dframe.el: Use lexical-binding.
4894 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4895 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4896 * descr-text.el: Use lexical-binding.
4897 (describe-text-widget, describe-text-sexp, describe-property-list):
4899 * comint.el (comint-history-isearch-push-state): Use a closure.
4900 * calculator.el: Use lexical-binding.
4901 (calculator-number-to-string): Make it work with lexical-binding.
4902 (calculator-funcall): Same and use cl-letf.
4904 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4905 (lisp--company-doc-string, lisp--company-location): New functions.
4906 (lisp-completion-at-point): Use them to improve Company support.
4908 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4909 params of lambda expressions.
4910 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4911 (ruby-smie--opening-pipe-p): New function.
4912 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4913 symbols and matched |...| for formal params.
4914 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4915 from being treated as hanging. Handle "rescue".
4917 2013-08-29 Glenn Morris <rgm@gnu.org>
4919 * progmodes/cc-engine.el (c-pull-open-brace):
4920 Move definition before use.
4922 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4924 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4925 are immutable. Don't use `unsafe' any more.
4926 (cl--defsubst-expand): Don't substitute at the same time as keeping
4927 a residual unused let-binding. Don't use `unsafe' any more.
4929 2013-08-29 Glenn Morris <rgm@gnu.org>
4931 * calendar/cal-china.el (calendar-chinese-year-cache):
4934 * nxml/nxml-util.el (nxml-debug-clear-inside):
4935 Use cl-loop rather than loop.
4937 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4939 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4941 2013-08-28 Glenn Morris <rgm@gnu.org>
4943 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4945 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4947 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4949 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4951 * simple.el (repeat-complex-command--called-interactively-skip):
4953 (repeat-complex-command): Use it (bug#14136).
4955 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4956 (c-define-abbrev-table): Add `doc' argument.
4957 (c-mode-abbrev-table, c++-mode-abbrev-table)
4958 (objc-mode-abbrev-table, java-mode-abbrev-table)
4959 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4960 (awk-mode-abbrev-table): Use it.
4961 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4962 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4963 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4964 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4965 Move initialization into the declaration; and remove any
4968 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4969 and dynamic let binding.
4971 * vc/smerge-mode.el: Remove redundant :group args.
4973 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4976 2013-08-28 Juri Linkov <juri@jurta.org>
4978 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4979 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4980 (isearch-other-meta-char): Handle an undefined shifted printing
4981 character by downshifting it. (Bug#15200)
4983 2013-08-28 Juri Linkov <juri@jurta.org>
4985 * isearch.el (isearch-search): Change regexp error message for
4986 non-regexp searches. (Bug#15166)
4988 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4990 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4991 for portability to hosts where /bin/sh has problems.
4993 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4995 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4997 2013-08-27 Juri Linkov <juri@jurta.org>
4999 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5000 in the keyboard macro. (Bug#15126)
5002 2013-08-27 Juri Linkov <juri@jurta.org>
5004 * isearch.el (isearch-quote-char): Comment out converting unibyte
5005 to multibyte, thus syncing with its `quoted-insert' counterpart.
5008 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5010 * window.el (display-buffer-use-some-window): Add missing
5011 argument in call of get-largest-window (Bug#15185).
5012 Reported by Stephen Leake.
5014 2013-08-27 Glenn Morris <rgm@gnu.org>
5016 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5018 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5020 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5021 from a matcher-function unless there's no more matches (bug#15161).
5023 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5025 * minibuffer.el: Revert change from 2013-08-20.
5027 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5028 with text property `tramp-default', if appropriate.
5029 (tramp-check-proper-host): New defun.
5030 (tramp-dissect-file-name): Do not check hostname. Revert change
5032 (tramp-backtrace): Make VEC-OR-PROC optional.
5034 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5035 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5036 * net/tramp-sh.el (tramp-maybe-open-connection):
5037 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5038 Apply `tramp-check-proper-host'.
5040 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5042 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5043 lambda expression in order to have `describe-variable' display it.
5045 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5047 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5048 BUF can be optional. (Bug#15186)
5050 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5052 * progmodes/flymake.el (flymake-get-real-file-name-function):
5053 Fix broken customization. (Bug#15184)
5055 2013-08-25 Alan Mackenzie <acm@muc.de>
5057 Improve indentation of bracelists defined by macros (without "=").
5059 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5060 expansion begins with "{", regard it as bracelist when it doesn't
5063 Parse C++ inher-intro when there's a template split over 2 lines.
5065 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5066 rigorously the search for "class" etc. followed by ":".
5068 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5069 random languages a regexp which never matches rather than nil.
5071 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5073 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5074 (c-awk-regexp-one-line-possibly-open-char-list-re)
5075 (c-awk-one-line-possibly-open-regexp-re)
5076 (c-awk-one-line-non-syn-ws*-re): Remove.
5077 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5078 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5079 (c-awk-space*-unclosed-regexp-/-re): New constants.
5080 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5081 aren't regexp delimiters.
5083 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5084 handling for a rare situation in AWK Mode involving unterminated
5087 2013-08-23 Glenn Morris <rgm@gnu.org>
5089 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5091 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5093 * files.el (create-file-buffer): If the result would begin with
5094 spaces, prepend a "|" instead of removing them. (Bug#15162)
5096 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5098 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5099 text-properties (bug#15155).
5101 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5103 (calc-keypad-redraw): Remove unused var `pad'.
5104 (calc-keypad-press): Remove unused var `menu'.
5106 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5108 * window.el (display-buffer-pop-up-frame):
5109 Call pop-up-frame-function with BUFFER current so `make-frame' will
5110 use it as the new frame's buffer (Bug#15133).
5112 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5114 * calendar/timeclock.el: Minor cleanups.
5115 (timeclock-ask-before-exiting, timeclock-use-display-time):
5117 (timeclock-modeline-display): Define as alias before the
5119 (timeclock-mode-line-display): Use define-minor-mode.
5120 (timeclock-day-list-template): Make it a function, add an argument.
5121 (timeclock-day-list-required, timeclock-day-list-length)
5122 (timeclock-day-list-debt, timeclock-day-list-span)
5123 (timeclock-day-list-break): Adjust calls accordingly.
5125 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5127 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5128 Use read--expression so that completion works again.
5130 2013-08-21 Sam Steingold <sds@gnu.org>
5132 Add rudimentary inferior shell interaction
5133 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5134 (sh-set-shell): Reset it.
5135 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5136 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5138 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5140 * align.el: Use lexical-binding.
5141 (align-region): Simplify accordingly.
5143 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5145 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5147 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5150 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5154 * net/tramp-cmds.el:
5156 * net/tramp-gvfs.el:
5158 * net/tramp-sh.el: Don't wrap external variable declarations by
5159 `eval-when-compile'.
5161 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5163 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5164 now that Emacs supports ImageMagick animations.
5166 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5168 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5169 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5171 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5173 * window.el (mouse-autoselect-window-select): Do autoselect when
5174 mouse pointer is on margin.
5176 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5178 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5180 2013-08-16 Glenn Morris <rgm@gnu.org>
5182 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5183 Handle "Remote Directory" response of some clients. (Bug#15058)
5185 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5186 Tweak warning. (Bug#14926)
5188 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5189 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5191 * image-mode.el (image-mode-map): Add menu items to reverse,
5192 increase, decrease, reset animation speed.
5193 (image--set-speed, image-increase-speed, image-decrease-speed)
5194 (image-reverse-speed, image-reset-speed): New functions.
5195 (image-mode-map): Add bindings for speed commands.
5197 * image.el (image-animate-get-speed, image-animate-set-speed):
5199 (image-animate-timeout): Respect image :speed property.
5201 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5203 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5204 previous line (bug#15101).
5205 (debugger-eval-expression, debugger-record-expression):
5206 Use read--expression (bug#15102).
5208 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5210 Remove byte compiler warnings, visible when compiling with
5211 `byte-compile-force-lexical-warnings' set to t.
5213 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5214 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5215 (tramp-handle-unhandled-file-name-directory)
5216 (tramp-handle-file-notify-add-watch, tramp-action-login)
5217 (tramp-action-succeed, tramp-action-permission-denied)
5218 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5221 * net/tramp-adb.el (tramp-adb-parse-device-names)
5222 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5223 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5224 (tramp-adb-handle-file-truename): Remove unused arguments.
5226 * net/tramp-cache.el (tramp-flush-directory-property)
5227 (tramp-flush-connection-property, tramp-list-connections)
5228 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5230 * net/tramp-compat.el (tramp-compat-make-temp-file):
5231 Rename FILENAME to F.
5233 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5234 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5235 (tramp-zeroconf-parse-workstation-device-names)
5236 (tramp-zeroconf-parse-webdav-device-names)
5237 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5239 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5240 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5242 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5244 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5245 (tramp-sh-handle-insert-file-contents-literally)
5246 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5248 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5249 Remove unused variables.
5251 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5252 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5253 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5255 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5256 Make them a defconst.
5257 (tramp-uuencode-region): Remove unused variable.
5259 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5261 * frameset.el (frameset--prop-setter): New function.
5262 (frameset-prop): Add gv-setter declaration.
5263 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5264 parameter was already set in FILTERED. Doc fix.
5265 (frameset--record-minibuffer-relationships): Allow saving a
5266 minibufferless frame without its corresponding minibuffer frame.
5267 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5268 frame, if the frame id matches.
5269 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5270 frames before orphaned ones.
5271 (frameset-restore): Warn about orphaned windows, instead of error out.
5273 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5275 * window.el (window-make-atom): Don't overwrite parameter
5277 (display-buffer-in-atom-window): Handle special case where we
5278 split an already atomic window.
5279 (window--major-non-side-window, display-buffer-in-side-window)
5280 (window--side-check): Ignore minibuffer window when walking
5282 (window-deletable-p): Return 'frame only if no other frame uses
5283 our minibuffer window.
5284 (record-window-buffer): Run buffer-list-update-hook.
5285 (split-window): Make sure window--check-frame won't destroy an
5286 existing atomic window in case the new window gets nested
5288 (display-buffer-at-bottom): Ignore minibuffer window when
5289 walking window tree. Don't split a side window.
5290 (pop-to-buffer): Don't set-buffer here, the select-window call
5292 (mouse-autoselect-window-select): Autoselect only if we are in the
5293 text portion of the window.
5295 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5297 * net/shr.el (shr-parse-image-data): New function to grab both the
5298 data itself and the Content-Type.
5299 (shr-put-image): Use it.
5301 * net/eww.el (eww-display-image): Ditto.
5303 * image.el (image-content-type-suffixes): New variable.
5305 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5307 * progmodes/python.el (python-imenu--build-tree)
5308 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5310 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5312 * simple.el (backward-word): Mention the optional argument.
5314 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5316 * frameset.el (frameset--make): Rename constructor from make-frameset.
5317 (frameset-p, frameset-valid-p): Don't autoload.
5318 (frameset-valid-p): Use normal accessors.
5320 2013-08-13 Glenn Morris <rgm@gnu.org>
5322 * progmodes/compile.el (compile-command): Tweak example in doc.
5323 * obsolete/scribe.el (scribe-mode):
5324 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5326 * mail/feedmail.el (feedmail-confirm-outgoing)
5327 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5329 * cus-start.el (truncate-partial-width-windows): Fix type.
5331 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5333 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5335 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5337 * emacs-lisp/timer.el (timer--time-setter): New function.
5338 (timer--time): Use it as gv-setter.
5340 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5341 setter is not a symbol.
5343 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5345 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5346 if sending fails. This makes debugging easier.
5348 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5350 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5351 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5352 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5354 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5356 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5358 2013-08-12 Glenn Morris <rgm@gnu.org>
5360 * format.el (format-annotate-function):
5361 Handle read-only text properties in the source. (Bug#14887)
5363 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5365 * net/eww.el (eww-display-html): Ignore coding system errors.
5366 One web site uses "utf-8lias" as the coding system.
5368 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5370 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5372 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5374 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5375 (tutorial--detailed-help): Remove unused local variables.
5376 (tutorial--save-tutorial-to): Use ignore-errors.
5377 (help-with-tutorial): Use looking-at-p.
5379 * view.el (view-buffer-other-window, view-buffer-other-frame):
5380 Mark unused arguments.
5382 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5383 (woman-select-symbol-fonts, woman, woman-find-file)
5384 (woman-insert-file-contents, woman-non-underline-faces):
5386 (woman1-unquote): Move declaration.
5388 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5389 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5390 argument. Remove unused local variable.
5391 (xml-parse-elem-type): Use string-match-p.
5392 (xml-substitute-numeric-entities): Use ignore-errors.
5394 * calculator.el (calculator): Mark unused argument.
5395 (calculator-paste, calculator-quit, calculator-integer-p):
5397 (calculator-string-to-number, calculator-decimal, calculator-exp)
5398 (calculator-op-or-exp): Use string-match-p.
5400 * dired.el (dired-buffer-more-recently-used-p): Declare.
5401 (dired-insert-set-properties, dired-insert-old-subdirs):
5404 * dired-aux.el (dired-compress): Use ignore-errors.
5405 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5406 (dired-do-async-shell-command, dired-do-shell-command)
5407 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5408 (dired-insert-subdir-validate): Use string-match-p.
5409 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5410 (dired-add-entry): Use string-match-p, looking-at-p.
5411 (dired-insert-subdir-newpos): Remove unused local variable.
5413 * filenotify.el (file-notify-callback): Remove unused local variable.
5415 * filesets.el (filesets-error): Mark unused argument.
5416 (filesets-which-command-p, filesets-filter-dir-names)
5417 (filesets-directory-files, filesets-get-external-viewer)
5418 (filesets-ingroup-get-data): Use string-match-p.
5420 * find-file.el (ff-other-file-name, ff-other-file-name)
5421 (ff-find-the-other-file, ff-cc-hh-converter):
5422 Remove unused local variables.
5423 (ff-get-file-name): Use string-match-p.
5424 (ff-all-dirs-under): Use ignore-errors.
5426 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5427 (follow-select-if-visible): Remove unused local variable.
5429 * forms.el (read-file-filter): Move declaration.
5430 (forms--make-format, forms--make-parser, forms-insert-record):
5431 Quote function with #'.
5432 (forms--update): Use string-match-p. Quote function with #'.
5434 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5435 (help-make-xrefs): Use looking-at-p.
5436 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5438 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5439 (ibuffer-confirm-operation-on): Use string-match-p.
5441 * msb.el (msb-item-handler, msb-dired-item-handler):
5442 Mark unused arguments.
5444 * ses.el (ses-decode-cell-symbol)
5445 (ses-kill-override): Remove unused local variable.
5446 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5447 (ses-load): Use ignore-errors, looking-at-p.
5448 (ses-jump-safe): Use ignore-errors.
5449 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5451 * tabify.el (untabify, tabify): Mark unused arguments.
5453 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5454 Mark unused argument.
5455 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5456 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5458 * emacs-lisp/timer.el (timer--time): Define setter with
5459 gv-define-setter to avoid deprecation warning.
5461 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5462 (*record-cmpl-statistics-p*): Remove (was commented out).
5463 (cmpl-statistics-block): Remove (body was commented out).
5464 All callers changed.
5465 (add-completions-from-buffer, load-completions-from-file):
5466 Remove unused variables.
5468 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5470 * filecache.el (file-cache-delete-file-list):
5471 Print message only when told so.
5472 (file-cache-files-matching): Use #' in mapconcat argument.
5474 * ffap.el (ffap-url-at-point): Fix reference to variable
5475 thing-at-point-default-mail-uri-scheme.
5477 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5479 * subr.el (define-error): New function.
5480 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5481 error-file-not-found and define with define-error.
5482 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5483 and define with define-error.
5484 * userlock.el (file-locked, file-supersession):
5485 * simple.el (mark-inactive):
5486 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5487 * progmodes/ada-mode.el (ada-mode-errors):
5488 * play/life.el (life-extinct):
5489 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5490 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5491 * nxml/rng-util.el (rng-error):
5492 * nxml/rng-uri.el (rng-uri-error):
5493 * nxml/rng-match.el (rng-compile-error):
5494 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5495 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5496 * nxml/nxml-rap.el (nxml-scan-error):
5497 * nxml/nxml-outln.el (nxml-outline-error):
5498 * net/soap-client.el (soap-error):
5499 * net/gnutls.el (gnutls-error):
5500 * net/ange-ftp.el (ftp-error):
5501 * mpc.el (mpc-proc-error):
5502 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5503 (json-number-format, json-string-escape, json-string-format)
5504 (json-key-format, json-object-format):
5505 * jka-compr.el (compression-error):
5506 * international/quail.el (quail-error):
5507 * international/kkc.el (kkc-error):
5508 * emacs-lisp/ert.el (ert-test-failed):
5509 * calc/calc.el (calc-error, inexact-result, math-overflow)
5511 * bookmark.el (bookmark-error-no-filename):
5512 * epg.el (epg-error): Define with define-error.
5514 * time.el (display-time-event-handler)
5515 (display-time-next-load-average): Don't call sit-for since it seems
5516 unnecessary (bug#15045).
5518 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5519 Use #' instead of ' to quote functions.
5520 (checkdoc-output-mode): Use setq-local.
5521 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5522 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5523 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5524 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5525 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5526 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5527 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5528 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5530 * ido.el (ido-completion-help): Fix up compiler warning.
5532 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5534 * frameset.el (frameset-p): Add autoload cookie.
5535 (frameset--jump-to-register): New function, based on code moved from
5537 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5539 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5540 (frameset-restore, frameset-save, frameset-session-filter-alist):
5541 Remove declarations.
5542 (register-alist): Doc fix.
5543 (frameset-to-register): Move to frameset.el.
5544 (jump-to-register, describe-register-1): Remove frameset-specific code.
5546 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5548 * allout-widgets.el (allout-widgets-pre-command-business)
5549 (allout-widgets-post-command-business)
5550 (allout-widgets-after-change-handler)
5551 (allout-decorate-item-and-context, allout-set-boundary-marker)
5552 (allout-body-modification-handler)
5553 (allout-graphics-modification-handler): Mark ignored arguments.
5554 (allout-widgets-post-command-business)
5555 (allout-widgets-exposure-change-processor)
5556 (allout-widgets-exposure-undo-processor)
5557 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5558 (allout-parse-item-at-point, allout-decorate-item-guides)
5559 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5560 * allout.el (epa-passphrase-callback-function): Declare.
5561 (allout-overlay-insert-in-front-handler)
5562 (allout-overlay-interior-modification-handler)
5563 (allout-isearch-end-handler, allout-chart-siblings)
5564 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5565 (allout-yank-processing, allout-process-exposed)
5566 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5567 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5568 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5569 (lisp-indent-defform): Mark ignored arguments.
5570 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5571 (calculate-lisp-indent): Remove unused variables.
5572 * international/characters.el (indian-2-column, arabic-2-column)
5573 (tibetan): Mark ignored arguments.
5574 (use-cjk-char-width-table): Mark ignored arguments.
5575 Remove unused variables.
5576 * international/fontset.el (build-default-fontset-data)
5577 (x-compose-font-name, create-fontset-from-fontset-spec):
5578 Mark ignored arguments.
5579 (fontset-plain-name): Remove unused variables.
5580 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5581 (keyboard-coding-system): Mark ignored arguments.
5582 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5583 * help.el (resize-temp-buffer-window):
5584 * window.el (display-buffer-in-major-side-window)
5585 (display-buffer-in-side-window, display-buffer-in-previous-window):
5586 Remove unused variables.
5587 * isearch.el (isearch-forward-symbol):
5588 * version.el (emacs-bzr-version-bzr):
5589 * international/mule-cmds.el (current-language-environment):
5590 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5592 * term/pc-win.el (x-list-fonts, x-display-planes)
5593 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5594 (x-server-version, x-display-screens, x-display-mm-height)
5595 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5596 (x-selection-owner-p, x-own-selection-internal)
5597 (x-disown-selection-internal, x-get-selection-internal)
5598 (msdos-initialize-window-system):
5599 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5600 * term/x-win.el (x-handle-no-bitmap-icon):
5601 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5602 (vc-default-find-file-hook, vc-default-extra-menu):
5603 Mark ignored arguments.
5605 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5607 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5608 break-condition in the context of the debugged code (bug#12685).
5610 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5613 Do not use an overlay to highlight the last prompt. (Bug#14744)
5614 (comint-mode): Make comint-last-prompt buffer local.
5615 (comint-last-prompt): New variable.
5616 (comint-last-prompt-overlay): Remove. Superseded by
5618 (comint-snapshot-last-prompt, comint-output-filter):
5619 Use comint-last-prompt.
5621 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5623 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5624 (frameset-save): Check validity of the resulting frameset.
5626 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5628 * ido.el (ido-record-command): Add doc string.
5630 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5632 * frameset.el (frameset): Do not disable creation of the default
5633 frameset-p predicate. Doc fix.
5634 (frameset-valid-p): New function, copied from the old predicate-p.
5635 Add additional checks.
5636 (frameset-restore): Check with frameset-valid-p.
5637 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5638 (frameset-name, frameset-description, frameset-properties)
5639 (frameset-states): Add docstring.
5640 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5641 (frameset-filter-alist): Doc fixes.
5643 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5645 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5647 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5649 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5650 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5651 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5652 (byte-compile-normal-call): Remove obsolescence check.
5654 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5656 * frameset.el (frameset-restore): Doc fix.
5658 * register.el (frameset-frame-id, frameset-frame-with-id)
5659 (frameset-p, frameset-restore, frameset-save): Declare.
5660 (register-alist): Document framesets.
5661 (frameset-session-filter-alist): Declare.
5662 (frameset-to-register): New function.
5663 (jump-to-register): Implement jumping to framesets. Doc fix.
5664 (describe-register-1): Describe framesets.
5666 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5668 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5670 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5671 Use lexical-binding.
5673 * frameset.el (frameset): Use type vector, not list (incompatible
5674 change). Do not declare a new constructor, use the default one.
5675 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5676 `name' and `description', respectively, and add read-only slot
5677 `timestamp'. Doc fixes.
5678 (frameset-copy, frameset-persistent-filter-alist)
5679 (frameset-filter-alist, frameset-switch-to-gui-p)
5680 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5681 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5682 (frameset-filter-iconified, frameset-keep-original-display-p):
5684 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5685 Rename from frameset-filter-(save|restore)-param. All callers changed.
5687 (frameset-p): Adapt to change to vector and be more thorough.
5688 Change arg name to OBJECT. Doc fix.
5689 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5690 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5691 All callers changed.
5692 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5693 All callers changed.
5694 (frameset--record-minibuffer-relationships): Rename from
5695 frameset--process-minibuffer-frames. All callers changed.
5696 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5697 Use new default constructor (again). Doc fix.
5698 (frameset--find-frame-if): Rename from `frameset--find-frame.
5699 All callers changed.
5700 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5701 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5703 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5704 PARAMETERS and WINDOW-STATE, respectively.
5705 (frameset-restore): Add new keyword argument PREDICATE.
5706 Reset frameset--target-display to nil. Doc fix.
5708 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5710 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5712 (bat-mode-syntax-table): Mark \n as end-of-comment.
5713 (bat-font-lock-keywords): Remove comment rule.
5715 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5716 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5718 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5719 (byte-compile-callargs-warn): Use `push'.
5720 (byte-compile-arglist-warn): Ignore higher-order "calls".
5721 (byte-compile-file-form-autoload): Use `pcase'.
5722 (byte-compile-function-form): If quoting a symbol, check that it exists.
5724 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5726 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5727 and add a few popular commands found in batch files.
5728 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5729 (dos-mode): Doc fixes.
5731 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5733 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5734 (dos-mode): Use setq-local. Add space after "rem".
5735 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5736 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5738 2013-08-07 Arni Magnusson <arnima@hafro.is>
5740 * progmodes/dos.el: New file.
5741 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5744 2013-08-06 Glenn Morris <rgm@gnu.org>
5746 * calendar/calendar.el: Add new faces, and day-header-array.
5747 (calendar-weekday-header, calendar-weekend-header)
5748 (calendar-month-header): New faces.
5749 (calendar-day-header-construct): New function.
5750 (calendar-day-header-width): Also :set calendar-day-header-array.
5751 (calendar-american-month-header, calendar-european-month-header)
5752 (calendar-iso-month-header): Use calendar- faces.
5753 (calendar-generate-month):
5754 Use calendar-day-header-array for day headers; apply faces to them.
5755 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5756 (calendar-abbrev-construct): Add optional maxlen argument.
5757 (calendar-day-name-array): Doc fix.
5758 (calendar-day-name-array, calendar-abbrev-length)
5759 (calendar-day-abbrev-array):
5760 Also :set calendar-day-header-array, and maybe redraw.
5761 (calendar-day-header-array): New option. (Bug#15007)
5762 (calendar-font-lock-keywords): Set to nil and make obsolete.
5763 (calendar-day-name): Add option to use header array.
5765 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5767 * net/shr.el (shr-render-td): Remove debugging.
5768 (shr-render-td): Make width computation consistent by defaulting
5769 all zero-width columns to 10 characters. This may not be optimal,
5770 but it's at least consistent.
5771 (shr-make-table-1): Redo last change to fix the real problem in
5774 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5776 * files.el (cache-long-line-scans):
5777 Make obsolete alias to `cache-long-scans'.
5779 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5781 * frameset.el (frameset, frameset-filter-alist)
5782 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5783 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5784 (frameset-compute-pos): Rename from frameset--compute-pos,
5786 (frameset-move-onscreen): Use frameset-compute-pos.
5787 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5789 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5790 Fix typos in docstrings.
5792 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5794 * frame.el (get-other-frame): Tiny cleanup.
5796 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5798 * vc/vc.el (vc-default-ignore-completion-table):
5799 Silence byte-compiler warning.
5801 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5802 slot , which can indeed be nil.
5803 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5804 Move entry for `left' from persistent to live filter alist.
5805 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5807 (frameset-filter-params): When restoring a frame, copy items added to
5808 `filtered', to avoid unwittingly modifying the original parameters.
5809 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5810 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5812 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5813 to use looking-at-p instead of looking-at. (Bug#15028)
5815 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5817 Revert introduction of isearch-filter-predicates (bug#14714).
5818 Rely on add-function instead.
5819 * isearch.el (isearch-filter-predicates): Rename it back to
5820 isearch-filter-predicate.
5821 (isearch-message-prefix): Use advice-function-mapc and advice
5822 properties to get the isearch-message-prefix.
5823 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5824 instead of run-hook-with-args-until-failure.
5825 (isearch-filter-visible): Not obsolete any more.
5826 * loadup.el: Preload nadvice.
5827 * replace.el (perform-replace): Revert to funcall
5828 instead of run-hook-with-args-until-failure.
5829 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5830 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5831 dired-isearch-filenames-toggle; make it into a proper minor mode.
5832 Use add/remove-function.
5833 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5834 Call the minor-mode rather than add/remove-hook.
5835 (dired-isearch-filter-filenames):
5836 Remove isearch-message-prefix property.
5837 * info.el (Info--search-loop): New function, extracted from Info-search.
5838 Funcall isearch-filter-predicate instead of
5839 run-hook-with-args-until-failure isearch-filter-predicates.
5840 (Info-search): Use it.
5841 (Info-mode): Use isearch-filter-predicate instead of
5842 isearch-filter-predicates.
5844 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5846 Do not call to `selected-window' where it is assumed by default.
5847 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5848 `window-hscroll', `window-width', `window-height', `window-buffer',
5849 `window-frame', `window-start', `window-point', `next-window'
5850 and `window-display-table'.
5851 * abbrev.el (abbrev--default-expand):
5852 * bs.el (bs--show-with-configuration):
5853 * buff-menu.el (Buffer-menu-mouse-select):
5854 * calc/calc.el (calc):
5855 * calendar/calendar.el (calendar-generate-window):
5856 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5858 * comint.el (send-invisible, comint-dynamic-complete-filename)
5859 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5860 * completion.el (complete):
5861 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5862 * disp-table.el (describe-current-display-table):
5863 * doc-view.el (doc-view-insert-image):
5864 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5865 * ehelp.el (with-electric-help):
5866 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5867 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5868 * emacs-lisp/helper.el (Helper-help-scroller):
5869 * emulation/cua-base.el (cua--post-command-handler-1):
5870 * eshell/esh-mode.el (eshell-output-filter):
5871 * ffap.el (ffap-gnus-wrapper):
5872 * help-macro.el (make-help-screen):
5873 * hilit-chg.el (highlight-compare-buffers):
5874 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5875 * hl-line.el (global-hl-line-highlight):
5876 * icomplete.el (icomplete-simple-completing-p):
5877 * isearch.el (isearch-done):
5878 * jit-lock.el (jit-lock-stealth-fontify):
5879 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5880 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5881 * mpc.el (mpc-tagbrowser, mpc):
5882 * net/rcirc.el (rcirc-any-buffer):
5883 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5884 * play/landmark.el (landmark-max-width, landmark-max-height):
5885 * play/zone.el (zone):
5886 * progmodes/compile.el (compilation-goto-locus):
5887 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5888 * progmodes/etags.el (find-tag-other-window):
5889 * progmodes/fortran.el (fortran-column-ruler):
5890 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5891 * progmodes/verilog-mode.el (verilog-point-text):
5892 * reposition.el (reposition-window):
5893 * rot13.el (toggle-rot13-mode):
5894 * server.el (server-switch-buffer):
5895 * shell.el (shell-dynamic-complete-command)
5896 (shell-dynamic-complete-environment-variable):
5897 * simple.el (insert-buffer, set-selective-display)
5898 (delete-completion-window):
5899 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5900 (speedbar-recenter):
5901 * startup.el (fancy-splash-head):
5902 * textmodes/ispell.el (ispell-command-loop):
5903 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5904 * tutorial.el (help-with-tutorial):
5905 * vc/add-log.el (add-change-log-entry):
5906 * vc/compare-w.el (compare-windows):
5907 * vc/ediff-help.el (ediff-indent-help-message):
5908 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5909 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5910 (ediff-setup-control-frame):
5911 * vc/emerge.el (emerge-position-region):
5912 * vc/pcvs-util.el (cvs-bury-buffer):
5913 * window.el (walk-windows, mouse-autoselect-window-select):
5914 * winner.el (winner-set-conf, winner-undo): Related users changed.
5916 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5918 * frameset.el (frameset--set-id): Doc fix.
5919 (frameset-frame-id, frameset-frame-id-equal-p)
5920 (frameset-locate-frame-id): New functions.
5921 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5922 (frameset-restore): Use them.
5924 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5926 Do not call to `selected-frame' where it is assumed by default.
5927 Affected functions are `raise-frame', `redraw-frame',
5928 `frame-first-window', `frame-terminal' and `delete-frame'.
5929 * calendar/appt.el (appt-disp-window):
5930 * epg.el (epg-wait-for-completion):
5931 * follow.el (follow-delete-other-windows-and-split)
5932 (follow-avoid-tail-recenter):
5933 * international/mule.el (set-terminal-coding-system):
5934 * mail/rmail.el (rmail-mail-return):
5935 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5936 * progmodes/f90.el (f90-add-imenu-menu):
5937 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5938 * server.el (server-switch-buffer):
5939 * simple.el (delete-completion-window):
5941 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5942 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5943 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5944 * vc/ediff.el (ediff-documentation): Related users changed.
5945 * frame.el (selected-terminal): Remove the leftover.
5947 2013-08-05 Glenn Morris <rgm@gnu.org>
5949 * calendar/calendar.el (calendar-generate-month):
5950 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5951 (calendar-generate-month, calendar-font-lock-keywords):
5952 Fix for calendar-day-header-width > length of any day name.
5954 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5956 * desktop.el (desktop-clear): Use new name of sort predicate.
5958 * frameset.el (frameset): Add docstring. Move :version property to its
5960 (frameset-copy): Rename from copy-frameset.
5961 (frameset-p): Check more thoroughly.
5962 (frameset-prop): Do not check for :version, which is no longer a prop.
5963 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5964 Use new :never value instead of t.
5965 (frameset-filter-alist): Expand and clarify docstring.
5966 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5967 (frameset-filter-minibuffer, frameset-filter-save-param)
5968 (frameset-filter-restore-param, frameset-filter-iconified):
5969 Add pointer to docstring of frameset-filter-alist.
5970 (frameset-filter-params): Rename filter values to be more meaningful:
5971 :never instead of t, and reverse the meanings of :save and :restore.
5972 (frameset--process-minibuffer-frames): Clarify error message.
5973 (frameset-save): Avoid unnecessary and confusing call to framep.
5974 Use new BOA constructor for framesets.
5975 (frameset--reuse-list): Doc fix.
5976 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5977 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5978 (frameset-minibufferless-first-p): Doc fix.
5979 Rename from frameset-sort-frames-for-deletion.
5980 (frameset-restore): Doc fixes. Use new function names.
5981 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5983 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5985 * desktop.el (desktop-restore-forces-onscreen)
5986 (desktop-restore-reuses-frames): Document :keyword constant values.
5987 (desktop-filter-parameters-alist): Remove, now identical to
5988 frameset-filter-alist.
5989 (desktop--filter-tty*): Remove, moved to frameset.el.
5990 (desktop-save-frameset, desktop-restore-frameset):
5991 Do not pass :filters argument.
5993 * frameset.el (frameset-live-filter-alist)
5994 (frameset-persistent-filter-alist): New variables.
5995 (frameset-filter-alist): Use them. Add autoload cookie.
5996 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5997 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5998 `frameset--id' (it's supposed to be internal to frameset.el).
5999 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6000 (frameset--initial-params): New function.
6001 (frameset--get-frame): Use it. Doc fix.
6002 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6003 Accept :all, not 'all.
6004 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6005 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6006 with fbound symbols. Fix frame id matching, and remove matching ids if
6007 the frame being restored is deleted. Obey :delete.
6009 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6011 * subr.el (macrop): New function.
6012 (text-clone--maintaining): New var.
6013 (text-clone--maintain): Rename from text-clone-maintain. Use it
6014 instead of inhibit-modification-hooks.
6016 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6017 a proxy, so as handle autoloads and redefinitions of the target.
6018 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6020 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6021 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6022 (pcase--mutually-exclusive-p): New function.
6023 (pcase--split-consp): Use it.
6024 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6025 mutually exclusive with the current predicate.
6027 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6028 (edebug-macrop): Remove. Use `macrop' instead.
6029 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6031 * eshell/esh-cmd.el (eshell-macrop):
6032 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6034 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6036 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6037 (advice-mapc): New function, using it.
6038 (advice-function-member-p): New function.
6039 (advice--normalize): Store the cdr in advice--saved-rewrite since
6040 that's the part that will be changed.
6041 (advice--symbol-function): New function.
6042 (advice-remove): Handle removal before the function is defined.
6043 Adjust to new advice--saved-rewrite.
6044 (advice-member-p): Use advice-function-member-p and
6045 advice--symbol-function.
6047 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6049 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6050 (frameset-filter-minibuffer): Doc fix.
6051 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6052 (frameset--set-id, frameset--process-minibuffer-frames)
6053 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6054 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6056 * desktop.el (desktop-clear): Only delete frames when called
6057 interactively and desktop-restore-frames is non-nil. Doc fix.
6058 (desktop-read): Set desktop-saved-frameset to nil.
6060 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6062 * vc/vc.el (vc-ignore): Rewrite.
6063 (vc-default-ignore-completion-table):
6065 (vc--add-line, vc--remove-regexp): New functions.
6067 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6068 (vc-svn-ignore-completion-table): New function.
6070 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6071 (vc-hg-ignore-completion-table):
6072 (vc-hg-find-ignore-file): New functions.
6074 * vc/vc-git.el (vc-git-ignore): Rewrite.
6075 (vc-git-ignore-completion-table):
6076 (vc-git-find-ignore-file): New functions.
6078 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6080 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6081 (vc-bzr-ignore-completion-table):
6082 (vc-bzr-find-ignore-file): New functions.
6084 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6086 * frameset.el (frameset-prop): New function and setter.
6087 (frameset-save): Do not modify frame list passed by the caller.
6089 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6091 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6093 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6095 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6096 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6098 * custom.el (custom-initialize-default, custom-initialize-set)
6099 (custom-initialize-reset, custom-initialize-changed): Affect the
6100 toplevel-default-value (bug#6275, bug#14586).
6101 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6104 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6106 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6107 Add cl-def* expressions.
6109 * frameset.el (frameset-filter-params): Fix order of arguments.
6111 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6113 Move code related to saving frames to frameset.el.
6114 * desktop.el: Require frameset.
6115 (desktop-restore-frames): Doc fix.
6116 (desktop-restore-reuses-frames): Rename from
6117 desktop-restoring-reuses-frames.
6118 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6119 (desktop-clear): Clear frames too.
6120 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6121 (desktop--filter-tty*, desktop-save, desktop-read):
6122 Use frameset functions.
6123 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6124 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6125 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6126 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6127 (desktop--process-minibuffer-frames, desktop-save-frames)
6128 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6129 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6130 (desktop--sort-states, desktop-restoring-frames-p)
6131 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6132 (desktop-restoring-frameset-p, desktop-restore-frameset)
6133 (desktop--check-dont-save, desktop-save-frameset): New functions.
6134 (desktop--app-id): New constant.
6135 (desktop-first-buffer, desktop-buffer-ok-count)
6136 (desktop-buffer-fail-count): Move before first use.
6137 * frameset.el: New file.
6139 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6141 * files.el: Use lexical-binding.
6142 (dir-locals-read-from-file): Remove unused `err' variable.
6143 (hack-dir-local-variables--warned-coding): New var.
6144 (hack-dir-local-variables): Use it to avoid repeated warnings.
6145 (make-backup-file-name--default-function): New function.
6146 (make-backup-file-name-function): Use it as default.
6147 (buffer-stale--default-function): New function.
6148 (buffer-stale-function): Use it as default.
6149 (revert-buffer-insert-file-contents--default-function): New function.
6150 (revert-buffer-insert-file-contents-function): Use it as default.
6151 (insert-directory): Avoid add-to-list.
6153 * autorevert.el (auto-revert-handler): Simplify.
6154 Use buffer-stale--default-function.
6156 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6158 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6160 * whitespace.el (whitespace-ensure-local-variables): New function.
6161 (whitespace-cleanup-region): Call it.
6162 (whitespace-turn-on): Call it.
6164 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6166 Complete file name handlers.
6168 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6169 (tramp-handle-verify-visited-file-modtime)
6170 (tramp-handle-file-notify-rm-watch): New functions.
6171 (tramp-call-process): Do not bind `default-directory'.
6173 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6174 Order alphabetically.
6175 [access-file, add-name-to-file, dired-call-process]:
6176 [dired-compress-file, file-acl, file-notify-rm-watch]:
6177 [file-ownership-preserved-p, file-selinux-context]:
6178 [make-directory-internal, make-symbolic-link, set-file-acl]:
6179 [set-file-selinux-context, set-visited-file-modtime]:
6180 [verify-visited-file-modtime]: Add handler.
6181 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6183 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6184 [file-notify-add-watch, file-notify-rm-watch]:
6185 [set-file-times, set-visited-file-modtime]:
6186 [verify-visited-file-modtime]: Add handler.
6187 (with-tramp-gvfs-error-message)
6188 (tramp-gvfs-handle-set-visited-file-modtime)
6189 (tramp-gvfs-fuse-file-name): Remove.
6190 (tramp-gvfs-handle-file-notify-add-watch)
6191 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6192 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6194 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6195 Order alphabetically.
6196 [file-notify-rm-watch ]: Use default Tramp handler.
6197 [executable-find]: Remove private handler.
6198 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6199 `default-directory'.
6200 (tramp-sh-handle-executable-find)
6201 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6202 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6203 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6204 Do not use `format' in `tramp-message'.
6206 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6207 [file-notify-rm-watch, set-visited-file-modtime]:
6208 [verify-visited-file-modtime]: Add handler.
6209 (tramp-smb-call-winexe): Do not bind `default-directory'.
6211 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6213 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6215 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6217 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6219 (log-view-diff-changeset): Same.
6220 (log-view-diff-common): Call backend command `previous-revision'
6221 to find out the previous revision, in both cases. Swap the
6222 variables `to' and `fr', so that `fr' usually refers to the
6223 earlier revision (Bug#14989).
6225 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6227 * ibuf-ext.el (ibuffer-filter-by-filename):
6228 Make it work with dired buffers too.
6230 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6232 * emacs-lisp/re-builder.el (reb-color-display-p):
6233 * files.el (save-buffers-kill-terminal):
6234 * net/browse-url.el (browse-url):
6235 * server.el (server-save-buffers-kill-terminal):
6236 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6237 Prefer nil to selected-frame for the first arg of frame-parameter.
6239 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6241 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6243 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6245 * minibuffer.el (completion--twq-all): Try and preserve each
6246 completion's case choice (bug#14907).
6248 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6250 * net/network-stream.el (open-network-stream): Mention the new
6251 :nogreeting parameter.
6252 (network-stream-open-starttls): Use the :nogreeting parameter
6255 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6257 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6258 more natural than popping.
6260 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6261 (shr-urlify): Highlight under mouse.
6263 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6265 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6267 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6269 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6272 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6273 point-min==1. Fix search string. Fix parentheses missing.
6275 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6276 assume point-min==1. Fix search string. Fix parentheses missing.
6278 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6280 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6283 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6285 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6286 initial frame is minibuffer-less. (Bug#14841)
6288 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6290 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6293 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6294 (tramp-maybe-open-connection): Use it.
6296 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6298 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6299 minimal set of parameters passed when creating a frame, because
6300 the minibuffer status of a frame cannot be changed later.
6302 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6304 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6305 replace-regexp-in-string and inadvertent omissions in previous change.
6306 (todo-filter-items): Ensure only file names are comma-separated in
6307 name of filtered items buffer.
6309 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6311 * desktop.el: Optionally force offscreen frames back onscreen.
6312 (desktop-restoring-reuses-frames): New option.
6313 (desktop--compute-pos, desktop--move-onscreen): New functions.
6314 (desktop--make-frame): Use desktop--move-onscreen.
6316 2013-07-27 Alan Mackenzie <acm@muc.de>
6318 Fontify a Java generic method as a function.
6319 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6322 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6324 * calendar/todo-mode.el: Add command to rename todo files.
6325 (todo-rename-file): New command.
6326 (todo-key-bindings-t): Add key binding for it. Change the
6327 bindings of todo-filter-regexp-items(-multifile) to use `x'
6328 instead of `r', since the latter is better suited to the new
6331 2013-07-27 Alan Mackenzie <acm@muc.de>
6333 Make Java try-with-resources statement parse properly.
6334 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6335 (c-block-stmt-1-2-key): New language constants/variables.
6336 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6337 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6338 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6339 with c-block-stmt-1-2-key.
6341 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6343 * desktop.el (desktop--make-frame): Apply most frame parameters after
6344 creating the frame to force (partially or totally) offscreen frames to
6345 be restored as such.
6347 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6349 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6352 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6354 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6355 `base' arg of backtrace-frame.
6357 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6359 * simple.el (list-processes): Doc fix.
6361 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6363 * desktop.el (desktop--select-frame):
6364 Try harder to reuse existing frames.
6366 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6368 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6369 (edebug-eval): Use backtrace-eval.
6370 (edebug--display, edebug--recursive-edit): Don't let-bind the
6371 edebug-outer-* vars that keep track of variables we locally let-bind.
6372 (edebug-outside-excursion): Don't restore outside values of locally
6374 (edebug--display): Use user-error.
6375 (cl-lexical-debug, cl-debug-env): Remove.
6377 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6379 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6380 are restored to be sure that they are visible before deleting any
6383 2013-07-26 Matthias Meulien <orontee@gmail.com>
6385 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6386 vc-print-root-log. (Bug#14948)
6388 2013-07-26 Richard Stallman <rms@gnu.org>
6390 Add aliases for encrypting mail.
6391 * epa.el (epa-mail-aliases): New option.
6392 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6393 Bind inhibit-read-only so read-only text doesn't ruin everything.
6394 (epa-mail-default-recipients): New subroutine broken out.
6395 Handle epa-mail-aliases.
6397 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6399 Add support for lexical variables to the debugger's `e' command.
6400 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6401 vars, except for debugger-outer-match-data.
6402 (debugger-frame-number): Move check for "on a function call" from
6403 callers into it. Add `skip-base' argument.
6404 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6405 (debugger-env-macro): Only reset the state stored in non-variables,
6406 i.e. current-buffer and match-data.
6407 (debugger-eval-expression): Rewrite using backtrace-eval.
6408 * subr.el (internal--called-interactively-p--get-frame): Remove.
6409 (called-interactively-p):
6410 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6411 `base' arg of backtrace-frame instead.
6413 2013-07-26 Glenn Morris <rgm@gnu.org>
6415 * align.el (align-regexp): Doc fix. (Bug#14857)
6416 (align-region): Explicit error if subexpression missing/does not match.
6418 * simple.el (global-visual-line-mode):
6419 Do not duplicate the mode lighter. (Bug#14858)
6421 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6423 * window.el (display-buffer): In display-buffer bind
6424 split-window-keep-point to t, bug#14829.
6426 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6428 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6429 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6430 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6431 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6433 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6434 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6436 2013-07-25 Glenn Morris <rgm@gnu.org>
6438 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6440 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6442 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6443 parameter to modify-frame-parameters if the value has not changed;
6444 this is a workaround for bug#14949.
6445 (desktop--make-frame): On cl-delete-if call, check parameter name,
6448 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6450 * vc/vc.el (vc-ignore): New function.
6452 * vc/vc-svn.el (vc-svn-ignore): New function.
6454 * vc/vc-hg.el (vc-hg-ignore): New function.
6456 * vc/vc-git.el (vc-git-ignore): New function.
6458 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6459 (vc-dir-ignore): New function.
6461 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6462 (cvs-append-to-ignore): Move here from pcvs.el.
6464 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6466 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6468 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6470 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6471 (desktop-restore-frames): Warn when deleting an existing frame failed.
6473 2013-07-24 Glenn Morris <rgm@gnu.org>
6475 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6477 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6479 * filenotify.el (file-notify-supported-p):
6480 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6483 * autorevert.el (auto-revert-use-notify):
6484 (auto-revert-notify-add-watch):
6485 * net/tramp.el (tramp-file-name-for-operation):
6486 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6487 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6488 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6489 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6490 Remove `file-notify-supported-p' entry.
6492 2013-07-24 Glenn Morris <rgm@gnu.org>
6494 * printing.el: Replace all uses of deleted ps-windows-system,
6495 ps-lp-system, ps-flatten-list with lpr- versions.
6497 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6499 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6500 checked with memq (bug#14935).
6502 * files.el (revert-buffer-function): Use a non-nil default.
6503 (revert-buffer-preserve-modes): Declare var to
6504 provide access to the `preserve-modes' argument.
6505 (revert-buffer): Let-bind it.
6506 (revert-buffer--default): New function, extracted from revert-buffer.
6508 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6510 * lpr.el: Signal print errors more prominently.
6511 (print-region-function): Don't default to nil.
6512 (lpr-print-region): New function, extracted from print-region-1.
6513 Check lpr's return value and signal an error in case of problem.
6514 (print-region-1): Use it.
6515 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6517 (ps-printer-name): Default to nil.
6518 (ps-printer-name-option): Default to lpr-printer-switch.
6519 (ps-print-region-function): Don't default to nil.
6520 (ps-postscript-code-directory): Simplify default.
6521 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6522 (ps-string-list, ps-eval-switch, ps-flatten-list)
6523 (ps-flatten-list-1): Remove.
6524 (ps-multibyte-buffer): Avoid setq.
6525 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6526 (print-region-function, ps-print-region-function): Don't set them here.
6528 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6530 * ido.el (ido-fractionp):
6531 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6532 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6533 (ido-max-directory-size, ido-max-dir-file-cache)
6534 (ido-decorations): Doc fix.
6536 * ansi-color.el: Fix old URL.
6538 2013-07-23 Michael R. Mauger <michael@mauger.com>
6540 * progmodes/sql.el: Version 3.3
6541 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6542 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6543 (sql-interactive-remove-continuation-prompt): Rewrite, use
6544 functions above. Fix continuation prompt and complete output line
6546 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6547 redirected output buffer.
6548 (sql-mode): Restore deleted code (Bug#13591).
6550 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6552 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6554 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6556 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6558 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6559 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6560 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6562 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6564 * desktop.el (desktop-clear): Simplify; remove useless checks
6565 against invalid buffer names.
6566 (desktop-list*): Use cl-list*.
6567 (desktop-buffer-info, desktop-create-buffer): Simplify.
6569 2013-07-23 Leo Liu <sdl.web@gmail.com>
6571 * bookmark.el (bookmark-make-record): Restore NAME as a default
6574 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6576 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6577 extracted from autoload--insert-text.
6578 (autoload--insert-text): Remove.
6579 (autoload--print-cookie-text): New function, extracted from
6580 autoload--insert-cookie-text.
6581 (autoload--insert-cookie-text): Remove.
6582 (autoload-generate-file-autoloads): Adjust calls accordingly.
6584 * winner.el (winner-hook-installed-p): Remove.
6585 (winner-mode): Simplify accordingly.
6587 * subr.el (add-to-list): Fix compiler-macro when `append' is
6588 not constant. Don't use `cl-member' for the base case.
6590 * progmodes/subword.el: Fix boundary case (bug#13758).
6591 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6593 (subword-backward-regexp): Make it a constant.
6594 (subword-forward-internal): Don't treat a trailing capital as the
6595 beginning of a word.
6597 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6599 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6600 global value of tabulated-list-revert-hook (bug#14930).
6602 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6604 * desktop.el: Require 'cl-lib.
6605 (desktop-before-saving-frames-functions): New hook.
6606 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6607 for frames being saved. Rename from desktop--save-minibuffer-frames.
6608 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6609 Do not save frames with non-nil `desktop-dont-save' parameter.
6610 Filter out deleted frames.
6611 (desktop--find-frame): Use cl-find-if.
6612 (desktop--select-frame): Use cl-(first|second|third) to access values
6614 (desktop--make-frame): Use cl-delete-if.
6615 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6616 (desktop-restore-frames): Use cl-(first|second|third) to access values
6617 of desktop-mini. Look for visible frame at the end, not while
6620 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6621 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6622 Use string-match-p, looking-at-p (bug#14927).
6624 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6626 * desktop.el (desktop-saved-frame-states):
6627 Rename from desktop--saved-states; all users changed.
6628 (desktop-save-frames): Rename from desktop--save-frames.
6629 Do not save state to desktop file.
6630 (desktop-save): Save desktop-saved-frame-states to desktop file
6632 (desktop-restoring-frames-p): New function.
6633 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6634 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6635 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6637 * desktop.el: Correctly restore iconified frames.
6638 (desktop--filter-iconified-position): New function.
6639 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6641 2013-07-20 Glenn Morris <rgm@gnu.org>
6643 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6644 Let `message' do the formatting.
6645 (def-gdb-preempt-display-buffer): Add explicit format.
6647 * image-dired.el (image-dired-track-original-file):
6648 Use with-current-buffer.
6649 (image-dired-track-thumbnail): Use with-current-buffer.
6650 Avoid changing point of wrong window.
6652 * image-dired.el (image-dired-track-original-file):
6653 Avoid changing point of wrong window. (Bug#14909)
6655 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6657 * progmodes/gdb-mi.el (gdb-done-or-error):
6658 Guard against "%" in gdb output. (Bug#14127)
6660 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6662 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6665 * international/mule.el (coding-system-iso-2022-flags): Fix last
6668 2013-07-20 Kenichi Handa <handa@gnu.org>
6670 * international/mule.el (coding-system-iso-2022-flags):
6671 Add `8-bit-level-4'. (Bug#8522)
6673 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6675 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6678 * net/eww.el (eww-process-text-input): Allow inputting when the
6679 point is at the start of the line, as the properties aren't
6682 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6685 2013-07-19 Richard Stallman <rms@gnu.org>
6687 * epa.el (epa-popup-info-window): Doc fix.
6689 * subr.el (split-string): New arg TRIM.
6691 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6693 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6694 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6696 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6698 * filenotify.el (file-notify--library): Rename from
6699 `file-notify-support'. Do not autoload. Adapt all uses.
6700 (file-notify-supported-p): New defun.
6702 * autorevert.el (auto-revert-use-notify):
6703 Use `file-notify-supported-p' instead of `file-notify-support'.
6705 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6707 * net/tramp.el (tramp-file-name-for-operation):
6708 Add `file-notify-supported-p'.
6710 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6712 (tramp-sh-file-name-handler-alist): Add it as handler for
6713 `file-notify-supported-p '.
6715 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6716 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6717 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6718 Add `ignore' as handler for `file-notify-*' functions.
6720 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6722 * simple.el (line-move-partial, line-move): Don't start vscroll or
6723 scroll-up if the current line is not taller than the window.
6726 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6728 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6729 highlight question marks in the method names as strings.
6730 (ruby-block-beg-keywords): Inline.
6731 (ruby-font-lock-keyword-beg-re): Extract from
6732 `ruby-font-lock-keywords'.
6734 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6736 * frame.el (blink-cursor-blinks): New defcustom.
6737 (blink-cursor-blinks-done): New defvar.
6738 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6739 (blink-cursor-timer-function): Check if number of blinks has been
6741 (blink-cursor-suspend, blink-cursor-check): New defuns.
6743 2013-07-15 Glenn Morris <rgm@gnu.org>
6745 * edmacro.el (edmacro-format-keys): Fix previous change.
6747 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6749 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6750 The hack didn't work outside English locales anyway.
6752 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6754 * simple.el (define-alternatives): Rename from alternatives-define,
6755 per RMS' suggestion.
6757 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6759 * desktop.el (desktop-restore-frames): Change default to t.
6760 (desktop-restore-in-current-display): Now offer more options.
6761 (desktop-restoring-reuses-frames): New customization option.
6762 (desktop--saved-states): Doc fix.
6763 (desktop-filter-parameters-alist): New variable, renamed and expanded
6764 from desktop--excluded-frame-parameters.
6765 (desktop--target-display): New variable.
6766 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6767 (desktop--filter-tty*, desktop--filter-*-color)
6768 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6769 (desktop--filter-save-desktop-parm)
6770 (desktop-restore-in-original-display-p): New functions.
6771 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6772 (desktop--save-minibuffer-frames): New function, inspired by a similar
6773 function from Martin Rudalics.
6774 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6775 (desktop--restore-in-this-display-p): Remove.
6776 (desktop--find-frame): Rename from desktop--find-frame-in-display
6777 and add predicate argument.
6778 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6779 (desktop--reuse-list): New variable.
6780 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6782 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6784 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6786 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6788 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6790 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6791 Highlight conversion methods on Kernel.
6793 2013-07-13 Alan Mackenzie <acm@muc.de>
6795 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6796 and comment it out. This out-commenting enables certain C++
6797 declarations to be parsed correctly.
6799 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6801 * international/mule.el (define-coding-system): Doc fix.
6803 * simple.el (default-font-height): Don't call font-info if the
6804 frame's default font didn't change since the frame was created.
6807 2013-07-13 Leo Liu <sdl.web@gmail.com>
6809 * ido.el (ido-read-file-name): Guard against non-symbol value.
6811 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6813 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6816 2013-07-13 Leo Liu <sdl.web@gmail.com>
6818 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6819 ido-set-matches call. (Bug#6852)
6821 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6823 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6824 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6826 (ruby-font-lock-keywords): Distinguish calls to functions with
6827 module-like names from module references. Highlight character
6830 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6832 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6833 (gdb-send): Handle continued commands. (Bug#14847)
6835 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6837 * desktop.el (desktop--v2s): Remove unused local variable.
6838 (desktop-save-buffer): Make defvar-local; adjust docstring.
6839 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6840 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6842 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6844 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6846 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6848 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6851 2013-07-12 Glenn Morris <rgm@gnu.org>
6853 * doc-view.el: Require cl-lib at runtime too.
6854 (doc-view-remove-if): Remove.
6855 (doc-view-search-next-match, doc-view-search-previous-match):
6858 * edmacro.el: Require cl-lib at runtime too.
6859 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6860 (edmacro-mismatch, edmacro-subseq): Remove.
6862 * shadowfile.el: Require cl-lib.
6863 (shadow-remove-if): Remove.
6864 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6867 * wid-edit.el: Require cl-lib.
6868 (widget-choose): Use cl-remove-if.
6869 (widget-remove-if): Remove.
6871 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6872 (ebrowse-delete-if-not): Remove.
6873 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6874 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6875 Use cl-delete-if-not.
6877 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6879 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6880 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6882 2013-07-12 Leo Liu <sdl.web@gmail.com>
6884 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6886 2013-07-11 Glenn Morris <rgm@gnu.org>
6888 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6889 (edebug-gensym-index, edebug-gensym):
6890 Remove reimplementation of cl-gensym.
6891 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6893 * thumbs.el: Require cl-lib at run-time too.
6894 (thumbs-gensym-counter, thumbs-gensym):
6895 Remove reimplementation of cl-gensym.
6896 (thumbs-temp-file): Use cl-gensym.
6898 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6899 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6900 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6901 (ert--union, ert--gensym-counter, ert--gensym-counter)
6902 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6903 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6904 (ert-make-test-unbound, ert--expand-should-1)
6905 (ert--expand-should, ert--should-error-handle-error)
6906 (should-error, ert--explain-equal-rec)
6907 (ert--plist-difference-explanation, ert-select-tests)
6908 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6909 Use cl-lib functions rather than reimplementations.
6911 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6913 * net/tramp.el (tramp-methods): Extend docstring.
6914 (tramp-connection-timeout): New defcustom.
6915 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6916 (with-tramp-progress-reporter): Simplify.
6917 (tramp-process-actions): Improve messages.
6919 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6920 * net/tramp-sh.el (tramp-maybe-open-connection):
6921 Use `tramp-connection-timeout'.
6922 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6925 2013-07-11 Leo Liu <sdl.web@gmail.com>
6927 * ido.el (ido-read-file-name): Conform to the requirements of
6928 read-file-name. (Bug#11861)
6929 (ido-read-directory-name): Conform to the requirements of
6930 read-directory-name.
6932 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6934 * subr.el (delay-warning): New function.
6936 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6938 * simple.el (default-line-height): New function.
6939 (line-move-partial, line-move): Use it instead of computing the
6941 (line-move-partial): Always compute ROWH. If the last line is
6942 partially-visible, but its text is completely visible, allow
6943 cursor to enter such a partially-visible line.
6945 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6947 Improve error messages. (Bug#14808)
6949 * net/tramp.el (tramp-current-connection): New defvar, moved from
6951 (tramp-message-show-progress-reporter-message): Remove, not
6953 (tramp-error-with-buffer): Show message in minibuffer.
6954 Discard input before waiting. Reset connection timestamp.
6955 (with-tramp-progress-reporter): Improve messages.
6956 (tramp-process-actions): Use progress reporter. Delete process in
6957 case of error. Improve messages.
6959 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6960 Call `tramp-error-with-buffer' with vector and buffer.
6961 (tramp-current-connection): Remove.
6962 (tramp-maybe-open-connection): The car of
6963 `tramp-current-connection' are the first 3 slots of the vector.
6965 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6967 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6968 inside continued strings.
6970 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6972 Timestamp fixes for undo (Bug#14824).
6973 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6975 2013-07-10 Leo Liu <sdl.web@gmail.com>
6977 * files.el (require-final-newline): Allow safe local value.
6980 2013-07-09 Leo Liu <sdl.web@gmail.com>
6982 * ido.el (ido-read-directory-name): Handle fallback.
6983 (ido-read-file-name): Update DIR to ido-current-directory.
6985 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6987 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6989 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6990 "autoload". Remove "warn lower camel case" section, previously
6991 commented out. Highlight negation char. Do not highlight the
6992 target in singleton method definitions.
6994 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6996 * faces.el (tty-setup-hook): Declare the hook.
6998 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6999 and detect when a guard/pred depends on local vars (bug#14773).
7000 (pcase--u1): Adjust caller.
7002 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7004 * simple.el (line-move-partial, line-move): Account for
7006 (line-move-partial): Avoid setting vscroll when the last
7007 partially-visible line in window is of default height.
7009 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7011 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7014 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7016 * subr.el (read-quoted-char): Remove unused local variable `char'.
7018 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7020 * ediff.el (ediff-version): Version update.
7021 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7022 (ediff-merge-with-ancestor-command, ediff-directories-command)
7023 (ediff-directories3-command, ediff-merge-directories-command)
7024 (ediff-merge-directories-with-ancestor-command): New functions.
7025 All are command-line interfaces to ediff: to facilitate calling
7026 Emacs with the appropriate ediff functions invoked.
7028 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7029 (viper-save-kill-buffer): Check if buffer is modified.
7031 * viper.el (viper-version): Version update.
7032 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7034 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7036 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7037 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7038 (viper-intercept-ESC-key): Simplify.
7039 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7040 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7041 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7042 (viper-setup-ESC-to-escape): New functions.
7043 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7044 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7046 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7048 * simple.el (default-font-height, window-screen-lines):
7050 (line-move, line-move-partial): Use them instead of
7051 frame-char-height and window-text-height. This makes scrolling
7052 text smoother when the buffer's default face uses a font that is
7053 different from the frame's default font.
7055 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7057 * files.el (write-file): Do not display confirm dialog for NS,
7058 it does its own dialog, which can't be cancelled (Bug#14578).
7060 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7062 * simple.el (line-move-partial): Adjust the row returned by
7063 posn-at-point for the current window-vscroll. (Bug#14567)
7065 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7067 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7068 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7071 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7073 * window.el (window-state-put-stale-windows): New variable.
7074 (window--state-put-2): Save list of windows without matching buffer.
7075 (window-state-put): Remove "bufferless" windows if possible.
7077 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7079 * simple.el (alternatives-define): Remove leftover :group keyword.
7082 2013-07-06 Leo Liu <sdl.web@gmail.com>
7084 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7085 (ido-enable-virtual-buffers): New variable.
7086 (ido-buffer-internal, ido-toggle-virtual-buffers)
7087 (ido-make-buffer-list): Use it.
7088 (ido-exhibit): Support turning on and off virtual buffers
7091 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7093 * simple.el (alternatives-define): New macro.
7095 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7097 * subr.el (read-quoted-char): Use read-key.
7098 (sit-for): Let read-event decode tty input (bug#14782).
7100 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7102 * calendar/todo-mode.el: Add handling of file deletion, both by
7103 mode command and externally. Fix various related bugs.
7104 Clarify Commentary and improve some documentation strings and code.
7105 (todo-delete-file): New command.
7106 (todo-check-file): New function.
7107 (todo-show): Handle external deletion of the file we're trying to
7108 show (bug#14688). Replace called-interactively-p by an optional
7109 prefix argument to avoid problematic interaction with catch form
7110 when byte compiled (bug#14702).
7111 (todo-quit): Handle external deletion of the archive's todo file.
7112 Make sure the buffer that was visiting the archive file is still
7113 live before trying to bury it.
7114 (todo-category-completions): Handle external deletion of any
7115 category completion files.
7116 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7117 of todo files, in case of external deletion.
7118 (todo-add-file): Replace unnecessary setq by let-binding.
7119 (todo-find-archive): Check whether there are any archives.
7120 Replace unnecessary setq by let-binding.
7121 (todo-archive-done-item): Use find-file-noselect to get the
7122 archive buffer whether or not the archive already exists.
7123 Remove superfluous code. Use file size instead of buffer-file-name to
7124 check if the archive is new; if it is, update list of archives.
7125 (todo-default-todo-file): Allow nil to be a valid value for when
7126 there are no todo files.
7127 (todo-reevaluate-default-file-defcustom): Use corrected definition
7128 of todo-default-todo-file.
7129 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7130 (todo-delete-category, todo-show-categories-table)
7131 (todo-category-number): Clarify comment.
7132 (todo-filter-items): Clarify documentation string.
7133 (todo-show-current-file, todo-display-as-todo-file)
7134 (todo-reset-and-enable-done-separator): Tweak documentation string.
7135 (todo-done-separator): Make separator length window-width, since
7136 bug#2749 is now fixed.
7138 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7140 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7141 Support both "gvfs-monitor-dir" and "inotifywait".
7142 (tramp-sh-file-inotifywait-process-filter): Rename from
7143 `tramp-sh-file-notify-process-filter'.
7144 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7145 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7147 2013-07-05 Leo Liu <sdl.web@gmail.com>
7149 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7151 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7153 * frame.el (display-pixel-height, display-pixel-width)
7154 (display-mm-height, display-mm-width): Mention behavior on
7155 multi-monitor setups in docstrings.
7156 (w32-display-monitor-attributes-list): Declare function.
7157 (display-monitor-attributes-list): Use it.
7159 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7161 * filenotify.el: New package.
7163 * autorevert.el (top): Require filenotify.el.
7164 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7166 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7167 (auto-revert-notify-handler): Use `file-notify-*' functions.
7169 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7171 * net/tramp.el (tramp-file-name-for-operation):
7172 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7174 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7175 for `file-notify-add-watch' and `file-notify-rm-watch'.
7176 (tramp-process-sentinel): Improve trace.
7177 (tramp-sh-handle-file-notify-add-watch)
7178 (tramp-sh-file-notify-process-filter)
7179 (tramp-sh-handle-file-notify-rm-watch)
7180 (tramp-get-remote-inotifywait): New defuns.
7182 2013-07-03 Juri Linkov <juri@jurta.org>
7184 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7185 call of `occur-read-primary-args' to interactive spec.
7187 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7188 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7190 2013-07-03 Matthias Meulien <orontee@gmail.com>
7192 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7193 `Buffer-menu-multi-occur'. Add it to the menu.
7194 (Buffer-menu-mode): Document it in docstring.
7195 (Buffer-menu-multi-occur): New command. (Bug#14673)
7197 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7199 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7200 keywords and built-ins.
7202 2013-07-03 Glenn Morris <rgm@gnu.org>
7204 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7206 Make info-xref checks case-sensitive by default
7207 * info.el (Info-find-node, Info-find-in-tag-table)
7208 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7209 Add option for exact case matching of nodes.
7210 * info-xref.el (info-xref): New custom group.
7211 (info-xref-case-fold): New option.
7212 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7214 2013-07-03 Leo Liu <sdl.web@gmail.com>
7216 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7218 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7220 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7221 middle of block statement initially, lower the depth. Remove
7222 FIXME comment, not longer valid. Remove middle of block statement
7223 detection, no need to do that anymore since we've been using
7224 `ruby-parse-region' here.
7226 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7228 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7230 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7232 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7234 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7236 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7237 (desktop-restore-in-current-display): New customization option.
7238 (desktop--excluded-frame-parameters): Add `font'.
7239 (desktop--save-frames): Rename from desktop--save-windows.
7240 (desktop--restore-in-this-display-p): New function.
7241 (desktop--make-full-frame): Remove unwanted width/height from
7242 full(width|height) frames.
7243 (desktop--restore-frames): Rename from desktop--restore-windows.
7244 Obey desktop-restore-current-display. Do not delete old frames or
7245 select a new frame unless we were able to restore at least one frame.
7247 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7249 * files.el (find-file-noselect): Simplify conditional expression.
7251 * remember.el (remember-append-to-file):
7252 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7254 Add `remember-notes' function to store random notes across Emacs
7256 * remember.el (remember-data-file): Add :set callback to affect
7257 notes buffer (if any).
7258 (remember-notes): New command.
7259 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7260 New defcustoms for the `remember-notes' function.
7261 (remember-notes-save-and-bury-buffer): New command.
7262 (remember-notes-mode-map): New variable.
7263 (remember-mode): New minor mode.
7264 (remember-notes--kill-buffer-query): New function.
7265 * startup.el (initial-buffer-choice): Add notes to custom type.
7267 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7269 * bindings.el (right-char, left-char): Don't call sit-for, this is
7270 no longer needed. Use arithmetic comparison only for numerical
7273 * international/mule-cmds.el (select-safe-coding-system):
7274 Handle the case of FROM being a string correctly. (Bug#14755)
7276 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7278 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7279 progression on degenerate tables.
7280 (shr-rescale-image): ImageMagick animated images currently don't work.
7282 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7284 Some fixes and improvements for desktop frame restoration.
7285 It is still experimental and disabled by default.
7286 * desktop.el (desktop--save-windows): Put the selected frame at
7287 the head of the list.
7288 (desktop--make-full-frame): New function.
7289 (desktop--restore-windows): Try to re-select the frame that was
7290 selected upon saving. Do not abort if some frames fail to restore,
7291 just show an error message and continue. Set up maximized frames
7292 so they have default non-maximized dimensions.
7294 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7296 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7297 Don't start heredoc inside a string or comment.
7299 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7301 * bindings.el (visual-order-cursor-movement): New defcustom.
7302 (right-char, left-char): Provide visual-order cursor motion by
7303 calling move-point-visually. Update the doc strings.
7305 2013-06-28 Kenichi Handa <handa@gnu.org>
7307 * international/mule.el (define-coding-system): New coding system
7308 properties :inhibit-null-byte-detection,
7309 :inhibit-iso-escape-detection, and :prefer-utf-8.
7310 (set-buffer-file-coding-system): If :charset-list property of
7311 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7312 appropriate for setting.
7314 * international/mule-cmds.el (select-safe-coding-system):
7315 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7316 multibyte characters, return utf-8 (or one of its siblings).
7318 * international/mule-conf.el (prefer-utf-8): New coding system.
7319 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7322 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7324 * net/shr.el (shr-render-region): New function.
7326 * net/eww.el: Autoload `eww-browse-url'.
7328 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7330 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7331 Adapt to `package-desc-version' being a list.
7332 Use `package--ac-desc-version' to retrieve version from a package
7335 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7337 New experimental feature to save&restore window and frame setup.
7338 * desktop.el (desktop-save-windows): New defcustom.
7339 (desktop--saved-states): New var.
7340 (desktop--excluded-frame-parameters): New defconst.
7341 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7342 (desktop--restore-windows, desktop--save-windows): New functions.
7343 (desktop-save): Call `desktop--save-windows'.
7344 (desktop-read): Call `desktop--restore-windows'.
7346 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7348 * net/shr.el (add-face-text-property): Remove compat definition.
7350 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7352 * info.el (Info-try-follow-nearest-node): Move search for footnote
7353 above search for node name to prevent missing a footnote (bug#14717).
7355 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7357 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7359 2013-06-27 Leo Liu <sdl.web@gmail.com>
7361 * net/eww.el (eww-read-bookmarks): Check file size.
7363 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7365 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7366 advice--pending if newdef is nil or an autoload (bug#13820).
7367 (advice-mapc): New function.
7369 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7371 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7373 (eww-mode-map): Add a menu bar.
7374 (eww-add-bookmark): New command.
7375 (eww-bookmark-mode): New mode and commands.
7376 (eww-add-bookmark): Remove newlines from the title.
7377 (eww-bookmark-browse): Don't bug out if it's the only window.
7379 2013-06-26 Glenn Morris <rgm@gnu.org>
7381 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7382 (hfy-size): Handle ttys. (Bug#14668)
7384 * info-xref.el: Update for Texinfo 5 change in *note format.
7385 (info-xref-node-re, info-xref-note-re): New constants.
7386 (info-xref-check-buffer): Use info-xref-note-re.
7388 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7390 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7392 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7393 nil terminate the loop (bug#14718).
7395 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7397 * net/eww.el: Rework history traversal. When going forward/back,
7398 put these actions into the history, too, so that they can be
7400 (eww-render): Move the history reset to the correct buffer.
7402 2013-06-25 Juri Linkov <juri@jurta.org>
7404 * files-x.el (modify-dir-local-variable): Change the header comment
7405 in the file with directory local variables. (Bug#14692)
7407 * files-x.el (read-file-local-variable-value): Add `default'.
7410 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7412 * net/eww.el (eww-make-unique-file-name): Create a unique file
7413 name before saving to entering `y' accidentally asynchronously.
7415 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7417 * net/eww.el (eww-download): New command and keystroke.
7419 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7421 * net/eww.el (eww-copy-page-url): Change name of command.
7423 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7424 be more consistent with Info and dired.
7426 * net/eww.el (eww-mode-map): Ditto.
7428 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7430 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7431 packages from archives.
7432 (package-archive-contents): Change format; include obsolete packages.
7433 (package-desc): Use `dir' to mark builtin packages.
7434 (package--from-builtin): Set the `dir' field to `builtin'.
7435 (generated-autoload-file, version-control): Declare.
7436 (package-compute-transaction): Change first arg and return value to be
7437 lists of package-descs. Adjust to new package-archive-contents format.
7438 (package--add-to-archive-contents): Adjust to new
7439 package-archive-contents format.
7440 (package-download-transaction): Arg is now a list of package-descs.
7441 (package-install): If `pkg' is a package name, pass it as
7442 a requirement, so it is subject to the usual (e.g. disabled) checks.
7443 (describe-package): Accept package-desc as well.
7444 (describe-package-1): Describe a specific package-desc. Add links to
7445 other package-descs for the same package name.
7446 (package-menu-describe-package): Pass the actual package-desc.
7447 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7449 (package-desc-status): New function.
7450 (package-menu--refresh): New function, extracted
7451 from package-menu--generate.
7452 (package-menu--generate): Use it.
7453 (package-delete): Update package-alist.
7454 (package-menu-execute): Don't call package-initialize.
7456 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7457 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7458 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7459 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7460 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7461 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7463 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7465 * window.el (window--state-get-1): Workaround for bug#14527.
7466 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7468 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7470 * net/eww.el (eww-back-url): Implement the history by stashing all
7471 the data into a list.
7472 (eww-forward-url): Allow going forward in the history, too.
7474 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7476 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7477 for values and use read--expression for expressions (bug#14710).
7478 (read-file-local-variable): Avoid setq.
7479 (read-file-local-variable-mode): Use minor-mode-list.
7481 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7483 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7486 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7488 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7489 Update imenu-support when dialect changes.
7491 2013-06-25 Leo Liu <sdl.web@gmail.com>
7493 * ido.el (ido-read-internal): Allow forward slash on windows.
7495 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7497 * net/eww.el (eww): Start of strings is \\`, not ^.
7499 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7501 * net/shr.el (shr-browse-url): Fix interactive spec.
7503 * net/eww.el (eww): Add a trailing slash to domain names.
7505 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7507 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7509 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7511 * net/shr.el (shr-browse-url): Use an external browser if given a
7514 * net/eww.el (eww-external-browser): Move to shr.
7516 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7518 * net/eww.el (eww): Work more correctly for file: URLs.
7519 (eww-detect-charset): Allow quoted charsets.
7520 (eww-yank-page-url): New command and keystroke.
7522 2013-06-24 Daiki Ueno <ueno@gnu.org>
7524 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7525 file name of gpg executable.
7526 (epg-context-program): New function.
7527 (epg-context-home-directory): New function.
7528 (epg-context-set-program): New function.
7529 (epg-context-set-home-directory): New function.
7530 (epg--start): Use `epg-context-program' instead of
7532 (epg--list-keys-1): Likewise.
7534 2013-06-24 Leo Liu <sdl.web@gmail.com>
7536 * ido.el (ido-read-internal): Fix bug#14620.
7538 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7540 * faces.el (face-documentation): Simplify.
7541 (read-face-attribute, tty-find-type, x-resolve-font-name):
7542 Use `string-match-p'.
7543 (list-faces-display): Use `string-match-p'. Simplify.
7544 (face-spec-recalc): Check face to avoid face alias loops.
7545 (read-color): Use `string-match-p' and non-capturing parenthesis.
7547 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7549 * net/shr.el (shr-rescale-image): Use the new
7550 :max-width/:max-height functionality.
7552 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7554 * net/eww.el (eww-search-prefix): New variable.
7556 (eww-external-browser): New variable.
7557 (eww-mode-map): New keystroke.
7558 (eww-browse-with-external-browser): New command.
7560 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7562 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7564 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7565 Don't skip aligning the next header field when padding is 0;
7566 otherwise, field width is not respected unless the title is as
7569 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7571 * emacs-lisp/package.el (package-el-version): Remove.
7572 (package-process-define-package): Fix inf-loop.
7573 (package-install): Allow symbols as arguments again.
7575 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7577 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7578 add some more keyword-like methods.
7579 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7581 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7583 * bs.el (bs-buffer-show-mark): Make defvar-local.
7584 (bs-mode): Use setq-local.
7586 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7587 (emacs-lock--try-unlocking): Make defvar-local.
7589 2013-06-22 Glenn Morris <rgm@gnu.org>
7591 * play/cookie1.el (cookie-apropos): Minor simplification.
7593 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7595 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7597 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7598 `regexp-opt', it breaks the build during dumping.
7600 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7602 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7603 Highlight keyword-like methods on Kernel and Module with
7604 font-lock-builtin-face.
7605 (auto-mode-alist): Consolidate different entries into one regexp
7606 and add more *file-s.
7608 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7610 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7612 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7613 (diary-entry): Use it in the action of this button type instead of
7616 * calendar/todo-mode.el: New version.
7617 (todo-add-category): Append new category to end of file and give
7618 it the highest number, instead of putting it at the beginning and
7619 giving it 0. Incorporate noninteractive functionality.
7620 (todo-forward-category): Adapt to 1-based category numbering.
7621 Allow skipping over archived categories.
7622 (todo-backward-category): Derive from todo-forward-category.
7623 (todo-backward-item, todo-forward-item): Make noninteractive and
7624 delegate interactive part to new commands. Make sensitive to done items.
7625 (todo-categories): Make value an alist of category names and
7626 vectors of item counts.
7627 (todo-category-beg): Make a defconst.
7628 (todo-category-number): Use 1 instead of 0 as initial value.
7629 (todo-category-select): Make sensitive to overlays, optional item
7630 highlighting and done items.
7631 (todo-delete-item): Make sensitive to overlays and marked and done items.
7632 (todo-edit-item): Make sensitive to overlays and editing of
7633 date/time header optional. Add format checks.
7634 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7635 no-op if point is not on an item. Advertise using todo-edit-quit.
7636 (todo-edit-mode): Make sensitive to new format, font-locking, and
7637 multiple todo files.
7638 (todo-insert-item, todo-insert-item-here): Derive from
7639 todo-basic-insert-item and extend functionality.
7640 (todo-item-end, todo-item-start): Make sensitive to done items.
7641 (todo-item-string): Don't return text properties. Restore point.
7642 (todo-jump-to-category): Make sensitive to multiple todo files and
7643 todo archives. Use extended category completion.
7644 (todo-lower-item, todo-raise-item): Rename to *-priority and
7645 derive from todo-set-item-priority.
7646 (todo-mode): Derive from special-mode. Make sensitive to new
7647 format, font-locking and multiple todo files. Make read-only.
7648 (todo-mode-map): Don't suppress digit keys, so they can supply
7649 prefix arguments. Add many new key bindings.
7650 (todo-prefix): Insert as an overlay instead of file text.
7651 Change semantics from diary date expression to purely visual mark.
7652 (todo-print): Rename to todo-print-buffer. Make buffer display
7653 features printable. Remove option to restrict number of items
7654 printed. Add option to print to file.
7655 (todo-print-function): Rename to todo-print-buffer-function.
7656 (todo-quit): Extend to handle exiting new todo modes.
7657 (todo-remove-item): Make sensitive to overlays.
7658 (todo-save): Extend to buffers of filtered items.
7659 (todo-show): Make sensitive to done items, multiple todo files and
7660 new todo modes. Offer to convert legacy todo file before creating
7661 first new todo file.
7662 (todo-show-priorities): Rename to todo-top-priorities.
7663 Change semantics of value 0.
7664 (todo-top-priorities): Rename to todo-filter-top-priorities,
7665 derive from todo-filter-items and extend functionality.
7666 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7667 and extend functionality to other types of filtered items.
7668 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7669 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7670 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7671 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7672 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7673 (todo-edit-mode-hook, todo-entry-prefix-function)
7674 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7675 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7676 (todo-initials, todo-insert-threshold, todo-item-string-start)
7677 (todo-line-string, todo-menu, todo-mode-hook)
7678 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7679 (todo-print-priorities, todo-remove-separator)
7680 (todo-save-top-priorities-too, todo-string-count-lines)
7681 (todo-string-multiline-p, todo-time-string-format)
7682 (todo-tmp-buffer-name): Remove.
7683 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7684 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7685 (todo-edit-category-diary-inclusion)
7686 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7687 (todo-edit-file, todo-edit-item-date-day)
7688 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7689 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7690 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7691 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7692 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7693 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7694 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7695 (todo-filter-top-priorities-multifile, todo-find-archive)
7696 (todo-find-filtered-items-file, todo-go-to-source-item)
7697 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7698 (todo-jump-to-archive-category, todo-lower-category)
7699 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7700 (todo-move-category, todo-move-item, todo-next-button)
7701 (todo-next-item, todo-padded-string, todo-powerset)
7702 (todo-previous-button, todo-previous-item)
7703 (todo-print-buffer-to-file, todo-raise-category)
7704 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7705 (todo-set-category-number, todo-set-item-priority)
7706 (todo-set-top-priorities-in-category)
7707 (todo-set-top-priorities-in-file, todo-show-categories-table)
7708 (todo-sort-categories-alphabetically-or-numerically)
7709 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7710 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7711 (todo-toggle-item-header, todo-toggle-item-highlighting)
7712 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7713 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7714 (todo-unarchive-items, todo-unmark-category): New commands.
7715 (todo-absolute-file-name, todo-add-to-buffer-list)
7716 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7717 (todo-basic-insert-item, todo-category-completions)
7718 (todo-category-number, todo-category-string-matcher-1)
7719 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7720 (todo-check-format, todo-clear-matches)
7721 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7722 (todo-current-category, todo-date-string-matcher)
7723 (todo-define-insertion-command, todo-diary-expired-matcher)
7724 (todo-diary-goto-entry, todo-diary-item-p)
7725 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7726 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7727 (todo-done-item-section-p, todo-done-separator)
7728 (todo-done-string-matcher, todo-files, todo-filter-items)
7729 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7730 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7731 (todo-insert-category-line, todo-insert-item-from-calendar)
7732 (todo-insert-sort-button, todo-insert-with-overlays)
7733 (todo-insertion-command-name, todo-insertion-key-bindings)
7734 (todo-label-to-key, todo-longest-category-name-length)
7735 (todo-make-categories-list, todo-mode-external-set)
7736 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7737 (todo-modes-set-3, todo-multiple-filter-files)
7738 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7739 (todo-read-category, todo-read-date, todo-read-dayname)
7740 (todo-read-file-name, todo-read-time)
7741 (todo-reevaluate-category-completions-files-defcustom)
7742 (todo-reevaluate-default-file-defcustom)
7743 (todo-reevaluate-filelist-defcustoms)
7744 (todo-reevaluate-filter-files-defcustom)
7745 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7746 (todo-reset-done-separator, todo-reset-done-separator-string)
7747 (todo-reset-done-string, todo-reset-global-current-todo-file)
7748 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7749 (todo-reset-prefix, todo-set-categories)
7750 (todo-set-date-from-calendar, todo-set-show-current-file)
7751 (todo-set-top-priorities, todo-short-file-name)
7752 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7753 (todo-total-item-counts, todo-update-buffer-list)
7754 (todo-update-categories-display, todo-update-categories-sexp)
7755 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7757 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7759 (todo-categories, todo-display, todo-edit, todo-faces)
7760 (todo-filtered): New defgroups.
7761 (todo-archived-only, todo-button, todo-category-string, todo-date)
7762 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7763 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7764 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7765 (todo-add-item-if-new-category, todo-always-add-time-string)
7766 (todo-categories-align, todo-categories-archived-label)
7767 (todo-categories-category-label, todo-categories-diary-label)
7768 (todo-categories-done-label, todo-categories-number-separator)
7769 (todo-categories-todo-label, todo-categories-totals-label)
7770 (todo-category-completions-files, todo-completion-ignore-case)
7771 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7772 (todo-done-separator-string, todo-done-string)
7773 (todo-files-function, todo-filter-done-items, todo-filter-files)
7774 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7775 (todo-initial-category, todo-initial-file, todo-item-mark)
7776 (todo-legacy-date-time-regexp, todo-mode-line-function)
7777 (todo-nondiary-marker, todo-number-prefix)
7778 (todo-print-buffer-function, todo-show-current-file)
7779 (todo-show-done-only, todo-show-first, todo-show-with-done)
7780 (todo-skip-archived-categories, todo-top-priorities-overrides)
7781 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7782 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7784 (todo-category-done, todo-date-pattern, todo-date-string-start)
7785 (todo-diary-items-buffer, todo-done-string-start)
7786 (todo-filtered-items-buffer, todo-item-start)
7787 (todo-month-abbrev-array, todo-month-name-array)
7788 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7789 (todo-top-priorities-buffer): New defconsts.
7790 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7791 (todo-categories-with-marks, todo-category-string-face)
7792 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7793 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7794 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7795 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7796 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7797 (todo-font-lock-keywords, todo-global-current-todo-file)
7798 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7799 (todo-insertion-commands-args)
7800 (todo-insertion-commands-args-genlist)
7801 (todo-insertion-commands-names, todo-insertion-map)
7802 (todo-key-bindings-t, todo-key-bindings-t+a)
7803 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7804 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7805 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7806 (todo-visited): New variables.
7808 2013-06-21 Glenn Morris <rgm@gnu.org>
7810 * play/cookie1.el (cookie-apropos): Add optional display argument.
7811 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7812 (psychoanalyze-pinhead): Use cookie-doctor.
7814 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7816 * emacs-lisp/package.el (tar-get-file-descriptor)
7817 (tar--extract): Declare.
7819 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7821 Extend flymake's warning predicate to be a function (bug#14217).
7822 * progmodes/flymake.el (flymake-warning-predicate): New.
7823 (flymake-parse-line): Use it.
7824 (flymake-warning-re): Make obsolete alias to
7825 `flymake-warning-predicate'.
7827 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7829 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7830 (package-obsolete-list): Remove.
7831 (package-activate): Remove min-version argument. Add `force' argument.
7832 Adjust to new package-alist format.
7833 (package-mark-obsolete): Remove.
7834 (package-unpack): Force reload of the package's autoloads.
7835 (package-installed-p): Check builtins if the installed package is not
7837 (package-initialize): Don't reset package-obsolete-list.
7838 Don't specify which package version to activate.
7839 (package-process-define-package, describe-package-1)
7840 (package-menu--generate): Adjust to new package-alist format.
7842 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7844 * allout-widgets.el (allout-widgets-mode-off)
7845 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7846 (allout-widgets-post-command-business)
7847 (allout-widgets-after-copy-or-kill-function)
7848 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7849 (allout-decorate-item-and-context)
7850 (allout-graphics-modification-handler): Fix typos in docstrings.
7851 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7853 * cmuscheme.el (scheme-start-file): Doc fix.
7854 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7855 (scheme-input-filter): Use `string-match-p'.
7857 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7859 * dired-x.el: Use Dired consistently in docstrings.
7861 * dired.el: Use Dired consistently in docstrings.
7862 (dired-readin, dired-mode): Use `setq-local'.
7863 (dired-switches-alist): Make defvar-local.
7864 (dired-buffers-for-dir): Use `zerop'.
7865 (dired-safe-switches-p, dired-switches-escape-p)
7866 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7867 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7868 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7869 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7870 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7871 (dired-toggle-marks, dired-mark-files-containing-regexp)
7872 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7873 (dired-flag-auto-save-files, dired-flag-backup-files):
7875 (dired-mark-files-regexp, dired-build-subdir-alist):
7876 Use `string-match-p', `looking-at-p'.
7878 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7879 (direct-print-region-helper): Use `string-match-p'.
7881 2013-06-21 Leo Liu <sdl.web@gmail.com>
7883 * comint.el (comint-redirect-results-list-from-process):
7886 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7888 * net/eww.el (eww-update-header-line-format): Quote % characters.
7890 2013-06-21 Glenn Morris <rgm@gnu.org>
7892 * play/cookie1.el (cookie): New custom group.
7893 (cookie-file): New option.
7894 (cookie-check-file): New function.
7895 (cookie): Make it interactive. Make start and end messages optional.
7896 Interactively, display the result. Default to cookie-file.
7897 (cookie-insert): Default to cookie-file.
7898 (cookie-snarf): Make start and end messages optional.
7899 Default to cookie-file. Use with-temp-buffer.
7900 (cookie-read): Rename from read-cookie.
7901 Make start and end messages optional. Default to cookie-file.
7902 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7904 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7905 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7907 2013-06-21 Leo Liu <sdl.web@gmail.com>
7909 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7911 2013-06-21 Glenn Morris <rgm@gnu.org>
7913 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7915 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7916 Daniel Hackney <dan@haxney.org>
7918 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7919 Consolidate the single-file vs tarball code.
7920 (package-desc-suffix): New function.
7921 (package-desc-full-name): Don't bother inlining it.
7922 (package-load-descriptor): Return the new package-desc.
7923 (package-mark-obsolete): Remove unused arg `package'.
7924 (package-unpack): Make it work for single files as well.
7925 Make it update package-alist.
7926 (package--make-autoloads-and-stuff): Rename from
7927 package--make-autoloads-and-compile. Don't compile any more.
7928 (package--compile): New function.
7929 (package-generate-description-file): New function, extracted from
7930 package-unpack-single.
7931 (package-unpack-single): Remove.
7932 (package--with-work-buffer): Add indentation and debugging info.
7933 (package-download-single): Remove.
7934 (package-install-from-archive): Rename from package-download-tar, make
7935 it take a pkg-desc, and make it work for single files as well.
7936 (package-download-transaction): Simplify.
7937 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7938 external tar program.
7939 (package-install-from-buffer): Remove `pkg-desc' argument.
7940 Use package-tar-file-info for tar-mode buffers.
7941 (package-install-file): Simplify accordingly.
7942 (package-archive-base): Change to take a pkg-desc.
7943 * tar-mode.el (tar--check-descriptor): New function, extracted from
7945 (tar-get-descriptor): Use it.
7946 (tar-get-file-descriptor): New function.
7947 (tar--extract): New function, extracted from tar-extract.
7948 (tar--extract): Use it.
7949 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7950 case the summary uses non-ascii. Adjust to new calling convention of
7951 package-tar-file-info.
7953 2013-06-21 Leo Liu <sdl.web@gmail.com>
7955 * comint.el (comint-redirect-results-list-from-process):
7956 Fix random delay. (Bug#14681)
7958 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7960 * profiler.el (profiler-format-number): Use log, not log10.
7962 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7964 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7966 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7968 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7969 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7971 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7972 (AUTOGENEL): ... here.
7973 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7974 (cl--defsubst-expand): Use it.
7976 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7978 * subr.el (log10): Move here from C code, and declare as obsolete.
7979 All uses of (log10 X) replaced with (log X 10).
7981 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7983 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7984 Declare with `defvar-local'.
7985 (tabulated-list-use-header-line, tabulated-list-entries)
7986 (tabulated-list-padding, tabulated-list-printer)
7987 (tabulated-list-sort-key): Declare with `defvar-local'.
7988 (tabulated-list-init-header, tabulated-list-print-fake-header):
7991 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7993 * arc-mode.el (archive-mode): Add `archive-write-file' to
7994 `write-contents-functions' also for remote files. (Bug#14652)
7996 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7998 * cus-edit.el (custom-commands): Fix typos.
7999 (custom-display): Fix tooltip text.
8000 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8001 Fix typos in docstrings.
8002 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8003 (custom-unlispify-menu-entry, custom-magic-value-create)
8004 (custom-add-see-also, custom-group-value-create): Use ?\s.
8005 (custom-guess-type, customize-apropos, editable-field)
8006 (custom-face-value-create): Use `string-match-p'.
8007 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8009 * custom.el (custom-load-symbol): Use `string-match-p'.
8011 * ansi-color.el: Convert to lexical binding.
8012 (ansi-colors): Fix URL.
8013 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8014 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8015 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8017 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8019 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8021 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8023 2013-06-19 Tom Tromey <tromey@redhat.com>
8025 * net/eww.el (eww-top-url): Remove.
8026 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8027 (eww-render): Set new variables. Don't set eww-top-url.
8028 (eww-handle-link): Handle "prev", "home", and "contents".
8029 Downcase the rel text.
8030 (eww-top-url): Choose best top URL.
8032 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8034 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8035 relying in widget.el. Using widget.el leads to too many
8036 user interface inconsistencies.
8037 (eww-self-insert): Implement entering commands in text fields.
8038 (eww-process-text-input): New function to make text input field editing
8040 (eww-submit): Rewrite to use the new-style form methods.
8041 (eww-select-display): Display the correct selected item.
8042 (eww-change-select): Implement changing the select value.
8043 (eww-toggle-checkbox): Implement radio/checkboxes.
8044 (eww-update-field): Fix compilation error.
8045 (eww-tag-textarea): Implement <textarea>.
8047 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8048 we don't shadow mode-specific bindings.
8050 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8053 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8055 2013-06-19 Glenn Morris <rgm@gnu.org>
8057 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8059 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8061 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8064 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8066 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8068 * net/browse-url.el (browse-url-browser-function):
8069 `eww-browse-url' has the right calling signature, `eww' does not.
8071 2013-06-19 Glenn Morris <rgm@gnu.org>
8073 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8074 Only eval autoloaded macros.
8075 (byte-compile-autoload): Only give the macro warning for macros.
8077 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8078 (ps-underlined-faces): Declare.
8080 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8081 (speedbar-add-supported-extension): Declare.
8083 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8084 Don't include a date stamp in the header of the generated file;
8085 it leads to needless differences between output files.
8087 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8089 * net/secrets.el (secrets-struct-secret-content-type):
8090 Replace check of introspection data by a test call of "CreateItem".
8091 Some servers do not offer introspection.
8093 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8095 * electric.el (electric-pair-mode): Improve interaction with
8096 electric-layout-mode.
8097 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8098 (electric-pair-syntax): Use text-mode-syntax-table in comments
8100 (electric-pair--insert): New function.
8101 (electric-pair-post-self-insert-function): Use it and
8102 electric--after-char-pos.
8104 2013-06-19 Leo Liu <sdl.web@gmail.com>
8106 * progmodes/octave.el (octave-help): Fix regexp.
8108 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8110 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8111 (shr-table-horizontal-line): Allow nil as a value, and change the
8113 (shr-insert-table-ruler): Respect the nil value.
8115 2013-06-18 Tom Tromey <tromey@barimba>
8117 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8119 (eww-open-file): New defun.
8120 (eww-render): Initialize new variables.
8121 (eww-display-html): Handle "link" and "a".
8122 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8123 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8124 (eww-back-url): Rename from eww-previous-url.
8125 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8128 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8130 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8131 Distinguish ternary operator tokens from slash symbol and slash
8134 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8136 Convert symbol prettification into minor mode and global minor mode.
8138 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8139 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8140 (prettify-symbols--keywords): Rename from
8141 `prog-prettify-symbols-alist' and make a local defvar.
8142 (prettify-symbols--compose-symbol): Rename from
8143 `prog--prettify-font-lock-compose-symbol'.
8144 (prettify-symbols--make-keywords): Rename from
8145 `prog-prettify-font-lock-symbols-keywords' and simplify.
8146 (prog-prettify-install): Remove.
8147 (prettify-symbols-mode): New minor mode, based on
8148 `prog-prettify-install'.
8149 (turn-on-prettify-symbols-mode): New function.
8150 (global-prettify-symbols-mode): New globalized minor mode.
8152 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8153 * progmodes/cfengine.el (cfengine3-mode):
8154 * progmodes/perl-mode.el (perl-mode): Don't call
8155 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8157 2013-06-18 Juri Linkov <juri@jurta.org>
8159 * files-x.el (modify-file-local-variable-message): New function.
8160 (modify-file-local-variable)
8161 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8162 and call `modify-file-local-variable-message' when it's non-nil.
8163 (add-file-local-variable, delete-file-local-variable)
8164 (add-file-local-variable-prop-line)
8165 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8166 and use it. (Bug#9820)
8168 2013-06-18 Juri Linkov <juri@jurta.org>
8170 * emulation/vi.el (vi-shell-op):
8171 * emulation/vip.el (vip-execute-com, ex-command):
8172 * emulation/viper-cmd.el (viper-exec-bang):
8173 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8174 the call of `shell-command-on-region'. (Bug#14637)
8176 * simple.el (shell-command-on-region): Doc fix.
8178 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8180 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8183 2013-06-18 Glenn Morris <rgm@gnu.org>
8185 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8187 * newcomment.el (comment-search-forward, comment-search-backward):
8188 Doc fix. (Bug#14376)
8190 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8192 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8193 (buffer-face-mode-invoke): Doc fix.
8195 2013-06-18 Matthias Meulien <orontee@gmail.com>
8197 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8198 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8200 2013-06-18 Glenn Morris <rgm@gnu.org>
8202 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8203 Replace obsolete function generic-make-keywords with its expansion.
8205 * progmodes/python.el (ffap-alist): Declare.
8207 * textmodes/reftex.el (bibtex-mode-map): Declare.
8209 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8211 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8212 (package-unpack, package-unpack-single): Return the pkg-dir.
8213 (package-download-transaction): Use it to update package-alist.
8215 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8217 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8220 2013-06-17 Juri Linkov <juri@jurta.org>
8222 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8224 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8226 * emacs-lisp/package.el (package-load-descriptor):
8227 Remove `with-syntax-table' call, `read' doesn't need it.
8228 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8230 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8232 * startup.el (command-line): Expand package name returned by
8233 `package--description-file' (bug#14639).
8235 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8237 * emacs-lisp/package.el (package-load-descriptor): Do not call
8238 `emacs-lisp-mode', just use its syntax table.
8240 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8242 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8243 `font-lock-extra-managed-props' if any prettifying keyword is added.
8244 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8245 (prog-mode): Use `setq-local'.
8247 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8249 * international/characters.el (standard-case-table): Set syntax of ?»
8250 and ?« to punctuation.
8252 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8254 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8255 Save relevant match data before calling `syntax-ppss' (bug#14595).
8257 2013-06-15 Juri Linkov <juri@jurta.org>
8259 * files-x.el (modify-file-local-variable-prop-line): Add local
8260 variables to the end of the existing comment on the first line.
8261 Use `file-auto-mode-skip' to skip interpreter magic line,
8262 and also skip XML declaration.
8264 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8266 * startup.el (package--builtin-versions): New var.
8267 (package-subdirectory-regexp): Remove.
8268 (package--description-file): Hard code its value instead.
8270 * emacs-lisp/package.el: Don't activate packages older than builtin.
8271 (package-obsolete-list): Rename from package-obsolete-alist, and make
8272 it into a simple list of package-desc.
8273 (package-strip-version): Remove.
8274 (package-built-in-p): Use package--builtin-versions.
8275 (package-mark-obsolete): Simplify.
8276 (package-process-define-package): Mark it obsolete if older than the
8278 (package-handle-response): Use line-end-position.
8279 (package-read-archive-contents, package--download-one-archive):
8281 (package--add-to-archive-contents): Skip if older than the builtin or
8283 (package-menu-describe-package): Fix last change.
8284 (package-list-unversioned): New var.
8285 (package-menu--generate): Use it.
8287 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8288 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8289 (autoload-builtin-package-versions): New variable.
8290 (autoload-generate-file-autoloads): Use them.
8291 Remove the list of autoloaded functions/macros from the
8292 (autoload...) comments.
8294 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8296 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8298 * simple.el (line-move-partial): Don't jump to the next screen
8299 line as soon as it becomes visible. Instead, continue enlarging
8300 the vscroll until the portion of a tall screen line that's left on
8301 display is about the height of the frame's default font.
8304 2013-06-15 Glenn Morris <rgm@gnu.org>
8306 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8307 compilation-error-regexp-alist void, or local while let-bound.
8309 * progmodes/make-mode.el (makefile-mode-syntax-table):
8310 Treat "=" as punctuation. (Bug#14614)
8312 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8314 * help-fns.el (describe-variable):
8315 Add extra line for permanent-local variables.
8317 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8319 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8320 Add export, import, library. (Bug#9164)
8321 (library): Set indent function.
8323 2013-06-14 Glenn Morris <rgm@gnu.org>
8325 * term/xterm.el (xterm--query):
8326 Stop after first matching handler. (Bug#14615)
8328 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8330 Add support for dired in saveplace.
8331 * dired.el (dired-initial-position-hook): New variable.
8332 (dired-initial-position): Call hook to place cursor position.
8333 * saveplace.el (save-place-to-alist): Add dired position.
8334 (save-place-dired-hook): New function.
8336 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8338 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8339 through a symbol rather than letrec.
8341 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8342 (package-desc): Add `dir' field.
8343 (package-desc-full-name): New function.
8344 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8345 (package-maybe-load-descriptor): Remove.
8346 (package-load-all-descriptors): Just call package-load-descriptor.
8347 (package--disabled-p): New function.
8348 (package-desc-vers, package-desc-doc): Remove aliases.
8349 (package--dir): Remove function.
8350 (package-activate): Check if a package is disabled.
8351 (package-process-define-package): New function, extracted from
8353 (define-package): Turn into a place holder.
8354 (package-unpack-single, package-tar-file-info):
8355 Use package--description-file.
8356 (package-compute-transaction): Use package--disabled-p.
8357 (package-download-transaction): Don't call
8358 package-maybe-load-descriptor since they're all loaded anyway.
8359 (package-install): Change argument to be a pkg-desc.
8360 (package-delete): Use a single pkg-desc argument.
8361 (describe-package-1): Use package-desc-dir instead of package--dir.
8362 Use package-desc property instead of package-symbol.
8363 (package-install-button-action): Adjust accordingly.
8364 (package--push): Rewrite.
8365 (package-menu--print-info): Adjust accordingly. Change the ID format
8367 (package-menu-describe-package, package-menu-get-status)
8368 (package-menu--find-upgrades, package-menu-mark-upgrades)
8369 (package-menu-execute, package-menu--name-predicate):
8371 * startup.el (package--description-file): New function.
8372 (command-line): Use it.
8373 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8374 Use package-desc-version.
8376 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8377 (byte-compile-preprocess): Use it.
8378 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8379 can't quite recognize.
8380 (byte-compile-add-to-list): Remove.
8381 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8382 (cconv-closure-convert): Add assertion.
8384 * emacs-lisp/map-ynp.el: Use lexical-binding.
8385 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8386 Factor out some repeated code.
8388 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8390 * subr.el (with-eval-after-load): New macro.
8391 (eval-after-load): Allow form to be a function.
8392 take advantage of lexical-binding.
8393 (do-after-load-evaluation): Use dolist and adjust to new format.
8394 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8396 2013-06-13 Juri Linkov <juri@jurta.org>
8398 * replace.el (perform-replace): Display "symbol " and other search
8399 modes from `isearch-message-prefix' in the *Help* buffer.
8401 * isearch.el (isearch-query-replace): Add " symbol" and other
8402 possible search modes from `isearch-message-prefix' to the prompt.
8403 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8404 when reading a regexp to collect.
8406 2013-06-13 Juri Linkov <juri@jurta.org>
8408 * isearch.el (word-search-regexp): Match whitespace if the search
8409 string begins or ends in whitespace. The LAX arg is applied to
8410 both ends of the search string. Use `regexp-quote' and explicit
8411 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8412 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8413 boundaries are replaced with symbol boundaries, and characters
8414 between symbols match non-word non-symbol syntax. (Bug#14602)
8416 2013-06-13 Juri Linkov <juri@jurta.org>
8418 * isearch.el (isearch-del-char): Don't exceed the length of
8419 `isearch-string' by the prefix arg. (Bug#14563)
8421 2013-06-13 Juri Linkov <juri@jurta.org>
8423 * isearch.el (isearch-yank-word, isearch-yank-line)
8424 (isearch-char-by-name, isearch-quote-char)
8425 (isearch-printing-char, isearch-process-search-char):
8426 Add optional count prefix arg. (Bug#14563)
8428 * international/isearch-x.el
8429 (isearch-process-search-multibyte-characters):
8430 Add optional count prefix arg.
8432 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8434 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8435 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8438 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8440 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8442 2013-06-13 Glenn Morris <rgm@gnu.org>
8444 * startup.el (tty-handle-args):
8445 Don't just discard "--" and anything after. (Bug#14608)
8447 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8449 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8451 Implement changes in Secret Service API. Make it backward compatible.
8452 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8453 (secrets-create-item): Use it. Prefix properties with interface.
8455 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8457 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8458 (term-emulate-terminal): Respect term-suppress-hard-newline.
8460 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8462 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8463 Only remove a `thumb-file' overlay. (Bug#14548)
8465 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8467 * mail/reporter.el (reporter-submit-bug-report):
8468 Handle missing package-name. (Bug#14600)
8470 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8472 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8473 (reftex-citation-prompt, reftex-default-bibliography)
8474 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8475 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8476 (reftex-bib-sort-author, reftex-bib-sort-year)
8477 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8478 (reftex-extract-bib-entries-from-thebibliography)
8479 (reftex-get-bibkey-default, reftex-get-bib-names)
8480 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8481 (reftex-format-bib-entry, reftex-parse-bibitem)
8482 (reftex-format-bibitem, reftex-do-citation)
8483 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8484 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8485 (reftex-insert-bib-matches, reftex-format-citation)
8486 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8487 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8488 existing comments into docstrings.
8490 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8492 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8494 2013-06-12 Andreas Schwab <schwab@suse.de>
8496 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8497 for auto-save files.
8499 2013-06-12 Glenn Morris <rgm@gnu.org>
8501 * ido.el (ido-delete-ignored-files): Remove.
8502 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8503 Go back to calling ido-ignore-item-p directly.
8505 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8507 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8509 * ido.el (ido-delete-ignored-files): New function,
8510 split from ido-make-file-list-1.
8511 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8512 (ido-make-file-list-1): Use ido-delete-ignored-files.
8514 2013-06-12 Leo Liu <sdl.web@gmail.com>
8516 * progmodes/octave.el (inferior-octave-startup)
8517 (inferior-octave-completion-table)
8518 (inferior-octave-track-window-width-change)
8519 (octave-eldoc-function-signatures, octave-help)
8520 (octave-find-definition): Use single quoted strings.
8521 (inferior-octave-startup-args): Change default value.
8522 (inferior-octave-startup): Do not hard code "-i" and
8523 "--no-line-editing".
8524 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8525 (inferior-octave-directory-tracker): Use it.
8526 (octave-goto-function-definition): Robustify.
8527 (octave-help): Support highlighting operators in 'See also'.
8528 (octave-find-definition): Find subfunctions only in Octave mode.
8530 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8532 * help-fns.el (help-fns--compiler-macro): If the handler function is
8533 named, then put a link to it.
8534 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8535 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8537 (cl-eval-when): Simplify debug spec.
8538 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8539 compiler-macro function instead of setting `compiler-macro-file'.
8541 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8543 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8544 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8546 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8547 Daniel Hackney <dan@haxney.org>
8549 First part of Daniel Hackney's patch to package.el.
8550 * emacs-lisp/package.el: Use defstruct.
8551 (package-desc): New, main struct.
8552 (package--bi-desc, package--ac-desc): New structs, used to describe the
8553 format in external files.
8554 (package-desc-vers): Replace with package-desc-version accessor.
8555 (package-desc-doc): Replace with package-desc-summary accessor.
8556 (package-activate-1): Remove `package' arg since the pkg-vec now
8558 (define-package): Use package-desc-from-define.
8559 (package-unpack-single): Change file-name arg to be a symbol.
8560 (package--add-to-archive-contents): Use package-desc-create and new
8561 accessor functions to package--ac-desc.
8562 (package-buffer-info, package-tar-file-info): Return a package-desc.
8563 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8564 arg to be a package-desc.
8565 (package-install-file): Adjust accordingly. Use \' to match EOS.
8566 (package--from-builtin): New function.
8567 (describe-package-1, package-menu--generate): Use it.
8568 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8569 (package-generate-autoloads): Idem and return the name of the file.
8570 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8571 Change pkg-info arg to be a package-desc.
8572 Use package-make-ac-desc.
8573 (package-upload-file): Use \' to match EOS.
8574 * finder.el (finder-compile-keywords): Use package-make-builtin.
8576 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8578 * vc/vc.el (vc-deduce-fileset): Change error message.
8579 (vc-read-backend): New function.
8580 (vc-next-action): Use it.
8582 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8584 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8585 (prolog-font-lock-keywords): Use regexp-opt instead.
8586 Don't manually highlight strings.
8587 (prolog-mode-variables): Simplify comment-start-skip.
8588 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8590 * emacs-lisp/generic.el (generic--normalise-comments)
8591 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8592 (generic-mode-set-comments): Use them.
8593 (generic-bracket-support): Use setq-local.
8594 (generic-make-keywords-list): Declare obsolete.
8596 2013-06-11 Glenn Morris <rgm@gnu.org>
8598 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8599 Prettify after setting font-lock-defaults. (Bug#14574)
8601 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8603 * replace.el (query-replace, occur-read-regexp-defaults-function)
8605 * subr.el (declare-function, number-sequence, local-set-key)
8606 (substitute-key-definition, locate-user-emacs-file)
8607 (with-silent-modifications, split-string, eval-after-load):
8608 Fix typos, remove unneeded backslashes and reflow some docstrings.
8610 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8612 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8613 default for Elisp files.
8615 2013-06-11 Glenn Morris <rgm@gnu.org>
8617 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8618 although define-derived-mode was doing this anyway. (Bug#14583)
8620 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8622 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8623 Fix make-variable-buffer-local call to refer to the correct variable.
8625 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8627 * eshell/em-term.el (eshell-visual-commands)
8628 (eshell-visual-subcommands, eshell-visual-options):
8629 Add summary line to docstrings. Add cross-references.
8631 2013-06-10 Glenn Morris <rgm@gnu.org>
8633 * epa.el (epa-read-file-name): New function. (Bug#14510)
8634 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8636 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8638 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8639 output redirection to be ignored with visual commands.
8641 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8643 * eshell/em-term.el (eshell-visual-command-p): New function.
8644 (eshell-term-initialize): Move long lambda to separate function
8645 eshell-visual-command-p.
8646 * eshell/em-dirs.el (eshell-dirs-initialise):
8647 * eshell/em-script.el (eshell-script-initialize):
8648 Add missing #' to lambda.
8650 2013-06-08 Leo Liu <sdl.web@gmail.com>
8652 * progmodes/octave.el (octave-add-log-current-defun): New function.
8653 (octave-mode): Set add-log-current-defun-function.
8654 (octave-goto-function-definition): Do not move point if not found.
8655 (octave-find-definition): Enhance to try subfunctions first.
8657 2013-06-08 Glenn Morris <rgm@gnu.org>
8659 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8660 (byte-compile-backward-char, byte-compile-backward-word):
8661 Improve previous change, to handle non-explicit nil.
8663 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8665 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8666 (smie--opener/closer-at-point): New function.
8667 (smie--matching-block-data): Use it. Don't match from right after an
8668 opener or right before a closer. Obey smie-blink-matching-inners.
8669 Don't signal a mismatch for repeated inners like "switch..case..case".
8671 2013-06-07 Leo Liu <sdl.web@gmail.com>
8673 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8675 (octave-function-header-regexp): Fix. (Bug#14570)
8676 (octave-help-mode-finish-hook, octave-help-mode-finish):
8677 Remove. Just use temp-buffer-show-hook.
8679 * newcomment.el (comment-search-backward): Revert last change.
8682 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8684 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8686 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8687 through xargs, to avoid failure due to MS-Windows limitations on
8688 command-line length.
8690 2013-06-06 Glenn Morris <rgm@gnu.org>
8692 * font-lock.el (lisp-font-lock-keywords-2):
8693 Treat user-error like error.
8695 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8696 (byte-compile-backward-char, byte-compile-backward-word):
8697 Handle explicit nil arguments. (Bug#14565)
8699 2013-06-05 Alan Mackenzie <acm@muc.de>
8701 * isearch.el (isearch-allow-prefix): New user option.
8702 (isearch-other-meta-char): Don't exit isearch when a prefix
8703 argument is typed whilst `isearch-allow-prefix' is non-nil.
8706 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8708 * autorevert.el (auto-revert-notify-handler): Use memq.
8709 Hide assertion failure.
8711 * skeleton.el: Use cl-lib.
8712 (skeleton-further-elements): Use defvar-local.
8713 (skeleton-insert): Use cl-progv.
8715 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8717 * progmodes/prog-mode.el (prog-prettify-symbols)
8718 (prog-prettify-install): Update docstrings.
8720 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8722 * simple.el: Move all the prog-mode code to prog-mode.el.
8723 * progmodes/prog-mode.el: New file.
8724 * loadup.el: Add prog-mode.el.
8726 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8728 * simple.el (prog-prettify-symbols): Add version.
8729 (prog-prettify-install): Add convenience function to prettify symbols.
8731 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8732 (perl--augmented-font-lock-keywords-1)
8733 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8734 variables and use it.
8736 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8737 (cfengine3-mode): Remove unneeded variable and use it.
8739 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8740 (lisp--augmented-font-lock-keywords-1)
8741 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8742 Remove unneeded variables and use it.
8744 2013-06-05 João Távora <joaotavora@gmail.com>
8746 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8747 to point when opening the connection. (Bug#14380)
8749 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8751 * subr.el (load-history-regexp, load-history-filename-element)
8752 (eval-after-load, after-load-functions, do-after-load-evaluation)
8753 (eval-next-after-load, display-delayed-warnings)
8754 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8755 definition of save-match-data.
8756 (overriding-local-map): Remove accidental obsolescence declaration.
8758 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8760 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8762 Generalize symbol prettify support to prog-mode and implement it
8763 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8764 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8765 (prog--prettify-font-lock-compose-symbol)
8766 (prog-prettify-font-lock-symbols-keywords): New variables and
8767 functions to support symbol prettification.
8768 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8769 (lisp--augmented-font-lock-keywords-1)
8770 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8771 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8772 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8773 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8774 Implement prettify of -> => :: strings.
8775 * progmodes/perl-mode.el (perl-prettify-symbols)
8776 (perl--font-lock-compose-symbol)
8777 (perl--font-lock-symbols-keywords): Move to prog-mode.
8778 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8779 (perl-font-lock-keywords-1)
8780 (perl-font-lock-keywords-2): Remove explicit prettify support.
8781 (perl--augmented-font-lock-keywords)
8782 (perl--augmented-font-lock-keywords-1)
8783 (perl--augmented-font-lock-keywords-2, perl-mode):
8784 Implement prettify support.
8786 2013-06-05 Leo Liu <sdl.web@gmail.com>
8788 Re-implement smie matching block highlight using
8789 show-paren-data-function. (Bug#14395)
8790 * emacs-lisp/smie.el (smie-matching-block-highlight)
8791 (smie--highlight-matching-block-overlay)
8792 (smie--highlight-matching-block-lastpos)
8793 (smie-highlight-matching-block)
8794 (smie-highlight-matching-block-mode): Remove.
8795 (smie--matching-block-data-cache): New variable.
8796 (smie--matching-block-data): New function.
8797 (smie-setup): Use smie--matching-block-data for
8798 show-paren-data-function.
8800 * progmodes/octave.el (octave-mode-menu): Fix.
8801 (octave-find-definition): Skip garbage lines.
8803 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8805 Fix compilation error with simultaneous dynamic+lexical scoping.
8806 Add warning when a defvar appears after the first let-binding.
8807 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8808 (byte-compile-close-variables): Initialize it.
8809 (byte-compile--declare-var): New function.
8810 (byte-compile-file-form-defvar)
8811 (byte-compile-file-form-define-abbrev-table)
8812 (byte-compile-file-form-custom-declare-variable): Use it.
8813 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8814 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8815 (byte-compile-bind): Handle dynamic bindings that shadow
8817 (byte-compile-unbind): Make arg non-optional.
8818 (byte-compile-let): Simplify.
8819 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8820 (cconv--analyse-function, cconv-analyse-form): Populate it.
8821 Protect byte-compile-bound-variables to limit the scope of defvars.
8822 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8823 Remove unneeded rule for `declare'.
8825 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8826 so as to avoid depending on cl-adjoin at run-time.
8827 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8829 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8830 (macroexp--warn-and-return): Use it.
8832 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8834 * lisp/subr.el: Convert to lexical binding.
8835 (overriding-local-map): Make obsolete.
8836 (add-to-list): Doc fix. Add compiler macro.
8837 (read-key): Swap values of local maps.
8839 2013-06-05 Leo Liu <sdl.web@gmail.com>
8841 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8843 2013-06-04 Leo Liu <sdl.web@gmail.com>
8845 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8846 (compilation-auto-jump): Suppress the "Mark set" message to give
8847 way to exit message.
8849 2013-06-04 Alan Mackenzie <acm@muc.de>
8851 Remove faulty optimisation from indentation calculation.
8852 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8853 search limit based on 2000 characters back from indent-point.
8855 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8857 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8859 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8861 * emacs-lisp/lisp.el: Use lexical-binding.
8862 (lisp--local-variables-1, lisp--local-variables): New functions.
8863 (lisp--local-variables-completion-table): New var.
8864 (lisp-completion-at-point): Use it complete let-bound vars.
8866 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8867 eagerly (bug#14422).
8869 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8871 * autorevert.el (auto-revert-notify-enabled)
8872 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8873 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8874 (auto-revert-notify-handler): Handle also gfilenotify.
8876 * subr.el (file-notify-handle-event): New defun. Replacing ...
8877 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8880 2013-06-03 Juri Linkov <juri@jurta.org>
8882 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8883 `M-s h .'. (Bug#14427)
8885 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8886 command `hi-lock-face-symbol-at-point'.
8887 (hi-lock-face-symbol-at-point): New command.
8888 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8889 (hi-lock-menu): Add `highlight-symbol-at-point'.
8890 (hi-lock-mode): Doc fix.
8892 * isearch.el (isearch-forward-symbol-at-point): New command.
8893 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8894 (isearch-highlight-regexp): Add a regexp which matches
8895 words/symbols for word/symbol mode.
8897 * subr.el (find-tag-default-bounds): New function with the body
8898 mostly moved from `find-tag-default'.
8899 (find-tag-default): Move most code to `find-tag-default-bounds',
8900 call it and apply `buffer-substring-no-properties' afterwards.
8902 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8904 * eshell/em-term.el (eshell-term-initialize):
8905 Use `cl-intersection' rather than `intersection'.
8907 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8909 * vc/log-view.el: Doc fix.
8910 (log-view-mode-map): Copy keymap from `special-mode-map'.
8912 2013-06-02 Eric Ludlam <zappo@gnu.org>
8914 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8915 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8916 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8917 (eieio-unbound, eieio-default-superclass)
8918 (eieio--define-field-accessors, method-static, method-before)
8919 (method-primary, method-after, method-num-lists)
8920 (method-generic-before, method-generic-primary)
8921 (method-generic-after, method-num-slots)
8922 (eieio-specialized-key-to-generic-key)
8923 (eieio--check-type, class-v, class-p)
8924 (eieio-class-name, define-obsolete-function-alias)
8925 (eieio-class-parents-fast, eieio-class-children-fast)
8926 (same-class-fast-p, class-constructor, generic-p)
8927 (generic-primary-only-p, generic-primary-only-one-p)
8928 (class-option-assoc, class-option, eieio-object-p)
8929 (class-abstract-p, class-method-invocation-order)
8930 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8931 (eieio-class-un-autoload, eieio-defclass)
8932 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8933 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8934 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8935 (eieio-defgeneric-reset-generic-form)
8936 (eieio-defgeneric-form-primary-only)
8937 (eieio-defgeneric-reset-generic-form-primary-only)
8938 (eieio-defgeneric-form-primary-only-one)
8939 (eieio-defgeneric-reset-generic-form-primary-only-one)
8940 (eieio-unbind-method-implementations)
8941 (eieio--defmethod, eieio--typep)
8942 (eieio-perform-slot-validation, eieio-validate-slot-value)
8943 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8944 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8945 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8946 (eieio-slot-name-index, eieio-class-slot-name-index)
8947 (eieio-set-defaults, eieio-initarg-to-attribute)
8948 (eieio-attribute-to-initarg, eieio-c3-candidate)
8949 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8950 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8951 (eieio-class-precedence-list, eieio-generic-call-methodname)
8952 (eieio-generic-call-arglst, eieio-generic-call-key)
8953 (eieio-generic-call-next-method-list)
8954 (eieio-pre-method-execution-functions, eieio-generic-call)
8955 (eieio-generic-call-primary-only, eieiomt-method-list)
8956 (eieiomt-optimizing-obarray, eieiomt-install)
8957 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8958 (eieio-generic-form, eieio-defmethod, make-obsolete)
8959 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8960 (defclass): Remove `eval-and-compile' from macro.
8961 (call-next-method, shared-initialize): Instead of using
8962 `scoped-class' variable, use new eieio--scoped-class, and
8963 eieio--with-scoped-class.
8964 (initialize-instance): Rename local variable 'scoped-class' to
8965 'this-class' to remove ambiguitity from old global.
8967 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8969 (eieio--scoped-class-stack): New variable.
8970 (eieio--scoped-class): New fcn.
8971 (eieio--with-scoped-class): New scoping macro.
8972 (eieio-defclass): Use pushnew instead of add-to-list.
8973 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8974 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8975 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8976 `scoped-class' variable, use new eieio--scoped-class, and
8977 eieio--with-scoped-class.
8979 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8981 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8983 * eshell/esh-ext.el (eshell-external-command): Pass args to
8984 `eshell-find-interpreter'.
8985 (eshell-find-interpreter): Add new second parameter ARGS.
8987 * eshell/em-script.el (eshell-script-initialize): Add second arg
8988 to the function added as MATCH to `eshell-interpreter-alist'.
8990 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8991 the function added as MATCH to `eshell-interpreter-alist'.
8993 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8994 (eshell-visual-options): New defcustom.
8995 (eshell-escape-control-x): Adapt docstring.
8996 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8997 `eshell-visual-options' in addition to `eshell-visual-commands'.
8998 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9000 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9002 * progmodes/python.el (python-indent-block-enders): Add break,
9003 continue and raise keywords.
9005 2013-06-01 Glenn Morris <rgm@gnu.org>
9007 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9009 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9010 * progmodes/cc-cmds.el (delete-forward-p):
9011 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9012 * progmodes/cc-engine.el (buffer-syntactic-context):
9013 * progmodes/cc-fonts.el (face-property-instance):
9014 * progmodes/cc-mode.el (set-keymap-parents):
9015 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9016 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9017 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9018 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9019 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9021 * progmodes/cc-vars.el (other): Emacs has this widget since
9022 at least 21.1, so don't (re)define it.
9024 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9025 Replace the obsolete alias pcomplete-arg-quote-list.
9027 2013-06-01 Leo Liu <sdl.web@gmail.com>
9029 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9031 (inferior-octave-minimal-columns)
9032 (inferior-octave-last-column-width): New variables.
9033 (inferior-octave-track-window-width-change): New function.
9034 (inferior-octave-mode): Adjust column width so that Octave output,
9035 for example from 'ls', can fit into the window nicely.
9037 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9039 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9040 Highlight expansions inside regexp literals.
9042 2013-05-31 Glenn Morris <rgm@gnu.org>
9044 * obsolete/sym-comp.el (symbol-complete):
9045 Replace obsolete completion-annotate-function.
9047 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9049 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9051 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9052 New function, checks if point is inside a literal that allows
9053 expression expansion.
9054 (ruby-syntax-propertize-expansion): Use it.
9055 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9058 2013-05-30 Juri Linkov <juri@jurta.org>
9060 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9062 (isearch-invisible): New variable.
9063 (isearch-forward): Doc fix.
9064 (isearch-mode): Set `isearch-invisible'
9065 to the value of `search-invisible'.
9066 (isearch-toggle-case-fold): Doc fix.
9067 (isearch-toggle-invisible): New command.
9068 (isearch-query-replace): Let-bind `search-invisible'
9069 to the value of `isearch-invisible'.
9070 (isearch-search): Use `isearch-invisible' instead of
9071 `search-invisible'. Let-bind `search-invisible'
9072 to the value of `isearch-invisible'. (Bug#11378)
9074 2013-05-30 Juri Linkov <juri@jurta.org>
9076 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9077 call when `query-flag' is nil and `search-invisible' is non-nil.
9080 2013-05-30 Glenn Morris <rgm@gnu.org>
9082 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9084 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9085 (cc-require): Suppress spurious "noruntime" warnings.
9086 (cc-require-when-compile): Use fboundp, for sake of compiler.
9088 * progmodes/cc-mode.el: Move load of cc-vars before that of
9089 cc-langs (which in turn loads cc-vars), to quieten compiler.
9091 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9093 * paren.el: Simplify the code.
9094 (show-paren-mode): Always start the timer.
9095 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9096 (show-paren--overlay, show-paren--overlay-1): Rename from
9097 show-paren-overlay and show-paren-overlay-1, and initialize to an
9098 overlay rather than to nil.
9099 (show-paren-function): Misc cleanup and simplifications.
9101 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9103 * paren.el (show-paren-data-function): New hook.
9104 (show-paren--default): New function, extracted from show-paren-function.
9105 (show-paren-function): Use show-paren-data-function.
9107 2013-05-30 Glenn Morris <rgm@gnu.org>
9109 * ielm.el (ielm-map, ielm-complete-symbol):
9110 Use completion-at-point rather than obsolete functions.
9111 (inferior-emacs-lisp-mode): Doc fix.
9112 Set completion-at-point-functions, rather than
9113 comint-dynamic-complete-functions.
9115 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9116 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9117 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9119 * image.el (image-animated-p): Tweak definition.
9121 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9122 (rlogin-process-connection-type): Tweak default. Add set-after.
9123 (rlogin-host): Doc fix.
9124 (rlogin): Tweak prompt.
9125 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9127 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9128 * progmodes/tcl.el (inferior-tcl-mode-map):
9129 Use completion-at-point rather than obsolete alias.
9131 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9133 * minibuffer.el (read-file-name-completion-ignore-case):
9134 Move before completion--in-region, for eager macro expansion.
9136 2013-05-29 Juri Linkov <juri@jurta.org>
9138 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9139 for total count of matching lines. Add `global-matches' for total
9140 count of matches. Rename `matches' to `lines' for count of
9141 matching lines. Add `matches' for count of matches.
9142 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9143 to `prev-line' for line number of prev match endpt.
9144 Increment `matches' for every match. Print the number of
9145 matching lines in the header.
9146 (occur-context-lines): Rename `lines' to `curr-line'.
9147 Rename `prev-lines' to `prev-line'. (Bug#14017)
9149 2013-05-29 Juri Linkov <juri@jurta.org>
9151 * replace.el (perform-replace): Add `skip-read-only-count',
9152 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9153 Increment them for corresponding conditions and report the number
9154 of skipped occurrences in the final message. (Bug#11746)
9155 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9156 (replace-string, replace-regexp): Doc fix.
9158 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9160 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9162 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9163 prog-mode-map (bug#14504).
9165 2013-05-29 Leo Liu <sdl.web@gmail.com>
9167 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9168 (octave-help): Small simplification.
9170 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9171 off the highlight first.
9173 2013-05-29 Glenn Morris <rgm@gnu.org>
9175 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9176 Handle idlwave-last-system-routine-info-cons-cell being nil.
9178 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9179 (idlwave-write-paths): Simplify via with-temp-buffer.
9181 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9182 * emulation/cua-rect.el: Also load cua-base at run time.
9184 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9185 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9186 (cperl-imenu-on-info): Require imenu.
9188 2013-05-28 Alan Mackenzie <acm@muc.de>
9190 Handle "capitalised keywords" correctly.
9191 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9193 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9195 * eshell/em-unix.el: Add -r option to cp.
9197 2013-05-28 Glenn Morris <rgm@gnu.org>
9199 * vc/vc-arch.el (vc-exec-after): Declare.
9200 (vc-switches): Autoload.
9201 * vc/vc-bzr.el: No need to require vc when compiling.
9202 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9203 (vc-resynch-buffer, vc-dir-refresh): Declare.
9204 (vc-setup-buffer, vc-switches): Autoload.
9205 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9206 (vc-resynch-buffer): Declare.
9207 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9208 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9209 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9210 (grep-read-regexp, grep-read-files, grep-expand-template)
9211 (vc-dir-refresh): Declare.
9212 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9213 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9214 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9215 * vc/vc-mtn.el (vc-exec-after): Declare.
9216 (vc-switches): Autoload.
9217 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9218 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9219 (vc-file-tree-walk): Declare.
9220 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9221 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9222 (vc-tag-precondition, vc-rename-master): Autoload.
9223 * vc/vc-svn.el (vc-exec-after): Declare.
9224 (vc-switches, vc-setup-buffer): Autoload.
9225 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9227 (vc-resynch-buffer): Declare.
9229 * obsolete/fast-lock.el (byte-compile-warnings):
9230 Don't warn about obsolete features in this obsolete file.
9232 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9233 Move definition before use.
9235 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9236 (dun-unix-verbs): Remove dun-zippy.
9237 (dun-zippy): Remove function.
9239 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9241 2013-05-27 Juri Linkov <juri@jurta.org>
9243 * replace.el (replace-search): New function with code moved out
9244 from `perform-replace'.
9245 (replace-highlight, replace-dehighlight): Move function definitions
9246 up closer to `replace-search'. (Bug#11746)
9248 2013-05-27 Juri Linkov <juri@jurta.org>
9250 * replace.el (perform-replace): Ignore invisible matches.
9251 In addition to checking `query-replace-skip-read-only', also
9252 filter out matches by calling `run-hook-with-args-until-failure'
9253 on `isearch-filter-predicates', and also check `search-invisible'
9254 for t or call `isearch-range-invisible'.
9255 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9257 2013-05-27 Juri Linkov <juri@jurta.org>
9259 * isearch.el (isearch-filter-predicates): Rename from
9260 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9261 (isearch-message-prefix): Display text from the property
9262 `isearch-message-prefix' of the currently active filters.
9263 (isearch-search): Don't compare `isearch-filter-predicate' with
9264 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9265 on `isearch-filter-predicates'. Also check `search-invisible' for t
9266 or call `isearch-range-invisible'.
9267 (isearch-filter-visible): Make obsolete.
9268 (isearch-lazy-highlight-search):
9269 Call `run-hook-with-args-until-failure' on
9270 `isearch-filter-predicates' and use `isearch-range-invisible'.
9272 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9273 `isearch-filter-predicates' instead of `funcall'ing
9274 `isearch-filter-predicate'.
9275 (Info-mode): Set `Info-isearch-filter' to
9276 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9278 * dired-aux.el (dired-isearch-filter-predicate-orig):
9280 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9281 (dired-isearch-filenames-end): Add and remove
9282 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9283 instead of changing the value of `isearch-filter-predicate'.
9284 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9285 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9286 Put property `isearch-message-prefix' to "filename " on
9287 `dired-isearch-filter-filenames'.
9289 * wdired.el (wdired-change-to-wdired-mode):
9290 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9291 locally instead of changing `isearch-filter-predicate'.
9292 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9294 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9296 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9297 return the commit hash (Bug#14459). Also set the
9298 `vc-git-detached' property.
9299 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9300 (vc-git-mode-line-string): Use the same help-echo format whether
9301 in detached mode or not, because we know the actual revision now.
9302 When in detached mode, shorten the revision to 7 chars.
9304 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9306 * emacs-lisp/easy-mmode.el (define-minor-mode):
9307 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9308 mode hook and provide a docstring.
9310 2013-05-27 Alan Mackenzie <acm@muc.de>
9312 Remove spurious syntax-table text properties inserted by C-y.
9313 * progmodes/cc-mode.el (c-after-change): Also clear hard
9314 syntax-table property with value nil.
9316 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9318 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9319 when reading the events; the buffer layout shall not be changed.
9321 2013-05-27 Leo Liu <sdl.web@gmail.com>
9323 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9325 (inferior-octave-directory-tracker): Automatically re-sync
9327 (octave-help): Improve handling of 'See also'.
9329 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9331 * doc-view.el: Minor naming convention tweaks.
9332 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9334 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9335 even if there's no `display' property yet (bug#14435).
9337 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9339 * subr.el (unmsys--file-name): Rename from reveal-filename.
9341 * Makefile.in (custom-deps, finder-data, autoloads)
9342 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9343 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9344 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9346 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9348 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9349 error-completion on the first 2 args of condition-case (bug#14446).
9352 2013-05-25 Leo Liu <sdl.web@gmail.com>
9354 * comint.el (comint-previous-matching-input): Do not flood the
9355 *Messages* buffer with trivial messages.
9357 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9359 * progmodes/flymake.el (flymake-nop): Don't return a string.
9360 (flymake-set-at): Fix typo.
9362 * simple.el (read--expression): New function, extracted from
9363 eval-expression. Set completion-at-point-functions (bug#14465).
9364 (eval-expression, eval-minibuffer): Use it.
9366 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9368 * progmodes/flymake.el (flymake-save-buffer-in-file)
9369 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9370 (flymake-selected-frame, flymake-log, flymake-ins-after)
9371 (flymake-set-at, flymake-get-buildfile-from-cache)
9372 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9373 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9374 Refine the doc string.
9375 (flymake-get-file-name-mode-and-masks): Reformat.
9376 (flymake-get-real-file-name-function): Fix a minor bug.
9378 2013-05-24 Juri Linkov <juri@jurta.org>
9380 * progmodes/grep.el (grep-mode-font-lock-keywords):
9381 Support =linenumber= format used by git-grep for lines with
9382 function names. (Bug#13549)
9384 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9386 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9387 0 after a semi-colon; it works better for smie-auto-fill.
9388 (octave--indent-new-comment-line): New function.
9389 (octave-indent-new-comment-line): Use it (indirectly).
9390 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9391 modify comment-line-break-function.
9393 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9394 (smie-setup): Use add-function to set it.
9396 2013-05-24 Sam Steingold <sds@gnu.org>
9398 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9399 argument (before the `interactive' argument).
9401 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9403 * image-mode.el (image-mode-winprops): Add winprops to
9404 image-mode-winprops-alist before running
9405 image-mode-new-window-functions.
9406 * doc-view.el (doc-view-new-window-function): Don't delay
9407 doc-view-goto-page via timers (bug#14435).
9409 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9411 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9412 (doc-view-desktop-save-buffer): New function.
9413 (doc-view-restore-desktop-buffer): New function.
9414 (desktop-buffer-mode-handlers):
9415 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9417 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9418 `desktop-save-buffer' function.
9420 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9422 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9423 (tramp-gvfs-file-name-handler): Raise a user error when
9424 `tramp-gvfs-enabled' is nil.
9425 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9426 Do not raise a user error when loading package. (Bug#14447)
9428 * net/xesam.el: Move to obsolete/.
9430 2013-05-24 Glenn Morris <rgm@gnu.org>
9432 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9434 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9436 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9437 (Info-find-node, Man-getpage-in-background): Declare.
9439 * mail/unrmail.el (unrmail):
9440 Replace obsolete detect-coding-with-priority.
9442 * net/socks.el (socks-split-string): Use this rather than split-string.
9443 (socks-nslookup-host): Update for above change.
9444 (dynamic-choice, s5-dynamic-choice-match)
9445 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9446 Comment out unused code.
9448 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9449 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9450 (gud-tooltip-echo-area): Make obsolete.
9451 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9453 * progmodes/js.el (js--optimize-arglist): Declare.
9455 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9457 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9458 (ediff-window-C): Declare.
9460 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9461 Tweak requires to silence compiler.
9463 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9464 (he-search-string, he-tried-table, he-expand-list)
9465 (he-init-string, he-string-member, he-substitute-string)
9466 (he-reset-string): Declare.
9468 * obsolete/options.el (list-options): Use custom-variable-p,
9469 rather than obsolete alias.
9471 2013-05-23 Sam Steingold <sds@gnu.org>
9473 * simple.el (shell-command-on-region): Pass the `replace' argument
9474 down to `call-process-region' to comply with the doc as reported on
9475 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9477 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9479 * emacs-lisp/smie.el (smie-indent-forward-token)
9480 (smie-indent-backward-token): Handle string tokens (bug#14381).
9482 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9484 * ielm.el (ielm-menu): New menu.
9485 (inferior-emacs-lisp-mode): Set comment-start.
9487 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9489 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9490 Fix deactivate action.
9492 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9493 Add cleveref macros.
9495 * lisp/textmodes/reftex-parse.el
9496 (reftex-locate-bibliography-files): Accept options for
9497 bibliography commands.
9498 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9499 Add addbibresource. Basic Biblatex support.
9501 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9503 * net/tramp-gvfs.el (top):
9504 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9505 when loading package. (Bug#14447)
9507 2013-05-23 Glenn Morris <rgm@gnu.org>
9509 * progmodes/js.el: No need to load comint when compiling.
9510 (ring-insert, comint-send-string, comint-send-input)
9511 (comint-last-input-end, ido-chop): Declare.
9513 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9514 * vc/ediff-mult.el: Adjust requires.
9515 (ediff-directories-internal, ediff-directory-revisions-internal)
9516 (ediff-patch-file-internal): Declare.
9517 * vc/ediff-ptch.el: Adjust requires.
9518 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9519 (ediff-find-file): Autoload.
9520 * vc/ediff-util.el: No need to load ediff when compiling.
9521 (ediff-regions-internal): Declare.
9522 * vc/ediff-wind.el: Adjust requires.
9523 (ediff-compute-toolbar-width): Define when compiling.
9524 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9525 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9526 (dired-get-filename, dired-get-marked-files)
9527 (ediff-last-dir-patch, ediff-patch-default-directory)
9528 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9529 (ediff-patch-buffer-internal): Declare.
9531 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9532 (ispell-process, ispell-buffer-local-words, lm-summary)
9533 (lm-section-start, lm-section-end): Declare.
9534 (checkdoc-ispell-init): Simplify.
9536 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9537 (he-string-member, he-reset-string, he-substitute-string): Declare.
9539 * eshell/em-ls.el: Adjust requires.
9540 (eshell-glob-regexp): Declare.
9541 * eshell/em-tramp.el: Adjust requires.
9542 (eshell-parse-command): Autoload.
9543 * eshell/em-xtra.el: Adjust requires.
9544 (eshell-parse-command): Autoload.
9545 * eshell/esh-ext.el: Adjust requires.
9546 (eshell-parse-command, eshell-close-handles): Autoload.
9547 * eshell/esh-io.el: Adjust requires.
9548 (eshell-output-filter): Autoload.
9549 * eshell/esh-util.el: No need to load tramp when compiling.
9550 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9552 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9553 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9554 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9555 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9556 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9557 * eshell/esh-opt.el, eshell/esh-proc.el:
9558 * eshell/esh-var.el: Adjust requires.
9559 * eshell/eshell.el: Do not require esh-util twice.
9560 (eshell-add-input-to-history): Declare.
9561 (eshell-command): Check history module is active before using it.
9563 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9565 2013-05-22 Leo Liu <sdl.web@gmail.com>
9567 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9569 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9571 * autorevert.el (auto-revert-notify-add-watch)
9572 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9573 it indicates changes in file modification time.
9575 2013-05-22 Glenn Morris <rgm@gnu.org>
9577 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9578 Always delete the autoloaded function from the noruntime and
9579 unresolved functions lists.
9581 * allout.el: No need to load epa, epg, overlay when compiling.
9582 (epg-context-set-passphrase-callback, epg-list-keys)
9583 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9584 (epg-key-user-id-list): Declare.
9586 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9587 (viper-set-parsing-style-toggling-macro)
9588 (viper-set-emacs-state-searchstyle-macros):
9589 Use called-interactively-p on Emacs.
9590 (viper-looking-back): Make it an obsolete alias. Update callers.
9591 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9592 Use looking-back rather than viper-looking-back.
9593 (viper-tmp-insert-at-eob, viper-enlarge-region)
9594 (viper-read-string-with-history, viper-register-to-point)
9595 (viper-append-to-register, viper-change-state-to-vi)
9596 (viper-backward-char-carefully, viper-forward-char-carefully)
9597 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9598 (viper-change-state-to-emacs): Declare.
9599 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9600 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9601 * emulation/viper-mous.el: Do not load viper-cmd.
9602 (viper-backward-char-carefully, viper-forward-char-carefully)
9603 (viper-forward-word, viper-adjust-window): Declare.
9605 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9607 * progmodes/idlw-help.el (idlwave-help-fontify):
9608 Use called-interactively-p.
9610 * term/w32console.el (w32-get-console-codepage)
9611 (w32-get-console-output-codepage): Declare.
9613 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9614 Remove unnecessary declarations.
9615 (dframe-message): Doc fix.
9617 * info.el (dframe-select-attached-frame, dframe-current-frame):
9620 * speedbar.el (speedbar-message): Make it an obsolete alias.
9622 (speedbar-with-attached-buffer)
9623 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9624 (speedbar-with-writable): Use backquote.
9625 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9626 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9627 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9628 rather than speedbar- aliases.
9629 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9630 (speedbar-make-specialized-keymap, speedbar-insert-button)
9631 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9632 (speedbar-do-function-pointer): Declare.
9633 (rmail-speedbar-button, rmail-speedbar-find-file)
9634 (rmail-speedbar-move-message):
9635 Use dframe-with-attached-buffer rather than speedbar- alias.
9636 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9637 (dframe-message, speedbar-make-specialized-keymap)
9638 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9639 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9640 (speedbar-insert-button, dframe-select-attached-frame)
9641 (dframe-maybee-jump-to-attached-frame)
9642 (speedbar-change-initial-expansion-list)
9643 (speedbar-previously-used-expansion-list-name): Declare.
9644 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9645 Use dframe-message, dframe-with-attached-buffer rather than
9647 (gud-sentinel): Silence compiler.
9648 * progmodes/vhdl-mode.el (speedbar-refresh)
9649 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9650 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9651 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9652 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9653 (speedbar-file-lists, speedbar-make-tag-line)
9654 (speedbar-line-directory, speedbar-goto-this-file)
9655 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9656 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9657 (speedbar-make-button, speedbar-reset-scanners)
9658 (speedbar-files-item-info, speedbar-line-text)
9659 (speedbar-find-file-in-frame, speedbar-set-timer)
9660 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9661 (speedbar-with-writable): Do not (re)define it.
9662 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9663 rather than speedbar- alias.
9665 2013-05-21 Leo Liu <sdl.web@gmail.com>
9667 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9669 (octave-mode): Tweak fill-nobreak-predicate.
9670 (inferior-octave-startup): Check process to avoid infinite loop.
9671 (inferior-octave): Pop to buffer first to show abornmal process
9674 2013-05-21 Glenn Morris <rgm@gnu.org>
9676 * printing.el (pr-menu-bar): Define when compiling.
9678 2013-05-21 Leo Liu <sdl.web@gmail.com>
9680 * progmodes/octave.el (octave-auto-fill): Remove.
9681 (octave-indent-new-comment-line): Improve.
9682 (octave-mode): Use auto fill mode through
9683 comment-line-break-function and fill-nobreak-predicate.
9684 (octave-goto-function-definition): Support DEFUN_DLD.
9685 (octave-beginning-of-defun): Small tweak.
9686 (octave-help): Show parent directory.
9688 2013-05-21 Glenn Morris <rgm@gnu.org>
9690 * files.el (dired-unmark):
9691 * progmodes/gud.el (gdb-input): Update declarations.
9693 * calculator.el (electric, ehelp): No need to load when compiling.
9694 (Electric-command-loop, electric-describe-mode): Declare.
9696 * doc-view.el (doc-view-current-converter-processes): Move before use.
9698 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9699 Move MODE-set-explicitly definition before use.
9701 * international/mule-diag.el (mule-diag):
9702 Don't use obsolete window-system-version.
9704 * mail/feedmail.el (smtpmail): No need to load when compiling.
9705 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9707 * mail/mail-utils.el (rfc822): No need to load when compiling.
9708 (rfc822-addresses): Autoload it.
9709 (mail-strip-quoted-names): Trivial simplification.
9711 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9712 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9714 * net/snmp-mode.el (tempo): Don't duplicate requires.
9716 * progmodes/prolog.el (info): No need to load when compiling.
9717 (comint): Require before shell requires it.
9718 (Info-goto-node): Autoload it.
9719 (Info-follow-nearest-node): Declare.
9720 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9722 * textmodes/artist.el (picture-mode-exit): Declare.
9724 * textmodes/reftex-parse.el (reftex-parse-from-file):
9725 Trivial rewrite so the compiler can parse it better.
9727 2013-05-20 Leo Liu <sdl.web@gmail.com>
9729 * progmodes/octave.el (octave-help-mode-map)
9730 (octave-help-mode-finish-hook): New variables.
9731 (octave-help-mode, octave-help-mode-finish): New functions.
9732 (octave-help): Use octave-help-mode.
9734 2013-05-20 Glenn Morris <rgm@gnu.org>
9736 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9738 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9740 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9741 start at point, so that expansion starting right after opening
9742 slash in a regexp is recognized.
9743 (ruby-syntax-before-regexp-re): New defvar, extracted from
9744 ruby-syntax-propertize-function. Since the value of this regexp
9745 is looked up at runtime now, we should be able to turn
9746 `ruby-syntax-methods-before-regexp' into a defcustom later.
9747 (ruby-syntax-propertize-function): Split regexp matching into two
9748 parts, for opening and closing slashes. That allows us to skip
9749 over string interpolations and support multiline regexps.
9750 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9751 for them, which calls `ruby-syntax-propertize-expansion'.
9752 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9753 call to `ruby-syntax-propertize-function'.
9754 (ruby-syntax-propertize-expansion): Extracted from
9755 `ruby-syntax-propertize-expansions'. Handles one expansion.
9756 (ruby-syntax-propertize-percent-literal): Leave point right after
9757 the percent symbol, so that the expression expansion rule can
9758 propertize the contents.
9759 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9761 (ruby-syntax-propertize-expansions): Remove.
9763 2013-05-18 Juri Linkov <juri@jurta.org>
9765 * man.el (Man-default-man-entry): Remove `-' from the end
9766 of the default value. (Bug#14400)
9768 2013-05-18 Glenn Morris <rgm@gnu.org>
9770 * comint.el (comint-password-prompt-regexp):
9771 Allow "password for XXX" where XXX contains colons (eg https://...).
9773 2013-05-18 Leo Liu <sdl.web@gmail.com>
9775 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9776 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9777 (octave-source-directories): Don't check process.
9778 (octave-source-directories, octave-find-definition): Doc fix.
9780 2013-05-18 Glenn Morris <rgm@gnu.org>
9782 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9783 Remove backspace/delete bindings. (Bug#14392)
9785 * cus-dep.el (custom-make-dependencies): Sort the output.
9786 (custom-versions-load-alist): Convert comment to doc.
9788 2013-05-17 Leo Liu <sdl.web@gmail.com>
9790 * newcomment.el (comment-search-backward): Stricter in finding
9791 comment start. (Bug#14303)
9793 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9794 (octave-comment-start-skip): Properly anchored.
9796 2013-05-17 Leo Liu <sdl.web@gmail.com>
9798 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9799 Clean up when turned off. (Bug#14395)
9800 (smie--highlight-matching-block-overlay): No longer buffer-local.
9801 (smie-highlight-matching-block): Adjust.
9803 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9805 Doc string fix for "nanoseconds" (Bug#14406).
9806 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9807 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9809 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9811 * calc/calc-units.el (math-extract-units): Preserve powers
9814 2013-05-17 Leo Liu <sdl.web@gmail.com>
9816 * subr.el (delete-consecutive-dups): New function.
9817 * ido.el (ido-set-matches-1): Use it.
9818 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9819 * ido.el (ido-remove-consecutive-dups): Remove.
9821 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9823 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9824 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9825 regexp-opt's `words'.
9827 2013-05-16 Leo Liu <sdl.web@gmail.com>
9829 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9830 (smie--highlight-matching-block-overlay)
9831 (smie--highlight-matching-block-lastpos)
9832 (smie--highlight-matching-block-timer): New variables.
9833 (smie-highlight-matching-block): New function.
9834 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9835 (smie-setup): Conditionally enable smie-blink-matching-open.
9837 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9839 Sync with upstream verilog-mode r840.
9840 * progmodes/verilog-mode.el (verilog-mode-version)
9841 (verilog-mode-release-date): Update.
9842 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9843 (verilog-sig-tieoff): Fix string error on
9844 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9845 (verilog-read-decls): Fix parameters confusing
9846 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9848 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9850 * subr.el (reveal-filename): New function.
9852 * loadup.el: Compute Emacs executable versions on MS-Windows,
9853 where executables have the .exe extension. Add a hard link
9854 emacs-XX.YY.ZZ.exe on MS-Windows.
9856 * Makefile.in (XARGS_LIMIT): New variable.
9857 (custom-deps, finder-data, autoloads)
9858 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9859 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9860 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9861 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9863 2013-05-16 Leo Liu <sdl.web@gmail.com>
9865 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9866 (octave-mode-menu, octave-mode-map): Remove its uses.
9868 2013-05-16 Reto Zimmermann <reto@gnu.org>
9870 Sync with upstream vhdl mode v3.34.2.
9871 * progmodes/vhdl-mode.el: Use `push' throughout.
9872 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9873 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9874 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9875 (vhdl-actual-generic-name): New option to derive actual generic name.
9876 (vhdl-port-paste-signals): Replace formal by actual generics.
9877 (vhdl-beautify): New name for old group vhdl-align. Update users.
9878 (vhdl-beautify-options): New option.
9879 (vhdl-last-input-event): New compat alias. Use throughout.
9880 (vhdl-goto-line): Replace user level function `goto-line'.
9881 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9882 vhdl-fix-statement-buffer.
9883 (vhdl-create-mode-menu): Add some entries.
9884 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9885 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9886 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9887 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9888 to force statements on one line.
9889 (vhdl-remove-trailing-spaces-region):
9890 New, split from vhdl-remove-trailing-spaces.
9891 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9892 Respect vhdl-beautify-options.
9893 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9894 (vhdl-update-sensitivity-list): Not add with index if exists without.
9895 Not include array index with signal. Ignore keywords in comments.
9896 (vhdl-get-visible-signals): Regexp tweaks.
9897 (vhdl-template-component-inst): Handle empty library.
9898 (vhdl-template-type): Add template for 'enum' type.
9899 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9900 Use vhdl-replace-string.
9901 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9902 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9903 (vhdl-speedbar-initialize): Update for above name change.
9904 (vhdl-compose-wire-components): Fix in handling of constants.
9905 (vhdl-error-regexp-emacs-alist): New variable.
9906 (vhdl-error-regexp-add-emacs): New function;
9907 adds support for new compile.el (Emacs 22+)
9908 (vhdl-generate-makefile-1): Change target order for single lib. units.
9909 Allow use of absolute file names.
9911 2013-05-16 Leo Liu <sdl.web@gmail.com>
9913 * simple.el (prog-indent-sexp): Indent enclosing defun.
9915 2013-05-15 Glenn Morris <rgm@gnu.org>
9917 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9918 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9919 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9920 (whitespace-highlight): Move to whitespace group.
9922 * comint.el (comint-source):
9923 * pcmpl-linux.el (pcmpl-linux):
9924 * shell.el (shell-faces):
9925 * eshell/esh-opt.el (eshell-opt):
9926 * international/ccl.el (ccl): Remove empty custom groups.
9928 * completion.el (dynamic-completion-mode):
9929 * jit-lock.el (jit-lock-debug-mode):
9930 * minibuffer.el (completion-in-region-mode):
9931 * type-break.el (type-break-mode-line-message-mode)
9932 (type-break-query-mode):
9933 * emulation/tpu-edt.el (tpu-edt-mode):
9934 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9935 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9936 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9938 * term/xterm.el (xterm): Change parent group to terminals.
9940 * master.el (master): Remove empty custom group.
9941 (master-mode): Remove unused :group argument.
9942 * textmodes/refill.el (refill): Remove empty custom group.
9943 (refill-mode): Remove unused :group argument.
9945 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9947 * cus-dep.el: Provide a feature.
9948 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9949 Don't mistakenly ignore files whose basenames match a basename
9950 from preloaded-file-list (eg cedet/ede/simple.el).
9951 Add a fallback method for getting :group.
9953 2013-05-15 Juri Linkov <juri@jurta.org>
9955 * isearch.el (isearch-char-by-name): Rename from
9956 `isearch-insert-char-by-name'. Doc fix.
9957 (isearch-forward): Mention `isearch-char-by-name' in
9958 the docstring. (Bug#13348)
9960 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9961 `exit-minibuffer' instead of
9962 `isearch-nonincremental-exit-minibuffer'.
9963 (isearch-edit-string): Remove mention of
9964 `isearch-nonincremental-exit-minibuffer' from docstring.
9965 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9966 (isearch-forward-exit-minibuffer)
9967 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9969 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9971 * loadup.el: Just use unversioned DOC.
9973 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9974 literals as extending to EOB.
9975 (nxml-last-fontify-end): Remove unused variable.
9976 (nxml-after-change1): Use with-silent-modifications.
9977 (nxml-extend-after-change-region): Simplify.
9978 (nxml-extend-after-change-region1): Remove function.
9979 (nxml-after-change1): Don't adjust for dependent regions.
9980 (nxml-fontify-matcher): Simplify.
9981 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9982 (xmltok-add-dependent): Remove function.
9983 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9984 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9985 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9986 unclosed <[[, <?, comment, and other literals as extending to EOB.
9987 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9988 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9990 (rng-do-some-validation-1): Don't mark dependent regions.
9991 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9992 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9993 (nxml-clear-dependent-regions): Remove functions.
9994 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9995 (nxml-ensure-scan-up-to-date):
9996 Don't clear&mark dependent regions.
9998 2013-05-15 Leo Liu <sdl.web@gmail.com>
10000 * progmodes/octave.el (octave-goto-function-definition):
10001 Improve and fix callers.
10003 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10005 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10006 the setter (bug#14387).
10008 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10009 surrounding group (bug#14402).
10011 2013-05-14 Juri Linkov <juri@jurta.org>
10013 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10016 2013-05-14 Glenn Morris <rgm@gnu.org>
10018 * progmodes/f90.el (f90-imenu-generic-expression):
10019 Fix typo in 2013-05-08 change. (Bug#14402)
10021 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10023 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10024 Remove signals for which replies are never received.
10026 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10028 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10029 (gdb-handler-alist, gdb-handler-number): Remove variables.
10030 (gdb-handler-list): New variable.
10031 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10032 (gdb-pending-handler-p, gdb-handle-reply)
10033 (gdb-remove-all-pending-triggers): New functions.
10034 (gdb-discard-unordered-replies): New defcustom.
10035 (gdb-handler): New defstruct.
10036 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10037 instead of gdb-pending-triggers. Update docstring.
10038 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10039 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10040 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10041 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10042 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10043 (gdb-frame-handler): Pending triggers are now automatically managed.
10044 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10046 (gdb-input): Automatically handles pending triggers. Update docstring.
10047 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10048 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10050 (gdb-done-or-error): Now use gdb-handle-reply.
10052 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10054 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10057 2013-05-14 Glenn Morris <rgm@gnu.org>
10059 * subr.el (user-emacs-directory-warning): New option.
10060 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10062 2013-05-14 Leo Liu <sdl.web@gmail.com>
10064 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10066 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10067 (octave-font-lock-texinfo-comment): Fix invalid search bound
10068 error: wrong side of point.
10070 2013-05-14 Glenn Morris <rgm@gnu.org>
10072 * progmodes/flymake.el (flymake-xml-program): New option.
10073 (flymake-xml-init): Use it.
10075 * term/xterm.el: Provide a feature.
10077 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10079 2013-05-13 Glenn Morris <rgm@gnu.org>
10081 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10082 Add compat aliases as a hack workaround. (Bug#14384)
10084 2013-05-13 Leo Liu <sdl.web@gmail.com>
10086 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10088 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10090 (octave-comment-start-skip): Include %!.
10091 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10093 2013-05-12 Leo Liu <sdl.web@gmail.com>
10095 * progmodes/octave.el (inferior-octave-startup): Store the value
10096 of __octave_srcdir__ for octave-source-directories.
10097 (inferior-octave-check-process): New function refactored out of
10098 inferior-octave-send-list-and-digest.
10099 (octave-source-directories)
10100 (octave-find-definition-filename-function): New variables.
10101 (octave-source-directories)
10102 (octave-find-definition-default-filename): New functions.
10103 (octave-find-definition): Improve to find functions implemented in C++.
10105 2013-05-12 Glenn Morris <rgm@gnu.org>
10107 * calendar/diary-lib.el (diary-outlook-format-1):
10108 Don't include dayname in the output. (Bug#14349)
10110 2013-05-11 Glenn Morris <rgm@gnu.org>
10112 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10114 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10115 Treat cc-provide like provide.
10117 2013-05-11 Kevin Ryde <user42@zip.com.au>
10119 * cus-dep.el (custom-make-dependencies):
10120 Use generated-autoload-load-name for the sake of files such
10121 such cedet/semantic/bovine/c.el, where the base file name
10122 is not in load-path. (Bug#5277)
10124 2013-05-11 Glenn Morris <rgm@gnu.org>
10126 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10129 2013-05-11 Leo Liu <sdl.web@gmail.com>
10131 * progmodes/octave.el (octave-indent-comment): Improve.
10132 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10133 (octave-eldoc-function-signatures, octave-eldoc-function):
10135 (octave-mode, inferior-octave-mode): Add eldoc support.
10137 2013-05-11 Richard Stallman <rms@gnu.org>
10139 * epa.el (epa-decrypt-file): Take output file name as argument
10140 and read it using `interactive'.
10142 2013-05-11 Leo Liu <sdl.web@gmail.com>
10144 * progmodes/octave.el (octave-beginning-of-line)
10145 (octave-end-of-line): Check before using up-list because it jumps
10146 out of more syntactic contructs since moving to smie.
10147 (octave-indent-comment): New function.
10148 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10149 (octave-begin-keywords, octave-end-keywords)
10150 (octave-reserved-words, octave-smie-bnf-table)
10151 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10153 2013-05-11 Glenn Morris <rgm@gnu.org>
10155 * faces.el (internal-face-x-get-resource):
10156 * frame.el (ns-display-monitor-attributes-list):
10157 * calc/calc-aent.el (math-to-radians-2):
10158 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10161 * calc/calc-menu.el: Make it loadable in isolation.
10163 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10164 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10165 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10166 (eudc-bbdb-query-internal): Require 'bbdb.
10168 * lpr.el (lpr-headers-switches):
10169 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10171 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10173 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10175 * term.el (term-set-escape-char): Make it idempotent.
10177 2013-05-10 Leo Liu <sdl.web@gmail.com>
10179 * progmodes/octave.el (inferior-octave-completion-table):
10180 No longer a function and all uses changed. Use cache to speed up
10181 completion due to bug#11906.
10182 (octave-beginning-of-defun): Re-write to be more general.
10184 2013-05-10 Glenn Morris <rgm@gnu.org>
10186 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10188 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10190 * comint.el (comint-redirect-send-command-to-process): Use :around
10191 rather than :override for comint-redirect-filter.
10192 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10193 Call it instead of comint-redirect-original-filter-function (which
10194 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10196 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10198 * frame.el (display-monitor-attributes-list): Add NS case.
10199 (ns-display-monitor-attributes-list): Declare.
10201 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10203 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10205 2013-05-09 Glenn Morris <rgm@gnu.org>
10207 * international/fontset.el (vertical-centering-font-regexp):
10208 Set standard-value.
10210 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10212 * bookmark.el (bookmark-search-delay):
10213 * cus-start.el (vertical-centering-font-regexp):
10214 * ps-mule.el (ps-mule-font-info-database-default):
10215 * ps-print.el (ps-default-fg, ps-default-bg):
10216 * type-break.el (type-break-good-break-interval):
10217 * whitespace.el (whitespace-indentation-regexp)
10218 (whitespace-space-after-tab-regexp):
10219 * emacs-lisp/testcover.el (testcover-1value-functions)
10220 (testcover-noreturn-functions, testcover-progn-functions)
10221 (testcover-prog1-functions):
10222 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10223 * eshell/em-glob.el (eshell-glob-translate-alist):
10224 * play/tetris.el (tetris-tty-colors):
10225 * progmodes/cpp.el (cpp-face-default-list):
10226 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10227 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10228 (idlwave-help-browser-generic-args):
10229 * progmodes/make-mode.el (makefile-special-targets-list):
10230 * progmodes/python.el (python-shell-virtualenv-path):
10231 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10232 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10233 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10234 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10235 * textmodes/reftex-vars.el (reftex-format-label-function):
10236 * textmodes/remember.el (remember-diary-file): Fix custom types.
10238 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10241 2013-05-09 Leo Liu <sdl.web@gmail.com>
10243 * progmodes/octave.el (inferior-octave-completion-at-point):
10244 Restore file completion. (Bug#14300)
10245 (inferior-octave-startup): Fix incorrect highlighting for the
10248 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10250 * progmodes/ruby-mode.el: First cut at SMIE support.
10251 (ruby-use-smie): New var.
10252 (ruby-smie-grammar): New constant.
10253 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10254 (ruby-smie--forward-token, ruby-smie--backward-token)
10255 (ruby-smie-rules): New functions.
10256 (ruby-mode-variables): Setup SMIE if applicable.
10258 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10260 * simple.el (line-move-visual): Signal beginning/end of buffer
10261 only if vertical-motion moved less than it was requested. Avoids
10262 silly incorrect error messages when there are display strings with
10263 multiple newlines at EOL.
10265 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10267 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10268 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10269 (prolog-char-quote-workaround):
10270 * progmodes/cperl-mode.el (cperl-under-as-char):
10271 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10273 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10275 (vhdl-mode-syntax-table-init): Remove.
10277 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10280 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10282 (ld-script-font-lock-keywords):
10283 Change regexps to use things like \_< and \_>.
10285 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10286 Change all regexps to use things like \_< and \_>.
10288 * progmodes/autoconf.el (autoconf-definition-regexp)
10289 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10290 Handle a _ with symbol syntax.
10291 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10293 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10294 Consolidate declaration.
10295 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10297 (ada-create-syntax-table): Remove.
10298 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10299 already has the right syntax nowadays.
10300 (ada-goto-next-word): Don't change the syntax of "_".
10302 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10305 2013-05-08 Sam Steingold <sds@gnu.org>
10307 * thingatpt.el (thing-at-point): Accept optional second argument
10308 NO-PROPERTIES to strip the text properties from the return value.
10309 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10310 to `thing-at-point' instead of stripping the properties ourselves.
10311 Also, when `thing-at-point' fails to find a url, prepend "http://"
10312 to the filename at point on the assumption that the user is
10313 pointing at something like gnu.org/gnu.
10315 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10317 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10318 * faces.el (crm-separator):
10319 Silence byte-compiler.
10321 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10322 (tool-bar-map): Remove unneeded defvars.
10324 2013-05-08 Leo Liu <sdl.web@gmail.com>
10326 Re-work a fix for bug#10994 based on Le Wang's patch.
10327 * ido.el (ido-remove-consecutive-dups): New helper.
10328 (ido-completing-read): Use it.
10329 (ido-chop): Revert fix for bug#10994.
10331 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10333 * cus-edit.el (custom-save-variables):
10334 Pretty-print long values. (Bug#14187)
10336 2013-05-08 Glenn Morris <rgm@gnu.org>
10338 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10339 (m4-mode-syntax-table): Init in the defvar.
10340 (m4-mode-abbrev-table): Let define-derived-mode define it.
10342 2013-05-08 Tom Tromey <tromey@redhat.com>
10344 * progmodes/m4-mode.el (m4-mode-syntax-table):
10345 Do not treat "_" as word constituent. (Bug#14167)
10347 2013-05-07 Glenn Morris <rgm@gnu.org>
10349 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10350 Remove explicit eshell-isearch-cancel-map.
10352 * progmodes/f90.el (f90-smart-end-names): New option.
10353 (f90-smart-end): Doc fix.
10354 (f90-end-block-optional-name): New constant.
10355 (f90-block-match): Respect f90-smart-end-names.
10357 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10359 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10360 about implicit semi-colons (bug#14218).
10362 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10364 * frame.el (display-monitor-attributes-list)
10365 (frame-monitor-attributes): New functions.
10367 2013-05-06 Leo Liu <sdl.web@gmail.com>
10369 * progmodes/octave.el (octave-syntax-propertize-function): Change
10370 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10371 (octave-font-lock-keywords): Use octave-operator-regexp.
10372 (octave-completion-at-point): Rename from
10373 octave-completion-at-point-function.
10374 (inferior-octave-directory-tracker): Robustify.
10375 (octave-text-functions): Remove and fix its uses. No such things
10378 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10380 * emacs-lisp/trace.el (trace--display-buffer): New function.
10381 (trace-make-advice): Use it.
10383 2013-05-06 Juri Linkov <juri@jurta.org>
10385 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10386 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10388 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10389 in the help string. (Bug#12985)
10391 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10393 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10395 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10397 * progmodes/perl-mode.el: Add support for here documents.
10398 (perl-syntax-propertize-function): Match here-doc markers.
10399 (perl-syntax-propertize-special-constructs): Find their end.
10400 (perl-imenu-generic-expression): Use [:alnum:].
10402 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10403 (advice--add-function): Refresh the advice if already present
10406 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10408 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10410 2013-05-06 Glenn Morris <rgm@gnu.org>
10412 * w32-fns.el (w32-charset-info-alist): Declare.
10414 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10415 of its defcustom properties.
10416 (eshell-cmpl-initialize): No need to load pcomplete.
10418 * generic-x.el: No need to require comint when compiling.
10420 * net/eudc-export.el: Make it loadable without bbdb.
10421 (top-level): Use require rather than load-library.
10422 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10423 (eudc-batch-export-records-to-bbdb)
10424 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10427 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10429 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10430 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10431 some tweaks, instead.
10433 2013-05-05 Leo Liu <sdl.web@gmail.com>
10435 * progmodes/octave.el (octave-font-lock-keywords)
10436 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10437 (inferior-octave-send-list-and-digest): Improve error message.
10438 (octave-mode, inferior-octave-mode): Use setq-local.
10439 (octave-help): Set info-lookup-mode.
10441 2013-05-05 Richard Stallman <rms@gnu.org>
10443 * vc/compare-w.el (compare-windows-whitespace):
10444 Treat no-break space as whitespace.
10446 * mail/rmailsum.el (rmail-summary-rmail-update):
10447 Detect empty summary and don't change selected message.
10448 (rmail-summary-goto-msg): Likewise.
10450 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10451 Doc fixes, rename args.
10453 2013-05-05 Alan Mackenzie <acm@muc.de>
10455 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10457 2013-05-05 Juri Linkov <juri@jurta.org>
10459 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10460 to not add the length of the summary segment to the return value.
10463 2013-05-05 Leo Liu <sdl.web@gmail.com>
10465 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10466 (inferior-octave-output-filter): Remove.
10467 (octave-send-region, inferior-octave-startup): Fix callers.
10468 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10469 (octave-binary-file-extensions): New user variable.
10470 (octave-find-definition): Confirm if opening binary files.
10471 (octave-help-file): Use octave-find-definition to get the binary
10473 (octave-help): Adjust for octave-help-file change.
10475 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10477 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10478 Merge the two entries that handle function definitions.
10479 (pascal--syntax-propertize): New const.
10480 (pascal-mode): Use it. Use setq-local.
10482 2013-05-04 Glenn Morris <rgm@gnu.org>
10484 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10485 (diary-from-outlook): Respect diary-from-outlook-function.
10487 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10489 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10490 Move the declaration from C.
10491 (read-minibuffer, eval-minibuffer): Move from C.
10492 (completion-setup-function): Avoid minibuffer-completion-contents.
10494 2013-05-03 Leo Liu <sdl.web@gmail.com>
10496 * progmodes/octave.el (octave-font-lock-keywords): Do not
10497 dehighlight 'end' in comments or strings.
10498 (octave-completing-read, octave-goto-function-definition):
10500 (octave-help-buffer): New user variable.
10501 (octave-help-file, octave-help-function): New button types.
10502 (octave-help): New command and bind it to C-h ;.
10503 (octave-find-definition): New command and bind it to M-.
10504 (user-error): Alias to error if not defined.
10506 2013-05-02 Leo Liu <sdl.web@gmail.com>
10508 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10510 (octave-font-lock-keywords): Include [ and {.
10512 2013-05-02 Leo Liu <sdl.web@gmail.com>
10514 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10515 (inferior-octave): Remove calling comint-mode and return the buffer.
10516 (inferior-octave-startup): Cosmetic changes.
10518 2013-05-02 Leo Liu <sdl.web@gmail.com>
10520 * progmodes/octave.el (octave-syntax-propertize-function):
10521 Include the case when ' is at line beginning. (Bug#14336)
10523 2013-05-02 Glenn Morris <rgm@gnu.org>
10525 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10526 * desktop.el (vc-dir-mode): Just autoload it here.
10528 2013-05-02 Alan Mackenzie <acm@muc.de>
10530 Eliminate variable c-standard-font-lock-fontify-region-function.
10531 * progmodes/cc-mode.el
10532 (c-standard-font-lock-fontify-region-function): Remove.
10533 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10535 2013-05-01 Leo Liu <sdl.web@gmail.com>
10537 * progmodes/octave.el: Compatible with older emacs-24 releases.
10538 (inferior-octave-has-built-in-variables): Remove. Built-in
10539 variables were removed from Octave in 2007.
10540 (inferior-octave-startup): Fix uses.
10541 (comint-line-beginning-position): Remove compatibility code for
10544 2013-05-01 Juri Linkov <juri@jurta.org>
10546 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10548 2013-05-01 Juri Linkov <juri@jurta.org>
10550 * comint.el (comint-previous-matching-input): Don't print message
10551 "History item: %d" when `isearch-mode' is active.
10552 (comint-history-isearch-message): Print message "History item: %d"
10553 when `comint-input-ring-index' is not empty and this function is
10554 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10556 2013-05-01 Leo Liu <sdl.web@gmail.com>
10558 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10559 definitions. Use completion-at-point to insert keywords.
10560 (octave-abbrev-start): Remove.
10561 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10563 2013-04-30 Leo Liu <sdl.web@gmail.com>
10565 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10568 2013-04-30 Alan Mackenzie <acm@muc.de>
10570 Handle arbitrarily long C++ member initialisation lists.
10571 * progmodes/cc-engine.el (c-back-over-member-initializers):
10573 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10574 (most) member init lists.
10576 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10578 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10581 2013-04-30 Leo Liu <sdl.web@gmail.com>
10583 * progmodes/octave.el (octave-variables): Remove. No builtin
10584 variables any more. All converted to functions.
10585 (octave-font-lock-keywords, octave-completion-at-point-function):
10587 (octave-font-lock-texinfo-comment): New user variable.
10588 (octave-texinfo-font-lock-keywords): New variable for texinfo
10590 (octave-function-comment-block): New face.
10591 (octave-font-lock-texinfo-comment): New function.
10592 (octave-mode): Font lock texinfo comment block.
10594 2013-04-29 Leo Liu <sdl.web@gmail.com>
10596 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10597 indexing expression.
10598 (octave-continuation-string): Do not use \.
10599 (inferior-octave-complete-impossible): Remove.
10600 (inferior-octave-completion-table)
10601 (inferior-octave-completion-at-point): Remove its uses.
10602 (inferior-octave-startup): completion_matches was introduced to
10603 Octave in 1996 so safe to assume it.
10604 (octave-function-file-comment): Improve to follow how Octave does it.
10605 (octave-update-function-file-comment): Tweak.
10607 2013-04-29 Leo Liu <sdl.web@gmail.com>
10609 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10610 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10611 (octave-function-file-comment): Fix typo.
10612 (octave-sync-function-file-names): Use read-char-choice.
10614 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10616 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10617 to t for the less important warnings.
10619 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10621 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10623 2013-04-27 Glenn Morris <rgm@gnu.org>
10625 * vc/log-view.el (log-view-current-entry):
10626 Treat "---" separator lines as part of the following rev. (Bug#14169)
10628 2013-04-27 Juri Linkov <juri@jurta.org>
10630 * subr.el (read-number): Doc fix about using it by interactive
10631 code letter `n'. (Bug#14254)
10633 2013-04-27 Juri Linkov <juri@jurta.org>
10635 * desktop.el (desktop-auto-save-timeout): New option.
10636 (desktop-file-checksum): New variable.
10637 (desktop-save): Add optional arg `auto-save' and don't auto-save
10638 if nothing changed.
10639 (desktop-auto-save-timer): New variable.
10640 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10641 (after-init-hook): Call `desktop-auto-save-set-timer'.
10642 Suggested by Reuben Thomas <rrt@sc3d.org> in
10643 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10645 2013-04-27 Leo Liu <sdl.web@gmail.com>
10647 * progmodes/octave.el (octave-function-file-p)
10648 (octave-skip-comment-forward, octave-function-file-comment)
10649 (octave-update-function-file-comment): New functions.
10650 (octave-mode-map): Bind C-c ; to
10651 octave-update-function-file-comment.
10652 (octave-mode-menu): Add octave-update-function-file-comment.
10653 (octave-mode, inferior-octave-mode): Fix doc-string.
10654 (octave-insert-defun): Conform to Octave's coding convention.
10657 * files.el (basic-save-buffer): Don't let errors in
10658 before-save-hook prevent saving buffer.
10660 2013-04-20 Roland Winkler <winkler@gnu.org>
10662 * faces.el (read-face-name): Use completing-read if arg multiple
10665 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10667 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10668 displayed, move point to after the totals line.
10669 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10672 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10674 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10675 Add current dir to the load-path.
10676 (package-generate-autoloads): Don't rely on
10677 autoload-ensure-default-file.
10679 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10681 * textmodes/remember.el (remember-store-in-files): Document that
10682 the file name format is passed to `format-time-string'.
10684 2013-04-26 Leo Liu <sdl.web@gmail.com>
10686 * progmodes/octave.el (octave-sync-function-file-names): New function.
10687 (octave-mode): Use it in before-save-hook.
10689 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10691 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10694 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10695 \n and comment, even if it's not an implicit ; (bug#14218).
10697 2013-04-26 Glenn Morris <rgm@gnu.org>
10699 * subr.el (read-number): Once more use `read' rather than
10700 `string-to-number', to trap non-numeric input. (Bug#14254)
10702 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10704 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10705 Use `syntax-multiline' text property consistently instead of
10706 `font-lock-multiline'. (Bug#14237)
10708 2013-04-26 Glenn Morris <rgm@gnu.org>
10710 * emacs-lisp/shadow.el (list-load-path-shadows):
10711 No longer necessary to check for duplicate simple.el, since
10712 2012-07-07 change to init_lread to not include installation lisp
10713 directories in load-path when running uninstalled. (Bug#14270)
10715 2013-04-26 Leo Liu <sdl.web@gmail.com>
10717 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10718 (octave-mode, inferior-octave-mode): Use setq-local.
10719 (octave-not-in-string-or-comment-p): Rename to
10720 octave-in-string-or-comment-p.
10721 (octave-in-comment-p, octave-in-string-p)
10722 (octave-in-string-or-comment-p): Replace defsubst with defun.
10724 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10726 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10728 2013-04-25 Bastien Guerry <bzg@gnu.org>
10730 * textmodes/remember.el (remember-data-directory)
10731 (remember-directory-file-name-format): Fix custom types.
10733 2013-04-25 Leo Liu <sdl.web@gmail.com>
10735 * progmodes/octave.el (octave-completion-at-point-function):
10736 Make use of inferior octave process.
10737 (octave-initialize-completions): Remove.
10738 (inferior-octave-completion-table): New function.
10739 (inferior-octave-completion-at-point): Use it.
10740 (octave-completion-alist): Remove.
10742 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10744 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10745 (opascal-mode-syntax-table): New var.
10746 (opascal-literal-kind, opascal-is-literal-end)
10747 (opascal-literal-token-at): Rewrite.
10748 (opascal--literal-start-re, opascal-font-lock-keywords)
10749 (opascal--syntax-propertize): New constants.
10750 (opascal-font-lock-defaults): Adjust.
10751 (opascal-mode): Use them. Set comment-<foo> variables as well.
10752 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10753 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10754 (delphi-other-face, opascal-other-face): Remove face variables.
10755 (opascal-save-state): Remove macro.
10756 (opascal-fontifying-progress-step): Remove constant.
10757 (opascal--ignore-changes): Remove var.
10758 (opascal-set-token-property, opascal-parse-next-literal)
10759 (opascal-is-stable-literal, opascal-complete-literal)
10760 (opascal-is-literal-start, opascal-face-of)
10761 (opascal-parse-region, opascal-parse-region-until-stable)
10762 (opascal-fontify-region, opascal-after-change)
10763 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10764 (opascal-debug-parse-region, opascal-debug-parse-window)
10765 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10766 (opascal-debug-fontify-buffer): Remove.
10767 (opascal-debug-mode-map): Adjust accordingly.
10769 2013-04-25 Leo Liu <sdl.web@gmail.com>
10771 Merge octave-mod.el and octave-inf.el into octave.el with some
10773 * progmodes/octave.el: New file renamed from octave-mod.el.
10774 * progmodes/octave-inf.el: Merged into octave.el.
10775 * progmodes/octave-mod.el: Renamed to octave.el.
10777 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10779 * textmodes/reftex-vars.el
10780 (reftex-label-ignored-macros-and-environments): New defcustom.
10782 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10784 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10786 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10787 (smie-indent-keyword): Improve the check to ensure that the next
10788 comment is really on the same line.
10789 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10791 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10792 semi-colons if the line is not otherwise empty (bug#14218).
10794 2013-04-25 Glenn Morris <rgm@gnu.org>
10796 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10798 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10800 * progmodes/opascal.el (opascal-set-token-property): Rename from
10801 opascal-set-text-properties and only set `token' (bug#14134).
10802 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10803 (opascal-literal-text-properties): Remove.
10804 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10807 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10809 * textmodes/remember.el (remember-handler-functions): Add an
10810 option for a new handler `remember-store-in-files'.
10811 (remember-data-directory, remember-directory-file-name-format):
10813 (remember-store-in-files): New function to store remember notes
10814 as separate files within a directory.
10816 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10818 * progmodes/compile.el (compilation-next-error-function):
10819 Pass "formats" to compilation-find-file (bug#11777).
10821 2013-04-24 Glenn Morris <rgm@gnu.org>
10823 * vc/vc-bzr.el (vc-bzr-print-log):
10824 * vc/vc-hg.el (vc-hg-print-log):
10825 * vc/vc-svn.el (vc-svn-print-log):
10826 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10828 * vc/vc-bzr.el (vc-bzr-print-log):
10829 * vc/vc-cvs.el (vc-cvs-print-log):
10830 * vc/vc-git.el (vc-git-print-log):
10831 * vc/vc-hg.el (vc-hg-print-log):
10832 * vc/vc-mtn.el (vc-mtn-print-log):
10833 * vc/vc-rcs.el (vc-rcs-print-log):
10834 * vc/vc-sccs.el (vc-sccs-print-log):
10835 * vc/vc-svn.el (vc-svn-print-log):
10836 * vc/vc.el (vc-print-log-internal): Doc fixes.
10838 2013-04-23 Glenn Morris <rgm@gnu.org>
10840 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10841 Remove venerable code attempting to avoid substitute-command-keys.
10843 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10845 * textmodes/reftex-vars.el (reftex-label-regexps):
10846 Call `reftex-compile-variables' after changes to this variable.
10848 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10850 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10851 Use lexical-binding.
10852 (jit-lock-force-redisplay): Use markers, check buffer's continued
10853 existence and beware narrowed buffers.
10854 (jit-lock-fontify-now): Adjust call accordingly.
10856 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10858 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10859 to avoid misleading the user.
10861 2013-04-22 Leo Liu <sdl.web@gmail.com>
10863 * info-look.el: Prefer latex2e.info. (Bug#14240)
10865 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10867 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10869 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10870 * net/tramp.el (tramp-call-process): ... here.
10871 (tramp-set-completion-function, tramp-parse-putty):
10872 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10873 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10874 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10875 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10876 (tramp-call-local-coding-command): Use `tramp-call-process'
10877 instead of `tramp-compat-call-process'.
10879 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10880 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10881 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10882 (tramp-find-inline-compress): Improve traces.
10883 (tramp-maybe-send-script): Check for Perl binary.
10884 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10886 2013-04-22 Daiki Ueno <ueno@gnu.org>
10888 * epg.el (epg-context-pinentry-mode): New function.
10889 (epg-context-set-pinentry-mode): New function.
10890 (epg--start): Pass --pinentry-mode option to gpg command.
10892 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10894 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10895 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10896 `completion-at-point'. (Bug#13774)
10898 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10899 default key binding for `describe-distribution' has been moved to
10900 `C-h C-o'. (Bug#13970)
10902 2013-04-21 Glenn Morris <rgm@gnu.org>
10904 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10906 (vc-print-log): Clarify interactive prompt.
10908 2013-04-20 Glenn Morris <rgm@gnu.org>
10910 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10911 No longer include timestamp etc information.
10913 2013-04-20 Roland Winkler <winkler@gnu.org>
10915 * faces.el (read-face-name): Bug fix, return just one face if arg
10916 multiple is nil. (Bug#14209)
10918 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10920 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10921 (remove-function): Autoload.
10923 * comint.el (comint-redirect-original-filter-function): Remove.
10924 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10925 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10926 (vc-cvs-annotate-command):
10927 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10928 * progmodes/prolog.el (prolog-consult-compile):
10929 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10930 Use add/remove-function instead.
10931 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10932 (gud-tooltip-process-output, gud-tooltip-tips):
10933 Use add/remove-function instead.
10934 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10935 (scheme-interaction-mode, exit-scheme-interaction-mode):
10936 Use add/remove-function instead.
10938 * vc/vc-dispatcher.el: Use lexical-binding.
10939 (vc--process-sentinel): Rename from vc-process-sentinel.
10940 Change last arg to be the code to run. Don't use vc-previous-sentinel
10941 and vc-sentinel-commands any more.
10942 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10943 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10945 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10947 * progmodes/sh-script.el (sh-imenu-generic-expression):
10948 Handle function names with a single character. (Bug#14111)
10950 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10952 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10953 for subroutines defined in an eval (bug#14182).
10955 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10957 * bookmark.el (bookmark-completing-read): Improve handling of empty
10958 string (bug#14176).
10960 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10962 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10964 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10966 New faster Imenu implementation (bug#14058).
10967 * progmodes/python.el:
10968 (python-imenu-prev-index-position):
10969 (python-imenu-format-item-label-function)
10970 (python-imenu-format-parent-item-label-function)
10971 (python-imenu-format-parent-item-jump-label-function):
10973 (python-imenu-format-item-label)
10974 (python-imenu-format-parent-item-label)
10975 (python-imenu-format-parent-item-jump-label)
10976 (python-imenu--put-parent, python-imenu--build-tree)
10977 (python-imenu-create-index, python-imenu-create-flat-index)
10978 (python-util-popn): New functions.
10979 (python-mode): Set imenu-create-index-function to
10980 python-imenu-create-index.
10982 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10984 * winner.el (winner-active-region): Use region-active-p, activate-mark
10985 and deactivate-mark (bug#14225).
10987 * simple.el (deactivate-mark): Don't inline it.
10989 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10991 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10993 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10995 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10996 file extensions from the archive-mode entry in order to prefer
10997 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10999 2013-04-18 Leo Liu <sdl.web@gmail.com>
11001 * bindings.el (help-event-list): Add ?\?.
11003 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11005 * subr.el (with-wrapper-hook): Declare obsolete.
11006 * simple.el (filter-buffer-substring-function): New hook.
11007 (filter-buffer-substring): Use it.
11008 (filter-buffer-substring-functions): Mark obsolete.
11009 * minibuffer.el (completion-in-region-function): New hook.
11010 (completion-in-region): Use it.
11011 (completion-in-region-functions): Mark obsolete.
11012 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11013 * abbrev.el (abbrev-expand-function): New hook.
11014 (expand-abbrev): Use it.
11015 (abbrev-expand-functions): Mark obsolete.
11016 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11017 and :filter-return.
11019 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11021 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11022 and do not care about match data.
11024 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11026 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11027 completion tables when completing error conditions and
11028 `declare' arguments.
11029 (lisp-complete-symbol, field-complete): Mark as obsolete.
11030 (check-parens): Unmatched parens are user errors.
11031 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11033 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11035 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11036 command changed buffer (ie. `flyspell-pre-buffer' is not current
11037 buffer), which prevents making decisions based on invalid value of
11038 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11039 cause an error when `flyspell-pre-point' was nil after switching
11041 (flyspell-post-command-hook): No longer needs to change buffers when
11042 checking pre-word. While at it remove unnecessary progn.
11044 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11046 * textmodes/ispell.el (ispell-add-per-file-word-list):
11047 Fix `flyspell-correct-word-before-point' error when accepting
11048 words and `coment-padding' is an integer by using
11049 `comment-normalize-vars' (Bug #14214).
11051 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11053 New defun movement commands.
11054 * progmodes/python.el (python-nav--syntactically)
11055 (python-nav--forward-defun, python-nav-backward-defun)
11056 (python-nav-forward-defun): New functions.
11058 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11060 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11061 (python-syntax-context): Use named compiler-macro for backwards
11062 compatibility with Emacs 24.x.
11064 2013-04-17 Leo Liu <sdl.web@gmail.com>
11066 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11067 octave-hide-process-buffer.
11069 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11071 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11074 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11076 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11077 Fix adjustment of offset when receiving incomplete responses from GDB
11080 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11082 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11083 python-mode-abbrev-table.
11084 (python-skeleton-define): Adjust accordingly.
11085 (python-mode-abbrev-table): New table that inherits from it so that
11086 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11088 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11089 (abbrev-symbol): Use it.
11090 (abbrev--before-point): Use it since we already handle inheritance.
11092 2013-04-16 Leo Liu <sdl.web@gmail.com>
11094 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11095 binding to info-lookup-symbol.
11097 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11099 * minibuffer.el (completion--twq-all):
11100 * term/ns-win.el (ns-initialize-window-system):
11101 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11103 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11105 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11108 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11110 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11112 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11113 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11115 (ruby-end-of-defun): Remove the unused arg, change the docstring
11116 to reflect that this function is only used as the value of
11117 `end-of-defun-function'.
11118 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11119 to reflect an earlier change that beginning/end-of-defun functions
11120 jump between methods in a class definition, as well as top-level
11123 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11125 * minibuffer.el (minibuffer-complete): Don't just scroll
11126 a *Completions* that's been iconified.
11127 (minibuffer-force-complete): Make sure repetitions do cycle when going
11128 through completion-in-region -> minibuffer-complete.
11130 2013-04-15 Alan Mackenzie <acm@muc.de>
11132 Correct the placement of c-cpp-delimiters when there're #s not at
11135 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11136 place a submatch around the #.
11137 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11138 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11141 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11143 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11144 (advice--member-p): New arg `name'.
11145 (advice--add-function, advice-member-p): Use it (bug#14202).
11147 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11149 Reformulate java imenu-generic-expression.
11150 The old expression contained ill formed regexps.
11152 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11153 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11154 (cc-imenu-java-method-arg-regexp): New defconsts.
11155 (cc-imenu-java-build-type-args-regex): New defun.
11156 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11157 handling of spaces in the regexp.
11159 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11161 * textmodes/ispell.el (ispell-command-loop): Remove
11162 flyspell highlight of a word when ispell accepts it (bug #14178).
11164 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11166 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11167 uses code from the previous `ange-ftp-run-real-handler'.
11168 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11169 only in case that function exist. This is needed for proper
11170 unloading of Tramp.
11172 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11174 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11176 * textmodes/reftex.el (reftex-compile-variables): Use it.
11178 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11180 * files.el (normal-mode): Only use default major-mode if no other mode
11183 * emacs-lisp/trace.el (trace-values): New function.
11185 * files.el: Allow : in local variables (bug#14089).
11186 (hack-local-variable-regexp): New var.
11187 (hack-local-variables-prop-line, hack-local-variables): Use it.
11189 2013-04-13 Roland Winkler <winkler@gnu.org>
11191 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11192 data before it gets modified by bibtex-beginning-of-entry.
11194 2013-04-13 Roland Winkler <winkler@gnu.org>
11196 * textmodes/bibtex.el (bibtex-url): Doc fix.
11198 2013-04-13 Roland Winkler <winkler@gnu.org>
11200 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11201 does not visit a BibTeX file, exclude it from the list of buffers
11202 returned by bibtex-initialize.
11204 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11206 * window.el (split-window): Remove interactive form, since as a
11207 command this function is a special case of split-window-below.
11208 Correct doc string.
11210 2013-04-12 Roland Winkler <winkler@gnu.org>
11212 * faces.el (read-face-name): Do not override value of arg default.
11213 Allow single faces and strings as default values. Remove those
11214 elements from return value that are not faces.
11215 (describe-face): Simplify.
11216 (face-at-point): New optional args thing and multiple so that this
11217 function can provide the same functionality previously provided by
11219 (make-face-bold, make-face-unbold, make-face-italic)
11220 (make-face-unitalic, make-face-bold-italic, invert-face)
11221 (modify-face, read-face-and-attribute): Use face-at-point.
11223 * cus-edit.el (customize-face, customize-face-other-window)
11224 * cus-theme.el (custom-theme-add-face)
11225 * face-remap.el (buffer-face-set)
11226 * facemenu.el (facemenu-set-face): Use face-at-point.
11228 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11230 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11232 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11234 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11235 off leading { and trailing } from field values.
11237 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11239 * emacs-lisp/timer.el (timer--check): New function.
11240 (timer--time, timer-set-function, timer-event-handler): Use it.
11241 (timer-set-idle-time): Simplify.
11242 (timer--activate): CSE.
11243 (timer-event-handler): Give more info in error message.
11244 (internal-timer-start-idle): New function, moved from C.
11246 * mpc.el (mpc-proc): Add `restart' argument.
11247 (mpc-proc-cmd): Use it.
11248 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11249 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11252 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11254 * progmodes/sh-script.el: Implement `sh-mode' own
11255 `add-log-current-defun-function' (bug#14112).
11256 (sh-current-defun-name): New function.
11257 (sh-mode): Use the function.
11259 2013-04-09 Bastien Guerry <bzg@gnu.org>
11261 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11263 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11265 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11267 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11270 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11272 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11275 2013-04-07 Leo Liu <sdl.web@gmail.com>
11277 * pcmpl-x.el: New file.
11279 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11281 Do not set x-display-name until X connection is established.
11282 This is needed to prevent from weird situation described at
11283 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11284 * frame.el (make-frame): Set x-display-name after call to
11285 window system initialization function, not before.
11286 * term/x-win.el (x-initialize-window-system): Add optional
11287 display argument and use it.
11288 * term/w32-win.el (w32-initialize-window-system):
11289 * term/ns-win.el (ns-initialize-window-system):
11290 * term/pc-win.el (msdos-initialize-window-system):
11291 Add compatible optional display argument.
11293 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11295 * files.el (normal-backup-enable-predicate): On MS-Windows and
11296 MS-DOS compare truenames of temporary-file-directory and of the
11297 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11298 don't fail comparison by compare-strings. Also, compare file
11299 names case-insensitively on MS-Windows and MS-DOS.
11301 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11303 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11304 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11306 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11308 * whitespace.el (whitespace-color-on, whitespace-color-off):
11309 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11311 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11313 * ispell.el (ispell-set-spellchecker-params):
11314 Really set `ispell-args' for all equivs.
11316 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11318 * ido.el (ido-completions): Use extra elements of ido-decorations
11320 (ido-decorations): Update docstring.
11322 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11324 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11325 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11326 nil during initialization, in order not to miss changes since the
11327 file was opened. (Bug#14140)
11329 2013-04-05 Leo Liu <sdl.web@gmail.com>
11331 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11333 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11335 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11337 2013-04-04 Glenn Morris <rgm@gnu.org>
11339 * electric.el (electric-pair-inhibit-predicate): Add :version.
11341 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11343 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11344 when a package is required several times (bug#14082).
11346 2013-04-04 Roland Winkler <winkler@gnu.org>
11348 * faces.el (read-face-name): Behave as promised by the docstring.
11349 Assume that arg default is a list of faces.
11350 (describe-face): Call read-face-name with list of default faces.
11352 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11354 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11355 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11356 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11358 (bookmark-exit-hook-internal): Save even if list is empty.
11360 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11362 * emacs-lisp/package.el (package-pinned-packages): New var.
11363 (package--add-to-archive-contents): Obey it (bug#14118).
11365 2013-04-03 Alan Mackenzie <acm@muc.de>
11367 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11368 Also adapt to the new values of element 7 of a parse state.
11370 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11371 parameter `not-in-delimiter'. Handle being inside comment opener.
11372 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11373 character in case we're typing a '*' after a '/'.
11374 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11375 instead by passing the parameter to c-state-pp-to-literal.
11377 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11378 for elt. 7 of a parse state.
11380 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11382 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11383 * international/latin1-disp.el, international/mule-util.el:
11384 * language/cyril-util.el, language/european.el, language/ind-util.el:
11385 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11386 * language/tibetan.el, language/viet-util.el:
11387 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11389 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11391 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11392 (electric-pair-post-self-insert-function): Use it.
11393 (electric-pair-default-inhibit): New function, extracted from
11394 electric-pair-post-self-insert-function.
11396 2013-03-31 Roland Winkler <winkler@gnu.org>
11398 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11400 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11402 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11404 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11406 Un-indent after "pass" and "return" statements (Bug#13888)
11407 * progmodes/python.el (python-indent-block-enders): New var.
11408 (python-indent-calculate-indentation): Use it.
11410 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11412 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11413 defun. Defining it as defalias could introduce too eager
11414 byte-compiler optimization. (Bug#14030)
11416 2013-03-30 Chong Yidong <cyd@gnu.org>
11418 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11420 2013-03-30 Leo Liu <sdl.web@gmail.com>
11422 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11423 (kmacro-execute-from-register): Pass the keyboard macro to
11424 kmacro-call-macro or repeating won't work correctly.
11426 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11428 * progmodes/subword.el: Back to using `forward-symbol'.
11430 * subr.el (forward-whitespace, forward-symbol)
11431 (forward-same-syntax): Move from thingatpt.el.
11433 2013-03-29 Leo Liu <sdl.web@gmail.com>
11435 * kmacro.el (kmacro-to-register): New command.
11436 (kmacro-execute-from-register): New function.
11437 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11439 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11441 * mpc.el: Use defvar-local and setq-local.
11442 (mpc--proc-connect): Connection failures are not bugs.
11443 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11444 (mpc-volume-map): Bind to the up-events.
11446 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11448 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11449 instead of `forward-symbol'.
11451 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11453 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11454 (edebug--recursive-edit): Use it.
11455 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11456 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11458 2013-03-28 Leo Liu <sdl.web@gmail.com>
11460 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11462 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11464 * facemenu.el (list-colors-callback): New defvar.
11465 (list-colors-redisplay): New function.
11466 (list-colors-display): Install list-colors-redisplay as the
11467 revert-buffer-function. (Bug#14063)
11469 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11471 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11472 and suffixes don't overlap (bug#14061).
11474 * case-table.el: Use lexical-binding.
11475 (case-table-get-table): New function.
11476 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11478 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11480 * progmodes/subword.el: Add `superword-mode' to do word motion
11481 over symbol_words (parallels and leverages `subword-mode' which
11482 does word motion inside MixedCaseWords).
11484 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11486 * eshell/em-unix.el: Move su and sudo to...
11487 * eshell/em-tramp.el: ...Eshell tramp module.
11489 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11491 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11492 Change return value to be a sexp. Delay `get-buffer' to after
11493 restoring the desktop (bug#13951).
11495 2013-03-26 Leo Liu <sdl.web@gmail.com>
11497 * register.el: Move semantic tag handling back to
11498 cedet/semantic/senator.el. (Bug#14052)
11500 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11502 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11503 into the prompt either (bug#13963).
11505 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11507 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11508 part of "(error-foo)".
11510 2013-03-24 Juri Linkov <juri@jurta.org>
11512 * replace.el (list-matching-lines-prefix-face): New defcustom.
11513 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11514 `occur-engine' if `face-differs-from-default-p' returns t.
11515 (occur-engine): Add `,' inside backquote construct to evaluate
11516 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11517 Pass `prefix-face' to the functions `occur-context-lines' and
11518 `occur-engine-add-prefix'.
11519 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11520 `prefix-face' and propertize the prefix with `prefix-face'.
11523 2013-03-24 Leo Liu <sdl.web@gmail.com>
11525 * nxml/rng-valid.el (rng-validate-while-idle)
11526 (rng-validate-quick-while-idle): Guard against deleted buffer.
11529 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11530 is the last entry in kill-buffer-hook.
11532 * files.el (kill-buffer-hook): Doc fix.
11534 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11536 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11537 Make it safe-local.
11539 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11541 2013-03-23 Leo Liu <sdl.web@gmail.com>
11543 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11546 * nxml/rng-valid.el (rng-validate-mode)
11547 (rng-after-change-function, rng-do-some-validation):
11548 * nxml/rng-maint.el (rng-validate-buffer):
11549 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11550 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11551 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11552 (nxml-extend-after-change-region): Use with-silent-modifications.
11554 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11557 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11558 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11559 timer-idle-list. (Bug#13999)
11561 2013-03-23 Juri Linkov <juri@jurta.org>
11563 * info.el (info-index-match): New face.
11564 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11565 main pattern and add text properties with the new face to matches
11566 in index entries relative to the beginning of the index entry.
11569 2013-03-21 Eric Ludlam <zappo@gnu.org>
11571 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11572 Inhibit read only while inserting objects.
11574 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11576 * progmodes/cfengine.el: Update docs to mention
11577 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11578 symbol motion. Remove "_" from the word syntax.
11580 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11582 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11583 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11585 2013-03-20 Juri Linkov <juri@jurta.org>
11587 * info.el (Info-next-reference-or-link)
11588 (Info-prev-reference-or-link): New functions.
11589 (Info-next-reference, Info-prev-reference): Use them.
11590 (Info-try-follow-nearest-node): Handle footnote navigation.
11591 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11593 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11595 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11596 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11598 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11600 Suppress unnecessary non-ASCII chatter during build process.
11601 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11602 (batch-skkdic-convert): Suppress most of the chatter.
11603 It's not needed so much now that machines are faster,
11604 and its non-ASCII component was confusing; see Dmitry Gutov in
11605 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11607 2013-03-20 Leo Liu <sdl.web@gmail.com>
11609 * ido.el (ido-chop): Fix bug#10994.
11611 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11613 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11615 (whitespace-color-on, whitespace-color-off):
11616 Use `font-lock-fontify-buffer' (Bug#13817).
11618 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11620 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11621 remapping in mode-line.
11622 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11624 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11626 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11627 value for `whitespace-line' face (Bug#13875).
11628 (whitespace-font-lock-keywords): Change description.
11629 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11630 the constructed keywords instead.
11631 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11633 2013-03-19 Leo Liu <sdl.web@gmail.com>
11635 * progmodes/compile.el (compilation-display-error): New command.
11636 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11639 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11641 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11643 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11645 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11647 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11649 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11651 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11652 * net/tramp-gvfs.el (top):
11653 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11654 (tramp-handle-shell-command): Use it.
11655 (tramp-dissect-file-name): Raise an error when hostname is a
11656 method name, and neither method nor user is specified.
11658 * net/trampver.el: Update release number.
11660 2013-03-18 Leo Liu <sdl.web@gmail.com>
11662 Make sure eldoc can be turned off properly.
11663 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11665 (eldoc-display-message-p): Revert last change.
11666 (eldoc-display-message-no-interference-p)
11667 (eldoc-print-current-symbol-info): Tweak.
11669 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11671 * doc-view.el (doc-view-new-window-function): Check the new window
11672 overlay's display property instead the char property of the
11673 buffer's first char. Use `with-selected-window' instead of
11674 `save-window-excursion' with `select-window'.
11675 (doc-view-document->bitmap): Check the current doc-view overlay's
11676 display property instead the char property of the buffer's first char.
11678 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11680 Automate the build of ja-dic.el (Bug#13984).
11681 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11682 from the input, rather than assume that it's been done for us by the
11683 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11684 the current date into a ja-dic.el comment, as that complicates
11685 regression testing.
11687 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11689 * whitespace.el: Fix double evaluation.
11690 (whitespace-space, whitespace-hspace, whitespace-tab)
11691 (whitespace-newline, whitespace-trailing, whitespace-line)
11692 (whitespace-space-before-tab, whitespace-indentation)
11693 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11695 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11696 (whitespace-color-on): Use a single font-lock-add-keywords call.
11697 Fix double-evaluation of face variables.
11699 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11701 * net/tramp-adb.el (tramp-adb-parse-device-names):
11702 Use `start-process' instead of `call-process'. Otherwise, the
11703 function might be blocked under MS Windows. (Bug#13299)
11705 2013-03-17 Leo Liu <sdl.web@gmail.com>
11707 Extend eldoc to display info in the mode-line. (Bug#13978)
11708 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11709 (eldoc-mode-line-string): New variable.
11710 (eldoc-minibuffer-message): New function.
11711 (eldoc-message-function): New variable.
11712 (eldoc-message): Use it.
11713 (eldoc-display-message-p)
11714 (eldoc-display-message-no-interference-p):
11715 Support eldoc-post-insert-mode.
11717 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11718 (eval-expression): Run it.
11720 2013-03-17 Roland Winkler <winkler@gnu.org>
11722 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11723 strings in the list of return values.
11725 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11727 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11728 radix before checking for HMS forms.
11730 2013-03-16 Leo Liu <sdl.web@gmail.com>
11732 * progmodes/scheme.el: Add indentation and font-locking for λ.
11735 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11737 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11738 token before point (bug#13942).
11740 2013-03-16 Leo Liu <sdl.web@gmail.com>
11742 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11744 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11746 * startup.el (command-line-normalize-file-name): Fix handling of
11747 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11748 <xfq.free@gmail.com> in
11749 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11751 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11753 Sync with Tramp 2.2.7.
11755 * net/trampver.el: Update release number.
11757 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11759 * doc-view.el: Fix bug#13887.
11760 (doc-view-insert-image): Don't modify overlay associated to
11761 non-live windows, and implement horizontal centering of image in
11762 case it's smaller than the window.
11763 (doc-view-new-window-function): Force redisplay of new windows on
11766 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11768 * saveplace.el (save-place-alist-to-file): Don't sort
11769 `save-place-alist', just pretty-print it (bug#13882).
11771 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11773 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11774 Check whether `default-file-name-coding-system' is bound.
11775 It isn't in XEmacs.
11777 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11779 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11780 backquotes for `obsolete' (bug#13929).
11782 * international/mule.el (find-auto-coding): Include file name in
11783 obsolescence warning (bug#13922).
11785 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11787 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11788 for CFEngine 3-specific indentation.
11789 (cfengine3-indent-line): Use it. Fix up category regex.
11790 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11792 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11794 * type-break.el (type-break-file-name):
11795 * textmodes/remember.el (remember-data-file):
11796 * strokes.el (strokes-file):
11797 * shadowfile.el (shadow-initialize):
11798 * saveplace.el (save-place-file):
11799 * ps-bdf.el (bdf-cache-file):
11800 * progmodes/idlwave.el (idlwave-config-directory):
11801 * net/quickurl.el (quickurl-url-file):
11802 * international/kkc.el (kkc-init-file-name):
11803 * ido.el (ido-save-directory-list-file):
11804 * emulation/viper.el (viper-custom-file-name):
11805 * emulation/vip.el (vip-startup-file):
11806 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11807 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11809 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11811 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11812 * language/thai-word.el: Switch to UTF-8.
11814 See ChangeLog.16 for earlier changes.
11816 ;; Local Variables:
11820 Copyright (C) 2011-2014 Free Software Foundation, Inc.
11822 This file is part of GNU Emacs.
11824 GNU Emacs is free software: you can redistribute it and/or modify
11825 it under the terms of the GNU General Public License as published by
11826 the Free Software Foundation, either version 3 of the License, or
11827 (at your option) any later version.
11829 GNU Emacs is distributed in the hope that it will be useful,
11830 but WITHOUT ANY WARRANTY; without even the implied warranty of
11831 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11832 GNU General Public License for more details.
11834 You should have received a copy of the GNU General Public License
11835 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.