1 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3 * uniquify.el (uniquify-buffer-name-style): Change default.
5 * loadup.el: Preload "uniquify".
7 * time.el (display-time-update): Update all mode lines (bug#15999).
9 * electric.el (electric-indent-mode): Enable by default.
10 * loadup.el: Preload "electric".
12 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
14 * emacs-lisp/helpers.el (string-empty-p): New function.
15 (string-blank-p): New function.
17 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
19 * imenu.el (imenu--index-alist): Add missing dot to the docstring
22 2013-11-29 Andreas Politz <politza@fh-trier.de>
23 * imenu.el (imenu--subalist-p): Don't error on non-conses and
24 allow non-lambda lists as functions.
25 (imenu--in-alist): Don't recurse into non-subalists.
26 (imenu): Don't pass function itself as an argument (Bug#14029).
28 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
30 * progmodes/python.el (python-mode-map): Remove binding for ":".
31 (python-indent-electric-colon): Remove command.
32 (python-indent-post-self-insert-function): Integrate the previous code
33 of python-indent-electric-colon. Make it conditional on
35 (python-mode): Add ?: to electric-indent-chars.
36 Move python-indent-post-self-insert-function to the end of
37 post-self-insert-hook.
39 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
41 * doc-view.el (doc-view-goto-page): Update mode-line.
43 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
45 2013-11-27 Glenn Morris <rgm@gnu.org>
47 * international/charprop.el, international/uni-bidi.el:
48 * international/uni-category.el, international/uni-combining.el:
49 * international/uni-comment.el, international/uni-decimal.el:
50 * international/uni-decomposition.el, international/uni-digit.el:
51 * international/uni-lowercase.el, international/uni-mirrored.el:
52 * international/uni-name.el, international/uni-numeric.el:
53 * international/uni-old-name.el, international/uni-titlecase.el:
54 * international/uni-uppercase.el:
55 Remove generated files from VCS repository.
57 2013-11-27 Eli Zaretskii <eliz@gnu.org>
59 * filenotify.el (file-notify-add-watch): Don't special-case
60 w32notify when computing the directory to watch.
62 2013-11-27 Glenn Morris <rgm@gnu.org>
64 Make bootstrap without generated uni-*.el files possible again.
65 * loadup.el: Update command-line-args checking for unidata-gen.
66 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
67 * composite.el, international/characters.el:
68 Handle unicode tables being undefined.
70 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
71 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
72 (compile-main): Depend on leim rule.
74 * loadup.el: Move leim-list.el to leim/ subdirectory.
75 * startup.el (normal-top-level): No more leim directory.
76 * international/ja-dic-cnv.el (skkdic-convert):
77 Disable version-control and autoloads in output files.
78 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
79 Disable version-control and autoloads in output files.
80 * leim/quail: Move here from ../leim.
81 * leim/quail/hangul.el (hangul-input-method-activate):
83 (generated-autoload-load-name): Set file-local value.
84 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
85 (generated-autoload-load-name): Set file-local value.
87 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
89 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
90 (eww-add-bookmark): ask confirmation when add to bookmarks
91 (eww-quit): ask confirmation before quitting eww
93 2013-11-26 Eli Zaretskii <eliz@gnu.org>
95 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
96 reading output from Diff on MS-Windows and MS-DOS.
98 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
100 * emacs-lisp/helpers.el (string-reverse): New function.
102 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
104 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
105 names on MS Windows, like "/[::1]:".
107 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
110 2013-11-26 Glenn Morris <rgm@gnu.org>
112 * progmodes/python.el (python-indent-guess-indent-offset):
113 Avoid corner-case error. (Bug#15975)
115 Preload leim-list.el. (Bug#4789)
116 * loadup.el: Load leim-list.el when found.
117 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
119 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
121 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
123 * emacs-lisp/helpers.el (string-join): New function.
125 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
127 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
128 Mark as obsolete and replace it with a symbol property.
129 (byte-compile-form): Use new 'interactive-only property.
130 * comint.el, files.el, replace.el, simple.el:
131 Apply new 'interactive-only properly.
133 2013-11-25 Martin Rudalics <rudalics@gmx.at>
135 * window.el (display-buffer-at-bottom): Make sure that
136 split-window-sensibly creates the new window on bottom
139 2013-11-23 David Kastrup <dak@gnu.org>
141 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
142 on the conflict markers when available.
143 (smerge--get-marker): New function.
144 (smerge-end-re, smerge-base-re): Add subgroup.
146 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
148 * frame.el (handle-focus-in, handle-focus-out): Add missing
151 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
153 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
154 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
156 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
158 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
159 (gomoku--last-pos): New var.
160 (gomoku--intangible-chars): New const.
161 (gomoku--intangible): New function.
162 (gomoku-mode): Use it. Derive from special-mode.
163 (gomoku-move-up): Adjust line count.
164 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
165 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
166 Simplify accordingly.
168 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
169 Remove blink-cursor code.
170 (blink-cursor-timer-function, blink-cursor-suspend):
171 Don't special-case GUIs.
172 (blink-cursor-mode): Use focus-in/out-hook.
174 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
176 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
177 work when annotation is invisible (Bug#13886).
179 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
181 * json.el (json-alist-p): Only return non-nil if the alist has
182 simple keys (Bug#13518).
184 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
186 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
187 when control-statement is the first statement in a buffer (Bug#15956).
189 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
191 * imenu.el (imenu-generic-skip-comments-and-strings):
192 New option (Bug#15560).
193 (imenu--generic-function): Use it.
195 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
197 * minibuffer.el (completion--in-region-1): Scroll the correct
200 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
202 * emacs-lisp/helpers.el: Add some string helpers.
203 (string-trim-left): Removes leading whitespace.
204 (string-trim-right): Removes trailing whitespace.
205 (string-trim): Removes leading and trailing whitespace.
207 * subr.el (string-suffix-p): New function.
209 2013-11-23 Glenn Morris <rgm@gnu.org>
211 * progmodes/python.el (python-shell-send-file):
212 Add option to delete file when done. (Bug#15647)
213 (python-shell-send-string, python-shell-send-region): Use it.
215 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
217 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
218 to set buffer-read-only to t, never to nil. (Bug#15938)
220 * textmodes/tex-mode.el (latex-noindent-environments):
221 Add safe-local-variable property. (Bug#15936)
223 2013-11-23 Glenn Morris <rgm@gnu.org>
225 * textmodes/enriched.el (enriched-mode): Doc fix.
226 * emacs-lisp/authors.el (authors-renamed-files-alist):
227 Add enriched.doc -> enriched.txt.
229 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
231 2013-11-22 Leo Liu <sdl.web@gmail.com>
233 * progmodes/octave.el (inferior-octave-startup): Spit out error
236 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
238 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
241 (ruby-encoding-magic-comment-style): Add :version.
243 2013-11-22 Leo Liu <sdl.web@gmail.com>
245 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
247 (octave-help-mode): Adapt to change to help-mode-finish to use
248 derived-mode-p on 2013-09-17.
249 (inferior-octave-prompt): Also match octave-gui.
250 (octave-kill-process): Don't ask twice. (Bug#10564)
252 2013-11-22 Leo Liu <sdl.web@gmail.com>
254 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
255 (inferior-octave-startup, inferior-octave-check-process)
256 (inferior-octave-track-window-width-change)
257 (octave-completion-at-point, octave-eldoc-function): Use it.
258 (octave-kill-process): Provide confirmation. (Bug#10564)
260 2013-11-21 Leo Liu <sdl.web@gmail.com>
262 * progmodes/octave.el (octave-mode, inferior-octave-mode):
263 Fix obsolete variable comment-use-global-state.
265 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
267 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
268 Add `octave-source-file'.
269 (octave-source-file): New function. (Bug#15935)
271 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
273 * net/eww.el (eww-local-regex): New variable.
274 (eww): Use it to detect localhost and similar.
276 2013-11-21 Leo Liu <sdl.web@gmail.com>
278 Add completion for command `ag'.
279 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
280 (pcomplete/ag): New function.
281 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
283 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
285 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
287 (make-obsolete): Remove interactive spec.
289 2013-11-21 Glenn Morris <rgm@gnu.org>
291 * startup.el (command-line-1): Use path-separator with -L.
293 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
295 * emacs-lisp/package.el (describe-package-1): Add package archive
298 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
300 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
301 Change default to "# encoding: %s" to differentiate it from the
302 default Ruby encoding comment template.
304 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
306 * ses.el (ses-mode): Doc fix. (Bug#14748)
308 2013-11-20 Leo Liu <sdl.web@gmail.com>
310 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
312 2013-11-19 Dan Nicolaescu <dann@gnu.org>
314 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
315 when rebase or bisect are in progress.
317 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
319 * filenotify.el (file-notify-add-watch): Doc fix.
321 2013-11-19 Leo Liu <sdl.web@gmail.com>
323 * obsolete/rcompile.el: Mark obsolete.
325 * progmodes/compile.el (compilation-start)
326 (compilation-goto-locus, compilation-find-file):
327 Pass no-display-ok and handle nil value from display-buffer.
330 * window.el (display-buffer-alist, display-buffer): Document the
331 new parameter no-display-ok.
333 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
335 * electric.el (electric-indent-mode-map): Remove.
336 (electric-indent-mode): Change the global-map instead (bug#15915).
338 * textmodes/text-mode.el (paragraph-indent-minor-mode):
341 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
343 * emacs-lisp/nadvice.el (remove-function): Align with
344 add-function's behavior.
346 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
347 (gdb--string-regexp): New constant.
348 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
349 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
350 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
352 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
353 Adjust use accordingly.
354 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
356 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
358 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
359 interpolation curlies (Bug#15914).
361 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
363 * calc/calc.el (calc-context-sensitive-enter): New variable.
364 (calc-enter): Use `calc-context-sensitive-enter'.
366 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
368 * progmodes/cfengine.el: Version bump.
369 (cfengine-cf-promises): New defcustom to locate cf-promises.
370 (cfengine3-vartypes): Add new "data" type.
371 (cfengine3--current-word): New function to get current name-like
373 (cfengine3--current-function): New function to look up a CFEngine
374 function's definition.
375 (cfengine3-format-function-docstring): New function.
376 (cfengine3-make-syntax-cache): New function.
377 (cfengine3-documentation-function): New function: ElDoc glue.
378 (cfengine3-completion-function): New function: completion glue.
379 (cfengine3-mode): Set `compile-command',
380 `eldoc-documentation-function', and add to
381 `completion-at-point-functions'.
383 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
385 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
386 `tramp-current-connection'.
388 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
390 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
391 nil/self/true/false with "end of symbol".
393 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
395 * subr.el (version-regexp-alist): Fix a typo.
397 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
399 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
400 "en_US.utf8" and "LC_CTYPE" to "".
401 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
402 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
404 2013-11-15 Leo Liu <sdl.web@gmail.com>
406 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
408 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
410 * progmodes/gud.el (ctl-x-map):
411 Remove C-x SPC binding. (Bug#12342)
412 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
414 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
416 * subr.el (version-regexp-alist):
417 Recognize hg, svn and darcs versions as snapshot versions.
419 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
420 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
421 (ruby--encoding-comment-required-p): Extract from
422 `ruby-mode-set-encoding'.
423 (ruby-mode-set-encoding): Add the ability to always insert an
424 utf-8 encoding comment. Fix and simplify coding comment update
427 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
429 * net/tramp-gvfs.el (top): Run init code only when
430 `tramp-gvfs-enabled' is not nil.
431 (tramp-gvfs-enabled): Check also :system bus.
433 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
435 Sync with upstream verilog-mode revision 78e66ba.
436 * progmodes/verilog-mode.el (verilog-end-of-defun)
437 (verilog-type-completion, verilog-get-list): Remove unused funcs.
438 (verilog-get-end-of-defun): Remove unused argument.
439 (verilog-comment-depth): Remove unused local `e'.
440 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
441 Don't pass arg to verilog-get-end-of-defun.
443 2013-11-14 Glenn Morris <rgm@gnu.org>
445 * obsolete/assoc.el (aget): Prefix dynamic variable.
447 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
449 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
451 * widget.el, hfy-cmap.el: Remove bogus package version number.
453 2013-11-13 Glenn Morris <rgm@gnu.org>
455 * replace.el (replace-eval-replacement):
456 Try to give more helpful error message. (Bug#15836)
458 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
459 (archive-7z-update): Avoid custom type mismatches.
461 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
463 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
465 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
466 address can be empty.
468 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
470 (tramp-gvfs-handle-write-region): Implement APPEND.
472 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
474 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
475 binary "|" operator and closing block args delimiter.
476 Remove FIXME comment referring to Ruby 1.8-only syntax.
477 (ruby-smie--implicit-semi-p): Not after "|" operator.
478 (ruby-smie--closing-pipe-p): New function.
479 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
480 (ruby-smie-rules): Indent after "|".
482 2013-11-12 Glenn Morris <rgm@gnu.org>
484 * ps-print.el (ps-face-attribute-list):
485 Handle anonymous faces. (Bug#15827)
487 2013-11-12 Martin Rudalics <rudalics@gmx.at>
489 * window.el (display-buffer-other-frame): Fix doc-string.
492 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
494 * subr.el (force-mode-line-update): Delete, move to buffer.c.
496 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
498 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
499 (tramp-sh-handle-file-local-copy): Don't write a message when
500 saving temporary files.
502 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
503 both directories are remote.
504 (tramp-smb-handle-directory-files): Do not return double entries.
505 Do not expand full file names.
506 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
507 (tramp-smb-handle-write-region): Implement APPEND.
508 (tramp-smb-get-stat-capability): Fix a stupid bug.
510 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
512 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
514 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
516 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
517 throwing error over malformed let/let* (bug#15814).
519 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
521 * iswitchb.el (iswitchb-mode): Mark obsolete.
523 2013-11-11 Glenn Morris <rgm@gnu.org>
525 * international/uni-bidi.el, international/uni-category.el:
526 * international/uni-name.el, international/uni-numeric.el:
527 Regenerate for Unicode 6.3.0.
529 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
531 * net/tramp.el (tramp-methods):
532 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
533 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
535 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
537 * progmodes/sh-script.el (sh-font-lock-keywords-var):
538 Force highlighting text after Summary keyword in doc face for rpm.
540 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
542 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
543 available and the word has no wildcards, append one to the grep pattern.
544 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
545 (ispell-complete-word): Call `ispell-lookup-words' with the value
546 independent of `ispell-look-p'.
548 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
550 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
552 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
555 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
557 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
558 (ruby-font-lock-keywords): Use backquote.
560 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
562 * progmodes/ruby-mode.el (ruby-smie--forward-token)
563 (ruby-smie--backward-token): Only consider full-string matches.
565 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
567 * faces.el (describe-face): Add distant-foreground.
569 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
571 * progmodes/ruby-mode.el: Improve encoding comment handling.
572 (ruby-encoding-magic-comment-style): New option.
573 (ruby-custom-encoding-magic-comment-template): New option.
574 (ruby--insert-coding-comment, ruby--detect-encoding):
575 New functions extracted from `ruby-mode-set-encoding'.
576 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
577 to control the style of the auto-inserted encoding comment.
579 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
581 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
582 Use `smie-backward-sexp' with token argument.
584 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
586 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
587 Remove instrumentation code.
589 2013-11-08 Glenn Morris <rgm@gnu.org>
591 * progmodes/autoconf.el (autoconf-mode):
592 Tweak comment-start-skip. (Bug#15822)
594 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
596 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
598 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
600 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
602 * man.el (Man-start-calling): New macro, extracted from
603 Man-getpage-in-background.
604 (Man-getpage-in-background): Use it.
605 (Man-update-manpage): New command.
606 (Man-mode-map): Bind it.
608 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
610 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
611 of "and", "or", "&&" and "||".
612 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
613 argument. Prohibit opening curly brace because it could only be a
614 block opener in that position.
615 (ruby-smie--forward-token, ruby-smie--backward-token):
616 Separate "|" from "&" or "*" going after it. That can happen in block
618 (ruby-smie--indent-to-stmt): New function, seeks the end of
619 previous statement or beginning of buffer.
620 (ruby-smie-rules): Use it.
621 (ruby-smie-rules): Check if there's a ":" before a curly block
622 opener candidate; if there is, it's a hash.
624 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
626 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
627 (cl--block-wrapper): Fix last accidental change.
629 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
631 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
632 Instrument, in order to hunt failure on hydra.
634 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
636 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
637 malformed bindings form (bug#15814).
639 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
641 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
642 "." compared to " @ ". This incidentally fixes some indentation
644 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
645 (ruby-smie-grammar): New tokens: "and" and "or".
646 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
647 Exclude "and" and "or". Remove "do" in order to work around token
649 (ruby-smie-rules): Add all infix tokens. Handle the case of
652 2013-11-06 Glenn Morris <rgm@gnu.org>
654 * Makefile.in (setwins_almost, setwins_for_subdirs):
655 Avoid accidental matches.
657 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
659 * menu-bar.el (popup-menu): Use key-binding.
661 2013-11-06 Eli Zaretskii <eliz@gnu.org>
663 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
664 menus, support also the menus produced by minor modes.
667 2013-11-06 Leo Liu <sdl.web@gmail.com>
669 * thingatpt.el (thing-at-point-looking-at): Add optional arg
670 DISTANCE to bound the search. All uses changed. (Bug#15808)
672 2013-11-06 Glenn Morris <rgm@gnu.org>
674 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
675 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
676 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
678 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
680 * electric.el (electric-indent-just-newline): New command.
681 (electric-indent-mode-map): New keymap.
682 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
683 Re-add :group which weren't redundant.
685 * electric.el (electric-indent-local-mode): New minor mode.
686 (electric-indent-functions-without-reindent): New var.
687 (electric-indent-post-self-insert-function): Use it.
688 * emacs-lisp/gv.el (buffer-local-value): Add setter.
690 2013-11-05 Eli Zaretskii <eliz@gnu.org>
692 * international/quail.el (quail-help): Be more explicit about the
693 meaning of the labels shown on the keys. (Bug#15800)
695 * startup.el (normal-top-level): Load the subdirs.el files before
696 setting the locale environment. (Bug#15805)
698 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
700 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
701 via arguments so as to get the right ones (bug#15418).
703 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
705 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
707 Fix problems found while writing a test suite.
709 * net/tramp-compat.el (tramp-compat-load): New defun.
710 * net/tramp.el (tramp-handle-load): Use it.
712 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
713 "(numberp ok-if-already-exists)" correctly.
715 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
717 * international/characters.el (glyphless-char-display-control):
720 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
722 * progmodes/python.el (python-mode):
723 * progmodes/scheme.el (scheme-mode):
724 * progmodes/prolog.el (prolog-mode):
725 * progmodes/ruby-mode.el (ruby-mode):
726 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
727 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
729 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
731 * rect.el (rectangle--highlight-for-redisplay):
732 * emacs-lisp/smie.el (smie--next-indent-change):
733 Use buffer-chars-modified-tick.
735 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
737 * electric.el (electric-indent-post-self-insert-function):
738 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
740 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
742 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
744 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
746 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
749 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
751 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
753 * progmodes/python.el: Fix up last change.
754 (python-shell--save-temp-file): New function.
755 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
756 `string' comes from the current buffer.
757 (python-shell-send-string-no-output): Remove `msg' arg.
758 (python--use-fake-loc): New var.
759 (python-shell-buffer-substring): Obey it. Try to compensate for the
760 extra coding line added by python-shell--save-temp-file.
761 (python-shell-send-region): Use python-shell--save-temp-file and
762 python-shell-send-file directly. Add `nomain' argument.
763 (python-shell-send-buffer): Use python-shell-send-region.
764 (python-electric-pair-string-delimiter): New function.
765 (python-mode): Use it.
767 2013-11-04 Eli Zaretskii <eliz@gnu.org>
769 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
770 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
771 environment and decoding all of the default-directory's to here
773 (command-line): Decode also argv[0].
775 * loadup.el: Error out if default-directory is a multibyte string
778 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
780 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
782 * emacs-lisp/package.el (package-menu-mode)
783 (package-menu--print-info, package-menu--archive-predicate):
784 Add Archive column to package list.
786 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
788 Fix problems found while writing a test suite.
790 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
791 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
792 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
793 to nil when running original file name handler. Otherwise,
794 there are problems with constructs like "$$FOO".
796 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
799 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
801 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
803 * subr.el (version<, version<=, version=):
804 Update docstrings with information for snapshot versions.
806 * helpers.el: New library for misc helper functions.
807 (hash-table-keys): New function returning a list of hash keys.
808 (hash-table-values): New function returning a list of hash values.
810 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
812 * progmodes/ruby-mode.el (ruby-smie--forward-token)
813 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
815 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
817 * textmodes/fill.el (fill-single-char-nobreak-p): New function
818 checking whether point is after a 1-letter word.
820 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
822 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
823 Don't infloop when expanding region over `multiline' syntax-type that
824 begins a line (bug#15778).
826 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
828 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
829 Make it into a proper minor mode.
830 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
831 (rectangle-mark-mode-map): New keymap.
832 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
834 2013-11-04 Glenn Morris <rgm@gnu.org>
836 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
838 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
840 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
841 (ruby-smie-rules): Use smie-rule-parent instead.
843 * emacs-lisp/smie.el (smie-rule-parent): Always call
844 smie-indent-virtual rather than only for hanging tokens.
845 (smie--next-indent-change): New helper command.
847 2013-11-03 Glenn Morris <rgm@gnu.org>
849 * Makefile.in (abs_srcdir): Remove.
850 (emacs): Unset EMACSLOADPATH.
852 2013-11-02 Glenn Morris <rgm@gnu.org>
854 * Makefile.in (EMACS): Use a relative filename.
855 (abs_top_builddir): Remove.
856 (custom-deps, finder-data, autoloads): Use --chdir.
858 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
860 Use relative filenames in TAGS files.
861 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
862 (lisptagsfiles4, TAGS): Use relative file names.
864 (maintainer-clean): No more TAGS-LISP file.
866 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
867 (lisptagsfiles4): Use absolute filenames again.
868 (TAGS, TAGS-LISP): Not everything needs to run in one line.
869 Remove all *loaddefs files, not just the first. Remove esh-groups.
870 (maintainer-clean): Delete TAGS, TAGS-LISP.
872 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
874 * emacs-lisp/package.el (package-version-join):
875 Recognize snapshot versions.
877 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
879 * subr.el (version-regexp-alist): Add support for snapshot versions.
881 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
883 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
884 New function, replacement for `smie-rule-parent' for when we want to
885 skip over our direct parent if it's an assignment token..
886 (ruby-smie-rules): Use it.
888 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
890 * progmodes/ruby-mode.el Use `syntax-propertize-function'
891 unconditionally. Remove now unnecessary forward declarations.
892 Remove XEmacs-specific setup.
893 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
894 (ruby-font-lock-syntactic-keywords)
895 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
896 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
897 (ruby-here-doc-end-syntax): Remove.
898 (ruby-mode): Don't check whether `syntax-propertize-rules' is
901 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
903 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
905 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
907 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
908 table and abbrev table, `define-derived-mode' does that for us
911 2013-11-01 Glenn Morris <rgm@gnu.org>
913 * Makefile.in: Remove manual mh-e dependencies (writing .elc
914 files is atomic for some time, so no parallel compilation issues).
916 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
918 * faces.el (face-x-resources): Add :distant-foreground.
919 (region): Use :distant-foreground for gtk and ns.
921 2013-11-01 Tassilo Horn <tsdh@gnu.org>
923 Allow multiple bibliographies when BibLaTeX is used rather than
925 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
926 (reftex-locate-bibliography-files): Us it.
928 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
930 * image.el (image-type-header-regexps): Fix the 'pbm' part to
931 allow comments in pbm files.
933 * term/w32-win.el (dynamic-library-alist): Support newer versions
934 of libjpeg starting with v7: look only for the DLL from the
935 version against which Emacs was built.
936 Support versions of libpng beyond 1.4.x.
937 Support libtiff v4.x.
939 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
941 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
942 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
944 (ruby-deep-arglist): Add property :type.
946 2013-10-31 Glenn Morris <rgm@gnu.org>
948 * Makefile.in (custom-deps, finder-data): No need to setq the target
949 variables, we are in the right directory and the defaults work fine.
951 2013-10-30 Glenn Morris <rgm@gnu.org>
953 * Makefile.in (autoloads): Do not use abs_lisp.
955 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
956 `newline' does not respect `standard-output', so use `princ'.
958 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
960 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
961 * buff-menu.el (Buffer-menu--unmark): New function.
962 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
964 2013-10-30 Glenn Morris <rgm@gnu.org>
966 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
968 * emacs-lisp/package.el (lm-homepage): Declare.
970 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
973 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
975 * Makefile.in (finder-data, autoloads, update-subdirs)
976 (compile-main, compile-clean, compile-always, bootstrap-clean):
977 Check return value of cd.
978 (compile-calc): Remove.
980 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
982 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
984 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
985 (byte-compile-and-folded): New function.
986 (=, <, >, <=, >=): Use it.
988 * dos-w32.el (minibuffer-history-case-insensitive-variables)
989 (path-separator, null-device, buffer-file-coding-system)
990 (lpr-headers-switches): Check system-type before modifying them.
991 (find-buffer-file-type-coding-system): Mark obsolete.
992 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
993 find-file-not-found-set-buffer-file-coding-system.
994 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
995 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
996 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
997 (w32-direct-print-region-helper, w32-direct-print-region-function)
998 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
999 * startup.el (normal-top-level-add-subdirs-to-load-path):
1000 * ps-print.el (ps-print-region-function):
1001 * lpr.el (print-region-function): Use new name.
1003 * subr.el (custom-declare-variable-early): Remove function.
1004 (custom-declare-variable-list): Remove var.
1005 (error, user-error): Remove `while' loop.
1006 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1007 (user-emacs-directory-warning, locate-user-emacs-file):
1009 * simple.el (read-quoted-char-radix, read-quoted-char):
1010 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1012 * custom.el (custom-declare-variable-list): Don't process
1013 custom-declare-variable-list.
1015 * progmodes/python.el (python-shell-get-buffer): New function.
1016 (python-shell-get-process): Use it.
1017 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1018 Python which encoding was used. Don't split-string since we only care
1019 about the first line. Return the temp-file, if applicable.
1020 (python-shell-send-region): Tell compile.el how to turn locations in
1021 the temp-file into locations in the source buffer.
1023 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1025 * subr.el (undefined): Add missing behavior from the C code for
1028 * rect.el: Use lexical-binding. Add new rectangular region support.
1029 (rectangle-mark): New command.
1030 (rectangle--region): New var.
1031 (deactivate-mark-hook): Reset rectangle--region.
1032 (rectangle--extract-region, rectangle--insert-for-yank)
1033 (rectangle--highlight-for-redisplay)
1034 (rectangle--unhighlight-for-redisplay): New functions.
1035 (region-extract-function, redisplay-unhighlight-region-function)
1036 (redisplay-highlight-region-function): Use them to handle
1038 * simple.el (region-extract-function): New var.
1039 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1040 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1041 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1042 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1043 (redisplay-unhighlight-region-function)
1044 (redisplay-highlight-region-function): New vars.
1045 (redisplay--update-region-highlight): New function.
1046 (pre-redisplay-function): Use it.
1047 (exchange-point-and-mark): Don't deactivate the mark before
1048 reactivate-it anyway.
1049 * comint.el (comint-kill-region): Remove yank-handler argument.
1050 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1051 (delete-char): Remove property, since it's now part of their
1053 (self-insert-iso): Remove property since this command doesn't exist.
1055 * emacs-lisp/package.el (package--download-one-archive)
1056 (describe-package-1): Don't query the user about final newline.
1058 2013-10-29 Daniel Colascione <dancol@dancol.org>
1060 * net/tramp.el (tramp-methods): Document new functionality.
1061 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1062 tramp-hostname-checker if method provides one instead of scanning
1063 argument list for "%h" to decide hostname acceptability.
1065 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1067 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1068 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1069 Handle COPY-CONTENTS. (Bug#15737)
1071 2013-10-28 Daiki Ueno <ueno@gnu.org>
1074 (epa-file-cache-passphrase-for-symmetric-encryption):
1075 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1077 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1079 * image.el (defimage):
1080 (image-load-path): Doc fixes.
1082 2013-10-27 Alan Mackenzie <acm@muc.de>
1084 Indent statements in macros following "##" correctly.
1085 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1086 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1088 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1090 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1092 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1094 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1095 after `=' is probably a new expression.
1097 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1099 * man.el (man-imenu-title): New option.
1100 (Man-mode-map): Add menu. (Bug#15722)
1101 (Man-mode): Add imenu to menu.
1103 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1105 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1106 specific in what the first arg can be: a non-keyword word,
1107 string/regexp/percent literal opener, opening paren, or unary
1108 operator followed directly by word.
1110 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1112 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1113 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1114 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1115 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1116 Remove vars, they do not apply any more.
1117 (prolog-mode-abbrev-table): Remove redundant declaration.
1118 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1119 (prolog-use-smie): Remove.
1120 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1121 supported by prolog-electric-if-then-else-flag.
1122 (prolog-mode-variables, prolog-menu): Use setq-local.
1123 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1124 Remove binding to `Backspace' since this key doesn't exist anyway.
1125 Remove bindings for electric self-inserting keys.
1126 (prog-mode): Assume it's defined.
1127 (prolog-post-self-insert): New function.
1128 (prolog-mode): Use it.
1129 (prolog-indent-line, prolog-indent-level)
1130 (prolog-find-indent-of-matching-paren)
1131 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1132 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1133 (prolog-goto-next-paren, prolog-in-string-or-comment)
1134 (prolog-tokenize, prolog-inside-mline-comment)
1135 (prolog-find-start-of-mline-comment): Remove functions.
1136 (prolog-find-unmatched-paren, prolog-clause-end)
1137 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1138 (prolog-electric--if-then-else): Rename from
1139 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1140 (prolog-tokenize-searchkey): Remove const.
1141 (prolog-clause-info): Use forward-sexp.
1142 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1143 (prolog-electric-if-then-else): Remove commands.
1144 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1145 for use in post-self-insert-hook.
1146 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1147 for use in post-self-insert-hook.
1148 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1149 for use in post-self-insert-hook.
1150 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1151 adapt it for use in post-self-insert-hook.
1153 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1155 * emacs-lisp/ert.el (ert-run-tests-interactively):
1156 Use `completing-read'. (Bug#9756)
1158 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1160 * simple.el (line-move): Call line-move-1 instead of
1161 line-move-visual when the current window hscroll is zero, but
1162 temporary-goal-column indicates we will need to hscroll as result
1163 of the movement. (Bug#15712)
1165 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1167 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1168 capitalization. Use :visible instead of :active.
1169 Fix `ruby-indent-exp' reference. Add menu items for the generic
1170 commands that are used with SMIE.
1171 (ruby-do-end-to-brace): Insert space after `{'.
1173 2013-10-25 John Anthony <john@jo.hnanthony.com>
1175 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1177 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1179 2013-10-25 Glenn Morris <rgm@gnu.org>
1181 * vc/vc.el (vc-print-log): Don't use a working revision unless
1182 one was explicitly specified. (Bug#15322)
1184 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1186 * subr.el (add-to-list): Preserve return value in compiler-macro
1189 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1191 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1192 result. Ask user to retry using '-all' flag. (Bug#15701)
1194 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1196 * emacs-lisp/smie.el: New smie-config system.
1197 (smie-config): New defcustom.
1198 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1199 (smie-config-guess, smie-config-save): New commands.
1200 (smie-config--mode-local, smie-config--buffer-local)
1201 (smie-config--trace, smie-config--modefuns): New vars.
1202 (smie-config--advice, smie-config--mode-hook)
1203 (smie-config--setter, smie-config-local, smie-config--get-trace)
1204 (smie-config--guess-value, smie-config--guess): New functions.
1205 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1206 text properties. Treat "string fence" syntax like string syntax.
1208 * progmodes/sh-script.el (sh-use-smie): Change default.
1209 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1210 (sh-var-value): Simplify by CSE.
1211 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1212 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1214 (sh-guess-basic-offset): Use cl-incf.
1215 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1217 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1219 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1222 2013-10-24 Glenn Morris <rgm@gnu.org>
1224 * Makefile.in (abs_top_srcdir): Remove.
1225 (update-subdirs): Use relative path to update-subdirs.
1227 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1229 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1230 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1231 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1232 Call unmsys--file-name before expand-file-name, not after it.
1234 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1236 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1237 (ert-test-skipped): New error.
1238 (ert-skip, ert-stats-skipped): New defuns.
1239 (ert--skip-unless): New macro.
1240 (ert-test-skipped): New struct.
1241 (ert--run-test-debugger, ert-test-result-type-p)
1242 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1243 (ert--stats-set-test-and-result, ert-char-for-test-result)
1244 (ert-string-for-test-result, ert-run-tests-batch)
1245 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1246 Handle skipped tests. (Bug#9803)
1248 2013-10-24 Glenn Morris <rgm@gnu.org>
1250 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1252 * Makefile.in (abs_top_srcdir): New, set by configure.
1253 (update-subdirs): Correct build-aux location.
1255 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1257 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1258 value, whether we could auto-deduce `backend', or not.
1260 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1261 with parameters" example. Simplify the "is it block or is it
1262 hash" check, but also make it more thorough.
1264 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1266 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1268 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1270 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1273 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1276 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1278 * progmodes/compile.el (compilation-directory-matcher)
1279 (compilation-page-delimiter):
1280 Support GNU Make-4.0 directory quoting. (Bug#15678)
1282 2013-10-23 Leo Liu <sdl.web@gmail.com>
1284 * ido.el (ido-tidy): Handle read-only text.
1286 2013-10-23 Glenn Morris <rgm@gnu.org>
1288 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1289 (emacs, compile, compile-always):
1290 Quote entities that might contain whitespace.
1291 (custom-deps, finder-data, autoloads): Use abs_lisp.
1292 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1293 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1294 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1296 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1298 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1299 Use `following-char'.
1301 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1303 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1304 * progmodes/ruby-mode.el (ruby-smie-rules):
1305 Remove corresponding workaround. Fix indentation rule of ";" so it
1306 also applies when ";" is the parent.
1308 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1310 * frame.el (display-screens, display-pixel-height)
1311 (display-pixel-width, display-mm-width, display-backing-store)
1312 (display-save-under, display-planes, display-color-cells)
1313 (display-visual-class, display-monitor-attributes-list):
1314 Mention the optional ‘display’ argument in doc strings.
1316 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1318 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1319 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1321 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1323 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1324 TODO. Add "." after " @ ".
1325 (ruby-smie--at-dot-call): New function. Checks if point at method
1326 call with explicit target.
1327 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1328 to the method name tokens when it precedes them.
1329 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1330 (ruby-smie-rules): Add rule for indentation before and after "."
1333 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1335 * textmodes/remember.el (remember-diary-extract-entries):
1338 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1341 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1343 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1344 (ruby-smie--implicit-semi-p): Add new operator chars.
1346 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1348 (ruby-smie--args-separator-p): Check that there's no newline
1349 between method call and its arguments.
1351 2013-10-20 Alan Mackenzie <acm@muc.de>
1353 Allow comma separated lists after Java "implements".
1355 * progmodes/cc-engine.el (c-backward-over-enum-header):
1357 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1358 from a "disallowed" list in enum fontification.
1360 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1362 * startup.el (default-frame-background-mode): Remove unused defvar.
1364 * progmodes/verilog-mode.el (verilog-mode): Don't set
1365 comment-indent-function globally.
1367 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1369 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1370 Move Info menu item creation to ns-win.el.
1372 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1375 * menu-bar.el: Move GNUStep specific menus...
1377 * term/ns-win.el (ns-initialize-window-system): ... to here.
1379 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1381 * simple.el (newline): Only run post-self-insert-hook when
1382 called interactively.
1384 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1386 * icomplete.el (icomplete-with-completion-tables): Add :version.
1388 2013-10-19 Alan Mackenzie <acm@muc.de>
1390 Fix fontification bugs with constructors and const.
1392 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1393 CASE 2) Remove the check for the absence of a suffix construct
1394 after a function declaration with only types (no identifiers) in
1395 the parentheses. Also, accept a function declaration with just a
1396 type inside the parentheses, if this type can be positively
1397 recognised as such, or if a prefix keyword like "explicit" nails
1398 down the construct as a declaration.
1400 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1402 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1403 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1404 the problem whereby selecting a menu item that leads to a
1405 minibuffer prompt moves the cursor out of the minibuffer window,
1406 making it hard to type at the prompt. Suggested by Stefan Monnier
1407 <monnier@iro.umontreal.ca>.
1409 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1411 * menu-bar.el: Don't make Services menu.
1413 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1415 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1416 (ffap-alist): Use ffap-c++-mode for c++-mode.
1417 (ffap-c++-path): New variable.
1418 (ffap-c++-mode): New function.
1420 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1422 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1424 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1426 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1427 introduced on 2013-09-08, which results in an infinite loop
1428 requesting a password.
1430 2013-10-18 Glenn Morris <rgm@gnu.org>
1432 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1434 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1436 Sync with upstream verilog-mode revision 1a6ecec7.
1437 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1438 (verilog-mode-release-date): Remove.
1439 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1440 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1441 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1442 (verilog-auto-tieoff-ignore-regexp)
1443 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1444 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1445 (verilog-signals-with, verilog-dir-cache-preserving)
1446 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1448 (verilog-case-fold): New option, to control case folding in
1449 regexp searches, bug597.
1450 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1451 (verilog-string-match-fold, verilog-in-paren-count)
1452 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1453 (verilog-at-close-struct-p): New functions.
1454 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1455 (verilog-forward-sexp, verilog-set-auto-endcomments):
1456 (verilog-leap-to-case-head): Handle "unique0" case.
1457 (verilog-in-constraint-re): New constant.
1458 (verilog-keywords, verilog-type-font-keywords):
1459 Add some SystemVerilog 1800-2012 keywords.
1460 (verilog-label-be): Remove unimplemented argument, bug669.
1461 (verilog-batch-execute-func): When batch expanding clear
1462 create-lockfiles to prevent spurious user locks when a file ends
1464 (verilog-calculate-indent, verilog-calc-1)
1465 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1466 (verilog-do-indent): Fix indentation of nested constraints
1468 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1469 (verilog-auto-inst-param): Use verilog-string-match-fold.
1470 (verilog-read-inst-module-matcher):
1471 Fix AUTOINST on gate primitives with #1.
1472 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1473 Reads all user-defined typed variables.
1474 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1475 (verilog-signals-matching-regexp)
1476 (verilog-signals-not-matching-regexp, verilog-auto):
1477 Respect verilog-case-fold.
1478 (verilog-diff-report): Fix line count.
1479 (verilog-auto-assign-modport): Remove unused local `modi'.
1480 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1481 better handle multidimensional arrays.
1482 Fix packed array ports misadding bit index in AUTOINST, bug637.
1483 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1484 to not double-declare existing outputs and inputs, respectively.
1485 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1486 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1487 (verilog-sk-uvm-component): New skeleton.
1488 (verilog-submit-bug-report): Add verilog-case-fold,
1489 remove verilog-mode-release-date.
1491 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1493 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1496 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1498 * textmodes/remember.el (remember): set buffer-offer-save in
1499 remember buffers (bug#13566).
1501 2013-10-18 Daniel Colascione <dancol@dancol.org>
1503 When evaluating forms in ielm, direct standard output to ielm
1504 buffer. Add new ielm-return-for-effect command. Remove trailing
1505 whitespace throughout.
1507 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1508 (ielm-return-for-effect): New command.
1509 (ielm-send-input): Accept optional `for-effect' parameter.
1510 (ielm-eval-input): Accept optional `for-effect' parameter.
1511 Bind `standard-output' to stream we create using
1512 `ielm-standard-output-impl'. Suppress printing result when
1514 (ielm-standard-output-impl): New function.
1515 (inferior-emacs-lisp-mode): Explain new features in documentation.
1517 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1521 * net/tramp.el (tramp-debug-message): Do not check for connection
1523 (tramp-message): Use "vector" connection property.
1525 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1526 (tramp-equal-remote, tramp-eshell-directory-change)
1527 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1528 (tramp-adb-handle-rename-file)
1529 * net/tramp-cmds.el (tramp-list-remote-buffers)
1530 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1531 * net/tramp-compat.el (tramp-compat-process-running-p)
1532 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1533 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1534 (tramp-gvfs-handle-rename-file)
1535 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1536 (tramp-set-file-uid-gid)
1537 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1538 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1541 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1542 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1543 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1544 (tramp-gw-open-network-stream): Suppress unrelated traces.
1546 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1547 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1548 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1549 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1550 connection property.
1552 * net/tramp-cache.el (top): Suppress traces when reading
1555 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1556 Refactor common code. Improve debug message.
1557 (tramp-maybe-open-connection)
1558 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1559 connection buffer too early.
1561 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1562 from `tramp-smb-actions-with-acl'.
1563 (tramp-smb-actions-set-acl): New defconst.
1564 (tramp-smb-handle-copy-directory)
1565 (tramp-smb-action-get-acl): New defun, renamed from
1566 `tramp-smb-action-with-acl'.
1567 (tramp-smb-action-set-acl): New defun.
1568 (tramp-smb-handle-set-file-acl): Rewrite.
1570 2013-10-17 Glenn Morris <rgm@gnu.org>
1572 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1574 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1576 * skeleton.el (skeleton-newline): Remove.
1577 (skeleton-internal-1): Use (insert "\n") instead.
1579 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1582 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1583 forward-sexp-function while we redo its job (bug#15613).
1585 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1587 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1588 represented by lists.
1590 2013-10-16 Glenn Morris <rgm@gnu.org>
1592 * tmm.el (tmm--history): New dynamic variable.
1593 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1595 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1597 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1598 (tramp-smb-errors): Add error messages.
1599 (tramp-smb-actions-with-acl): New defconst.
1600 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1601 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1602 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1603 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1604 (tramp-smb-get-stat-capability): Fix tests.
1606 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1608 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1611 2013-10-16 Glenn Morris <rgm@gnu.org>
1613 * ansi-color.el (ansi-color-drop-regexp):
1614 Add 1J, 1K, 2K. (Bug#15617)
1616 * files.el (hack-local-variables--warned-lexical): New.
1617 (hack-local-variables):
1618 Warn about misplaced lexical-binding. (Bug#15616)
1620 * net/eww.el (eww-render): Always set eww-current-url,
1621 and update header line. (Bug#15622)
1622 (eww-display-html): ... Rather than just doing it here.
1624 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1626 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1627 menu navigations commands.
1629 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1631 * progmodes/subword.el (subword-capitalize): Be careful when
1632 the search for [[:alpha:]] fails (bug#15580).
1634 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1636 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1637 to commands that scroll the menu.
1639 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1641 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1642 Handle methods ending with `?' and `!'.
1644 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1646 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1647 `japanese-cp932' to `cp932' to fix the problem where saving a
1648 source file written in Shift_JIS twice would end up having
1649 `coding: japanese-cp932' which Ruby could not recognize.
1650 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1651 in `ruby-encoding-map'.
1652 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1653 doesn't need to be explicitly declared in magic comment.
1654 (ruby-encoding-map): Add type declaration for better customize UI.
1656 2013-10-13 Glenn Morris <rgm@gnu.org>
1658 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1659 Occur buffers are read-only. http://bugs.debian.org/720775
1661 * emacs-lisp/authors.el (authors-fixed-entries):
1662 Comment out old alpha stuff.
1664 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1666 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1667 to `after-save-hook' instead of `before-save-hook'.
1668 (ruby-mode-set-encoding): Use the value of coding system used to
1669 write the file. Call `basic-save-buffer-1' after modifying the
1672 2013-10-13 Alan Mackenzie <acm@muc.de>
1674 Fix indentation/fontification of Java enum with
1675 "implements"/generic.
1677 * progmodes/cc-engine.el (c-backward-over-enum-header):
1678 Extracted from the three other places and enhanced to handle generics.
1679 (c-inside-bracelist-p): Uses new function above.
1680 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1682 (c-font-lock-enum-tail): Uses new function above.
1684 2013-10-13 Kenichi Handa <handa@gnu.org>
1686 * international/mule-cmds.el (select-safe-coding-system): Remove a
1687 superfluous condition in chekcing whether a coding system is safe
1690 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1692 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1694 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1696 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1698 2013-10-13 Glenn Morris <rgm@gnu.org>
1700 * menu-bar.el (menu-bar-update-buffers):
1701 Unify Buffers menu prompt string. (Bug#15576)
1703 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1705 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1707 (authors-fixed-entries): Use accented form of name.
1709 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1711 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1712 method calls (bug#15594).
1713 (ruby-smie--args-separator-p): New function.
1714 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1715 recognize paren-free method calls.
1717 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1718 internals of universal-argument.
1720 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1722 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1723 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1724 dropped menu on second mouse click on the menu bar.
1726 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1728 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1729 (explicit-shell-file-name): Declare.
1730 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1731 (sh-completion-at-point-function): New function.
1733 (sh-smie--keyword-p): Remove unused argument.
1734 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1736 (sh-set-shell): Always setup SMIE, even if we use the
1737 old indentation code.
1739 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1741 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1743 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1744 predicate would return nil are almost non-existent.
1745 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1747 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1748 cache also after commands that modify the buffer but don't move
1751 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1753 * env.el (substitute-env-in-file-name): New function.
1754 (substitute-env-vars): Extend the meaning of the optional arg.
1756 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1758 * term/w32-win.el (dynamic-library-alist): Define separate lists
1759 of GIF DLLs for versions before and after 5.0.0 of giflib.
1762 2013-10-10 João Távora <joaotavora@gmail.com>
1764 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1765 not locked, use last revision and current source as
1766 defaults. (Bug#15569)
1768 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1770 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1773 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1775 * window.el (pop-to-buffer-same-window): Fix doc-string.
1778 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1780 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1782 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1784 * calendar/icalendar.el (icalendar-import-file):
1785 Fix interactive spec. (Bug#15482)
1787 2013-10-10 Glenn Morris <rgm@gnu.org>
1789 * desktop.el (desktop-save): Default to saving in .emacs.d,
1790 since PWD is no longer in desktop-path by default. (Bug#15319)
1792 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1793 now that text mode has a menu with the same entry.
1794 (menu-bar-text-mode-auto-fill): Remove now unused func.
1795 * textmodes/text-mode.el (text-mode-map):
1796 Use auto-fill help text from menu-bar.el.
1798 2013-10-10 John Anthony <john@jo.hnanthony.com>
1800 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1802 2013-10-09 Juri Linkov <juri@jurta.org>
1804 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1805 instead of this-command-keys. Add universal-argument-more and
1806 universal-argument-minus to the list of prefix commands. (Bug#15568)
1808 2013-10-09 Glenn Morris <rgm@gnu.org>
1810 * vc/vc-svn.el (vc-svn-create-repo):
1811 Expand paths in file://... url. (Bug#15446)
1813 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1815 (authors): Remove unused local variables.
1817 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1819 * profiler.el: Create a more coherent calltree from partial backtraces.
1820 (profiler-format): Hide the tail with `invisible' so that C-s can still
1821 find the hidden elements.
1822 (profiler-calltree-depth): Don't recurse so enthusiastically.
1823 (profiler-function-equal): New hash-table-test.
1824 (profiler-calltree-build-unified): New function.
1825 (profiler-calltree-build): Use it.
1826 (profiler-report-make-name-part): Indent the calltree less.
1827 (profiler-report-mode): Add visibility specs for profiler-format.
1828 (profiler-report-expand-entry, profiler-report-toggle-entry):
1829 Expand the whole subtree when provided with a prefix arg.
1831 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1833 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1835 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1836 hanging iuwu-mod token.
1837 (ruby-smie--forward-token): Do not include a dot after a token in
1839 (ruby-smie--backward-token): Likewise.
1841 2013-10-08 Juri Linkov <juri@jurta.org>
1843 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1844 to isearch-other-control-char.
1845 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1846 and isearch-post-command-hook to post-command-hook.
1847 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1848 and isearch-post-command-hook from post-command-hook.
1849 (isearch-unread-key-sequence)
1850 (isearch-reread-key-sequence-naturally)
1851 (isearch-lookup-scroll-key, isearch-other-control-char)
1852 (isearch-other-meta-char): Remove functions.
1853 (isearch-pre-command-hook, isearch-post-command-hook):
1854 New functions based on isearch-other-meta-char rewritten
1855 relying on the new behavior of overriding-terminal-local-map
1856 that does not replace the local keymaps any more. (Bug#15200)
1858 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1860 Support menus on text-mode terminals.
1861 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1864 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1866 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1867 Move here from mouse.el.
1868 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1870 (tty-menu-navigation-map): New map for TTY menu navigation.
1872 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1874 * frame.el (display-mouse-p): Report text-mode mouse as available
1876 (display-popup-menus-p): Report availability if mouse is
1877 available; don't condition on window-system.
1879 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1880 (tty-menu-selected-face): New faces.
1882 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1884 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1885 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1886 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1887 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1889 (lisp-mode-variables): New `elisp' argument.
1890 (emacs-lisp-mode): Use it.
1891 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1892 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1894 * indent.el: Use lexical-binding.
1895 (indent-region): Add progress reporter.
1896 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1898 (indent--next-tab-stop): New function to implement this behavior.
1899 (tab-to-tab-stop, move-to-tab-stop): Use it.
1901 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1903 * indent.el (indent-rigidly--current-indentation): New function.
1904 (indent-rigidly-map): New var.
1905 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1907 2013-10-08 Bastien Guerry <bzg@gnu.org>
1909 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1911 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1913 * progmodes/perl-mode.el: Use lexical-binding.
1914 Remove redundant :group args.
1915 (perl-nochange): Change default to be closer to other major modes's
1917 (perl-indent-line): Don't consider text on current line as a
1918 valid beginning of function from which to indent.
1920 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1921 with more than one argument (bug#15538).
1923 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1925 * vc/pcvs.el: Use lexical-binding.
1926 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1927 environment of `eval'.
1928 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1929 than a list of expressions. Adjust callers.
1930 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1932 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1934 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1935 case of the dot in a chained method call being on the following line.
1937 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1939 * electric.el (electric-indent-inhibit): New var.
1940 (electric-indent-post-self-insert-function): Use it.
1941 * progmodes/python.el (python-mode): Set it.
1943 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1946 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1948 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1949 (css-mode): Use electric-indent-chars.
1951 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1952 (font-lock-beg, font-lock-end): Move before first use.
1953 (nxml-mode): Use syntax-propertize-function.
1954 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1955 (nxml-extend-after-change-region): Remove.
1956 * nxml/xmltok.el: Use lexical-binding.
1957 (xmltok-save): Use `declare'.
1958 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1959 * nxml/nxml-util.el: Use lexical-binding.
1960 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1962 * nxml/nxml-ns.el: Use lexical-binding.
1963 (nxml-ns-save): Use `declare'.
1964 (nxml-ns-prefixes-for): Avoid add-to-list.
1965 * nxml/rng-match.el: Use lexical-binding.
1966 (rng--ipattern): Use cl-defstruct.
1967 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1968 (rng-cons-group-after, rng-subst-group-after)
1969 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1970 Use closures instead of `(lambda...).
1972 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1974 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1977 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1978 Use `tramp-handle-insert-file-contents'.
1979 (tramp-gvfs-handle-insert-file-contents): Remove function.
1981 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1982 Use `save-restriction' in order to keep markers.
1984 * net/trampver.el: Update release number.
1986 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1988 * progmodes/compile.el (compilation-parse-errors):
1989 Use compilation--put-prop.
1990 (compilation--ensure-parse): Check compilation-multiline.
1992 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1994 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1997 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1999 * progmodes/ruby-mode.el: Fix recently added tests.
2000 (ruby-smie-grammar): Add - and +.
2001 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2002 (ruby-smie--backward-id): New functions.
2003 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2004 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2007 2013-10-07 Leo Liu <sdl.web@gmail.com>
2009 * register.el (register-preview-delay)
2010 (register-preview-functions): New variables.
2011 (register-read-with-preview, register-preview)
2012 (register-describe-oneline): New functions.
2013 (point-to-register, window-configuration-to-register)
2014 (frame-configuration-to-register, jump-to-register)
2015 (number-to-register, view-register, insert-register)
2016 (copy-to-register, append-to-register, prepend-to-register)
2017 (copy-rectangle-to-register): Use register-read-with-preview to
2018 read register. (Bug#15525)
2020 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2022 * net/network-stream.el (network-stream-open-starttls): Don't add
2023 --insecure if it's already present, because that gnutls-cli
2024 rejects getting that parameter twice.
2026 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2028 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2031 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2033 * newcomment.el (comment-use-global-state): Change default value
2034 to t, mark obsolete (Bug#15251).
2035 (comment-beginning): In addition to `comment-to-syntax', check the
2036 value of `comment-use-global-state'.
2038 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2040 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2041 (ruby-comment-column): Follow the global default, by default.
2042 (ruby-smie-grammar): Add assignment syntax.
2043 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2044 open-paren, a comma, or a \.
2045 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2046 and line continuations.
2047 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2048 followed by implicit semi-colons. Add rule for string concatenation
2049 and for indentation at BOB.
2050 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2052 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2053 calling next-sexp, since next-token may have skipped chars which
2054 next-sexp doesn't know should be skipped!
2056 2013-10-05 Leo Liu <sdl.web@gmail.com>
2058 * progmodes/octave.el (octave-send-region):
2059 Call compilation-forget-errors.
2061 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2063 * vc/vc-svn.el (vc-svn-find-admin-dir):
2064 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2065 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2066 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2067 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2069 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2071 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2073 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2075 * subr.el (read-passwd): Hide chars even when called within a context
2076 where after-change-functions is disabled (bug#15501).
2077 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2078 until we removed ourself from overriding-terminal-local-map.
2080 2013-10-04 Leo Liu <sdl.web@gmail.com>
2082 * progmodes/octave.el (inferior-octave-mode):
2083 Call compilation-forget-errors.
2085 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2087 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2089 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2091 * net/secrets.el (secrets-create-collection): Add optional
2092 argument ALIAS. Use proper Label keyword. Append ALIAS as
2093 dbus-call-method argument. (Bug#15516)
2095 2013-10-04 Leo Liu <sdl.web@gmail.com>
2097 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2098 (inferior-octave-compilation-font-lock-keywords): New variables.
2099 (compilation-error-regexp-alist)
2100 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2101 (inferior-octave-mode): Use compilation-shell-minor-mode.
2103 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2105 * minibuffer.el (completion--replace): Be careful that `end' might be
2108 2013-10-03 Daiki Ueno <ueno@gnu.org>
2110 Add support for package signature checking.
2111 * emacs-lisp/package.el (url-http-file-exists-p)
2112 (epg-make-context, epg-context-set-home-directory)
2113 (epg-verify-string, epg-context-result-for)
2114 (epg-signature-status, epg-signature-to-string)
2115 (epg-check-configuration, epg-configuration)
2116 (epg-import-keys-from-file): Declare.
2117 (package-check-signature): New user option.
2118 (package-unsigned-archives): New user option.
2119 (package-desc): Add `signed' field.
2120 (package-load-descriptor): Set `signed' field if .signed file exists.
2121 (package--archive-file-exists-p): New function.
2122 (package--check-signature): New function.
2123 (package-install-from-archive): Check package signature.
2124 (package--download-one-archive): Check archive signature.
2125 (package-delete): Remove .signed file.
2126 (package-import-keyring): New command.
2127 (package-refresh-contents): Import default keyring.
2128 (package-desc-status): Add "unsigned" status.
2129 (describe-package-1, package-menu--print-info)
2130 (package-menu-mark-delete, package-menu--find-upgrades)
2131 (package-menu--status-predicate): Support "unsigned" status.
2133 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2135 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2136 the new compilation scheme using the new byte-codes.
2138 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2139 (byte-pophandler): New byte codes.
2140 (byte-goto-ops): Adjust accordingly.
2141 (byte-compile--use-old-handlers): New var.
2142 (byte-compile-catch): Use new byte codes depending on
2143 byte-compile--use-old-handlers.
2144 (byte-compile-condition-case--old): Rename from
2145 byte-compile-condition-case.
2146 (byte-compile-condition-case--new): New function.
2147 (byte-compile-condition-case): New function that dispatches depending
2148 on byte-compile--use-old-handlers.
2149 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2152 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2153 Optimize under `condition-case' and `catch' if
2154 byte-compile--use-old-handlers is nil.
2155 (disassemble-offset): Handle new bytecodes.
2157 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2159 * subr.el (error): Use `declare'.
2160 (decode-char, encode-char): Use advertised-calling-convention instead
2161 of the docstring to discourage use of the `restriction' arg.
2163 2013-10-03 Daiki Ueno <ueno@gnu.org>
2165 * epg.el (epg-verify-file): Add a comment saying that it does not
2166 notify verification error as a return value nor a signal.
2167 (epg-verify-string): Ditto.
2169 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2171 * progmodes/compile.el (compilation-start): Try globbing the arg to
2174 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2176 Sync with Tramp 2.2.8.
2178 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2179 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2180 * net/trampver.el: Update release number.
2182 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2184 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2185 and default-process-coding-system for darwin only.
2187 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2189 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2191 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2193 * vc/vc-git.el (vc-git-grep): Disable pager.
2195 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2197 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2198 Use :url instead of :homepage, as per
2199 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2201 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2202 non-nil, use `syntax-ppss' (Bug#15251).
2204 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2206 * progmodes/octave.el (inferior-octave-startup-file):
2207 Prefer ~/.emacs.d/init_octave.m.
2209 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2211 * emacs-lisp/package.el (package-desc-from-define):
2212 Accept additional arguments as plist, convert them to an alist and store
2213 them in the `extras' slot.
2214 (package-generate-description-file): Convert extras alist back to
2215 plist and append to the `define-package' form arguments.
2216 (package--alist-to-plist): New function.
2217 (package--ac-desc): Add `extras' slot.
2218 (package--add-to-archive-contents): Check if the archive-contents
2219 vector is long enough, and if it is, pass its `extras' slot value
2220 to `package-desc-create'.
2221 (package-buffer-info): Call `lm-homepage', pass the returned value
2222 to `package-desc-from-define'.
2223 (describe-package-1): Render the homepage button (Bug#13291).
2225 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2226 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2228 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2230 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2231 and default-process-coding-system to utf-8-unix (Bug#15402).
2233 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2235 * subr.el (looking-back): Do not recommend using looking-back.
2237 2013-09-28 Alan Mackenzie <acm@muc.de>
2239 Fix indentation/fontification of Java enum with "implements".
2241 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2242 regexp which matches "implements", etc., in Java.
2243 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2244 specifier clauses coming after "enum".
2245 * progmodes/cc-fonts.el (c-font-lock-declarations)
2246 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2249 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2251 * faces.el (region): Change ns_selection_color to
2252 ns_selection_fg_color, add ns_selection_bg_color.
2254 2013-09-28 Leo Liu <sdl.web@gmail.com>
2256 * progmodes/octave.el (inferior-octave-completion-table)
2257 (inferior-octave-completion-at-point): Minor tweaks.
2259 * textmodes/ispell.el (ispell-lookup-words): Rename from
2260 lookup-words. (Bug#15460)
2261 (lookup-words): Obsolete.
2262 (ispell-complete-word, ispell-command-loop): All uses changed.
2264 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2266 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2267 (octave-mode-menu): Add octave-send-buffer.
2268 (octave-send-buffer): New function.
2270 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2272 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2274 (octave-mode-menu): Add octave-lookfor.
2275 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2277 (octave-lookfor): New function.
2279 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2281 * emacs-lisp/cl-macs.el:
2282 (cl--loop-destr-temps): Remove.
2283 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2285 (cl--loop-set-iterator-function): New function.
2286 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2287 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2288 Bind `it' with `let' instead of substituting it with `cl-subst'.
2289 (cl--unused-var-p): New function.
2290 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2291 Eliminate some unused variable warnings (bug#15326).
2293 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2295 * doc-view.el (doc-view-scale-reset): Rename from
2296 `doc-view-reset-zoom-level'.
2297 (doc-view-scale-adjust): New command.
2298 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2299 `doc-view-scale-adjust'.
2301 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2303 * doc-view.el (doc-view-reset-zoom-level): New command.
2304 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2305 zoom commands (bug#15466).
2307 2013-09-26 Kenichi Handa <handa@gnu.org>
2309 * international/quail.el (quail-help): Make it not a command.
2311 2013-09-26 Leo Liu <sdl.web@gmail.com>
2313 * minibuffer.el (completion-all-sorted-completions): Make args
2314 optional as they are.
2316 2013-09-25 Daniel Colascione <dancol@dancol.org>
2318 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2319 specs are and that they're not evaluated.
2321 2013-09-24 Sam Steingold <sds@gnu.org>
2323 * midnight.el (clean-buffer-list-kill-regexps)
2324 (clean-buffer-list-kill-buffer-names): Update for the new Man
2325 buffer naming which includes the object name.
2327 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2329 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2330 (eshell-parse-command, eshell-parse-pipeline): Use it since
2331 eshell-separate-commands requires a dynamic scoped var.
2332 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2334 2013-09-23 Leo Liu <sdl.web@gmail.com>
2336 * autoinsert.el (auto-insert-alist): Make the value of
2337 lexical-binding match its file setting.
2339 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2341 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2343 * autoarg.el (autoarg-kp-digit-argument):
2344 * electric.el (Electric-command-loop):
2345 * kmacro.el (kmacro-step-edit-insert):
2346 Do not set universal-argument-num-events.
2348 2013-09-22 Leo Liu <sdl.web@gmail.com>
2350 * files.el (interpreter-mode-alist): Add octave.
2352 2013-09-21 Alan Mackenzie <acm@muc.de>
2354 C++: fontify identifier in declaration following "public:" correctly.
2355 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2356 to match "public", etc.
2357 (c-decl-prefix-re): Add ":" into the C++ value.
2358 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2359 bit. Add a check for a ":" preceded by "public", etc.
2361 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2363 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2364 recognized by GDB 7.5 and later.
2366 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2368 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2370 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2372 * subr.el (internal--call-interactively): New const.
2373 (called-interactively-p): Use it (bug#3984).
2375 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2377 * vc/pcvs.el (cvs-mode-ignore):
2378 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2379 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2381 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2383 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2384 (eshell-ls-orig-insert-directory): Remove.
2385 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2386 (eshell-ls-use-in-dired): Use advice-add/remove.
2387 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2388 Add `orig-fun' arg for use in :around advice.
2389 Make it check (redundantly) eshell-ls-use-in-dired.
2391 2013-09-19 Glenn Morris <rgm@gnu.org>
2393 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2395 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2397 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2399 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2401 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2402 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2403 (tramp-get-remote-python): New defuns.
2404 (tramp-get-remote-uid-with-perl)
2405 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2406 contributed by yary <not.com@gmail.com> (tiny change).
2407 (tramp-get-remote-uid-with-python)
2408 (tramp-get-remote-gid-with-python): New defuns. Python code
2409 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2410 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2412 2013-09-19 Glenn Morris <rgm@gnu.org>
2414 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2416 * eshell/em-unix.el (eshell-remove-entries):
2417 Rename argument to avoid name-clash with global `top-level'.
2419 * eshell/esh-proc.el (eshell-kill-process-function):
2420 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2421 (eshell-reset-after-proc): Remove unused arg `proc'.
2423 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2424 (directory-files-and-attributes): Mark unused arg.
2426 * eshell/em-unix.el (eshell-remove-entries):
2427 Remove unused arg `path'. Update callers.
2429 * eshell/em-hist.el (eshell-hist-parse-arguments):
2430 Remove unused arg `silent'. Update callers.
2432 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2433 Fix (f)boundp mix-up.
2435 * eshell/em-smart.el (eshell-smart-scroll-window)
2436 (eshell-disable-after-change):
2437 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2439 2013-09-18 Alan Mackenzie <acm@muc.de>
2441 Fix fontification of type when followed by "const".
2442 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2443 "known" types from fontification.
2445 2013-09-18 Glenn Morris <rgm@gnu.org>
2447 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2448 (chart-face-list): Drop Emacsen without display-color-p.
2450 * net/eww.el (libxml-parse-html-region): Declare.
2451 (eww-display-html): Explicit error if no libxml2 support.
2453 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2455 * image.el (image-type-from-buffer, image-multi-frame-p):
2456 Remove --without-x warning/error.
2458 * mouse.el (mouse-yank-primary):
2459 * term.el (term-mouse-paste):
2460 Reorder to silence --without-x compilation.
2462 * mpc.el (doc-view-mode): Silence --without-x compilation.
2464 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2465 Silence --without-x compilation.
2467 * progmodes/gud.el (gud-find-file, gud-mode):
2468 Silence --without-x compilation.
2469 (tooltip-mode): Declare.
2471 * wdired.el (dired-backup-overwrite): Remove declaration.
2472 (wdired-mode-map): Add doc string.
2474 * custom.el (x-get-resource): Declare.
2476 * eshell/em-glob.el (ange-cache):
2477 * eshell/em-unix.el (ange-cache): Declare.
2479 * faces.el (x-display-list, x-open-connection, x-get-resource):
2482 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2483 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2486 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2488 * net/gnutls.el (gnutls-log-level): Declare.
2490 * net/shr.el (image-size, image-animate): Declare.
2492 * simple.el (font-info): Declare.
2494 * subr.el (x-popup-dialog): Declare.
2496 * term/common-win.el (x-select-enable-primary)
2497 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2500 * term/ns-win.el (x-handle-args): Declare.
2502 * term/x-win.el (x-select-enable-clipboard): Declare.
2504 * term/w32-win.el (create-default-fontset): Declare.
2506 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2509 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2510 (fit-frame-to-buffer): Explicit error if --without-x.
2511 (mouse-autoselect-window-select): Silence compiler.
2513 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2515 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2516 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2517 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2518 * eshell/esh-util.el (eshell-sublist):
2519 Remove unused local variables.
2521 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2523 * textmodes/two-column.el: Make 2C-split work for --without-x.
2524 (scroll-bar-columns): Autoload.
2525 (top-level): Require fringe when compiling.
2527 2013-09-18 Leo Liu <sdl.web@gmail.com>
2529 * subr.el (add-hook): Robustify to handle closure as well.
2531 2013-09-17 Glenn Morris <rgm@gnu.org>
2533 * simple.el (messages-buffer-mode-map): Unbind "g".
2535 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2537 * help-mode.el (help-mode-finish): Use derived-mode-p.
2538 Remove obsolete highlighting.
2540 * play/life.el (life-mode): Use define-derived-mode. Derive from
2542 (life): Let-bind inhibit-read-only.
2543 (life-setup): Avoid `setq'. Use `life-mode'.
2545 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2546 which should not be needed any more.
2547 (package-menu-refresh, package-menu-describe-package): Use user-error.
2549 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2550 (eshell-post-rewrite-command-hook): Make obsolete.
2551 (eshell-parse-command): Simplify.
2552 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2553 (eshell--cmd): Declare.
2554 (eshell-parse-pipeline): Remove unused var `final-p'.
2555 Pass a dynvar to eshell-post-rewrite-command-hook.
2556 Implement the new eshell-post-rewrite-command-function.
2557 (eshell-invoke-directly): Remove unused arg `input'.
2558 * eshell/esh-io.el (eshell-io-initialize):
2559 Use eshell-post-rewrite-command-function (bug#15399).
2560 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2561 adjust to new calling convention.
2562 (eshell-create-handles): Rename args to avoid clashing with dynvar
2565 2013-09-17 Glenn Morris <rgm@gnu.org>
2567 * simple.el (messages-buffer-mode): New major mode.
2568 (messages-buffer): New function.
2569 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2570 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2571 (ert-run-test): Use `messages-buffer' function.
2572 (ert--force-message-log-buffer-truncation): Ignore read-only.
2573 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2574 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2576 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2578 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2580 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2582 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2584 * icomplete.el (icomplete-in-buffer): New var.
2585 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2586 vars and replace them with functions.
2587 (icomplete-minibuffer-setup): Adjust accordingly.
2588 (icomplete--completion-table, icomplete--completion-predicate)
2589 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2591 (icomplete-forward-completions, icomplete-backward-completions)
2592 (icomplete-simple-completing-p, icomplete-exhibit)
2593 (icomplete-completions): Use them.
2594 (icomplete--in-region-buffer): New var.
2595 (icomplete--in-region-setup): New function.
2596 (icomplete-mode): Use it.
2598 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2600 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2601 return args and options.
2602 (eshell-eval-using-options): Use the new return value of
2603 eshell--do-opts to set the options's vars in their scope.
2604 (eshell--set-option): Rename from eshell-set-option.
2606 (eshell--process-option): Rename from eshell-process-option.
2608 (eshell--process-args): Use an `opt-vals' alist to store the options's
2609 values during their processing and return them additionally to the
2612 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2614 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2615 continuation character an operator, as far as indentation is
2616 concerned (Bug#15369).
2618 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2620 * window.el (window--state-put-2): Don't process buffer state
2621 when buffer doesn't exist any more (Bug#15382).
2623 2013-09-15 Glenn Morris <rgm@gnu.org>
2625 * eshell/em-unix.el (eshell/rm):
2626 Make -f ignore missing files. (Bug#15373)
2628 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2629 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2630 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2632 2013-09-14 Glenn Morris <rgm@gnu.org>
2634 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2636 2013-09-13 Glenn Morris <rgm@gnu.org>
2638 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2639 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2641 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2643 * frame.el (x-focus-frame): Mark as declared in frame.c.
2645 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2647 * ls-lisp.el: Use advice-add.
2648 (original-insert-directory): Remove.
2649 (ls-lisp--insert-directory): Rename from insert-directory; add
2650 `orig-fun' argument.
2651 (insert-directory): Advise.
2653 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2655 * term.el (term-emulate-terminal): Decode the command string
2656 before passing it to term-command-hook. (Bug#15337)
2658 2013-09-13 Glenn Morris <rgm@gnu.org>
2660 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2662 * eshell/esh-ext.el (eshell-search-path): Declare.
2664 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2665 Otherwise an error occurs if eshell-dirs module not loaded.
2667 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2669 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2671 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2672 `tramp-check-proper-host'. Check for a valid method name.
2674 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2675 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2676 * net/tramp-sh.el (tramp-maybe-open-connection):
2677 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2679 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2680 also for hash values.
2682 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2684 * term/ns-win.el (parameters): Don't declare as dynamic.
2685 (before-make-frame-hook): Don't add ineffective function.
2687 * eshell/*.el: Use lexical-binding (bug#15231).
2689 2013-09-12 Kenichi Handa <handa@gnu.org>
2691 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2693 2013-09-12 Glenn Morris <rgm@gnu.org>
2695 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2696 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2698 * subr.el (do-after-load-evaluation): Also give compiler warnings
2699 when obsolete files are used (except by obsolete files).
2701 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2702 in the status output, assume `filename' is the first. (Bug#15322)
2704 * vc/vc.el (vc-deduce-fileset): Doc fix.
2706 * calc/calc-help.el (Info-goto-node):
2707 * progmodes/cperl-mode.el (Info-find-node):
2708 * vc/ediff.el (Info-goto-node): Update declarations.
2710 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2712 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2713 (vc-bzr-pull): Require vc-dispatcher.
2714 * vc/vc-git.el (vc-compilation-mode): Declare.
2715 (vc-git-pull): Require vc-dispatcher.
2717 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2719 * progmodes/octave.el (help-button-action): Declare.
2721 * shell.el (shell-directory-tracker): Output error as a message
2722 rather than just returning it as a string.
2723 (shell-process-pushd): Remove useless use of message.
2725 * dframe.el (dframe-timer-fn):
2726 * files.el (dir-locals-read-from-file):
2727 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2729 * reveal.el (reveal-post-command):
2730 * saveplace.el (load-save-place-alist-from-file):
2731 * shell.el (shell-resync-dirs):
2732 * w32-common-fns.el (x-get-selection-value):
2733 * emacs-lisp/copyright.el (copyright-find-copyright):
2734 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2735 * emulation/tpu-edt.el (tpu-copy-keyfile):
2736 * play/bubbles.el (bubbles--mark-neighbourhood):
2737 * progmodes/executable.el
2738 (executable-make-buffer-file-executable-if-script-p):
2739 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2741 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2743 Cleanup Eshell to rely less on dynamic scoping.
2744 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2745 last-value, and ext-command here. Bind `args' closer to `body'.
2746 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2747 (eshell--args): Declare new dynamic var.
2748 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2749 last-value, and ext-command. Pass `args' to `body'.
2750 (eshell-process-args): Bind eshell--args.
2751 (eshell-set-option): Use eshell--args.
2752 * eshell/eshell.el (eshell): Use derived-mode-p.
2753 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2754 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2755 (eshell-glob-function): Declare.
2756 * eshell/esh-util.el: Require cl-lib.
2757 (eshell-read-hosts-file): Avoid add-to-list.
2758 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2760 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2762 (eshell/diff): Remove unused var `err'.
2763 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2765 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2766 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2768 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2769 Move declaration before first use.
2770 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2771 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2774 2013-09-12 Glenn Morris <rgm@gnu.org>
2776 * term/ns-win.el (global-map): Remove binding for ispell-next,
2777 deleted 1999-05-29. (Bug#15357)
2779 2013-09-11 Glenn Morris <rgm@gnu.org>
2781 * echistory.el (electric-command-history): Remove call to deleted func.
2783 * play/landmark.el (landmark-mode): Fix typos.
2785 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2786 Check cvs-sort-ignore-file is bound.
2788 * savehist.el: No need for cl when compiling on Emacs.
2790 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2792 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2794 (eshell-self-insert-command, eshell-send-invisible):
2795 Remove unused argument.
2796 (eshell-handle-control-codes): Remove unused var `orig'.
2797 Avoid delete-backward-char.
2799 * files.el (set-auto-mode): Simplify a bit further.
2801 2013-09-11 Glenn Morris <rgm@gnu.org>
2803 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2804 (set-auto-mode): Don't regexp-quote elements.
2805 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2806 * progmodes/cc-mode.el (interpreter-mode-alist):
2807 * progmodes/ruby-mode.el (interpreter-mode-alist):
2808 Revert previous change.
2810 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2812 * play/snake.el (snake-mode):
2813 * play/mpuz.el (mpuz-mode):
2814 * play/landmark.el (lm-mode):
2815 * play/blackbox.el (blackbox-mode):
2816 * play/5x5.el (5x5-mode):
2817 * obsolete/options.el (Edit-options-mode):
2818 * net/quickurl.el (quickurl-list-mode):
2819 * net/newst-treeview.el (newsticker-treeview-mode):
2820 * mail/rmailsum.el (rmail-summary-mode):
2821 * mail/mspools.el (mspools-mode):
2822 * locate.el (locate-mode):
2823 * ibuffer.el (ibuffer-mode):
2824 * emulation/ws-mode.el (wordstar-mode):
2825 * emacs-lisp/debug.el (debugger-mode):
2826 * array.el (array-mode):
2827 * net/eudc.el (eudc-mode): Use define-derived-mode.
2828 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2829 Move initialization into declaration.
2830 (mairix-searches-mode): Use define-derived-mode.
2831 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2832 (eudc-edit-hotlist): Use dolist.
2833 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2834 (Man-mode): Use define-derived-mode.
2835 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2836 (Info-edit-mode): Use define-derived-mode.
2837 (Info-cease-edit): Use Info-mode.
2838 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2840 (eshell-mode): Use define-derived-mode.
2841 * chistory.el (command-history-mode-map): Rename from
2842 command-history-map.
2843 (command-history-mode): Use define-derived-mode.
2844 (Command-history-setup): Remove function.
2845 * calc/calc.el (calc-trail-mode-map): New var.
2846 (calc-trail-mode): Use define-derived-mode.
2847 (calc-trail-buffer): Set calc-main-buffer manually.
2848 * bookmark.el (bookmark-insert-annotation): New function.
2849 (bookmark-edit-annotation): Use it.
2850 (bookmark-edit-annotation-mode): Make it a proper major mode.
2851 (bookmark-send-edited-annotation): Use derived-mode-p.
2852 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2853 closer to its ideal place. Use \' to match EOS.
2855 * profiler.el (profiler-calltree-find): Use function-equal.
2857 2013-09-10 Glenn Morris <rgm@gnu.org>
2859 * files.el (interpreter-mode-alist): Convert to regexps.
2860 (set-auto-mode): Adapt for this. (Bug#15306)
2861 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2862 Comment out unused variable.
2863 * progmodes/cc-mode.el (interpreter-mode-alist):
2864 * progmodes/python.el (interpreter-mode-alist):
2865 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2866 * progmodes/sh-script.el (sh-set-shell):
2867 No longer use interpreter-mode-alist to get list of shells.
2869 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2871 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2873 * simple.el: Use set-temporary-overlay-map for universal-argument.
2874 (universal-argument-map): Don't use default-bindings (bug#15317).
2875 Bind switch-frame explicitly. Replace universal-argument-minus with
2876 a conditional binding.
2877 (universal-argument-num-events, saved-overriding-map): Remove.
2878 (restore-overriding-map): Remove.
2879 (universal-argument--mode): Rename from save&set-overriding-map,
2881 (universal-argument, universal-argument-more, negative-argument)
2882 (digit-argument): Adjust accordingly.
2883 (universal-argument-minus): Remove.
2884 (universal-argument-other-key): Remove.
2886 * subr.el (with-demoted-errors): Add `format' argument.
2888 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2890 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2891 `tramp-cleanup-connection'.
2893 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2894 parameters KEEP-DEBUG and KEEP-PASSWORD.
2896 * net/tramp.el (tramp-file-name-handler):
2897 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2898 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2899 (tramp-maybe-open-connection):
2900 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2901 Use `tramp-cleanup-connection'.
2903 * net/tramp-sh.el (tramp-maybe-open-connection):
2904 Catch 'uname-changed inside the progress reporter.
2906 2013-09-10 Glenn Morris <rgm@gnu.org>
2908 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2910 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2911 returns "alternate access method" in mode (eg "-rw-r--r--.").
2913 2013-09-08 Glenn Morris <rgm@gnu.org>
2915 * saveplace.el (load-save-place-alist-from-file):
2916 Demote errors. (Bug#15305)
2918 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2920 Improve compatibility with older Emacsen, and XEmacs.
2922 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2923 only if it is bound. It isn't for XEmacs.
2924 (with-tramp-progress-reporter): Do not let-bind `result'.
2925 This yields to scoping errors in XEmacs.
2926 (tramp-handle-make-auto-save-file-name): New function, moved from
2929 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2930 for `make-auto-save-file-name'.
2931 (tramp-adb--gnu-switches-to-ash):
2932 Use `tramp-compat-replace-regexp-in-string'.
2934 * net/tramp-cache.el (tramp-cache-print): Call
2935 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2937 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2938 bound. It isn't for XEmacs.
2940 * net/tramp-compat.el (tramp-compat-copy-file):
2941 Catch `wrong-number-of-arguments' error.
2942 (tramp-compat-replace-regexp-in-string): New defun.
2944 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2945 for `make-auto-save-file-name'.
2946 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2948 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2949 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2950 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2952 * net/tramp-gw.el (tramp-gw-open-network-stream):
2953 Use `tramp-compat-replace-regexp-in-string'.
2955 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2956 Call `tramp-handle-make-auto-save-file-name'.
2957 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2958 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2959 (tramp-sh-file-inotifywait-process-filter):
2960 Use `tramp-compat-replace-regexp-in-string'.
2961 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2963 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2964 for `make-auto-save-file-name'.
2965 (tramp-smb-handle-copy-directory):
2966 Call `tramp-compat-replace-regexp-in-string'.
2967 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2968 (tramp-smb-handle-copy-file): Improve error message.
2969 (tramp-smb-handle-rename-file): Rename directly only in case
2970 `newname' does not exist yet. This is a restriction of smbclient.
2971 (tramp-smb-maybe-open-connection): Rerun the function only when
2972 `auth-sources' is non-nil.
2974 2013-09-08 Kenichi Handa <handa@gnu.org>
2976 * international/characters.el: Set category "^" (Combining) for
2979 2013-09-07 Alan Mackenzie <acm@muc.de>
2981 Correctly fontify Java class constructors.
2982 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2984 (c-recognize-typeless-decls): Set the Java value to t.
2985 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2986 While handling a "(", add a check for, effectively, Java, and handle a
2987 "typeless" declaration there.
2989 2013-09-07 Roland Winkler <winkler@gnu.org>
2991 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2992 field subtitle for entry type book.
2994 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2996 * minibuffer.el: Make minibuffer-complete call completion-in-region
2997 rather than other way around.
2998 (completion--some, completion-pcm--find-all-completions):
2999 Don't delay signals when debugging.
3000 (minibuffer-completion-contents): Beware fields within the
3001 minibuffer contents.
3002 (completion-all-sorted-completions): Use defvar-local.
3003 (completion--do-completion, completion--cache-all-sorted-completions)
3004 (completion-all-sorted-completions, minibuffer-force-complete):
3005 Add args `beg' and `end'.
3006 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3007 (minibuffer-complete): Use completion-in-region.
3008 (completion-complete-and-exit): New fun, extracted from
3009 minibuffer-complete-and-exit.
3010 (minibuffer-complete-and-exit): Use it.
3011 (completion--complete-and-exit): Rename from
3012 minibuffer--complete-and-exit.
3013 (completion-in-region--single-word): New function, extracted from
3014 minibuffer-complete-word.
3015 (minibuffer-complete-word): Use it.
3016 (display-completion-list): Make `common-substring' argument obsolete.
3017 (completion--in-region): Call completion--in-region-1 instead of
3018 minibuffer-complete.
3019 (completion-help-at-point): Pass boundaries to
3020 minibuffer-completion-help as args rather than via an overlay.
3021 (completion-pcm--string->pattern): Use `any-delim'.
3022 (completion-pcm--optimize-pattern): New function.
3023 (completion-pcm--pattern->regex): Handle `any-delim'.
3024 * icomplete.el (icomplete-forward-completions)
3025 (icomplete-backward-completions, icomplete-completions):
3026 Adjust calls to completion-all-sorted-completions and
3027 completion--cache-all-sorted-completions.
3028 (icomplete-with-completion-tables): Default to t.
3029 * emacs-lisp/crm.el (crm--current-element): Rename from
3030 crm--select-current-element. Don't put an overlay but return the
3032 (crm--completion-command): Take two new args to bind to the boundaries.
3033 (crm-completion-help): Adjust accordingly.
3034 (crm-complete): Use completion-in-region.
3035 (crm-complete-word): Use completion-in-region--single-word.
3036 (crm-complete-and-exit): Use completion-complete-and-exit.
3038 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3040 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3043 2013-09-06 Juri Linkov <juri@jurta.org>
3045 * info.el (Info-display-images-node): When image file doesn't exist
3046 display text version of the image if it's provided in the Info file.
3047 Otherwise, display the location of missing image from SRC attribute.
3048 Add help-echo text property from ALT attribute. (Bug#15279)
3050 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3052 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3053 (edit-abbrevs-mode): Use define-derived-mode.
3055 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3056 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3058 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3059 Use define-derived-mode.
3061 * epg.el (epg-start-encrypt): Minor CSE simplification.
3063 2013-09-06 William Xu <william.xwl@gmail.com>
3065 * arc-mode.el: Add support for 7za (bug#15264).
3066 (archive-7z-program): New var.
3067 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3068 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3069 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3071 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3075 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3076 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3077 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3078 (tramp-postfix-host-format, tramp-file-name-regexp)
3079 (tramp-completion-file-name-regexp)
3080 (tramp-completion-dissect-file-name)
3081 (tramp-handle-substitute-in-file-name): Remove 'url case.
3082 (tramp-file-name-regexp-url)
3083 (tramp-completion-file-name-regexp-url): Remove constants.
3085 2013-09-06 Glenn Morris <rgm@gnu.org>
3087 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3089 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3091 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3092 keywords" below "here-doc beginnings" (Bug#15270).
3094 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3096 * subr.el (pop): Use `car-safe'.
3097 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3098 to detect unused `pop' return value.
3100 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3102 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3103 (python-fill-string): Remove unused var `marker'.
3104 (python-skeleton-add-menu-items): Remove unused var `items'.
3106 * international/mule-cmds.el: Require CL.
3107 (find-coding-systems-for-charsets): Avoid add-to-list.
3108 (sanitize-coding-system-list): New function, extracted from
3109 select-safe-coding-system-interactively.
3110 (select-safe-coding-system-interactively): Use it.
3111 (read-input-method-name): Accept symbols for `default'.
3113 * emacs-lisp/advice.el (defadvice): Add indent rule.
3115 2013-09-05 Daniel Hackney <dan@haxney.org>
3119 * net/browse-url.el:
3122 * net/eudcb-ldap.el:
3135 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3136 byte compiler. Remove some unused let-bound variables.
3138 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3140 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3141 a "ref-cell", since it gets better optimized (bug#14883).
3143 2013-09-05 Glenn Morris <rgm@gnu.org>
3145 * progmodes/cc-awk.el (c-forward-sws): Declare.
3147 2013-09-04 Glenn Morris <rgm@gnu.org>
3149 * generic-x.el [rul-generic-mode]: Require cc-mode.
3150 (c++-mode-syntax-table): Declare.
3151 (rul-generic-mode-syntax-table): Init in the defvar.
3153 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3155 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3156 (vc-do-command, vc-set-async-update):
3157 * vc/vc-mtn.el (vc-mtn-dir-status):
3158 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3159 (vc-hg-pull, vc-hg-merge-branch):
3160 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3161 (vc-git-merge-branch):
3162 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3163 (vc-cvs-dir-status-files):
3164 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3165 (vc-bzr-dir-status-files):
3166 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3167 * vc/vc-annotate.el: Use lexical-binding.
3168 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3169 (vc-sentinel-movepoint): Declare.
3170 (vc-annotate): Don't use `goto-line'.
3171 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3172 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3173 (vc-sentinel-movepoint): Declare.
3174 * vc/vc-svn.el: Use lexical-binding.
3175 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3177 * vc/vc-rcs.el: Use lexical-binding.
3179 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3180 `deleted'. Don't drop errors silently.
3182 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3184 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3186 * vc/vc.el (vc-ignore): Rewrite.
3187 (vc-default-ignore): New function.
3188 (vc-default-ignore-completion-table): Use find-ignore-file.
3190 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3191 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3192 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3193 Remove. Most code moved to vc.el.
3195 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3197 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3198 * net/tramp-smb.el (tramp-smb-get-file-entries):
3199 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3200 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3202 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3204 (eww-change-select): Remove unused var `properties'.
3205 (eww-make-unique-file-name): Remove unused var `base'.
3207 * finder.el (finder-compile-keywords): Don't mess with windows.
3209 * calculator.el (calculator-funcall): Fix typo in last change.
3211 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3213 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3214 <pkg>-autoloads.el file stop us.
3216 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3217 warnings, and factor out common code.
3219 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3221 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3222 two-character operators and whether the character preceding them
3223 changes their meaning (Bug#15208).
3225 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3227 Format code sent to Python shell for robustness.
3228 * progmodes/python.el (python-shell-buffer-substring):
3230 (python-shell-send-region, python-shell-send-buffer): Use it.
3232 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3234 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3235 * net/tramp.el (tramp-user-error): ... here.
3236 (tramp-find-method, tramp-check-proper-host)
3237 (tramp-dissect-file-name, tramp-debug-message)
3238 (tramp-handle-shell-command):
3239 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3240 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3242 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3244 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3246 * avoid.el (mouse-avoidance-point-position)
3247 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3250 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3252 * progmodes/python.el (python-shell-completion-get-completions):
3253 Drop use of deleted `comint-last-prompt-overlay'.
3254 (python-nav-if-name-main): New command.
3256 2013-09-01 Glenn Morris <rgm@gnu.org>
3258 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3259 Avoid leading space in $wins. Otherwise the sed command used by
3260 eg compile-main ends up containing "/*.el". (Bug#15170)
3262 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3264 2013-08-30 Glenn Morris <rgm@gnu.org>
3266 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3267 Fix is-this-a-directory logic. (Bug#15220)
3269 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3271 * textmodes/css-mode.el: Use SMIE.
3272 (css-smie-grammar): New var.
3273 (css-smie--forward-token, css-smie--backward-token)
3274 (css-smie-rules): New functions.
3275 (css-mode): Use them.
3276 (css-navigation-syntax-table): Remove var.
3277 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3278 (css-indent-calculate, css-indent-line): Remove functions.
3280 Misc changes to reduce use of `(lambda...); and other cleanups.
3281 * cus-edit.el: Use lexical-binding.
3282 (customize-push-and-save, customize-apropos)
3283 (custom-buffer-create-internal): Use closures.
3284 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3285 * progmodes/ada-xref.el: Use setq.
3286 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3287 * dframe.el: Use lexical-binding.
3288 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3289 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3290 * descr-text.el: Use lexical-binding.
3291 (describe-text-widget, describe-text-sexp, describe-property-list):
3293 * comint.el (comint-history-isearch-push-state): Use a closure.
3294 * calculator.el: Use lexical-binding.
3295 (calculator-number-to-string): Make it work with lexical-binding.
3296 (calculator-funcall): Same and use cl-letf.
3298 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3299 (lisp--company-doc-string, lisp--company-location): New functions.
3300 (lisp-completion-at-point): Use them to improve Company support.
3302 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3303 params of lambda expressions.
3304 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3305 (ruby-smie--opening-pipe-p): New function.
3306 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3307 symbols and matched |...| for formal params.
3308 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3309 from being treated as hanging. Handle "rescue".
3311 2013-08-29 Glenn Morris <rgm@gnu.org>
3313 * progmodes/cc-engine.el (c-pull-open-brace):
3314 Move definition before use.
3316 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3318 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3319 are immutable. Don't use `unsafe' any more.
3320 (cl--defsubst-expand): Don't substitute at the same time as keeping
3321 a residual unused let-binding. Don't use `unsafe' any more.
3323 2013-08-29 Glenn Morris <rgm@gnu.org>
3325 * calendar/cal-china.el (calendar-chinese-year-cache):
3328 * nxml/nxml-util.el (nxml-debug-clear-inside):
3329 Use cl-loop rather than loop.
3331 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3333 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3335 2013-08-28 Glenn Morris <rgm@gnu.org>
3337 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3339 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3341 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3343 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3345 * simple.el (repeat-complex-command--called-interactively-skip):
3347 (repeat-complex-command): Use it (bug#14136).
3349 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3350 (c-define-abbrev-table): Add `doc' argument.
3351 (c-mode-abbrev-table, c++-mode-abbrev-table)
3352 (objc-mode-abbrev-table, java-mode-abbrev-table)
3353 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3354 (awk-mode-abbrev-table): Use it.
3355 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3356 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3357 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3358 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3359 Move initialization into the declaration; and remove any
3362 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3363 and dynamic let binding.
3365 * vc/smerge-mode.el: Remove redundant :group args.
3367 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3370 2013-08-28 Juri Linkov <juri@jurta.org>
3372 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3373 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3374 (isearch-other-meta-char): Handle an undefined shifted printing
3375 character by downshifting it. (Bug#15200)
3377 2013-08-28 Juri Linkov <juri@jurta.org>
3379 * isearch.el (isearch-search): Change regexp error message for
3380 non-regexp searches. (Bug#15166)
3382 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3384 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3385 for portability to hosts where /bin/sh has problems.
3387 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3389 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3391 2013-08-27 Juri Linkov <juri@jurta.org>
3393 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3394 in the keyboard macro. (Bug#15126)
3396 2013-08-27 Juri Linkov <juri@jurta.org>
3398 * isearch.el (isearch-quote-char): Comment out converting unibyte
3399 to multibyte, thus syncing with its `quoted-insert' counterpart.
3402 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3404 * window.el (display-buffer-use-some-window): Add missing
3405 argument in call of get-largest-window (Bug#15185).
3406 Reported by Stephen Leake.
3408 2013-08-27 Glenn Morris <rgm@gnu.org>
3410 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3412 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3414 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3415 from a matcher-function unless there's no more matches (bug#15161).
3417 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3419 * minibuffer.el: Revert change from 2013-08-20.
3421 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3422 with text property `tramp-default', if appropriate.
3423 (tramp-check-proper-host): New defun.
3424 (tramp-dissect-file-name): Do not check hostname. Revert change
3426 (tramp-backtrace): Make VEC-OR-PROC optional.
3428 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3429 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3430 * net/tramp-sh.el (tramp-maybe-open-connection):
3431 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3432 Apply `tramp-check-proper-host'.
3434 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3436 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3437 lambda expression in order to have `describe-variable' display it.
3439 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3441 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3442 BUF can be optional. (Bug#15186)
3444 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3446 * progmodes/flymake.el (flymake-get-real-file-name-function):
3447 Fix broken customization. (Bug#15184)
3449 2013-08-25 Alan Mackenzie <acm@muc.de>
3451 Improve indentation of bracelists defined by macros (without "=").
3453 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3454 expansion begins with "{", regard it as bracelist when it doesn't
3457 Parse C++ inher-intro when there's a template split over 2 lines.
3459 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3460 rigorously the search for "class" etc. followed by ":".
3462 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3463 random languages a regexp which never matches rather than nil.
3465 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3467 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3468 (c-awk-regexp-one-line-possibly-open-char-list-re)
3469 (c-awk-one-line-possibly-open-regexp-re)
3470 (c-awk-one-line-non-syn-ws*-re): Remove.
3471 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3472 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3473 (c-awk-space*-unclosed-regexp-/-re): New constants.
3474 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3475 aren't regexp delimiters.
3477 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3478 handling for a rare situation in AWK Mode involving unterminated
3481 2013-08-23 Glenn Morris <rgm@gnu.org>
3483 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3485 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3487 * files.el (create-file-buffer): If the result would begin with
3488 spaces, prepend a "|" instead of removing them. (Bug#15162)
3490 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3492 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3493 text-properties (bug#15155).
3495 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3497 (calc-keypad-redraw): Remove unused var `pad'.
3498 (calc-keypad-press): Remove unused var `menu'.
3500 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3502 * window.el (display-buffer-pop-up-frame):
3503 Call pop-up-frame-function with BUFFER current so `make-frame' will
3504 use it as the new frame's buffer (Bug#15133).
3506 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3508 * calendar/timeclock.el: Minor cleanups.
3509 (timeclock-ask-before-exiting, timeclock-use-display-time):
3511 (timeclock-modeline-display): Define as alias before the
3513 (timeclock-mode-line-display): Use define-minor-mode.
3514 (timeclock-day-list-template): Make it a function, add an argument.
3515 (timeclock-day-list-required, timeclock-day-list-length)
3516 (timeclock-day-list-debt, timeclock-day-list-span)
3517 (timeclock-day-list-break): Adjust calls accordingly.
3519 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3521 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3522 Use read--expression so that completion works again.
3524 2013-08-21 Sam Steingold <sds@gnu.org>
3526 Add rudimentary inferior shell interaction
3527 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3528 (sh-set-shell): Reset it.
3529 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3530 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3532 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3534 * align.el: Use lexical-binding.
3535 (align-region): Simplify accordingly.
3537 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3539 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3541 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3544 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3548 * net/tramp-cmds.el:
3550 * net/tramp-gvfs.el:
3552 * net/tramp-sh.el: Don't wrap external variable declarations by
3553 `eval-when-compile'.
3555 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3557 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3558 now that Emacs supports ImageMagick animations.
3560 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3562 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3563 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3565 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3567 * window.el (mouse-autoselect-window-select): Do autoselect when
3568 mouse pointer is on margin.
3570 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3572 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3574 2013-08-16 Glenn Morris <rgm@gnu.org>
3576 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3577 Handle "Remote Directory" response of some clients. (Bug#15058)
3579 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3580 Tweak warning. (Bug#14926)
3582 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3583 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3585 * image-mode.el (image-mode-map): Add menu items to reverse,
3586 increase, decrease, reset animation speed.
3587 (image--set-speed, image-increase-speed, image-decrease-speed)
3588 (image-reverse-speed, image-reset-speed): New functions.
3589 (image-mode-map): Add bindings for speed commands.
3591 * image.el (image-animate-get-speed, image-animate-set-speed):
3593 (image-animate-timeout): Respect image :speed property.
3595 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3597 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3598 previous line (bug#15101).
3599 (debugger-eval-expression, debugger-record-expression):
3600 Use read--expression (bug#15102).
3602 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3604 Remove byte compiler warnings, visible when compiling with
3605 `byte-compile-force-lexical-warnings' set to t.
3607 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3608 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3609 (tramp-handle-unhandled-file-name-directory)
3610 (tramp-handle-file-notify-add-watch, tramp-action-login)
3611 (tramp-action-succeed, tramp-action-permission-denied)
3612 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3615 * net/tramp-adb.el (tramp-adb-parse-device-names)
3616 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3617 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3618 (tramp-adb-handle-file-truename): Remove unused arguments.
3620 * net/tramp-cache.el (tramp-flush-directory-property)
3621 (tramp-flush-connection-property, tramp-list-connections)
3622 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3624 * net/tramp-compat.el (tramp-compat-make-temp-file):
3625 Rename FILENAME to F.
3627 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3628 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3629 (tramp-zeroconf-parse-workstation-device-names)
3630 (tramp-zeroconf-parse-webdav-device-names)
3631 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3633 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3634 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3636 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3638 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3639 (tramp-sh-handle-insert-file-contents-literally)
3640 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3642 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3643 Remove unused variables.
3645 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3646 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3647 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3649 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3650 Make them a defconst.
3651 (tramp-uuencode-region): Remove unused variable.
3653 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3655 * frameset.el (frameset--prop-setter): New function.
3656 (frameset-prop): Add gv-setter declaration.
3657 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3658 parameter was already set in FILTERED. Doc fix.
3659 (frameset--record-minibuffer-relationships): Allow saving a
3660 minibufferless frame without its corresponding minibuffer frame.
3661 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3662 frame, if the frame id matches.
3663 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3664 frames before orphaned ones.
3665 (frameset-restore): Warn about orphaned windows, instead of error out.
3667 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3669 * window.el (window-make-atom): Don't overwrite parameter
3671 (display-buffer-in-atom-window): Handle special case where we
3672 split an already atomic window.
3673 (window--major-non-side-window, display-buffer-in-side-window)
3674 (window--side-check): Ignore minibuffer window when walking
3676 (window-deletable-p): Return 'frame only if no other frame uses
3677 our minibuffer window.
3678 (record-window-buffer): Run buffer-list-update-hook.
3679 (split-window): Make sure window--check-frame won't destroy an
3680 existing atomic window in case the new window gets nested
3682 (display-buffer-at-bottom): Ignore minibuffer window when
3683 walking window tree. Don't split a side window.
3684 (pop-to-buffer): Don't set-buffer here, the select-window call
3686 (mouse-autoselect-window-select): Autoselect only if we are in the
3687 text portion of the window.
3689 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3691 * net/shr.el (shr-parse-image-data): New function to grab both the
3692 data itself and the Content-Type.
3693 (shr-put-image): Use it.
3695 * net/eww.el (eww-display-image): Ditto.
3697 * image.el (image-content-type-suffixes): New variable.
3699 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3701 * progmodes/python.el (python-imenu--build-tree)
3702 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3704 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3706 * simple.el (backward-word): Mention the optional argument.
3708 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3710 * frameset.el (frameset--make): Rename constructor from make-frameset.
3711 (frameset-p, frameset-valid-p): Don't autoload.
3712 (frameset-valid-p): Use normal accessors.
3714 2013-08-13 Glenn Morris <rgm@gnu.org>
3716 * progmodes/compile.el (compile-command): Tweak example in doc.
3717 * obsolete/scribe.el (scribe-mode):
3718 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3720 * mail/feedmail.el (feedmail-confirm-outgoing)
3721 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3723 * cus-start.el (truncate-partial-width-windows): Fix type.
3725 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3727 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3729 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3731 * emacs-lisp/timer.el (timer--time-setter): New function.
3732 (timer--time): Use it as gv-setter.
3734 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3735 setter is not a symbol.
3737 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3739 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3740 if sending fails. This makes debugging easier.
3742 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3744 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3745 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3746 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3748 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3750 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3752 2013-08-12 Glenn Morris <rgm@gnu.org>
3754 * format.el (format-annotate-function):
3755 Handle read-only text properties in the source. (Bug#14887)
3757 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3759 * net/eww.el (eww-display-html): Ignore coding system errors.
3760 One web site uses "utf-8lias" as the coding system.
3762 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3764 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3766 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3768 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3769 (tutorial--detailed-help): Remove unused local variables.
3770 (tutorial--save-tutorial-to): Use ignore-errors.
3771 (help-with-tutorial): Use looking-at-p.
3773 * view.el (view-buffer-other-window, view-buffer-other-frame):
3774 Mark unused arguments.
3776 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3777 (woman-select-symbol-fonts, woman, woman-find-file)
3778 (woman-insert-file-contents, woman-non-underline-faces):
3780 (woman1-unquote): Move declaration.
3782 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3783 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3784 argument. Remove unused local variable.
3785 (xml-parse-elem-type): Use string-match-p.
3786 (xml-substitute-numeric-entities): Use ignore-errors.
3788 * calculator.el (calculator): Mark unused argument.
3789 (calculator-paste, calculator-quit, calculator-integer-p):
3791 (calculator-string-to-number, calculator-decimal, calculator-exp)
3792 (calculator-op-or-exp): Use string-match-p.
3794 * dired.el (dired-buffer-more-recently-used-p): Declare.
3795 (dired-insert-set-properties, dired-insert-old-subdirs):
3798 * dired-aux.el (dired-compress): Use ignore-errors.
3799 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3800 (dired-do-async-shell-command, dired-do-shell-command)
3801 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3802 (dired-insert-subdir-validate): Use string-match-p.
3803 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3804 (dired-add-entry): Use string-match-p, looking-at-p.
3805 (dired-insert-subdir-newpos): Remove unused local variable.
3807 * filenotify.el (file-notify-callback): Remove unused local variable.
3809 * filesets.el (filesets-error): Mark unused argument.
3810 (filesets-which-command-p, filesets-filter-dir-names)
3811 (filesets-directory-files, filesets-get-external-viewer)
3812 (filesets-ingroup-get-data): Use string-match-p.
3814 * find-file.el (ff-other-file-name, ff-other-file-name)
3815 (ff-find-the-other-file, ff-cc-hh-converter):
3816 Remove unused local variables.
3817 (ff-get-file-name): Use string-match-p.
3818 (ff-all-dirs-under): Use ignore-errors.
3820 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3821 (follow-select-if-visible): Remove unused local variable.
3823 * forms.el (read-file-filter): Move declaration.
3824 (forms--make-format, forms--make-parser, forms-insert-record):
3825 Quote function with #'.
3826 (forms--update): Use string-match-p. Quote function with #'.
3828 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3829 (help-make-xrefs): Use looking-at-p.
3830 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3832 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3833 (ibuffer-confirm-operation-on): Use string-match-p.
3835 * msb.el (msb-item-handler, msb-dired-item-handler):
3836 Mark unused arguments.
3838 * ses.el (ses-decode-cell-symbol)
3839 (ses-kill-override): Remove unused local variable.
3840 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3841 (ses-load): Use ignore-errors, looking-at-p.
3842 (ses-jump-safe): Use ignore-errors.
3843 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3845 * tabify.el (untabify, tabify): Mark unused arguments.
3847 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3848 Mark unused argument.
3849 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3850 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3852 * emacs-lisp/timer.el (timer--time): Define setter with
3853 gv-define-setter to avoid deprecation warning.
3855 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3856 (*record-cmpl-statistics-p*): Remove (was commented out).
3857 (cmpl-statistics-block): Remove (body was commented out).
3858 All callers changed.
3859 (add-completions-from-buffer, load-completions-from-file):
3860 Remove unused variables.
3862 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3864 * filecache.el (file-cache-delete-file-list):
3865 Print message only when told so.
3866 (file-cache-files-matching): Use #' in mapconcat argument.
3868 * ffap.el (ffap-url-at-point): Fix reference to variable
3869 thing-at-point-default-mail-uri-scheme.
3871 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3873 * subr.el (define-error): New function.
3874 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3875 error-file-not-found and define with define-error.
3876 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3877 and define with define-error.
3878 * userlock.el (file-locked, file-supersession):
3879 * simple.el (mark-inactive):
3880 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3881 * progmodes/ada-mode.el (ada-mode-errors):
3882 * play/life.el (life-extinct):
3883 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3884 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3885 * nxml/rng-util.el (rng-error):
3886 * nxml/rng-uri.el (rng-uri-error):
3887 * nxml/rng-match.el (rng-compile-error):
3888 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3889 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3890 * nxml/nxml-rap.el (nxml-scan-error):
3891 * nxml/nxml-outln.el (nxml-outline-error):
3892 * net/soap-client.el (soap-error):
3893 * net/gnutls.el (gnutls-error):
3894 * net/ange-ftp.el (ftp-error):
3895 * mpc.el (mpc-proc-error):
3896 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3897 (json-number-format, json-string-escape, json-string-format)
3898 (json-key-format, json-object-format):
3899 * jka-compr.el (compression-error):
3900 * international/quail.el (quail-error):
3901 * international/kkc.el (kkc-error):
3902 * emacs-lisp/ert.el (ert-test-failed):
3903 * calc/calc.el (calc-error, inexact-result, math-overflow)
3905 * bookmark.el (bookmark-error-no-filename):
3906 * epg.el (epg-error): Define with define-error.
3908 * time.el (display-time-event-handler)
3909 (display-time-next-load-average): Don't call sit-for since it seems
3910 unnecessary (bug#15045).
3912 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3913 Use #' instead of ' to quote functions.
3914 (checkdoc-output-mode): Use setq-local.
3915 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3916 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3917 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3918 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3919 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3920 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3921 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3922 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3924 * ido.el (ido-completion-help): Fix up compiler warning.
3926 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3928 * frameset.el (frameset-p): Add autoload cookie.
3929 (frameset--jump-to-register): New function, based on code moved from
3931 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3933 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3934 (frameset-restore, frameset-save, frameset-session-filter-alist):
3935 Remove declarations.
3936 (register-alist): Doc fix.
3937 (frameset-to-register): Move to frameset.el.
3938 (jump-to-register, describe-register-1): Remove frameset-specific code.
3940 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3942 * allout-widgets.el (allout-widgets-pre-command-business)
3943 (allout-widgets-post-command-business)
3944 (allout-widgets-after-change-handler)
3945 (allout-decorate-item-and-context, allout-set-boundary-marker)
3946 (allout-body-modification-handler)
3947 (allout-graphics-modification-handler): Mark ignored arguments.
3948 (allout-widgets-post-command-business)
3949 (allout-widgets-exposure-change-processor)
3950 (allout-widgets-exposure-undo-processor)
3951 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3952 (allout-parse-item-at-point, allout-decorate-item-guides)
3953 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3954 * allout.el (epa-passphrase-callback-function): Declare.
3955 (allout-overlay-insert-in-front-handler)
3956 (allout-overlay-interior-modification-handler)
3957 (allout-isearch-end-handler, allout-chart-siblings)
3958 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3959 (allout-yank-processing, allout-process-exposed)
3960 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3961 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3962 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3963 (lisp-indent-defform): Mark ignored arguments.
3964 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3965 (calculate-lisp-indent): Remove unused variables.
3966 * international/characters.el (indian-2-column, arabic-2-column)
3967 (tibetan): Mark ignored arguments.
3968 (use-cjk-char-width-table): Mark ignored arguments.
3969 Remove unused variables.
3970 * international/fontset.el (build-default-fontset-data)
3971 (x-compose-font-name, create-fontset-from-fontset-spec):
3972 Mark ignored arguments.
3973 (fontset-plain-name): Remove unused variables.
3974 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3975 (keyboard-coding-system): Mark ignored arguments.
3976 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3977 * help.el (resize-temp-buffer-window):
3978 * window.el (display-buffer-in-major-side-window)
3979 (display-buffer-in-side-window, display-buffer-in-previous-window):
3980 Remove unused variables.
3981 * isearch.el (isearch-forward-symbol):
3982 * version.el (emacs-bzr-version-bzr):
3983 * international/mule-cmds.el (current-language-environment):
3984 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3986 * term/pc-win.el (x-list-fonts, x-display-planes)
3987 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3988 (x-server-version, x-display-screens, x-display-mm-height)
3989 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3990 (x-selection-owner-p, x-own-selection-internal)
3991 (x-disown-selection-internal, x-get-selection-internal)
3992 (msdos-initialize-window-system):
3993 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3994 * term/x-win.el (x-handle-no-bitmap-icon):
3995 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3996 (vc-default-find-file-hook, vc-default-extra-menu):
3997 Mark ignored arguments.
3999 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4001 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4002 break-condition in the context of the debugged code (bug#12685).
4004 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4007 Do not use an overlay to highlight the last prompt. (Bug#14744)
4008 (comint-mode): Make comint-last-prompt buffer local.
4009 (comint-last-prompt): New variable.
4010 (comint-last-prompt-overlay): Remove. Superseded by
4012 (comint-snapshot-last-prompt, comint-output-filter):
4013 Use comint-last-prompt.
4015 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4017 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4018 (frameset-save): Check validity of the resulting frameset.
4020 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4022 * ido.el (ido-record-command): Add doc string.
4024 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4026 * frameset.el (frameset): Do not disable creation of the default
4027 frameset-p predicate. Doc fix.
4028 (frameset-valid-p): New function, copied from the old predicate-p.
4029 Add additional checks.
4030 (frameset-restore): Check with frameset-valid-p.
4031 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4032 (frameset-name, frameset-description, frameset-properties)
4033 (frameset-states): Add docstring.
4034 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4035 (frameset-filter-alist): Doc fixes.
4037 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4039 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4041 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4043 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4044 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4045 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4046 (byte-compile-normal-call): Remove obsolescence check.
4048 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4050 * frameset.el (frameset-restore): Doc fix.
4052 * register.el (frameset-frame-id, frameset-frame-with-id)
4053 (frameset-p, frameset-restore, frameset-save): Declare.
4054 (register-alist): Document framesets.
4055 (frameset-session-filter-alist): Declare.
4056 (frameset-to-register): New function.
4057 (jump-to-register): Implement jumping to framesets. Doc fix.
4058 (describe-register-1): Describe framesets.
4060 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4062 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4064 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4065 Use lexical-binding.
4067 * frameset.el (frameset): Use type vector, not list (incompatible
4068 change). Do not declare a new constructor, use the default one.
4069 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4070 `name' and `description', respectively, and add read-only slot
4071 `timestamp'. Doc fixes.
4072 (frameset-copy, frameset-persistent-filter-alist)
4073 (frameset-filter-alist, frameset-switch-to-gui-p)
4074 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4075 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4076 (frameset-filter-iconified, frameset-keep-original-display-p):
4078 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4079 Rename from frameset-filter-(save|restore)-param. All callers changed.
4081 (frameset-p): Adapt to change to vector and be more thorough.
4082 Change arg name to OBJECT. Doc fix.
4083 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4084 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4085 All callers changed.
4086 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4087 All callers changed.
4088 (frameset--record-minibuffer-relationships): Rename from
4089 frameset--process-minibuffer-frames. All callers changed.
4090 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4091 Use new default constructor (again). Doc fix.
4092 (frameset--find-frame-if): Rename from `frameset--find-frame.
4093 All callers changed.
4094 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4095 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4097 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4098 PARAMETERS and WINDOW-STATE, respectively.
4099 (frameset-restore): Add new keyword argument PREDICATE.
4100 Reset frameset--target-display to nil. Doc fix.
4102 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4104 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4106 (bat-mode-syntax-table): Mark \n as end-of-comment.
4107 (bat-font-lock-keywords): Remove comment rule.
4109 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4110 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4112 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4113 (byte-compile-callargs-warn): Use `push'.
4114 (byte-compile-arglist-warn): Ignore higher-order "calls".
4115 (byte-compile-file-form-autoload): Use `pcase'.
4116 (byte-compile-function-form): If quoting a symbol, check that it exists.
4118 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4120 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4121 and add a few popular commands found in batch files.
4122 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4123 (dos-mode): Doc fixes.
4125 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4127 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4128 (dos-mode): Use setq-local. Add space after "rem".
4129 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4130 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4132 2013-08-07 Arni Magnusson <arnima@hafro.is>
4134 * progmodes/dos.el: New file.
4135 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4138 2013-08-06 Glenn Morris <rgm@gnu.org>
4140 * calendar/calendar.el: Add new faces, and day-header-array.
4141 (calendar-weekday-header, calendar-weekend-header)
4142 (calendar-month-header): New faces.
4143 (calendar-day-header-construct): New function.
4144 (calendar-day-header-width): Also :set calendar-day-header-array.
4145 (calendar-american-month-header, calendar-european-month-header)
4146 (calendar-iso-month-header): Use calendar- faces.
4147 (calendar-generate-month):
4148 Use calendar-day-header-array for day headers; apply faces to them.
4149 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4150 (calendar-abbrev-construct): Add optional maxlen argument.
4151 (calendar-day-name-array): Doc fix.
4152 (calendar-day-name-array, calendar-abbrev-length)
4153 (calendar-day-abbrev-array):
4154 Also :set calendar-day-header-array, and maybe redraw.
4155 (calendar-day-header-array): New option. (Bug#15007)
4156 (calendar-font-lock-keywords): Set to nil and make obsolete.
4157 (calendar-day-name): Add option to use header array.
4159 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4161 * net/shr.el (shr-render-td): Remove debugging.
4162 (shr-render-td): Make width computation consistent by defaulting
4163 all zero-width columns to 10 characters. This may not be optimal,
4164 but it's at least consistent.
4165 (shr-make-table-1): Redo last change to fix the real problem in
4168 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4170 * files.el (cache-long-line-scans):
4171 Make obsolete alias to `cache-long-scans'.
4173 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4175 * frameset.el (frameset, frameset-filter-alist)
4176 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4177 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4178 (frameset-compute-pos): Rename from frameset--compute-pos,
4180 (frameset-move-onscreen): Use frameset-compute-pos.
4181 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4183 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4184 Fix typos in docstrings.
4186 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4188 * frame.el (get-other-frame): Tiny cleanup.
4190 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4192 * vc/vc.el (vc-default-ignore-completion-table):
4193 Silence byte-compiler warning.
4195 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4196 slot , which can indeed be nil.
4197 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4198 Move entry for `left' from persistent to live filter alist.
4199 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4201 (frameset-filter-params): When restoring a frame, copy items added to
4202 `filtered', to avoid unwittingly modifying the original parameters.
4203 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4204 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4206 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4207 to use looking-at-p instead of looking-at. (Bug#15028)
4209 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4211 Revert introduction of isearch-filter-predicates (bug#14714).
4212 Rely on add-function instead.
4213 * isearch.el (isearch-filter-predicates): Rename it back to
4214 isearch-filter-predicate.
4215 (isearch-message-prefix): Use advice-function-mapc and advice
4216 properties to get the isearch-message-prefix.
4217 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4218 instead of run-hook-with-args-until-failure.
4219 (isearch-filter-visible): Not obsolete any more.
4220 * loadup.el: Preload nadvice.
4221 * replace.el (perform-replace): Revert to funcall
4222 instead of run-hook-with-args-until-failure.
4223 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4224 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4225 dired-isearch-filenames-toggle; make it into a proper minor mode.
4226 Use add/remove-function.
4227 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4228 Call the minor-mode rather than add/remove-hook.
4229 (dired-isearch-filter-filenames):
4230 Remove isearch-message-prefix property.
4231 * info.el (Info--search-loop): New function, extracted from Info-search.
4232 Funcall isearch-filter-predicate instead of
4233 run-hook-with-args-until-failure isearch-filter-predicates.
4234 (Info-search): Use it.
4235 (Info-mode): Use isearch-filter-predicate instead of
4236 isearch-filter-predicates.
4238 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4240 Do not call to `selected-window' where it is assumed by default.
4241 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4242 `window-hscroll', `window-width', `window-height', `window-buffer',
4243 `window-frame', `window-start', `window-point', `next-window'
4244 and `window-display-table'.
4245 * abbrev.el (abbrev--default-expand):
4246 * bs.el (bs--show-with-configuration):
4247 * buff-menu.el (Buffer-menu-mouse-select):
4248 * calc/calc.el (calc):
4249 * calendar/calendar.el (calendar-generate-window):
4250 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4252 * comint.el (send-invisible, comint-dynamic-complete-filename)
4253 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4254 * completion.el (complete):
4255 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4256 * disp-table.el (describe-current-display-table):
4257 * doc-view.el (doc-view-insert-image):
4258 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4259 * ehelp.el (with-electric-help):
4260 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4261 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4262 * emacs-lisp/helper.el (Helper-help-scroller):
4263 * emulation/cua-base.el (cua--post-command-handler-1):
4264 * eshell/esh-mode.el (eshell-output-filter):
4265 * ffap.el (ffap-gnus-wrapper):
4266 * help-macro.el (make-help-screen):
4267 * hilit-chg.el (highlight-compare-buffers):
4268 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4269 * hl-line.el (global-hl-line-highlight):
4270 * icomplete.el (icomplete-simple-completing-p):
4271 * isearch.el (isearch-done):
4272 * jit-lock.el (jit-lock-stealth-fontify):
4273 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4274 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4275 * mpc.el (mpc-tagbrowser, mpc):
4276 * net/rcirc.el (rcirc-any-buffer):
4277 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4278 * play/landmark.el (landmark-max-width, landmark-max-height):
4279 * play/zone.el (zone):
4280 * progmodes/compile.el (compilation-goto-locus):
4281 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4282 * progmodes/etags.el (find-tag-other-window):
4283 * progmodes/fortran.el (fortran-column-ruler):
4284 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4285 * progmodes/verilog-mode.el (verilog-point-text):
4286 * reposition.el (reposition-window):
4287 * rot13.el (toggle-rot13-mode):
4288 * server.el (server-switch-buffer):
4289 * shell.el (shell-dynamic-complete-command)
4290 (shell-dynamic-complete-environment-variable):
4291 * simple.el (insert-buffer, set-selective-display)
4292 (delete-completion-window):
4293 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4294 (speedbar-recenter):
4295 * startup.el (fancy-splash-head):
4296 * textmodes/ispell.el (ispell-command-loop):
4297 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4298 * tutorial.el (help-with-tutorial):
4299 * vc/add-log.el (add-change-log-entry):
4300 * vc/compare-w.el (compare-windows):
4301 * vc/ediff-help.el (ediff-indent-help-message):
4302 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4303 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4304 (ediff-setup-control-frame):
4305 * vc/emerge.el (emerge-position-region):
4306 * vc/pcvs-util.el (cvs-bury-buffer):
4307 * window.el (walk-windows, mouse-autoselect-window-select):
4308 * winner.el (winner-set-conf, winner-undo): Related users changed.
4310 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4312 * frameset.el (frameset--set-id): Doc fix.
4313 (frameset-frame-id, frameset-frame-id-equal-p)
4314 (frameset-locate-frame-id): New functions.
4315 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4316 (frameset-restore): Use them.
4318 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4320 Do not call to `selected-frame' where it is assumed by default.
4321 Affected functions are `raise-frame', `redraw-frame',
4322 `frame-first-window', `frame-terminal' and `delete-frame'.
4323 * calendar/appt.el (appt-disp-window):
4324 * epg.el (epg-wait-for-completion):
4325 * follow.el (follow-delete-other-windows-and-split)
4326 (follow-avoid-tail-recenter):
4327 * international/mule.el (set-terminal-coding-system):
4328 * mail/rmail.el (rmail-mail-return):
4329 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4330 * progmodes/f90.el (f90-add-imenu-menu):
4331 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4332 * server.el (server-switch-buffer):
4333 * simple.el (delete-completion-window):
4335 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4336 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4337 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4338 * vc/ediff.el (ediff-documentation): Related users changed.
4339 * frame.el (selected-terminal): Remove the leftover.
4341 2013-08-05 Glenn Morris <rgm@gnu.org>
4343 * calendar/calendar.el (calendar-generate-month):
4344 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4345 (calendar-generate-month, calendar-font-lock-keywords):
4346 Fix for calendar-day-header-width > length of any day name.
4348 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4350 * desktop.el (desktop-clear): Use new name of sort predicate.
4352 * frameset.el (frameset): Add docstring. Move :version property to its
4354 (frameset-copy): Rename from copy-frameset.
4355 (frameset-p): Check more thoroughly.
4356 (frameset-prop): Do not check for :version, which is no longer a prop.
4357 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4358 Use new :never value instead of t.
4359 (frameset-filter-alist): Expand and clarify docstring.
4360 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4361 (frameset-filter-minibuffer, frameset-filter-save-param)
4362 (frameset-filter-restore-param, frameset-filter-iconified):
4363 Add pointer to docstring of frameset-filter-alist.
4364 (frameset-filter-params): Rename filter values to be more meaningful:
4365 :never instead of t, and reverse the meanings of :save and :restore.
4366 (frameset--process-minibuffer-frames): Clarify error message.
4367 (frameset-save): Avoid unnecessary and confusing call to framep.
4368 Use new BOA constructor for framesets.
4369 (frameset--reuse-list): Doc fix.
4370 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4371 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4372 (frameset-minibufferless-first-p): Doc fix.
4373 Rename from frameset-sort-frames-for-deletion.
4374 (frameset-restore): Doc fixes. Use new function names.
4375 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4377 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4379 * desktop.el (desktop-restore-forces-onscreen)
4380 (desktop-restore-reuses-frames): Document :keyword constant values.
4381 (desktop-filter-parameters-alist): Remove, now identical to
4382 frameset-filter-alist.
4383 (desktop--filter-tty*): Remove, moved to frameset.el.
4384 (desktop-save-frameset, desktop-restore-frameset):
4385 Do not pass :filters argument.
4387 * frameset.el (frameset-live-filter-alist)
4388 (frameset-persistent-filter-alist): New variables.
4389 (frameset-filter-alist): Use them. Add autoload cookie.
4390 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4391 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4392 `frameset--id' (it's supposed to be internal to frameset.el).
4393 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4394 (frameset--initial-params): New function.
4395 (frameset--get-frame): Use it. Doc fix.
4396 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4397 Accept :all, not 'all.
4398 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4399 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4400 with fbound symbols. Fix frame id matching, and remove matching ids if
4401 the frame being restored is deleted. Obey :delete.
4403 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4405 * subr.el (macrop): New function.
4406 (text-clone--maintaining): New var.
4407 (text-clone--maintain): Rename from text-clone-maintain. Use it
4408 instead of inhibit-modification-hooks.
4410 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4411 a proxy, so as handle autoloads and redefinitions of the target.
4412 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4414 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4415 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4416 (pcase--mutually-exclusive-p): New function.
4417 (pcase--split-consp): Use it.
4418 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4419 mutually exclusive with the current predicate.
4421 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4422 (edebug-macrop): Remove. Use `macrop' instead.
4423 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4425 * eshell/esh-cmd.el (eshell-macrop):
4426 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4428 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4430 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4431 (advice-mapc): New function, using it.
4432 (advice-function-member-p): New function.
4433 (advice--normalize): Store the cdr in advice--saved-rewrite since
4434 that's the part that will be changed.
4435 (advice--symbol-function): New function.
4436 (advice-remove): Handle removal before the function is defined.
4437 Adjust to new advice--saved-rewrite.
4438 (advice-member-p): Use advice-function-member-p and
4439 advice--symbol-function.
4441 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4443 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4444 (frameset-filter-minibuffer): Doc fix.
4445 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4446 (frameset--set-id, frameset--process-minibuffer-frames)
4447 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4448 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4450 * desktop.el (desktop-clear): Only delete frames when called
4451 interactively and desktop-restore-frames is non-nil. Doc fix.
4452 (desktop-read): Set desktop-saved-frameset to nil.
4454 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4456 * vc/vc.el (vc-ignore): Rewrite.
4457 (vc-default-ignore-completion-table):
4459 (vc--add-line, vc--remove-regexp): New functions.
4461 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4462 (vc-svn-ignore-completion-table): New function.
4464 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4465 (vc-hg-ignore-completion-table):
4466 (vc-hg-find-ignore-file): New functions.
4468 * vc/vc-git.el (vc-git-ignore): Rewrite.
4469 (vc-git-ignore-completion-table):
4470 (vc-git-find-ignore-file): New functions.
4472 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4474 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4475 (vc-bzr-ignore-completion-table):
4476 (vc-bzr-find-ignore-file): New functions.
4478 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4480 * frameset.el (frameset-prop): New function and setter.
4481 (frameset-save): Do not modify frame list passed by the caller.
4483 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4485 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4487 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4489 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4490 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4492 * custom.el (custom-initialize-default, custom-initialize-set)
4493 (custom-initialize-reset, custom-initialize-changed): Affect the
4494 toplevel-default-value (bug#6275, bug#14586).
4495 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4498 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4500 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4501 Add cl-def* expressions.
4503 * frameset.el (frameset-filter-params): Fix order of arguments.
4505 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4507 Move code related to saving frames to frameset.el.
4508 * desktop.el: Require frameset.
4509 (desktop-restore-frames): Doc fix.
4510 (desktop-restore-reuses-frames): Rename from
4511 desktop-restoring-reuses-frames.
4512 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4513 (desktop-clear): Clear frames too.
4514 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4515 (desktop--filter-tty*, desktop-save, desktop-read):
4516 Use frameset functions.
4517 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4518 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4519 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4520 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4521 (desktop--process-minibuffer-frames, desktop-save-frames)
4522 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4523 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4524 (desktop--sort-states, desktop-restoring-frames-p)
4525 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4526 (desktop-restoring-frameset-p, desktop-restore-frameset)
4527 (desktop--check-dont-save, desktop-save-frameset): New functions.
4528 (desktop--app-id): New constant.
4529 (desktop-first-buffer, desktop-buffer-ok-count)
4530 (desktop-buffer-fail-count): Move before first use.
4531 * frameset.el: New file.
4533 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4535 * files.el: Use lexical-binding.
4536 (dir-locals-read-from-file): Remove unused `err' variable.
4537 (hack-dir-local-variables--warned-coding): New var.
4538 (hack-dir-local-variables): Use it to avoid repeated warnings.
4539 (make-backup-file-name--default-function): New function.
4540 (make-backup-file-name-function): Use it as default.
4541 (buffer-stale--default-function): New function.
4542 (buffer-stale-function): Use it as default.
4543 (revert-buffer-insert-file-contents--default-function): New function.
4544 (revert-buffer-insert-file-contents-function): Use it as default.
4545 (insert-directory): Avoid add-to-list.
4547 * autorevert.el (auto-revert-handler): Simplify.
4548 Use buffer-stale--default-function.
4550 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4552 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4554 * whitespace.el (whitespace-ensure-local-variables): New function.
4555 (whitespace-cleanup-region): Call it.
4556 (whitespace-turn-on): Call it.
4558 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4560 Complete file name handlers.
4562 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4563 (tramp-handle-verify-visited-file-modtime)
4564 (tramp-handle-file-notify-rm-watch): New functions.
4565 (tramp-call-process): Do not bind `default-directory'.
4567 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4568 Order alphabetically.
4569 [access-file, add-name-to-file, dired-call-process]:
4570 [dired-compress-file, file-acl, file-notify-rm-watch]:
4571 [file-ownership-preserved-p, file-selinux-context]:
4572 [make-directory-internal, make-symbolic-link, set-file-acl]:
4573 [set-file-selinux-context, set-visited-file-modtime]:
4574 [verify-visited-file-modtime]: Add handler.
4575 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4577 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4578 [file-notify-add-watch, file-notify-rm-watch]:
4579 [set-file-times, set-visited-file-modtime]:
4580 [verify-visited-file-modtime]: Add handler.
4581 (with-tramp-gvfs-error-message)
4582 (tramp-gvfs-handle-set-visited-file-modtime)
4583 (tramp-gvfs-fuse-file-name): Remove.
4584 (tramp-gvfs-handle-file-notify-add-watch)
4585 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4586 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4588 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4589 Order alphabetically.
4590 [file-notify-rm-watch ]: Use default Tramp handler.
4591 [executable-find]: Remove private handler.
4592 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4593 `default-directory'.
4594 (tramp-sh-handle-executable-find)
4595 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4596 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4597 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4598 Do not use `format' in `tramp-message'.
4600 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4601 [file-notify-rm-watch, set-visited-file-modtime]:
4602 [verify-visited-file-modtime]: Add handler.
4603 (tramp-smb-call-winexe): Do not bind `default-directory'.
4605 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4607 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4609 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4611 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4613 (log-view-diff-changeset): Same.
4614 (log-view-diff-common): Call backend command `previous-revision'
4615 to find out the previous revision, in both cases. Swap the
4616 variables `to' and `fr', so that `fr' usually refers to the
4617 earlier revision (Bug#14989).
4619 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4621 * ibuf-ext.el (ibuffer-filter-by-filename):
4622 Make it work with dired buffers too.
4624 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4626 * emacs-lisp/re-builder.el (reb-color-display-p):
4627 * files.el (save-buffers-kill-terminal):
4628 * net/browse-url.el (browse-url):
4629 * server.el (server-save-buffers-kill-terminal):
4630 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4631 Prefer nil to selected-frame for the first arg of frame-parameter.
4633 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4635 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4637 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4639 * minibuffer.el (completion--twq-all): Try and preserve each
4640 completion's case choice (bug#14907).
4642 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4644 * net/network-stream.el (open-network-stream): Mention the new
4645 :nogreeting parameter.
4646 (network-stream-open-starttls): Use the :nogreeting parameter
4649 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4651 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4652 more natural than popping.
4654 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4655 (shr-urlify): Highlight under mouse.
4657 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4659 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4661 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4663 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4666 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4667 point-min==1. Fix search string. Fix parentheses missing.
4669 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4670 assume point-min==1. Fix search string. Fix parentheses missing.
4672 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4674 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4677 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4679 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4680 initial frame is minibuffer-less. (Bug#14841)
4682 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4684 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4687 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4688 (tramp-maybe-open-connection): Use it.
4690 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4692 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4693 minimal set of parameters passed when creating a frame, because
4694 the minibuffer status of a frame cannot be changed later.
4696 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4698 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4699 replace-regexp-in-string and inadvertent omissions in previous change.
4700 (todo-filter-items): Ensure only file names are comma-separated in
4701 name of filtered items buffer.
4703 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4705 * desktop.el: Optionally force offscreen frames back onscreen.
4706 (desktop-restoring-reuses-frames): New option.
4707 (desktop--compute-pos, desktop--move-onscreen): New functions.
4708 (desktop--make-frame): Use desktop--move-onscreen.
4710 2013-07-27 Alan Mackenzie <acm@muc.de>
4712 Fontify a Java generic method as a function.
4713 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4716 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4718 * calendar/todo-mode.el: Add command to rename todo files.
4719 (todo-rename-file): New command.
4720 (todo-key-bindings-t): Add key binding for it. Change the
4721 bindings of todo-filter-regexp-items(-multifile) to use `x'
4722 instead of `r', since the latter is better suited to the new
4725 2013-07-27 Alan Mackenzie <acm@muc.de>
4727 Make Java try-with-resources statement parse properly.
4728 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4729 (c-block-stmt-1-2-key): New language constants/variables.
4730 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4731 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4732 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4733 with c-block-stmt-1-2-key.
4735 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4737 * desktop.el (desktop--make-frame): Apply most frame parameters after
4738 creating the frame to force (partially or totally) offscreen frames to
4739 be restored as such.
4741 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4743 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4746 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4748 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4749 `base' arg of backtrace-frame.
4751 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4753 * simple.el (list-processes): Doc fix.
4755 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4757 * desktop.el (desktop--select-frame):
4758 Try harder to reuse existing frames.
4760 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4762 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4763 (edebug-eval): Use backtrace-eval.
4764 (edebug--display, edebug--recursive-edit): Don't let-bind the
4765 edebug-outer-* vars that keep track of variables we locally let-bind.
4766 (edebug-outside-excursion): Don't restore outside values of locally
4768 (edebug--display): Use user-error.
4769 (cl-lexical-debug, cl-debug-env): Remove.
4771 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4773 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4774 are restored to be sure that they are visible before deleting any
4777 2013-07-26 Matthias Meulien <orontee@gmail.com>
4779 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4780 vc-print-root-log. (Bug#14948)
4782 2013-07-26 Richard Stallman <rms@gnu.org>
4784 Add aliases for encrypting mail.
4785 * epa.el (epa-mail-aliases): New option.
4786 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4787 Bind inhibit-read-only so read-only text doesn't ruin everything.
4788 (epa-mail-default-recipients): New subroutine broken out.
4789 Handle epa-mail-aliases.
4791 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4793 Add support for lexical variables to the debugger's `e' command.
4794 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4795 vars, except for debugger-outer-match-data.
4796 (debugger-frame-number): Move check for "on a function call" from
4797 callers into it. Add `skip-base' argument.
4798 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4799 (debugger-env-macro): Only reset the state stored in non-variables,
4800 i.e. current-buffer and match-data.
4801 (debugger-eval-expression): Rewrite using backtrace-eval.
4802 * subr.el (internal--called-interactively-p--get-frame): Remove.
4803 (called-interactively-p):
4804 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4805 `base' arg of backtrace-frame instead.
4807 2013-07-26 Glenn Morris <rgm@gnu.org>
4809 * align.el (align-regexp): Doc fix. (Bug#14857)
4810 (align-region): Explicit error if subexpression missing/does not match.
4812 * simple.el (global-visual-line-mode):
4813 Do not duplicate the mode lighter. (Bug#14858)
4815 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4817 * window.el (display-buffer): In display-buffer bind
4818 split-window-keep-point to t, bug#14829.
4820 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4822 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4823 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4824 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4825 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4827 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4828 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4830 2013-07-25 Glenn Morris <rgm@gnu.org>
4832 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4834 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4836 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4837 parameter to modify-frame-parameters if the value has not changed;
4838 this is a workaround for bug#14949.
4839 (desktop--make-frame): On cl-delete-if call, check parameter name,
4842 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4844 * vc/vc.el (vc-ignore): New function.
4846 * vc/vc-svn.el (vc-svn-ignore): New function.
4848 * vc/vc-hg.el (vc-hg-ignore): New function.
4850 * vc/vc-git.el (vc-git-ignore): New function.
4852 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4853 (vc-dir-ignore): New function.
4855 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4856 (cvs-append-to-ignore): Move here from pcvs.el.
4858 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4860 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4862 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4864 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4865 (desktop-restore-frames): Warn when deleting an existing frame failed.
4867 2013-07-24 Glenn Morris <rgm@gnu.org>
4869 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4871 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4873 * filenotify.el (file-notify-supported-p):
4874 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4877 * autorevert.el (auto-revert-use-notify):
4878 (auto-revert-notify-add-watch):
4879 * net/tramp.el (tramp-file-name-for-operation):
4880 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4881 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4882 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4883 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4884 Remove `file-notify-supported-p' entry.
4886 2013-07-24 Glenn Morris <rgm@gnu.org>
4888 * printing.el: Replace all uses of deleted ps-windows-system,
4889 ps-lp-system, ps-flatten-list with lpr- versions.
4891 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4893 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4894 checked with memq (bug#14935).
4896 * files.el (revert-buffer-function): Use a non-nil default.
4897 (revert-buffer-preserve-modes): Declare var to
4898 provide access to the `preserve-modes' argument.
4899 (revert-buffer): Let-bind it.
4900 (revert-buffer--default): New function, extracted from revert-buffer.
4902 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4904 * lpr.el: Signal print errors more prominently.
4905 (print-region-function): Don't default to nil.
4906 (lpr-print-region): New function, extracted from print-region-1.
4907 Check lpr's return value and signal an error in case of problem.
4908 (print-region-1): Use it.
4909 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4911 (ps-printer-name): Default to nil.
4912 (ps-printer-name-option): Default to lpr-printer-switch.
4913 (ps-print-region-function): Don't default to nil.
4914 (ps-postscript-code-directory): Simplify default.
4915 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4916 (ps-string-list, ps-eval-switch, ps-flatten-list)
4917 (ps-flatten-list-1): Remove.
4918 (ps-multibyte-buffer): Avoid setq.
4919 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4920 (print-region-function, ps-print-region-function): Don't set them here.
4922 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4924 * ido.el (ido-fractionp):
4925 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4926 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4927 (ido-max-directory-size, ido-max-dir-file-cache)
4928 (ido-decorations): Doc fix.
4930 * ansi-color.el: Fix old URL.
4932 2013-07-23 Michael R. Mauger <michael@mauger.com>
4934 * progmodes/sql.el: Version 3.3
4935 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4936 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4937 (sql-interactive-remove-continuation-prompt): Rewrite, use
4938 functions above. Fix continuation prompt and complete output line
4940 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4941 redirected output buffer.
4942 (sql-mode): Restore deleted code (Bug#13591).
4944 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4946 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4948 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4950 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4952 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4953 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4954 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4956 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4958 * desktop.el (desktop-clear): Simplify; remove useless checks
4959 against invalid buffer names.
4960 (desktop-list*): Use cl-list*.
4961 (desktop-buffer-info, desktop-create-buffer): Simplify.
4963 2013-07-23 Leo Liu <sdl.web@gmail.com>
4965 * bookmark.el (bookmark-make-record): Restore NAME as a default
4968 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4970 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4971 extracted from autoload--insert-text.
4972 (autoload--insert-text): Remove.
4973 (autoload--print-cookie-text): New function, extracted from
4974 autoload--insert-cookie-text.
4975 (autoload--insert-cookie-text): Remove.
4976 (autoload-generate-file-autoloads): Adjust calls accordingly.
4978 * winner.el (winner-hook-installed-p): Remove.
4979 (winner-mode): Simplify accordingly.
4981 * subr.el (add-to-list): Fix compiler-macro when `append' is
4982 not constant. Don't use `cl-member' for the base case.
4984 * progmodes/subword.el: Fix boundary case (bug#13758).
4985 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4987 (subword-backward-regexp): Make it a constant.
4988 (subword-forward-internal): Don't treat a trailing capital as the
4989 beginning of a word.
4991 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4993 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4994 global value of tabulated-list-revert-hook (bug#14930).
4996 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4998 * desktop.el: Require 'cl-lib.
4999 (desktop-before-saving-frames-functions): New hook.
5000 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5001 for frames being saved. Rename from desktop--save-minibuffer-frames.
5002 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5003 Do not save frames with non-nil `desktop-dont-save' parameter.
5004 Filter out deleted frames.
5005 (desktop--find-frame): Use cl-find-if.
5006 (desktop--select-frame): Use cl-(first|second|third) to access values
5008 (desktop--make-frame): Use cl-delete-if.
5009 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5010 (desktop-restore-frames): Use cl-(first|second|third) to access values
5011 of desktop-mini. Look for visible frame at the end, not while
5014 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5015 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5016 Use string-match-p, looking-at-p (bug#14927).
5018 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5020 * desktop.el (desktop-saved-frame-states):
5021 Rename from desktop--saved-states; all users changed.
5022 (desktop-save-frames): Rename from desktop--save-frames.
5023 Do not save state to desktop file.
5024 (desktop-save): Save desktop-saved-frame-states to desktop file
5026 (desktop-restoring-frames-p): New function.
5027 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5028 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5029 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5031 * desktop.el: Correctly restore iconified frames.
5032 (desktop--filter-iconified-position): New function.
5033 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5035 2013-07-20 Glenn Morris <rgm@gnu.org>
5037 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5038 Let `message' do the formatting.
5039 (def-gdb-preempt-display-buffer): Add explicit format.
5041 * image-dired.el (image-dired-track-original-file):
5042 Use with-current-buffer.
5043 (image-dired-track-thumbnail): Use with-current-buffer.
5044 Avoid changing point of wrong window.
5046 * image-dired.el (image-dired-track-original-file):
5047 Avoid changing point of wrong window. (Bug#14909)
5049 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5051 * progmodes/gdb-mi.el (gdb-done-or-error):
5052 Guard against "%" in gdb output. (Bug#14127)
5054 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5056 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5059 * international/mule.el (coding-system-iso-2022-flags): Fix last
5062 2013-07-20 Kenichi Handa <handa@gnu.org>
5064 * international/mule.el (coding-system-iso-2022-flags):
5065 Add `8-bit-level-4'. (Bug#8522)
5067 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5069 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5072 * net/eww.el (eww-process-text-input): Allow inputting when the
5073 point is at the start of the line, as the properties aren't
5076 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5079 2013-07-19 Richard Stallman <rms@gnu.org>
5081 * epa.el (epa-popup-info-window): Doc fix.
5083 * subr.el (split-string): New arg TRIM.
5085 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5087 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5088 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5090 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5092 * filenotify.el (file-notify--library): Rename from
5093 `file-notify-support'. Do not autoload. Adapt all uses.
5094 (file-notify-supported-p): New defun.
5096 * autorevert.el (auto-revert-use-notify):
5097 Use `file-notify-supported-p' instead of `file-notify-support'.
5099 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5101 * net/tramp.el (tramp-file-name-for-operation):
5102 Add `file-notify-supported-p'.
5104 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5106 (tramp-sh-file-name-handler-alist): Add it as handler for
5107 `file-notify-supported-p '.
5109 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5110 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5111 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5112 Add `ignore' as handler for `file-notify-*' functions.
5114 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5116 * simple.el (line-move-partial, line-move): Don't start vscroll or
5117 scroll-up if the current line is not taller than the window.
5120 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5122 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5123 highlight question marks in the method names as strings.
5124 (ruby-block-beg-keywords): Inline.
5125 (ruby-font-lock-keyword-beg-re): Extract from
5126 `ruby-font-lock-keywords'.
5128 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5130 * frame.el (blink-cursor-blinks): New defcustom.
5131 (blink-cursor-blinks-done): New defvar.
5132 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5133 (blink-cursor-timer-function): Check if number of blinks has been
5135 (blink-cursor-suspend, blink-cursor-check): New defuns.
5137 2013-07-15 Glenn Morris <rgm@gnu.org>
5139 * edmacro.el (edmacro-format-keys): Fix previous change.
5141 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5143 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5144 The hack didn't work outside English locales anyway.
5146 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5148 * simple.el (define-alternatives): Rename from alternatives-define,
5149 per RMS' suggestion.
5151 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5153 * desktop.el (desktop-restore-frames): Change default to t.
5154 (desktop-restore-in-current-display): Now offer more options.
5155 (desktop-restoring-reuses-frames): New customization option.
5156 (desktop--saved-states): Doc fix.
5157 (desktop-filter-parameters-alist): New variable, renamed and expanded
5158 from desktop--excluded-frame-parameters.
5159 (desktop--target-display): New variable.
5160 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5161 (desktop--filter-tty*, desktop--filter-*-color)
5162 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5163 (desktop--filter-save-desktop-parm)
5164 (desktop-restore-in-original-display-p): New functions.
5165 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5166 (desktop--save-minibuffer-frames): New function, inspired by a similar
5167 function from Martin Rudalics.
5168 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5169 (desktop--restore-in-this-display-p): Remove.
5170 (desktop--find-frame): Rename from desktop--find-frame-in-display
5171 and add predicate argument.
5172 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5173 (desktop--reuse-list): New variable.
5174 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5176 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5178 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5180 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5182 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5184 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5185 Highlight conversion methods on Kernel.
5187 2013-07-13 Alan Mackenzie <acm@muc.de>
5189 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5190 and comment it out. This out-commenting enables certain C++
5191 declarations to be parsed correctly.
5193 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5195 * international/mule.el (define-coding-system): Doc fix.
5197 * simple.el (default-font-height): Don't call font-info if the
5198 frame's default font didn't change since the frame was created.
5201 2013-07-13 Leo Liu <sdl.web@gmail.com>
5203 * ido.el (ido-read-file-name): Guard against non-symbol value.
5205 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5207 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5210 2013-07-13 Leo Liu <sdl.web@gmail.com>
5212 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5213 ido-set-matches call. (Bug#6852)
5215 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5217 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5218 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5220 (ruby-font-lock-keywords): Distinguish calls to functions with
5221 module-like names from module references. Highlight character
5224 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5226 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5227 (gdb-send): Handle continued commands. (Bug#14847)
5229 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5231 * desktop.el (desktop--v2s): Remove unused local variable.
5232 (desktop-save-buffer): Make defvar-local; adjust docstring.
5233 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5234 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5236 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5238 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5240 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5242 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5245 2013-07-12 Glenn Morris <rgm@gnu.org>
5247 * doc-view.el: Require cl-lib at runtime too.
5248 (doc-view-remove-if): Remove.
5249 (doc-view-search-next-match, doc-view-search-previous-match):
5252 * edmacro.el: Require cl-lib at runtime too.
5253 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5254 (edmacro-mismatch, edmacro-subseq): Remove.
5256 * shadowfile.el: Require cl-lib.
5257 (shadow-remove-if): Remove.
5258 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5261 * wid-edit.el: Require cl-lib.
5262 (widget-choose): Use cl-remove-if.
5263 (widget-remove-if): Remove.
5265 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5266 (ebrowse-delete-if-not): Remove.
5267 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5268 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5269 Use cl-delete-if-not.
5271 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5273 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5274 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5276 2013-07-12 Leo Liu <sdl.web@gmail.com>
5278 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5280 2013-07-11 Glenn Morris <rgm@gnu.org>
5282 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5283 (edebug-gensym-index, edebug-gensym):
5284 Remove reimplementation of cl-gensym.
5285 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5287 * thumbs.el: Require cl-lib at run-time too.
5288 (thumbs-gensym-counter, thumbs-gensym):
5289 Remove reimplementation of cl-gensym.
5290 (thumbs-temp-file): Use cl-gensym.
5292 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5293 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5294 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5295 (ert--union, ert--gensym-counter, ert--gensym-counter)
5296 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5297 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5298 (ert-make-test-unbound, ert--expand-should-1)
5299 (ert--expand-should, ert--should-error-handle-error)
5300 (should-error, ert--explain-equal-rec)
5301 (ert--plist-difference-explanation, ert-select-tests)
5302 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5303 Use cl-lib functions rather than reimplementations.
5305 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5307 * net/tramp.el (tramp-methods): Extend docstring.
5308 (tramp-connection-timeout): New defcustom.
5309 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5310 (with-tramp-progress-reporter): Simplify.
5311 (tramp-process-actions): Improve messages.
5313 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5314 * net/tramp-sh.el (tramp-maybe-open-connection):
5315 Use `tramp-connection-timeout'.
5316 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5319 2013-07-11 Leo Liu <sdl.web@gmail.com>
5321 * ido.el (ido-read-file-name): Conform to the requirements of
5322 read-file-name. (Bug#11861)
5323 (ido-read-directory-name): Conform to the requirements of
5324 read-directory-name.
5326 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5328 * subr.el (delay-warning): New function.
5330 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5332 * simple.el (default-line-height): New function.
5333 (line-move-partial, line-move): Use it instead of computing the
5335 (line-move-partial): Always compute ROWH. If the last line is
5336 partially-visible, but its text is completely visible, allow
5337 cursor to enter such a partially-visible line.
5339 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5341 Improve error messages. (Bug#14808)
5343 * net/tramp.el (tramp-current-connection): New defvar, moved from
5345 (tramp-message-show-progress-reporter-message): Remove, not
5347 (tramp-error-with-buffer): Show message in minibuffer.
5348 Discard input before waiting. Reset connection timestamp.
5349 (with-tramp-progress-reporter): Improve messages.
5350 (tramp-process-actions): Use progress reporter. Delete process in
5351 case of error. Improve messages.
5353 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5354 Call `tramp-error-with-buffer' with vector and buffer.
5355 (tramp-current-connection): Remove.
5356 (tramp-maybe-open-connection): The car of
5357 `tramp-current-connection' are the first 3 slots of the vector.
5359 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5361 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5362 inside continued strings.
5364 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5366 Timestamp fixes for undo (Bug#14824).
5367 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5369 2013-07-10 Leo Liu <sdl.web@gmail.com>
5371 * files.el (require-final-newline): Allow safe local value.
5374 2013-07-09 Leo Liu <sdl.web@gmail.com>
5376 * ido.el (ido-read-directory-name): Handle fallback.
5377 (ido-read-file-name): Update DIR to ido-current-directory.
5379 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5381 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5383 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5384 "autoload". Remove "warn lower camel case" section, previously
5385 commented out. Highlight negation char. Do not highlight the
5386 target in singleton method definitions.
5388 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5390 * faces.el (tty-setup-hook): Declare the hook.
5392 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5393 and detect when a guard/pred depends on local vars (bug#14773).
5394 (pcase--u1): Adjust caller.
5396 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5398 * simple.el (line-move-partial, line-move): Account for
5400 (line-move-partial): Avoid setting vscroll when the last
5401 partially-visible line in window is of default height.
5403 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5405 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5408 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5410 * subr.el (read-quoted-char): Remove unused local variable `char'.
5412 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5414 * ediff.el (ediff-version): Version update.
5415 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5416 (ediff-merge-with-ancestor-command, ediff-directories-command)
5417 (ediff-directories3-command, ediff-merge-directories-command)
5418 (ediff-merge-directories-with-ancestor-command): New functions.
5419 All are command-line interfaces to ediff: to facilitate calling
5420 Emacs with the appropriate ediff functions invoked.
5422 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5423 (viper-save-kill-buffer): Check if buffer is modified.
5425 * viper.el (viper-version): Version update.
5426 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5428 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5430 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5431 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5432 (viper-intercept-ESC-key): Simplify.
5433 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5434 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5435 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5436 (viper-setup-ESC-to-escape): New functions.
5437 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5438 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5440 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5442 * simple.el (default-font-height, window-screen-lines):
5444 (line-move, line-move-partial): Use them instead of
5445 frame-char-height and window-text-height. This makes scrolling
5446 text smoother when the buffer's default face uses a font that is
5447 different from the frame's default font.
5449 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5451 * files.el (write-file): Do not display confirm dialog for NS,
5452 it does its own dialog, which can't be cancelled (Bug#14578).
5454 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5456 * simple.el (line-move-partial): Adjust the row returned by
5457 posn-at-point for the current window-vscroll. (Bug#14567)
5459 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5461 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5462 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5465 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5467 * window.el (window-state-put-stale-windows): New variable.
5468 (window--state-put-2): Save list of windows without matching buffer.
5469 (window-state-put): Remove "bufferless" windows if possible.
5471 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5473 * simple.el (alternatives-define): Remove leftover :group keyword.
5476 2013-07-06 Leo Liu <sdl.web@gmail.com>
5478 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5479 (ido-enable-virtual-buffers): New variable.
5480 (ido-buffer-internal, ido-toggle-virtual-buffers)
5481 (ido-make-buffer-list): Use it.
5482 (ido-exhibit): Support turning on and off virtual buffers
5485 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5487 * simple.el (alternatives-define): New macro.
5489 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5491 * subr.el (read-quoted-char): Use read-key.
5492 (sit-for): Let read-event decode tty input (bug#14782).
5494 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5496 * calendar/todo-mode.el: Add handling of file deletion, both by
5497 mode command and externally. Fix various related bugs.
5498 Clarify Commentary and improve some documentation strings and code.
5499 (todo-delete-file): New command.
5500 (todo-check-file): New function.
5501 (todo-show): Handle external deletion of the file we're trying to
5502 show (bug#14688). Replace called-interactively-p by an optional
5503 prefix argument to avoid problematic interaction with catch form
5504 when byte compiled (bug#14702).
5505 (todo-quit): Handle external deletion of the archive's todo file.
5506 Make sure the buffer that was visiting the archive file is still
5507 live before trying to bury it.
5508 (todo-category-completions): Handle external deletion of any
5509 category completion files.
5510 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5511 of todo files, in case of external deletion.
5512 (todo-add-file): Replace unnecessary setq by let-binding.
5513 (todo-find-archive): Check whether there are any archives.
5514 Replace unnecessary setq by let-binding.
5515 (todo-archive-done-item): Use find-file-noselect to get the
5516 archive buffer whether or not the archive already exists.
5517 Remove superfluous code. Use file size instead of buffer-file-name to
5518 check if the archive is new; if it is, update list of archives.
5519 (todo-default-todo-file): Allow nil to be a valid value for when
5520 there are no todo files.
5521 (todo-reevaluate-default-file-defcustom): Use corrected definition
5522 of todo-default-todo-file.
5523 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5524 (todo-delete-category, todo-show-categories-table)
5525 (todo-category-number): Clarify comment.
5526 (todo-filter-items): Clarify documentation string.
5527 (todo-show-current-file, todo-display-as-todo-file)
5528 (todo-reset-and-enable-done-separator): Tweak documentation string.
5529 (todo-done-separator): Make separator length window-width, since
5530 bug#2749 is now fixed.
5532 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5534 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5535 Support both "gvfs-monitor-dir" and "inotifywait".
5536 (tramp-sh-file-inotifywait-process-filter): Rename from
5537 `tramp-sh-file-notify-process-filter'.
5538 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5539 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5541 2013-07-05 Leo Liu <sdl.web@gmail.com>
5543 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5545 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5547 * frame.el (display-pixel-height, display-pixel-width)
5548 (display-mm-height, display-mm-width): Mention behavior on
5549 multi-monitor setups in docstrings.
5550 (w32-display-monitor-attributes-list): Declare function.
5551 (display-monitor-attributes-list): Use it.
5553 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5555 * filenotify.el: New package.
5557 * autorevert.el (top): Require filenotify.el.
5558 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5560 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5561 (auto-revert-notify-handler): Use `file-notify-*' functions.
5563 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5565 * net/tramp.el (tramp-file-name-for-operation):
5566 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5568 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5569 for `file-notify-add-watch' and `file-notify-rm-watch'.
5570 (tramp-process-sentinel): Improve trace.
5571 (tramp-sh-handle-file-notify-add-watch)
5572 (tramp-sh-file-notify-process-filter)
5573 (tramp-sh-handle-file-notify-rm-watch)
5574 (tramp-get-remote-inotifywait): New defuns.
5576 2013-07-03 Juri Linkov <juri@jurta.org>
5578 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5579 call of `occur-read-primary-args' to interactive spec.
5581 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5582 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5584 2013-07-03 Matthias Meulien <orontee@gmail.com>
5586 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5587 `Buffer-menu-multi-occur'. Add it to the menu.
5588 (Buffer-menu-mode): Document it in docstring.
5589 (Buffer-menu-multi-occur): New command. (Bug#14673)
5591 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5593 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5594 keywords and built-ins.
5596 2013-07-03 Glenn Morris <rgm@gnu.org>
5598 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5600 Make info-xref checks case-sensitive by default
5601 * info.el (Info-find-node, Info-find-in-tag-table)
5602 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5603 Add option for exact case matching of nodes.
5604 * info-xref.el (info-xref): New custom group.
5605 (info-xref-case-fold): New option.
5606 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5608 2013-07-03 Leo Liu <sdl.web@gmail.com>
5610 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5612 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5614 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5615 middle of block statement initially, lower the depth. Remove
5616 FIXME comment, not longer valid. Remove middle of block statement
5617 detection, no need to do that anymore since we've been using
5618 `ruby-parse-region' here.
5620 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5622 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5624 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5626 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5628 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5630 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5631 (desktop-restore-in-current-display): New customization option.
5632 (desktop--excluded-frame-parameters): Add `font'.
5633 (desktop--save-frames): Rename from desktop--save-windows.
5634 (desktop--restore-in-this-display-p): New function.
5635 (desktop--make-full-frame): Remove unwanted width/height from
5636 full(width|height) frames.
5637 (desktop--restore-frames): Rename from desktop--restore-windows.
5638 Obey desktop-restore-current-display. Do not delete old frames or
5639 select a new frame unless we were able to restore at least one frame.
5641 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5643 * files.el (find-file-noselect): Simplify conditional expression.
5645 * remember.el (remember-append-to-file):
5646 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5648 Add `remember-notes' function to store random notes across Emacs
5650 * remember.el (remember-data-file): Add :set callback to affect
5651 notes buffer (if any).
5652 (remember-notes): New command.
5653 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5654 New defcustoms for the `remember-notes' function.
5655 (remember-notes-save-and-bury-buffer): New command.
5656 (remember-notes-mode-map): New variable.
5657 (remember-mode): New minor mode.
5658 (remember-notes--kill-buffer-query): New function.
5659 * startup.el (initial-buffer-choice): Add notes to custom type.
5661 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5663 * bindings.el (right-char, left-char): Don't call sit-for, this is
5664 no longer needed. Use arithmetic comparison only for numerical
5667 * international/mule-cmds.el (select-safe-coding-system):
5668 Handle the case of FROM being a string correctly. (Bug#14755)
5670 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5672 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5673 progression on degenerate tables.
5674 (shr-rescale-image): ImageMagick animated images currently don't work.
5676 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5678 Some fixes and improvements for desktop frame restoration.
5679 It is still experimental and disabled by default.
5680 * desktop.el (desktop--save-windows): Put the selected frame at
5681 the head of the list.
5682 (desktop--make-full-frame): New function.
5683 (desktop--restore-windows): Try to re-select the frame that was
5684 selected upon saving. Do not abort if some frames fail to restore,
5685 just show an error message and continue. Set up maximized frames
5686 so they have default non-maximized dimensions.
5688 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5690 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5691 Don't start heredoc inside a string or comment.
5693 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5695 * bindings.el (visual-order-cursor-movement): New defcustom.
5696 (right-char, left-char): Provide visual-order cursor motion by
5697 calling move-point-visually. Update the doc strings.
5699 2013-06-28 Kenichi Handa <handa@gnu.org>
5701 * international/mule.el (define-coding-system): New coding system
5702 properties :inhibit-null-byte-detection,
5703 :inhibit-iso-escape-detection, and :prefer-utf-8.
5704 (set-buffer-file-coding-system): If :charset-list property of
5705 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5706 appropriate for setting.
5708 * international/mule-cmds.el (select-safe-coding-system):
5709 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5710 multibyte characters, return utf-8 (or one of its siblings).
5712 * international/mule-conf.el (prefer-utf-8): New coding system.
5713 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5716 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5718 * net/shr.el (shr-render-region): New function.
5720 * net/eww.el: Autoload `eww-browse-url'.
5722 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5724 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5725 Adapt to `package-desc-version' being a list.
5726 Use `package--ac-desc-version' to retrieve version from a package
5729 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5731 New experimental feature to save&restore window and frame setup.
5732 * desktop.el (desktop-save-windows): New defcustom.
5733 (desktop--saved-states): New var.
5734 (desktop--excluded-frame-parameters): New defconst.
5735 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5736 (desktop--restore-windows, desktop--save-windows): New functions.
5737 (desktop-save): Call `desktop--save-windows'.
5738 (desktop-read): Call `desktop--restore-windows'.
5740 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5742 * net/shr.el (add-face-text-property): Remove compat definition.
5744 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5746 * info.el (Info-try-follow-nearest-node): Move search for footnote
5747 above search for node name to prevent missing a footnote (bug#14717).
5749 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5751 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5753 2013-06-27 Leo Liu <sdl.web@gmail.com>
5755 * net/eww.el (eww-read-bookmarks): Check file size.
5757 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5759 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5760 advice--pending if newdef is nil or an autoload (bug#13820).
5761 (advice-mapc): New function.
5763 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5765 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5767 (eww-mode-map): Add a menu bar.
5768 (eww-add-bookmark): New command.
5769 (eww-bookmark-mode): New mode and commands.
5770 (eww-add-bookmark): Remove newlines from the title.
5771 (eww-bookmark-browse): Don't bug out if it's the only window.
5773 2013-06-26 Glenn Morris <rgm@gnu.org>
5775 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5776 (hfy-size): Handle ttys. (Bug#14668)
5778 * info-xref.el: Update for Texinfo 5 change in *note format.
5779 (info-xref-node-re, info-xref-note-re): New constants.
5780 (info-xref-check-buffer): Use info-xref-note-re.
5782 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5784 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5786 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5787 nil terminate the loop (bug#14718).
5789 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5791 * net/eww.el: Rework history traversal. When going forward/back,
5792 put these actions into the history, too, so that they can be
5794 (eww-render): Move the history reset to the correct buffer.
5796 2013-06-25 Juri Linkov <juri@jurta.org>
5798 * files-x.el (modify-dir-local-variable): Change the header comment
5799 in the file with directory local variables. (Bug#14692)
5801 * files-x.el (read-file-local-variable-value): Add `default'.
5804 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5806 * net/eww.el (eww-make-unique-file-name): Create a unique file
5807 name before saving to entering `y' accidentally asynchronously.
5809 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5811 * net/eww.el (eww-download): New command and keystroke.
5813 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5815 * net/eww.el (eww-copy-page-url): Change name of command.
5817 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5818 be more consistent with Info and dired.
5820 * net/eww.el (eww-mode-map): Ditto.
5822 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5824 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5825 packages from archives.
5826 (package-archive-contents): Change format; include obsolete packages.
5827 (package-desc): Use `dir' to mark builtin packages.
5828 (package--from-builtin): Set the `dir' field to `builtin'.
5829 (generated-autoload-file, version-control): Declare.
5830 (package-compute-transaction): Change first arg and return value to be
5831 lists of package-descs. Adjust to new package-archive-contents format.
5832 (package--add-to-archive-contents): Adjust to new
5833 package-archive-contents format.
5834 (package-download-transaction): Arg is now a list of package-descs.
5835 (package-install): If `pkg' is a package name, pass it as
5836 a requirement, so it is subject to the usual (e.g. disabled) checks.
5837 (describe-package): Accept package-desc as well.
5838 (describe-package-1): Describe a specific package-desc. Add links to
5839 other package-descs for the same package name.
5840 (package-menu-describe-package): Pass the actual package-desc.
5841 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5843 (package-desc-status): New function.
5844 (package-menu--refresh): New function, extracted
5845 from package-menu--generate.
5846 (package-menu--generate): Use it.
5847 (package-delete): Update package-alist.
5848 (package-menu-execute): Don't call package-initialize.
5850 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5851 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5852 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5853 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5854 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5855 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5857 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5859 * window.el (window--state-get-1): Workaround for bug#14527.
5860 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5862 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5864 * net/eww.el (eww-back-url): Implement the history by stashing all
5865 the data into a list.
5866 (eww-forward-url): Allow going forward in the history, too.
5868 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5870 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5871 for values and use read--expression for expressions (bug#14710).
5872 (read-file-local-variable): Avoid setq.
5873 (read-file-local-variable-mode): Use minor-mode-list.
5875 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5877 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5880 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5882 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5883 Update imenu-support when dialect changes.
5885 2013-06-25 Leo Liu <sdl.web@gmail.com>
5887 * ido.el (ido-read-internal): Allow forward slash on windows.
5889 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5891 * net/eww.el (eww): Start of strings is \\`, not ^.
5893 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5895 * net/shr.el (shr-browse-url): Fix interactive spec.
5897 * net/eww.el (eww): Add a trailing slash to domain names.
5899 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5901 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5903 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5905 * net/shr.el (shr-browse-url): Use an external browser if given a
5908 * net/eww.el (eww-external-browser): Move to shr.
5910 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5912 * net/eww.el (eww): Work more correctly for file: URLs.
5913 (eww-detect-charset): Allow quoted charsets.
5914 (eww-yank-page-url): New command and keystroke.
5916 2013-06-24 Daiki Ueno <ueno@gnu.org>
5918 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5919 file name of gpg executable.
5920 (epg-context-program): New function.
5921 (epg-context-home-directory): New function.
5922 (epg-context-set-program): New function.
5923 (epg-context-set-home-directory): New function.
5924 (epg--start): Use `epg-context-program' instead of
5926 (epg--list-keys-1): Likewise.
5928 2013-06-24 Leo Liu <sdl.web@gmail.com>
5930 * ido.el (ido-read-internal): Fix bug#14620.
5932 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5934 * faces.el (face-documentation): Simplify.
5935 (read-face-attribute, tty-find-type, x-resolve-font-name):
5936 Use `string-match-p'.
5937 (list-faces-display): Use `string-match-p'. Simplify.
5938 (face-spec-recalc): Check face to avoid face alias loops.
5939 (read-color): Use `string-match-p' and non-capturing parenthesis.
5941 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5943 * net/shr.el (shr-rescale-image): Use the new
5944 :max-width/:max-height functionality.
5946 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5948 * net/eww.el (eww-search-prefix): New variable.
5950 (eww-external-browser): New variable.
5951 (eww-mode-map): New keystroke.
5952 (eww-browse-with-external-browser): New command.
5954 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5956 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5958 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5959 Don't skip aligning the next header field when padding is 0;
5960 otherwise, field width is not respected unless the title is as
5963 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5965 * emacs-lisp/package.el (package-el-version): Remove.
5966 (package-process-define-package): Fix inf-loop.
5967 (package-install): Allow symbols as arguments again.
5969 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5971 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5972 add some more keyword-like methods.
5973 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5975 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5977 * bs.el (bs-buffer-show-mark): Make defvar-local.
5978 (bs-mode): Use setq-local.
5980 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5981 (emacs-lock--try-unlocking): Make defvar-local.
5983 2013-06-22 Glenn Morris <rgm@gnu.org>
5985 * play/cookie1.el (cookie-apropos): Minor simplification.
5987 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5989 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5991 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5992 `regexp-opt', it breaks the build during dumping.
5994 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5996 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5997 Highlight keyword-like methods on Kernel and Module with
5998 font-lock-builtin-face.
5999 (auto-mode-alist): Consolidate different entries into one regexp
6000 and add more *file-s.
6002 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6004 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6006 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6007 (diary-entry): Use it in the action of this button type instead of
6010 * calendar/todo-mode.el: New version.
6011 (todo-add-category): Append new category to end of file and give
6012 it the highest number, instead of putting it at the beginning and
6013 giving it 0. Incorporate noninteractive functionality.
6014 (todo-forward-category): Adapt to 1-based category numbering.
6015 Allow skipping over archived categories.
6016 (todo-backward-category): Derive from todo-forward-category.
6017 (todo-backward-item, todo-forward-item): Make noninteractive and
6018 delegate interactive part to new commands. Make sensitive to done items.
6019 (todo-categories): Make value an alist of category names and
6020 vectors of item counts.
6021 (todo-category-beg): Make a defconst.
6022 (todo-category-number): Use 1 instead of 0 as initial value.
6023 (todo-category-select): Make sensitive to overlays, optional item
6024 highlighting and done items.
6025 (todo-delete-item): Make sensitive to overlays and marked and done items.
6026 (todo-edit-item): Make sensitive to overlays and editing of
6027 date/time header optional. Add format checks.
6028 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6029 no-op if point is not on an item. Advertise using todo-edit-quit.
6030 (todo-edit-mode): Make sensitive to new format, font-locking, and
6031 multiple todo files.
6032 (todo-insert-item, todo-insert-item-here): Derive from
6033 todo-basic-insert-item and extend functionality.
6034 (todo-item-end, todo-item-start): Make sensitive to done items.
6035 (todo-item-string): Don't return text properties. Restore point.
6036 (todo-jump-to-category): Make sensitive to multiple todo files and
6037 todo archives. Use extended category completion.
6038 (todo-lower-item, todo-raise-item): Rename to *-priority and
6039 derive from todo-set-item-priority.
6040 (todo-mode): Derive from special-mode. Make sensitive to new
6041 format, font-locking and multiple todo files. Make read-only.
6042 (todo-mode-map): Don't suppress digit keys, so they can supply
6043 prefix arguments. Add many new key bindings.
6044 (todo-prefix): Insert as an overlay instead of file text.
6045 Change semantics from diary date expression to purely visual mark.
6046 (todo-print): Rename to todo-print-buffer. Make buffer display
6047 features printable. Remove option to restrict number of items
6048 printed. Add option to print to file.
6049 (todo-print-function): Rename to todo-print-buffer-function.
6050 (todo-quit): Extend to handle exiting new todo modes.
6051 (todo-remove-item): Make sensitive to overlays.
6052 (todo-save): Extend to buffers of filtered items.
6053 (todo-show): Make sensitive to done items, multiple todo files and
6054 new todo modes. Offer to convert legacy todo file before creating
6055 first new todo file.
6056 (todo-show-priorities): Rename to todo-top-priorities.
6057 Change semantics of value 0.
6058 (todo-top-priorities): Rename to todo-filter-top-priorities,
6059 derive from todo-filter-items and extend functionality.
6060 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6061 and extend functionality to other types of filtered items.
6062 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6063 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6064 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6065 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6066 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6067 (todo-edit-mode-hook, todo-entry-prefix-function)
6068 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6069 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6070 (todo-initials, todo-insert-threshold, todo-item-string-start)
6071 (todo-line-string, todo-menu, todo-mode-hook)
6072 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6073 (todo-print-priorities, todo-remove-separator)
6074 (todo-save-top-priorities-too, todo-string-count-lines)
6075 (todo-string-multiline-p, todo-time-string-format)
6076 (todo-tmp-buffer-name): Remove.
6077 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6078 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6079 (todo-edit-category-diary-inclusion)
6080 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6081 (todo-edit-file, todo-edit-item-date-day)
6082 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6083 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6084 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6085 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6086 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6087 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6088 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6089 (todo-filter-top-priorities-multifile, todo-find-archive)
6090 (todo-find-filtered-items-file, todo-go-to-source-item)
6091 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6092 (todo-jump-to-archive-category, todo-lower-category)
6093 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6094 (todo-move-category, todo-move-item, todo-next-button)
6095 (todo-next-item, todo-padded-string, todo-powerset)
6096 (todo-previous-button, todo-previous-item)
6097 (todo-print-buffer-to-file, todo-raise-category)
6098 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6099 (todo-set-category-number, todo-set-item-priority)
6100 (todo-set-top-priorities-in-category)
6101 (todo-set-top-priorities-in-file, todo-show-categories-table)
6102 (todo-sort-categories-alphabetically-or-numerically)
6103 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6104 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6105 (todo-toggle-item-header, todo-toggle-item-highlighting)
6106 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6107 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6108 (todo-unarchive-items, todo-unmark-category): New commands.
6109 (todo-absolute-file-name, todo-add-to-buffer-list)
6110 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6111 (todo-basic-insert-item, todo-category-completions)
6112 (todo-category-number, todo-category-string-matcher-1)
6113 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6114 (todo-check-format, todo-clear-matches)
6115 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6116 (todo-current-category, todo-date-string-matcher)
6117 (todo-define-insertion-command, todo-diary-expired-matcher)
6118 (todo-diary-goto-entry, todo-diary-item-p)
6119 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6120 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6121 (todo-done-item-section-p, todo-done-separator)
6122 (todo-done-string-matcher, todo-files, todo-filter-items)
6123 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6124 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6125 (todo-insert-category-line, todo-insert-item-from-calendar)
6126 (todo-insert-sort-button, todo-insert-with-overlays)
6127 (todo-insertion-command-name, todo-insertion-key-bindings)
6128 (todo-label-to-key, todo-longest-category-name-length)
6129 (todo-make-categories-list, todo-mode-external-set)
6130 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6131 (todo-modes-set-3, todo-multiple-filter-files)
6132 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6133 (todo-read-category, todo-read-date, todo-read-dayname)
6134 (todo-read-file-name, todo-read-time)
6135 (todo-reevaluate-category-completions-files-defcustom)
6136 (todo-reevaluate-default-file-defcustom)
6137 (todo-reevaluate-filelist-defcustoms)
6138 (todo-reevaluate-filter-files-defcustom)
6139 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6140 (todo-reset-done-separator, todo-reset-done-separator-string)
6141 (todo-reset-done-string, todo-reset-global-current-todo-file)
6142 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6143 (todo-reset-prefix, todo-set-categories)
6144 (todo-set-date-from-calendar, todo-set-show-current-file)
6145 (todo-set-top-priorities, todo-short-file-name)
6146 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6147 (todo-total-item-counts, todo-update-buffer-list)
6148 (todo-update-categories-display, todo-update-categories-sexp)
6149 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6151 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6153 (todo-categories, todo-display, todo-edit, todo-faces)
6154 (todo-filtered): New defgroups.
6155 (todo-archived-only, todo-button, todo-category-string, todo-date)
6156 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6157 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6158 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6159 (todo-add-item-if-new-category, todo-always-add-time-string)
6160 (todo-categories-align, todo-categories-archived-label)
6161 (todo-categories-category-label, todo-categories-diary-label)
6162 (todo-categories-done-label, todo-categories-number-separator)
6163 (todo-categories-todo-label, todo-categories-totals-label)
6164 (todo-category-completions-files, todo-completion-ignore-case)
6165 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6166 (todo-done-separator-string, todo-done-string)
6167 (todo-files-function, todo-filter-done-items, todo-filter-files)
6168 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6169 (todo-initial-category, todo-initial-file, todo-item-mark)
6170 (todo-legacy-date-time-regexp, todo-mode-line-function)
6171 (todo-nondiary-marker, todo-number-prefix)
6172 (todo-print-buffer-function, todo-show-current-file)
6173 (todo-show-done-only, todo-show-first, todo-show-with-done)
6174 (todo-skip-archived-categories, todo-top-priorities-overrides)
6175 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6176 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6178 (todo-category-done, todo-date-pattern, todo-date-string-start)
6179 (todo-diary-items-buffer, todo-done-string-start)
6180 (todo-filtered-items-buffer, todo-item-start)
6181 (todo-month-abbrev-array, todo-month-name-array)
6182 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6183 (todo-top-priorities-buffer): New defconsts.
6184 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6185 (todo-categories-with-marks, todo-category-string-face)
6186 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6187 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6188 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6189 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6190 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6191 (todo-font-lock-keywords, todo-global-current-todo-file)
6192 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6193 (todo-insertion-commands-args)
6194 (todo-insertion-commands-args-genlist)
6195 (todo-insertion-commands-names, todo-insertion-map)
6196 (todo-key-bindings-t, todo-key-bindings-t+a)
6197 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6198 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6199 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6200 (todo-visited): New variables.
6202 2013-06-21 Glenn Morris <rgm@gnu.org>
6204 * play/cookie1.el (cookie-apropos): Add optional display argument.
6205 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6206 (psychoanalyze-pinhead): Use cookie-doctor.
6208 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6210 * emacs-lisp/package.el (tar-get-file-descriptor)
6211 (tar--extract): Declare.
6213 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6215 Extend flymake's warning predicate to be a function (bug#14217).
6216 * progmodes/flymake.el (flymake-warning-predicate): New.
6217 (flymake-parse-line): Use it.
6218 (flymake-warning-re): Make obsolete alias to
6219 `flymake-warning-predicate'.
6221 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6223 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6224 (package-obsolete-list): Remove.
6225 (package-activate): Remove min-version argument. Add `force' argument.
6226 Adjust to new package-alist format.
6227 (package-mark-obsolete): Remove.
6228 (package-unpack): Force reload of the package's autoloads.
6229 (package-installed-p): Check builtins if the installed package is not
6231 (package-initialize): Don't reset package-obsolete-list.
6232 Don't specify which package version to activate.
6233 (package-process-define-package, describe-package-1)
6234 (package-menu--generate): Adjust to new package-alist format.
6236 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6238 * allout-widgets.el (allout-widgets-mode-off)
6239 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6240 (allout-widgets-post-command-business)
6241 (allout-widgets-after-copy-or-kill-function)
6242 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6243 (allout-decorate-item-and-context)
6244 (allout-graphics-modification-handler): Fix typos in docstrings.
6245 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6247 * cmuscheme.el (scheme-start-file): Doc fix.
6248 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6249 (scheme-input-filter): Use `string-match-p'.
6251 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6253 * dired-x.el: Use Dired consistently in docstrings.
6255 * dired.el: Use Dired consistently in docstrings.
6256 (dired-readin, dired-mode): Use `setq-local'.
6257 (dired-switches-alist): Make defvar-local.
6258 (dired-buffers-for-dir): Use `zerop'.
6259 (dired-safe-switches-p, dired-switches-escape-p)
6260 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6261 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6262 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6263 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6264 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6265 (dired-toggle-marks, dired-mark-files-containing-regexp)
6266 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6267 (dired-flag-auto-save-files, dired-flag-backup-files):
6269 (dired-mark-files-regexp, dired-build-subdir-alist):
6270 Use `string-match-p', `looking-at-p'.
6272 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6273 (direct-print-region-helper): Use `string-match-p'.
6275 2013-06-21 Leo Liu <sdl.web@gmail.com>
6277 * comint.el (comint-redirect-results-list-from-process):
6280 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6282 * net/eww.el (eww-update-header-line-format): Quote % characters.
6284 2013-06-21 Glenn Morris <rgm@gnu.org>
6286 * play/cookie1.el (cookie): New custom group.
6287 (cookie-file): New option.
6288 (cookie-check-file): New function.
6289 (cookie): Make it interactive. Make start and end messages optional.
6290 Interactively, display the result. Default to cookie-file.
6291 (cookie-insert): Default to cookie-file.
6292 (cookie-snarf): Make start and end messages optional.
6293 Default to cookie-file. Use with-temp-buffer.
6294 (cookie-read): Rename from read-cookie.
6295 Make start and end messages optional. Default to cookie-file.
6296 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6298 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6299 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6301 2013-06-21 Leo Liu <sdl.web@gmail.com>
6303 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6305 2013-06-21 Glenn Morris <rgm@gnu.org>
6307 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6309 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6310 Daniel Hackney <dan@haxney.org>
6312 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6313 Consolidate the single-file vs tarball code.
6314 (package-desc-suffix): New function.
6315 (package-desc-full-name): Don't bother inlining it.
6316 (package-load-descriptor): Return the new package-desc.
6317 (package-mark-obsolete): Remove unused arg `package'.
6318 (package-unpack): Make it work for single files as well.
6319 Make it update package-alist.
6320 (package--make-autoloads-and-stuff): Rename from
6321 package--make-autoloads-and-compile. Don't compile any more.
6322 (package--compile): New function.
6323 (package-generate-description-file): New function, extracted from
6324 package-unpack-single.
6325 (package-unpack-single): Remove.
6326 (package--with-work-buffer): Add indentation and debugging info.
6327 (package-download-single): Remove.
6328 (package-install-from-archive): Rename from package-download-tar, make
6329 it take a pkg-desc, and make it work for single files as well.
6330 (package-download-transaction): Simplify.
6331 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6332 external tar program.
6333 (package-install-from-buffer): Remove `pkg-desc' argument.
6334 Use package-tar-file-info for tar-mode buffers.
6335 (package-install-file): Simplify accordingly.
6336 (package-archive-base): Change to take a pkg-desc.
6337 * tar-mode.el (tar--check-descriptor): New function, extracted from
6339 (tar-get-descriptor): Use it.
6340 (tar-get-file-descriptor): New function.
6341 (tar--extract): New function, extracted from tar-extract.
6342 (tar--extract): Use it.
6343 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6344 case the summary uses non-ascii. Adjust to new calling convention of
6345 package-tar-file-info.
6347 2013-06-21 Leo Liu <sdl.web@gmail.com>
6349 * comint.el (comint-redirect-results-list-from-process):
6350 Fix random delay. (Bug#14681)
6352 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6354 * profiler.el (profiler-format-number): Use log, not log10.
6356 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6358 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6360 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6362 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6363 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6365 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6366 (AUTOGENEL): ... here.
6367 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6368 (cl--defsubst-expand): Use it.
6370 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6372 * subr.el (log10): Move here from C code, and declare as obsolete.
6373 All uses of (log10 X) replaced with (log X 10).
6375 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6377 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6378 Declare with `defvar-local'.
6379 (tabulated-list-use-header-line, tabulated-list-entries)
6380 (tabulated-list-padding, tabulated-list-printer)
6381 (tabulated-list-sort-key): Declare with `defvar-local'.
6382 (tabulated-list-init-header, tabulated-list-print-fake-header):
6385 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6387 * arc-mode.el (archive-mode): Add `archive-write-file' to
6388 `write-contents-functions' also for remote files. (Bug#14652)
6390 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6392 * cus-edit.el (custom-commands): Fix typos.
6393 (custom-display): Fix tooltip text.
6394 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6395 Fix typos in docstrings.
6396 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6397 (custom-unlispify-menu-entry, custom-magic-value-create)
6398 (custom-add-see-also, custom-group-value-create): Use ?\s.
6399 (custom-guess-type, customize-apropos, editable-field)
6400 (custom-face-value-create): Use `string-match-p'.
6401 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6403 * custom.el (custom-load-symbol): Use `string-match-p'.
6405 * ansi-color.el: Convert to lexical binding.
6406 (ansi-colors): Fix URL.
6407 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6408 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6409 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6411 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6413 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6415 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6417 2013-06-19 Tom Tromey <tromey@redhat.com>
6419 * net/eww.el (eww-top-url): Remove.
6420 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6421 (eww-render): Set new variables. Don't set eww-top-url.
6422 (eww-handle-link): Handle "prev", "home", and "contents".
6423 Downcase the rel text.
6424 (eww-top-url): Choose best top URL.
6426 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6428 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6429 relying in widget.el. Using widget.el leads to too many
6430 user interface inconsistencies.
6431 (eww-self-insert): Implement entering commands in text fields.
6432 (eww-process-text-input): New function to make text input field editing
6434 (eww-submit): Rewrite to use the new-style form methods.
6435 (eww-select-display): Display the correct selected item.
6436 (eww-change-select): Implement changing the select value.
6437 (eww-toggle-checkbox): Implement radio/checkboxes.
6438 (eww-update-field): Fix compilation error.
6439 (eww-tag-textarea): Implement <textarea>.
6441 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6442 we don't shadow mode-specific bindings.
6444 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6447 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6449 2013-06-19 Glenn Morris <rgm@gnu.org>
6451 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6453 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6455 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6458 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6460 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6462 * net/browse-url.el (browse-url-browser-function):
6463 `eww-browse-url' has the right calling signature, `eww' does not.
6465 2013-06-19 Glenn Morris <rgm@gnu.org>
6467 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6468 Only eval autoloaded macros.
6469 (byte-compile-autoload): Only give the macro warning for macros.
6471 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6472 (ps-underlined-faces): Declare.
6474 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6475 (speedbar-add-supported-extension): Declare.
6477 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6478 Don't include a date stamp in the header of the generated file;
6479 it leads to needless differences between output files.
6481 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6483 * net/secrets.el (secrets-struct-secret-content-type):
6484 Replace check of introspection data by a test call of "CreateItem".
6485 Some servers do not offer introspection.
6487 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6489 * electric.el (electric-pair-mode): Improve interaction with
6490 electric-layout-mode.
6491 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6492 (electric-pair-syntax): Use text-mode-syntax-table in comments
6494 (electric-pair--insert): New function.
6495 (electric-pair-post-self-insert-function): Use it and
6496 electric--after-char-pos.
6498 2013-06-19 Leo Liu <sdl.web@gmail.com>
6500 * progmodes/octave.el (octave-help): Fix regexp.
6502 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6504 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6505 (shr-table-horizontal-line): Allow nil as a value, and change the
6507 (shr-insert-table-ruler): Respect the nil value.
6509 2013-06-18 Tom Tromey <tromey@barimba>
6511 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6513 (eww-open-file): New defun.
6514 (eww-render): Initialize new variables.
6515 (eww-display-html): Handle "link" and "a".
6516 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6517 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6518 (eww-back-url): Rename from eww-previous-url.
6519 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6522 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6524 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6525 Distinguish ternary operator tokens from slash symbol and slash
6528 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6530 Convert symbol prettification into minor mode and global minor mode.
6532 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6533 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6534 (prettify-symbols--keywords): Rename from
6535 `prog-prettify-symbols-alist' and make a local defvar.
6536 (prettify-symbols--compose-symbol): Rename from
6537 `prog--prettify-font-lock-compose-symbol'.
6538 (prettify-symbols--make-keywords): Rename from
6539 `prog-prettify-font-lock-symbols-keywords' and simplify.
6540 (prog-prettify-install): Remove.
6541 (prettify-symbols-mode): New minor mode, based on
6542 `prog-prettify-install'.
6543 (turn-on-prettify-symbols-mode): New function.
6544 (global-prettify-symbols-mode): New globalized minor mode.
6546 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6547 * progmodes/cfengine.el (cfengine3-mode):
6548 * progmodes/perl-mode.el (perl-mode): Don't call
6549 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6551 2013-06-18 Juri Linkov <juri@jurta.org>
6553 * files-x.el (modify-file-local-variable-message): New function.
6554 (modify-file-local-variable)
6555 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6556 and call `modify-file-local-variable-message' when it's non-nil.
6557 (add-file-local-variable, delete-file-local-variable)
6558 (add-file-local-variable-prop-line)
6559 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6560 and use it. (Bug#9820)
6562 2013-06-18 Juri Linkov <juri@jurta.org>
6564 * emulation/vi.el (vi-shell-op):
6565 * emulation/vip.el (vip-execute-com, ex-command):
6566 * emulation/viper-cmd.el (viper-exec-bang):
6567 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6568 the call of `shell-command-on-region'. (Bug#14637)
6570 * simple.el (shell-command-on-region): Doc fix.
6572 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6574 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6577 2013-06-18 Glenn Morris <rgm@gnu.org>
6579 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6581 * newcomment.el (comment-search-forward, comment-search-backward):
6582 Doc fix. (Bug#14376)
6584 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6586 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6587 (buffer-face-mode-invoke): Doc fix.
6589 2013-06-18 Matthias Meulien <orontee@gmail.com>
6591 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6592 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6594 2013-06-18 Glenn Morris <rgm@gnu.org>
6596 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6597 Replace obsolete function generic-make-keywords with its expansion.
6599 * progmodes/python.el (ffap-alist): Declare.
6601 * textmodes/reftex.el (bibtex-mode-map): Declare.
6603 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6605 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6606 (package-unpack, package-unpack-single): Return the pkg-dir.
6607 (package-download-transaction): Use it to update package-alist.
6609 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6611 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6614 2013-06-17 Juri Linkov <juri@jurta.org>
6616 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6618 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6620 * emacs-lisp/package.el (package-load-descriptor):
6621 Remove `with-syntax-table' call, `read' doesn't need it.
6622 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6624 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6626 * startup.el (command-line): Expand package name returned by
6627 `package--description-file' (bug#14639).
6629 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6631 * emacs-lisp/package.el (package-load-descriptor): Do not call
6632 `emacs-lisp-mode', just use its syntax table.
6634 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6636 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6637 `font-lock-extra-managed-props' if any prettifying keyword is added.
6638 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6639 (prog-mode): Use `setq-local'.
6641 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6643 * international/characters.el (standard-case-table): Set syntax of ?»
6644 and ?« to punctuation.
6646 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6648 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6649 Save relevant match data before calling `syntax-ppss' (bug#14595).
6651 2013-06-15 Juri Linkov <juri@jurta.org>
6653 * files-x.el (modify-file-local-variable-prop-line): Add local
6654 variables to the end of the existing comment on the first line.
6655 Use `file-auto-mode-skip' to skip interpreter magic line,
6656 and also skip XML declaration.
6658 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6660 * startup.el (package--builtin-versions): New var.
6661 (package-subdirectory-regexp): Remove.
6662 (package--description-file): Hard code its value instead.
6664 * emacs-lisp/package.el: Don't activate packages older than builtin.
6665 (package-obsolete-list): Rename from package-obsolete-alist, and make
6666 it into a simple list of package-desc.
6667 (package-strip-version): Remove.
6668 (package-built-in-p): Use package--builtin-versions.
6669 (package-mark-obsolete): Simplify.
6670 (package-process-define-package): Mark it obsolete if older than the
6672 (package-handle-response): Use line-end-position.
6673 (package-read-archive-contents, package--download-one-archive):
6675 (package--add-to-archive-contents): Skip if older than the builtin or
6677 (package-menu-describe-package): Fix last change.
6678 (package-list-unversioned): New var.
6679 (package-menu--generate): Use it.
6681 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6682 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6683 (autoload-builtin-package-versions): New variable.
6684 (autoload-generate-file-autoloads): Use them.
6685 Remove the list of autoloaded functions/macros from the
6686 (autoload...) comments.
6688 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6690 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6692 * simple.el (line-move-partial): Don't jump to the next screen
6693 line as soon as it becomes visible. Instead, continue enlarging
6694 the vscroll until the portion of a tall screen line that's left on
6695 display is about the height of the frame's default font.
6698 2013-06-15 Glenn Morris <rgm@gnu.org>
6700 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6701 compilation-error-regexp-alist void, or local while let-bound.
6703 * progmodes/make-mode.el (makefile-mode-syntax-table):
6704 Treat "=" as punctuation. (Bug#14614)
6706 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6708 * help-fns.el (describe-variable):
6709 Add extra line for permanent-local variables.
6711 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6713 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6714 Add export, import, library. (Bug#9164)
6715 (library): Set indent function.
6717 2013-06-14 Glenn Morris <rgm@gnu.org>
6719 * term/xterm.el (xterm--query):
6720 Stop after first matching handler. (Bug#14615)
6722 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6724 Add support for dired in saveplace.
6725 * dired.el (dired-initial-position-hook): New variable.
6726 (dired-initial-position): Call hook to place cursor position.
6727 * saveplace.el (save-place-to-alist): Add dired position.
6728 (save-place-dired-hook): New function.
6730 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6732 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6733 through a symbol rather than letrec.
6735 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6736 (package-desc): Add `dir' field.
6737 (package-desc-full-name): New function.
6738 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6739 (package-maybe-load-descriptor): Remove.
6740 (package-load-all-descriptors): Just call package-load-descriptor.
6741 (package--disabled-p): New function.
6742 (package-desc-vers, package-desc-doc): Remove aliases.
6743 (package--dir): Remove function.
6744 (package-activate): Check if a package is disabled.
6745 (package-process-define-package): New function, extracted from
6747 (define-package): Turn into a place holder.
6748 (package-unpack-single, package-tar-file-info):
6749 Use package--description-file.
6750 (package-compute-transaction): Use package--disabled-p.
6751 (package-download-transaction): Don't call
6752 package-maybe-load-descriptor since they're all loaded anyway.
6753 (package-install): Change argument to be a pkg-desc.
6754 (package-delete): Use a single pkg-desc argument.
6755 (describe-package-1): Use package-desc-dir instead of package--dir.
6756 Use package-desc property instead of package-symbol.
6757 (package-install-button-action): Adjust accordingly.
6758 (package--push): Rewrite.
6759 (package-menu--print-info): Adjust accordingly. Change the ID format
6761 (package-menu-describe-package, package-menu-get-status)
6762 (package-menu--find-upgrades, package-menu-mark-upgrades)
6763 (package-menu-execute, package-menu--name-predicate):
6765 * startup.el (package--description-file): New function.
6766 (command-line): Use it.
6767 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6768 Use package-desc-version.
6770 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6771 (byte-compile-preprocess): Use it.
6772 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6773 can't quite recognize.
6774 (byte-compile-add-to-list): Remove.
6775 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6776 (cconv-closure-convert): Add assertion.
6778 * emacs-lisp/map-ynp.el: Use lexical-binding.
6779 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6780 Factor out some repeated code.
6782 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6784 * subr.el (with-eval-after-load): New macro.
6785 (eval-after-load): Allow form to be a function.
6786 take advantage of lexical-binding.
6787 (do-after-load-evaluation): Use dolist and adjust to new format.
6788 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6790 2013-06-13 Juri Linkov <juri@jurta.org>
6792 * replace.el (perform-replace): Display "symbol " and other search
6793 modes from `isearch-message-prefix' in the *Help* buffer.
6795 * isearch.el (isearch-query-replace): Add " symbol" and other
6796 possible search modes from `isearch-message-prefix' to the prompt.
6797 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6798 when reading a regexp to collect.
6800 2013-06-13 Juri Linkov <juri@jurta.org>
6802 * isearch.el (word-search-regexp): Match whitespace if the search
6803 string begins or ends in whitespace. The LAX arg is applied to
6804 both ends of the search string. Use `regexp-quote' and explicit
6805 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6806 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6807 boundaries are replaced with symbol boundaries, and characters
6808 between symbols match non-word non-symbol syntax. (Bug#14602)
6810 2013-06-13 Juri Linkov <juri@jurta.org>
6812 * isearch.el (isearch-del-char): Don't exceed the length of
6813 `isearch-string' by the prefix arg. (Bug#14563)
6815 2013-06-13 Juri Linkov <juri@jurta.org>
6817 * isearch.el (isearch-yank-word, isearch-yank-line)
6818 (isearch-char-by-name, isearch-quote-char)
6819 (isearch-printing-char, isearch-process-search-char):
6820 Add optional count prefix arg. (Bug#14563)
6822 * international/isearch-x.el
6823 (isearch-process-search-multibyte-characters):
6824 Add optional count prefix arg.
6826 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6828 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6829 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6832 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6834 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6836 2013-06-13 Glenn Morris <rgm@gnu.org>
6838 * startup.el (tty-handle-args):
6839 Don't just discard "--" and anything after. (Bug#14608)
6841 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6843 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6845 Implement changes in Secret Service API. Make it backward compatible.
6846 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6847 (secrets-create-item): Use it. Prefix properties with interface.
6849 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6851 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6852 (term-emulate-terminal): Respect term-suppress-hard-newline.
6854 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6856 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6857 Only remove a `thumb-file' overlay. (Bug#14548)
6859 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6861 * mail/reporter.el (reporter-submit-bug-report):
6862 Handle missing package-name. (Bug#14600)
6864 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6866 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6867 (reftex-citation-prompt, reftex-default-bibliography)
6868 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6869 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6870 (reftex-bib-sort-author, reftex-bib-sort-year)
6871 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6872 (reftex-extract-bib-entries-from-thebibliography)
6873 (reftex-get-bibkey-default, reftex-get-bib-names)
6874 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6875 (reftex-format-bib-entry, reftex-parse-bibitem)
6876 (reftex-format-bibitem, reftex-do-citation)
6877 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6878 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6879 (reftex-insert-bib-matches, reftex-format-citation)
6880 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6881 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6882 existing comments into docstrings.
6884 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6886 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6888 2013-06-12 Andreas Schwab <schwab@suse.de>
6890 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6891 for auto-save files.
6893 2013-06-12 Glenn Morris <rgm@gnu.org>
6895 * ido.el (ido-delete-ignored-files): Remove.
6896 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6897 Go back to calling ido-ignore-item-p directly.
6899 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6901 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6903 * ido.el (ido-delete-ignored-files): New function,
6904 split from ido-make-file-list-1.
6905 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6906 (ido-make-file-list-1): Use ido-delete-ignored-files.
6908 2013-06-12 Leo Liu <sdl.web@gmail.com>
6910 * progmodes/octave.el (inferior-octave-startup)
6911 (inferior-octave-completion-table)
6912 (inferior-octave-track-window-width-change)
6913 (octave-eldoc-function-signatures, octave-help)
6914 (octave-find-definition): Use single quoted strings.
6915 (inferior-octave-startup-args): Change default value.
6916 (inferior-octave-startup): Do not hard code "-i" and
6917 "--no-line-editing".
6918 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6919 (inferior-octave-directory-tracker): Use it.
6920 (octave-goto-function-definition): Robustify.
6921 (octave-help): Support highlighting operators in 'See also'.
6922 (octave-find-definition): Find subfunctions only in Octave mode.
6924 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6926 * help-fns.el (help-fns--compiler-macro): If the handler function is
6927 named, then put a link to it.
6928 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6929 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6931 (cl-eval-when): Simplify debug spec.
6932 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6933 compiler-macro function instead of setting `compiler-macro-file'.
6935 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6937 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6938 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6940 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6941 Daniel Hackney <dan@haxney.org>
6943 First part of Daniel Hackney's patch to package.el.
6944 * emacs-lisp/package.el: Use defstruct.
6945 (package-desc): New, main struct.
6946 (package--bi-desc, package--ac-desc): New structs, used to describe the
6947 format in external files.
6948 (package-desc-vers): Replace with package-desc-version accessor.
6949 (package-desc-doc): Replace with package-desc-summary accessor.
6950 (package-activate-1): Remove `package' arg since the pkg-vec now
6952 (define-package): Use package-desc-from-define.
6953 (package-unpack-single): Change file-name arg to be a symbol.
6954 (package--add-to-archive-contents): Use package-desc-create and new
6955 accessor functions to package--ac-desc.
6956 (package-buffer-info, package-tar-file-info): Return a package-desc.
6957 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6958 arg to be a package-desc.
6959 (package-install-file): Adjust accordingly. Use \' to match EOS.
6960 (package--from-builtin): New function.
6961 (describe-package-1, package-menu--generate): Use it.
6962 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6963 (package-generate-autoloads): Idem and return the name of the file.
6964 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6965 Change pkg-info arg to be a package-desc.
6966 Use package-make-ac-desc.
6967 (package-upload-file): Use \' to match EOS.
6968 * finder.el (finder-compile-keywords): Use package-make-builtin.
6970 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6972 * vc/vc.el (vc-deduce-fileset): Change error message.
6973 (vc-read-backend): New function.
6974 (vc-next-action): Use it.
6976 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6978 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6979 (prolog-font-lock-keywords): Use regexp-opt instead.
6980 Don't manually highlight strings.
6981 (prolog-mode-variables): Simplify comment-start-skip.
6982 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6984 * emacs-lisp/generic.el (generic--normalise-comments)
6985 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6986 (generic-mode-set-comments): Use them.
6987 (generic-bracket-support): Use setq-local.
6988 (generic-make-keywords-list): Declare obsolete.
6990 2013-06-11 Glenn Morris <rgm@gnu.org>
6992 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6993 Prettify after setting font-lock-defaults. (Bug#14574)
6995 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6997 * replace.el (query-replace, occur-read-regexp-defaults-function)
6999 * subr.el (declare-function, number-sequence, local-set-key)
7000 (substitute-key-definition, locate-user-emacs-file)
7001 (with-silent-modifications, split-string, eval-after-load):
7002 Fix typos, remove unneeded backslashes and reflow some docstrings.
7004 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7006 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7007 default for Elisp files.
7009 2013-06-11 Glenn Morris <rgm@gnu.org>
7011 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7012 although define-derived-mode was doing this anyway. (Bug#14583)
7014 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7016 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7017 Fix make-variable-buffer-local call to refer to the correct variable.
7019 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7021 * eshell/em-term.el (eshell-visual-commands)
7022 (eshell-visual-subcommands, eshell-visual-options):
7023 Add summary line to docstrings. Add cross-references.
7025 2013-06-10 Glenn Morris <rgm@gnu.org>
7027 * epa.el (epa-read-file-name): New function. (Bug#14510)
7028 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7030 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7032 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7033 output redirection to be ignored with visual commands.
7035 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7037 * eshell/em-term.el (eshell-visual-command-p): New function.
7038 (eshell-term-initialize): Move long lambda to separate function
7039 eshell-visual-command-p.
7040 * eshell/em-dirs.el (eshell-dirs-initialise):
7041 * eshell/em-script.el (eshell-script-initialize):
7042 Add missing #' to lambda.
7044 2013-06-08 Leo Liu <sdl.web@gmail.com>
7046 * progmodes/octave.el (octave-add-log-current-defun): New function.
7047 (octave-mode): Set add-log-current-defun-function.
7048 (octave-goto-function-definition): Do not move point if not found.
7049 (octave-find-definition): Enhance to try subfunctions first.
7051 2013-06-08 Glenn Morris <rgm@gnu.org>
7053 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7054 (byte-compile-backward-char, byte-compile-backward-word):
7055 Improve previous change, to handle non-explicit nil.
7057 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7059 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7060 (smie--opener/closer-at-point): New function.
7061 (smie--matching-block-data): Use it. Don't match from right after an
7062 opener or right before a closer. Obey smie-blink-matching-inners.
7063 Don't signal a mismatch for repeated inners like "switch..case..case".
7065 2013-06-07 Leo Liu <sdl.web@gmail.com>
7067 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7069 (octave-function-header-regexp): Fix. (Bug#14570)
7070 (octave-help-mode-finish-hook, octave-help-mode-finish):
7071 Remove. Just use temp-buffer-show-hook.
7073 * newcomment.el (comment-search-backward): Revert last change.
7076 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7078 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7080 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7081 through xargs, to avoid failure due to MS-Windows limitations on
7082 command-line length.
7084 2013-06-06 Glenn Morris <rgm@gnu.org>
7086 * font-lock.el (lisp-font-lock-keywords-2):
7087 Treat user-error like error.
7089 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7090 (byte-compile-backward-char, byte-compile-backward-word):
7091 Handle explicit nil arguments. (Bug#14565)
7093 2013-06-05 Alan Mackenzie <acm@muc.de>
7095 * isearch.el (isearch-allow-prefix): New user option.
7096 (isearch-other-meta-char): Don't exit isearch when a prefix
7097 argument is typed whilst `isearch-allow-prefix' is non-nil.
7100 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7102 * autorevert.el (auto-revert-notify-handler): Use memq.
7103 Hide assertion failure.
7105 * skeleton.el: Use cl-lib.
7106 (skeleton-further-elements): Use defvar-local.
7107 (skeleton-insert): Use cl-progv.
7109 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7111 * progmodes/prog-mode.el (prog-prettify-symbols)
7112 (prog-prettify-install): Update docstrings.
7114 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7116 * simple.el: Move all the prog-mode code to prog-mode.el.
7117 * progmodes/prog-mode.el: New file.
7118 * loadup.el: Add prog-mode.el.
7120 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7122 * simple.el (prog-prettify-symbols): Add version.
7123 (prog-prettify-install): Add convenience function to prettify symbols.
7125 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7126 (perl--augmented-font-lock-keywords-1)
7127 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7128 variables and use it.
7130 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7131 (cfengine3-mode): Remove unneeded variable and use it.
7133 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7134 (lisp--augmented-font-lock-keywords-1)
7135 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7136 Remove unneeded variables and use it.
7138 2013-06-05 João Távora <joaotavora@gmail.com>
7140 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7141 to point when opening the connection. (Bug#14380)
7143 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7145 * subr.el (load-history-regexp, load-history-filename-element)
7146 (eval-after-load, after-load-functions, do-after-load-evaluation)
7147 (eval-next-after-load, display-delayed-warnings)
7148 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7149 definition of save-match-data.
7150 (overriding-local-map): Remove accidental obsolescence declaration.
7152 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7154 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7156 Generalize symbol prettify support to prog-mode and implement it
7157 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7158 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7159 (prog--prettify-font-lock-compose-symbol)
7160 (prog-prettify-font-lock-symbols-keywords): New variables and
7161 functions to support symbol prettification.
7162 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7163 (lisp--augmented-font-lock-keywords-1)
7164 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7165 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7166 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7167 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7168 Implement prettify of -> => :: strings.
7169 * progmodes/perl-mode.el (perl-prettify-symbols)
7170 (perl--font-lock-compose-symbol)
7171 (perl--font-lock-symbols-keywords): Move to prog-mode.
7172 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7173 (perl-font-lock-keywords-1)
7174 (perl-font-lock-keywords-2): Remove explicit prettify support.
7175 (perl--augmented-font-lock-keywords)
7176 (perl--augmented-font-lock-keywords-1)
7177 (perl--augmented-font-lock-keywords-2, perl-mode):
7178 Implement prettify support.
7180 2013-06-05 Leo Liu <sdl.web@gmail.com>
7182 Re-implement smie matching block highlight using
7183 show-paren-data-function. (Bug#14395)
7184 * emacs-lisp/smie.el (smie-matching-block-highlight)
7185 (smie--highlight-matching-block-overlay)
7186 (smie--highlight-matching-block-lastpos)
7187 (smie-highlight-matching-block)
7188 (smie-highlight-matching-block-mode): Remove.
7189 (smie--matching-block-data-cache): New variable.
7190 (smie--matching-block-data): New function.
7191 (smie-setup): Use smie--matching-block-data for
7192 show-paren-data-function.
7194 * progmodes/octave.el (octave-mode-menu): Fix.
7195 (octave-find-definition): Skip garbage lines.
7197 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7199 Fix compilation error with simultaneous dynamic+lexical scoping.
7200 Add warning when a defvar appears after the first let-binding.
7201 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7202 (byte-compile-close-variables): Initialize it.
7203 (byte-compile--declare-var): New function.
7204 (byte-compile-file-form-defvar)
7205 (byte-compile-file-form-define-abbrev-table)
7206 (byte-compile-file-form-custom-declare-variable): Use it.
7207 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7208 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7209 (byte-compile-bind): Handle dynamic bindings that shadow
7211 (byte-compile-unbind): Make arg non-optional.
7212 (byte-compile-let): Simplify.
7213 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7214 (cconv--analyse-function, cconv-analyse-form): Populate it.
7215 Protect byte-compile-bound-variables to limit the scope of defvars.
7216 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7217 Remove unneeded rule for `declare'.
7219 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7220 so as to avoid depending on cl-adjoin at run-time.
7221 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7223 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7224 (macroexp--warn-and-return): Use it.
7226 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7228 * lisp/subr.el: Convert to lexical binding.
7229 (overriding-local-map): Make obsolete.
7230 (add-to-list): Doc fix. Add compiler macro.
7231 (read-key): Swap values of local maps.
7233 2013-06-05 Leo Liu <sdl.web@gmail.com>
7235 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7237 2013-06-04 Leo Liu <sdl.web@gmail.com>
7239 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7240 (compilation-auto-jump): Suppress the "Mark set" message to give
7241 way to exit message.
7243 2013-06-04 Alan Mackenzie <acm@muc.de>
7245 Remove faulty optimisation from indentation calculation.
7246 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7247 search limit based on 2000 characters back from indent-point.
7249 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7251 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7253 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7255 * emacs-lisp/lisp.el: Use lexical-binding.
7256 (lisp--local-variables-1, lisp--local-variables): New functions.
7257 (lisp--local-variables-completion-table): New var.
7258 (lisp-completion-at-point): Use it complete let-bound vars.
7260 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7261 eagerly (bug#14422).
7263 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7265 * autorevert.el (auto-revert-notify-enabled)
7266 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7267 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7268 (auto-revert-notify-handler): Handle also gfilenotify.
7270 * subr.el (file-notify-handle-event): New defun. Replacing ...
7271 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7274 2013-06-03 Juri Linkov <juri@jurta.org>
7276 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7277 `M-s h .'. (Bug#14427)
7279 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7280 command `hi-lock-face-symbol-at-point'.
7281 (hi-lock-face-symbol-at-point): New command.
7282 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7283 (hi-lock-menu): Add `highlight-symbol-at-point'.
7284 (hi-lock-mode): Doc fix.
7286 * isearch.el (isearch-forward-symbol-at-point): New command.
7287 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7288 (isearch-highlight-regexp): Add a regexp which matches
7289 words/symbols for word/symbol mode.
7291 * subr.el (find-tag-default-bounds): New function with the body
7292 mostly moved from `find-tag-default'.
7293 (find-tag-default): Move most code to `find-tag-default-bounds',
7294 call it and apply `buffer-substring-no-properties' afterwards.
7296 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7298 * eshell/em-term.el (eshell-term-initialize):
7299 Use `cl-intersection' rather than `intersection'.
7301 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7303 * vc/log-view.el: Doc fix.
7304 (log-view-mode-map): Copy keymap from `special-mode-map'.
7306 2013-06-02 Eric Ludlam <zappo@gnu.org>
7308 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7309 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7310 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7311 (eieio-unbound, eieio-default-superclass)
7312 (eieio--define-field-accessors, method-static, method-before)
7313 (method-primary, method-after, method-num-lists)
7314 (method-generic-before, method-generic-primary)
7315 (method-generic-after, method-num-slots)
7316 (eieio-specialized-key-to-generic-key)
7317 (eieio--check-type, class-v, class-p)
7318 (eieio-class-name, define-obsolete-function-alias)
7319 (eieio-class-parents-fast, eieio-class-children-fast)
7320 (same-class-fast-p, class-constructor, generic-p)
7321 (generic-primary-only-p, generic-primary-only-one-p)
7322 (class-option-assoc, class-option, eieio-object-p)
7323 (class-abstract-p, class-method-invocation-order)
7324 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7325 (eieio-class-un-autoload, eieio-defclass)
7326 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7327 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7328 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7329 (eieio-defgeneric-reset-generic-form)
7330 (eieio-defgeneric-form-primary-only)
7331 (eieio-defgeneric-reset-generic-form-primary-only)
7332 (eieio-defgeneric-form-primary-only-one)
7333 (eieio-defgeneric-reset-generic-form-primary-only-one)
7334 (eieio-unbind-method-implementations)
7335 (eieio--defmethod, eieio--typep)
7336 (eieio-perform-slot-validation, eieio-validate-slot-value)
7337 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7338 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7339 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7340 (eieio-slot-name-index, eieio-class-slot-name-index)
7341 (eieio-set-defaults, eieio-initarg-to-attribute)
7342 (eieio-attribute-to-initarg, eieio-c3-candidate)
7343 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7344 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7345 (eieio-class-precedence-list, eieio-generic-call-methodname)
7346 (eieio-generic-call-arglst, eieio-generic-call-key)
7347 (eieio-generic-call-next-method-list)
7348 (eieio-pre-method-execution-functions, eieio-generic-call)
7349 (eieio-generic-call-primary-only, eieiomt-method-list)
7350 (eieiomt-optimizing-obarray, eieiomt-install)
7351 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7352 (eieio-generic-form, eieio-defmethod, make-obsolete)
7353 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7354 (defclass): Remove `eval-and-compile' from macro.
7355 (call-next-method, shared-initialize): Instead of using
7356 `scoped-class' variable, use new eieio--scoped-class, and
7357 eieio--with-scoped-class.
7358 (initialize-instance): Rename local variable 'scoped-class' to
7359 'this-class' to remove ambiguitity from old global.
7361 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7363 (eieio--scoped-class-stack): New variable.
7364 (eieio--scoped-class): New fcn.
7365 (eieio--with-scoped-class): New scoping macro.
7366 (eieio-defclass): Use pushnew instead of add-to-list.
7367 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7368 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7369 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7370 `scoped-class' variable, use new eieio--scoped-class, and
7371 eieio--with-scoped-class.
7373 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7375 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7377 * eshell/esh-ext.el (eshell-external-command): Pass args to
7378 `eshell-find-interpreter'.
7379 (eshell-find-interpreter): Add new second parameter ARGS.
7381 * eshell/em-script.el (eshell-script-initialize): Add second arg
7382 to the function added as MATCH to `eshell-interpreter-alist'.
7384 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7385 the function added as MATCH to `eshell-interpreter-alist'.
7387 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7388 (eshell-visual-options): New defcustom.
7389 (eshell-escape-control-x): Adapt docstring.
7390 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7391 `eshell-visual-options' in addition to `eshell-visual-commands'.
7392 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7394 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7396 * progmodes/python.el (python-indent-block-enders): Add break,
7397 continue and raise keywords.
7399 2013-06-01 Glenn Morris <rgm@gnu.org>
7401 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7403 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7404 * progmodes/cc-cmds.el (delete-forward-p):
7405 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7406 * progmodes/cc-engine.el (buffer-syntactic-context):
7407 * progmodes/cc-fonts.el (face-property-instance):
7408 * progmodes/cc-mode.el (set-keymap-parents):
7409 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7410 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7411 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7412 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7413 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7415 * progmodes/cc-vars.el (other): Emacs has this widget since
7416 at least 21.1, so don't (re)define it.
7418 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7419 Replace the obsolete alias pcomplete-arg-quote-list.
7421 2013-06-01 Leo Liu <sdl.web@gmail.com>
7423 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7425 (inferior-octave-minimal-columns)
7426 (inferior-octave-last-column-width): New variables.
7427 (inferior-octave-track-window-width-change): New function.
7428 (inferior-octave-mode): Adjust column width so that Octave output,
7429 for example from 'ls', can fit into the window nicely.
7431 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7433 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7434 Highlight expansions inside regexp literals.
7436 2013-05-31 Glenn Morris <rgm@gnu.org>
7438 * obsolete/sym-comp.el (symbol-complete):
7439 Replace obsolete completion-annotate-function.
7441 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7443 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7445 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7446 New function, checks if point is inside a literal that allows
7447 expression expansion.
7448 (ruby-syntax-propertize-expansion): Use it.
7449 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7452 2013-05-30 Juri Linkov <juri@jurta.org>
7454 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7456 (isearch-invisible): New variable.
7457 (isearch-forward): Doc fix.
7458 (isearch-mode): Set `isearch-invisible'
7459 to the value of `search-invisible'.
7460 (isearch-toggle-case-fold): Doc fix.
7461 (isearch-toggle-invisible): New command.
7462 (isearch-query-replace): Let-bind `search-invisible'
7463 to the value of `isearch-invisible'.
7464 (isearch-search): Use `isearch-invisible' instead of
7465 `search-invisible'. Let-bind `search-invisible'
7466 to the value of `isearch-invisible'. (Bug#11378)
7468 2013-05-30 Juri Linkov <juri@jurta.org>
7470 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7471 call when `query-flag' is nil and `search-invisible' is non-nil.
7474 2013-05-30 Glenn Morris <rgm@gnu.org>
7476 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7478 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7479 (cc-require): Suppress spurious "noruntime" warnings.
7480 (cc-require-when-compile): Use fboundp, for sake of compiler.
7482 * progmodes/cc-mode.el: Move load of cc-vars before that of
7483 cc-langs (which in turn loads cc-vars), to quieten compiler.
7485 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7487 * paren.el: Simplify the code.
7488 (show-paren-mode): Always start the timer.
7489 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7490 (show-paren--overlay, show-paren--overlay-1): Rename from
7491 show-paren-overlay and show-paren-overlay-1, and initialize to an
7492 overlay rather than to nil.
7493 (show-paren-function): Misc cleanup and simplifications.
7495 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7497 * paren.el (show-paren-data-function): New hook.
7498 (show-paren--default): New function, extracted from show-paren-function.
7499 (show-paren-function): Use show-paren-data-function.
7501 2013-05-30 Glenn Morris <rgm@gnu.org>
7503 * ielm.el (ielm-map, ielm-complete-symbol):
7504 Use completion-at-point rather than obsolete functions.
7505 (inferior-emacs-lisp-mode): Doc fix.
7506 Set completion-at-point-functions, rather than
7507 comint-dynamic-complete-functions.
7509 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7510 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7511 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7513 * image.el (image-animated-p): Tweak definition.
7515 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7516 (rlogin-process-connection-type): Tweak default. Add set-after.
7517 (rlogin-host): Doc fix.
7518 (rlogin): Tweak prompt.
7519 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7521 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7522 * progmodes/tcl.el (inferior-tcl-mode-map):
7523 Use completion-at-point rather than obsolete alias.
7525 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7527 * minibuffer.el (read-file-name-completion-ignore-case):
7528 Move before completion--in-region, for eager macro expansion.
7530 2013-05-29 Juri Linkov <juri@jurta.org>
7532 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7533 for total count of matching lines. Add `global-matches' for total
7534 count of matches. Rename `matches' to `lines' for count of
7535 matching lines. Add `matches' for count of matches.
7536 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7537 to `prev-line' for line number of prev match endpt.
7538 Increment `matches' for every match. Print the number of
7539 matching lines in the header.
7540 (occur-context-lines): Rename `lines' to `curr-line'.
7541 Rename `prev-lines' to `prev-line'. (Bug#14017)
7543 2013-05-29 Juri Linkov <juri@jurta.org>
7545 * replace.el (perform-replace): Add `skip-read-only-count',
7546 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7547 Increment them for corresponding conditions and report the number
7548 of skipped occurrences in the final message. (Bug#11746)
7549 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7550 (replace-string, replace-regexp): Doc fix.
7552 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7554 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7556 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7557 prog-mode-map (bug#14504).
7559 2013-05-29 Leo Liu <sdl.web@gmail.com>
7561 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7562 (octave-help): Small simplification.
7564 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7565 off the highlight first.
7567 2013-05-29 Glenn Morris <rgm@gnu.org>
7569 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7570 Handle idlwave-last-system-routine-info-cons-cell being nil.
7572 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7573 (idlwave-write-paths): Simplify via with-temp-buffer.
7575 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7576 * emulation/cua-rect.el: Also load cua-base at run time.
7578 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7579 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7580 (cperl-imenu-on-info): Require imenu.
7582 2013-05-28 Alan Mackenzie <acm@muc.de>
7584 Handle "capitalised keywords" correctly.
7585 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7587 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7589 * eshell/em-unix.el: Add -r option to cp.
7591 2013-05-28 Glenn Morris <rgm@gnu.org>
7593 * vc/vc-arch.el (vc-exec-after): Declare.
7594 (vc-switches): Autoload.
7595 * vc/vc-bzr.el: No need to require vc when compiling.
7596 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7597 (vc-resynch-buffer, vc-dir-refresh): Declare.
7598 (vc-setup-buffer, vc-switches): Autoload.
7599 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7600 (vc-resynch-buffer): Declare.
7601 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7602 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7603 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7604 (grep-read-regexp, grep-read-files, grep-expand-template)
7605 (vc-dir-refresh): Declare.
7606 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7607 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7608 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7609 * vc/vc-mtn.el (vc-exec-after): Declare.
7610 (vc-switches): Autoload.
7611 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7612 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7613 (vc-file-tree-walk): Declare.
7614 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7615 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7616 (vc-tag-precondition, vc-rename-master): Autoload.
7617 * vc/vc-svn.el (vc-exec-after): Declare.
7618 (vc-switches, vc-setup-buffer): Autoload.
7619 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7621 (vc-resynch-buffer): Declare.
7623 * obsolete/fast-lock.el (byte-compile-warnings):
7624 Don't warn about obsolete features in this obsolete file.
7626 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7627 Move definition before use.
7629 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7630 (dun-unix-verbs): Remove dun-zippy.
7631 (dun-zippy): Remove function.
7633 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7635 2013-05-27 Juri Linkov <juri@jurta.org>
7637 * replace.el (replace-search): New function with code moved out
7638 from `perform-replace'.
7639 (replace-highlight, replace-dehighlight): Move function definitions
7640 up closer to `replace-search'. (Bug#11746)
7642 2013-05-27 Juri Linkov <juri@jurta.org>
7644 * replace.el (perform-replace): Ignore invisible matches.
7645 In addition to checking `query-replace-skip-read-only', also
7646 filter out matches by calling `run-hook-with-args-until-failure'
7647 on `isearch-filter-predicates', and also check `search-invisible'
7648 for t or call `isearch-range-invisible'.
7649 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7651 2013-05-27 Juri Linkov <juri@jurta.org>
7653 * isearch.el (isearch-filter-predicates): Rename from
7654 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7655 (isearch-message-prefix): Display text from the property
7656 `isearch-message-prefix' of the currently active filters.
7657 (isearch-search): Don't compare `isearch-filter-predicate' with
7658 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7659 on `isearch-filter-predicates'. Also check `search-invisible' for t
7660 or call `isearch-range-invisible'.
7661 (isearch-filter-visible): Make obsolete.
7662 (isearch-lazy-highlight-search):
7663 Call `run-hook-with-args-until-failure' on
7664 `isearch-filter-predicates' and use `isearch-range-invisible'.
7666 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7667 `isearch-filter-predicates' instead of `funcall'ing
7668 `isearch-filter-predicate'.
7669 (Info-mode): Set `Info-isearch-filter' to
7670 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7672 * dired-aux.el (dired-isearch-filter-predicate-orig):
7674 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7675 (dired-isearch-filenames-end): Add and remove
7676 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7677 instead of changing the value of `isearch-filter-predicate'.
7678 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7679 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7680 Put property `isearch-message-prefix' to "filename " on
7681 `dired-isearch-filter-filenames'.
7683 * wdired.el (wdired-change-to-wdired-mode):
7684 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7685 locally instead of changing `isearch-filter-predicate'.
7686 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7688 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7690 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7691 return the commit hash (Bug#14459). Also set the
7692 `vc-git-detached' property.
7693 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7694 (vc-git-mode-line-string): Use the same help-echo format whether
7695 in detached mode or not, because we know the actual revision now.
7696 When in detached mode, shorten the revision to 7 chars.
7698 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7700 * emacs-lisp/easy-mmode.el (define-minor-mode):
7701 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7702 mode hook and provide a docstring.
7704 2013-05-27 Alan Mackenzie <acm@muc.de>
7706 Remove spurious syntax-table text properties inserted by C-y.
7707 * progmodes/cc-mode.el (c-after-change): Also clear hard
7708 syntax-table property with value nil.
7710 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7712 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7713 when reading the events; the buffer layout shall not be changed.
7715 2013-05-27 Leo Liu <sdl.web@gmail.com>
7717 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7719 (inferior-octave-directory-tracker): Automatically re-sync
7721 (octave-help): Improve handling of 'See also'.
7723 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7725 * doc-view.el: Minor naming convention tweaks.
7726 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7728 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7729 even if there's no `display' property yet (bug#14435).
7731 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7733 * subr.el (unmsys--file-name): Rename from reveal-filename.
7735 * Makefile.in (custom-deps, finder-data, autoloads)
7736 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7737 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7738 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7740 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7742 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7743 error-completion on the first 2 args of condition-case (bug#14446).
7746 2013-05-25 Leo Liu <sdl.web@gmail.com>
7748 * comint.el (comint-previous-matching-input): Do not flood the
7749 *Messages* buffer with trivial messages.
7751 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7753 * progmodes/flymake.el (flymake-nop): Don't return a string.
7754 (flymake-set-at): Fix typo.
7756 * simple.el (read--expression): New function, extracted from
7757 eval-expression. Set completion-at-point-functions (bug#14465).
7758 (eval-expression, eval-minibuffer): Use it.
7760 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7762 * progmodes/flymake.el (flymake-save-buffer-in-file)
7763 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7764 (flymake-selected-frame, flymake-log, flymake-ins-after)
7765 (flymake-set-at, flymake-get-buildfile-from-cache)
7766 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7767 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7768 Refine the doc string.
7769 (flymake-get-file-name-mode-and-masks): Reformat.
7770 (flymake-get-real-file-name-function): Fix a minor bug.
7772 2013-05-24 Juri Linkov <juri@jurta.org>
7774 * progmodes/grep.el (grep-mode-font-lock-keywords):
7775 Support =linenumber= format used by git-grep for lines with
7776 function names. (Bug#13549)
7778 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7780 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7781 0 after a semi-colon; it works better for smie-auto-fill.
7782 (octave--indent-new-comment-line): New function.
7783 (octave-indent-new-comment-line): Use it (indirectly).
7784 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7785 modify comment-line-break-function.
7787 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7788 (smie-setup): Use add-function to set it.
7790 2013-05-24 Sam Steingold <sds@gnu.org>
7792 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7793 argument (before the `interactive' argument).
7795 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7797 * image-mode.el (image-mode-winprops): Add winprops to
7798 image-mode-winprops-alist before running
7799 image-mode-new-window-functions.
7800 * doc-view.el (doc-view-new-window-function): Don't delay
7801 doc-view-goto-page via timers (bug#14435).
7803 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7805 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7806 (doc-view-desktop-save-buffer): New function.
7807 (doc-view-restore-desktop-buffer): New function.
7808 (desktop-buffer-mode-handlers):
7809 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7811 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7812 `desktop-save-buffer' function.
7814 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7816 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7817 (tramp-gvfs-file-name-handler): Raise a user error when
7818 `tramp-gvfs-enabled' is nil.
7819 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7820 Do not raise a user error when loading package. (Bug#14447)
7822 * net/xesam.el: Move to obsolete/.
7824 2013-05-24 Glenn Morris <rgm@gnu.org>
7826 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7828 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7830 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7831 (Info-find-node, Man-getpage-in-background): Declare.
7833 * mail/unrmail.el (unrmail):
7834 Replace obsolete detect-coding-with-priority.
7836 * net/socks.el (socks-split-string): Use this rather than split-string.
7837 (socks-nslookup-host): Update for above change.
7838 (dynamic-choice, s5-dynamic-choice-match)
7839 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7840 Comment out unused code.
7842 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7843 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7844 (gud-tooltip-echo-area): Make obsolete.
7845 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7847 * progmodes/js.el (js--optimize-arglist): Declare.
7849 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7851 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7852 (ediff-window-C): Declare.
7854 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7855 Tweak requires to silence compiler.
7857 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7858 (he-search-string, he-tried-table, he-expand-list)
7859 (he-init-string, he-string-member, he-substitute-string)
7860 (he-reset-string): Declare.
7862 * obsolete/options.el (list-options): Use custom-variable-p,
7863 rather than obsolete alias.
7865 2013-05-23 Sam Steingold <sds@gnu.org>
7867 * simple.el (shell-command-on-region): Pass the `replace' argument
7868 down to `call-process-region' to comply with the doc as reported on
7869 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7871 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7873 * emacs-lisp/smie.el (smie-indent-forward-token)
7874 (smie-indent-backward-token): Handle string tokens (bug#14381).
7876 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7878 * ielm.el (ielm-menu): New menu.
7879 (inferior-emacs-lisp-mode): Set comment-start.
7881 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7883 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7884 Fix deactivate action.
7886 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7887 Add cleveref macros.
7889 * lisp/textmodes/reftex-parse.el
7890 (reftex-locate-bibliography-files): Accept options for
7891 bibliography commands.
7892 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7893 Add addbibresource. Basic Biblatex support.
7895 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7897 * net/tramp-gvfs.el (top):
7898 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7899 when loading package. (Bug#14447)
7901 2013-05-23 Glenn Morris <rgm@gnu.org>
7903 * progmodes/js.el: No need to load comint when compiling.
7904 (ring-insert, comint-send-string, comint-send-input)
7905 (comint-last-input-end, ido-chop): Declare.
7907 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7908 * vc/ediff-mult.el: Adjust requires.
7909 (ediff-directories-internal, ediff-directory-revisions-internal)
7910 (ediff-patch-file-internal): Declare.
7911 * vc/ediff-ptch.el: Adjust requires.
7912 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7913 (ediff-find-file): Autoload.
7914 * vc/ediff-util.el: No need to load ediff when compiling.
7915 (ediff-regions-internal): Declare.
7916 * vc/ediff-wind.el: Adjust requires.
7917 (ediff-compute-toolbar-width): Define when compiling.
7918 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7919 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7920 (dired-get-filename, dired-get-marked-files)
7921 (ediff-last-dir-patch, ediff-patch-default-directory)
7922 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7923 (ediff-patch-buffer-internal): Declare.
7925 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7926 (ispell-process, ispell-buffer-local-words, lm-summary)
7927 (lm-section-start, lm-section-end): Declare.
7928 (checkdoc-ispell-init): Simplify.
7930 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7931 (he-string-member, he-reset-string, he-substitute-string): Declare.
7933 * eshell/em-ls.el: Adjust requires.
7934 (eshell-glob-regexp): Declare.
7935 * eshell/em-tramp.el: Adjust requires.
7936 (eshell-parse-command): Autoload.
7937 * eshell/em-xtra.el: Adjust requires.
7938 (eshell-parse-command): Autoload.
7939 * eshell/esh-ext.el: Adjust requires.
7940 (eshell-parse-command, eshell-close-handles): Autoload.
7941 * eshell/esh-io.el: Adjust requires.
7942 (eshell-output-filter): Autoload.
7943 * eshell/esh-util.el: No need to load tramp when compiling.
7944 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7946 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7947 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7948 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7949 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7950 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7951 * eshell/esh-opt.el, eshell/esh-proc.el:
7952 * eshell/esh-var.el: Adjust requires.
7953 * eshell/eshell.el: Do not require esh-util twice.
7954 (eshell-add-input-to-history): Declare.
7955 (eshell-command): Check history module is active before using it.
7957 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7959 2013-05-22 Leo Liu <sdl.web@gmail.com>
7961 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7963 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7965 * autorevert.el (auto-revert-notify-add-watch)
7966 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7967 it indicates changes in file modification time.
7969 2013-05-22 Glenn Morris <rgm@gnu.org>
7971 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7972 Always delete the autoloaded function from the noruntime and
7973 unresolved functions lists.
7975 * allout.el: No need to load epa, epg, overlay when compiling.
7976 (epg-context-set-passphrase-callback, epg-list-keys)
7977 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7978 (epg-key-user-id-list): Declare.
7980 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7981 (viper-set-parsing-style-toggling-macro)
7982 (viper-set-emacs-state-searchstyle-macros):
7983 Use called-interactively-p on Emacs.
7984 (viper-looking-back): Make it an obsolete alias. Update callers.
7985 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7986 Use looking-back rather than viper-looking-back.
7987 (viper-tmp-insert-at-eob, viper-enlarge-region)
7988 (viper-read-string-with-history, viper-register-to-point)
7989 (viper-append-to-register, viper-change-state-to-vi)
7990 (viper-backward-char-carefully, viper-forward-char-carefully)
7991 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7992 (viper-change-state-to-emacs): Declare.
7993 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7994 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7995 * emulation/viper-mous.el: Do not load viper-cmd.
7996 (viper-backward-char-carefully, viper-forward-char-carefully)
7997 (viper-forward-word, viper-adjust-window): Declare.
7999 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8001 * progmodes/idlw-help.el (idlwave-help-fontify):
8002 Use called-interactively-p.
8004 * term/w32console.el (w32-get-console-codepage)
8005 (w32-get-console-output-codepage): Declare.
8007 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8008 Remove unnecessary declarations.
8009 (dframe-message): Doc fix.
8011 * info.el (dframe-select-attached-frame, dframe-current-frame):
8014 * speedbar.el (speedbar-message): Make it an obsolete alias.
8016 (speedbar-with-attached-buffer)
8017 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8018 (speedbar-with-writable): Use backquote.
8019 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8020 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8021 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8022 rather than speedbar- aliases.
8023 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8024 (speedbar-make-specialized-keymap, speedbar-insert-button)
8025 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8026 (speedbar-do-function-pointer): Declare.
8027 (rmail-speedbar-button, rmail-speedbar-find-file)
8028 (rmail-speedbar-move-message):
8029 Use dframe-with-attached-buffer rather than speedbar- alias.
8030 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8031 (dframe-message, speedbar-make-specialized-keymap)
8032 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8033 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8034 (speedbar-insert-button, dframe-select-attached-frame)
8035 (dframe-maybee-jump-to-attached-frame)
8036 (speedbar-change-initial-expansion-list)
8037 (speedbar-previously-used-expansion-list-name): Declare.
8038 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8039 Use dframe-message, dframe-with-attached-buffer rather than
8041 (gud-sentinel): Silence compiler.
8042 * progmodes/vhdl-mode.el (speedbar-refresh)
8043 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8044 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8045 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8046 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8047 (speedbar-file-lists, speedbar-make-tag-line)
8048 (speedbar-line-directory, speedbar-goto-this-file)
8049 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8050 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8051 (speedbar-make-button, speedbar-reset-scanners)
8052 (speedbar-files-item-info, speedbar-line-text)
8053 (speedbar-find-file-in-frame, speedbar-set-timer)
8054 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8055 (speedbar-with-writable): Do not (re)define it.
8056 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8057 rather than speedbar- alias.
8059 2013-05-21 Leo Liu <sdl.web@gmail.com>
8061 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8063 (octave-mode): Tweak fill-nobreak-predicate.
8064 (inferior-octave-startup): Check process to avoid infinite loop.
8065 (inferior-octave): Pop to buffer first to show abornmal process
8068 2013-05-21 Glenn Morris <rgm@gnu.org>
8070 * printing.el (pr-menu-bar): Define when compiling.
8072 2013-05-21 Leo Liu <sdl.web@gmail.com>
8074 * progmodes/octave.el (octave-auto-fill): Remove.
8075 (octave-indent-new-comment-line): Improve.
8076 (octave-mode): Use auto fill mode through
8077 comment-line-break-function and fill-nobreak-predicate.
8078 (octave-goto-function-definition): Support DEFUN_DLD.
8079 (octave-beginning-of-defun): Small tweak.
8080 (octave-help): Show parent directory.
8082 2013-05-21 Glenn Morris <rgm@gnu.org>
8084 * files.el (dired-unmark):
8085 * progmodes/gud.el (gdb-input): Update declarations.
8087 * calculator.el (electric, ehelp): No need to load when compiling.
8088 (Electric-command-loop, electric-describe-mode): Declare.
8090 * doc-view.el (doc-view-current-converter-processes): Move before use.
8092 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8093 Move MODE-set-explicitly definition before use.
8095 * international/mule-diag.el (mule-diag):
8096 Don't use obsolete window-system-version.
8098 * mail/feedmail.el (smtpmail): No need to load when compiling.
8099 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8101 * mail/mail-utils.el (rfc822): No need to load when compiling.
8102 (rfc822-addresses): Autoload it.
8103 (mail-strip-quoted-names): Trivial simplification.
8105 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8106 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8108 * net/snmp-mode.el (tempo): Don't duplicate requires.
8110 * progmodes/prolog.el (info): No need to load when compiling.
8111 (comint): Require before shell requires it.
8112 (Info-goto-node): Autoload it.
8113 (Info-follow-nearest-node): Declare.
8114 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8116 * textmodes/artist.el (picture-mode-exit): Declare.
8118 * textmodes/reftex-parse.el (reftex-parse-from-file):
8119 Trivial rewrite so the compiler can parse it better.
8121 2013-05-20 Leo Liu <sdl.web@gmail.com>
8123 * progmodes/octave.el (octave-help-mode-map)
8124 (octave-help-mode-finish-hook): New variables.
8125 (octave-help-mode, octave-help-mode-finish): New functions.
8126 (octave-help): Use octave-help-mode.
8128 2013-05-20 Glenn Morris <rgm@gnu.org>
8130 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8132 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8134 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8135 start at point, so that expansion starting right after opening
8136 slash in a regexp is recognized.
8137 (ruby-syntax-before-regexp-re): New defvar, extracted from
8138 ruby-syntax-propertize-function. Since the value of this regexp
8139 is looked up at runtime now, we should be able to turn
8140 `ruby-syntax-methods-before-regexp' into a defcustom later.
8141 (ruby-syntax-propertize-function): Split regexp matching into two
8142 parts, for opening and closing slashes. That allows us to skip
8143 over string interpolations and support multiline regexps.
8144 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8145 for them, which calls `ruby-syntax-propertize-expansion'.
8146 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8147 call to `ruby-syntax-propertize-function'.
8148 (ruby-syntax-propertize-expansion): Extracted from
8149 `ruby-syntax-propertize-expansions'. Handles one expansion.
8150 (ruby-syntax-propertize-percent-literal): Leave point right after
8151 the percent symbol, so that the expression expansion rule can
8152 propertize the contents.
8153 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8155 (ruby-syntax-propertize-expansions): Remove.
8157 2013-05-18 Juri Linkov <juri@jurta.org>
8159 * man.el (Man-default-man-entry): Remove `-' from the end
8160 of the default value. (Bug#14400)
8162 2013-05-18 Glenn Morris <rgm@gnu.org>
8164 * comint.el (comint-password-prompt-regexp):
8165 Allow "password for XXX" where XXX contains colons (eg https://...).
8167 2013-05-18 Leo Liu <sdl.web@gmail.com>
8169 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8170 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8171 (octave-source-directories): Don't check process.
8172 (octave-source-directories, octave-find-definition): Doc fix.
8174 2013-05-18 Glenn Morris <rgm@gnu.org>
8176 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8177 Remove backspace/delete bindings. (Bug#14392)
8179 * cus-dep.el (custom-make-dependencies): Sort the output.
8180 (custom-versions-load-alist): Convert comment to doc.
8182 2013-05-17 Leo Liu <sdl.web@gmail.com>
8184 * newcomment.el (comment-search-backward): Stricter in finding
8185 comment start. (Bug#14303)
8187 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8188 (octave-comment-start-skip): Properly anchored.
8190 2013-05-17 Leo Liu <sdl.web@gmail.com>
8192 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8193 Clean up when turned off. (Bug#14395)
8194 (smie--highlight-matching-block-overlay): No longer buffer-local.
8195 (smie-highlight-matching-block): Adjust.
8197 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8199 Doc string fix for "nanoseconds" (Bug#14406).
8200 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8201 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8203 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8205 * calc/calc-units.el (math-extract-units): Preserve powers
8208 2013-05-17 Leo Liu <sdl.web@gmail.com>
8210 * subr.el (delete-consecutive-dups): New function.
8211 * ido.el (ido-set-matches-1): Use it.
8212 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8213 * ido.el (ido-remove-consecutive-dups): Remove.
8215 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8217 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8218 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8219 regexp-opt's `words'.
8221 2013-05-16 Leo Liu <sdl.web@gmail.com>
8223 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8224 (smie--highlight-matching-block-overlay)
8225 (smie--highlight-matching-block-lastpos)
8226 (smie--highlight-matching-block-timer): New variables.
8227 (smie-highlight-matching-block): New function.
8228 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8229 (smie-setup): Conditionally enable smie-blink-matching-open.
8231 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8233 Sync with upstream verilog-mode r840.
8234 * progmodes/verilog-mode.el (verilog-mode-version)
8235 (verilog-mode-release-date): Update.
8236 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8237 (verilog-sig-tieoff): Fix string error on
8238 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8239 (verilog-read-decls): Fix parameters confusing
8240 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8242 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8244 * subr.el (reveal-filename): New function.
8246 * loadup.el: Compute Emacs executable versions on MS-Windows,
8247 where executables have the .exe extension. Add a hard link
8248 emacs-XX.YY.ZZ.exe on MS-Windows.
8250 * Makefile.in (XARGS_LIMIT): New variable.
8251 (custom-deps, finder-data, autoloads)
8252 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8253 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8254 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8255 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8257 2013-05-16 Leo Liu <sdl.web@gmail.com>
8259 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8260 (octave-mode-menu, octave-mode-map): Remove its uses.
8262 2013-05-16 Reto Zimmermann <reto@gnu.org>
8264 Sync with upstream vhdl mode v3.34.2.
8265 * progmodes/vhdl-mode.el: Use `push' throughout.
8266 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8267 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8268 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8269 (vhdl-actual-generic-name): New option to derive actual generic name.
8270 (vhdl-port-paste-signals): Replace formal by actual generics.
8271 (vhdl-beautify): New name for old group vhdl-align. Update users.
8272 (vhdl-beautify-options): New option.
8273 (vhdl-last-input-event): New compat alias. Use throughout.
8274 (vhdl-goto-line): Replace user level function `goto-line'.
8275 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8276 vhdl-fix-statement-buffer.
8277 (vhdl-create-mode-menu): Add some entries.
8278 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8279 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8280 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8281 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8282 to force statements on one line.
8283 (vhdl-remove-trailing-spaces-region):
8284 New, split from vhdl-remove-trailing-spaces.
8285 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8286 Respect vhdl-beautify-options.
8287 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8288 (vhdl-update-sensitivity-list): Not add with index if exists without.
8289 Not include array index with signal. Ignore keywords in comments.
8290 (vhdl-get-visible-signals): Regexp tweaks.
8291 (vhdl-template-component-inst): Handle empty library.
8292 (vhdl-template-type): Add template for 'enum' type.
8293 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8294 Use vhdl-replace-string.
8295 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8296 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8297 (vhdl-speedbar-initialize): Update for above name change.
8298 (vhdl-compose-wire-components): Fix in handling of constants.
8299 (vhdl-error-regexp-emacs-alist): New variable.
8300 (vhdl-error-regexp-add-emacs): New function;
8301 adds support for new compile.el (Emacs 22+)
8302 (vhdl-generate-makefile-1): Change target order for single lib. units.
8303 Allow use of absolute file names.
8305 2013-05-16 Leo Liu <sdl.web@gmail.com>
8307 * simple.el (prog-indent-sexp): Indent enclosing defun.
8309 2013-05-15 Glenn Morris <rgm@gnu.org>
8311 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8312 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8313 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8314 (whitespace-highlight): Move to whitespace group.
8316 * comint.el (comint-source):
8317 * pcmpl-linux.el (pcmpl-linux):
8318 * shell.el (shell-faces):
8319 * eshell/esh-opt.el (eshell-opt):
8320 * international/ccl.el (ccl): Remove empty custom groups.
8322 * completion.el (dynamic-completion-mode):
8323 * jit-lock.el (jit-lock-debug-mode):
8324 * minibuffer.el (completion-in-region-mode):
8325 * type-break.el (type-break-mode-line-message-mode)
8326 (type-break-query-mode):
8327 * emulation/tpu-edt.el (tpu-edt-mode):
8328 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8329 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8330 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8332 * term/xterm.el (xterm): Change parent group to terminals.
8334 * master.el (master): Remove empty custom group.
8335 (master-mode): Remove unused :group argument.
8336 * textmodes/refill.el (refill): Remove empty custom group.
8337 (refill-mode): Remove unused :group argument.
8339 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8341 * cus-dep.el: Provide a feature.
8342 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8343 Don't mistakenly ignore files whose basenames match a basename
8344 from preloaded-file-list (eg cedet/ede/simple.el).
8345 Add a fallback method for getting :group.
8347 2013-05-15 Juri Linkov <juri@jurta.org>
8349 * isearch.el (isearch-char-by-name): Rename from
8350 `isearch-insert-char-by-name'. Doc fix.
8351 (isearch-forward): Mention `isearch-char-by-name' in
8352 the docstring. (Bug#13348)
8354 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8355 `exit-minibuffer' instead of
8356 `isearch-nonincremental-exit-minibuffer'.
8357 (isearch-edit-string): Remove mention of
8358 `isearch-nonincremental-exit-minibuffer' from docstring.
8359 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8360 (isearch-forward-exit-minibuffer)
8361 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8363 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8365 * loadup.el: Just use unversioned DOC.
8367 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8368 literals as extending to EOB.
8369 (nxml-last-fontify-end): Remove unused variable.
8370 (nxml-after-change1): Use with-silent-modifications.
8371 (nxml-extend-after-change-region): Simplify.
8372 (nxml-extend-after-change-region1): Remove function.
8373 (nxml-after-change1): Don't adjust for dependent regions.
8374 (nxml-fontify-matcher): Simplify.
8375 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8376 (xmltok-add-dependent): Remove function.
8377 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8378 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8379 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8380 unclosed <[[, <?, comment, and other literals as extending to EOB.
8381 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8382 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8384 (rng-do-some-validation-1): Don't mark dependent regions.
8385 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8386 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8387 (nxml-clear-dependent-regions): Remove functions.
8388 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8389 (nxml-ensure-scan-up-to-date):
8390 Don't clear&mark dependent regions.
8392 2013-05-15 Leo Liu <sdl.web@gmail.com>
8394 * progmodes/octave.el (octave-goto-function-definition):
8395 Improve and fix callers.
8397 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8399 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8400 the setter (bug#14387).
8402 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8403 surrounding group (bug#14402).
8405 2013-05-14 Juri Linkov <juri@jurta.org>
8407 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8410 2013-05-14 Glenn Morris <rgm@gnu.org>
8412 * progmodes/f90.el (f90-imenu-generic-expression):
8413 Fix typo in 2013-05-08 change. (Bug#14402)
8415 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8417 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8418 Remove signals for which replies are never received.
8420 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8422 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8423 (gdb-handler-alist, gdb-handler-number): Remove variables.
8424 (gdb-handler-list): New variable.
8425 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8426 (gdb-pending-handler-p, gdb-handle-reply)
8427 (gdb-remove-all-pending-triggers): New functions.
8428 (gdb-discard-unordered-replies): New defcustom.
8429 (gdb-handler): New defstruct.
8430 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8431 instead of gdb-pending-triggers. Update docstring.
8432 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8433 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8434 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8435 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8436 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8437 (gdb-frame-handler): Pending triggers are now automatically managed.
8438 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8440 (gdb-input): Automatically handles pending triggers. Update docstring.
8441 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8442 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8444 (gdb-done-or-error): Now use gdb-handle-reply.
8446 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8448 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8451 2013-05-14 Glenn Morris <rgm@gnu.org>
8453 * subr.el (user-emacs-directory-warning): New option.
8454 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8456 2013-05-14 Leo Liu <sdl.web@gmail.com>
8458 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8460 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8461 (octave-font-lock-texinfo-comment): Fix invalid search bound
8462 error: wrong side of point.
8464 2013-05-14 Glenn Morris <rgm@gnu.org>
8466 * progmodes/flymake.el (flymake-xml-program): New option.
8467 (flymake-xml-init): Use it.
8469 * term/xterm.el: Provide a feature.
8471 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8473 2013-05-13 Glenn Morris <rgm@gnu.org>
8475 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8476 Add compat aliases as a hack workaround. (Bug#14384)
8478 2013-05-13 Leo Liu <sdl.web@gmail.com>
8480 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8482 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8484 (octave-comment-start-skip): Include %!.
8485 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8487 2013-05-12 Leo Liu <sdl.web@gmail.com>
8489 * progmodes/octave.el (inferior-octave-startup): Store the value
8490 of __octave_srcdir__ for octave-source-directories.
8491 (inferior-octave-check-process): New function refactored out of
8492 inferior-octave-send-list-and-digest.
8493 (octave-source-directories)
8494 (octave-find-definition-filename-function): New variables.
8495 (octave-source-directories)
8496 (octave-find-definition-default-filename): New functions.
8497 (octave-find-definition): Improve to find functions implemented in C++.
8499 2013-05-12 Glenn Morris <rgm@gnu.org>
8501 * calendar/diary-lib.el (diary-outlook-format-1):
8502 Don't include dayname in the output. (Bug#14349)
8504 2013-05-11 Glenn Morris <rgm@gnu.org>
8506 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8508 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8509 Treat cc-provide like provide.
8511 2013-05-11 Kevin Ryde <user42@zip.com.au>
8513 * cus-dep.el (custom-make-dependencies):
8514 Use generated-autoload-load-name for the sake of files such
8515 such cedet/semantic/bovine/c.el, where the base file name
8516 is not in load-path. (Bug#5277)
8518 2013-05-11 Glenn Morris <rgm@gnu.org>
8520 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8523 2013-05-11 Leo Liu <sdl.web@gmail.com>
8525 * progmodes/octave.el (octave-indent-comment): Improve.
8526 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8527 (octave-eldoc-function-signatures, octave-eldoc-function):
8529 (octave-mode, inferior-octave-mode): Add eldoc support.
8531 2013-05-11 Richard Stallman <rms@gnu.org>
8533 * epa.el (epa-decrypt-file): Take output file name as argument
8534 and read it using `interactive'.
8536 2013-05-11 Leo Liu <sdl.web@gmail.com>
8538 * progmodes/octave.el (octave-beginning-of-line)
8539 (octave-end-of-line): Check before using up-list because it jumps
8540 out of more syntactic contructs since moving to smie.
8541 (octave-indent-comment): New function.
8542 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8543 (octave-begin-keywords, octave-end-keywords)
8544 (octave-reserved-words, octave-smie-bnf-table)
8545 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8547 2013-05-11 Glenn Morris <rgm@gnu.org>
8549 * faces.el (internal-face-x-get-resource):
8550 * frame.el (ns-display-monitor-attributes-list):
8551 * calc/calc-aent.el (math-to-radians-2):
8552 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8555 * calc/calc-menu.el: Make it loadable in isolation.
8557 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8558 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8559 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8560 (eudc-bbdb-query-internal): Require 'bbdb.
8562 * lpr.el (lpr-headers-switches):
8563 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8565 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8567 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8569 * term.el (term-set-escape-char): Make it idempotent.
8571 2013-05-10 Leo Liu <sdl.web@gmail.com>
8573 * progmodes/octave.el (inferior-octave-completion-table):
8574 No longer a function and all uses changed. Use cache to speed up
8575 completion due to bug#11906.
8576 (octave-beginning-of-defun): Re-write to be more general.
8578 2013-05-10 Glenn Morris <rgm@gnu.org>
8580 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8582 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8584 * comint.el (comint-redirect-send-command-to-process): Use :around
8585 rather than :override for comint-redirect-filter.
8586 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8587 Call it instead of comint-redirect-original-filter-function (which
8588 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8590 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8592 * frame.el (display-monitor-attributes-list): Add NS case.
8593 (ns-display-monitor-attributes-list): Declare.
8595 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8597 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8599 2013-05-09 Glenn Morris <rgm@gnu.org>
8601 * international/fontset.el (vertical-centering-font-regexp):
8604 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8606 * bookmark.el (bookmark-search-delay):
8607 * cus-start.el (vertical-centering-font-regexp):
8608 * ps-mule.el (ps-mule-font-info-database-default):
8609 * ps-print.el (ps-default-fg, ps-default-bg):
8610 * type-break.el (type-break-good-break-interval):
8611 * whitespace.el (whitespace-indentation-regexp)
8612 (whitespace-space-after-tab-regexp):
8613 * emacs-lisp/testcover.el (testcover-1value-functions)
8614 (testcover-noreturn-functions, testcover-progn-functions)
8615 (testcover-prog1-functions):
8616 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8617 * eshell/em-glob.el (eshell-glob-translate-alist):
8618 * play/tetris.el (tetris-tty-colors):
8619 * progmodes/cpp.el (cpp-face-default-list):
8620 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8621 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8622 (idlwave-help-browser-generic-args):
8623 * progmodes/make-mode.el (makefile-special-targets-list):
8624 * progmodes/python.el (python-shell-virtualenv-path):
8625 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8626 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8627 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8628 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8629 * textmodes/reftex-vars.el (reftex-format-label-function):
8630 * textmodes/remember.el (remember-diary-file): Fix custom types.
8632 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8635 2013-05-09 Leo Liu <sdl.web@gmail.com>
8637 * progmodes/octave.el (inferior-octave-completion-at-point):
8638 Restore file completion. (Bug#14300)
8639 (inferior-octave-startup): Fix incorrect highlighting for the
8642 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8644 * progmodes/ruby-mode.el: First cut at SMIE support.
8645 (ruby-use-smie): New var.
8646 (ruby-smie-grammar): New constant.
8647 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8648 (ruby-smie--forward-token, ruby-smie--backward-token)
8649 (ruby-smie-rules): New functions.
8650 (ruby-mode-variables): Setup SMIE if applicable.
8652 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8654 * simple.el (line-move-visual): Signal beginning/end of buffer
8655 only if vertical-motion moved less than it was requested. Avoids
8656 silly incorrect error messages when there are display strings with
8657 multiple newlines at EOL.
8659 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8661 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8662 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8663 (prolog-char-quote-workaround):
8664 * progmodes/cperl-mode.el (cperl-under-as-char):
8665 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8667 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8669 (vhdl-mode-syntax-table-init): Remove.
8671 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8674 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8676 (ld-script-font-lock-keywords):
8677 Change regexps to use things like \_< and \_>.
8679 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8680 Change all regexps to use things like \_< and \_>.
8682 * progmodes/autoconf.el (autoconf-definition-regexp)
8683 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8684 Handle a _ with symbol syntax.
8685 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8687 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8688 Consolidate declaration.
8689 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8691 (ada-create-syntax-table): Remove.
8692 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8693 already has the right syntax nowadays.
8694 (ada-goto-next-word): Don't change the syntax of "_".
8696 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8699 2013-05-08 Sam Steingold <sds@gnu.org>
8701 * thingatpt.el (thing-at-point): Accept optional second argument
8702 NO-PROPERTIES to strip the text properties from the return value.
8703 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8704 to `thing-at-point' instead of stripping the properties ourselves.
8705 Also, when `thing-at-point' fails to find a url, prepend "http://"
8706 to the filename at point on the assumption that the user is
8707 pointing at something like gnu.org/gnu.
8709 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8711 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8712 * faces.el (crm-separator):
8713 Silence byte-compiler.
8715 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8716 (tool-bar-map): Remove unneeded defvars.
8718 2013-05-08 Leo Liu <sdl.web@gmail.com>
8720 Re-work a fix for bug#10994 based on Le Wang's patch.
8721 * ido.el (ido-remove-consecutive-dups): New helper.
8722 (ido-completing-read): Use it.
8723 (ido-chop): Revert fix for bug#10994.
8725 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8727 * cus-edit.el (custom-save-variables):
8728 Pretty-print long values. (Bug#14187)
8730 2013-05-08 Glenn Morris <rgm@gnu.org>
8732 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8733 (m4-mode-syntax-table): Init in the defvar.
8734 (m4-mode-abbrev-table): Let define-derived-mode define it.
8736 2013-05-08 Tom Tromey <tromey@redhat.com>
8738 * progmodes/m4-mode.el (m4-mode-syntax-table):
8739 Do not treat "_" as word constituent. (Bug#14167)
8741 2013-05-07 Glenn Morris <rgm@gnu.org>
8743 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8744 Remove explicit eshell-isearch-cancel-map.
8746 * progmodes/f90.el (f90-smart-end-names): New option.
8747 (f90-smart-end): Doc fix.
8748 (f90-end-block-optional-name): New constant.
8749 (f90-block-match): Respect f90-smart-end-names.
8751 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8753 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8754 about implicit semi-colons (bug#14218).
8756 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8758 * frame.el (display-monitor-attributes-list)
8759 (frame-monitor-attributes): New functions.
8761 2013-05-06 Leo Liu <sdl.web@gmail.com>
8763 * progmodes/octave.el (octave-syntax-propertize-function): Change
8764 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8765 (octave-font-lock-keywords): Use octave-operator-regexp.
8766 (octave-completion-at-point): Rename from
8767 octave-completion-at-point-function.
8768 (inferior-octave-directory-tracker): Robustify.
8769 (octave-text-functions): Remove and fix its uses. No such things
8772 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8774 * emacs-lisp/trace.el (trace--display-buffer): New function.
8775 (trace-make-advice): Use it.
8777 2013-05-06 Juri Linkov <juri@jurta.org>
8779 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8780 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8782 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8783 in the help string. (Bug#12985)
8785 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8787 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8789 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8791 * progmodes/perl-mode.el: Add support for here documents.
8792 (perl-syntax-propertize-function): Match here-doc markers.
8793 (perl-syntax-propertize-special-constructs): Find their end.
8794 (perl-imenu-generic-expression): Use [:alnum:].
8796 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8797 (advice--add-function): Refresh the advice if already present
8800 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8802 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8804 2013-05-06 Glenn Morris <rgm@gnu.org>
8806 * w32-fns.el (w32-charset-info-alist): Declare.
8808 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8809 of its defcustom properties.
8810 (eshell-cmpl-initialize): No need to load pcomplete.
8812 * generic-x.el: No need to require comint when compiling.
8814 * net/eudc-export.el: Make it loadable without bbdb.
8815 (top-level): Use require rather than load-library.
8816 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8817 (eudc-batch-export-records-to-bbdb)
8818 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8821 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8823 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8824 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8825 some tweaks, instead.
8827 2013-05-05 Leo Liu <sdl.web@gmail.com>
8829 * progmodes/octave.el (octave-font-lock-keywords)
8830 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8831 (inferior-octave-send-list-and-digest): Improve error message.
8832 (octave-mode, inferior-octave-mode): Use setq-local.
8833 (octave-help): Set info-lookup-mode.
8835 2013-05-05 Richard Stallman <rms@gnu.org>
8837 * vc/compare-w.el (compare-windows-whitespace):
8838 Treat no-break space as whitespace.
8840 * mail/rmailsum.el (rmail-summary-rmail-update):
8841 Detect empty summary and don't change selected message.
8842 (rmail-summary-goto-msg): Likewise.
8844 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8845 Doc fixes, rename args.
8847 2013-05-05 Alan Mackenzie <acm@muc.de>
8849 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8851 2013-05-05 Juri Linkov <juri@jurta.org>
8853 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8854 to not add the length of the summary segment to the return value.
8857 2013-05-05 Leo Liu <sdl.web@gmail.com>
8859 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8860 (inferior-octave-output-filter): Remove.
8861 (octave-send-region, inferior-octave-startup): Fix callers.
8862 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8863 (octave-binary-file-extensions): New user variable.
8864 (octave-find-definition): Confirm if opening binary files.
8865 (octave-help-file): Use octave-find-definition to get the binary
8867 (octave-help): Adjust for octave-help-file change.
8869 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8871 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8872 Merge the two entries that handle function definitions.
8873 (pascal--syntax-propertize): New const.
8874 (pascal-mode): Use it. Use setq-local.
8876 2013-05-04 Glenn Morris <rgm@gnu.org>
8878 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8879 (diary-from-outlook): Respect diary-from-outlook-function.
8881 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8883 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8884 Move the declaration from C.
8885 (read-minibuffer, eval-minibuffer): Move from C.
8886 (completion-setup-function): Avoid minibuffer-completion-contents.
8888 2013-05-03 Leo Liu <sdl.web@gmail.com>
8890 * progmodes/octave.el (octave-font-lock-keywords): Do not
8891 dehighlight 'end' in comments or strings.
8892 (octave-completing-read, octave-goto-function-definition):
8894 (octave-help-buffer): New user variable.
8895 (octave-help-file, octave-help-function): New button types.
8896 (octave-help): New command and bind it to C-h ;.
8897 (octave-find-definition): New command and bind it to M-.
8898 (user-error): Alias to error if not defined.
8900 2013-05-02 Leo Liu <sdl.web@gmail.com>
8902 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8904 (octave-font-lock-keywords): Include [ and {.
8906 2013-05-02 Leo Liu <sdl.web@gmail.com>
8908 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8909 (inferior-octave): Remove calling comint-mode and return the buffer.
8910 (inferior-octave-startup): Cosmetic changes.
8912 2013-05-02 Leo Liu <sdl.web@gmail.com>
8914 * progmodes/octave.el (octave-syntax-propertize-function):
8915 Include the case when ' is at line beginning. (Bug#14336)
8917 2013-05-02 Glenn Morris <rgm@gnu.org>
8919 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8920 * desktop.el (vc-dir-mode): Just autoload it here.
8922 2013-05-02 Alan Mackenzie <acm@muc.de>
8924 Eliminate variable c-standard-font-lock-fontify-region-function.
8925 * progmodes/cc-mode.el
8926 (c-standard-font-lock-fontify-region-function): Remove.
8927 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8929 2013-05-01 Leo Liu <sdl.web@gmail.com>
8931 * progmodes/octave.el: Compatible with older emacs-24 releases.
8932 (inferior-octave-has-built-in-variables): Remove. Built-in
8933 variables were removed from Octave in 2007.
8934 (inferior-octave-startup): Fix uses.
8935 (comint-line-beginning-position): Remove compatibility code for
8938 2013-05-01 Juri Linkov <juri@jurta.org>
8940 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8942 2013-05-01 Juri Linkov <juri@jurta.org>
8944 * comint.el (comint-previous-matching-input): Don't print message
8945 "History item: %d" when `isearch-mode' is active.
8946 (comint-history-isearch-message): Print message "History item: %d"
8947 when `comint-input-ring-index' is not empty and this function is
8948 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8950 2013-05-01 Leo Liu <sdl.web@gmail.com>
8952 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8953 definitions. Use completion-at-point to insert keywords.
8954 (octave-abbrev-start): Remove.
8955 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8957 2013-04-30 Leo Liu <sdl.web@gmail.com>
8959 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8962 2013-04-30 Alan Mackenzie <acm@muc.de>
8964 Handle arbitrarily long C++ member initialisation lists.
8965 * progmodes/cc-engine.el (c-back-over-member-initializers):
8967 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8968 (most) member init lists.
8970 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8972 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8975 2013-04-30 Leo Liu <sdl.web@gmail.com>
8977 * progmodes/octave.el (octave-variables): Remove. No builtin
8978 variables any more. All converted to functions.
8979 (octave-font-lock-keywords, octave-completion-at-point-function):
8981 (octave-font-lock-texinfo-comment): New user variable.
8982 (octave-texinfo-font-lock-keywords): New variable for texinfo
8984 (octave-function-comment-block): New face.
8985 (octave-font-lock-texinfo-comment): New function.
8986 (octave-mode): Font lock texinfo comment block.
8988 2013-04-29 Leo Liu <sdl.web@gmail.com>
8990 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8991 indexing expression.
8992 (octave-continuation-string): Do not use \.
8993 (inferior-octave-complete-impossible): Remove.
8994 (inferior-octave-completion-table)
8995 (inferior-octave-completion-at-point): Remove its uses.
8996 (inferior-octave-startup): completion_matches was introduced to
8997 Octave in 1996 so safe to assume it.
8998 (octave-function-file-comment): Improve to follow how Octave does it.
8999 (octave-update-function-file-comment): Tweak.
9001 2013-04-29 Leo Liu <sdl.web@gmail.com>
9003 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9004 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9005 (octave-function-file-comment): Fix typo.
9006 (octave-sync-function-file-names): Use read-char-choice.
9008 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9010 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9011 to t for the less important warnings.
9013 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9015 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9017 2013-04-27 Glenn Morris <rgm@gnu.org>
9019 * vc/log-view.el (log-view-current-entry):
9020 Treat "---" separator lines as part of the following rev. (Bug#14169)
9022 2013-04-27 Juri Linkov <juri@jurta.org>
9024 * subr.el (read-number): Doc fix about using it by interactive
9025 code letter `n'. (Bug#14254)
9027 2013-04-27 Juri Linkov <juri@jurta.org>
9029 * desktop.el (desktop-auto-save-timeout): New option.
9030 (desktop-file-checksum): New variable.
9031 (desktop-save): Add optional arg `auto-save' and don't auto-save
9033 (desktop-auto-save-timer): New variable.
9034 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9035 (after-init-hook): Call `desktop-auto-save-set-timer'.
9036 Suggested by Reuben Thomas <rrt@sc3d.org> in
9037 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9039 2013-04-27 Leo Liu <sdl.web@gmail.com>
9041 * progmodes/octave.el (octave-function-file-p)
9042 (octave-skip-comment-forward, octave-function-file-comment)
9043 (octave-update-function-file-comment): New functions.
9044 (octave-mode-map): Bind C-c ; to
9045 octave-update-function-file-comment.
9046 (octave-mode-menu): Add octave-update-function-file-comment.
9047 (octave-mode, inferior-octave-mode): Fix doc-string.
9048 (octave-insert-defun): Conform to Octave's coding convention.
9051 * files.el (basic-save-buffer): Don't let errors in
9052 before-save-hook prevent saving buffer.
9054 2013-04-20 Roland Winkler <winkler@gnu.org>
9056 * faces.el (read-face-name): Use completing-read if arg multiple
9059 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9061 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9062 displayed, move point to after the totals line.
9063 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9066 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9068 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9069 Add current dir to the load-path.
9070 (package-generate-autoloads): Don't rely on
9071 autoload-ensure-default-file.
9073 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9075 * textmodes/remember.el (remember-store-in-files): Document that
9076 the file name format is passed to `format-time-string'.
9078 2013-04-26 Leo Liu <sdl.web@gmail.com>
9080 * progmodes/octave.el (octave-sync-function-file-names): New function.
9081 (octave-mode): Use it in before-save-hook.
9083 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9085 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9088 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9089 \n and comment, even if it's not an implicit ; (bug#14218).
9091 2013-04-26 Glenn Morris <rgm@gnu.org>
9093 * subr.el (read-number): Once more use `read' rather than
9094 `string-to-number', to trap non-numeric input. (Bug#14254)
9096 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9098 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9099 Use `syntax-multiline' text property consistently instead of
9100 `font-lock-multiline'. (Bug#14237)
9102 2013-04-26 Glenn Morris <rgm@gnu.org>
9104 * emacs-lisp/shadow.el (list-load-path-shadows):
9105 No longer necessary to check for duplicate simple.el, since
9106 2012-07-07 change to init_lread to not include installation lisp
9107 directories in load-path when running uninstalled. (Bug#14270)
9109 2013-04-26 Leo Liu <sdl.web@gmail.com>
9111 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9112 (octave-mode, inferior-octave-mode): Use setq-local.
9113 (octave-not-in-string-or-comment-p): Rename to
9114 octave-in-string-or-comment-p.
9115 (octave-in-comment-p, octave-in-string-p)
9116 (octave-in-string-or-comment-p): Replace defsubst with defun.
9118 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9120 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9122 2013-04-25 Bastien Guerry <bzg@gnu.org>
9124 * textmodes/remember.el (remember-data-directory)
9125 (remember-directory-file-name-format): Fix custom types.
9127 2013-04-25 Leo Liu <sdl.web@gmail.com>
9129 * progmodes/octave.el (octave-completion-at-point-function):
9130 Make use of inferior octave process.
9131 (octave-initialize-completions): Remove.
9132 (inferior-octave-completion-table): New function.
9133 (inferior-octave-completion-at-point): Use it.
9134 (octave-completion-alist): Remove.
9136 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9138 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9139 (opascal-mode-syntax-table): New var.
9140 (opascal-literal-kind, opascal-is-literal-end)
9141 (opascal-literal-token-at): Rewrite.
9142 (opascal--literal-start-re, opascal-font-lock-keywords)
9143 (opascal--syntax-propertize): New constants.
9144 (opascal-font-lock-defaults): Adjust.
9145 (opascal-mode): Use them. Set comment-<foo> variables as well.
9146 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9147 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9148 (delphi-other-face, opascal-other-face): Remove face variables.
9149 (opascal-save-state): Remove macro.
9150 (opascal-fontifying-progress-step): Remove constant.
9151 (opascal--ignore-changes): Remove var.
9152 (opascal-set-token-property, opascal-parse-next-literal)
9153 (opascal-is-stable-literal, opascal-complete-literal)
9154 (opascal-is-literal-start, opascal-face-of)
9155 (opascal-parse-region, opascal-parse-region-until-stable)
9156 (opascal-fontify-region, opascal-after-change)
9157 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9158 (opascal-debug-parse-region, opascal-debug-parse-window)
9159 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9160 (opascal-debug-fontify-buffer): Remove.
9161 (opascal-debug-mode-map): Adjust accordingly.
9163 2013-04-25 Leo Liu <sdl.web@gmail.com>
9165 Merge octave-mod.el and octave-inf.el into octave.el with some
9167 * progmodes/octave.el: New file renamed from octave-mod.el.
9168 * progmodes/octave-inf.el: Merged into octave.el.
9169 * progmodes/octave-mod.el: Renamed to octave.el.
9171 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9173 * textmodes/reftex-vars.el
9174 (reftex-label-ignored-macros-and-environments): New defcustom.
9176 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9178 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9180 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9181 (smie-indent-keyword): Improve the check to ensure that the next
9182 comment is really on the same line.
9183 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9185 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9186 semi-colons if the line is not otherwise empty (bug#14218).
9188 2013-04-25 Glenn Morris <rgm@gnu.org>
9190 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9192 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9194 * progmodes/opascal.el (opascal-set-token-property): Rename from
9195 opascal-set-text-properties and only set `token' (bug#14134).
9196 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9197 (opascal-literal-text-properties): Remove.
9198 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9201 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9203 * textmodes/remember.el (remember-handler-functions): Add an
9204 option for a new handler `remember-store-in-files'.
9205 (remember-data-directory, remember-directory-file-name-format):
9207 (remember-store-in-files): New function to store remember notes
9208 as separate files within a directory.
9210 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9212 * progmodes/compile.el (compilation-next-error-function):
9213 Pass "formats" to compilation-find-file (bug#11777).
9215 2013-04-24 Glenn Morris <rgm@gnu.org>
9217 * vc/vc-bzr.el (vc-bzr-print-log):
9218 * vc/vc-hg.el (vc-hg-print-log):
9219 * vc/vc-svn.el (vc-svn-print-log):
9220 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9222 * vc/vc-bzr.el (vc-bzr-print-log):
9223 * vc/vc-cvs.el (vc-cvs-print-log):
9224 * vc/vc-git.el (vc-git-print-log):
9225 * vc/vc-hg.el (vc-hg-print-log):
9226 * vc/vc-mtn.el (vc-mtn-print-log):
9227 * vc/vc-rcs.el (vc-rcs-print-log):
9228 * vc/vc-sccs.el (vc-sccs-print-log):
9229 * vc/vc-svn.el (vc-svn-print-log):
9230 * vc/vc.el (vc-print-log-internal): Doc fixes.
9232 2013-04-23 Glenn Morris <rgm@gnu.org>
9234 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9235 Remove venerable code attempting to avoid substitute-command-keys.
9237 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9239 * textmodes/reftex-vars.el (reftex-label-regexps):
9240 Call `reftex-compile-variables' after changes to this variable.
9242 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9244 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9245 Use lexical-binding.
9246 (jit-lock-force-redisplay): Use markers, check buffer's continued
9247 existence and beware narrowed buffers.
9248 (jit-lock-fontify-now): Adjust call accordingly.
9250 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9252 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9253 to avoid misleading the user.
9255 2013-04-22 Leo Liu <sdl.web@gmail.com>
9257 * info-look.el: Prefer latex2e.info. (Bug#14240)
9259 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9261 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9263 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9264 * net/tramp.el (tramp-call-process): ... here.
9265 (tramp-set-completion-function, tramp-parse-putty):
9266 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9267 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9268 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9269 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9270 (tramp-call-local-coding-command): Use `tramp-call-process'
9271 instead of `tramp-compat-call-process'.
9273 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9274 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9275 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9276 (tramp-find-inline-compress): Improve traces.
9277 (tramp-maybe-send-script): Check for Perl binary.
9278 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9280 2013-04-22 Daiki Ueno <ueno@gnu.org>
9282 * epg.el (epg-context-pinentry-mode): New function.
9283 (epg-context-set-pinentry-mode): New function.
9284 (epg--start): Pass --pinentry-mode option to gpg command.
9286 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9288 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9289 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9290 `completion-at-point'. (Bug#13774)
9292 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9293 default key binding for `describe-distribution' has been moved to
9294 `C-h C-o'. (Bug#13970)
9296 2013-04-21 Glenn Morris <rgm@gnu.org>
9298 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9300 (vc-print-log): Clarify interactive prompt.
9302 2013-04-20 Glenn Morris <rgm@gnu.org>
9304 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9305 No longer include timestamp etc information.
9307 2013-04-20 Roland Winkler <winkler@gnu.org>
9309 * faces.el (read-face-name): Bug fix, return just one face if arg
9310 multiple is nil. (Bug#14209)
9312 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9314 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9315 (remove-function): Autoload.
9317 * comint.el (comint-redirect-original-filter-function): Remove.
9318 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9319 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9320 (vc-cvs-annotate-command):
9321 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9322 * progmodes/prolog.el (prolog-consult-compile):
9323 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9324 Use add/remove-function instead.
9325 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9326 (gud-tooltip-process-output, gud-tooltip-tips):
9327 Use add/remove-function instead.
9328 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9329 (scheme-interaction-mode, exit-scheme-interaction-mode):
9330 Use add/remove-function instead.
9332 * vc/vc-dispatcher.el: Use lexical-binding.
9333 (vc--process-sentinel): Rename from vc-process-sentinel.
9334 Change last arg to be the code to run. Don't use vc-previous-sentinel
9335 and vc-sentinel-commands any more.
9336 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9337 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9339 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9341 * progmodes/sh-script.el (sh-imenu-generic-expression):
9342 Handle function names with a single character. (Bug#14111)
9344 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9346 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9347 for subroutines defined in an eval (bug#14182).
9349 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9351 * bookmark.el (bookmark-completing-read): Improve handling of empty
9354 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9356 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9358 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9360 New faster Imenu implementation (bug#14058).
9361 * progmodes/python.el:
9362 (python-imenu-prev-index-position):
9363 (python-imenu-format-item-label-function)
9364 (python-imenu-format-parent-item-label-function)
9365 (python-imenu-format-parent-item-jump-label-function):
9367 (python-imenu-format-item-label)
9368 (python-imenu-format-parent-item-label)
9369 (python-imenu-format-parent-item-jump-label)
9370 (python-imenu--put-parent, python-imenu--build-tree)
9371 (python-imenu-create-index, python-imenu-create-flat-index)
9372 (python-util-popn): New functions.
9373 (python-mode): Set imenu-create-index-function to
9374 python-imenu-create-index.
9376 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9378 * winner.el (winner-active-region): Use region-active-p, activate-mark
9379 and deactivate-mark (bug#14225).
9381 * simple.el (deactivate-mark): Don't inline it.
9383 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9385 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9387 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9389 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9390 file extensions from the archive-mode entry in order to prefer
9391 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9393 2013-04-18 Leo Liu <sdl.web@gmail.com>
9395 * bindings.el (help-event-list): Add ?\?.
9397 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9399 * subr.el (with-wrapper-hook): Declare obsolete.
9400 * simple.el (filter-buffer-substring-function): New hook.
9401 (filter-buffer-substring): Use it.
9402 (filter-buffer-substring-functions): Mark obsolete.
9403 * minibuffer.el (completion-in-region-function): New hook.
9404 (completion-in-region): Use it.
9405 (completion-in-region-functions): Mark obsolete.
9406 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9407 * abbrev.el (abbrev-expand-function): New hook.
9408 (expand-abbrev): Use it.
9409 (abbrev-expand-functions): Mark obsolete.
9410 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9413 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9415 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9416 and do not care about match data.
9418 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9420 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9421 completion tables when completing error conditions and
9422 `declare' arguments.
9423 (lisp-complete-symbol, field-complete): Mark as obsolete.
9424 (check-parens): Unmatched parens are user errors.
9425 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9427 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9429 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9430 command changed buffer (ie. `flyspell-pre-buffer' is not current
9431 buffer), which prevents making decisions based on invalid value of
9432 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9433 cause an error when `flyspell-pre-point' was nil after switching
9435 (flyspell-post-command-hook): No longer needs to change buffers when
9436 checking pre-word. While at it remove unnecessary progn.
9438 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9440 * textmodes/ispell.el (ispell-add-per-file-word-list):
9441 Fix `flyspell-correct-word-before-point' error when accepting
9442 words and `coment-padding' is an integer by using
9443 `comment-normalize-vars' (Bug #14214).
9445 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9447 New defun movement commands.
9448 * progmodes/python.el (python-nav--syntactically)
9449 (python-nav--forward-defun, python-nav-backward-defun)
9450 (python-nav-forward-defun): New functions.
9452 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9454 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9455 (python-syntax-context): Use named compiler-macro for backwards
9456 compatibility with Emacs 24.x.
9458 2013-04-17 Leo Liu <sdl.web@gmail.com>
9460 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9461 octave-hide-process-buffer.
9463 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9465 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9468 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9470 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9471 Fix adjustment of offset when receiving incomplete responses from GDB
9474 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9476 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9477 python-mode-abbrev-table.
9478 (python-skeleton-define): Adjust accordingly.
9479 (python-mode-abbrev-table): New table that inherits from it so that
9480 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9482 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9483 (abbrev-symbol): Use it.
9484 (abbrev--before-point): Use it since we already handle inheritance.
9486 2013-04-16 Leo Liu <sdl.web@gmail.com>
9488 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9489 binding to info-lookup-symbol.
9491 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9493 * minibuffer.el (completion--twq-all):
9494 * term/ns-win.el (ns-initialize-window-system):
9495 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9497 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9499 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9502 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9504 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9506 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9507 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9509 (ruby-end-of-defun): Remove the unused arg, change the docstring
9510 to reflect that this function is only used as the value of
9511 `end-of-defun-function'.
9512 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9513 to reflect an earlier change that beginning/end-of-defun functions
9514 jump between methods in a class definition, as well as top-level
9517 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9519 * minibuffer.el (minibuffer-complete): Don't just scroll
9520 a *Completions* that's been iconified.
9521 (minibuffer-force-complete): Make sure repetitions do cycle when going
9522 through completion-in-region -> minibuffer-complete.
9524 2013-04-15 Alan Mackenzie <acm@muc.de>
9526 Correct the placement of c-cpp-delimiters when there're #s not at
9529 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9530 place a submatch around the #.
9531 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9532 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9535 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9537 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9538 (advice--member-p): New arg `name'.
9539 (advice--add-function, advice-member-p): Use it (bug#14202).
9541 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9543 Reformulate java imenu-generic-expression.
9544 The old expression contained ill formed regexps.
9546 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9547 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9548 (cc-imenu-java-method-arg-regexp): New defconsts.
9549 (cc-imenu-java-build-type-args-regex): New defun.
9550 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9551 handling of spaces in the regexp.
9553 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9555 * textmodes/ispell.el (ispell-command-loop): Remove
9556 flyspell highlight of a word when ispell accepts it (bug #14178).
9558 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9560 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9561 uses code from the previous `ange-ftp-run-real-handler'.
9562 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9563 only in case that function exist. This is needed for proper
9566 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9568 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9570 * textmodes/reftex.el (reftex-compile-variables): Use it.
9572 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9574 * files.el (normal-mode): Only use default major-mode if no other mode
9577 * emacs-lisp/trace.el (trace-values): New function.
9579 * files.el: Allow : in local variables (bug#14089).
9580 (hack-local-variable-regexp): New var.
9581 (hack-local-variables-prop-line, hack-local-variables): Use it.
9583 2013-04-13 Roland Winkler <winkler@gnu.org>
9585 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9586 data before it gets modified by bibtex-beginning-of-entry.
9588 2013-04-13 Roland Winkler <winkler@gnu.org>
9590 * textmodes/bibtex.el (bibtex-url): Doc fix.
9592 2013-04-13 Roland Winkler <winkler@gnu.org>
9594 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9595 does not visit a BibTeX file, exclude it from the list of buffers
9596 returned by bibtex-initialize.
9598 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9600 * window.el (split-window): Remove interactive form, since as a
9601 command this function is a special case of split-window-below.
9604 2013-04-12 Roland Winkler <winkler@gnu.org>
9606 * faces.el (read-face-name): Do not override value of arg default.
9607 Allow single faces and strings as default values. Remove those
9608 elements from return value that are not faces.
9609 (describe-face): Simplify.
9610 (face-at-point): New optional args thing and multiple so that this
9611 function can provide the same functionality previously provided by
9613 (make-face-bold, make-face-unbold, make-face-italic)
9614 (make-face-unitalic, make-face-bold-italic, invert-face)
9615 (modify-face, read-face-and-attribute): Use face-at-point.
9617 * cus-edit.el (customize-face, customize-face-other-window)
9618 * cus-theme.el (custom-theme-add-face)
9619 * face-remap.el (buffer-face-set)
9620 * facemenu.el (facemenu-set-face): Use face-at-point.
9622 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9624 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9626 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9628 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9629 off leading { and trailing } from field values.
9631 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9633 * emacs-lisp/timer.el (timer--check): New function.
9634 (timer--time, timer-set-function, timer-event-handler): Use it.
9635 (timer-set-idle-time): Simplify.
9636 (timer--activate): CSE.
9637 (timer-event-handler): Give more info in error message.
9638 (internal-timer-start-idle): New function, moved from C.
9640 * mpc.el (mpc-proc): Add `restart' argument.
9641 (mpc-proc-cmd): Use it.
9642 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9643 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9646 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9648 * progmodes/sh-script.el: Implement `sh-mode' own
9649 `add-log-current-defun-function' (bug#14112).
9650 (sh-current-defun-name): New function.
9651 (sh-mode): Use the function.
9653 2013-04-09 Bastien Guerry <bzg@gnu.org>
9655 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9657 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9659 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9661 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9664 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9666 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9669 2013-04-07 Leo Liu <sdl.web@gmail.com>
9671 * pcmpl-x.el: New file.
9673 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9675 Do not set x-display-name until X connection is established.
9676 This is needed to prevent from weird situation described at
9677 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9678 * frame.el (make-frame): Set x-display-name after call to
9679 window system initialization function, not before.
9680 * term/x-win.el (x-initialize-window-system): Add optional
9681 display argument and use it.
9682 * term/w32-win.el (w32-initialize-window-system):
9683 * term/ns-win.el (ns-initialize-window-system):
9684 * term/pc-win.el (msdos-initialize-window-system):
9685 Add compatible optional display argument.
9687 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9689 * files.el (normal-backup-enable-predicate): On MS-Windows and
9690 MS-DOS compare truenames of temporary-file-directory and of the
9691 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9692 don't fail comparison by compare-strings. Also, compare file
9693 names case-insensitively on MS-Windows and MS-DOS.
9695 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9697 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9698 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9700 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9702 * whitespace.el (whitespace-color-on, whitespace-color-off):
9703 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9705 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9707 * ispell.el (ispell-set-spellchecker-params):
9708 Really set `ispell-args' for all equivs.
9710 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9712 * ido.el (ido-completions): Use extra elements of ido-decorations
9714 (ido-decorations): Update docstring.
9716 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9718 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9719 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9720 nil during initialization, in order not to miss changes since the
9721 file was opened. (Bug#14140)
9723 2013-04-05 Leo Liu <sdl.web@gmail.com>
9725 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9727 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9729 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9731 2013-04-04 Glenn Morris <rgm@gnu.org>
9733 * electric.el (electric-pair-inhibit-predicate): Add :version.
9735 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9737 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9738 when a package is required several times (bug#14082).
9740 2013-04-04 Roland Winkler <winkler@gnu.org>
9742 * faces.el (read-face-name): Behave as promised by the docstring.
9743 Assume that arg default is a list of faces.
9744 (describe-face): Call read-face-name with list of default faces.
9746 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9748 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9749 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9750 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9752 (bookmark-exit-hook-internal): Save even if list is empty.
9754 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9756 * emacs-lisp/package.el (package-pinned-packages): New var.
9757 (package--add-to-archive-contents): Obey it (bug#14118).
9759 2013-04-03 Alan Mackenzie <acm@muc.de>
9761 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9762 Also adapt to the new values of element 7 of a parse state.
9764 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9765 parameter `not-in-delimiter'. Handle being inside comment opener.
9766 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9767 character in case we're typing a '*' after a '/'.
9768 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9769 instead by passing the parameter to c-state-pp-to-literal.
9771 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9772 for elt. 7 of a parse state.
9774 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9776 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9777 * international/latin1-disp.el, international/mule-util.el:
9778 * language/cyril-util.el, language/european.el, language/ind-util.el:
9779 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9780 * language/tibetan.el, language/viet-util.el:
9781 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9783 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9785 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9786 (electric-pair-post-self-insert-function): Use it.
9787 (electric-pair-default-inhibit): New function, extracted from
9788 electric-pair-post-self-insert-function.
9790 2013-03-31 Roland Winkler <winkler@gnu.org>
9792 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9794 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9796 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9798 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9800 Un-indent after "pass" and "return" statements (Bug#13888)
9801 * progmodes/python.el (python-indent-block-enders): New var.
9802 (python-indent-calculate-indentation): Use it.
9804 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9806 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9807 defun. Defining it as defalias could introduce too eager
9808 byte-compiler optimization. (Bug#14030)
9810 2013-03-30 Chong Yidong <cyd@gnu.org>
9812 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9814 2013-03-30 Leo Liu <sdl.web@gmail.com>
9816 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9817 (kmacro-execute-from-register): Pass the keyboard macro to
9818 kmacro-call-macro or repeating won't work correctly.
9820 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9822 * progmodes/subword.el: Back to using `forward-symbol'.
9824 * subr.el (forward-whitespace, forward-symbol)
9825 (forward-same-syntax): Move from thingatpt.el.
9827 2013-03-29 Leo Liu <sdl.web@gmail.com>
9829 * kmacro.el (kmacro-to-register): New command.
9830 (kmacro-execute-from-register): New function.
9831 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9833 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9835 * mpc.el: Use defvar-local and setq-local.
9836 (mpc--proc-connect): Connection failures are not bugs.
9837 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9838 (mpc-volume-map): Bind to the up-events.
9840 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9842 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9843 instead of `forward-symbol'.
9845 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9847 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9848 (edebug--recursive-edit): Use it.
9849 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9850 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9852 2013-03-28 Leo Liu <sdl.web@gmail.com>
9854 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9856 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9858 * facemenu.el (list-colors-callback): New defvar.
9859 (list-colors-redisplay): New function.
9860 (list-colors-display): Install list-colors-redisplay as the
9861 revert-buffer-function. (Bug#14063)
9863 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9865 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9866 and suffixes don't overlap (bug#14061).
9868 * case-table.el: Use lexical-binding.
9869 (case-table-get-table): New function.
9870 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9872 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9874 * progmodes/subword.el: Add `superword-mode' to do word motion
9875 over symbol_words (parallels and leverages `subword-mode' which
9876 does word motion inside MixedCaseWords).
9878 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9880 * eshell/em-unix.el: Move su and sudo to...
9881 * eshell/em-tramp.el: ...Eshell tramp module.
9883 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9885 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9886 Change return value to be a sexp. Delay `get-buffer' to after
9887 restoring the desktop (bug#13951).
9889 2013-03-26 Leo Liu <sdl.web@gmail.com>
9891 * register.el: Move semantic tag handling back to
9892 cedet/semantic/senator.el. (Bug#14052)
9894 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9896 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9897 into the prompt either (bug#13963).
9899 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9901 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9902 part of "(error-foo)".
9904 2013-03-24 Juri Linkov <juri@jurta.org>
9906 * replace.el (list-matching-lines-prefix-face): New defcustom.
9907 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9908 `occur-engine' if `face-differs-from-default-p' returns t.
9909 (occur-engine): Add `,' inside backquote construct to evaluate
9910 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9911 Pass `prefix-face' to the functions `occur-context-lines' and
9912 `occur-engine-add-prefix'.
9913 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9914 `prefix-face' and propertize the prefix with `prefix-face'.
9917 2013-03-24 Leo Liu <sdl.web@gmail.com>
9919 * nxml/rng-valid.el (rng-validate-while-idle)
9920 (rng-validate-quick-while-idle): Guard against deleted buffer.
9923 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9924 is the last entry in kill-buffer-hook.
9926 * files.el (kill-buffer-hook): Doc fix.
9928 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9930 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9933 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9935 2013-03-23 Leo Liu <sdl.web@gmail.com>
9937 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9940 * nxml/rng-valid.el (rng-validate-mode)
9941 (rng-after-change-function, rng-do-some-validation):
9942 * nxml/rng-maint.el (rng-validate-buffer):
9943 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9944 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9945 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9946 (nxml-extend-after-change-region): Use with-silent-modifications.
9948 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9951 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9952 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9953 timer-idle-list. (Bug#13999)
9955 2013-03-23 Juri Linkov <juri@jurta.org>
9957 * info.el (info-index-match): New face.
9958 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9959 main pattern and add text properties with the new face to matches
9960 in index entries relative to the beginning of the index entry.
9963 2013-03-21 Eric Ludlam <zappo@gnu.org>
9965 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9966 Inhibit read only while inserting objects.
9968 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9970 * progmodes/cfengine.el: Update docs to mention
9971 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9972 symbol motion. Remove "_" from the word syntax.
9974 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9976 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9977 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9979 2013-03-20 Juri Linkov <juri@jurta.org>
9981 * info.el (Info-next-reference-or-link)
9982 (Info-prev-reference-or-link): New functions.
9983 (Info-next-reference, Info-prev-reference): Use them.
9984 (Info-try-follow-nearest-node): Handle footnote navigation.
9985 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9987 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9989 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9990 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9992 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9994 Suppress unnecessary non-ASCII chatter during build process.
9995 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9996 (batch-skkdic-convert): Suppress most of the chatter.
9997 It's not needed so much now that machines are faster,
9998 and its non-ASCII component was confusing; see Dmitry Gutov in
9999 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10001 2013-03-20 Leo Liu <sdl.web@gmail.com>
10003 * ido.el (ido-chop): Fix bug#10994.
10005 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10007 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10009 (whitespace-color-on, whitespace-color-off):
10010 Use `font-lock-fontify-buffer' (Bug#13817).
10012 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10014 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10015 remapping in mode-line.
10016 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10018 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10020 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10021 value for `whitespace-line' face (Bug#13875).
10022 (whitespace-font-lock-keywords): Change description.
10023 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10024 the constructed keywords instead.
10025 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10027 2013-03-19 Leo Liu <sdl.web@gmail.com>
10029 * progmodes/compile.el (compilation-display-error): New command.
10030 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10033 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10035 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10037 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10039 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10041 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10043 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10045 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10046 * net/tramp-gvfs.el (top):
10047 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10048 (tramp-handle-shell-command): Use it.
10049 (tramp-dissect-file-name): Raise an error when hostname is a
10050 method name, and neither method nor user is specified.
10052 * net/trampver.el: Update release number.
10054 2013-03-18 Leo Liu <sdl.web@gmail.com>
10056 Make sure eldoc can be turned off properly.
10057 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10059 (eldoc-display-message-p): Revert last change.
10060 (eldoc-display-message-no-interference-p)
10061 (eldoc-print-current-symbol-info): Tweak.
10063 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10065 * doc-view.el (doc-view-new-window-function): Check the new window
10066 overlay's display property instead the char property of the
10067 buffer's first char. Use `with-selected-window' instead of
10068 `save-window-excursion' with `select-window'.
10069 (doc-view-document->bitmap): Check the current doc-view overlay's
10070 display property instead the char property of the buffer's first char.
10072 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10074 Automate the build of ja-dic.el (Bug#13984).
10075 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10076 from the input, rather than assume that it's been done for us by the
10077 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10078 the current date into a ja-dic.el comment, as that complicates
10079 regression testing.
10081 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10083 * whitespace.el: Fix double evaluation.
10084 (whitespace-space, whitespace-hspace, whitespace-tab)
10085 (whitespace-newline, whitespace-trailing, whitespace-line)
10086 (whitespace-space-before-tab, whitespace-indentation)
10087 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10089 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10090 (whitespace-color-on): Use a single font-lock-add-keywords call.
10091 Fix double-evaluation of face variables.
10093 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10095 * net/tramp-adb.el (tramp-adb-parse-device-names):
10096 Use `start-process' instead of `call-process'. Otherwise, the
10097 function might be blocked under MS Windows. (Bug#13299)
10099 2013-03-17 Leo Liu <sdl.web@gmail.com>
10101 Extend eldoc to display info in the mode-line. (Bug#13978)
10102 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10103 (eldoc-mode-line-string): New variable.
10104 (eldoc-minibuffer-message): New function.
10105 (eldoc-message-function): New variable.
10106 (eldoc-message): Use it.
10107 (eldoc-display-message-p)
10108 (eldoc-display-message-no-interference-p):
10109 Support eldoc-post-insert-mode.
10111 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10112 (eval-expression): Run it.
10114 2013-03-17 Roland Winkler <winkler@gnu.org>
10116 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10117 strings in the list of return values.
10119 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10121 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10122 radix before checking for HMS forms.
10124 2013-03-16 Leo Liu <sdl.web@gmail.com>
10126 * progmodes/scheme.el: Add indentation and font-locking for λ.
10129 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10131 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10132 token before point (bug#13942).
10134 2013-03-16 Leo Liu <sdl.web@gmail.com>
10136 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10138 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10140 * startup.el (command-line-normalize-file-name): Fix handling of
10141 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10142 <xfq.free@gmail.com> in
10143 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10145 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10147 Sync with Tramp 2.2.7.
10149 * net/trampver.el: Update release number.
10151 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10153 * doc-view.el: Fix bug#13887.
10154 (doc-view-insert-image): Don't modify overlay associated to
10155 non-live windows, and implement horizontal centering of image in
10156 case it's smaller than the window.
10157 (doc-view-new-window-function): Force redisplay of new windows on
10160 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10162 * saveplace.el (save-place-alist-to-file): Don't sort
10163 `save-place-alist', just pretty-print it (bug#13882).
10165 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10167 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10168 Check whether `default-file-name-coding-system' is bound.
10169 It isn't in XEmacs.
10171 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10173 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10174 backquotes for `obsolete' (bug#13929).
10176 * international/mule.el (find-auto-coding): Include file name in
10177 obsolescence warning (bug#13922).
10179 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10181 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10182 for CFEngine 3-specific indentation.
10183 (cfengine3-indent-line): Use it. Fix up category regex.
10184 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10186 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10188 * type-break.el (type-break-file-name):
10189 * textmodes/remember.el (remember-data-file):
10190 * strokes.el (strokes-file):
10191 * shadowfile.el (shadow-initialize):
10192 * saveplace.el (save-place-file):
10193 * ps-bdf.el (bdf-cache-file):
10194 * progmodes/idlwave.el (idlwave-config-directory):
10195 * net/quickurl.el (quickurl-url-file):
10196 * international/kkc.el (kkc-init-file-name):
10197 * ido.el (ido-save-directory-list-file):
10198 * emulation/viper.el (viper-custom-file-name):
10199 * emulation/vip.el (vip-startup-file):
10200 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10201 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10203 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10205 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10206 * language/thai-word.el: Switch to UTF-8.
10208 See ChangeLog.16 for earlier changes.
10210 ;; Local Variables:
10214 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10216 This file is part of GNU Emacs.
10218 GNU Emacs is free software: you can redistribute it and/or modify
10219 it under the terms of the GNU General Public License as published by
10220 the Free Software Foundation, either version 3 of the License, or
10221 (at your option) any later version.
10223 GNU Emacs is distributed in the hope that it will be useful,
10224 but WITHOUT ANY WARRANTY; without even the implied warranty of
10225 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10226 GNU General Public License for more details.
10228 You should have received a copy of the GNU General Public License
10229 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.