1 2013-11-30 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/bytecomp.el (byte-compile-form):
4 Make the `interactive-only' warning like the `obsolete' one.
5 * comint.el (comint-run):
6 * files.el (insert-file-literally, insert-file):
7 * replace.el (replace-string, replace-regexp):
8 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
9 (goto-line, insert-buffer, next-line, previous-line):
10 Tweak `interactive-only' spec.
12 Stop keeping (most) generated cedet grammar files in the repository.
13 * Makefile.in (semantic): New.
14 (compile-main): Depend on semantic.
16 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
19 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
21 * uniquify.el (uniquify-buffer-name-style): Change default.
23 * loadup.el: Preload "uniquify".
25 * time.el (display-time-update): Update all mode lines (bug#15999).
27 * electric.el (electric-indent-mode): Enable by default.
28 * loadup.el: Preload "electric".
30 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
32 * emacs-lisp/helpers.el (string-empty-p): New function.
33 (string-blank-p): New function.
35 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
37 * imenu.el (imenu--index-alist): Add missing dot to the docstring
40 2013-11-29 Andreas Politz <politza@fh-trier.de>
41 * imenu.el (imenu--subalist-p): Don't error on non-conses and
42 allow non-lambda lists as functions.
43 (imenu--in-alist): Don't recurse into non-subalists.
44 (imenu): Don't pass function itself as an argument (Bug#14029).
46 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
48 * progmodes/python.el (python-mode-map): Remove binding for ":".
49 (python-indent-electric-colon): Remove command.
50 (python-indent-post-self-insert-function): Integrate the previous code
51 of python-indent-electric-colon. Make it conditional on
53 (python-mode): Add ?: to electric-indent-chars.
54 Move python-indent-post-self-insert-function to the end of
55 post-self-insert-hook.
57 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
59 * doc-view.el (doc-view-goto-page): Update mode-line.
61 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
63 2013-11-27 Glenn Morris <rgm@gnu.org>
65 * international/charprop.el, international/uni-bidi.el:
66 * international/uni-category.el, international/uni-combining.el:
67 * international/uni-comment.el, international/uni-decimal.el:
68 * international/uni-decomposition.el, international/uni-digit.el:
69 * international/uni-lowercase.el, international/uni-mirrored.el:
70 * international/uni-name.el, international/uni-numeric.el:
71 * international/uni-old-name.el, international/uni-titlecase.el:
72 * international/uni-uppercase.el:
73 Remove generated files from VCS repository.
75 2013-11-27 Eli Zaretskii <eliz@gnu.org>
77 * filenotify.el (file-notify-add-watch): Don't special-case
78 w32notify when computing the directory to watch.
80 2013-11-27 Glenn Morris <rgm@gnu.org>
82 Make bootstrap without generated uni-*.el files possible again.
83 * loadup.el: Update command-line-args checking for unidata-gen.
84 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
85 * composite.el, international/characters.el:
86 Handle unicode tables being undefined.
88 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
89 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
90 (compile-main): Depend on leim rule.
92 * loadup.el: Move leim-list.el to leim/ subdirectory.
93 * startup.el (normal-top-level): No more leim directory.
94 * international/ja-dic-cnv.el (skkdic-convert):
95 Disable version-control and autoloads in output files.
96 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
97 Disable version-control and autoloads in output files.
98 * leim/quail: Move here from ../leim.
99 * leim/quail/hangul.el (hangul-input-method-activate):
101 (generated-autoload-load-name): Set file-local value.
102 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
103 (generated-autoload-load-name): Set file-local value.
105 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
107 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
108 (eww-add-bookmark): ask confirmation when add to bookmarks
109 (eww-quit): ask confirmation before quitting eww
111 2013-11-26 Eli Zaretskii <eliz@gnu.org>
113 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
114 reading output from Diff on MS-Windows and MS-DOS.
116 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
118 * emacs-lisp/helpers.el (string-reverse): New function.
120 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
122 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
123 names on MS Windows, like "/[::1]:".
125 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
128 2013-11-26 Glenn Morris <rgm@gnu.org>
130 * progmodes/python.el (python-indent-guess-indent-offset):
131 Avoid corner-case error. (Bug#15975)
133 Preload leim-list.el. (Bug#4789)
134 * loadup.el: Load leim-list.el when found.
135 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
137 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
139 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
141 * emacs-lisp/helpers.el (string-join): New function.
143 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
145 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
146 Mark as obsolete and replace it with a symbol property.
147 (byte-compile-form): Use new 'interactive-only property.
148 * comint.el, files.el, replace.el, simple.el:
149 Apply new 'interactive-only properly.
151 2013-11-25 Martin Rudalics <rudalics@gmx.at>
153 * window.el (display-buffer-at-bottom): Make sure that
154 split-window-sensibly creates the new window on bottom
157 2013-11-23 David Kastrup <dak@gnu.org>
159 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
160 on the conflict markers when available.
161 (smerge--get-marker): New function.
162 (smerge-end-re, smerge-base-re): Add subgroup.
164 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
166 * frame.el (handle-focus-in, handle-focus-out): Add missing
169 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
171 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
172 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
174 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
176 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
177 (gomoku--last-pos): New var.
178 (gomoku--intangible-chars): New const.
179 (gomoku--intangible): New function.
180 (gomoku-mode): Use it. Derive from special-mode.
181 (gomoku-move-up): Adjust line count.
182 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
183 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
184 Simplify accordingly.
186 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
187 Remove blink-cursor code.
188 (blink-cursor-timer-function, blink-cursor-suspend):
189 Don't special-case GUIs.
190 (blink-cursor-mode): Use focus-in/out-hook.
192 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
194 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
195 work when annotation is invisible (Bug#13886).
197 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
199 * json.el (json-alist-p): Only return non-nil if the alist has
200 simple keys (Bug#13518).
202 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
204 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
205 when control-statement is the first statement in a buffer (Bug#15956).
207 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
209 * imenu.el (imenu-generic-skip-comments-and-strings):
210 New option (Bug#15560).
211 (imenu--generic-function): Use it.
213 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
215 * minibuffer.el (completion--in-region-1): Scroll the correct
218 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
220 * emacs-lisp/helpers.el: Add some string helpers.
221 (string-trim-left): Removes leading whitespace.
222 (string-trim-right): Removes trailing whitespace.
223 (string-trim): Removes leading and trailing whitespace.
225 * subr.el (string-suffix-p): New function.
227 2013-11-23 Glenn Morris <rgm@gnu.org>
229 * progmodes/python.el (python-shell-send-file):
230 Add option to delete file when done. (Bug#15647)
231 (python-shell-send-string, python-shell-send-region): Use it.
233 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
235 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
236 to set buffer-read-only to t, never to nil. (Bug#15938)
238 * textmodes/tex-mode.el (latex-noindent-environments):
239 Add safe-local-variable property. (Bug#15936)
241 2013-11-23 Glenn Morris <rgm@gnu.org>
243 * textmodes/enriched.el (enriched-mode): Doc fix.
244 * emacs-lisp/authors.el (authors-renamed-files-alist):
245 Add enriched.doc -> enriched.txt.
247 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
249 2013-11-22 Leo Liu <sdl.web@gmail.com>
251 * progmodes/octave.el (inferior-octave-startup): Spit out error
254 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
256 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
259 (ruby-encoding-magic-comment-style): Add :version.
261 2013-11-22 Leo Liu <sdl.web@gmail.com>
263 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
265 (octave-help-mode): Adapt to change to help-mode-finish to use
266 derived-mode-p on 2013-09-17.
267 (inferior-octave-prompt): Also match octave-gui.
268 (octave-kill-process): Don't ask twice. (Bug#10564)
270 2013-11-22 Leo Liu <sdl.web@gmail.com>
272 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
273 (inferior-octave-startup, inferior-octave-check-process)
274 (inferior-octave-track-window-width-change)
275 (octave-completion-at-point, octave-eldoc-function): Use it.
276 (octave-kill-process): Provide confirmation. (Bug#10564)
278 2013-11-21 Leo Liu <sdl.web@gmail.com>
280 * progmodes/octave.el (octave-mode, inferior-octave-mode):
281 Fix obsolete variable comment-use-global-state.
283 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
285 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
286 Add `octave-source-file'.
287 (octave-source-file): New function. (Bug#15935)
289 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
291 * net/eww.el (eww-local-regex): New variable.
292 (eww): Use it to detect localhost and similar.
294 2013-11-21 Leo Liu <sdl.web@gmail.com>
296 Add completion for command `ag'.
297 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
298 (pcomplete/ag): New function.
299 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
301 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
303 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
305 (make-obsolete): Remove interactive spec.
307 2013-11-21 Glenn Morris <rgm@gnu.org>
309 * startup.el (command-line-1): Use path-separator with -L.
311 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
313 * emacs-lisp/package.el (describe-package-1): Add package archive
316 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
318 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
319 Change default to "# encoding: %s" to differentiate it from the
320 default Ruby encoding comment template.
322 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
324 * ses.el (ses-mode): Doc fix. (Bug#14748)
326 2013-11-20 Leo Liu <sdl.web@gmail.com>
328 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
330 2013-11-19 Dan Nicolaescu <dann@gnu.org>
332 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
333 when rebase or bisect are in progress.
335 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
337 * filenotify.el (file-notify-add-watch): Doc fix.
339 2013-11-19 Leo Liu <sdl.web@gmail.com>
341 * obsolete/rcompile.el: Mark obsolete.
343 * progmodes/compile.el (compilation-start)
344 (compilation-goto-locus, compilation-find-file):
345 Pass no-display-ok and handle nil value from display-buffer.
348 * window.el (display-buffer-alist, display-buffer): Document the
349 new parameter no-display-ok.
351 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
353 * electric.el (electric-indent-mode-map): Remove.
354 (electric-indent-mode): Change the global-map instead (bug#15915).
356 * textmodes/text-mode.el (paragraph-indent-minor-mode):
359 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
361 * emacs-lisp/nadvice.el (remove-function): Align with
362 add-function's behavior.
364 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
365 (gdb--string-regexp): New constant.
366 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
367 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
368 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
370 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
371 Adjust use accordingly.
372 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
374 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
376 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
377 interpolation curlies (Bug#15914).
379 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
381 * calc/calc.el (calc-context-sensitive-enter): New variable.
382 (calc-enter): Use `calc-context-sensitive-enter'.
384 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
386 * progmodes/cfengine.el: Version bump.
387 (cfengine-cf-promises): New defcustom to locate cf-promises.
388 (cfengine3-vartypes): Add new "data" type.
389 (cfengine3--current-word): New function to get current name-like
391 (cfengine3--current-function): New function to look up a CFEngine
392 function's definition.
393 (cfengine3-format-function-docstring): New function.
394 (cfengine3-make-syntax-cache): New function.
395 (cfengine3-documentation-function): New function: ElDoc glue.
396 (cfengine3-completion-function): New function: completion glue.
397 (cfengine3-mode): Set `compile-command',
398 `eldoc-documentation-function', and add to
399 `completion-at-point-functions'.
401 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
403 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
404 `tramp-current-connection'.
406 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
408 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
409 nil/self/true/false with "end of symbol".
411 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
413 * subr.el (version-regexp-alist): Fix a typo.
415 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
417 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
418 "en_US.utf8" and "LC_CTYPE" to "".
419 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
420 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
422 2013-11-15 Leo Liu <sdl.web@gmail.com>
424 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
426 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
428 * progmodes/gud.el (ctl-x-map):
429 Remove C-x SPC binding. (Bug#12342)
430 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
432 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
434 * subr.el (version-regexp-alist):
435 Recognize hg, svn and darcs versions as snapshot versions.
437 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
438 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
439 (ruby--encoding-comment-required-p): Extract from
440 `ruby-mode-set-encoding'.
441 (ruby-mode-set-encoding): Add the ability to always insert an
442 utf-8 encoding comment. Fix and simplify coding comment update
445 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
447 * net/tramp-gvfs.el (top): Run init code only when
448 `tramp-gvfs-enabled' is not nil.
449 (tramp-gvfs-enabled): Check also :system bus.
451 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
453 Sync with upstream verilog-mode revision 78e66ba.
454 * progmodes/verilog-mode.el (verilog-end-of-defun)
455 (verilog-type-completion, verilog-get-list): Remove unused funcs.
456 (verilog-get-end-of-defun): Remove unused argument.
457 (verilog-comment-depth): Remove unused local `e'.
458 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
459 Don't pass arg to verilog-get-end-of-defun.
461 2013-11-14 Glenn Morris <rgm@gnu.org>
463 * obsolete/assoc.el (aget): Prefix dynamic variable.
465 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
467 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
469 * widget.el, hfy-cmap.el: Remove bogus package version number.
471 2013-11-13 Glenn Morris <rgm@gnu.org>
473 * replace.el (replace-eval-replacement):
474 Try to give more helpful error message. (Bug#15836)
476 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
477 (archive-7z-update): Avoid custom type mismatches.
479 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
481 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
483 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
484 address can be empty.
486 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
488 (tramp-gvfs-handle-write-region): Implement APPEND.
490 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
492 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
493 binary "|" operator and closing block args delimiter.
494 Remove FIXME comment referring to Ruby 1.8-only syntax.
495 (ruby-smie--implicit-semi-p): Not after "|" operator.
496 (ruby-smie--closing-pipe-p): New function.
497 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
498 (ruby-smie-rules): Indent after "|".
500 2013-11-12 Glenn Morris <rgm@gnu.org>
502 * ps-print.el (ps-face-attribute-list):
503 Handle anonymous faces. (Bug#15827)
505 2013-11-12 Martin Rudalics <rudalics@gmx.at>
507 * window.el (display-buffer-other-frame): Fix doc-string.
510 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
512 * subr.el (force-mode-line-update): Delete, move to buffer.c.
514 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
516 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
517 (tramp-sh-handle-file-local-copy): Don't write a message when
518 saving temporary files.
520 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
521 both directories are remote.
522 (tramp-smb-handle-directory-files): Do not return double entries.
523 Do not expand full file names.
524 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
525 (tramp-smb-handle-write-region): Implement APPEND.
526 (tramp-smb-get-stat-capability): Fix a stupid bug.
528 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
530 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
532 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
534 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
535 throwing error over malformed let/let* (bug#15814).
537 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
539 * iswitchb.el (iswitchb-mode): Mark obsolete.
541 2013-11-11 Glenn Morris <rgm@gnu.org>
543 * international/uni-bidi.el, international/uni-category.el:
544 * international/uni-name.el, international/uni-numeric.el:
545 Regenerate for Unicode 6.3.0.
547 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
549 * net/tramp.el (tramp-methods):
550 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
551 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
553 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
555 * progmodes/sh-script.el (sh-font-lock-keywords-var):
556 Force highlighting text after Summary keyword in doc face for rpm.
558 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
560 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
561 available and the word has no wildcards, append one to the grep pattern.
562 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
563 (ispell-complete-word): Call `ispell-lookup-words' with the value
564 independent of `ispell-look-p'.
566 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
568 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
570 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
573 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
575 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
576 (ruby-font-lock-keywords): Use backquote.
578 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
580 * progmodes/ruby-mode.el (ruby-smie--forward-token)
581 (ruby-smie--backward-token): Only consider full-string matches.
583 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
585 * faces.el (describe-face): Add distant-foreground.
587 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
589 * progmodes/ruby-mode.el: Improve encoding comment handling.
590 (ruby-encoding-magic-comment-style): New option.
591 (ruby-custom-encoding-magic-comment-template): New option.
592 (ruby--insert-coding-comment, ruby--detect-encoding):
593 New functions extracted from `ruby-mode-set-encoding'.
594 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
595 to control the style of the auto-inserted encoding comment.
597 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
599 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
600 Use `smie-backward-sexp' with token argument.
602 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
604 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
605 Remove instrumentation code.
607 2013-11-08 Glenn Morris <rgm@gnu.org>
609 * progmodes/autoconf.el (autoconf-mode):
610 Tweak comment-start-skip. (Bug#15822)
612 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
614 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
616 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
618 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
620 * man.el (Man-start-calling): New macro, extracted from
621 Man-getpage-in-background.
622 (Man-getpage-in-background): Use it.
623 (Man-update-manpage): New command.
624 (Man-mode-map): Bind it.
626 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
628 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
629 of "and", "or", "&&" and "||".
630 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
631 argument. Prohibit opening curly brace because it could only be a
632 block opener in that position.
633 (ruby-smie--forward-token, ruby-smie--backward-token):
634 Separate "|" from "&" or "*" going after it. That can happen in block
636 (ruby-smie--indent-to-stmt): New function, seeks the end of
637 previous statement or beginning of buffer.
638 (ruby-smie-rules): Use it.
639 (ruby-smie-rules): Check if there's a ":" before a curly block
640 opener candidate; if there is, it's a hash.
642 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
644 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
645 (cl--block-wrapper): Fix last accidental change.
647 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
649 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
650 Instrument, in order to hunt failure on hydra.
652 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
654 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
655 malformed bindings form (bug#15814).
657 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
659 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
660 "." compared to " @ ". This incidentally fixes some indentation
662 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
663 (ruby-smie-grammar): New tokens: "and" and "or".
664 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
665 Exclude "and" and "or". Remove "do" in order to work around token
667 (ruby-smie-rules): Add all infix tokens. Handle the case of
670 2013-11-06 Glenn Morris <rgm@gnu.org>
672 * Makefile.in (setwins_almost, setwins_for_subdirs):
673 Avoid accidental matches.
675 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
677 * menu-bar.el (popup-menu): Use key-binding.
679 2013-11-06 Eli Zaretskii <eliz@gnu.org>
681 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
682 menus, support also the menus produced by minor modes.
685 2013-11-06 Leo Liu <sdl.web@gmail.com>
687 * thingatpt.el (thing-at-point-looking-at): Add optional arg
688 DISTANCE to bound the search. All uses changed. (Bug#15808)
690 2013-11-06 Glenn Morris <rgm@gnu.org>
692 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
693 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
694 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
696 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
698 * electric.el (electric-indent-just-newline): New command.
699 (electric-indent-mode-map): New keymap.
700 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
701 Re-add :group which weren't redundant.
703 * electric.el (electric-indent-local-mode): New minor mode.
704 (electric-indent-functions-without-reindent): New var.
705 (electric-indent-post-self-insert-function): Use it.
706 * emacs-lisp/gv.el (buffer-local-value): Add setter.
708 2013-11-05 Eli Zaretskii <eliz@gnu.org>
710 * international/quail.el (quail-help): Be more explicit about the
711 meaning of the labels shown on the keys. (Bug#15800)
713 * startup.el (normal-top-level): Load the subdirs.el files before
714 setting the locale environment. (Bug#15805)
716 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
718 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
719 via arguments so as to get the right ones (bug#15418).
721 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
723 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
725 Fix problems found while writing a test suite.
727 * net/tramp-compat.el (tramp-compat-load): New defun.
728 * net/tramp.el (tramp-handle-load): Use it.
730 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
731 "(numberp ok-if-already-exists)" correctly.
733 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
735 * international/characters.el (glyphless-char-display-control):
738 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
740 * progmodes/python.el (python-mode):
741 * progmodes/scheme.el (scheme-mode):
742 * progmodes/prolog.el (prolog-mode):
743 * progmodes/ruby-mode.el (ruby-mode):
744 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
745 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
747 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
749 * rect.el (rectangle--highlight-for-redisplay):
750 * emacs-lisp/smie.el (smie--next-indent-change):
751 Use buffer-chars-modified-tick.
753 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
755 * electric.el (electric-indent-post-self-insert-function):
756 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
758 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
760 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
762 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
764 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
767 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
769 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
771 * progmodes/python.el: Fix up last change.
772 (python-shell--save-temp-file): New function.
773 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
774 `string' comes from the current buffer.
775 (python-shell-send-string-no-output): Remove `msg' arg.
776 (python--use-fake-loc): New var.
777 (python-shell-buffer-substring): Obey it. Try to compensate for the
778 extra coding line added by python-shell--save-temp-file.
779 (python-shell-send-region): Use python-shell--save-temp-file and
780 python-shell-send-file directly. Add `nomain' argument.
781 (python-shell-send-buffer): Use python-shell-send-region.
782 (python-electric-pair-string-delimiter): New function.
783 (python-mode): Use it.
785 2013-11-04 Eli Zaretskii <eliz@gnu.org>
787 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
788 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
789 environment and decoding all of the default-directory's to here
791 (command-line): Decode also argv[0].
793 * loadup.el: Error out if default-directory is a multibyte string
796 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
798 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
800 * emacs-lisp/package.el (package-menu-mode)
801 (package-menu--print-info, package-menu--archive-predicate):
802 Add Archive column to package list.
804 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
806 Fix problems found while writing a test suite.
808 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
809 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
810 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
811 to nil when running original file name handler. Otherwise,
812 there are problems with constructs like "$$FOO".
814 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
817 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
819 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
821 * subr.el (version<, version<=, version=):
822 Update docstrings with information for snapshot versions.
824 * helpers.el: New library for misc helper functions.
825 (hash-table-keys): New function returning a list of hash keys.
826 (hash-table-values): New function returning a list of hash values.
828 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
830 * progmodes/ruby-mode.el (ruby-smie--forward-token)
831 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
833 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
835 * textmodes/fill.el (fill-single-char-nobreak-p): New function
836 checking whether point is after a 1-letter word.
838 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
840 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
841 Don't infloop when expanding region over `multiline' syntax-type that
842 begins a line (bug#15778).
844 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
846 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
847 Make it into a proper minor mode.
848 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
849 (rectangle-mark-mode-map): New keymap.
850 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
852 2013-11-04 Glenn Morris <rgm@gnu.org>
854 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
856 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
858 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
859 (ruby-smie-rules): Use smie-rule-parent instead.
861 * emacs-lisp/smie.el (smie-rule-parent): Always call
862 smie-indent-virtual rather than only for hanging tokens.
863 (smie--next-indent-change): New helper command.
865 2013-11-03 Glenn Morris <rgm@gnu.org>
867 * Makefile.in (abs_srcdir): Remove.
868 (emacs): Unset EMACSLOADPATH.
870 2013-11-02 Glenn Morris <rgm@gnu.org>
872 * Makefile.in (EMACS): Use a relative filename.
873 (abs_top_builddir): Remove.
874 (custom-deps, finder-data, autoloads): Use --chdir.
876 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
878 Use relative filenames in TAGS files.
879 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
880 (lisptagsfiles4, TAGS): Use relative file names.
882 (maintainer-clean): No more TAGS-LISP file.
884 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
885 (lisptagsfiles4): Use absolute filenames again.
886 (TAGS, TAGS-LISP): Not everything needs to run in one line.
887 Remove all *loaddefs files, not just the first. Remove esh-groups.
888 (maintainer-clean): Delete TAGS, TAGS-LISP.
890 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
892 * emacs-lisp/package.el (package-version-join):
893 Recognize snapshot versions.
895 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
897 * subr.el (version-regexp-alist): Add support for snapshot versions.
899 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
901 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
902 New function, replacement for `smie-rule-parent' for when we want to
903 skip over our direct parent if it's an assignment token..
904 (ruby-smie-rules): Use it.
906 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
908 * progmodes/ruby-mode.el Use `syntax-propertize-function'
909 unconditionally. Remove now unnecessary forward declarations.
910 Remove XEmacs-specific setup.
911 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
912 (ruby-font-lock-syntactic-keywords)
913 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
914 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
915 (ruby-here-doc-end-syntax): Remove.
916 (ruby-mode): Don't check whether `syntax-propertize-rules' is
919 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
921 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
923 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
925 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
926 table and abbrev table, `define-derived-mode' does that for us
929 2013-11-01 Glenn Morris <rgm@gnu.org>
931 * Makefile.in: Remove manual mh-e dependencies (writing .elc
932 files is atomic for some time, so no parallel compilation issues).
934 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
936 * faces.el (face-x-resources): Add :distant-foreground.
937 (region): Use :distant-foreground for gtk and ns.
939 2013-11-01 Tassilo Horn <tsdh@gnu.org>
941 Allow multiple bibliographies when BibLaTeX is used rather than
943 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
944 (reftex-locate-bibliography-files): Us it.
946 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
948 * image.el (image-type-header-regexps): Fix the 'pbm' part to
949 allow comments in pbm files.
951 * term/w32-win.el (dynamic-library-alist): Support newer versions
952 of libjpeg starting with v7: look only for the DLL from the
953 version against which Emacs was built.
954 Support versions of libpng beyond 1.4.x.
955 Support libtiff v4.x.
957 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
959 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
960 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
962 (ruby-deep-arglist): Add property :type.
964 2013-10-31 Glenn Morris <rgm@gnu.org>
966 * Makefile.in (custom-deps, finder-data): No need to setq the target
967 variables, we are in the right directory and the defaults work fine.
969 2013-10-30 Glenn Morris <rgm@gnu.org>
971 * Makefile.in (autoloads): Do not use abs_lisp.
973 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
974 `newline' does not respect `standard-output', so use `princ'.
976 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
978 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
979 * buff-menu.el (Buffer-menu--unmark): New function.
980 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
982 2013-10-30 Glenn Morris <rgm@gnu.org>
984 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
986 * emacs-lisp/package.el (lm-homepage): Declare.
988 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
991 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
993 * Makefile.in (finder-data, autoloads, update-subdirs)
994 (compile-main, compile-clean, compile-always, bootstrap-clean):
995 Check return value of cd.
996 (compile-calc): Remove.
998 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1000 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1002 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1003 (byte-compile-and-folded): New function.
1004 (=, <, >, <=, >=): Use it.
1006 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1007 (path-separator, null-device, buffer-file-coding-system)
1008 (lpr-headers-switches): Check system-type before modifying them.
1009 (find-buffer-file-type-coding-system): Mark obsolete.
1010 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1011 find-file-not-found-set-buffer-file-coding-system.
1012 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1013 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1014 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1015 (w32-direct-print-region-helper, w32-direct-print-region-function)
1016 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1017 * startup.el (normal-top-level-add-subdirs-to-load-path):
1018 * ps-print.el (ps-print-region-function):
1019 * lpr.el (print-region-function): Use new name.
1021 * subr.el (custom-declare-variable-early): Remove function.
1022 (custom-declare-variable-list): Remove var.
1023 (error, user-error): Remove `while' loop.
1024 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1025 (user-emacs-directory-warning, locate-user-emacs-file):
1027 * simple.el (read-quoted-char-radix, read-quoted-char):
1028 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1030 * custom.el (custom-declare-variable-list): Don't process
1031 custom-declare-variable-list.
1033 * progmodes/python.el (python-shell-get-buffer): New function.
1034 (python-shell-get-process): Use it.
1035 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1036 Python which encoding was used. Don't split-string since we only care
1037 about the first line. Return the temp-file, if applicable.
1038 (python-shell-send-region): Tell compile.el how to turn locations in
1039 the temp-file into locations in the source buffer.
1041 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1043 * subr.el (undefined): Add missing behavior from the C code for
1046 * rect.el: Use lexical-binding. Add new rectangular region support.
1047 (rectangle-mark): New command.
1048 (rectangle--region): New var.
1049 (deactivate-mark-hook): Reset rectangle--region.
1050 (rectangle--extract-region, rectangle--insert-for-yank)
1051 (rectangle--highlight-for-redisplay)
1052 (rectangle--unhighlight-for-redisplay): New functions.
1053 (region-extract-function, redisplay-unhighlight-region-function)
1054 (redisplay-highlight-region-function): Use them to handle
1056 * simple.el (region-extract-function): New var.
1057 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1058 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1059 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1060 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1061 (redisplay-unhighlight-region-function)
1062 (redisplay-highlight-region-function): New vars.
1063 (redisplay--update-region-highlight): New function.
1064 (pre-redisplay-function): Use it.
1065 (exchange-point-and-mark): Don't deactivate the mark before
1066 reactivate-it anyway.
1067 * comint.el (comint-kill-region): Remove yank-handler argument.
1068 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1069 (delete-char): Remove property, since it's now part of their
1071 (self-insert-iso): Remove property since this command doesn't exist.
1073 * emacs-lisp/package.el (package--download-one-archive)
1074 (describe-package-1): Don't query the user about final newline.
1076 2013-10-29 Daniel Colascione <dancol@dancol.org>
1078 * net/tramp.el (tramp-methods): Document new functionality.
1079 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1080 tramp-hostname-checker if method provides one instead of scanning
1081 argument list for "%h" to decide hostname acceptability.
1083 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1085 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1086 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1087 Handle COPY-CONTENTS. (Bug#15737)
1089 2013-10-28 Daiki Ueno <ueno@gnu.org>
1092 (epa-file-cache-passphrase-for-symmetric-encryption):
1093 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1095 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1097 * image.el (defimage):
1098 (image-load-path): Doc fixes.
1100 2013-10-27 Alan Mackenzie <acm@muc.de>
1102 Indent statements in macros following "##" correctly.
1103 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1104 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1106 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1108 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1110 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1112 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1113 after `=' is probably a new expression.
1115 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1117 * man.el (man-imenu-title): New option.
1118 (Man-mode-map): Add menu. (Bug#15722)
1119 (Man-mode): Add imenu to menu.
1121 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1123 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1124 specific in what the first arg can be: a non-keyword word,
1125 string/regexp/percent literal opener, opening paren, or unary
1126 operator followed directly by word.
1128 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1130 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1131 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1132 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1133 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1134 Remove vars, they do not apply any more.
1135 (prolog-mode-abbrev-table): Remove redundant declaration.
1136 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1137 (prolog-use-smie): Remove.
1138 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1139 supported by prolog-electric-if-then-else-flag.
1140 (prolog-mode-variables, prolog-menu): Use setq-local.
1141 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1142 Remove binding to `Backspace' since this key doesn't exist anyway.
1143 Remove bindings for electric self-inserting keys.
1144 (prog-mode): Assume it's defined.
1145 (prolog-post-self-insert): New function.
1146 (prolog-mode): Use it.
1147 (prolog-indent-line, prolog-indent-level)
1148 (prolog-find-indent-of-matching-paren)
1149 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1150 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1151 (prolog-goto-next-paren, prolog-in-string-or-comment)
1152 (prolog-tokenize, prolog-inside-mline-comment)
1153 (prolog-find-start-of-mline-comment): Remove functions.
1154 (prolog-find-unmatched-paren, prolog-clause-end)
1155 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1156 (prolog-electric--if-then-else): Rename from
1157 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1158 (prolog-tokenize-searchkey): Remove const.
1159 (prolog-clause-info): Use forward-sexp.
1160 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1161 (prolog-electric-if-then-else): Remove commands.
1162 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1163 for use in post-self-insert-hook.
1164 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1165 for use in post-self-insert-hook.
1166 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1167 for use in post-self-insert-hook.
1168 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1169 adapt it for use in post-self-insert-hook.
1171 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1173 * emacs-lisp/ert.el (ert-run-tests-interactively):
1174 Use `completing-read'. (Bug#9756)
1176 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1178 * simple.el (line-move): Call line-move-1 instead of
1179 line-move-visual when the current window hscroll is zero, but
1180 temporary-goal-column indicates we will need to hscroll as result
1181 of the movement. (Bug#15712)
1183 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1185 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1186 capitalization. Use :visible instead of :active.
1187 Fix `ruby-indent-exp' reference. Add menu items for the generic
1188 commands that are used with SMIE.
1189 (ruby-do-end-to-brace): Insert space after `{'.
1191 2013-10-25 John Anthony <john@jo.hnanthony.com>
1193 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1195 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1197 2013-10-25 Glenn Morris <rgm@gnu.org>
1199 * vc/vc.el (vc-print-log): Don't use a working revision unless
1200 one was explicitly specified. (Bug#15322)
1202 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1204 * subr.el (add-to-list): Preserve return value in compiler-macro
1207 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1209 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1210 result. Ask user to retry using '-all' flag. (Bug#15701)
1212 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1214 * emacs-lisp/smie.el: New smie-config system.
1215 (smie-config): New defcustom.
1216 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1217 (smie-config-guess, smie-config-save): New commands.
1218 (smie-config--mode-local, smie-config--buffer-local)
1219 (smie-config--trace, smie-config--modefuns): New vars.
1220 (smie-config--advice, smie-config--mode-hook)
1221 (smie-config--setter, smie-config-local, smie-config--get-trace)
1222 (smie-config--guess-value, smie-config--guess): New functions.
1223 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1224 text properties. Treat "string fence" syntax like string syntax.
1226 * progmodes/sh-script.el (sh-use-smie): Change default.
1227 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1228 (sh-var-value): Simplify by CSE.
1229 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1230 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1232 (sh-guess-basic-offset): Use cl-incf.
1233 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1235 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1237 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1240 2013-10-24 Glenn Morris <rgm@gnu.org>
1242 * Makefile.in (abs_top_srcdir): Remove.
1243 (update-subdirs): Use relative path to update-subdirs.
1245 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1247 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1248 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1249 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1250 Call unmsys--file-name before expand-file-name, not after it.
1252 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1254 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1255 (ert-test-skipped): New error.
1256 (ert-skip, ert-stats-skipped): New defuns.
1257 (ert--skip-unless): New macro.
1258 (ert-test-skipped): New struct.
1259 (ert--run-test-debugger, ert-test-result-type-p)
1260 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1261 (ert--stats-set-test-and-result, ert-char-for-test-result)
1262 (ert-string-for-test-result, ert-run-tests-batch)
1263 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1264 Handle skipped tests. (Bug#9803)
1266 2013-10-24 Glenn Morris <rgm@gnu.org>
1268 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1270 * Makefile.in (abs_top_srcdir): New, set by configure.
1271 (update-subdirs): Correct build-aux location.
1273 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1275 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1276 value, whether we could auto-deduce `backend', or not.
1278 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1279 with parameters" example. Simplify the "is it block or is it
1280 hash" check, but also make it more thorough.
1282 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1284 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1286 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1288 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1291 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1294 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1296 * progmodes/compile.el (compilation-directory-matcher)
1297 (compilation-page-delimiter):
1298 Support GNU Make-4.0 directory quoting. (Bug#15678)
1300 2013-10-23 Leo Liu <sdl.web@gmail.com>
1302 * ido.el (ido-tidy): Handle read-only text.
1304 2013-10-23 Glenn Morris <rgm@gnu.org>
1306 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1307 (emacs, compile, compile-always):
1308 Quote entities that might contain whitespace.
1309 (custom-deps, finder-data, autoloads): Use abs_lisp.
1310 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1311 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1312 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1314 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1316 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1317 Use `following-char'.
1319 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1321 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1322 * progmodes/ruby-mode.el (ruby-smie-rules):
1323 Remove corresponding workaround. Fix indentation rule of ";" so it
1324 also applies when ";" is the parent.
1326 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1328 * frame.el (display-screens, display-pixel-height)
1329 (display-pixel-width, display-mm-width, display-backing-store)
1330 (display-save-under, display-planes, display-color-cells)
1331 (display-visual-class, display-monitor-attributes-list):
1332 Mention the optional ‘display’ argument in doc strings.
1334 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1336 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1337 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1339 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1341 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1342 TODO. Add "." after " @ ".
1343 (ruby-smie--at-dot-call): New function. Checks if point at method
1344 call with explicit target.
1345 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1346 to the method name tokens when it precedes them.
1347 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1348 (ruby-smie-rules): Add rule for indentation before and after "."
1351 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1353 * textmodes/remember.el (remember-diary-extract-entries):
1356 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1359 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1361 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1362 (ruby-smie--implicit-semi-p): Add new operator chars.
1364 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1366 (ruby-smie--args-separator-p): Check that there's no newline
1367 between method call and its arguments.
1369 2013-10-20 Alan Mackenzie <acm@muc.de>
1371 Allow comma separated lists after Java "implements".
1373 * progmodes/cc-engine.el (c-backward-over-enum-header):
1375 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1376 from a "disallowed" list in enum fontification.
1378 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1380 * startup.el (default-frame-background-mode): Remove unused defvar.
1382 * progmodes/verilog-mode.el (verilog-mode): Don't set
1383 comment-indent-function globally.
1385 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1387 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1388 Move Info menu item creation to ns-win.el.
1390 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1393 * menu-bar.el: Move GNUStep specific menus...
1395 * term/ns-win.el (ns-initialize-window-system): ... to here.
1397 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1399 * simple.el (newline): Only run post-self-insert-hook when
1400 called interactively.
1402 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1404 * icomplete.el (icomplete-with-completion-tables): Add :version.
1406 2013-10-19 Alan Mackenzie <acm@muc.de>
1408 Fix fontification bugs with constructors and const.
1410 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1411 CASE 2) Remove the check for the absence of a suffix construct
1412 after a function declaration with only types (no identifiers) in
1413 the parentheses. Also, accept a function declaration with just a
1414 type inside the parentheses, if this type can be positively
1415 recognised as such, or if a prefix keyword like "explicit" nails
1416 down the construct as a declaration.
1418 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1420 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1421 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1422 the problem whereby selecting a menu item that leads to a
1423 minibuffer prompt moves the cursor out of the minibuffer window,
1424 making it hard to type at the prompt. Suggested by Stefan Monnier
1425 <monnier@iro.umontreal.ca>.
1427 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1429 * menu-bar.el: Don't make Services menu.
1431 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1433 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1434 (ffap-alist): Use ffap-c++-mode for c++-mode.
1435 (ffap-c++-path): New variable.
1436 (ffap-c++-mode): New function.
1438 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1440 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1442 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1444 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1445 introduced on 2013-09-08, which results in an infinite loop
1446 requesting a password.
1448 2013-10-18 Glenn Morris <rgm@gnu.org>
1450 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1452 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1454 Sync with upstream verilog-mode revision 1a6ecec7.
1455 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1456 (verilog-mode-release-date): Remove.
1457 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1458 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1459 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1460 (verilog-auto-tieoff-ignore-regexp)
1461 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1462 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1463 (verilog-signals-with, verilog-dir-cache-preserving)
1464 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1466 (verilog-case-fold): New option, to control case folding in
1467 regexp searches, bug597.
1468 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1469 (verilog-string-match-fold, verilog-in-paren-count)
1470 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1471 (verilog-at-close-struct-p): New functions.
1472 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1473 (verilog-forward-sexp, verilog-set-auto-endcomments):
1474 (verilog-leap-to-case-head): Handle "unique0" case.
1475 (verilog-in-constraint-re): New constant.
1476 (verilog-keywords, verilog-type-font-keywords):
1477 Add some SystemVerilog 1800-2012 keywords.
1478 (verilog-label-be): Remove unimplemented argument, bug669.
1479 (verilog-batch-execute-func): When batch expanding clear
1480 create-lockfiles to prevent spurious user locks when a file ends
1482 (verilog-calculate-indent, verilog-calc-1)
1483 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1484 (verilog-do-indent): Fix indentation of nested constraints
1486 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1487 (verilog-auto-inst-param): Use verilog-string-match-fold.
1488 (verilog-read-inst-module-matcher):
1489 Fix AUTOINST on gate primitives with #1.
1490 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1491 Reads all user-defined typed variables.
1492 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1493 (verilog-signals-matching-regexp)
1494 (verilog-signals-not-matching-regexp, verilog-auto):
1495 Respect verilog-case-fold.
1496 (verilog-diff-report): Fix line count.
1497 (verilog-auto-assign-modport): Remove unused local `modi'.
1498 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1499 better handle multidimensional arrays.
1500 Fix packed array ports misadding bit index in AUTOINST, bug637.
1501 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1502 to not double-declare existing outputs and inputs, respectively.
1503 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1504 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1505 (verilog-sk-uvm-component): New skeleton.
1506 (verilog-submit-bug-report): Add verilog-case-fold,
1507 remove verilog-mode-release-date.
1509 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1511 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1514 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1516 * textmodes/remember.el (remember): set buffer-offer-save in
1517 remember buffers (bug#13566).
1519 2013-10-18 Daniel Colascione <dancol@dancol.org>
1521 When evaluating forms in ielm, direct standard output to ielm
1522 buffer. Add new ielm-return-for-effect command. Remove trailing
1523 whitespace throughout.
1525 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1526 (ielm-return-for-effect): New command.
1527 (ielm-send-input): Accept optional `for-effect' parameter.
1528 (ielm-eval-input): Accept optional `for-effect' parameter.
1529 Bind `standard-output' to stream we create using
1530 `ielm-standard-output-impl'. Suppress printing result when
1532 (ielm-standard-output-impl): New function.
1533 (inferior-emacs-lisp-mode): Explain new features in documentation.
1535 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1539 * net/tramp.el (tramp-debug-message): Do not check for connection
1541 (tramp-message): Use "vector" connection property.
1543 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1544 (tramp-equal-remote, tramp-eshell-directory-change)
1545 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1546 (tramp-adb-handle-rename-file)
1547 * net/tramp-cmds.el (tramp-list-remote-buffers)
1548 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1549 * net/tramp-compat.el (tramp-compat-process-running-p)
1550 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1551 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1552 (tramp-gvfs-handle-rename-file)
1553 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1554 (tramp-set-file-uid-gid)
1555 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1556 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1559 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1560 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1561 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1562 (tramp-gw-open-network-stream): Suppress unrelated traces.
1564 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1565 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1566 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1567 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1568 connection property.
1570 * net/tramp-cache.el (top): Suppress traces when reading
1573 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1574 Refactor common code. Improve debug message.
1575 (tramp-maybe-open-connection)
1576 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1577 connection buffer too early.
1579 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1580 from `tramp-smb-actions-with-acl'.
1581 (tramp-smb-actions-set-acl): New defconst.
1582 (tramp-smb-handle-copy-directory)
1583 (tramp-smb-action-get-acl): New defun, renamed from
1584 `tramp-smb-action-with-acl'.
1585 (tramp-smb-action-set-acl): New defun.
1586 (tramp-smb-handle-set-file-acl): Rewrite.
1588 2013-10-17 Glenn Morris <rgm@gnu.org>
1590 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1592 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1594 * skeleton.el (skeleton-newline): Remove.
1595 (skeleton-internal-1): Use (insert "\n") instead.
1597 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1600 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1601 forward-sexp-function while we redo its job (bug#15613).
1603 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1605 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1606 represented by lists.
1608 2013-10-16 Glenn Morris <rgm@gnu.org>
1610 * tmm.el (tmm--history): New dynamic variable.
1611 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1613 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1615 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1616 (tramp-smb-errors): Add error messages.
1617 (tramp-smb-actions-with-acl): New defconst.
1618 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1619 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1620 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1621 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1622 (tramp-smb-get-stat-capability): Fix tests.
1624 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1626 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1629 2013-10-16 Glenn Morris <rgm@gnu.org>
1631 * ansi-color.el (ansi-color-drop-regexp):
1632 Add 1J, 1K, 2K. (Bug#15617)
1634 * files.el (hack-local-variables--warned-lexical): New.
1635 (hack-local-variables):
1636 Warn about misplaced lexical-binding. (Bug#15616)
1638 * net/eww.el (eww-render): Always set eww-current-url,
1639 and update header line. (Bug#15622)
1640 (eww-display-html): ... Rather than just doing it here.
1642 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1644 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1645 menu navigations commands.
1647 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1649 * progmodes/subword.el (subword-capitalize): Be careful when
1650 the search for [[:alpha:]] fails (bug#15580).
1652 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1654 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1655 to commands that scroll the menu.
1657 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1659 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1660 Handle methods ending with `?' and `!'.
1662 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1664 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1665 `japanese-cp932' to `cp932' to fix the problem where saving a
1666 source file written in Shift_JIS twice would end up having
1667 `coding: japanese-cp932' which Ruby could not recognize.
1668 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1669 in `ruby-encoding-map'.
1670 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1671 doesn't need to be explicitly declared in magic comment.
1672 (ruby-encoding-map): Add type declaration for better customize UI.
1674 2013-10-13 Glenn Morris <rgm@gnu.org>
1676 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1677 Occur buffers are read-only. http://bugs.debian.org/720775
1679 * emacs-lisp/authors.el (authors-fixed-entries):
1680 Comment out old alpha stuff.
1682 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1684 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1685 to `after-save-hook' instead of `before-save-hook'.
1686 (ruby-mode-set-encoding): Use the value of coding system used to
1687 write the file. Call `basic-save-buffer-1' after modifying the
1690 2013-10-13 Alan Mackenzie <acm@muc.de>
1692 Fix indentation/fontification of Java enum with
1693 "implements"/generic.
1695 * progmodes/cc-engine.el (c-backward-over-enum-header):
1696 Extracted from the three other places and enhanced to handle generics.
1697 (c-inside-bracelist-p): Uses new function above.
1698 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1700 (c-font-lock-enum-tail): Uses new function above.
1702 2013-10-13 Kenichi Handa <handa@gnu.org>
1704 * international/mule-cmds.el (select-safe-coding-system): Remove a
1705 superfluous condition in chekcing whether a coding system is safe
1708 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1710 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1712 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1714 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1716 2013-10-13 Glenn Morris <rgm@gnu.org>
1718 * menu-bar.el (menu-bar-update-buffers):
1719 Unify Buffers menu prompt string. (Bug#15576)
1721 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1723 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1725 (authors-fixed-entries): Use accented form of name.
1727 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1729 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1730 method calls (bug#15594).
1731 (ruby-smie--args-separator-p): New function.
1732 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1733 recognize paren-free method calls.
1735 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1736 internals of universal-argument.
1738 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1740 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1741 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1742 dropped menu on second mouse click on the menu bar.
1744 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1746 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1747 (explicit-shell-file-name): Declare.
1748 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1749 (sh-completion-at-point-function): New function.
1751 (sh-smie--keyword-p): Remove unused argument.
1752 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1754 (sh-set-shell): Always setup SMIE, even if we use the
1755 old indentation code.
1757 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1759 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1761 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1762 predicate would return nil are almost non-existent.
1763 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1765 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1766 cache also after commands that modify the buffer but don't move
1769 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1771 * env.el (substitute-env-in-file-name): New function.
1772 (substitute-env-vars): Extend the meaning of the optional arg.
1774 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1776 * term/w32-win.el (dynamic-library-alist): Define separate lists
1777 of GIF DLLs for versions before and after 5.0.0 of giflib.
1780 2013-10-10 João Távora <joaotavora@gmail.com>
1782 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1783 not locked, use last revision and current source as
1784 defaults. (Bug#15569)
1786 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1788 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1791 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1793 * window.el (pop-to-buffer-same-window): Fix doc-string.
1796 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1798 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1800 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1802 * calendar/icalendar.el (icalendar-import-file):
1803 Fix interactive spec. (Bug#15482)
1805 2013-10-10 Glenn Morris <rgm@gnu.org>
1807 * desktop.el (desktop-save): Default to saving in .emacs.d,
1808 since PWD is no longer in desktop-path by default. (Bug#15319)
1810 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1811 now that text mode has a menu with the same entry.
1812 (menu-bar-text-mode-auto-fill): Remove now unused func.
1813 * textmodes/text-mode.el (text-mode-map):
1814 Use auto-fill help text from menu-bar.el.
1816 2013-10-10 John Anthony <john@jo.hnanthony.com>
1818 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1820 2013-10-09 Juri Linkov <juri@jurta.org>
1822 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1823 instead of this-command-keys. Add universal-argument-more and
1824 universal-argument-minus to the list of prefix commands. (Bug#15568)
1826 2013-10-09 Glenn Morris <rgm@gnu.org>
1828 * vc/vc-svn.el (vc-svn-create-repo):
1829 Expand paths in file://... url. (Bug#15446)
1831 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1833 (authors): Remove unused local variables.
1835 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1837 * profiler.el: Create a more coherent calltree from partial backtraces.
1838 (profiler-format): Hide the tail with `invisible' so that C-s can still
1839 find the hidden elements.
1840 (profiler-calltree-depth): Don't recurse so enthusiastically.
1841 (profiler-function-equal): New hash-table-test.
1842 (profiler-calltree-build-unified): New function.
1843 (profiler-calltree-build): Use it.
1844 (profiler-report-make-name-part): Indent the calltree less.
1845 (profiler-report-mode): Add visibility specs for profiler-format.
1846 (profiler-report-expand-entry, profiler-report-toggle-entry):
1847 Expand the whole subtree when provided with a prefix arg.
1849 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1851 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1853 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1854 hanging iuwu-mod token.
1855 (ruby-smie--forward-token): Do not include a dot after a token in
1857 (ruby-smie--backward-token): Likewise.
1859 2013-10-08 Juri Linkov <juri@jurta.org>
1861 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1862 to isearch-other-control-char.
1863 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1864 and isearch-post-command-hook to post-command-hook.
1865 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1866 and isearch-post-command-hook from post-command-hook.
1867 (isearch-unread-key-sequence)
1868 (isearch-reread-key-sequence-naturally)
1869 (isearch-lookup-scroll-key, isearch-other-control-char)
1870 (isearch-other-meta-char): Remove functions.
1871 (isearch-pre-command-hook, isearch-post-command-hook):
1872 New functions based on isearch-other-meta-char rewritten
1873 relying on the new behavior of overriding-terminal-local-map
1874 that does not replace the local keymaps any more. (Bug#15200)
1876 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1878 Support menus on text-mode terminals.
1879 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1882 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1884 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1885 Move here from mouse.el.
1886 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1888 (tty-menu-navigation-map): New map for TTY menu navigation.
1890 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1892 * frame.el (display-mouse-p): Report text-mode mouse as available
1894 (display-popup-menus-p): Report availability if mouse is
1895 available; don't condition on window-system.
1897 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1898 (tty-menu-selected-face): New faces.
1900 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1902 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1903 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1904 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1905 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1907 (lisp-mode-variables): New `elisp' argument.
1908 (emacs-lisp-mode): Use it.
1909 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1910 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1912 * indent.el: Use lexical-binding.
1913 (indent-region): Add progress reporter.
1914 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1916 (indent--next-tab-stop): New function to implement this behavior.
1917 (tab-to-tab-stop, move-to-tab-stop): Use it.
1919 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1921 * indent.el (indent-rigidly--current-indentation): New function.
1922 (indent-rigidly-map): New var.
1923 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1925 2013-10-08 Bastien Guerry <bzg@gnu.org>
1927 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1929 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1931 * progmodes/perl-mode.el: Use lexical-binding.
1932 Remove redundant :group args.
1933 (perl-nochange): Change default to be closer to other major modes's
1935 (perl-indent-line): Don't consider text on current line as a
1936 valid beginning of function from which to indent.
1938 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1939 with more than one argument (bug#15538).
1941 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1943 * vc/pcvs.el: Use lexical-binding.
1944 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1945 environment of `eval'.
1946 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1947 than a list of expressions. Adjust callers.
1948 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1950 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1952 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1953 case of the dot in a chained method call being on the following line.
1955 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1957 * electric.el (electric-indent-inhibit): New var.
1958 (electric-indent-post-self-insert-function): Use it.
1959 * progmodes/python.el (python-mode): Set it.
1961 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1964 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1966 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1967 (css-mode): Use electric-indent-chars.
1969 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1970 (font-lock-beg, font-lock-end): Move before first use.
1971 (nxml-mode): Use syntax-propertize-function.
1972 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1973 (nxml-extend-after-change-region): Remove.
1974 * nxml/xmltok.el: Use lexical-binding.
1975 (xmltok-save): Use `declare'.
1976 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1977 * nxml/nxml-util.el: Use lexical-binding.
1978 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1980 * nxml/nxml-ns.el: Use lexical-binding.
1981 (nxml-ns-save): Use `declare'.
1982 (nxml-ns-prefixes-for): Avoid add-to-list.
1983 * nxml/rng-match.el: Use lexical-binding.
1984 (rng--ipattern): Use cl-defstruct.
1985 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1986 (rng-cons-group-after, rng-subst-group-after)
1987 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1988 Use closures instead of `(lambda...).
1990 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1992 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1995 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1996 Use `tramp-handle-insert-file-contents'.
1997 (tramp-gvfs-handle-insert-file-contents): Remove function.
1999 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2000 Use `save-restriction' in order to keep markers.
2002 * net/trampver.el: Update release number.
2004 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2006 * progmodes/compile.el (compilation-parse-errors):
2007 Use compilation--put-prop.
2008 (compilation--ensure-parse): Check compilation-multiline.
2010 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2012 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2015 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2017 * progmodes/ruby-mode.el: Fix recently added tests.
2018 (ruby-smie-grammar): Add - and +.
2019 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2020 (ruby-smie--backward-id): New functions.
2021 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2022 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2025 2013-10-07 Leo Liu <sdl.web@gmail.com>
2027 * register.el (register-preview-delay)
2028 (register-preview-functions): New variables.
2029 (register-read-with-preview, register-preview)
2030 (register-describe-oneline): New functions.
2031 (point-to-register, window-configuration-to-register)
2032 (frame-configuration-to-register, jump-to-register)
2033 (number-to-register, view-register, insert-register)
2034 (copy-to-register, append-to-register, prepend-to-register)
2035 (copy-rectangle-to-register): Use register-read-with-preview to
2036 read register. (Bug#15525)
2038 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2040 * net/network-stream.el (network-stream-open-starttls): Don't add
2041 --insecure if it's already present, because that gnutls-cli
2042 rejects getting that parameter twice.
2044 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2046 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2049 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2051 * newcomment.el (comment-use-global-state): Change default value
2052 to t, mark obsolete (Bug#15251).
2053 (comment-beginning): In addition to `comment-to-syntax', check the
2054 value of `comment-use-global-state'.
2056 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2058 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2059 (ruby-comment-column): Follow the global default, by default.
2060 (ruby-smie-grammar): Add assignment syntax.
2061 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2062 open-paren, a comma, or a \.
2063 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2064 and line continuations.
2065 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2066 followed by implicit semi-colons. Add rule for string concatenation
2067 and for indentation at BOB.
2068 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2070 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2071 calling next-sexp, since next-token may have skipped chars which
2072 next-sexp doesn't know should be skipped!
2074 2013-10-05 Leo Liu <sdl.web@gmail.com>
2076 * progmodes/octave.el (octave-send-region):
2077 Call compilation-forget-errors.
2079 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2081 * vc/vc-svn.el (vc-svn-find-admin-dir):
2082 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2083 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2084 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2085 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2087 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2089 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2091 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2093 * subr.el (read-passwd): Hide chars even when called within a context
2094 where after-change-functions is disabled (bug#15501).
2095 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2096 until we removed ourself from overriding-terminal-local-map.
2098 2013-10-04 Leo Liu <sdl.web@gmail.com>
2100 * progmodes/octave.el (inferior-octave-mode):
2101 Call compilation-forget-errors.
2103 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2105 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2107 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2109 * net/secrets.el (secrets-create-collection): Add optional
2110 argument ALIAS. Use proper Label keyword. Append ALIAS as
2111 dbus-call-method argument. (Bug#15516)
2113 2013-10-04 Leo Liu <sdl.web@gmail.com>
2115 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2116 (inferior-octave-compilation-font-lock-keywords): New variables.
2117 (compilation-error-regexp-alist)
2118 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2119 (inferior-octave-mode): Use compilation-shell-minor-mode.
2121 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2123 * minibuffer.el (completion--replace): Be careful that `end' might be
2126 2013-10-03 Daiki Ueno <ueno@gnu.org>
2128 Add support for package signature checking.
2129 * emacs-lisp/package.el (url-http-file-exists-p)
2130 (epg-make-context, epg-context-set-home-directory)
2131 (epg-verify-string, epg-context-result-for)
2132 (epg-signature-status, epg-signature-to-string)
2133 (epg-check-configuration, epg-configuration)
2134 (epg-import-keys-from-file): Declare.
2135 (package-check-signature): New user option.
2136 (package-unsigned-archives): New user option.
2137 (package-desc): Add `signed' field.
2138 (package-load-descriptor): Set `signed' field if .signed file exists.
2139 (package--archive-file-exists-p): New function.
2140 (package--check-signature): New function.
2141 (package-install-from-archive): Check package signature.
2142 (package--download-one-archive): Check archive signature.
2143 (package-delete): Remove .signed file.
2144 (package-import-keyring): New command.
2145 (package-refresh-contents): Import default keyring.
2146 (package-desc-status): Add "unsigned" status.
2147 (describe-package-1, package-menu--print-info)
2148 (package-menu-mark-delete, package-menu--find-upgrades)
2149 (package-menu--status-predicate): Support "unsigned" status.
2151 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2154 the new compilation scheme using the new byte-codes.
2156 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2157 (byte-pophandler): New byte codes.
2158 (byte-goto-ops): Adjust accordingly.
2159 (byte-compile--use-old-handlers): New var.
2160 (byte-compile-catch): Use new byte codes depending on
2161 byte-compile--use-old-handlers.
2162 (byte-compile-condition-case--old): Rename from
2163 byte-compile-condition-case.
2164 (byte-compile-condition-case--new): New function.
2165 (byte-compile-condition-case): New function that dispatches depending
2166 on byte-compile--use-old-handlers.
2167 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2170 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2171 Optimize under `condition-case' and `catch' if
2172 byte-compile--use-old-handlers is nil.
2173 (disassemble-offset): Handle new bytecodes.
2175 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2177 * subr.el (error): Use `declare'.
2178 (decode-char, encode-char): Use advertised-calling-convention instead
2179 of the docstring to discourage use of the `restriction' arg.
2181 2013-10-03 Daiki Ueno <ueno@gnu.org>
2183 * epg.el (epg-verify-file): Add a comment saying that it does not
2184 notify verification error as a return value nor a signal.
2185 (epg-verify-string): Ditto.
2187 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2189 * progmodes/compile.el (compilation-start): Try globbing the arg to
2192 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2194 Sync with Tramp 2.2.8.
2196 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2197 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2198 * net/trampver.el: Update release number.
2200 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2202 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2203 and default-process-coding-system for darwin only.
2205 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2207 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2209 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2211 * vc/vc-git.el (vc-git-grep): Disable pager.
2213 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2215 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2216 Use :url instead of :homepage, as per
2217 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2219 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2220 non-nil, use `syntax-ppss' (Bug#15251).
2222 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2224 * progmodes/octave.el (inferior-octave-startup-file):
2225 Prefer ~/.emacs.d/init_octave.m.
2227 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2229 * emacs-lisp/package.el (package-desc-from-define):
2230 Accept additional arguments as plist, convert them to an alist and store
2231 them in the `extras' slot.
2232 (package-generate-description-file): Convert extras alist back to
2233 plist and append to the `define-package' form arguments.
2234 (package--alist-to-plist): New function.
2235 (package--ac-desc): Add `extras' slot.
2236 (package--add-to-archive-contents): Check if the archive-contents
2237 vector is long enough, and if it is, pass its `extras' slot value
2238 to `package-desc-create'.
2239 (package-buffer-info): Call `lm-homepage', pass the returned value
2240 to `package-desc-from-define'.
2241 (describe-package-1): Render the homepage button (Bug#13291).
2243 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2244 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2246 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2248 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2249 and default-process-coding-system to utf-8-unix (Bug#15402).
2251 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2253 * subr.el (looking-back): Do not recommend using looking-back.
2255 2013-09-28 Alan Mackenzie <acm@muc.de>
2257 Fix indentation/fontification of Java enum with "implements".
2259 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2260 regexp which matches "implements", etc., in Java.
2261 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2262 specifier clauses coming after "enum".
2263 * progmodes/cc-fonts.el (c-font-lock-declarations)
2264 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2267 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2269 * faces.el (region): Change ns_selection_color to
2270 ns_selection_fg_color, add ns_selection_bg_color.
2272 2013-09-28 Leo Liu <sdl.web@gmail.com>
2274 * progmodes/octave.el (inferior-octave-completion-table)
2275 (inferior-octave-completion-at-point): Minor tweaks.
2277 * textmodes/ispell.el (ispell-lookup-words): Rename from
2278 lookup-words. (Bug#15460)
2279 (lookup-words): Obsolete.
2280 (ispell-complete-word, ispell-command-loop): All uses changed.
2282 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2284 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2285 (octave-mode-menu): Add octave-send-buffer.
2286 (octave-send-buffer): New function.
2288 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2290 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2292 (octave-mode-menu): Add octave-lookfor.
2293 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2295 (octave-lookfor): New function.
2297 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2299 * emacs-lisp/cl-macs.el:
2300 (cl--loop-destr-temps): Remove.
2301 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2303 (cl--loop-set-iterator-function): New function.
2304 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2305 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2306 Bind `it' with `let' instead of substituting it with `cl-subst'.
2307 (cl--unused-var-p): New function.
2308 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2309 Eliminate some unused variable warnings (bug#15326).
2311 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2313 * doc-view.el (doc-view-scale-reset): Rename from
2314 `doc-view-reset-zoom-level'.
2315 (doc-view-scale-adjust): New command.
2316 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2317 `doc-view-scale-adjust'.
2319 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2321 * doc-view.el (doc-view-reset-zoom-level): New command.
2322 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2323 zoom commands (bug#15466).
2325 2013-09-26 Kenichi Handa <handa@gnu.org>
2327 * international/quail.el (quail-help): Make it not a command.
2329 2013-09-26 Leo Liu <sdl.web@gmail.com>
2331 * minibuffer.el (completion-all-sorted-completions): Make args
2332 optional as they are.
2334 2013-09-25 Daniel Colascione <dancol@dancol.org>
2336 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2337 specs are and that they're not evaluated.
2339 2013-09-24 Sam Steingold <sds@gnu.org>
2341 * midnight.el (clean-buffer-list-kill-regexps)
2342 (clean-buffer-list-kill-buffer-names): Update for the new Man
2343 buffer naming which includes the object name.
2345 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2347 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2348 (eshell-parse-command, eshell-parse-pipeline): Use it since
2349 eshell-separate-commands requires a dynamic scoped var.
2350 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2352 2013-09-23 Leo Liu <sdl.web@gmail.com>
2354 * autoinsert.el (auto-insert-alist): Make the value of
2355 lexical-binding match its file setting.
2357 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2359 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2361 * autoarg.el (autoarg-kp-digit-argument):
2362 * electric.el (Electric-command-loop):
2363 * kmacro.el (kmacro-step-edit-insert):
2364 Do not set universal-argument-num-events.
2366 2013-09-22 Leo Liu <sdl.web@gmail.com>
2368 * files.el (interpreter-mode-alist): Add octave.
2370 2013-09-21 Alan Mackenzie <acm@muc.de>
2372 C++: fontify identifier in declaration following "public:" correctly.
2373 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2374 to match "public", etc.
2375 (c-decl-prefix-re): Add ":" into the C++ value.
2376 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2377 bit. Add a check for a ":" preceded by "public", etc.
2379 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2381 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2382 recognized by GDB 7.5 and later.
2384 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2386 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2388 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2390 * subr.el (internal--call-interactively): New const.
2391 (called-interactively-p): Use it (bug#3984).
2393 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2395 * vc/pcvs.el (cvs-mode-ignore):
2396 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2397 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2399 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2401 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2402 (eshell-ls-orig-insert-directory): Remove.
2403 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2404 (eshell-ls-use-in-dired): Use advice-add/remove.
2405 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2406 Add `orig-fun' arg for use in :around advice.
2407 Make it check (redundantly) eshell-ls-use-in-dired.
2409 2013-09-19 Glenn Morris <rgm@gnu.org>
2411 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2413 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2415 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2417 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2419 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2420 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2421 (tramp-get-remote-python): New defuns.
2422 (tramp-get-remote-uid-with-perl)
2423 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2424 contributed by yary <not.com@gmail.com> (tiny change).
2425 (tramp-get-remote-uid-with-python)
2426 (tramp-get-remote-gid-with-python): New defuns. Python code
2427 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2428 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2430 2013-09-19 Glenn Morris <rgm@gnu.org>
2432 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2434 * eshell/em-unix.el (eshell-remove-entries):
2435 Rename argument to avoid name-clash with global `top-level'.
2437 * eshell/esh-proc.el (eshell-kill-process-function):
2438 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2439 (eshell-reset-after-proc): Remove unused arg `proc'.
2441 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2442 (directory-files-and-attributes): Mark unused arg.
2444 * eshell/em-unix.el (eshell-remove-entries):
2445 Remove unused arg `path'. Update callers.
2447 * eshell/em-hist.el (eshell-hist-parse-arguments):
2448 Remove unused arg `silent'. Update callers.
2450 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2451 Fix (f)boundp mix-up.
2453 * eshell/em-smart.el (eshell-smart-scroll-window)
2454 (eshell-disable-after-change):
2455 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2457 2013-09-18 Alan Mackenzie <acm@muc.de>
2459 Fix fontification of type when followed by "const".
2460 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2461 "known" types from fontification.
2463 2013-09-18 Glenn Morris <rgm@gnu.org>
2465 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2466 (chart-face-list): Drop Emacsen without display-color-p.
2468 * net/eww.el (libxml-parse-html-region): Declare.
2469 (eww-display-html): Explicit error if no libxml2 support.
2471 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2473 * image.el (image-type-from-buffer, image-multi-frame-p):
2474 Remove --without-x warning/error.
2476 * mouse.el (mouse-yank-primary):
2477 * term.el (term-mouse-paste):
2478 Reorder to silence --without-x compilation.
2480 * mpc.el (doc-view-mode): Silence --without-x compilation.
2482 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2483 Silence --without-x compilation.
2485 * progmodes/gud.el (gud-find-file, gud-mode):
2486 Silence --without-x compilation.
2487 (tooltip-mode): Declare.
2489 * wdired.el (dired-backup-overwrite): Remove declaration.
2490 (wdired-mode-map): Add doc string.
2492 * custom.el (x-get-resource): Declare.
2494 * eshell/em-glob.el (ange-cache):
2495 * eshell/em-unix.el (ange-cache): Declare.
2497 * faces.el (x-display-list, x-open-connection, x-get-resource):
2500 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2501 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2504 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2506 * net/gnutls.el (gnutls-log-level): Declare.
2508 * net/shr.el (image-size, image-animate): Declare.
2510 * simple.el (font-info): Declare.
2512 * subr.el (x-popup-dialog): Declare.
2514 * term/common-win.el (x-select-enable-primary)
2515 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2518 * term/ns-win.el (x-handle-args): Declare.
2520 * term/x-win.el (x-select-enable-clipboard): Declare.
2522 * term/w32-win.el (create-default-fontset): Declare.
2524 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2527 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2528 (fit-frame-to-buffer): Explicit error if --without-x.
2529 (mouse-autoselect-window-select): Silence compiler.
2531 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2533 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2534 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2535 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2536 * eshell/esh-util.el (eshell-sublist):
2537 Remove unused local variables.
2539 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2541 * textmodes/two-column.el: Make 2C-split work for --without-x.
2542 (scroll-bar-columns): Autoload.
2543 (top-level): Require fringe when compiling.
2545 2013-09-18 Leo Liu <sdl.web@gmail.com>
2547 * subr.el (add-hook): Robustify to handle closure as well.
2549 2013-09-17 Glenn Morris <rgm@gnu.org>
2551 * simple.el (messages-buffer-mode-map): Unbind "g".
2553 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2555 * help-mode.el (help-mode-finish): Use derived-mode-p.
2556 Remove obsolete highlighting.
2558 * play/life.el (life-mode): Use define-derived-mode. Derive from
2560 (life): Let-bind inhibit-read-only.
2561 (life-setup): Avoid `setq'. Use `life-mode'.
2563 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2564 which should not be needed any more.
2565 (package-menu-refresh, package-menu-describe-package): Use user-error.
2567 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2568 (eshell-post-rewrite-command-hook): Make obsolete.
2569 (eshell-parse-command): Simplify.
2570 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2571 (eshell--cmd): Declare.
2572 (eshell-parse-pipeline): Remove unused var `final-p'.
2573 Pass a dynvar to eshell-post-rewrite-command-hook.
2574 Implement the new eshell-post-rewrite-command-function.
2575 (eshell-invoke-directly): Remove unused arg `input'.
2576 * eshell/esh-io.el (eshell-io-initialize):
2577 Use eshell-post-rewrite-command-function (bug#15399).
2578 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2579 adjust to new calling convention.
2580 (eshell-create-handles): Rename args to avoid clashing with dynvar
2583 2013-09-17 Glenn Morris <rgm@gnu.org>
2585 * simple.el (messages-buffer-mode): New major mode.
2586 (messages-buffer): New function.
2587 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2588 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2589 (ert-run-test): Use `messages-buffer' function.
2590 (ert--force-message-log-buffer-truncation): Ignore read-only.
2591 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2592 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2594 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2596 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2598 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2600 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2602 * icomplete.el (icomplete-in-buffer): New var.
2603 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2604 vars and replace them with functions.
2605 (icomplete-minibuffer-setup): Adjust accordingly.
2606 (icomplete--completion-table, icomplete--completion-predicate)
2607 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2609 (icomplete-forward-completions, icomplete-backward-completions)
2610 (icomplete-simple-completing-p, icomplete-exhibit)
2611 (icomplete-completions): Use them.
2612 (icomplete--in-region-buffer): New var.
2613 (icomplete--in-region-setup): New function.
2614 (icomplete-mode): Use it.
2616 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2618 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2619 return args and options.
2620 (eshell-eval-using-options): Use the new return value of
2621 eshell--do-opts to set the options's vars in their scope.
2622 (eshell--set-option): Rename from eshell-set-option.
2624 (eshell--process-option): Rename from eshell-process-option.
2626 (eshell--process-args): Use an `opt-vals' alist to store the options's
2627 values during their processing and return them additionally to the
2630 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2632 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2633 continuation character an operator, as far as indentation is
2634 concerned (Bug#15369).
2636 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2638 * window.el (window--state-put-2): Don't process buffer state
2639 when buffer doesn't exist any more (Bug#15382).
2641 2013-09-15 Glenn Morris <rgm@gnu.org>
2643 * eshell/em-unix.el (eshell/rm):
2644 Make -f ignore missing files. (Bug#15373)
2646 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2647 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2648 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2650 2013-09-14 Glenn Morris <rgm@gnu.org>
2652 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2654 2013-09-13 Glenn Morris <rgm@gnu.org>
2656 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2657 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2659 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2661 * frame.el (x-focus-frame): Mark as declared in frame.c.
2663 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2665 * ls-lisp.el: Use advice-add.
2666 (original-insert-directory): Remove.
2667 (ls-lisp--insert-directory): Rename from insert-directory; add
2668 `orig-fun' argument.
2669 (insert-directory): Advise.
2671 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2673 * term.el (term-emulate-terminal): Decode the command string
2674 before passing it to term-command-hook. (Bug#15337)
2676 2013-09-13 Glenn Morris <rgm@gnu.org>
2678 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2680 * eshell/esh-ext.el (eshell-search-path): Declare.
2682 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2683 Otherwise an error occurs if eshell-dirs module not loaded.
2685 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2687 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2689 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2690 `tramp-check-proper-host'. Check for a valid method name.
2692 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2693 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2694 * net/tramp-sh.el (tramp-maybe-open-connection):
2695 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2697 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2698 also for hash values.
2700 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2702 * term/ns-win.el (parameters): Don't declare as dynamic.
2703 (before-make-frame-hook): Don't add ineffective function.
2705 * eshell/*.el: Use lexical-binding (bug#15231).
2707 2013-09-12 Kenichi Handa <handa@gnu.org>
2709 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2711 2013-09-12 Glenn Morris <rgm@gnu.org>
2713 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2714 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2716 * subr.el (do-after-load-evaluation): Also give compiler warnings
2717 when obsolete files are used (except by obsolete files).
2719 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2720 in the status output, assume `filename' is the first. (Bug#15322)
2722 * vc/vc.el (vc-deduce-fileset): Doc fix.
2724 * calc/calc-help.el (Info-goto-node):
2725 * progmodes/cperl-mode.el (Info-find-node):
2726 * vc/ediff.el (Info-goto-node): Update declarations.
2728 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2730 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2731 (vc-bzr-pull): Require vc-dispatcher.
2732 * vc/vc-git.el (vc-compilation-mode): Declare.
2733 (vc-git-pull): Require vc-dispatcher.
2735 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2737 * progmodes/octave.el (help-button-action): Declare.
2739 * shell.el (shell-directory-tracker): Output error as a message
2740 rather than just returning it as a string.
2741 (shell-process-pushd): Remove useless use of message.
2743 * dframe.el (dframe-timer-fn):
2744 * files.el (dir-locals-read-from-file):
2745 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2747 * reveal.el (reveal-post-command):
2748 * saveplace.el (load-save-place-alist-from-file):
2749 * shell.el (shell-resync-dirs):
2750 * w32-common-fns.el (x-get-selection-value):
2751 * emacs-lisp/copyright.el (copyright-find-copyright):
2752 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2753 * emulation/tpu-edt.el (tpu-copy-keyfile):
2754 * play/bubbles.el (bubbles--mark-neighbourhood):
2755 * progmodes/executable.el
2756 (executable-make-buffer-file-executable-if-script-p):
2757 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2759 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2761 Cleanup Eshell to rely less on dynamic scoping.
2762 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2763 last-value, and ext-command here. Bind `args' closer to `body'.
2764 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2765 (eshell--args): Declare new dynamic var.
2766 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2767 last-value, and ext-command. Pass `args' to `body'.
2768 (eshell-process-args): Bind eshell--args.
2769 (eshell-set-option): Use eshell--args.
2770 * eshell/eshell.el (eshell): Use derived-mode-p.
2771 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2772 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2773 (eshell-glob-function): Declare.
2774 * eshell/esh-util.el: Require cl-lib.
2775 (eshell-read-hosts-file): Avoid add-to-list.
2776 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2778 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2780 (eshell/diff): Remove unused var `err'.
2781 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2783 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2784 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2786 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2787 Move declaration before first use.
2788 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2789 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2792 2013-09-12 Glenn Morris <rgm@gnu.org>
2794 * term/ns-win.el (global-map): Remove binding for ispell-next,
2795 deleted 1999-05-29. (Bug#15357)
2797 2013-09-11 Glenn Morris <rgm@gnu.org>
2799 * echistory.el (electric-command-history): Remove call to deleted func.
2801 * play/landmark.el (landmark-mode): Fix typos.
2803 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2804 Check cvs-sort-ignore-file is bound.
2806 * savehist.el: No need for cl when compiling on Emacs.
2808 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2810 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2812 (eshell-self-insert-command, eshell-send-invisible):
2813 Remove unused argument.
2814 (eshell-handle-control-codes): Remove unused var `orig'.
2815 Avoid delete-backward-char.
2817 * files.el (set-auto-mode): Simplify a bit further.
2819 2013-09-11 Glenn Morris <rgm@gnu.org>
2821 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2822 (set-auto-mode): Don't regexp-quote elements.
2823 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2824 * progmodes/cc-mode.el (interpreter-mode-alist):
2825 * progmodes/ruby-mode.el (interpreter-mode-alist):
2826 Revert previous change.
2828 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2830 * play/snake.el (snake-mode):
2831 * play/mpuz.el (mpuz-mode):
2832 * play/landmark.el (lm-mode):
2833 * play/blackbox.el (blackbox-mode):
2834 * play/5x5.el (5x5-mode):
2835 * obsolete/options.el (Edit-options-mode):
2836 * net/quickurl.el (quickurl-list-mode):
2837 * net/newst-treeview.el (newsticker-treeview-mode):
2838 * mail/rmailsum.el (rmail-summary-mode):
2839 * mail/mspools.el (mspools-mode):
2840 * locate.el (locate-mode):
2841 * ibuffer.el (ibuffer-mode):
2842 * emulation/ws-mode.el (wordstar-mode):
2843 * emacs-lisp/debug.el (debugger-mode):
2844 * array.el (array-mode):
2845 * net/eudc.el (eudc-mode): Use define-derived-mode.
2846 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2847 Move initialization into declaration.
2848 (mairix-searches-mode): Use define-derived-mode.
2849 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2850 (eudc-edit-hotlist): Use dolist.
2851 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2852 (Man-mode): Use define-derived-mode.
2853 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2854 (Info-edit-mode): Use define-derived-mode.
2855 (Info-cease-edit): Use Info-mode.
2856 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2858 (eshell-mode): Use define-derived-mode.
2859 * chistory.el (command-history-mode-map): Rename from
2860 command-history-map.
2861 (command-history-mode): Use define-derived-mode.
2862 (Command-history-setup): Remove function.
2863 * calc/calc.el (calc-trail-mode-map): New var.
2864 (calc-trail-mode): Use define-derived-mode.
2865 (calc-trail-buffer): Set calc-main-buffer manually.
2866 * bookmark.el (bookmark-insert-annotation): New function.
2867 (bookmark-edit-annotation): Use it.
2868 (bookmark-edit-annotation-mode): Make it a proper major mode.
2869 (bookmark-send-edited-annotation): Use derived-mode-p.
2870 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2871 closer to its ideal place. Use \' to match EOS.
2873 * profiler.el (profiler-calltree-find): Use function-equal.
2875 2013-09-10 Glenn Morris <rgm@gnu.org>
2877 * files.el (interpreter-mode-alist): Convert to regexps.
2878 (set-auto-mode): Adapt for this. (Bug#15306)
2879 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2880 Comment out unused variable.
2881 * progmodes/cc-mode.el (interpreter-mode-alist):
2882 * progmodes/python.el (interpreter-mode-alist):
2883 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2884 * progmodes/sh-script.el (sh-set-shell):
2885 No longer use interpreter-mode-alist to get list of shells.
2887 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2889 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2891 * simple.el: Use set-temporary-overlay-map for universal-argument.
2892 (universal-argument-map): Don't use default-bindings (bug#15317).
2893 Bind switch-frame explicitly. Replace universal-argument-minus with
2894 a conditional binding.
2895 (universal-argument-num-events, saved-overriding-map): Remove.
2896 (restore-overriding-map): Remove.
2897 (universal-argument--mode): Rename from save&set-overriding-map,
2899 (universal-argument, universal-argument-more, negative-argument)
2900 (digit-argument): Adjust accordingly.
2901 (universal-argument-minus): Remove.
2902 (universal-argument-other-key): Remove.
2904 * subr.el (with-demoted-errors): Add `format' argument.
2906 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2908 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2909 `tramp-cleanup-connection'.
2911 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2912 parameters KEEP-DEBUG and KEEP-PASSWORD.
2914 * net/tramp.el (tramp-file-name-handler):
2915 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2916 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2917 (tramp-maybe-open-connection):
2918 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2919 Use `tramp-cleanup-connection'.
2921 * net/tramp-sh.el (tramp-maybe-open-connection):
2922 Catch 'uname-changed inside the progress reporter.
2924 2013-09-10 Glenn Morris <rgm@gnu.org>
2926 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2928 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2929 returns "alternate access method" in mode (eg "-rw-r--r--.").
2931 2013-09-08 Glenn Morris <rgm@gnu.org>
2933 * saveplace.el (load-save-place-alist-from-file):
2934 Demote errors. (Bug#15305)
2936 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2938 Improve compatibility with older Emacsen, and XEmacs.
2940 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2941 only if it is bound. It isn't for XEmacs.
2942 (with-tramp-progress-reporter): Do not let-bind `result'.
2943 This yields to scoping errors in XEmacs.
2944 (tramp-handle-make-auto-save-file-name): New function, moved from
2947 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2948 for `make-auto-save-file-name'.
2949 (tramp-adb--gnu-switches-to-ash):
2950 Use `tramp-compat-replace-regexp-in-string'.
2952 * net/tramp-cache.el (tramp-cache-print): Call
2953 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2955 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2956 bound. It isn't for XEmacs.
2958 * net/tramp-compat.el (tramp-compat-copy-file):
2959 Catch `wrong-number-of-arguments' error.
2960 (tramp-compat-replace-regexp-in-string): New defun.
2962 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2963 for `make-auto-save-file-name'.
2964 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2966 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2967 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2968 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2970 * net/tramp-gw.el (tramp-gw-open-network-stream):
2971 Use `tramp-compat-replace-regexp-in-string'.
2973 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2974 Call `tramp-handle-make-auto-save-file-name'.
2975 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2976 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2977 (tramp-sh-file-inotifywait-process-filter):
2978 Use `tramp-compat-replace-regexp-in-string'.
2979 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2981 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2982 for `make-auto-save-file-name'.
2983 (tramp-smb-handle-copy-directory):
2984 Call `tramp-compat-replace-regexp-in-string'.
2985 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2986 (tramp-smb-handle-copy-file): Improve error message.
2987 (tramp-smb-handle-rename-file): Rename directly only in case
2988 `newname' does not exist yet. This is a restriction of smbclient.
2989 (tramp-smb-maybe-open-connection): Rerun the function only when
2990 `auth-sources' is non-nil.
2992 2013-09-08 Kenichi Handa <handa@gnu.org>
2994 * international/characters.el: Set category "^" (Combining) for
2997 2013-09-07 Alan Mackenzie <acm@muc.de>
2999 Correctly fontify Java class constructors.
3000 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3002 (c-recognize-typeless-decls): Set the Java value to t.
3003 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3004 While handling a "(", add a check for, effectively, Java, and handle a
3005 "typeless" declaration there.
3007 2013-09-07 Roland Winkler <winkler@gnu.org>
3009 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3010 field subtitle for entry type book.
3012 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3014 * minibuffer.el: Make minibuffer-complete call completion-in-region
3015 rather than other way around.
3016 (completion--some, completion-pcm--find-all-completions):
3017 Don't delay signals when debugging.
3018 (minibuffer-completion-contents): Beware fields within the
3019 minibuffer contents.
3020 (completion-all-sorted-completions): Use defvar-local.
3021 (completion--do-completion, completion--cache-all-sorted-completions)
3022 (completion-all-sorted-completions, minibuffer-force-complete):
3023 Add args `beg' and `end'.
3024 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3025 (minibuffer-complete): Use completion-in-region.
3026 (completion-complete-and-exit): New fun, extracted from
3027 minibuffer-complete-and-exit.
3028 (minibuffer-complete-and-exit): Use it.
3029 (completion--complete-and-exit): Rename from
3030 minibuffer--complete-and-exit.
3031 (completion-in-region--single-word): New function, extracted from
3032 minibuffer-complete-word.
3033 (minibuffer-complete-word): Use it.
3034 (display-completion-list): Make `common-substring' argument obsolete.
3035 (completion--in-region): Call completion--in-region-1 instead of
3036 minibuffer-complete.
3037 (completion-help-at-point): Pass boundaries to
3038 minibuffer-completion-help as args rather than via an overlay.
3039 (completion-pcm--string->pattern): Use `any-delim'.
3040 (completion-pcm--optimize-pattern): New function.
3041 (completion-pcm--pattern->regex): Handle `any-delim'.
3042 * icomplete.el (icomplete-forward-completions)
3043 (icomplete-backward-completions, icomplete-completions):
3044 Adjust calls to completion-all-sorted-completions and
3045 completion--cache-all-sorted-completions.
3046 (icomplete-with-completion-tables): Default to t.
3047 * emacs-lisp/crm.el (crm--current-element): Rename from
3048 crm--select-current-element. Don't put an overlay but return the
3050 (crm--completion-command): Take two new args to bind to the boundaries.
3051 (crm-completion-help): Adjust accordingly.
3052 (crm-complete): Use completion-in-region.
3053 (crm-complete-word): Use completion-in-region--single-word.
3054 (crm-complete-and-exit): Use completion-complete-and-exit.
3056 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3058 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3061 2013-09-06 Juri Linkov <juri@jurta.org>
3063 * info.el (Info-display-images-node): When image file doesn't exist
3064 display text version of the image if it's provided in the Info file.
3065 Otherwise, display the location of missing image from SRC attribute.
3066 Add help-echo text property from ALT attribute. (Bug#15279)
3068 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3070 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3071 (edit-abbrevs-mode): Use define-derived-mode.
3073 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3074 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3076 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3077 Use define-derived-mode.
3079 * epg.el (epg-start-encrypt): Minor CSE simplification.
3081 2013-09-06 William Xu <william.xwl@gmail.com>
3083 * arc-mode.el: Add support for 7za (bug#15264).
3084 (archive-7z-program): New var.
3085 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3086 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3087 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3089 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3093 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3094 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3095 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3096 (tramp-postfix-host-format, tramp-file-name-regexp)
3097 (tramp-completion-file-name-regexp)
3098 (tramp-completion-dissect-file-name)
3099 (tramp-handle-substitute-in-file-name): Remove 'url case.
3100 (tramp-file-name-regexp-url)
3101 (tramp-completion-file-name-regexp-url): Remove constants.
3103 2013-09-06 Glenn Morris <rgm@gnu.org>
3105 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3107 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3109 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3110 keywords" below "here-doc beginnings" (Bug#15270).
3112 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3114 * subr.el (pop): Use `car-safe'.
3115 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3116 to detect unused `pop' return value.
3118 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3120 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3121 (python-fill-string): Remove unused var `marker'.
3122 (python-skeleton-add-menu-items): Remove unused var `items'.
3124 * international/mule-cmds.el: Require CL.
3125 (find-coding-systems-for-charsets): Avoid add-to-list.
3126 (sanitize-coding-system-list): New function, extracted from
3127 select-safe-coding-system-interactively.
3128 (select-safe-coding-system-interactively): Use it.
3129 (read-input-method-name): Accept symbols for `default'.
3131 * emacs-lisp/advice.el (defadvice): Add indent rule.
3133 2013-09-05 Daniel Hackney <dan@haxney.org>
3137 * net/browse-url.el:
3140 * net/eudcb-ldap.el:
3153 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3154 byte compiler. Remove some unused let-bound variables.
3156 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3158 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3159 a "ref-cell", since it gets better optimized (bug#14883).
3161 2013-09-05 Glenn Morris <rgm@gnu.org>
3163 * progmodes/cc-awk.el (c-forward-sws): Declare.
3165 2013-09-04 Glenn Morris <rgm@gnu.org>
3167 * generic-x.el [rul-generic-mode]: Require cc-mode.
3168 (c++-mode-syntax-table): Declare.
3169 (rul-generic-mode-syntax-table): Init in the defvar.
3171 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3173 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3174 (vc-do-command, vc-set-async-update):
3175 * vc/vc-mtn.el (vc-mtn-dir-status):
3176 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3177 (vc-hg-pull, vc-hg-merge-branch):
3178 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3179 (vc-git-merge-branch):
3180 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3181 (vc-cvs-dir-status-files):
3182 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3183 (vc-bzr-dir-status-files):
3184 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3185 * vc/vc-annotate.el: Use lexical-binding.
3186 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3187 (vc-sentinel-movepoint): Declare.
3188 (vc-annotate): Don't use `goto-line'.
3189 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3190 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3191 (vc-sentinel-movepoint): Declare.
3192 * vc/vc-svn.el: Use lexical-binding.
3193 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3195 * vc/vc-rcs.el: Use lexical-binding.
3197 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3198 `deleted'. Don't drop errors silently.
3200 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3202 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3204 * vc/vc.el (vc-ignore): Rewrite.
3205 (vc-default-ignore): New function.
3206 (vc-default-ignore-completion-table): Use find-ignore-file.
3208 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3209 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3210 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3211 Remove. Most code moved to vc.el.
3213 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3215 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3216 * net/tramp-smb.el (tramp-smb-get-file-entries):
3217 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3218 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3220 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3222 (eww-change-select): Remove unused var `properties'.
3223 (eww-make-unique-file-name): Remove unused var `base'.
3225 * finder.el (finder-compile-keywords): Don't mess with windows.
3227 * calculator.el (calculator-funcall): Fix typo in last change.
3229 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3231 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3232 <pkg>-autoloads.el file stop us.
3234 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3235 warnings, and factor out common code.
3237 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3239 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3240 two-character operators and whether the character preceding them
3241 changes their meaning (Bug#15208).
3243 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3245 Format code sent to Python shell for robustness.
3246 * progmodes/python.el (python-shell-buffer-substring):
3248 (python-shell-send-region, python-shell-send-buffer): Use it.
3250 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3252 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3253 * net/tramp.el (tramp-user-error): ... here.
3254 (tramp-find-method, tramp-check-proper-host)
3255 (tramp-dissect-file-name, tramp-debug-message)
3256 (tramp-handle-shell-command):
3257 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3258 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3260 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3262 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3264 * avoid.el (mouse-avoidance-point-position)
3265 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3268 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3270 * progmodes/python.el (python-shell-completion-get-completions):
3271 Drop use of deleted `comint-last-prompt-overlay'.
3272 (python-nav-if-name-main): New command.
3274 2013-09-01 Glenn Morris <rgm@gnu.org>
3276 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3277 Avoid leading space in $wins. Otherwise the sed command used by
3278 eg compile-main ends up containing "/*.el". (Bug#15170)
3280 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3282 2013-08-30 Glenn Morris <rgm@gnu.org>
3284 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3285 Fix is-this-a-directory logic. (Bug#15220)
3287 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3289 * textmodes/css-mode.el: Use SMIE.
3290 (css-smie-grammar): New var.
3291 (css-smie--forward-token, css-smie--backward-token)
3292 (css-smie-rules): New functions.
3293 (css-mode): Use them.
3294 (css-navigation-syntax-table): Remove var.
3295 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3296 (css-indent-calculate, css-indent-line): Remove functions.
3298 Misc changes to reduce use of `(lambda...); and other cleanups.
3299 * cus-edit.el: Use lexical-binding.
3300 (customize-push-and-save, customize-apropos)
3301 (custom-buffer-create-internal): Use closures.
3302 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3303 * progmodes/ada-xref.el: Use setq.
3304 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3305 * dframe.el: Use lexical-binding.
3306 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3307 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3308 * descr-text.el: Use lexical-binding.
3309 (describe-text-widget, describe-text-sexp, describe-property-list):
3311 * comint.el (comint-history-isearch-push-state): Use a closure.
3312 * calculator.el: Use lexical-binding.
3313 (calculator-number-to-string): Make it work with lexical-binding.
3314 (calculator-funcall): Same and use cl-letf.
3316 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3317 (lisp--company-doc-string, lisp--company-location): New functions.
3318 (lisp-completion-at-point): Use them to improve Company support.
3320 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3321 params of lambda expressions.
3322 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3323 (ruby-smie--opening-pipe-p): New function.
3324 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3325 symbols and matched |...| for formal params.
3326 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3327 from being treated as hanging. Handle "rescue".
3329 2013-08-29 Glenn Morris <rgm@gnu.org>
3331 * progmodes/cc-engine.el (c-pull-open-brace):
3332 Move definition before use.
3334 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3336 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3337 are immutable. Don't use `unsafe' any more.
3338 (cl--defsubst-expand): Don't substitute at the same time as keeping
3339 a residual unused let-binding. Don't use `unsafe' any more.
3341 2013-08-29 Glenn Morris <rgm@gnu.org>
3343 * calendar/cal-china.el (calendar-chinese-year-cache):
3346 * nxml/nxml-util.el (nxml-debug-clear-inside):
3347 Use cl-loop rather than loop.
3349 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3351 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3353 2013-08-28 Glenn Morris <rgm@gnu.org>
3355 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3357 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3359 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3361 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3363 * simple.el (repeat-complex-command--called-interactively-skip):
3365 (repeat-complex-command): Use it (bug#14136).
3367 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3368 (c-define-abbrev-table): Add `doc' argument.
3369 (c-mode-abbrev-table, c++-mode-abbrev-table)
3370 (objc-mode-abbrev-table, java-mode-abbrev-table)
3371 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3372 (awk-mode-abbrev-table): Use it.
3373 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3374 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3375 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3376 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3377 Move initialization into the declaration; and remove any
3380 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3381 and dynamic let binding.
3383 * vc/smerge-mode.el: Remove redundant :group args.
3385 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3388 2013-08-28 Juri Linkov <juri@jurta.org>
3390 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3391 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3392 (isearch-other-meta-char): Handle an undefined shifted printing
3393 character by downshifting it. (Bug#15200)
3395 2013-08-28 Juri Linkov <juri@jurta.org>
3397 * isearch.el (isearch-search): Change regexp error message for
3398 non-regexp searches. (Bug#15166)
3400 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3402 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3403 for portability to hosts where /bin/sh has problems.
3405 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3407 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3409 2013-08-27 Juri Linkov <juri@jurta.org>
3411 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3412 in the keyboard macro. (Bug#15126)
3414 2013-08-27 Juri Linkov <juri@jurta.org>
3416 * isearch.el (isearch-quote-char): Comment out converting unibyte
3417 to multibyte, thus syncing with its `quoted-insert' counterpart.
3420 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3422 * window.el (display-buffer-use-some-window): Add missing
3423 argument in call of get-largest-window (Bug#15185).
3424 Reported by Stephen Leake.
3426 2013-08-27 Glenn Morris <rgm@gnu.org>
3428 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3430 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3432 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3433 from a matcher-function unless there's no more matches (bug#15161).
3435 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3437 * minibuffer.el: Revert change from 2013-08-20.
3439 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3440 with text property `tramp-default', if appropriate.
3441 (tramp-check-proper-host): New defun.
3442 (tramp-dissect-file-name): Do not check hostname. Revert change
3444 (tramp-backtrace): Make VEC-OR-PROC optional.
3446 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3447 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3448 * net/tramp-sh.el (tramp-maybe-open-connection):
3449 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3450 Apply `tramp-check-proper-host'.
3452 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3454 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3455 lambda expression in order to have `describe-variable' display it.
3457 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3459 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3460 BUF can be optional. (Bug#15186)
3462 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3464 * progmodes/flymake.el (flymake-get-real-file-name-function):
3465 Fix broken customization. (Bug#15184)
3467 2013-08-25 Alan Mackenzie <acm@muc.de>
3469 Improve indentation of bracelists defined by macros (without "=").
3471 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3472 expansion begins with "{", regard it as bracelist when it doesn't
3475 Parse C++ inher-intro when there's a template split over 2 lines.
3477 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3478 rigorously the search for "class" etc. followed by ":".
3480 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3481 random languages a regexp which never matches rather than nil.
3483 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3485 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3486 (c-awk-regexp-one-line-possibly-open-char-list-re)
3487 (c-awk-one-line-possibly-open-regexp-re)
3488 (c-awk-one-line-non-syn-ws*-re): Remove.
3489 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3490 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3491 (c-awk-space*-unclosed-regexp-/-re): New constants.
3492 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3493 aren't regexp delimiters.
3495 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3496 handling for a rare situation in AWK Mode involving unterminated
3499 2013-08-23 Glenn Morris <rgm@gnu.org>
3501 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3503 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3505 * files.el (create-file-buffer): If the result would begin with
3506 spaces, prepend a "|" instead of removing them. (Bug#15162)
3508 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3510 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3511 text-properties (bug#15155).
3513 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3515 (calc-keypad-redraw): Remove unused var `pad'.
3516 (calc-keypad-press): Remove unused var `menu'.
3518 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3520 * window.el (display-buffer-pop-up-frame):
3521 Call pop-up-frame-function with BUFFER current so `make-frame' will
3522 use it as the new frame's buffer (Bug#15133).
3524 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3526 * calendar/timeclock.el: Minor cleanups.
3527 (timeclock-ask-before-exiting, timeclock-use-display-time):
3529 (timeclock-modeline-display): Define as alias before the
3531 (timeclock-mode-line-display): Use define-minor-mode.
3532 (timeclock-day-list-template): Make it a function, add an argument.
3533 (timeclock-day-list-required, timeclock-day-list-length)
3534 (timeclock-day-list-debt, timeclock-day-list-span)
3535 (timeclock-day-list-break): Adjust calls accordingly.
3537 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3539 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3540 Use read--expression so that completion works again.
3542 2013-08-21 Sam Steingold <sds@gnu.org>
3544 Add rudimentary inferior shell interaction
3545 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3546 (sh-set-shell): Reset it.
3547 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3548 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3550 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3552 * align.el: Use lexical-binding.
3553 (align-region): Simplify accordingly.
3555 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3557 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3559 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3562 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3566 * net/tramp-cmds.el:
3568 * net/tramp-gvfs.el:
3570 * net/tramp-sh.el: Don't wrap external variable declarations by
3571 `eval-when-compile'.
3573 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3575 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3576 now that Emacs supports ImageMagick animations.
3578 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3580 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3581 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3583 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3585 * window.el (mouse-autoselect-window-select): Do autoselect when
3586 mouse pointer is on margin.
3588 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3590 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3592 2013-08-16 Glenn Morris <rgm@gnu.org>
3594 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3595 Handle "Remote Directory" response of some clients. (Bug#15058)
3597 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3598 Tweak warning. (Bug#14926)
3600 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3601 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3603 * image-mode.el (image-mode-map): Add menu items to reverse,
3604 increase, decrease, reset animation speed.
3605 (image--set-speed, image-increase-speed, image-decrease-speed)
3606 (image-reverse-speed, image-reset-speed): New functions.
3607 (image-mode-map): Add bindings for speed commands.
3609 * image.el (image-animate-get-speed, image-animate-set-speed):
3611 (image-animate-timeout): Respect image :speed property.
3613 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3615 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3616 previous line (bug#15101).
3617 (debugger-eval-expression, debugger-record-expression):
3618 Use read--expression (bug#15102).
3620 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3622 Remove byte compiler warnings, visible when compiling with
3623 `byte-compile-force-lexical-warnings' set to t.
3625 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3626 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3627 (tramp-handle-unhandled-file-name-directory)
3628 (tramp-handle-file-notify-add-watch, tramp-action-login)
3629 (tramp-action-succeed, tramp-action-permission-denied)
3630 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3633 * net/tramp-adb.el (tramp-adb-parse-device-names)
3634 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3635 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3636 (tramp-adb-handle-file-truename): Remove unused arguments.
3638 * net/tramp-cache.el (tramp-flush-directory-property)
3639 (tramp-flush-connection-property, tramp-list-connections)
3640 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3642 * net/tramp-compat.el (tramp-compat-make-temp-file):
3643 Rename FILENAME to F.
3645 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3646 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3647 (tramp-zeroconf-parse-workstation-device-names)
3648 (tramp-zeroconf-parse-webdav-device-names)
3649 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3651 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3652 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3654 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3656 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3657 (tramp-sh-handle-insert-file-contents-literally)
3658 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3660 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3661 Remove unused variables.
3663 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3664 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3665 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3667 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3668 Make them a defconst.
3669 (tramp-uuencode-region): Remove unused variable.
3671 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3673 * frameset.el (frameset--prop-setter): New function.
3674 (frameset-prop): Add gv-setter declaration.
3675 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3676 parameter was already set in FILTERED. Doc fix.
3677 (frameset--record-minibuffer-relationships): Allow saving a
3678 minibufferless frame without its corresponding minibuffer frame.
3679 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3680 frame, if the frame id matches.
3681 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3682 frames before orphaned ones.
3683 (frameset-restore): Warn about orphaned windows, instead of error out.
3685 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3687 * window.el (window-make-atom): Don't overwrite parameter
3689 (display-buffer-in-atom-window): Handle special case where we
3690 split an already atomic window.
3691 (window--major-non-side-window, display-buffer-in-side-window)
3692 (window--side-check): Ignore minibuffer window when walking
3694 (window-deletable-p): Return 'frame only if no other frame uses
3695 our minibuffer window.
3696 (record-window-buffer): Run buffer-list-update-hook.
3697 (split-window): Make sure window--check-frame won't destroy an
3698 existing atomic window in case the new window gets nested
3700 (display-buffer-at-bottom): Ignore minibuffer window when
3701 walking window tree. Don't split a side window.
3702 (pop-to-buffer): Don't set-buffer here, the select-window call
3704 (mouse-autoselect-window-select): Autoselect only if we are in the
3705 text portion of the window.
3707 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3709 * net/shr.el (shr-parse-image-data): New function to grab both the
3710 data itself and the Content-Type.
3711 (shr-put-image): Use it.
3713 * net/eww.el (eww-display-image): Ditto.
3715 * image.el (image-content-type-suffixes): New variable.
3717 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3719 * progmodes/python.el (python-imenu--build-tree)
3720 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3722 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3724 * simple.el (backward-word): Mention the optional argument.
3726 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3728 * frameset.el (frameset--make): Rename constructor from make-frameset.
3729 (frameset-p, frameset-valid-p): Don't autoload.
3730 (frameset-valid-p): Use normal accessors.
3732 2013-08-13 Glenn Morris <rgm@gnu.org>
3734 * progmodes/compile.el (compile-command): Tweak example in doc.
3735 * obsolete/scribe.el (scribe-mode):
3736 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3738 * mail/feedmail.el (feedmail-confirm-outgoing)
3739 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3741 * cus-start.el (truncate-partial-width-windows): Fix type.
3743 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3745 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3747 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3749 * emacs-lisp/timer.el (timer--time-setter): New function.
3750 (timer--time): Use it as gv-setter.
3752 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3753 setter is not a symbol.
3755 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3757 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3758 if sending fails. This makes debugging easier.
3760 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3762 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3763 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3764 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3766 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3768 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3770 2013-08-12 Glenn Morris <rgm@gnu.org>
3772 * format.el (format-annotate-function):
3773 Handle read-only text properties in the source. (Bug#14887)
3775 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3777 * net/eww.el (eww-display-html): Ignore coding system errors.
3778 One web site uses "utf-8lias" as the coding system.
3780 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3782 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3784 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3786 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3787 (tutorial--detailed-help): Remove unused local variables.
3788 (tutorial--save-tutorial-to): Use ignore-errors.
3789 (help-with-tutorial): Use looking-at-p.
3791 * view.el (view-buffer-other-window, view-buffer-other-frame):
3792 Mark unused arguments.
3794 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3795 (woman-select-symbol-fonts, woman, woman-find-file)
3796 (woman-insert-file-contents, woman-non-underline-faces):
3798 (woman1-unquote): Move declaration.
3800 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3801 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3802 argument. Remove unused local variable.
3803 (xml-parse-elem-type): Use string-match-p.
3804 (xml-substitute-numeric-entities): Use ignore-errors.
3806 * calculator.el (calculator): Mark unused argument.
3807 (calculator-paste, calculator-quit, calculator-integer-p):
3809 (calculator-string-to-number, calculator-decimal, calculator-exp)
3810 (calculator-op-or-exp): Use string-match-p.
3812 * dired.el (dired-buffer-more-recently-used-p): Declare.
3813 (dired-insert-set-properties, dired-insert-old-subdirs):
3816 * dired-aux.el (dired-compress): Use ignore-errors.
3817 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3818 (dired-do-async-shell-command, dired-do-shell-command)
3819 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3820 (dired-insert-subdir-validate): Use string-match-p.
3821 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3822 (dired-add-entry): Use string-match-p, looking-at-p.
3823 (dired-insert-subdir-newpos): Remove unused local variable.
3825 * filenotify.el (file-notify-callback): Remove unused local variable.
3827 * filesets.el (filesets-error): Mark unused argument.
3828 (filesets-which-command-p, filesets-filter-dir-names)
3829 (filesets-directory-files, filesets-get-external-viewer)
3830 (filesets-ingroup-get-data): Use string-match-p.
3832 * find-file.el (ff-other-file-name, ff-other-file-name)
3833 (ff-find-the-other-file, ff-cc-hh-converter):
3834 Remove unused local variables.
3835 (ff-get-file-name): Use string-match-p.
3836 (ff-all-dirs-under): Use ignore-errors.
3838 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3839 (follow-select-if-visible): Remove unused local variable.
3841 * forms.el (read-file-filter): Move declaration.
3842 (forms--make-format, forms--make-parser, forms-insert-record):
3843 Quote function with #'.
3844 (forms--update): Use string-match-p. Quote function with #'.
3846 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3847 (help-make-xrefs): Use looking-at-p.
3848 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3850 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3851 (ibuffer-confirm-operation-on): Use string-match-p.
3853 * msb.el (msb-item-handler, msb-dired-item-handler):
3854 Mark unused arguments.
3856 * ses.el (ses-decode-cell-symbol)
3857 (ses-kill-override): Remove unused local variable.
3858 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3859 (ses-load): Use ignore-errors, looking-at-p.
3860 (ses-jump-safe): Use ignore-errors.
3861 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3863 * tabify.el (untabify, tabify): Mark unused arguments.
3865 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3866 Mark unused argument.
3867 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3868 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3870 * emacs-lisp/timer.el (timer--time): Define setter with
3871 gv-define-setter to avoid deprecation warning.
3873 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3874 (*record-cmpl-statistics-p*): Remove (was commented out).
3875 (cmpl-statistics-block): Remove (body was commented out).
3876 All callers changed.
3877 (add-completions-from-buffer, load-completions-from-file):
3878 Remove unused variables.
3880 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3882 * filecache.el (file-cache-delete-file-list):
3883 Print message only when told so.
3884 (file-cache-files-matching): Use #' in mapconcat argument.
3886 * ffap.el (ffap-url-at-point): Fix reference to variable
3887 thing-at-point-default-mail-uri-scheme.
3889 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3891 * subr.el (define-error): New function.
3892 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3893 error-file-not-found and define with define-error.
3894 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3895 and define with define-error.
3896 * userlock.el (file-locked, file-supersession):
3897 * simple.el (mark-inactive):
3898 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3899 * progmodes/ada-mode.el (ada-mode-errors):
3900 * play/life.el (life-extinct):
3901 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3902 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3903 * nxml/rng-util.el (rng-error):
3904 * nxml/rng-uri.el (rng-uri-error):
3905 * nxml/rng-match.el (rng-compile-error):
3906 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3907 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3908 * nxml/nxml-rap.el (nxml-scan-error):
3909 * nxml/nxml-outln.el (nxml-outline-error):
3910 * net/soap-client.el (soap-error):
3911 * net/gnutls.el (gnutls-error):
3912 * net/ange-ftp.el (ftp-error):
3913 * mpc.el (mpc-proc-error):
3914 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3915 (json-number-format, json-string-escape, json-string-format)
3916 (json-key-format, json-object-format):
3917 * jka-compr.el (compression-error):
3918 * international/quail.el (quail-error):
3919 * international/kkc.el (kkc-error):
3920 * emacs-lisp/ert.el (ert-test-failed):
3921 * calc/calc.el (calc-error, inexact-result, math-overflow)
3923 * bookmark.el (bookmark-error-no-filename):
3924 * epg.el (epg-error): Define with define-error.
3926 * time.el (display-time-event-handler)
3927 (display-time-next-load-average): Don't call sit-for since it seems
3928 unnecessary (bug#15045).
3930 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3931 Use #' instead of ' to quote functions.
3932 (checkdoc-output-mode): Use setq-local.
3933 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3934 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3935 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3936 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3937 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3938 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3939 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3940 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3942 * ido.el (ido-completion-help): Fix up compiler warning.
3944 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3946 * frameset.el (frameset-p): Add autoload cookie.
3947 (frameset--jump-to-register): New function, based on code moved from
3949 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3951 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3952 (frameset-restore, frameset-save, frameset-session-filter-alist):
3953 Remove declarations.
3954 (register-alist): Doc fix.
3955 (frameset-to-register): Move to frameset.el.
3956 (jump-to-register, describe-register-1): Remove frameset-specific code.
3958 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3960 * allout-widgets.el (allout-widgets-pre-command-business)
3961 (allout-widgets-post-command-business)
3962 (allout-widgets-after-change-handler)
3963 (allout-decorate-item-and-context, allout-set-boundary-marker)
3964 (allout-body-modification-handler)
3965 (allout-graphics-modification-handler): Mark ignored arguments.
3966 (allout-widgets-post-command-business)
3967 (allout-widgets-exposure-change-processor)
3968 (allout-widgets-exposure-undo-processor)
3969 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3970 (allout-parse-item-at-point, allout-decorate-item-guides)
3971 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3972 * allout.el (epa-passphrase-callback-function): Declare.
3973 (allout-overlay-insert-in-front-handler)
3974 (allout-overlay-interior-modification-handler)
3975 (allout-isearch-end-handler, allout-chart-siblings)
3976 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3977 (allout-yank-processing, allout-process-exposed)
3978 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3979 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3980 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3981 (lisp-indent-defform): Mark ignored arguments.
3982 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3983 (calculate-lisp-indent): Remove unused variables.
3984 * international/characters.el (indian-2-column, arabic-2-column)
3985 (tibetan): Mark ignored arguments.
3986 (use-cjk-char-width-table): Mark ignored arguments.
3987 Remove unused variables.
3988 * international/fontset.el (build-default-fontset-data)
3989 (x-compose-font-name, create-fontset-from-fontset-spec):
3990 Mark ignored arguments.
3991 (fontset-plain-name): Remove unused variables.
3992 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3993 (keyboard-coding-system): Mark ignored arguments.
3994 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3995 * help.el (resize-temp-buffer-window):
3996 * window.el (display-buffer-in-major-side-window)
3997 (display-buffer-in-side-window, display-buffer-in-previous-window):
3998 Remove unused variables.
3999 * isearch.el (isearch-forward-symbol):
4000 * version.el (emacs-bzr-version-bzr):
4001 * international/mule-cmds.el (current-language-environment):
4002 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4004 * term/pc-win.el (x-list-fonts, x-display-planes)
4005 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4006 (x-server-version, x-display-screens, x-display-mm-height)
4007 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4008 (x-selection-owner-p, x-own-selection-internal)
4009 (x-disown-selection-internal, x-get-selection-internal)
4010 (msdos-initialize-window-system):
4011 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4012 * term/x-win.el (x-handle-no-bitmap-icon):
4013 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4014 (vc-default-find-file-hook, vc-default-extra-menu):
4015 Mark ignored arguments.
4017 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4019 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4020 break-condition in the context of the debugged code (bug#12685).
4022 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4025 Do not use an overlay to highlight the last prompt. (Bug#14744)
4026 (comint-mode): Make comint-last-prompt buffer local.
4027 (comint-last-prompt): New variable.
4028 (comint-last-prompt-overlay): Remove. Superseded by
4030 (comint-snapshot-last-prompt, comint-output-filter):
4031 Use comint-last-prompt.
4033 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4035 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4036 (frameset-save): Check validity of the resulting frameset.
4038 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4040 * ido.el (ido-record-command): Add doc string.
4042 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4044 * frameset.el (frameset): Do not disable creation of the default
4045 frameset-p predicate. Doc fix.
4046 (frameset-valid-p): New function, copied from the old predicate-p.
4047 Add additional checks.
4048 (frameset-restore): Check with frameset-valid-p.
4049 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4050 (frameset-name, frameset-description, frameset-properties)
4051 (frameset-states): Add docstring.
4052 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4053 (frameset-filter-alist): Doc fixes.
4055 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4057 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4059 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4061 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4062 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4063 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4064 (byte-compile-normal-call): Remove obsolescence check.
4066 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4068 * frameset.el (frameset-restore): Doc fix.
4070 * register.el (frameset-frame-id, frameset-frame-with-id)
4071 (frameset-p, frameset-restore, frameset-save): Declare.
4072 (register-alist): Document framesets.
4073 (frameset-session-filter-alist): Declare.
4074 (frameset-to-register): New function.
4075 (jump-to-register): Implement jumping to framesets. Doc fix.
4076 (describe-register-1): Describe framesets.
4078 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4080 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4082 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4083 Use lexical-binding.
4085 * frameset.el (frameset): Use type vector, not list (incompatible
4086 change). Do not declare a new constructor, use the default one.
4087 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4088 `name' and `description', respectively, and add read-only slot
4089 `timestamp'. Doc fixes.
4090 (frameset-copy, frameset-persistent-filter-alist)
4091 (frameset-filter-alist, frameset-switch-to-gui-p)
4092 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4093 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4094 (frameset-filter-iconified, frameset-keep-original-display-p):
4096 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4097 Rename from frameset-filter-(save|restore)-param. All callers changed.
4099 (frameset-p): Adapt to change to vector and be more thorough.
4100 Change arg name to OBJECT. Doc fix.
4101 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4102 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4103 All callers changed.
4104 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4105 All callers changed.
4106 (frameset--record-minibuffer-relationships): Rename from
4107 frameset--process-minibuffer-frames. All callers changed.
4108 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4109 Use new default constructor (again). Doc fix.
4110 (frameset--find-frame-if): Rename from `frameset--find-frame.
4111 All callers changed.
4112 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4113 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4115 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4116 PARAMETERS and WINDOW-STATE, respectively.
4117 (frameset-restore): Add new keyword argument PREDICATE.
4118 Reset frameset--target-display to nil. Doc fix.
4120 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4122 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4124 (bat-mode-syntax-table): Mark \n as end-of-comment.
4125 (bat-font-lock-keywords): Remove comment rule.
4127 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4128 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4130 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4131 (byte-compile-callargs-warn): Use `push'.
4132 (byte-compile-arglist-warn): Ignore higher-order "calls".
4133 (byte-compile-file-form-autoload): Use `pcase'.
4134 (byte-compile-function-form): If quoting a symbol, check that it exists.
4136 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4138 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4139 and add a few popular commands found in batch files.
4140 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4141 (dos-mode): Doc fixes.
4143 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4145 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4146 (dos-mode): Use setq-local. Add space after "rem".
4147 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4148 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4150 2013-08-07 Arni Magnusson <arnima@hafro.is>
4152 * progmodes/dos.el: New file.
4153 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4156 2013-08-06 Glenn Morris <rgm@gnu.org>
4158 * calendar/calendar.el: Add new faces, and day-header-array.
4159 (calendar-weekday-header, calendar-weekend-header)
4160 (calendar-month-header): New faces.
4161 (calendar-day-header-construct): New function.
4162 (calendar-day-header-width): Also :set calendar-day-header-array.
4163 (calendar-american-month-header, calendar-european-month-header)
4164 (calendar-iso-month-header): Use calendar- faces.
4165 (calendar-generate-month):
4166 Use calendar-day-header-array for day headers; apply faces to them.
4167 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4168 (calendar-abbrev-construct): Add optional maxlen argument.
4169 (calendar-day-name-array): Doc fix.
4170 (calendar-day-name-array, calendar-abbrev-length)
4171 (calendar-day-abbrev-array):
4172 Also :set calendar-day-header-array, and maybe redraw.
4173 (calendar-day-header-array): New option. (Bug#15007)
4174 (calendar-font-lock-keywords): Set to nil and make obsolete.
4175 (calendar-day-name): Add option to use header array.
4177 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4179 * net/shr.el (shr-render-td): Remove debugging.
4180 (shr-render-td): Make width computation consistent by defaulting
4181 all zero-width columns to 10 characters. This may not be optimal,
4182 but it's at least consistent.
4183 (shr-make-table-1): Redo last change to fix the real problem in
4186 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4188 * files.el (cache-long-line-scans):
4189 Make obsolete alias to `cache-long-scans'.
4191 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4193 * frameset.el (frameset, frameset-filter-alist)
4194 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4195 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4196 (frameset-compute-pos): Rename from frameset--compute-pos,
4198 (frameset-move-onscreen): Use frameset-compute-pos.
4199 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4201 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4202 Fix typos in docstrings.
4204 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4206 * frame.el (get-other-frame): Tiny cleanup.
4208 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4210 * vc/vc.el (vc-default-ignore-completion-table):
4211 Silence byte-compiler warning.
4213 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4214 slot , which can indeed be nil.
4215 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4216 Move entry for `left' from persistent to live filter alist.
4217 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4219 (frameset-filter-params): When restoring a frame, copy items added to
4220 `filtered', to avoid unwittingly modifying the original parameters.
4221 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4222 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4224 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4225 to use looking-at-p instead of looking-at. (Bug#15028)
4227 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4229 Revert introduction of isearch-filter-predicates (bug#14714).
4230 Rely on add-function instead.
4231 * isearch.el (isearch-filter-predicates): Rename it back to
4232 isearch-filter-predicate.
4233 (isearch-message-prefix): Use advice-function-mapc and advice
4234 properties to get the isearch-message-prefix.
4235 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4236 instead of run-hook-with-args-until-failure.
4237 (isearch-filter-visible): Not obsolete any more.
4238 * loadup.el: Preload nadvice.
4239 * replace.el (perform-replace): Revert to funcall
4240 instead of run-hook-with-args-until-failure.
4241 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4242 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4243 dired-isearch-filenames-toggle; make it into a proper minor mode.
4244 Use add/remove-function.
4245 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4246 Call the minor-mode rather than add/remove-hook.
4247 (dired-isearch-filter-filenames):
4248 Remove isearch-message-prefix property.
4249 * info.el (Info--search-loop): New function, extracted from Info-search.
4250 Funcall isearch-filter-predicate instead of
4251 run-hook-with-args-until-failure isearch-filter-predicates.
4252 (Info-search): Use it.
4253 (Info-mode): Use isearch-filter-predicate instead of
4254 isearch-filter-predicates.
4256 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4258 Do not call to `selected-window' where it is assumed by default.
4259 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4260 `window-hscroll', `window-width', `window-height', `window-buffer',
4261 `window-frame', `window-start', `window-point', `next-window'
4262 and `window-display-table'.
4263 * abbrev.el (abbrev--default-expand):
4264 * bs.el (bs--show-with-configuration):
4265 * buff-menu.el (Buffer-menu-mouse-select):
4266 * calc/calc.el (calc):
4267 * calendar/calendar.el (calendar-generate-window):
4268 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4270 * comint.el (send-invisible, comint-dynamic-complete-filename)
4271 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4272 * completion.el (complete):
4273 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4274 * disp-table.el (describe-current-display-table):
4275 * doc-view.el (doc-view-insert-image):
4276 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4277 * ehelp.el (with-electric-help):
4278 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4279 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4280 * emacs-lisp/helper.el (Helper-help-scroller):
4281 * emulation/cua-base.el (cua--post-command-handler-1):
4282 * eshell/esh-mode.el (eshell-output-filter):
4283 * ffap.el (ffap-gnus-wrapper):
4284 * help-macro.el (make-help-screen):
4285 * hilit-chg.el (highlight-compare-buffers):
4286 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4287 * hl-line.el (global-hl-line-highlight):
4288 * icomplete.el (icomplete-simple-completing-p):
4289 * isearch.el (isearch-done):
4290 * jit-lock.el (jit-lock-stealth-fontify):
4291 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4292 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4293 * mpc.el (mpc-tagbrowser, mpc):
4294 * net/rcirc.el (rcirc-any-buffer):
4295 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4296 * play/landmark.el (landmark-max-width, landmark-max-height):
4297 * play/zone.el (zone):
4298 * progmodes/compile.el (compilation-goto-locus):
4299 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4300 * progmodes/etags.el (find-tag-other-window):
4301 * progmodes/fortran.el (fortran-column-ruler):
4302 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4303 * progmodes/verilog-mode.el (verilog-point-text):
4304 * reposition.el (reposition-window):
4305 * rot13.el (toggle-rot13-mode):
4306 * server.el (server-switch-buffer):
4307 * shell.el (shell-dynamic-complete-command)
4308 (shell-dynamic-complete-environment-variable):
4309 * simple.el (insert-buffer, set-selective-display)
4310 (delete-completion-window):
4311 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4312 (speedbar-recenter):
4313 * startup.el (fancy-splash-head):
4314 * textmodes/ispell.el (ispell-command-loop):
4315 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4316 * tutorial.el (help-with-tutorial):
4317 * vc/add-log.el (add-change-log-entry):
4318 * vc/compare-w.el (compare-windows):
4319 * vc/ediff-help.el (ediff-indent-help-message):
4320 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4321 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4322 (ediff-setup-control-frame):
4323 * vc/emerge.el (emerge-position-region):
4324 * vc/pcvs-util.el (cvs-bury-buffer):
4325 * window.el (walk-windows, mouse-autoselect-window-select):
4326 * winner.el (winner-set-conf, winner-undo): Related users changed.
4328 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4330 * frameset.el (frameset--set-id): Doc fix.
4331 (frameset-frame-id, frameset-frame-id-equal-p)
4332 (frameset-locate-frame-id): New functions.
4333 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4334 (frameset-restore): Use them.
4336 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4338 Do not call to `selected-frame' where it is assumed by default.
4339 Affected functions are `raise-frame', `redraw-frame',
4340 `frame-first-window', `frame-terminal' and `delete-frame'.
4341 * calendar/appt.el (appt-disp-window):
4342 * epg.el (epg-wait-for-completion):
4343 * follow.el (follow-delete-other-windows-and-split)
4344 (follow-avoid-tail-recenter):
4345 * international/mule.el (set-terminal-coding-system):
4346 * mail/rmail.el (rmail-mail-return):
4347 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4348 * progmodes/f90.el (f90-add-imenu-menu):
4349 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4350 * server.el (server-switch-buffer):
4351 * simple.el (delete-completion-window):
4353 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4354 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4355 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4356 * vc/ediff.el (ediff-documentation): Related users changed.
4357 * frame.el (selected-terminal): Remove the leftover.
4359 2013-08-05 Glenn Morris <rgm@gnu.org>
4361 * calendar/calendar.el (calendar-generate-month):
4362 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4363 (calendar-generate-month, calendar-font-lock-keywords):
4364 Fix for calendar-day-header-width > length of any day name.
4366 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4368 * desktop.el (desktop-clear): Use new name of sort predicate.
4370 * frameset.el (frameset): Add docstring. Move :version property to its
4372 (frameset-copy): Rename from copy-frameset.
4373 (frameset-p): Check more thoroughly.
4374 (frameset-prop): Do not check for :version, which is no longer a prop.
4375 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4376 Use new :never value instead of t.
4377 (frameset-filter-alist): Expand and clarify docstring.
4378 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4379 (frameset-filter-minibuffer, frameset-filter-save-param)
4380 (frameset-filter-restore-param, frameset-filter-iconified):
4381 Add pointer to docstring of frameset-filter-alist.
4382 (frameset-filter-params): Rename filter values to be more meaningful:
4383 :never instead of t, and reverse the meanings of :save and :restore.
4384 (frameset--process-minibuffer-frames): Clarify error message.
4385 (frameset-save): Avoid unnecessary and confusing call to framep.
4386 Use new BOA constructor for framesets.
4387 (frameset--reuse-list): Doc fix.
4388 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4389 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4390 (frameset-minibufferless-first-p): Doc fix.
4391 Rename from frameset-sort-frames-for-deletion.
4392 (frameset-restore): Doc fixes. Use new function names.
4393 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4395 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4397 * desktop.el (desktop-restore-forces-onscreen)
4398 (desktop-restore-reuses-frames): Document :keyword constant values.
4399 (desktop-filter-parameters-alist): Remove, now identical to
4400 frameset-filter-alist.
4401 (desktop--filter-tty*): Remove, moved to frameset.el.
4402 (desktop-save-frameset, desktop-restore-frameset):
4403 Do not pass :filters argument.
4405 * frameset.el (frameset-live-filter-alist)
4406 (frameset-persistent-filter-alist): New variables.
4407 (frameset-filter-alist): Use them. Add autoload cookie.
4408 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4409 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4410 `frameset--id' (it's supposed to be internal to frameset.el).
4411 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4412 (frameset--initial-params): New function.
4413 (frameset--get-frame): Use it. Doc fix.
4414 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4415 Accept :all, not 'all.
4416 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4417 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4418 with fbound symbols. Fix frame id matching, and remove matching ids if
4419 the frame being restored is deleted. Obey :delete.
4421 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4423 * subr.el (macrop): New function.
4424 (text-clone--maintaining): New var.
4425 (text-clone--maintain): Rename from text-clone-maintain. Use it
4426 instead of inhibit-modification-hooks.
4428 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4429 a proxy, so as handle autoloads and redefinitions of the target.
4430 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4432 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4433 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4434 (pcase--mutually-exclusive-p): New function.
4435 (pcase--split-consp): Use it.
4436 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4437 mutually exclusive with the current predicate.
4439 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4440 (edebug-macrop): Remove. Use `macrop' instead.
4441 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4443 * eshell/esh-cmd.el (eshell-macrop):
4444 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4446 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4448 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4449 (advice-mapc): New function, using it.
4450 (advice-function-member-p): New function.
4451 (advice--normalize): Store the cdr in advice--saved-rewrite since
4452 that's the part that will be changed.
4453 (advice--symbol-function): New function.
4454 (advice-remove): Handle removal before the function is defined.
4455 Adjust to new advice--saved-rewrite.
4456 (advice-member-p): Use advice-function-member-p and
4457 advice--symbol-function.
4459 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4461 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4462 (frameset-filter-minibuffer): Doc fix.
4463 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4464 (frameset--set-id, frameset--process-minibuffer-frames)
4465 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4466 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4468 * desktop.el (desktop-clear): Only delete frames when called
4469 interactively and desktop-restore-frames is non-nil. Doc fix.
4470 (desktop-read): Set desktop-saved-frameset to nil.
4472 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4474 * vc/vc.el (vc-ignore): Rewrite.
4475 (vc-default-ignore-completion-table):
4477 (vc--add-line, vc--remove-regexp): New functions.
4479 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4480 (vc-svn-ignore-completion-table): New function.
4482 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4483 (vc-hg-ignore-completion-table):
4484 (vc-hg-find-ignore-file): New functions.
4486 * vc/vc-git.el (vc-git-ignore): Rewrite.
4487 (vc-git-ignore-completion-table):
4488 (vc-git-find-ignore-file): New functions.
4490 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4492 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4493 (vc-bzr-ignore-completion-table):
4494 (vc-bzr-find-ignore-file): New functions.
4496 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4498 * frameset.el (frameset-prop): New function and setter.
4499 (frameset-save): Do not modify frame list passed by the caller.
4501 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4503 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4505 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4507 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4508 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4510 * custom.el (custom-initialize-default, custom-initialize-set)
4511 (custom-initialize-reset, custom-initialize-changed): Affect the
4512 toplevel-default-value (bug#6275, bug#14586).
4513 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4516 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4518 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4519 Add cl-def* expressions.
4521 * frameset.el (frameset-filter-params): Fix order of arguments.
4523 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4525 Move code related to saving frames to frameset.el.
4526 * desktop.el: Require frameset.
4527 (desktop-restore-frames): Doc fix.
4528 (desktop-restore-reuses-frames): Rename from
4529 desktop-restoring-reuses-frames.
4530 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4531 (desktop-clear): Clear frames too.
4532 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4533 (desktop--filter-tty*, desktop-save, desktop-read):
4534 Use frameset functions.
4535 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4536 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4537 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4538 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4539 (desktop--process-minibuffer-frames, desktop-save-frames)
4540 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4541 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4542 (desktop--sort-states, desktop-restoring-frames-p)
4543 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4544 (desktop-restoring-frameset-p, desktop-restore-frameset)
4545 (desktop--check-dont-save, desktop-save-frameset): New functions.
4546 (desktop--app-id): New constant.
4547 (desktop-first-buffer, desktop-buffer-ok-count)
4548 (desktop-buffer-fail-count): Move before first use.
4549 * frameset.el: New file.
4551 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4553 * files.el: Use lexical-binding.
4554 (dir-locals-read-from-file): Remove unused `err' variable.
4555 (hack-dir-local-variables--warned-coding): New var.
4556 (hack-dir-local-variables): Use it to avoid repeated warnings.
4557 (make-backup-file-name--default-function): New function.
4558 (make-backup-file-name-function): Use it as default.
4559 (buffer-stale--default-function): New function.
4560 (buffer-stale-function): Use it as default.
4561 (revert-buffer-insert-file-contents--default-function): New function.
4562 (revert-buffer-insert-file-contents-function): Use it as default.
4563 (insert-directory): Avoid add-to-list.
4565 * autorevert.el (auto-revert-handler): Simplify.
4566 Use buffer-stale--default-function.
4568 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4570 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4572 * whitespace.el (whitespace-ensure-local-variables): New function.
4573 (whitespace-cleanup-region): Call it.
4574 (whitespace-turn-on): Call it.
4576 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4578 Complete file name handlers.
4580 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4581 (tramp-handle-verify-visited-file-modtime)
4582 (tramp-handle-file-notify-rm-watch): New functions.
4583 (tramp-call-process): Do not bind `default-directory'.
4585 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4586 Order alphabetically.
4587 [access-file, add-name-to-file, dired-call-process]:
4588 [dired-compress-file, file-acl, file-notify-rm-watch]:
4589 [file-ownership-preserved-p, file-selinux-context]:
4590 [make-directory-internal, make-symbolic-link, set-file-acl]:
4591 [set-file-selinux-context, set-visited-file-modtime]:
4592 [verify-visited-file-modtime]: Add handler.
4593 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4595 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4596 [file-notify-add-watch, file-notify-rm-watch]:
4597 [set-file-times, set-visited-file-modtime]:
4598 [verify-visited-file-modtime]: Add handler.
4599 (with-tramp-gvfs-error-message)
4600 (tramp-gvfs-handle-set-visited-file-modtime)
4601 (tramp-gvfs-fuse-file-name): Remove.
4602 (tramp-gvfs-handle-file-notify-add-watch)
4603 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4604 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4606 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4607 Order alphabetically.
4608 [file-notify-rm-watch ]: Use default Tramp handler.
4609 [executable-find]: Remove private handler.
4610 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4611 `default-directory'.
4612 (tramp-sh-handle-executable-find)
4613 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4614 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4615 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4616 Do not use `format' in `tramp-message'.
4618 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4619 [file-notify-rm-watch, set-visited-file-modtime]:
4620 [verify-visited-file-modtime]: Add handler.
4621 (tramp-smb-call-winexe): Do not bind `default-directory'.
4623 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4625 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4627 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4629 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4631 (log-view-diff-changeset): Same.
4632 (log-view-diff-common): Call backend command `previous-revision'
4633 to find out the previous revision, in both cases. Swap the
4634 variables `to' and `fr', so that `fr' usually refers to the
4635 earlier revision (Bug#14989).
4637 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4639 * ibuf-ext.el (ibuffer-filter-by-filename):
4640 Make it work with dired buffers too.
4642 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4644 * emacs-lisp/re-builder.el (reb-color-display-p):
4645 * files.el (save-buffers-kill-terminal):
4646 * net/browse-url.el (browse-url):
4647 * server.el (server-save-buffers-kill-terminal):
4648 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4649 Prefer nil to selected-frame for the first arg of frame-parameter.
4651 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4653 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4655 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4657 * minibuffer.el (completion--twq-all): Try and preserve each
4658 completion's case choice (bug#14907).
4660 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4662 * net/network-stream.el (open-network-stream): Mention the new
4663 :nogreeting parameter.
4664 (network-stream-open-starttls): Use the :nogreeting parameter
4667 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4669 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4670 more natural than popping.
4672 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4673 (shr-urlify): Highlight under mouse.
4675 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4677 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4679 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4681 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4684 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4685 point-min==1. Fix search string. Fix parentheses missing.
4687 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4688 assume point-min==1. Fix search string. Fix parentheses missing.
4690 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4692 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4695 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4697 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4698 initial frame is minibuffer-less. (Bug#14841)
4700 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4702 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4705 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4706 (tramp-maybe-open-connection): Use it.
4708 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4710 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4711 minimal set of parameters passed when creating a frame, because
4712 the minibuffer status of a frame cannot be changed later.
4714 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4716 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4717 replace-regexp-in-string and inadvertent omissions in previous change.
4718 (todo-filter-items): Ensure only file names are comma-separated in
4719 name of filtered items buffer.
4721 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4723 * desktop.el: Optionally force offscreen frames back onscreen.
4724 (desktop-restoring-reuses-frames): New option.
4725 (desktop--compute-pos, desktop--move-onscreen): New functions.
4726 (desktop--make-frame): Use desktop--move-onscreen.
4728 2013-07-27 Alan Mackenzie <acm@muc.de>
4730 Fontify a Java generic method as a function.
4731 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4734 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4736 * calendar/todo-mode.el: Add command to rename todo files.
4737 (todo-rename-file): New command.
4738 (todo-key-bindings-t): Add key binding for it. Change the
4739 bindings of todo-filter-regexp-items(-multifile) to use `x'
4740 instead of `r', since the latter is better suited to the new
4743 2013-07-27 Alan Mackenzie <acm@muc.de>
4745 Make Java try-with-resources statement parse properly.
4746 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4747 (c-block-stmt-1-2-key): New language constants/variables.
4748 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4749 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4750 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4751 with c-block-stmt-1-2-key.
4753 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4755 * desktop.el (desktop--make-frame): Apply most frame parameters after
4756 creating the frame to force (partially or totally) offscreen frames to
4757 be restored as such.
4759 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4761 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4764 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4766 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4767 `base' arg of backtrace-frame.
4769 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4771 * simple.el (list-processes): Doc fix.
4773 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4775 * desktop.el (desktop--select-frame):
4776 Try harder to reuse existing frames.
4778 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4780 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4781 (edebug-eval): Use backtrace-eval.
4782 (edebug--display, edebug--recursive-edit): Don't let-bind the
4783 edebug-outer-* vars that keep track of variables we locally let-bind.
4784 (edebug-outside-excursion): Don't restore outside values of locally
4786 (edebug--display): Use user-error.
4787 (cl-lexical-debug, cl-debug-env): Remove.
4789 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4791 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4792 are restored to be sure that they are visible before deleting any
4795 2013-07-26 Matthias Meulien <orontee@gmail.com>
4797 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4798 vc-print-root-log. (Bug#14948)
4800 2013-07-26 Richard Stallman <rms@gnu.org>
4802 Add aliases for encrypting mail.
4803 * epa.el (epa-mail-aliases): New option.
4804 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4805 Bind inhibit-read-only so read-only text doesn't ruin everything.
4806 (epa-mail-default-recipients): New subroutine broken out.
4807 Handle epa-mail-aliases.
4809 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4811 Add support for lexical variables to the debugger's `e' command.
4812 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4813 vars, except for debugger-outer-match-data.
4814 (debugger-frame-number): Move check for "on a function call" from
4815 callers into it. Add `skip-base' argument.
4816 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4817 (debugger-env-macro): Only reset the state stored in non-variables,
4818 i.e. current-buffer and match-data.
4819 (debugger-eval-expression): Rewrite using backtrace-eval.
4820 * subr.el (internal--called-interactively-p--get-frame): Remove.
4821 (called-interactively-p):
4822 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4823 `base' arg of backtrace-frame instead.
4825 2013-07-26 Glenn Morris <rgm@gnu.org>
4827 * align.el (align-regexp): Doc fix. (Bug#14857)
4828 (align-region): Explicit error if subexpression missing/does not match.
4830 * simple.el (global-visual-line-mode):
4831 Do not duplicate the mode lighter. (Bug#14858)
4833 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4835 * window.el (display-buffer): In display-buffer bind
4836 split-window-keep-point to t, bug#14829.
4838 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4840 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4841 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4842 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4843 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4845 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4846 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4848 2013-07-25 Glenn Morris <rgm@gnu.org>
4850 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4852 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4854 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4855 parameter to modify-frame-parameters if the value has not changed;
4856 this is a workaround for bug#14949.
4857 (desktop--make-frame): On cl-delete-if call, check parameter name,
4860 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4862 * vc/vc.el (vc-ignore): New function.
4864 * vc/vc-svn.el (vc-svn-ignore): New function.
4866 * vc/vc-hg.el (vc-hg-ignore): New function.
4868 * vc/vc-git.el (vc-git-ignore): New function.
4870 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4871 (vc-dir-ignore): New function.
4873 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4874 (cvs-append-to-ignore): Move here from pcvs.el.
4876 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4878 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4880 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4882 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4883 (desktop-restore-frames): Warn when deleting an existing frame failed.
4885 2013-07-24 Glenn Morris <rgm@gnu.org>
4887 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4889 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4891 * filenotify.el (file-notify-supported-p):
4892 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4895 * autorevert.el (auto-revert-use-notify):
4896 (auto-revert-notify-add-watch):
4897 * net/tramp.el (tramp-file-name-for-operation):
4898 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4899 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4900 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4901 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4902 Remove `file-notify-supported-p' entry.
4904 2013-07-24 Glenn Morris <rgm@gnu.org>
4906 * printing.el: Replace all uses of deleted ps-windows-system,
4907 ps-lp-system, ps-flatten-list with lpr- versions.
4909 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4911 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4912 checked with memq (bug#14935).
4914 * files.el (revert-buffer-function): Use a non-nil default.
4915 (revert-buffer-preserve-modes): Declare var to
4916 provide access to the `preserve-modes' argument.
4917 (revert-buffer): Let-bind it.
4918 (revert-buffer--default): New function, extracted from revert-buffer.
4920 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4922 * lpr.el: Signal print errors more prominently.
4923 (print-region-function): Don't default to nil.
4924 (lpr-print-region): New function, extracted from print-region-1.
4925 Check lpr's return value and signal an error in case of problem.
4926 (print-region-1): Use it.
4927 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4929 (ps-printer-name): Default to nil.
4930 (ps-printer-name-option): Default to lpr-printer-switch.
4931 (ps-print-region-function): Don't default to nil.
4932 (ps-postscript-code-directory): Simplify default.
4933 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4934 (ps-string-list, ps-eval-switch, ps-flatten-list)
4935 (ps-flatten-list-1): Remove.
4936 (ps-multibyte-buffer): Avoid setq.
4937 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4938 (print-region-function, ps-print-region-function): Don't set them here.
4940 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4942 * ido.el (ido-fractionp):
4943 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4944 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4945 (ido-max-directory-size, ido-max-dir-file-cache)
4946 (ido-decorations): Doc fix.
4948 * ansi-color.el: Fix old URL.
4950 2013-07-23 Michael R. Mauger <michael@mauger.com>
4952 * progmodes/sql.el: Version 3.3
4953 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4954 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4955 (sql-interactive-remove-continuation-prompt): Rewrite, use
4956 functions above. Fix continuation prompt and complete output line
4958 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4959 redirected output buffer.
4960 (sql-mode): Restore deleted code (Bug#13591).
4962 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4964 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4966 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4968 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4970 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4971 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4972 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4974 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4976 * desktop.el (desktop-clear): Simplify; remove useless checks
4977 against invalid buffer names.
4978 (desktop-list*): Use cl-list*.
4979 (desktop-buffer-info, desktop-create-buffer): Simplify.
4981 2013-07-23 Leo Liu <sdl.web@gmail.com>
4983 * bookmark.el (bookmark-make-record): Restore NAME as a default
4986 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4988 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4989 extracted from autoload--insert-text.
4990 (autoload--insert-text): Remove.
4991 (autoload--print-cookie-text): New function, extracted from
4992 autoload--insert-cookie-text.
4993 (autoload--insert-cookie-text): Remove.
4994 (autoload-generate-file-autoloads): Adjust calls accordingly.
4996 * winner.el (winner-hook-installed-p): Remove.
4997 (winner-mode): Simplify accordingly.
4999 * subr.el (add-to-list): Fix compiler-macro when `append' is
5000 not constant. Don't use `cl-member' for the base case.
5002 * progmodes/subword.el: Fix boundary case (bug#13758).
5003 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5005 (subword-backward-regexp): Make it a constant.
5006 (subword-forward-internal): Don't treat a trailing capital as the
5007 beginning of a word.
5009 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5011 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5012 global value of tabulated-list-revert-hook (bug#14930).
5014 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5016 * desktop.el: Require 'cl-lib.
5017 (desktop-before-saving-frames-functions): New hook.
5018 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5019 for frames being saved. Rename from desktop--save-minibuffer-frames.
5020 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5021 Do not save frames with non-nil `desktop-dont-save' parameter.
5022 Filter out deleted frames.
5023 (desktop--find-frame): Use cl-find-if.
5024 (desktop--select-frame): Use cl-(first|second|third) to access values
5026 (desktop--make-frame): Use cl-delete-if.
5027 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5028 (desktop-restore-frames): Use cl-(first|second|third) to access values
5029 of desktop-mini. Look for visible frame at the end, not while
5032 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5033 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5034 Use string-match-p, looking-at-p (bug#14927).
5036 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5038 * desktop.el (desktop-saved-frame-states):
5039 Rename from desktop--saved-states; all users changed.
5040 (desktop-save-frames): Rename from desktop--save-frames.
5041 Do not save state to desktop file.
5042 (desktop-save): Save desktop-saved-frame-states to desktop file
5044 (desktop-restoring-frames-p): New function.
5045 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5046 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5047 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5049 * desktop.el: Correctly restore iconified frames.
5050 (desktop--filter-iconified-position): New function.
5051 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5053 2013-07-20 Glenn Morris <rgm@gnu.org>
5055 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5056 Let `message' do the formatting.
5057 (def-gdb-preempt-display-buffer): Add explicit format.
5059 * image-dired.el (image-dired-track-original-file):
5060 Use with-current-buffer.
5061 (image-dired-track-thumbnail): Use with-current-buffer.
5062 Avoid changing point of wrong window.
5064 * image-dired.el (image-dired-track-original-file):
5065 Avoid changing point of wrong window. (Bug#14909)
5067 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5069 * progmodes/gdb-mi.el (gdb-done-or-error):
5070 Guard against "%" in gdb output. (Bug#14127)
5072 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5074 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5077 * international/mule.el (coding-system-iso-2022-flags): Fix last
5080 2013-07-20 Kenichi Handa <handa@gnu.org>
5082 * international/mule.el (coding-system-iso-2022-flags):
5083 Add `8-bit-level-4'. (Bug#8522)
5085 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5087 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5090 * net/eww.el (eww-process-text-input): Allow inputting when the
5091 point is at the start of the line, as the properties aren't
5094 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5097 2013-07-19 Richard Stallman <rms@gnu.org>
5099 * epa.el (epa-popup-info-window): Doc fix.
5101 * subr.el (split-string): New arg TRIM.
5103 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5105 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5106 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5108 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5110 * filenotify.el (file-notify--library): Rename from
5111 `file-notify-support'. Do not autoload. Adapt all uses.
5112 (file-notify-supported-p): New defun.
5114 * autorevert.el (auto-revert-use-notify):
5115 Use `file-notify-supported-p' instead of `file-notify-support'.
5117 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5119 * net/tramp.el (tramp-file-name-for-operation):
5120 Add `file-notify-supported-p'.
5122 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5124 (tramp-sh-file-name-handler-alist): Add it as handler for
5125 `file-notify-supported-p '.
5127 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5128 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5129 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5130 Add `ignore' as handler for `file-notify-*' functions.
5132 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5134 * simple.el (line-move-partial, line-move): Don't start vscroll or
5135 scroll-up if the current line is not taller than the window.
5138 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5140 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5141 highlight question marks in the method names as strings.
5142 (ruby-block-beg-keywords): Inline.
5143 (ruby-font-lock-keyword-beg-re): Extract from
5144 `ruby-font-lock-keywords'.
5146 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5148 * frame.el (blink-cursor-blinks): New defcustom.
5149 (blink-cursor-blinks-done): New defvar.
5150 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5151 (blink-cursor-timer-function): Check if number of blinks has been
5153 (blink-cursor-suspend, blink-cursor-check): New defuns.
5155 2013-07-15 Glenn Morris <rgm@gnu.org>
5157 * edmacro.el (edmacro-format-keys): Fix previous change.
5159 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5161 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5162 The hack didn't work outside English locales anyway.
5164 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5166 * simple.el (define-alternatives): Rename from alternatives-define,
5167 per RMS' suggestion.
5169 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5171 * desktop.el (desktop-restore-frames): Change default to t.
5172 (desktop-restore-in-current-display): Now offer more options.
5173 (desktop-restoring-reuses-frames): New customization option.
5174 (desktop--saved-states): Doc fix.
5175 (desktop-filter-parameters-alist): New variable, renamed and expanded
5176 from desktop--excluded-frame-parameters.
5177 (desktop--target-display): New variable.
5178 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5179 (desktop--filter-tty*, desktop--filter-*-color)
5180 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5181 (desktop--filter-save-desktop-parm)
5182 (desktop-restore-in-original-display-p): New functions.
5183 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5184 (desktop--save-minibuffer-frames): New function, inspired by a similar
5185 function from Martin Rudalics.
5186 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5187 (desktop--restore-in-this-display-p): Remove.
5188 (desktop--find-frame): Rename from desktop--find-frame-in-display
5189 and add predicate argument.
5190 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5191 (desktop--reuse-list): New variable.
5192 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5194 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5196 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5198 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5200 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5202 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5203 Highlight conversion methods on Kernel.
5205 2013-07-13 Alan Mackenzie <acm@muc.de>
5207 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5208 and comment it out. This out-commenting enables certain C++
5209 declarations to be parsed correctly.
5211 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5213 * international/mule.el (define-coding-system): Doc fix.
5215 * simple.el (default-font-height): Don't call font-info if the
5216 frame's default font didn't change since the frame was created.
5219 2013-07-13 Leo Liu <sdl.web@gmail.com>
5221 * ido.el (ido-read-file-name): Guard against non-symbol value.
5223 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5225 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5228 2013-07-13 Leo Liu <sdl.web@gmail.com>
5230 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5231 ido-set-matches call. (Bug#6852)
5233 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5235 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5236 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5238 (ruby-font-lock-keywords): Distinguish calls to functions with
5239 module-like names from module references. Highlight character
5242 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5244 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5245 (gdb-send): Handle continued commands. (Bug#14847)
5247 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5249 * desktop.el (desktop--v2s): Remove unused local variable.
5250 (desktop-save-buffer): Make defvar-local; adjust docstring.
5251 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5252 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5254 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5256 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5258 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5260 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5263 2013-07-12 Glenn Morris <rgm@gnu.org>
5265 * doc-view.el: Require cl-lib at runtime too.
5266 (doc-view-remove-if): Remove.
5267 (doc-view-search-next-match, doc-view-search-previous-match):
5270 * edmacro.el: Require cl-lib at runtime too.
5271 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5272 (edmacro-mismatch, edmacro-subseq): Remove.
5274 * shadowfile.el: Require cl-lib.
5275 (shadow-remove-if): Remove.
5276 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5279 * wid-edit.el: Require cl-lib.
5280 (widget-choose): Use cl-remove-if.
5281 (widget-remove-if): Remove.
5283 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5284 (ebrowse-delete-if-not): Remove.
5285 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5286 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5287 Use cl-delete-if-not.
5289 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5291 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5292 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5294 2013-07-12 Leo Liu <sdl.web@gmail.com>
5296 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5298 2013-07-11 Glenn Morris <rgm@gnu.org>
5300 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5301 (edebug-gensym-index, edebug-gensym):
5302 Remove reimplementation of cl-gensym.
5303 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5305 * thumbs.el: Require cl-lib at run-time too.
5306 (thumbs-gensym-counter, thumbs-gensym):
5307 Remove reimplementation of cl-gensym.
5308 (thumbs-temp-file): Use cl-gensym.
5310 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5311 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5312 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5313 (ert--union, ert--gensym-counter, ert--gensym-counter)
5314 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5315 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5316 (ert-make-test-unbound, ert--expand-should-1)
5317 (ert--expand-should, ert--should-error-handle-error)
5318 (should-error, ert--explain-equal-rec)
5319 (ert--plist-difference-explanation, ert-select-tests)
5320 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5321 Use cl-lib functions rather than reimplementations.
5323 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5325 * net/tramp.el (tramp-methods): Extend docstring.
5326 (tramp-connection-timeout): New defcustom.
5327 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5328 (with-tramp-progress-reporter): Simplify.
5329 (tramp-process-actions): Improve messages.
5331 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5332 * net/tramp-sh.el (tramp-maybe-open-connection):
5333 Use `tramp-connection-timeout'.
5334 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5337 2013-07-11 Leo Liu <sdl.web@gmail.com>
5339 * ido.el (ido-read-file-name): Conform to the requirements of
5340 read-file-name. (Bug#11861)
5341 (ido-read-directory-name): Conform to the requirements of
5342 read-directory-name.
5344 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5346 * subr.el (delay-warning): New function.
5348 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5350 * simple.el (default-line-height): New function.
5351 (line-move-partial, line-move): Use it instead of computing the
5353 (line-move-partial): Always compute ROWH. If the last line is
5354 partially-visible, but its text is completely visible, allow
5355 cursor to enter such a partially-visible line.
5357 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5359 Improve error messages. (Bug#14808)
5361 * net/tramp.el (tramp-current-connection): New defvar, moved from
5363 (tramp-message-show-progress-reporter-message): Remove, not
5365 (tramp-error-with-buffer): Show message in minibuffer.
5366 Discard input before waiting. Reset connection timestamp.
5367 (with-tramp-progress-reporter): Improve messages.
5368 (tramp-process-actions): Use progress reporter. Delete process in
5369 case of error. Improve messages.
5371 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5372 Call `tramp-error-with-buffer' with vector and buffer.
5373 (tramp-current-connection): Remove.
5374 (tramp-maybe-open-connection): The car of
5375 `tramp-current-connection' are the first 3 slots of the vector.
5377 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5379 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5380 inside continued strings.
5382 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5384 Timestamp fixes for undo (Bug#14824).
5385 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5387 2013-07-10 Leo Liu <sdl.web@gmail.com>
5389 * files.el (require-final-newline): Allow safe local value.
5392 2013-07-09 Leo Liu <sdl.web@gmail.com>
5394 * ido.el (ido-read-directory-name): Handle fallback.
5395 (ido-read-file-name): Update DIR to ido-current-directory.
5397 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5399 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5401 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5402 "autoload". Remove "warn lower camel case" section, previously
5403 commented out. Highlight negation char. Do not highlight the
5404 target in singleton method definitions.
5406 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5408 * faces.el (tty-setup-hook): Declare the hook.
5410 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5411 and detect when a guard/pred depends on local vars (bug#14773).
5412 (pcase--u1): Adjust caller.
5414 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5416 * simple.el (line-move-partial, line-move): Account for
5418 (line-move-partial): Avoid setting vscroll when the last
5419 partially-visible line in window is of default height.
5421 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5423 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5426 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5428 * subr.el (read-quoted-char): Remove unused local variable `char'.
5430 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5432 * ediff.el (ediff-version): Version update.
5433 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5434 (ediff-merge-with-ancestor-command, ediff-directories-command)
5435 (ediff-directories3-command, ediff-merge-directories-command)
5436 (ediff-merge-directories-with-ancestor-command): New functions.
5437 All are command-line interfaces to ediff: to facilitate calling
5438 Emacs with the appropriate ediff functions invoked.
5440 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5441 (viper-save-kill-buffer): Check if buffer is modified.
5443 * viper.el (viper-version): Version update.
5444 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5446 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5448 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5449 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5450 (viper-intercept-ESC-key): Simplify.
5451 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5452 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5453 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5454 (viper-setup-ESC-to-escape): New functions.
5455 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5456 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5458 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5460 * simple.el (default-font-height, window-screen-lines):
5462 (line-move, line-move-partial): Use them instead of
5463 frame-char-height and window-text-height. This makes scrolling
5464 text smoother when the buffer's default face uses a font that is
5465 different from the frame's default font.
5467 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5469 * files.el (write-file): Do not display confirm dialog for NS,
5470 it does its own dialog, which can't be cancelled (Bug#14578).
5472 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5474 * simple.el (line-move-partial): Adjust the row returned by
5475 posn-at-point for the current window-vscroll. (Bug#14567)
5477 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5479 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5480 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5483 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5485 * window.el (window-state-put-stale-windows): New variable.
5486 (window--state-put-2): Save list of windows without matching buffer.
5487 (window-state-put): Remove "bufferless" windows if possible.
5489 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5491 * simple.el (alternatives-define): Remove leftover :group keyword.
5494 2013-07-06 Leo Liu <sdl.web@gmail.com>
5496 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5497 (ido-enable-virtual-buffers): New variable.
5498 (ido-buffer-internal, ido-toggle-virtual-buffers)
5499 (ido-make-buffer-list): Use it.
5500 (ido-exhibit): Support turning on and off virtual buffers
5503 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5505 * simple.el (alternatives-define): New macro.
5507 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5509 * subr.el (read-quoted-char): Use read-key.
5510 (sit-for): Let read-event decode tty input (bug#14782).
5512 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5514 * calendar/todo-mode.el: Add handling of file deletion, both by
5515 mode command and externally. Fix various related bugs.
5516 Clarify Commentary and improve some documentation strings and code.
5517 (todo-delete-file): New command.
5518 (todo-check-file): New function.
5519 (todo-show): Handle external deletion of the file we're trying to
5520 show (bug#14688). Replace called-interactively-p by an optional
5521 prefix argument to avoid problematic interaction with catch form
5522 when byte compiled (bug#14702).
5523 (todo-quit): Handle external deletion of the archive's todo file.
5524 Make sure the buffer that was visiting the archive file is still
5525 live before trying to bury it.
5526 (todo-category-completions): Handle external deletion of any
5527 category completion files.
5528 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5529 of todo files, in case of external deletion.
5530 (todo-add-file): Replace unnecessary setq by let-binding.
5531 (todo-find-archive): Check whether there are any archives.
5532 Replace unnecessary setq by let-binding.
5533 (todo-archive-done-item): Use find-file-noselect to get the
5534 archive buffer whether or not the archive already exists.
5535 Remove superfluous code. Use file size instead of buffer-file-name to
5536 check if the archive is new; if it is, update list of archives.
5537 (todo-default-todo-file): Allow nil to be a valid value for when
5538 there are no todo files.
5539 (todo-reevaluate-default-file-defcustom): Use corrected definition
5540 of todo-default-todo-file.
5541 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5542 (todo-delete-category, todo-show-categories-table)
5543 (todo-category-number): Clarify comment.
5544 (todo-filter-items): Clarify documentation string.
5545 (todo-show-current-file, todo-display-as-todo-file)
5546 (todo-reset-and-enable-done-separator): Tweak documentation string.
5547 (todo-done-separator): Make separator length window-width, since
5548 bug#2749 is now fixed.
5550 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5552 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5553 Support both "gvfs-monitor-dir" and "inotifywait".
5554 (tramp-sh-file-inotifywait-process-filter): Rename from
5555 `tramp-sh-file-notify-process-filter'.
5556 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5557 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5559 2013-07-05 Leo Liu <sdl.web@gmail.com>
5561 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5563 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5565 * frame.el (display-pixel-height, display-pixel-width)
5566 (display-mm-height, display-mm-width): Mention behavior on
5567 multi-monitor setups in docstrings.
5568 (w32-display-monitor-attributes-list): Declare function.
5569 (display-monitor-attributes-list): Use it.
5571 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5573 * filenotify.el: New package.
5575 * autorevert.el (top): Require filenotify.el.
5576 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5578 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5579 (auto-revert-notify-handler): Use `file-notify-*' functions.
5581 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5583 * net/tramp.el (tramp-file-name-for-operation):
5584 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5586 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5587 for `file-notify-add-watch' and `file-notify-rm-watch'.
5588 (tramp-process-sentinel): Improve trace.
5589 (tramp-sh-handle-file-notify-add-watch)
5590 (tramp-sh-file-notify-process-filter)
5591 (tramp-sh-handle-file-notify-rm-watch)
5592 (tramp-get-remote-inotifywait): New defuns.
5594 2013-07-03 Juri Linkov <juri@jurta.org>
5596 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5597 call of `occur-read-primary-args' to interactive spec.
5599 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5600 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5602 2013-07-03 Matthias Meulien <orontee@gmail.com>
5604 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5605 `Buffer-menu-multi-occur'. Add it to the menu.
5606 (Buffer-menu-mode): Document it in docstring.
5607 (Buffer-menu-multi-occur): New command. (Bug#14673)
5609 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5611 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5612 keywords and built-ins.
5614 2013-07-03 Glenn Morris <rgm@gnu.org>
5616 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5618 Make info-xref checks case-sensitive by default
5619 * info.el (Info-find-node, Info-find-in-tag-table)
5620 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5621 Add option for exact case matching of nodes.
5622 * info-xref.el (info-xref): New custom group.
5623 (info-xref-case-fold): New option.
5624 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5626 2013-07-03 Leo Liu <sdl.web@gmail.com>
5628 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5630 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5632 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5633 middle of block statement initially, lower the depth. Remove
5634 FIXME comment, not longer valid. Remove middle of block statement
5635 detection, no need to do that anymore since we've been using
5636 `ruby-parse-region' here.
5638 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5640 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5642 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5644 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5646 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5648 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5649 (desktop-restore-in-current-display): New customization option.
5650 (desktop--excluded-frame-parameters): Add `font'.
5651 (desktop--save-frames): Rename from desktop--save-windows.
5652 (desktop--restore-in-this-display-p): New function.
5653 (desktop--make-full-frame): Remove unwanted width/height from
5654 full(width|height) frames.
5655 (desktop--restore-frames): Rename from desktop--restore-windows.
5656 Obey desktop-restore-current-display. Do not delete old frames or
5657 select a new frame unless we were able to restore at least one frame.
5659 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5661 * files.el (find-file-noselect): Simplify conditional expression.
5663 * remember.el (remember-append-to-file):
5664 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5666 Add `remember-notes' function to store random notes across Emacs
5668 * remember.el (remember-data-file): Add :set callback to affect
5669 notes buffer (if any).
5670 (remember-notes): New command.
5671 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5672 New defcustoms for the `remember-notes' function.
5673 (remember-notes-save-and-bury-buffer): New command.
5674 (remember-notes-mode-map): New variable.
5675 (remember-mode): New minor mode.
5676 (remember-notes--kill-buffer-query): New function.
5677 * startup.el (initial-buffer-choice): Add notes to custom type.
5679 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5681 * bindings.el (right-char, left-char): Don't call sit-for, this is
5682 no longer needed. Use arithmetic comparison only for numerical
5685 * international/mule-cmds.el (select-safe-coding-system):
5686 Handle the case of FROM being a string correctly. (Bug#14755)
5688 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5690 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5691 progression on degenerate tables.
5692 (shr-rescale-image): ImageMagick animated images currently don't work.
5694 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5696 Some fixes and improvements for desktop frame restoration.
5697 It is still experimental and disabled by default.
5698 * desktop.el (desktop--save-windows): Put the selected frame at
5699 the head of the list.
5700 (desktop--make-full-frame): New function.
5701 (desktop--restore-windows): Try to re-select the frame that was
5702 selected upon saving. Do not abort if some frames fail to restore,
5703 just show an error message and continue. Set up maximized frames
5704 so they have default non-maximized dimensions.
5706 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5708 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5709 Don't start heredoc inside a string or comment.
5711 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5713 * bindings.el (visual-order-cursor-movement): New defcustom.
5714 (right-char, left-char): Provide visual-order cursor motion by
5715 calling move-point-visually. Update the doc strings.
5717 2013-06-28 Kenichi Handa <handa@gnu.org>
5719 * international/mule.el (define-coding-system): New coding system
5720 properties :inhibit-null-byte-detection,
5721 :inhibit-iso-escape-detection, and :prefer-utf-8.
5722 (set-buffer-file-coding-system): If :charset-list property of
5723 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5724 appropriate for setting.
5726 * international/mule-cmds.el (select-safe-coding-system):
5727 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5728 multibyte characters, return utf-8 (or one of its siblings).
5730 * international/mule-conf.el (prefer-utf-8): New coding system.
5731 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5734 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5736 * net/shr.el (shr-render-region): New function.
5738 * net/eww.el: Autoload `eww-browse-url'.
5740 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5742 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5743 Adapt to `package-desc-version' being a list.
5744 Use `package--ac-desc-version' to retrieve version from a package
5747 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5749 New experimental feature to save&restore window and frame setup.
5750 * desktop.el (desktop-save-windows): New defcustom.
5751 (desktop--saved-states): New var.
5752 (desktop--excluded-frame-parameters): New defconst.
5753 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5754 (desktop--restore-windows, desktop--save-windows): New functions.
5755 (desktop-save): Call `desktop--save-windows'.
5756 (desktop-read): Call `desktop--restore-windows'.
5758 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5760 * net/shr.el (add-face-text-property): Remove compat definition.
5762 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5764 * info.el (Info-try-follow-nearest-node): Move search for footnote
5765 above search for node name to prevent missing a footnote (bug#14717).
5767 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5769 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5771 2013-06-27 Leo Liu <sdl.web@gmail.com>
5773 * net/eww.el (eww-read-bookmarks): Check file size.
5775 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5777 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5778 advice--pending if newdef is nil or an autoload (bug#13820).
5779 (advice-mapc): New function.
5781 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5783 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5785 (eww-mode-map): Add a menu bar.
5786 (eww-add-bookmark): New command.
5787 (eww-bookmark-mode): New mode and commands.
5788 (eww-add-bookmark): Remove newlines from the title.
5789 (eww-bookmark-browse): Don't bug out if it's the only window.
5791 2013-06-26 Glenn Morris <rgm@gnu.org>
5793 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5794 (hfy-size): Handle ttys. (Bug#14668)
5796 * info-xref.el: Update for Texinfo 5 change in *note format.
5797 (info-xref-node-re, info-xref-note-re): New constants.
5798 (info-xref-check-buffer): Use info-xref-note-re.
5800 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5802 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5804 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5805 nil terminate the loop (bug#14718).
5807 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5809 * net/eww.el: Rework history traversal. When going forward/back,
5810 put these actions into the history, too, so that they can be
5812 (eww-render): Move the history reset to the correct buffer.
5814 2013-06-25 Juri Linkov <juri@jurta.org>
5816 * files-x.el (modify-dir-local-variable): Change the header comment
5817 in the file with directory local variables. (Bug#14692)
5819 * files-x.el (read-file-local-variable-value): Add `default'.
5822 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5824 * net/eww.el (eww-make-unique-file-name): Create a unique file
5825 name before saving to entering `y' accidentally asynchronously.
5827 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5829 * net/eww.el (eww-download): New command and keystroke.
5831 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5833 * net/eww.el (eww-copy-page-url): Change name of command.
5835 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5836 be more consistent with Info and dired.
5838 * net/eww.el (eww-mode-map): Ditto.
5840 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5842 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5843 packages from archives.
5844 (package-archive-contents): Change format; include obsolete packages.
5845 (package-desc): Use `dir' to mark builtin packages.
5846 (package--from-builtin): Set the `dir' field to `builtin'.
5847 (generated-autoload-file, version-control): Declare.
5848 (package-compute-transaction): Change first arg and return value to be
5849 lists of package-descs. Adjust to new package-archive-contents format.
5850 (package--add-to-archive-contents): Adjust to new
5851 package-archive-contents format.
5852 (package-download-transaction): Arg is now a list of package-descs.
5853 (package-install): If `pkg' is a package name, pass it as
5854 a requirement, so it is subject to the usual (e.g. disabled) checks.
5855 (describe-package): Accept package-desc as well.
5856 (describe-package-1): Describe a specific package-desc. Add links to
5857 other package-descs for the same package name.
5858 (package-menu-describe-package): Pass the actual package-desc.
5859 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5861 (package-desc-status): New function.
5862 (package-menu--refresh): New function, extracted
5863 from package-menu--generate.
5864 (package-menu--generate): Use it.
5865 (package-delete): Update package-alist.
5866 (package-menu-execute): Don't call package-initialize.
5868 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5869 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5870 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5871 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5872 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5873 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5875 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5877 * window.el (window--state-get-1): Workaround for bug#14527.
5878 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5880 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5882 * net/eww.el (eww-back-url): Implement the history by stashing all
5883 the data into a list.
5884 (eww-forward-url): Allow going forward in the history, too.
5886 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5888 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5889 for values and use read--expression for expressions (bug#14710).
5890 (read-file-local-variable): Avoid setq.
5891 (read-file-local-variable-mode): Use minor-mode-list.
5893 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5895 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5898 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5900 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5901 Update imenu-support when dialect changes.
5903 2013-06-25 Leo Liu <sdl.web@gmail.com>
5905 * ido.el (ido-read-internal): Allow forward slash on windows.
5907 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5909 * net/eww.el (eww): Start of strings is \\`, not ^.
5911 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5913 * net/shr.el (shr-browse-url): Fix interactive spec.
5915 * net/eww.el (eww): Add a trailing slash to domain names.
5917 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5919 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5921 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5923 * net/shr.el (shr-browse-url): Use an external browser if given a
5926 * net/eww.el (eww-external-browser): Move to shr.
5928 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5930 * net/eww.el (eww): Work more correctly for file: URLs.
5931 (eww-detect-charset): Allow quoted charsets.
5932 (eww-yank-page-url): New command and keystroke.
5934 2013-06-24 Daiki Ueno <ueno@gnu.org>
5936 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5937 file name of gpg executable.
5938 (epg-context-program): New function.
5939 (epg-context-home-directory): New function.
5940 (epg-context-set-program): New function.
5941 (epg-context-set-home-directory): New function.
5942 (epg--start): Use `epg-context-program' instead of
5944 (epg--list-keys-1): Likewise.
5946 2013-06-24 Leo Liu <sdl.web@gmail.com>
5948 * ido.el (ido-read-internal): Fix bug#14620.
5950 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5952 * faces.el (face-documentation): Simplify.
5953 (read-face-attribute, tty-find-type, x-resolve-font-name):
5954 Use `string-match-p'.
5955 (list-faces-display): Use `string-match-p'. Simplify.
5956 (face-spec-recalc): Check face to avoid face alias loops.
5957 (read-color): Use `string-match-p' and non-capturing parenthesis.
5959 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5961 * net/shr.el (shr-rescale-image): Use the new
5962 :max-width/:max-height functionality.
5964 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5966 * net/eww.el (eww-search-prefix): New variable.
5968 (eww-external-browser): New variable.
5969 (eww-mode-map): New keystroke.
5970 (eww-browse-with-external-browser): New command.
5972 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5974 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5976 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5977 Don't skip aligning the next header field when padding is 0;
5978 otherwise, field width is not respected unless the title is as
5981 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5983 * emacs-lisp/package.el (package-el-version): Remove.
5984 (package-process-define-package): Fix inf-loop.
5985 (package-install): Allow symbols as arguments again.
5987 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5989 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5990 add some more keyword-like methods.
5991 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5993 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5995 * bs.el (bs-buffer-show-mark): Make defvar-local.
5996 (bs-mode): Use setq-local.
5998 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5999 (emacs-lock--try-unlocking): Make defvar-local.
6001 2013-06-22 Glenn Morris <rgm@gnu.org>
6003 * play/cookie1.el (cookie-apropos): Minor simplification.
6005 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6007 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6009 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6010 `regexp-opt', it breaks the build during dumping.
6012 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6014 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6015 Highlight keyword-like methods on Kernel and Module with
6016 font-lock-builtin-face.
6017 (auto-mode-alist): Consolidate different entries into one regexp
6018 and add more *file-s.
6020 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6022 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6024 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6025 (diary-entry): Use it in the action of this button type instead of
6028 * calendar/todo-mode.el: New version.
6029 (todo-add-category): Append new category to end of file and give
6030 it the highest number, instead of putting it at the beginning and
6031 giving it 0. Incorporate noninteractive functionality.
6032 (todo-forward-category): Adapt to 1-based category numbering.
6033 Allow skipping over archived categories.
6034 (todo-backward-category): Derive from todo-forward-category.
6035 (todo-backward-item, todo-forward-item): Make noninteractive and
6036 delegate interactive part to new commands. Make sensitive to done items.
6037 (todo-categories): Make value an alist of category names and
6038 vectors of item counts.
6039 (todo-category-beg): Make a defconst.
6040 (todo-category-number): Use 1 instead of 0 as initial value.
6041 (todo-category-select): Make sensitive to overlays, optional item
6042 highlighting and done items.
6043 (todo-delete-item): Make sensitive to overlays and marked and done items.
6044 (todo-edit-item): Make sensitive to overlays and editing of
6045 date/time header optional. Add format checks.
6046 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6047 no-op if point is not on an item. Advertise using todo-edit-quit.
6048 (todo-edit-mode): Make sensitive to new format, font-locking, and
6049 multiple todo files.
6050 (todo-insert-item, todo-insert-item-here): Derive from
6051 todo-basic-insert-item and extend functionality.
6052 (todo-item-end, todo-item-start): Make sensitive to done items.
6053 (todo-item-string): Don't return text properties. Restore point.
6054 (todo-jump-to-category): Make sensitive to multiple todo files and
6055 todo archives. Use extended category completion.
6056 (todo-lower-item, todo-raise-item): Rename to *-priority and
6057 derive from todo-set-item-priority.
6058 (todo-mode): Derive from special-mode. Make sensitive to new
6059 format, font-locking and multiple todo files. Make read-only.
6060 (todo-mode-map): Don't suppress digit keys, so they can supply
6061 prefix arguments. Add many new key bindings.
6062 (todo-prefix): Insert as an overlay instead of file text.
6063 Change semantics from diary date expression to purely visual mark.
6064 (todo-print): Rename to todo-print-buffer. Make buffer display
6065 features printable. Remove option to restrict number of items
6066 printed. Add option to print to file.
6067 (todo-print-function): Rename to todo-print-buffer-function.
6068 (todo-quit): Extend to handle exiting new todo modes.
6069 (todo-remove-item): Make sensitive to overlays.
6070 (todo-save): Extend to buffers of filtered items.
6071 (todo-show): Make sensitive to done items, multiple todo files and
6072 new todo modes. Offer to convert legacy todo file before creating
6073 first new todo file.
6074 (todo-show-priorities): Rename to todo-top-priorities.
6075 Change semantics of value 0.
6076 (todo-top-priorities): Rename to todo-filter-top-priorities,
6077 derive from todo-filter-items and extend functionality.
6078 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6079 and extend functionality to other types of filtered items.
6080 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6081 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6082 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6083 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6084 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6085 (todo-edit-mode-hook, todo-entry-prefix-function)
6086 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6087 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6088 (todo-initials, todo-insert-threshold, todo-item-string-start)
6089 (todo-line-string, todo-menu, todo-mode-hook)
6090 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6091 (todo-print-priorities, todo-remove-separator)
6092 (todo-save-top-priorities-too, todo-string-count-lines)
6093 (todo-string-multiline-p, todo-time-string-format)
6094 (todo-tmp-buffer-name): Remove.
6095 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6096 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6097 (todo-edit-category-diary-inclusion)
6098 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6099 (todo-edit-file, todo-edit-item-date-day)
6100 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6101 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6102 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6103 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6104 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6105 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6106 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6107 (todo-filter-top-priorities-multifile, todo-find-archive)
6108 (todo-find-filtered-items-file, todo-go-to-source-item)
6109 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6110 (todo-jump-to-archive-category, todo-lower-category)
6111 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6112 (todo-move-category, todo-move-item, todo-next-button)
6113 (todo-next-item, todo-padded-string, todo-powerset)
6114 (todo-previous-button, todo-previous-item)
6115 (todo-print-buffer-to-file, todo-raise-category)
6116 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6117 (todo-set-category-number, todo-set-item-priority)
6118 (todo-set-top-priorities-in-category)
6119 (todo-set-top-priorities-in-file, todo-show-categories-table)
6120 (todo-sort-categories-alphabetically-or-numerically)
6121 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6122 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6123 (todo-toggle-item-header, todo-toggle-item-highlighting)
6124 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6125 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6126 (todo-unarchive-items, todo-unmark-category): New commands.
6127 (todo-absolute-file-name, todo-add-to-buffer-list)
6128 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6129 (todo-basic-insert-item, todo-category-completions)
6130 (todo-category-number, todo-category-string-matcher-1)
6131 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6132 (todo-check-format, todo-clear-matches)
6133 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6134 (todo-current-category, todo-date-string-matcher)
6135 (todo-define-insertion-command, todo-diary-expired-matcher)
6136 (todo-diary-goto-entry, todo-diary-item-p)
6137 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6138 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6139 (todo-done-item-section-p, todo-done-separator)
6140 (todo-done-string-matcher, todo-files, todo-filter-items)
6141 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6142 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6143 (todo-insert-category-line, todo-insert-item-from-calendar)
6144 (todo-insert-sort-button, todo-insert-with-overlays)
6145 (todo-insertion-command-name, todo-insertion-key-bindings)
6146 (todo-label-to-key, todo-longest-category-name-length)
6147 (todo-make-categories-list, todo-mode-external-set)
6148 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6149 (todo-modes-set-3, todo-multiple-filter-files)
6150 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6151 (todo-read-category, todo-read-date, todo-read-dayname)
6152 (todo-read-file-name, todo-read-time)
6153 (todo-reevaluate-category-completions-files-defcustom)
6154 (todo-reevaluate-default-file-defcustom)
6155 (todo-reevaluate-filelist-defcustoms)
6156 (todo-reevaluate-filter-files-defcustom)
6157 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6158 (todo-reset-done-separator, todo-reset-done-separator-string)
6159 (todo-reset-done-string, todo-reset-global-current-todo-file)
6160 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6161 (todo-reset-prefix, todo-set-categories)
6162 (todo-set-date-from-calendar, todo-set-show-current-file)
6163 (todo-set-top-priorities, todo-short-file-name)
6164 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6165 (todo-total-item-counts, todo-update-buffer-list)
6166 (todo-update-categories-display, todo-update-categories-sexp)
6167 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6169 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6171 (todo-categories, todo-display, todo-edit, todo-faces)
6172 (todo-filtered): New defgroups.
6173 (todo-archived-only, todo-button, todo-category-string, todo-date)
6174 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6175 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6176 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6177 (todo-add-item-if-new-category, todo-always-add-time-string)
6178 (todo-categories-align, todo-categories-archived-label)
6179 (todo-categories-category-label, todo-categories-diary-label)
6180 (todo-categories-done-label, todo-categories-number-separator)
6181 (todo-categories-todo-label, todo-categories-totals-label)
6182 (todo-category-completions-files, todo-completion-ignore-case)
6183 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6184 (todo-done-separator-string, todo-done-string)
6185 (todo-files-function, todo-filter-done-items, todo-filter-files)
6186 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6187 (todo-initial-category, todo-initial-file, todo-item-mark)
6188 (todo-legacy-date-time-regexp, todo-mode-line-function)
6189 (todo-nondiary-marker, todo-number-prefix)
6190 (todo-print-buffer-function, todo-show-current-file)
6191 (todo-show-done-only, todo-show-first, todo-show-with-done)
6192 (todo-skip-archived-categories, todo-top-priorities-overrides)
6193 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6194 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6196 (todo-category-done, todo-date-pattern, todo-date-string-start)
6197 (todo-diary-items-buffer, todo-done-string-start)
6198 (todo-filtered-items-buffer, todo-item-start)
6199 (todo-month-abbrev-array, todo-month-name-array)
6200 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6201 (todo-top-priorities-buffer): New defconsts.
6202 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6203 (todo-categories-with-marks, todo-category-string-face)
6204 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6205 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6206 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6207 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6208 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6209 (todo-font-lock-keywords, todo-global-current-todo-file)
6210 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6211 (todo-insertion-commands-args)
6212 (todo-insertion-commands-args-genlist)
6213 (todo-insertion-commands-names, todo-insertion-map)
6214 (todo-key-bindings-t, todo-key-bindings-t+a)
6215 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6216 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6217 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6218 (todo-visited): New variables.
6220 2013-06-21 Glenn Morris <rgm@gnu.org>
6222 * play/cookie1.el (cookie-apropos): Add optional display argument.
6223 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6224 (psychoanalyze-pinhead): Use cookie-doctor.
6226 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6228 * emacs-lisp/package.el (tar-get-file-descriptor)
6229 (tar--extract): Declare.
6231 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6233 Extend flymake's warning predicate to be a function (bug#14217).
6234 * progmodes/flymake.el (flymake-warning-predicate): New.
6235 (flymake-parse-line): Use it.
6236 (flymake-warning-re): Make obsolete alias to
6237 `flymake-warning-predicate'.
6239 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6241 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6242 (package-obsolete-list): Remove.
6243 (package-activate): Remove min-version argument. Add `force' argument.
6244 Adjust to new package-alist format.
6245 (package-mark-obsolete): Remove.
6246 (package-unpack): Force reload of the package's autoloads.
6247 (package-installed-p): Check builtins if the installed package is not
6249 (package-initialize): Don't reset package-obsolete-list.
6250 Don't specify which package version to activate.
6251 (package-process-define-package, describe-package-1)
6252 (package-menu--generate): Adjust to new package-alist format.
6254 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6256 * allout-widgets.el (allout-widgets-mode-off)
6257 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6258 (allout-widgets-post-command-business)
6259 (allout-widgets-after-copy-or-kill-function)
6260 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6261 (allout-decorate-item-and-context)
6262 (allout-graphics-modification-handler): Fix typos in docstrings.
6263 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6265 * cmuscheme.el (scheme-start-file): Doc fix.
6266 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6267 (scheme-input-filter): Use `string-match-p'.
6269 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6271 * dired-x.el: Use Dired consistently in docstrings.
6273 * dired.el: Use Dired consistently in docstrings.
6274 (dired-readin, dired-mode): Use `setq-local'.
6275 (dired-switches-alist): Make defvar-local.
6276 (dired-buffers-for-dir): Use `zerop'.
6277 (dired-safe-switches-p, dired-switches-escape-p)
6278 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6279 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6280 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6281 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6282 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6283 (dired-toggle-marks, dired-mark-files-containing-regexp)
6284 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6285 (dired-flag-auto-save-files, dired-flag-backup-files):
6287 (dired-mark-files-regexp, dired-build-subdir-alist):
6288 Use `string-match-p', `looking-at-p'.
6290 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6291 (direct-print-region-helper): Use `string-match-p'.
6293 2013-06-21 Leo Liu <sdl.web@gmail.com>
6295 * comint.el (comint-redirect-results-list-from-process):
6298 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6300 * net/eww.el (eww-update-header-line-format): Quote % characters.
6302 2013-06-21 Glenn Morris <rgm@gnu.org>
6304 * play/cookie1.el (cookie): New custom group.
6305 (cookie-file): New option.
6306 (cookie-check-file): New function.
6307 (cookie): Make it interactive. Make start and end messages optional.
6308 Interactively, display the result. Default to cookie-file.
6309 (cookie-insert): Default to cookie-file.
6310 (cookie-snarf): Make start and end messages optional.
6311 Default to cookie-file. Use with-temp-buffer.
6312 (cookie-read): Rename from read-cookie.
6313 Make start and end messages optional. Default to cookie-file.
6314 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6316 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6317 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6319 2013-06-21 Leo Liu <sdl.web@gmail.com>
6321 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6323 2013-06-21 Glenn Morris <rgm@gnu.org>
6325 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6327 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6328 Daniel Hackney <dan@haxney.org>
6330 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6331 Consolidate the single-file vs tarball code.
6332 (package-desc-suffix): New function.
6333 (package-desc-full-name): Don't bother inlining it.
6334 (package-load-descriptor): Return the new package-desc.
6335 (package-mark-obsolete): Remove unused arg `package'.
6336 (package-unpack): Make it work for single files as well.
6337 Make it update package-alist.
6338 (package--make-autoloads-and-stuff): Rename from
6339 package--make-autoloads-and-compile. Don't compile any more.
6340 (package--compile): New function.
6341 (package-generate-description-file): New function, extracted from
6342 package-unpack-single.
6343 (package-unpack-single): Remove.
6344 (package--with-work-buffer): Add indentation and debugging info.
6345 (package-download-single): Remove.
6346 (package-install-from-archive): Rename from package-download-tar, make
6347 it take a pkg-desc, and make it work for single files as well.
6348 (package-download-transaction): Simplify.
6349 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6350 external tar program.
6351 (package-install-from-buffer): Remove `pkg-desc' argument.
6352 Use package-tar-file-info for tar-mode buffers.
6353 (package-install-file): Simplify accordingly.
6354 (package-archive-base): Change to take a pkg-desc.
6355 * tar-mode.el (tar--check-descriptor): New function, extracted from
6357 (tar-get-descriptor): Use it.
6358 (tar-get-file-descriptor): New function.
6359 (tar--extract): New function, extracted from tar-extract.
6360 (tar--extract): Use it.
6361 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6362 case the summary uses non-ascii. Adjust to new calling convention of
6363 package-tar-file-info.
6365 2013-06-21 Leo Liu <sdl.web@gmail.com>
6367 * comint.el (comint-redirect-results-list-from-process):
6368 Fix random delay. (Bug#14681)
6370 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6372 * profiler.el (profiler-format-number): Use log, not log10.
6374 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6376 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6378 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6380 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6381 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6383 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6384 (AUTOGENEL): ... here.
6385 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6386 (cl--defsubst-expand): Use it.
6388 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6390 * subr.el (log10): Move here from C code, and declare as obsolete.
6391 All uses of (log10 X) replaced with (log X 10).
6393 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6395 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6396 Declare with `defvar-local'.
6397 (tabulated-list-use-header-line, tabulated-list-entries)
6398 (tabulated-list-padding, tabulated-list-printer)
6399 (tabulated-list-sort-key): Declare with `defvar-local'.
6400 (tabulated-list-init-header, tabulated-list-print-fake-header):
6403 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6405 * arc-mode.el (archive-mode): Add `archive-write-file' to
6406 `write-contents-functions' also for remote files. (Bug#14652)
6408 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6410 * cus-edit.el (custom-commands): Fix typos.
6411 (custom-display): Fix tooltip text.
6412 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6413 Fix typos in docstrings.
6414 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6415 (custom-unlispify-menu-entry, custom-magic-value-create)
6416 (custom-add-see-also, custom-group-value-create): Use ?\s.
6417 (custom-guess-type, customize-apropos, editable-field)
6418 (custom-face-value-create): Use `string-match-p'.
6419 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6421 * custom.el (custom-load-symbol): Use `string-match-p'.
6423 * ansi-color.el: Convert to lexical binding.
6424 (ansi-colors): Fix URL.
6425 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6426 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6427 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6429 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6431 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6433 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6435 2013-06-19 Tom Tromey <tromey@redhat.com>
6437 * net/eww.el (eww-top-url): Remove.
6438 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6439 (eww-render): Set new variables. Don't set eww-top-url.
6440 (eww-handle-link): Handle "prev", "home", and "contents".
6441 Downcase the rel text.
6442 (eww-top-url): Choose best top URL.
6444 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6446 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6447 relying in widget.el. Using widget.el leads to too many
6448 user interface inconsistencies.
6449 (eww-self-insert): Implement entering commands in text fields.
6450 (eww-process-text-input): New function to make text input field editing
6452 (eww-submit): Rewrite to use the new-style form methods.
6453 (eww-select-display): Display the correct selected item.
6454 (eww-change-select): Implement changing the select value.
6455 (eww-toggle-checkbox): Implement radio/checkboxes.
6456 (eww-update-field): Fix compilation error.
6457 (eww-tag-textarea): Implement <textarea>.
6459 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6460 we don't shadow mode-specific bindings.
6462 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6465 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6467 2013-06-19 Glenn Morris <rgm@gnu.org>
6469 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6471 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6473 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6476 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6478 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6480 * net/browse-url.el (browse-url-browser-function):
6481 `eww-browse-url' has the right calling signature, `eww' does not.
6483 2013-06-19 Glenn Morris <rgm@gnu.org>
6485 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6486 Only eval autoloaded macros.
6487 (byte-compile-autoload): Only give the macro warning for macros.
6489 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6490 (ps-underlined-faces): Declare.
6492 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6493 (speedbar-add-supported-extension): Declare.
6495 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6496 Don't include a date stamp in the header of the generated file;
6497 it leads to needless differences between output files.
6499 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6501 * net/secrets.el (secrets-struct-secret-content-type):
6502 Replace check of introspection data by a test call of "CreateItem".
6503 Some servers do not offer introspection.
6505 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6507 * electric.el (electric-pair-mode): Improve interaction with
6508 electric-layout-mode.
6509 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6510 (electric-pair-syntax): Use text-mode-syntax-table in comments
6512 (electric-pair--insert): New function.
6513 (electric-pair-post-self-insert-function): Use it and
6514 electric--after-char-pos.
6516 2013-06-19 Leo Liu <sdl.web@gmail.com>
6518 * progmodes/octave.el (octave-help): Fix regexp.
6520 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6522 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6523 (shr-table-horizontal-line): Allow nil as a value, and change the
6525 (shr-insert-table-ruler): Respect the nil value.
6527 2013-06-18 Tom Tromey <tromey@barimba>
6529 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6531 (eww-open-file): New defun.
6532 (eww-render): Initialize new variables.
6533 (eww-display-html): Handle "link" and "a".
6534 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6535 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6536 (eww-back-url): Rename from eww-previous-url.
6537 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6540 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6542 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6543 Distinguish ternary operator tokens from slash symbol and slash
6546 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6548 Convert symbol prettification into minor mode and global minor mode.
6550 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6551 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6552 (prettify-symbols--keywords): Rename from
6553 `prog-prettify-symbols-alist' and make a local defvar.
6554 (prettify-symbols--compose-symbol): Rename from
6555 `prog--prettify-font-lock-compose-symbol'.
6556 (prettify-symbols--make-keywords): Rename from
6557 `prog-prettify-font-lock-symbols-keywords' and simplify.
6558 (prog-prettify-install): Remove.
6559 (prettify-symbols-mode): New minor mode, based on
6560 `prog-prettify-install'.
6561 (turn-on-prettify-symbols-mode): New function.
6562 (global-prettify-symbols-mode): New globalized minor mode.
6564 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6565 * progmodes/cfengine.el (cfengine3-mode):
6566 * progmodes/perl-mode.el (perl-mode): Don't call
6567 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6569 2013-06-18 Juri Linkov <juri@jurta.org>
6571 * files-x.el (modify-file-local-variable-message): New function.
6572 (modify-file-local-variable)
6573 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6574 and call `modify-file-local-variable-message' when it's non-nil.
6575 (add-file-local-variable, delete-file-local-variable)
6576 (add-file-local-variable-prop-line)
6577 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6578 and use it. (Bug#9820)
6580 2013-06-18 Juri Linkov <juri@jurta.org>
6582 * emulation/vi.el (vi-shell-op):
6583 * emulation/vip.el (vip-execute-com, ex-command):
6584 * emulation/viper-cmd.el (viper-exec-bang):
6585 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6586 the call of `shell-command-on-region'. (Bug#14637)
6588 * simple.el (shell-command-on-region): Doc fix.
6590 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6592 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6595 2013-06-18 Glenn Morris <rgm@gnu.org>
6597 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6599 * newcomment.el (comment-search-forward, comment-search-backward):
6600 Doc fix. (Bug#14376)
6602 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6604 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6605 (buffer-face-mode-invoke): Doc fix.
6607 2013-06-18 Matthias Meulien <orontee@gmail.com>
6609 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6610 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6612 2013-06-18 Glenn Morris <rgm@gnu.org>
6614 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6615 Replace obsolete function generic-make-keywords with its expansion.
6617 * progmodes/python.el (ffap-alist): Declare.
6619 * textmodes/reftex.el (bibtex-mode-map): Declare.
6621 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6623 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6624 (package-unpack, package-unpack-single): Return the pkg-dir.
6625 (package-download-transaction): Use it to update package-alist.
6627 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6629 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6632 2013-06-17 Juri Linkov <juri@jurta.org>
6634 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6636 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6638 * emacs-lisp/package.el (package-load-descriptor):
6639 Remove `with-syntax-table' call, `read' doesn't need it.
6640 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6642 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6644 * startup.el (command-line): Expand package name returned by
6645 `package--description-file' (bug#14639).
6647 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6649 * emacs-lisp/package.el (package-load-descriptor): Do not call
6650 `emacs-lisp-mode', just use its syntax table.
6652 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6654 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6655 `font-lock-extra-managed-props' if any prettifying keyword is added.
6656 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6657 (prog-mode): Use `setq-local'.
6659 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6661 * international/characters.el (standard-case-table): Set syntax of ?»
6662 and ?« to punctuation.
6664 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6666 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6667 Save relevant match data before calling `syntax-ppss' (bug#14595).
6669 2013-06-15 Juri Linkov <juri@jurta.org>
6671 * files-x.el (modify-file-local-variable-prop-line): Add local
6672 variables to the end of the existing comment on the first line.
6673 Use `file-auto-mode-skip' to skip interpreter magic line,
6674 and also skip XML declaration.
6676 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6678 * startup.el (package--builtin-versions): New var.
6679 (package-subdirectory-regexp): Remove.
6680 (package--description-file): Hard code its value instead.
6682 * emacs-lisp/package.el: Don't activate packages older than builtin.
6683 (package-obsolete-list): Rename from package-obsolete-alist, and make
6684 it into a simple list of package-desc.
6685 (package-strip-version): Remove.
6686 (package-built-in-p): Use package--builtin-versions.
6687 (package-mark-obsolete): Simplify.
6688 (package-process-define-package): Mark it obsolete if older than the
6690 (package-handle-response): Use line-end-position.
6691 (package-read-archive-contents, package--download-one-archive):
6693 (package--add-to-archive-contents): Skip if older than the builtin or
6695 (package-menu-describe-package): Fix last change.
6696 (package-list-unversioned): New var.
6697 (package-menu--generate): Use it.
6699 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6700 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6701 (autoload-builtin-package-versions): New variable.
6702 (autoload-generate-file-autoloads): Use them.
6703 Remove the list of autoloaded functions/macros from the
6704 (autoload...) comments.
6706 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6708 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6710 * simple.el (line-move-partial): Don't jump to the next screen
6711 line as soon as it becomes visible. Instead, continue enlarging
6712 the vscroll until the portion of a tall screen line that's left on
6713 display is about the height of the frame's default font.
6716 2013-06-15 Glenn Morris <rgm@gnu.org>
6718 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6719 compilation-error-regexp-alist void, or local while let-bound.
6721 * progmodes/make-mode.el (makefile-mode-syntax-table):
6722 Treat "=" as punctuation. (Bug#14614)
6724 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6726 * help-fns.el (describe-variable):
6727 Add extra line for permanent-local variables.
6729 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6731 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6732 Add export, import, library. (Bug#9164)
6733 (library): Set indent function.
6735 2013-06-14 Glenn Morris <rgm@gnu.org>
6737 * term/xterm.el (xterm--query):
6738 Stop after first matching handler. (Bug#14615)
6740 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6742 Add support for dired in saveplace.
6743 * dired.el (dired-initial-position-hook): New variable.
6744 (dired-initial-position): Call hook to place cursor position.
6745 * saveplace.el (save-place-to-alist): Add dired position.
6746 (save-place-dired-hook): New function.
6748 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6750 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6751 through a symbol rather than letrec.
6753 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6754 (package-desc): Add `dir' field.
6755 (package-desc-full-name): New function.
6756 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6757 (package-maybe-load-descriptor): Remove.
6758 (package-load-all-descriptors): Just call package-load-descriptor.
6759 (package--disabled-p): New function.
6760 (package-desc-vers, package-desc-doc): Remove aliases.
6761 (package--dir): Remove function.
6762 (package-activate): Check if a package is disabled.
6763 (package-process-define-package): New function, extracted from
6765 (define-package): Turn into a place holder.
6766 (package-unpack-single, package-tar-file-info):
6767 Use package--description-file.
6768 (package-compute-transaction): Use package--disabled-p.
6769 (package-download-transaction): Don't call
6770 package-maybe-load-descriptor since they're all loaded anyway.
6771 (package-install): Change argument to be a pkg-desc.
6772 (package-delete): Use a single pkg-desc argument.
6773 (describe-package-1): Use package-desc-dir instead of package--dir.
6774 Use package-desc property instead of package-symbol.
6775 (package-install-button-action): Adjust accordingly.
6776 (package--push): Rewrite.
6777 (package-menu--print-info): Adjust accordingly. Change the ID format
6779 (package-menu-describe-package, package-menu-get-status)
6780 (package-menu--find-upgrades, package-menu-mark-upgrades)
6781 (package-menu-execute, package-menu--name-predicate):
6783 * startup.el (package--description-file): New function.
6784 (command-line): Use it.
6785 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6786 Use package-desc-version.
6788 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6789 (byte-compile-preprocess): Use it.
6790 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6791 can't quite recognize.
6792 (byte-compile-add-to-list): Remove.
6793 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6794 (cconv-closure-convert): Add assertion.
6796 * emacs-lisp/map-ynp.el: Use lexical-binding.
6797 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6798 Factor out some repeated code.
6800 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6802 * subr.el (with-eval-after-load): New macro.
6803 (eval-after-load): Allow form to be a function.
6804 take advantage of lexical-binding.
6805 (do-after-load-evaluation): Use dolist and adjust to new format.
6806 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6808 2013-06-13 Juri Linkov <juri@jurta.org>
6810 * replace.el (perform-replace): Display "symbol " and other search
6811 modes from `isearch-message-prefix' in the *Help* buffer.
6813 * isearch.el (isearch-query-replace): Add " symbol" and other
6814 possible search modes from `isearch-message-prefix' to the prompt.
6815 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6816 when reading a regexp to collect.
6818 2013-06-13 Juri Linkov <juri@jurta.org>
6820 * isearch.el (word-search-regexp): Match whitespace if the search
6821 string begins or ends in whitespace. The LAX arg is applied to
6822 both ends of the search string. Use `regexp-quote' and explicit
6823 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6824 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6825 boundaries are replaced with symbol boundaries, and characters
6826 between symbols match non-word non-symbol syntax. (Bug#14602)
6828 2013-06-13 Juri Linkov <juri@jurta.org>
6830 * isearch.el (isearch-del-char): Don't exceed the length of
6831 `isearch-string' by the prefix arg. (Bug#14563)
6833 2013-06-13 Juri Linkov <juri@jurta.org>
6835 * isearch.el (isearch-yank-word, isearch-yank-line)
6836 (isearch-char-by-name, isearch-quote-char)
6837 (isearch-printing-char, isearch-process-search-char):
6838 Add optional count prefix arg. (Bug#14563)
6840 * international/isearch-x.el
6841 (isearch-process-search-multibyte-characters):
6842 Add optional count prefix arg.
6844 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6846 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6847 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6850 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6852 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6854 2013-06-13 Glenn Morris <rgm@gnu.org>
6856 * startup.el (tty-handle-args):
6857 Don't just discard "--" and anything after. (Bug#14608)
6859 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6861 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6863 Implement changes in Secret Service API. Make it backward compatible.
6864 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6865 (secrets-create-item): Use it. Prefix properties with interface.
6867 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6869 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6870 (term-emulate-terminal): Respect term-suppress-hard-newline.
6872 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6874 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6875 Only remove a `thumb-file' overlay. (Bug#14548)
6877 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6879 * mail/reporter.el (reporter-submit-bug-report):
6880 Handle missing package-name. (Bug#14600)
6882 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6884 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6885 (reftex-citation-prompt, reftex-default-bibliography)
6886 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6887 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6888 (reftex-bib-sort-author, reftex-bib-sort-year)
6889 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6890 (reftex-extract-bib-entries-from-thebibliography)
6891 (reftex-get-bibkey-default, reftex-get-bib-names)
6892 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6893 (reftex-format-bib-entry, reftex-parse-bibitem)
6894 (reftex-format-bibitem, reftex-do-citation)
6895 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6896 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6897 (reftex-insert-bib-matches, reftex-format-citation)
6898 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6899 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6900 existing comments into docstrings.
6902 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6904 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6906 2013-06-12 Andreas Schwab <schwab@suse.de>
6908 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6909 for auto-save files.
6911 2013-06-12 Glenn Morris <rgm@gnu.org>
6913 * ido.el (ido-delete-ignored-files): Remove.
6914 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6915 Go back to calling ido-ignore-item-p directly.
6917 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6919 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6921 * ido.el (ido-delete-ignored-files): New function,
6922 split from ido-make-file-list-1.
6923 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6924 (ido-make-file-list-1): Use ido-delete-ignored-files.
6926 2013-06-12 Leo Liu <sdl.web@gmail.com>
6928 * progmodes/octave.el (inferior-octave-startup)
6929 (inferior-octave-completion-table)
6930 (inferior-octave-track-window-width-change)
6931 (octave-eldoc-function-signatures, octave-help)
6932 (octave-find-definition): Use single quoted strings.
6933 (inferior-octave-startup-args): Change default value.
6934 (inferior-octave-startup): Do not hard code "-i" and
6935 "--no-line-editing".
6936 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6937 (inferior-octave-directory-tracker): Use it.
6938 (octave-goto-function-definition): Robustify.
6939 (octave-help): Support highlighting operators in 'See also'.
6940 (octave-find-definition): Find subfunctions only in Octave mode.
6942 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6944 * help-fns.el (help-fns--compiler-macro): If the handler function is
6945 named, then put a link to it.
6946 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6947 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6949 (cl-eval-when): Simplify debug spec.
6950 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6951 compiler-macro function instead of setting `compiler-macro-file'.
6953 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6955 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6956 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6958 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6959 Daniel Hackney <dan@haxney.org>
6961 First part of Daniel Hackney's patch to package.el.
6962 * emacs-lisp/package.el: Use defstruct.
6963 (package-desc): New, main struct.
6964 (package--bi-desc, package--ac-desc): New structs, used to describe the
6965 format in external files.
6966 (package-desc-vers): Replace with package-desc-version accessor.
6967 (package-desc-doc): Replace with package-desc-summary accessor.
6968 (package-activate-1): Remove `package' arg since the pkg-vec now
6970 (define-package): Use package-desc-from-define.
6971 (package-unpack-single): Change file-name arg to be a symbol.
6972 (package--add-to-archive-contents): Use package-desc-create and new
6973 accessor functions to package--ac-desc.
6974 (package-buffer-info, package-tar-file-info): Return a package-desc.
6975 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6976 arg to be a package-desc.
6977 (package-install-file): Adjust accordingly. Use \' to match EOS.
6978 (package--from-builtin): New function.
6979 (describe-package-1, package-menu--generate): Use it.
6980 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6981 (package-generate-autoloads): Idem and return the name of the file.
6982 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6983 Change pkg-info arg to be a package-desc.
6984 Use package-make-ac-desc.
6985 (package-upload-file): Use \' to match EOS.
6986 * finder.el (finder-compile-keywords): Use package-make-builtin.
6988 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6990 * vc/vc.el (vc-deduce-fileset): Change error message.
6991 (vc-read-backend): New function.
6992 (vc-next-action): Use it.
6994 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6996 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6997 (prolog-font-lock-keywords): Use regexp-opt instead.
6998 Don't manually highlight strings.
6999 (prolog-mode-variables): Simplify comment-start-skip.
7000 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7002 * emacs-lisp/generic.el (generic--normalise-comments)
7003 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7004 (generic-mode-set-comments): Use them.
7005 (generic-bracket-support): Use setq-local.
7006 (generic-make-keywords-list): Declare obsolete.
7008 2013-06-11 Glenn Morris <rgm@gnu.org>
7010 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7011 Prettify after setting font-lock-defaults. (Bug#14574)
7013 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7015 * replace.el (query-replace, occur-read-regexp-defaults-function)
7017 * subr.el (declare-function, number-sequence, local-set-key)
7018 (substitute-key-definition, locate-user-emacs-file)
7019 (with-silent-modifications, split-string, eval-after-load):
7020 Fix typos, remove unneeded backslashes and reflow some docstrings.
7022 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7024 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7025 default for Elisp files.
7027 2013-06-11 Glenn Morris <rgm@gnu.org>
7029 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7030 although define-derived-mode was doing this anyway. (Bug#14583)
7032 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7034 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7035 Fix make-variable-buffer-local call to refer to the correct variable.
7037 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7039 * eshell/em-term.el (eshell-visual-commands)
7040 (eshell-visual-subcommands, eshell-visual-options):
7041 Add summary line to docstrings. Add cross-references.
7043 2013-06-10 Glenn Morris <rgm@gnu.org>
7045 * epa.el (epa-read-file-name): New function. (Bug#14510)
7046 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7048 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7050 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7051 output redirection to be ignored with visual commands.
7053 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7055 * eshell/em-term.el (eshell-visual-command-p): New function.
7056 (eshell-term-initialize): Move long lambda to separate function
7057 eshell-visual-command-p.
7058 * eshell/em-dirs.el (eshell-dirs-initialise):
7059 * eshell/em-script.el (eshell-script-initialize):
7060 Add missing #' to lambda.
7062 2013-06-08 Leo Liu <sdl.web@gmail.com>
7064 * progmodes/octave.el (octave-add-log-current-defun): New function.
7065 (octave-mode): Set add-log-current-defun-function.
7066 (octave-goto-function-definition): Do not move point if not found.
7067 (octave-find-definition): Enhance to try subfunctions first.
7069 2013-06-08 Glenn Morris <rgm@gnu.org>
7071 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7072 (byte-compile-backward-char, byte-compile-backward-word):
7073 Improve previous change, to handle non-explicit nil.
7075 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7077 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7078 (smie--opener/closer-at-point): New function.
7079 (smie--matching-block-data): Use it. Don't match from right after an
7080 opener or right before a closer. Obey smie-blink-matching-inners.
7081 Don't signal a mismatch for repeated inners like "switch..case..case".
7083 2013-06-07 Leo Liu <sdl.web@gmail.com>
7085 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7087 (octave-function-header-regexp): Fix. (Bug#14570)
7088 (octave-help-mode-finish-hook, octave-help-mode-finish):
7089 Remove. Just use temp-buffer-show-hook.
7091 * newcomment.el (comment-search-backward): Revert last change.
7094 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7096 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7098 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7099 through xargs, to avoid failure due to MS-Windows limitations on
7100 command-line length.
7102 2013-06-06 Glenn Morris <rgm@gnu.org>
7104 * font-lock.el (lisp-font-lock-keywords-2):
7105 Treat user-error like error.
7107 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7108 (byte-compile-backward-char, byte-compile-backward-word):
7109 Handle explicit nil arguments. (Bug#14565)
7111 2013-06-05 Alan Mackenzie <acm@muc.de>
7113 * isearch.el (isearch-allow-prefix): New user option.
7114 (isearch-other-meta-char): Don't exit isearch when a prefix
7115 argument is typed whilst `isearch-allow-prefix' is non-nil.
7118 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7120 * autorevert.el (auto-revert-notify-handler): Use memq.
7121 Hide assertion failure.
7123 * skeleton.el: Use cl-lib.
7124 (skeleton-further-elements): Use defvar-local.
7125 (skeleton-insert): Use cl-progv.
7127 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7129 * progmodes/prog-mode.el (prog-prettify-symbols)
7130 (prog-prettify-install): Update docstrings.
7132 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7134 * simple.el: Move all the prog-mode code to prog-mode.el.
7135 * progmodes/prog-mode.el: New file.
7136 * loadup.el: Add prog-mode.el.
7138 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7140 * simple.el (prog-prettify-symbols): Add version.
7141 (prog-prettify-install): Add convenience function to prettify symbols.
7143 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7144 (perl--augmented-font-lock-keywords-1)
7145 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7146 variables and use it.
7148 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7149 (cfengine3-mode): Remove unneeded variable and use it.
7151 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7152 (lisp--augmented-font-lock-keywords-1)
7153 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7154 Remove unneeded variables and use it.
7156 2013-06-05 João Távora <joaotavora@gmail.com>
7158 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7159 to point when opening the connection. (Bug#14380)
7161 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7163 * subr.el (load-history-regexp, load-history-filename-element)
7164 (eval-after-load, after-load-functions, do-after-load-evaluation)
7165 (eval-next-after-load, display-delayed-warnings)
7166 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7167 definition of save-match-data.
7168 (overriding-local-map): Remove accidental obsolescence declaration.
7170 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7172 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7174 Generalize symbol prettify support to prog-mode and implement it
7175 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7176 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7177 (prog--prettify-font-lock-compose-symbol)
7178 (prog-prettify-font-lock-symbols-keywords): New variables and
7179 functions to support symbol prettification.
7180 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7181 (lisp--augmented-font-lock-keywords-1)
7182 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7183 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7184 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7185 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7186 Implement prettify of -> => :: strings.
7187 * progmodes/perl-mode.el (perl-prettify-symbols)
7188 (perl--font-lock-compose-symbol)
7189 (perl--font-lock-symbols-keywords): Move to prog-mode.
7190 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7191 (perl-font-lock-keywords-1)
7192 (perl-font-lock-keywords-2): Remove explicit prettify support.
7193 (perl--augmented-font-lock-keywords)
7194 (perl--augmented-font-lock-keywords-1)
7195 (perl--augmented-font-lock-keywords-2, perl-mode):
7196 Implement prettify support.
7198 2013-06-05 Leo Liu <sdl.web@gmail.com>
7200 Re-implement smie matching block highlight using
7201 show-paren-data-function. (Bug#14395)
7202 * emacs-lisp/smie.el (smie-matching-block-highlight)
7203 (smie--highlight-matching-block-overlay)
7204 (smie--highlight-matching-block-lastpos)
7205 (smie-highlight-matching-block)
7206 (smie-highlight-matching-block-mode): Remove.
7207 (smie--matching-block-data-cache): New variable.
7208 (smie--matching-block-data): New function.
7209 (smie-setup): Use smie--matching-block-data for
7210 show-paren-data-function.
7212 * progmodes/octave.el (octave-mode-menu): Fix.
7213 (octave-find-definition): Skip garbage lines.
7215 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7217 Fix compilation error with simultaneous dynamic+lexical scoping.
7218 Add warning when a defvar appears after the first let-binding.
7219 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7220 (byte-compile-close-variables): Initialize it.
7221 (byte-compile--declare-var): New function.
7222 (byte-compile-file-form-defvar)
7223 (byte-compile-file-form-define-abbrev-table)
7224 (byte-compile-file-form-custom-declare-variable): Use it.
7225 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7226 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7227 (byte-compile-bind): Handle dynamic bindings that shadow
7229 (byte-compile-unbind): Make arg non-optional.
7230 (byte-compile-let): Simplify.
7231 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7232 (cconv--analyse-function, cconv-analyse-form): Populate it.
7233 Protect byte-compile-bound-variables to limit the scope of defvars.
7234 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7235 Remove unneeded rule for `declare'.
7237 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7238 so as to avoid depending on cl-adjoin at run-time.
7239 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7241 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7242 (macroexp--warn-and-return): Use it.
7244 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7246 * lisp/subr.el: Convert to lexical binding.
7247 (overriding-local-map): Make obsolete.
7248 (add-to-list): Doc fix. Add compiler macro.
7249 (read-key): Swap values of local maps.
7251 2013-06-05 Leo Liu <sdl.web@gmail.com>
7253 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7255 2013-06-04 Leo Liu <sdl.web@gmail.com>
7257 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7258 (compilation-auto-jump): Suppress the "Mark set" message to give
7259 way to exit message.
7261 2013-06-04 Alan Mackenzie <acm@muc.de>
7263 Remove faulty optimisation from indentation calculation.
7264 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7265 search limit based on 2000 characters back from indent-point.
7267 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7269 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7271 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7273 * emacs-lisp/lisp.el: Use lexical-binding.
7274 (lisp--local-variables-1, lisp--local-variables): New functions.
7275 (lisp--local-variables-completion-table): New var.
7276 (lisp-completion-at-point): Use it complete let-bound vars.
7278 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7279 eagerly (bug#14422).
7281 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7283 * autorevert.el (auto-revert-notify-enabled)
7284 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7285 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7286 (auto-revert-notify-handler): Handle also gfilenotify.
7288 * subr.el (file-notify-handle-event): New defun. Replacing ...
7289 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7292 2013-06-03 Juri Linkov <juri@jurta.org>
7294 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7295 `M-s h .'. (Bug#14427)
7297 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7298 command `hi-lock-face-symbol-at-point'.
7299 (hi-lock-face-symbol-at-point): New command.
7300 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7301 (hi-lock-menu): Add `highlight-symbol-at-point'.
7302 (hi-lock-mode): Doc fix.
7304 * isearch.el (isearch-forward-symbol-at-point): New command.
7305 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7306 (isearch-highlight-regexp): Add a regexp which matches
7307 words/symbols for word/symbol mode.
7309 * subr.el (find-tag-default-bounds): New function with the body
7310 mostly moved from `find-tag-default'.
7311 (find-tag-default): Move most code to `find-tag-default-bounds',
7312 call it and apply `buffer-substring-no-properties' afterwards.
7314 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7316 * eshell/em-term.el (eshell-term-initialize):
7317 Use `cl-intersection' rather than `intersection'.
7319 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7321 * vc/log-view.el: Doc fix.
7322 (log-view-mode-map): Copy keymap from `special-mode-map'.
7324 2013-06-02 Eric Ludlam <zappo@gnu.org>
7326 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7327 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7328 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7329 (eieio-unbound, eieio-default-superclass)
7330 (eieio--define-field-accessors, method-static, method-before)
7331 (method-primary, method-after, method-num-lists)
7332 (method-generic-before, method-generic-primary)
7333 (method-generic-after, method-num-slots)
7334 (eieio-specialized-key-to-generic-key)
7335 (eieio--check-type, class-v, class-p)
7336 (eieio-class-name, define-obsolete-function-alias)
7337 (eieio-class-parents-fast, eieio-class-children-fast)
7338 (same-class-fast-p, class-constructor, generic-p)
7339 (generic-primary-only-p, generic-primary-only-one-p)
7340 (class-option-assoc, class-option, eieio-object-p)
7341 (class-abstract-p, class-method-invocation-order)
7342 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7343 (eieio-class-un-autoload, eieio-defclass)
7344 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7345 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7346 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7347 (eieio-defgeneric-reset-generic-form)
7348 (eieio-defgeneric-form-primary-only)
7349 (eieio-defgeneric-reset-generic-form-primary-only)
7350 (eieio-defgeneric-form-primary-only-one)
7351 (eieio-defgeneric-reset-generic-form-primary-only-one)
7352 (eieio-unbind-method-implementations)
7353 (eieio--defmethod, eieio--typep)
7354 (eieio-perform-slot-validation, eieio-validate-slot-value)
7355 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7356 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7357 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7358 (eieio-slot-name-index, eieio-class-slot-name-index)
7359 (eieio-set-defaults, eieio-initarg-to-attribute)
7360 (eieio-attribute-to-initarg, eieio-c3-candidate)
7361 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7362 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7363 (eieio-class-precedence-list, eieio-generic-call-methodname)
7364 (eieio-generic-call-arglst, eieio-generic-call-key)
7365 (eieio-generic-call-next-method-list)
7366 (eieio-pre-method-execution-functions, eieio-generic-call)
7367 (eieio-generic-call-primary-only, eieiomt-method-list)
7368 (eieiomt-optimizing-obarray, eieiomt-install)
7369 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7370 (eieio-generic-form, eieio-defmethod, make-obsolete)
7371 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7372 (defclass): Remove `eval-and-compile' from macro.
7373 (call-next-method, shared-initialize): Instead of using
7374 `scoped-class' variable, use new eieio--scoped-class, and
7375 eieio--with-scoped-class.
7376 (initialize-instance): Rename local variable 'scoped-class' to
7377 'this-class' to remove ambiguitity from old global.
7379 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7381 (eieio--scoped-class-stack): New variable.
7382 (eieio--scoped-class): New fcn.
7383 (eieio--with-scoped-class): New scoping macro.
7384 (eieio-defclass): Use pushnew instead of add-to-list.
7385 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7386 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7387 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7388 `scoped-class' variable, use new eieio--scoped-class, and
7389 eieio--with-scoped-class.
7391 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7393 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7395 * eshell/esh-ext.el (eshell-external-command): Pass args to
7396 `eshell-find-interpreter'.
7397 (eshell-find-interpreter): Add new second parameter ARGS.
7399 * eshell/em-script.el (eshell-script-initialize): Add second arg
7400 to the function added as MATCH to `eshell-interpreter-alist'.
7402 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7403 the function added as MATCH to `eshell-interpreter-alist'.
7405 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7406 (eshell-visual-options): New defcustom.
7407 (eshell-escape-control-x): Adapt docstring.
7408 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7409 `eshell-visual-options' in addition to `eshell-visual-commands'.
7410 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7412 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7414 * progmodes/python.el (python-indent-block-enders): Add break,
7415 continue and raise keywords.
7417 2013-06-01 Glenn Morris <rgm@gnu.org>
7419 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7421 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7422 * progmodes/cc-cmds.el (delete-forward-p):
7423 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7424 * progmodes/cc-engine.el (buffer-syntactic-context):
7425 * progmodes/cc-fonts.el (face-property-instance):
7426 * progmodes/cc-mode.el (set-keymap-parents):
7427 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7428 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7429 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7430 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7431 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7433 * progmodes/cc-vars.el (other): Emacs has this widget since
7434 at least 21.1, so don't (re)define it.
7436 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7437 Replace the obsolete alias pcomplete-arg-quote-list.
7439 2013-06-01 Leo Liu <sdl.web@gmail.com>
7441 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7443 (inferior-octave-minimal-columns)
7444 (inferior-octave-last-column-width): New variables.
7445 (inferior-octave-track-window-width-change): New function.
7446 (inferior-octave-mode): Adjust column width so that Octave output,
7447 for example from 'ls', can fit into the window nicely.
7449 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7451 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7452 Highlight expansions inside regexp literals.
7454 2013-05-31 Glenn Morris <rgm@gnu.org>
7456 * obsolete/sym-comp.el (symbol-complete):
7457 Replace obsolete completion-annotate-function.
7459 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7461 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7463 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7464 New function, checks if point is inside a literal that allows
7465 expression expansion.
7466 (ruby-syntax-propertize-expansion): Use it.
7467 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7470 2013-05-30 Juri Linkov <juri@jurta.org>
7472 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7474 (isearch-invisible): New variable.
7475 (isearch-forward): Doc fix.
7476 (isearch-mode): Set `isearch-invisible'
7477 to the value of `search-invisible'.
7478 (isearch-toggle-case-fold): Doc fix.
7479 (isearch-toggle-invisible): New command.
7480 (isearch-query-replace): Let-bind `search-invisible'
7481 to the value of `isearch-invisible'.
7482 (isearch-search): Use `isearch-invisible' instead of
7483 `search-invisible'. Let-bind `search-invisible'
7484 to the value of `isearch-invisible'. (Bug#11378)
7486 2013-05-30 Juri Linkov <juri@jurta.org>
7488 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7489 call when `query-flag' is nil and `search-invisible' is non-nil.
7492 2013-05-30 Glenn Morris <rgm@gnu.org>
7494 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7496 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7497 (cc-require): Suppress spurious "noruntime" warnings.
7498 (cc-require-when-compile): Use fboundp, for sake of compiler.
7500 * progmodes/cc-mode.el: Move load of cc-vars before that of
7501 cc-langs (which in turn loads cc-vars), to quieten compiler.
7503 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7505 * paren.el: Simplify the code.
7506 (show-paren-mode): Always start the timer.
7507 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7508 (show-paren--overlay, show-paren--overlay-1): Rename from
7509 show-paren-overlay and show-paren-overlay-1, and initialize to an
7510 overlay rather than to nil.
7511 (show-paren-function): Misc cleanup and simplifications.
7513 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7515 * paren.el (show-paren-data-function): New hook.
7516 (show-paren--default): New function, extracted from show-paren-function.
7517 (show-paren-function): Use show-paren-data-function.
7519 2013-05-30 Glenn Morris <rgm@gnu.org>
7521 * ielm.el (ielm-map, ielm-complete-symbol):
7522 Use completion-at-point rather than obsolete functions.
7523 (inferior-emacs-lisp-mode): Doc fix.
7524 Set completion-at-point-functions, rather than
7525 comint-dynamic-complete-functions.
7527 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7528 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7529 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7531 * image.el (image-animated-p): Tweak definition.
7533 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7534 (rlogin-process-connection-type): Tweak default. Add set-after.
7535 (rlogin-host): Doc fix.
7536 (rlogin): Tweak prompt.
7537 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7539 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7540 * progmodes/tcl.el (inferior-tcl-mode-map):
7541 Use completion-at-point rather than obsolete alias.
7543 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7545 * minibuffer.el (read-file-name-completion-ignore-case):
7546 Move before completion--in-region, for eager macro expansion.
7548 2013-05-29 Juri Linkov <juri@jurta.org>
7550 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7551 for total count of matching lines. Add `global-matches' for total
7552 count of matches. Rename `matches' to `lines' for count of
7553 matching lines. Add `matches' for count of matches.
7554 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7555 to `prev-line' for line number of prev match endpt.
7556 Increment `matches' for every match. Print the number of
7557 matching lines in the header.
7558 (occur-context-lines): Rename `lines' to `curr-line'.
7559 Rename `prev-lines' to `prev-line'. (Bug#14017)
7561 2013-05-29 Juri Linkov <juri@jurta.org>
7563 * replace.el (perform-replace): Add `skip-read-only-count',
7564 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7565 Increment them for corresponding conditions and report the number
7566 of skipped occurrences in the final message. (Bug#11746)
7567 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7568 (replace-string, replace-regexp): Doc fix.
7570 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7572 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7574 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7575 prog-mode-map (bug#14504).
7577 2013-05-29 Leo Liu <sdl.web@gmail.com>
7579 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7580 (octave-help): Small simplification.
7582 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7583 off the highlight first.
7585 2013-05-29 Glenn Morris <rgm@gnu.org>
7587 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7588 Handle idlwave-last-system-routine-info-cons-cell being nil.
7590 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7591 (idlwave-write-paths): Simplify via with-temp-buffer.
7593 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7594 * emulation/cua-rect.el: Also load cua-base at run time.
7596 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7597 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7598 (cperl-imenu-on-info): Require imenu.
7600 2013-05-28 Alan Mackenzie <acm@muc.de>
7602 Handle "capitalised keywords" correctly.
7603 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7605 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7607 * eshell/em-unix.el: Add -r option to cp.
7609 2013-05-28 Glenn Morris <rgm@gnu.org>
7611 * vc/vc-arch.el (vc-exec-after): Declare.
7612 (vc-switches): Autoload.
7613 * vc/vc-bzr.el: No need to require vc when compiling.
7614 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7615 (vc-resynch-buffer, vc-dir-refresh): Declare.
7616 (vc-setup-buffer, vc-switches): Autoload.
7617 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7618 (vc-resynch-buffer): Declare.
7619 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7620 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7621 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7622 (grep-read-regexp, grep-read-files, grep-expand-template)
7623 (vc-dir-refresh): Declare.
7624 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7625 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7626 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7627 * vc/vc-mtn.el (vc-exec-after): Declare.
7628 (vc-switches): Autoload.
7629 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7630 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7631 (vc-file-tree-walk): Declare.
7632 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7633 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7634 (vc-tag-precondition, vc-rename-master): Autoload.
7635 * vc/vc-svn.el (vc-exec-after): Declare.
7636 (vc-switches, vc-setup-buffer): Autoload.
7637 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7639 (vc-resynch-buffer): Declare.
7641 * obsolete/fast-lock.el (byte-compile-warnings):
7642 Don't warn about obsolete features in this obsolete file.
7644 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7645 Move definition before use.
7647 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7648 (dun-unix-verbs): Remove dun-zippy.
7649 (dun-zippy): Remove function.
7651 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7653 2013-05-27 Juri Linkov <juri@jurta.org>
7655 * replace.el (replace-search): New function with code moved out
7656 from `perform-replace'.
7657 (replace-highlight, replace-dehighlight): Move function definitions
7658 up closer to `replace-search'. (Bug#11746)
7660 2013-05-27 Juri Linkov <juri@jurta.org>
7662 * replace.el (perform-replace): Ignore invisible matches.
7663 In addition to checking `query-replace-skip-read-only', also
7664 filter out matches by calling `run-hook-with-args-until-failure'
7665 on `isearch-filter-predicates', and also check `search-invisible'
7666 for t or call `isearch-range-invisible'.
7667 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7669 2013-05-27 Juri Linkov <juri@jurta.org>
7671 * isearch.el (isearch-filter-predicates): Rename from
7672 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7673 (isearch-message-prefix): Display text from the property
7674 `isearch-message-prefix' of the currently active filters.
7675 (isearch-search): Don't compare `isearch-filter-predicate' with
7676 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7677 on `isearch-filter-predicates'. Also check `search-invisible' for t
7678 or call `isearch-range-invisible'.
7679 (isearch-filter-visible): Make obsolete.
7680 (isearch-lazy-highlight-search):
7681 Call `run-hook-with-args-until-failure' on
7682 `isearch-filter-predicates' and use `isearch-range-invisible'.
7684 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7685 `isearch-filter-predicates' instead of `funcall'ing
7686 `isearch-filter-predicate'.
7687 (Info-mode): Set `Info-isearch-filter' to
7688 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7690 * dired-aux.el (dired-isearch-filter-predicate-orig):
7692 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7693 (dired-isearch-filenames-end): Add and remove
7694 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7695 instead of changing the value of `isearch-filter-predicate'.
7696 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7697 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7698 Put property `isearch-message-prefix' to "filename " on
7699 `dired-isearch-filter-filenames'.
7701 * wdired.el (wdired-change-to-wdired-mode):
7702 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7703 locally instead of changing `isearch-filter-predicate'.
7704 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7706 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7708 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7709 return the commit hash (Bug#14459). Also set the
7710 `vc-git-detached' property.
7711 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7712 (vc-git-mode-line-string): Use the same help-echo format whether
7713 in detached mode or not, because we know the actual revision now.
7714 When in detached mode, shorten the revision to 7 chars.
7716 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7718 * emacs-lisp/easy-mmode.el (define-minor-mode):
7719 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7720 mode hook and provide a docstring.
7722 2013-05-27 Alan Mackenzie <acm@muc.de>
7724 Remove spurious syntax-table text properties inserted by C-y.
7725 * progmodes/cc-mode.el (c-after-change): Also clear hard
7726 syntax-table property with value nil.
7728 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7730 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7731 when reading the events; the buffer layout shall not be changed.
7733 2013-05-27 Leo Liu <sdl.web@gmail.com>
7735 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7737 (inferior-octave-directory-tracker): Automatically re-sync
7739 (octave-help): Improve handling of 'See also'.
7741 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7743 * doc-view.el: Minor naming convention tweaks.
7744 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7746 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7747 even if there's no `display' property yet (bug#14435).
7749 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7751 * subr.el (unmsys--file-name): Rename from reveal-filename.
7753 * Makefile.in (custom-deps, finder-data, autoloads)
7754 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7755 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7756 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7758 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7760 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7761 error-completion on the first 2 args of condition-case (bug#14446).
7764 2013-05-25 Leo Liu <sdl.web@gmail.com>
7766 * comint.el (comint-previous-matching-input): Do not flood the
7767 *Messages* buffer with trivial messages.
7769 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7771 * progmodes/flymake.el (flymake-nop): Don't return a string.
7772 (flymake-set-at): Fix typo.
7774 * simple.el (read--expression): New function, extracted from
7775 eval-expression. Set completion-at-point-functions (bug#14465).
7776 (eval-expression, eval-minibuffer): Use it.
7778 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7780 * progmodes/flymake.el (flymake-save-buffer-in-file)
7781 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7782 (flymake-selected-frame, flymake-log, flymake-ins-after)
7783 (flymake-set-at, flymake-get-buildfile-from-cache)
7784 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7785 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7786 Refine the doc string.
7787 (flymake-get-file-name-mode-and-masks): Reformat.
7788 (flymake-get-real-file-name-function): Fix a minor bug.
7790 2013-05-24 Juri Linkov <juri@jurta.org>
7792 * progmodes/grep.el (grep-mode-font-lock-keywords):
7793 Support =linenumber= format used by git-grep for lines with
7794 function names. (Bug#13549)
7796 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7798 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7799 0 after a semi-colon; it works better for smie-auto-fill.
7800 (octave--indent-new-comment-line): New function.
7801 (octave-indent-new-comment-line): Use it (indirectly).
7802 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7803 modify comment-line-break-function.
7805 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7806 (smie-setup): Use add-function to set it.
7808 2013-05-24 Sam Steingold <sds@gnu.org>
7810 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7811 argument (before the `interactive' argument).
7813 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7815 * image-mode.el (image-mode-winprops): Add winprops to
7816 image-mode-winprops-alist before running
7817 image-mode-new-window-functions.
7818 * doc-view.el (doc-view-new-window-function): Don't delay
7819 doc-view-goto-page via timers (bug#14435).
7821 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7823 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7824 (doc-view-desktop-save-buffer): New function.
7825 (doc-view-restore-desktop-buffer): New function.
7826 (desktop-buffer-mode-handlers):
7827 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7829 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7830 `desktop-save-buffer' function.
7832 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7834 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7835 (tramp-gvfs-file-name-handler): Raise a user error when
7836 `tramp-gvfs-enabled' is nil.
7837 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7838 Do not raise a user error when loading package. (Bug#14447)
7840 * net/xesam.el: Move to obsolete/.
7842 2013-05-24 Glenn Morris <rgm@gnu.org>
7844 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7846 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7848 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7849 (Info-find-node, Man-getpage-in-background): Declare.
7851 * mail/unrmail.el (unrmail):
7852 Replace obsolete detect-coding-with-priority.
7854 * net/socks.el (socks-split-string): Use this rather than split-string.
7855 (socks-nslookup-host): Update for above change.
7856 (dynamic-choice, s5-dynamic-choice-match)
7857 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7858 Comment out unused code.
7860 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7861 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7862 (gud-tooltip-echo-area): Make obsolete.
7863 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7865 * progmodes/js.el (js--optimize-arglist): Declare.
7867 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7869 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7870 (ediff-window-C): Declare.
7872 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7873 Tweak requires to silence compiler.
7875 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7876 (he-search-string, he-tried-table, he-expand-list)
7877 (he-init-string, he-string-member, he-substitute-string)
7878 (he-reset-string): Declare.
7880 * obsolete/options.el (list-options): Use custom-variable-p,
7881 rather than obsolete alias.
7883 2013-05-23 Sam Steingold <sds@gnu.org>
7885 * simple.el (shell-command-on-region): Pass the `replace' argument
7886 down to `call-process-region' to comply with the doc as reported on
7887 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7889 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7891 * emacs-lisp/smie.el (smie-indent-forward-token)
7892 (smie-indent-backward-token): Handle string tokens (bug#14381).
7894 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7896 * ielm.el (ielm-menu): New menu.
7897 (inferior-emacs-lisp-mode): Set comment-start.
7899 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7901 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7902 Fix deactivate action.
7904 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7905 Add cleveref macros.
7907 * lisp/textmodes/reftex-parse.el
7908 (reftex-locate-bibliography-files): Accept options for
7909 bibliography commands.
7910 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7911 Add addbibresource. Basic Biblatex support.
7913 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7915 * net/tramp-gvfs.el (top):
7916 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7917 when loading package. (Bug#14447)
7919 2013-05-23 Glenn Morris <rgm@gnu.org>
7921 * progmodes/js.el: No need to load comint when compiling.
7922 (ring-insert, comint-send-string, comint-send-input)
7923 (comint-last-input-end, ido-chop): Declare.
7925 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7926 * vc/ediff-mult.el: Adjust requires.
7927 (ediff-directories-internal, ediff-directory-revisions-internal)
7928 (ediff-patch-file-internal): Declare.
7929 * vc/ediff-ptch.el: Adjust requires.
7930 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7931 (ediff-find-file): Autoload.
7932 * vc/ediff-util.el: No need to load ediff when compiling.
7933 (ediff-regions-internal): Declare.
7934 * vc/ediff-wind.el: Adjust requires.
7935 (ediff-compute-toolbar-width): Define when compiling.
7936 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7937 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7938 (dired-get-filename, dired-get-marked-files)
7939 (ediff-last-dir-patch, ediff-patch-default-directory)
7940 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7941 (ediff-patch-buffer-internal): Declare.
7943 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7944 (ispell-process, ispell-buffer-local-words, lm-summary)
7945 (lm-section-start, lm-section-end): Declare.
7946 (checkdoc-ispell-init): Simplify.
7948 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7949 (he-string-member, he-reset-string, he-substitute-string): Declare.
7951 * eshell/em-ls.el: Adjust requires.
7952 (eshell-glob-regexp): Declare.
7953 * eshell/em-tramp.el: Adjust requires.
7954 (eshell-parse-command): Autoload.
7955 * eshell/em-xtra.el: Adjust requires.
7956 (eshell-parse-command): Autoload.
7957 * eshell/esh-ext.el: Adjust requires.
7958 (eshell-parse-command, eshell-close-handles): Autoload.
7959 * eshell/esh-io.el: Adjust requires.
7960 (eshell-output-filter): Autoload.
7961 * eshell/esh-util.el: No need to load tramp when compiling.
7962 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7964 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7965 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7966 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7967 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7968 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7969 * eshell/esh-opt.el, eshell/esh-proc.el:
7970 * eshell/esh-var.el: Adjust requires.
7971 * eshell/eshell.el: Do not require esh-util twice.
7972 (eshell-add-input-to-history): Declare.
7973 (eshell-command): Check history module is active before using it.
7975 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7977 2013-05-22 Leo Liu <sdl.web@gmail.com>
7979 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7981 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7983 * autorevert.el (auto-revert-notify-add-watch)
7984 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7985 it indicates changes in file modification time.
7987 2013-05-22 Glenn Morris <rgm@gnu.org>
7989 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7990 Always delete the autoloaded function from the noruntime and
7991 unresolved functions lists.
7993 * allout.el: No need to load epa, epg, overlay when compiling.
7994 (epg-context-set-passphrase-callback, epg-list-keys)
7995 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7996 (epg-key-user-id-list): Declare.
7998 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7999 (viper-set-parsing-style-toggling-macro)
8000 (viper-set-emacs-state-searchstyle-macros):
8001 Use called-interactively-p on Emacs.
8002 (viper-looking-back): Make it an obsolete alias. Update callers.
8003 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8004 Use looking-back rather than viper-looking-back.
8005 (viper-tmp-insert-at-eob, viper-enlarge-region)
8006 (viper-read-string-with-history, viper-register-to-point)
8007 (viper-append-to-register, viper-change-state-to-vi)
8008 (viper-backward-char-carefully, viper-forward-char-carefully)
8009 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8010 (viper-change-state-to-emacs): Declare.
8011 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8012 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8013 * emulation/viper-mous.el: Do not load viper-cmd.
8014 (viper-backward-char-carefully, viper-forward-char-carefully)
8015 (viper-forward-word, viper-adjust-window): Declare.
8017 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8019 * progmodes/idlw-help.el (idlwave-help-fontify):
8020 Use called-interactively-p.
8022 * term/w32console.el (w32-get-console-codepage)
8023 (w32-get-console-output-codepage): Declare.
8025 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8026 Remove unnecessary declarations.
8027 (dframe-message): Doc fix.
8029 * info.el (dframe-select-attached-frame, dframe-current-frame):
8032 * speedbar.el (speedbar-message): Make it an obsolete alias.
8034 (speedbar-with-attached-buffer)
8035 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8036 (speedbar-with-writable): Use backquote.
8037 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8038 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8039 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8040 rather than speedbar- aliases.
8041 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8042 (speedbar-make-specialized-keymap, speedbar-insert-button)
8043 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8044 (speedbar-do-function-pointer): Declare.
8045 (rmail-speedbar-button, rmail-speedbar-find-file)
8046 (rmail-speedbar-move-message):
8047 Use dframe-with-attached-buffer rather than speedbar- alias.
8048 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8049 (dframe-message, speedbar-make-specialized-keymap)
8050 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8051 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8052 (speedbar-insert-button, dframe-select-attached-frame)
8053 (dframe-maybee-jump-to-attached-frame)
8054 (speedbar-change-initial-expansion-list)
8055 (speedbar-previously-used-expansion-list-name): Declare.
8056 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8057 Use dframe-message, dframe-with-attached-buffer rather than
8059 (gud-sentinel): Silence compiler.
8060 * progmodes/vhdl-mode.el (speedbar-refresh)
8061 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8062 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8063 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8064 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8065 (speedbar-file-lists, speedbar-make-tag-line)
8066 (speedbar-line-directory, speedbar-goto-this-file)
8067 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8068 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8069 (speedbar-make-button, speedbar-reset-scanners)
8070 (speedbar-files-item-info, speedbar-line-text)
8071 (speedbar-find-file-in-frame, speedbar-set-timer)
8072 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8073 (speedbar-with-writable): Do not (re)define it.
8074 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8075 rather than speedbar- alias.
8077 2013-05-21 Leo Liu <sdl.web@gmail.com>
8079 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8081 (octave-mode): Tweak fill-nobreak-predicate.
8082 (inferior-octave-startup): Check process to avoid infinite loop.
8083 (inferior-octave): Pop to buffer first to show abornmal process
8086 2013-05-21 Glenn Morris <rgm@gnu.org>
8088 * printing.el (pr-menu-bar): Define when compiling.
8090 2013-05-21 Leo Liu <sdl.web@gmail.com>
8092 * progmodes/octave.el (octave-auto-fill): Remove.
8093 (octave-indent-new-comment-line): Improve.
8094 (octave-mode): Use auto fill mode through
8095 comment-line-break-function and fill-nobreak-predicate.
8096 (octave-goto-function-definition): Support DEFUN_DLD.
8097 (octave-beginning-of-defun): Small tweak.
8098 (octave-help): Show parent directory.
8100 2013-05-21 Glenn Morris <rgm@gnu.org>
8102 * files.el (dired-unmark):
8103 * progmodes/gud.el (gdb-input): Update declarations.
8105 * calculator.el (electric, ehelp): No need to load when compiling.
8106 (Electric-command-loop, electric-describe-mode): Declare.
8108 * doc-view.el (doc-view-current-converter-processes): Move before use.
8110 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8111 Move MODE-set-explicitly definition before use.
8113 * international/mule-diag.el (mule-diag):
8114 Don't use obsolete window-system-version.
8116 * mail/feedmail.el (smtpmail): No need to load when compiling.
8117 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8119 * mail/mail-utils.el (rfc822): No need to load when compiling.
8120 (rfc822-addresses): Autoload it.
8121 (mail-strip-quoted-names): Trivial simplification.
8123 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8124 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8126 * net/snmp-mode.el (tempo): Don't duplicate requires.
8128 * progmodes/prolog.el (info): No need to load when compiling.
8129 (comint): Require before shell requires it.
8130 (Info-goto-node): Autoload it.
8131 (Info-follow-nearest-node): Declare.
8132 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8134 * textmodes/artist.el (picture-mode-exit): Declare.
8136 * textmodes/reftex-parse.el (reftex-parse-from-file):
8137 Trivial rewrite so the compiler can parse it better.
8139 2013-05-20 Leo Liu <sdl.web@gmail.com>
8141 * progmodes/octave.el (octave-help-mode-map)
8142 (octave-help-mode-finish-hook): New variables.
8143 (octave-help-mode, octave-help-mode-finish): New functions.
8144 (octave-help): Use octave-help-mode.
8146 2013-05-20 Glenn Morris <rgm@gnu.org>
8148 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8150 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8152 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8153 start at point, so that expansion starting right after opening
8154 slash in a regexp is recognized.
8155 (ruby-syntax-before-regexp-re): New defvar, extracted from
8156 ruby-syntax-propertize-function. Since the value of this regexp
8157 is looked up at runtime now, we should be able to turn
8158 `ruby-syntax-methods-before-regexp' into a defcustom later.
8159 (ruby-syntax-propertize-function): Split regexp matching into two
8160 parts, for opening and closing slashes. That allows us to skip
8161 over string interpolations and support multiline regexps.
8162 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8163 for them, which calls `ruby-syntax-propertize-expansion'.
8164 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8165 call to `ruby-syntax-propertize-function'.
8166 (ruby-syntax-propertize-expansion): Extracted from
8167 `ruby-syntax-propertize-expansions'. Handles one expansion.
8168 (ruby-syntax-propertize-percent-literal): Leave point right after
8169 the percent symbol, so that the expression expansion rule can
8170 propertize the contents.
8171 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8173 (ruby-syntax-propertize-expansions): Remove.
8175 2013-05-18 Juri Linkov <juri@jurta.org>
8177 * man.el (Man-default-man-entry): Remove `-' from the end
8178 of the default value. (Bug#14400)
8180 2013-05-18 Glenn Morris <rgm@gnu.org>
8182 * comint.el (comint-password-prompt-regexp):
8183 Allow "password for XXX" where XXX contains colons (eg https://...).
8185 2013-05-18 Leo Liu <sdl.web@gmail.com>
8187 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8188 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8189 (octave-source-directories): Don't check process.
8190 (octave-source-directories, octave-find-definition): Doc fix.
8192 2013-05-18 Glenn Morris <rgm@gnu.org>
8194 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8195 Remove backspace/delete bindings. (Bug#14392)
8197 * cus-dep.el (custom-make-dependencies): Sort the output.
8198 (custom-versions-load-alist): Convert comment to doc.
8200 2013-05-17 Leo Liu <sdl.web@gmail.com>
8202 * newcomment.el (comment-search-backward): Stricter in finding
8203 comment start. (Bug#14303)
8205 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8206 (octave-comment-start-skip): Properly anchored.
8208 2013-05-17 Leo Liu <sdl.web@gmail.com>
8210 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8211 Clean up when turned off. (Bug#14395)
8212 (smie--highlight-matching-block-overlay): No longer buffer-local.
8213 (smie-highlight-matching-block): Adjust.
8215 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8217 Doc string fix for "nanoseconds" (Bug#14406).
8218 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8219 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8221 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8223 * calc/calc-units.el (math-extract-units): Preserve powers
8226 2013-05-17 Leo Liu <sdl.web@gmail.com>
8228 * subr.el (delete-consecutive-dups): New function.
8229 * ido.el (ido-set-matches-1): Use it.
8230 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8231 * ido.el (ido-remove-consecutive-dups): Remove.
8233 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8235 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8236 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8237 regexp-opt's `words'.
8239 2013-05-16 Leo Liu <sdl.web@gmail.com>
8241 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8242 (smie--highlight-matching-block-overlay)
8243 (smie--highlight-matching-block-lastpos)
8244 (smie--highlight-matching-block-timer): New variables.
8245 (smie-highlight-matching-block): New function.
8246 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8247 (smie-setup): Conditionally enable smie-blink-matching-open.
8249 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8251 Sync with upstream verilog-mode r840.
8252 * progmodes/verilog-mode.el (verilog-mode-version)
8253 (verilog-mode-release-date): Update.
8254 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8255 (verilog-sig-tieoff): Fix string error on
8256 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8257 (verilog-read-decls): Fix parameters confusing
8258 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8260 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8262 * subr.el (reveal-filename): New function.
8264 * loadup.el: Compute Emacs executable versions on MS-Windows,
8265 where executables have the .exe extension. Add a hard link
8266 emacs-XX.YY.ZZ.exe on MS-Windows.
8268 * Makefile.in (XARGS_LIMIT): New variable.
8269 (custom-deps, finder-data, autoloads)
8270 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8271 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8272 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8273 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8275 2013-05-16 Leo Liu <sdl.web@gmail.com>
8277 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8278 (octave-mode-menu, octave-mode-map): Remove its uses.
8280 2013-05-16 Reto Zimmermann <reto@gnu.org>
8282 Sync with upstream vhdl mode v3.34.2.
8283 * progmodes/vhdl-mode.el: Use `push' throughout.
8284 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8285 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8286 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8287 (vhdl-actual-generic-name): New option to derive actual generic name.
8288 (vhdl-port-paste-signals): Replace formal by actual generics.
8289 (vhdl-beautify): New name for old group vhdl-align. Update users.
8290 (vhdl-beautify-options): New option.
8291 (vhdl-last-input-event): New compat alias. Use throughout.
8292 (vhdl-goto-line): Replace user level function `goto-line'.
8293 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8294 vhdl-fix-statement-buffer.
8295 (vhdl-create-mode-menu): Add some entries.
8296 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8297 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8298 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8299 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8300 to force statements on one line.
8301 (vhdl-remove-trailing-spaces-region):
8302 New, split from vhdl-remove-trailing-spaces.
8303 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8304 Respect vhdl-beautify-options.
8305 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8306 (vhdl-update-sensitivity-list): Not add with index if exists without.
8307 Not include array index with signal. Ignore keywords in comments.
8308 (vhdl-get-visible-signals): Regexp tweaks.
8309 (vhdl-template-component-inst): Handle empty library.
8310 (vhdl-template-type): Add template for 'enum' type.
8311 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8312 Use vhdl-replace-string.
8313 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8314 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8315 (vhdl-speedbar-initialize): Update for above name change.
8316 (vhdl-compose-wire-components): Fix in handling of constants.
8317 (vhdl-error-regexp-emacs-alist): New variable.
8318 (vhdl-error-regexp-add-emacs): New function;
8319 adds support for new compile.el (Emacs 22+)
8320 (vhdl-generate-makefile-1): Change target order for single lib. units.
8321 Allow use of absolute file names.
8323 2013-05-16 Leo Liu <sdl.web@gmail.com>
8325 * simple.el (prog-indent-sexp): Indent enclosing defun.
8327 2013-05-15 Glenn Morris <rgm@gnu.org>
8329 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8330 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8331 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8332 (whitespace-highlight): Move to whitespace group.
8334 * comint.el (comint-source):
8335 * pcmpl-linux.el (pcmpl-linux):
8336 * shell.el (shell-faces):
8337 * eshell/esh-opt.el (eshell-opt):
8338 * international/ccl.el (ccl): Remove empty custom groups.
8340 * completion.el (dynamic-completion-mode):
8341 * jit-lock.el (jit-lock-debug-mode):
8342 * minibuffer.el (completion-in-region-mode):
8343 * type-break.el (type-break-mode-line-message-mode)
8344 (type-break-query-mode):
8345 * emulation/tpu-edt.el (tpu-edt-mode):
8346 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8347 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8348 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8350 * term/xterm.el (xterm): Change parent group to terminals.
8352 * master.el (master): Remove empty custom group.
8353 (master-mode): Remove unused :group argument.
8354 * textmodes/refill.el (refill): Remove empty custom group.
8355 (refill-mode): Remove unused :group argument.
8357 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8359 * cus-dep.el: Provide a feature.
8360 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8361 Don't mistakenly ignore files whose basenames match a basename
8362 from preloaded-file-list (eg cedet/ede/simple.el).
8363 Add a fallback method for getting :group.
8365 2013-05-15 Juri Linkov <juri@jurta.org>
8367 * isearch.el (isearch-char-by-name): Rename from
8368 `isearch-insert-char-by-name'. Doc fix.
8369 (isearch-forward): Mention `isearch-char-by-name' in
8370 the docstring. (Bug#13348)
8372 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8373 `exit-minibuffer' instead of
8374 `isearch-nonincremental-exit-minibuffer'.
8375 (isearch-edit-string): Remove mention of
8376 `isearch-nonincremental-exit-minibuffer' from docstring.
8377 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8378 (isearch-forward-exit-minibuffer)
8379 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8381 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8383 * loadup.el: Just use unversioned DOC.
8385 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8386 literals as extending to EOB.
8387 (nxml-last-fontify-end): Remove unused variable.
8388 (nxml-after-change1): Use with-silent-modifications.
8389 (nxml-extend-after-change-region): Simplify.
8390 (nxml-extend-after-change-region1): Remove function.
8391 (nxml-after-change1): Don't adjust for dependent regions.
8392 (nxml-fontify-matcher): Simplify.
8393 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8394 (xmltok-add-dependent): Remove function.
8395 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8396 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8397 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8398 unclosed <[[, <?, comment, and other literals as extending to EOB.
8399 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8400 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8402 (rng-do-some-validation-1): Don't mark dependent regions.
8403 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8404 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8405 (nxml-clear-dependent-regions): Remove functions.
8406 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8407 (nxml-ensure-scan-up-to-date):
8408 Don't clear&mark dependent regions.
8410 2013-05-15 Leo Liu <sdl.web@gmail.com>
8412 * progmodes/octave.el (octave-goto-function-definition):
8413 Improve and fix callers.
8415 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8417 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8418 the setter (bug#14387).
8420 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8421 surrounding group (bug#14402).
8423 2013-05-14 Juri Linkov <juri@jurta.org>
8425 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8428 2013-05-14 Glenn Morris <rgm@gnu.org>
8430 * progmodes/f90.el (f90-imenu-generic-expression):
8431 Fix typo in 2013-05-08 change. (Bug#14402)
8433 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8435 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8436 Remove signals for which replies are never received.
8438 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8440 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8441 (gdb-handler-alist, gdb-handler-number): Remove variables.
8442 (gdb-handler-list): New variable.
8443 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8444 (gdb-pending-handler-p, gdb-handle-reply)
8445 (gdb-remove-all-pending-triggers): New functions.
8446 (gdb-discard-unordered-replies): New defcustom.
8447 (gdb-handler): New defstruct.
8448 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8449 instead of gdb-pending-triggers. Update docstring.
8450 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8451 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8452 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8453 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8454 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8455 (gdb-frame-handler): Pending triggers are now automatically managed.
8456 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8458 (gdb-input): Automatically handles pending triggers. Update docstring.
8459 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8460 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8462 (gdb-done-or-error): Now use gdb-handle-reply.
8464 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8466 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8469 2013-05-14 Glenn Morris <rgm@gnu.org>
8471 * subr.el (user-emacs-directory-warning): New option.
8472 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8474 2013-05-14 Leo Liu <sdl.web@gmail.com>
8476 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8478 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8479 (octave-font-lock-texinfo-comment): Fix invalid search bound
8480 error: wrong side of point.
8482 2013-05-14 Glenn Morris <rgm@gnu.org>
8484 * progmodes/flymake.el (flymake-xml-program): New option.
8485 (flymake-xml-init): Use it.
8487 * term/xterm.el: Provide a feature.
8489 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8491 2013-05-13 Glenn Morris <rgm@gnu.org>
8493 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8494 Add compat aliases as a hack workaround. (Bug#14384)
8496 2013-05-13 Leo Liu <sdl.web@gmail.com>
8498 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8500 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8502 (octave-comment-start-skip): Include %!.
8503 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8505 2013-05-12 Leo Liu <sdl.web@gmail.com>
8507 * progmodes/octave.el (inferior-octave-startup): Store the value
8508 of __octave_srcdir__ for octave-source-directories.
8509 (inferior-octave-check-process): New function refactored out of
8510 inferior-octave-send-list-and-digest.
8511 (octave-source-directories)
8512 (octave-find-definition-filename-function): New variables.
8513 (octave-source-directories)
8514 (octave-find-definition-default-filename): New functions.
8515 (octave-find-definition): Improve to find functions implemented in C++.
8517 2013-05-12 Glenn Morris <rgm@gnu.org>
8519 * calendar/diary-lib.el (diary-outlook-format-1):
8520 Don't include dayname in the output. (Bug#14349)
8522 2013-05-11 Glenn Morris <rgm@gnu.org>
8524 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8526 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8527 Treat cc-provide like provide.
8529 2013-05-11 Kevin Ryde <user42@zip.com.au>
8531 * cus-dep.el (custom-make-dependencies):
8532 Use generated-autoload-load-name for the sake of files such
8533 such cedet/semantic/bovine/c.el, where the base file name
8534 is not in load-path. (Bug#5277)
8536 2013-05-11 Glenn Morris <rgm@gnu.org>
8538 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8541 2013-05-11 Leo Liu <sdl.web@gmail.com>
8543 * progmodes/octave.el (octave-indent-comment): Improve.
8544 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8545 (octave-eldoc-function-signatures, octave-eldoc-function):
8547 (octave-mode, inferior-octave-mode): Add eldoc support.
8549 2013-05-11 Richard Stallman <rms@gnu.org>
8551 * epa.el (epa-decrypt-file): Take output file name as argument
8552 and read it using `interactive'.
8554 2013-05-11 Leo Liu <sdl.web@gmail.com>
8556 * progmodes/octave.el (octave-beginning-of-line)
8557 (octave-end-of-line): Check before using up-list because it jumps
8558 out of more syntactic contructs since moving to smie.
8559 (octave-indent-comment): New function.
8560 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8561 (octave-begin-keywords, octave-end-keywords)
8562 (octave-reserved-words, octave-smie-bnf-table)
8563 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8565 2013-05-11 Glenn Morris <rgm@gnu.org>
8567 * faces.el (internal-face-x-get-resource):
8568 * frame.el (ns-display-monitor-attributes-list):
8569 * calc/calc-aent.el (math-to-radians-2):
8570 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8573 * calc/calc-menu.el: Make it loadable in isolation.
8575 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8576 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8577 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8578 (eudc-bbdb-query-internal): Require 'bbdb.
8580 * lpr.el (lpr-headers-switches):
8581 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8583 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8585 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8587 * term.el (term-set-escape-char): Make it idempotent.
8589 2013-05-10 Leo Liu <sdl.web@gmail.com>
8591 * progmodes/octave.el (inferior-octave-completion-table):
8592 No longer a function and all uses changed. Use cache to speed up
8593 completion due to bug#11906.
8594 (octave-beginning-of-defun): Re-write to be more general.
8596 2013-05-10 Glenn Morris <rgm@gnu.org>
8598 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8600 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8602 * comint.el (comint-redirect-send-command-to-process): Use :around
8603 rather than :override for comint-redirect-filter.
8604 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8605 Call it instead of comint-redirect-original-filter-function (which
8606 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8608 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8610 * frame.el (display-monitor-attributes-list): Add NS case.
8611 (ns-display-monitor-attributes-list): Declare.
8613 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8615 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8617 2013-05-09 Glenn Morris <rgm@gnu.org>
8619 * international/fontset.el (vertical-centering-font-regexp):
8622 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8624 * bookmark.el (bookmark-search-delay):
8625 * cus-start.el (vertical-centering-font-regexp):
8626 * ps-mule.el (ps-mule-font-info-database-default):
8627 * ps-print.el (ps-default-fg, ps-default-bg):
8628 * type-break.el (type-break-good-break-interval):
8629 * whitespace.el (whitespace-indentation-regexp)
8630 (whitespace-space-after-tab-regexp):
8631 * emacs-lisp/testcover.el (testcover-1value-functions)
8632 (testcover-noreturn-functions, testcover-progn-functions)
8633 (testcover-prog1-functions):
8634 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8635 * eshell/em-glob.el (eshell-glob-translate-alist):
8636 * play/tetris.el (tetris-tty-colors):
8637 * progmodes/cpp.el (cpp-face-default-list):
8638 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8639 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8640 (idlwave-help-browser-generic-args):
8641 * progmodes/make-mode.el (makefile-special-targets-list):
8642 * progmodes/python.el (python-shell-virtualenv-path):
8643 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8644 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8645 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8646 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8647 * textmodes/reftex-vars.el (reftex-format-label-function):
8648 * textmodes/remember.el (remember-diary-file): Fix custom types.
8650 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8653 2013-05-09 Leo Liu <sdl.web@gmail.com>
8655 * progmodes/octave.el (inferior-octave-completion-at-point):
8656 Restore file completion. (Bug#14300)
8657 (inferior-octave-startup): Fix incorrect highlighting for the
8660 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8662 * progmodes/ruby-mode.el: First cut at SMIE support.
8663 (ruby-use-smie): New var.
8664 (ruby-smie-grammar): New constant.
8665 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8666 (ruby-smie--forward-token, ruby-smie--backward-token)
8667 (ruby-smie-rules): New functions.
8668 (ruby-mode-variables): Setup SMIE if applicable.
8670 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8672 * simple.el (line-move-visual): Signal beginning/end of buffer
8673 only if vertical-motion moved less than it was requested. Avoids
8674 silly incorrect error messages when there are display strings with
8675 multiple newlines at EOL.
8677 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8679 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8680 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8681 (prolog-char-quote-workaround):
8682 * progmodes/cperl-mode.el (cperl-under-as-char):
8683 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8685 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8687 (vhdl-mode-syntax-table-init): Remove.
8689 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8692 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8694 (ld-script-font-lock-keywords):
8695 Change regexps to use things like \_< and \_>.
8697 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8698 Change all regexps to use things like \_< and \_>.
8700 * progmodes/autoconf.el (autoconf-definition-regexp)
8701 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8702 Handle a _ with symbol syntax.
8703 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8705 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8706 Consolidate declaration.
8707 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8709 (ada-create-syntax-table): Remove.
8710 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8711 already has the right syntax nowadays.
8712 (ada-goto-next-word): Don't change the syntax of "_".
8714 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8717 2013-05-08 Sam Steingold <sds@gnu.org>
8719 * thingatpt.el (thing-at-point): Accept optional second argument
8720 NO-PROPERTIES to strip the text properties from the return value.
8721 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8722 to `thing-at-point' instead of stripping the properties ourselves.
8723 Also, when `thing-at-point' fails to find a url, prepend "http://"
8724 to the filename at point on the assumption that the user is
8725 pointing at something like gnu.org/gnu.
8727 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8729 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8730 * faces.el (crm-separator):
8731 Silence byte-compiler.
8733 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8734 (tool-bar-map): Remove unneeded defvars.
8736 2013-05-08 Leo Liu <sdl.web@gmail.com>
8738 Re-work a fix for bug#10994 based on Le Wang's patch.
8739 * ido.el (ido-remove-consecutive-dups): New helper.
8740 (ido-completing-read): Use it.
8741 (ido-chop): Revert fix for bug#10994.
8743 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8745 * cus-edit.el (custom-save-variables):
8746 Pretty-print long values. (Bug#14187)
8748 2013-05-08 Glenn Morris <rgm@gnu.org>
8750 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8751 (m4-mode-syntax-table): Init in the defvar.
8752 (m4-mode-abbrev-table): Let define-derived-mode define it.
8754 2013-05-08 Tom Tromey <tromey@redhat.com>
8756 * progmodes/m4-mode.el (m4-mode-syntax-table):
8757 Do not treat "_" as word constituent. (Bug#14167)
8759 2013-05-07 Glenn Morris <rgm@gnu.org>
8761 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8762 Remove explicit eshell-isearch-cancel-map.
8764 * progmodes/f90.el (f90-smart-end-names): New option.
8765 (f90-smart-end): Doc fix.
8766 (f90-end-block-optional-name): New constant.
8767 (f90-block-match): Respect f90-smart-end-names.
8769 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8771 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8772 about implicit semi-colons (bug#14218).
8774 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8776 * frame.el (display-monitor-attributes-list)
8777 (frame-monitor-attributes): New functions.
8779 2013-05-06 Leo Liu <sdl.web@gmail.com>
8781 * progmodes/octave.el (octave-syntax-propertize-function): Change
8782 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8783 (octave-font-lock-keywords): Use octave-operator-regexp.
8784 (octave-completion-at-point): Rename from
8785 octave-completion-at-point-function.
8786 (inferior-octave-directory-tracker): Robustify.
8787 (octave-text-functions): Remove and fix its uses. No such things
8790 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8792 * emacs-lisp/trace.el (trace--display-buffer): New function.
8793 (trace-make-advice): Use it.
8795 2013-05-06 Juri Linkov <juri@jurta.org>
8797 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8798 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8800 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8801 in the help string. (Bug#12985)
8803 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8805 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8807 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8809 * progmodes/perl-mode.el: Add support for here documents.
8810 (perl-syntax-propertize-function): Match here-doc markers.
8811 (perl-syntax-propertize-special-constructs): Find their end.
8812 (perl-imenu-generic-expression): Use [:alnum:].
8814 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8815 (advice--add-function): Refresh the advice if already present
8818 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8820 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8822 2013-05-06 Glenn Morris <rgm@gnu.org>
8824 * w32-fns.el (w32-charset-info-alist): Declare.
8826 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8827 of its defcustom properties.
8828 (eshell-cmpl-initialize): No need to load pcomplete.
8830 * generic-x.el: No need to require comint when compiling.
8832 * net/eudc-export.el: Make it loadable without bbdb.
8833 (top-level): Use require rather than load-library.
8834 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8835 (eudc-batch-export-records-to-bbdb)
8836 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8839 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8841 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8842 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8843 some tweaks, instead.
8845 2013-05-05 Leo Liu <sdl.web@gmail.com>
8847 * progmodes/octave.el (octave-font-lock-keywords)
8848 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8849 (inferior-octave-send-list-and-digest): Improve error message.
8850 (octave-mode, inferior-octave-mode): Use setq-local.
8851 (octave-help): Set info-lookup-mode.
8853 2013-05-05 Richard Stallman <rms@gnu.org>
8855 * vc/compare-w.el (compare-windows-whitespace):
8856 Treat no-break space as whitespace.
8858 * mail/rmailsum.el (rmail-summary-rmail-update):
8859 Detect empty summary and don't change selected message.
8860 (rmail-summary-goto-msg): Likewise.
8862 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8863 Doc fixes, rename args.
8865 2013-05-05 Alan Mackenzie <acm@muc.de>
8867 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8869 2013-05-05 Juri Linkov <juri@jurta.org>
8871 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8872 to not add the length of the summary segment to the return value.
8875 2013-05-05 Leo Liu <sdl.web@gmail.com>
8877 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8878 (inferior-octave-output-filter): Remove.
8879 (octave-send-region, inferior-octave-startup): Fix callers.
8880 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8881 (octave-binary-file-extensions): New user variable.
8882 (octave-find-definition): Confirm if opening binary files.
8883 (octave-help-file): Use octave-find-definition to get the binary
8885 (octave-help): Adjust for octave-help-file change.
8887 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8889 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8890 Merge the two entries that handle function definitions.
8891 (pascal--syntax-propertize): New const.
8892 (pascal-mode): Use it. Use setq-local.
8894 2013-05-04 Glenn Morris <rgm@gnu.org>
8896 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8897 (diary-from-outlook): Respect diary-from-outlook-function.
8899 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8901 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8902 Move the declaration from C.
8903 (read-minibuffer, eval-minibuffer): Move from C.
8904 (completion-setup-function): Avoid minibuffer-completion-contents.
8906 2013-05-03 Leo Liu <sdl.web@gmail.com>
8908 * progmodes/octave.el (octave-font-lock-keywords): Do not
8909 dehighlight 'end' in comments or strings.
8910 (octave-completing-read, octave-goto-function-definition):
8912 (octave-help-buffer): New user variable.
8913 (octave-help-file, octave-help-function): New button types.
8914 (octave-help): New command and bind it to C-h ;.
8915 (octave-find-definition): New command and bind it to M-.
8916 (user-error): Alias to error if not defined.
8918 2013-05-02 Leo Liu <sdl.web@gmail.com>
8920 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8922 (octave-font-lock-keywords): Include [ and {.
8924 2013-05-02 Leo Liu <sdl.web@gmail.com>
8926 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8927 (inferior-octave): Remove calling comint-mode and return the buffer.
8928 (inferior-octave-startup): Cosmetic changes.
8930 2013-05-02 Leo Liu <sdl.web@gmail.com>
8932 * progmodes/octave.el (octave-syntax-propertize-function):
8933 Include the case when ' is at line beginning. (Bug#14336)
8935 2013-05-02 Glenn Morris <rgm@gnu.org>
8937 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8938 * desktop.el (vc-dir-mode): Just autoload it here.
8940 2013-05-02 Alan Mackenzie <acm@muc.de>
8942 Eliminate variable c-standard-font-lock-fontify-region-function.
8943 * progmodes/cc-mode.el
8944 (c-standard-font-lock-fontify-region-function): Remove.
8945 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8947 2013-05-01 Leo Liu <sdl.web@gmail.com>
8949 * progmodes/octave.el: Compatible with older emacs-24 releases.
8950 (inferior-octave-has-built-in-variables): Remove. Built-in
8951 variables were removed from Octave in 2007.
8952 (inferior-octave-startup): Fix uses.
8953 (comint-line-beginning-position): Remove compatibility code for
8956 2013-05-01 Juri Linkov <juri@jurta.org>
8958 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8960 2013-05-01 Juri Linkov <juri@jurta.org>
8962 * comint.el (comint-previous-matching-input): Don't print message
8963 "History item: %d" when `isearch-mode' is active.
8964 (comint-history-isearch-message): Print message "History item: %d"
8965 when `comint-input-ring-index' is not empty and this function is
8966 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8968 2013-05-01 Leo Liu <sdl.web@gmail.com>
8970 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8971 definitions. Use completion-at-point to insert keywords.
8972 (octave-abbrev-start): Remove.
8973 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8975 2013-04-30 Leo Liu <sdl.web@gmail.com>
8977 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8980 2013-04-30 Alan Mackenzie <acm@muc.de>
8982 Handle arbitrarily long C++ member initialisation lists.
8983 * progmodes/cc-engine.el (c-back-over-member-initializers):
8985 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8986 (most) member init lists.
8988 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8990 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8993 2013-04-30 Leo Liu <sdl.web@gmail.com>
8995 * progmodes/octave.el (octave-variables): Remove. No builtin
8996 variables any more. All converted to functions.
8997 (octave-font-lock-keywords, octave-completion-at-point-function):
8999 (octave-font-lock-texinfo-comment): New user variable.
9000 (octave-texinfo-font-lock-keywords): New variable for texinfo
9002 (octave-function-comment-block): New face.
9003 (octave-font-lock-texinfo-comment): New function.
9004 (octave-mode): Font lock texinfo comment block.
9006 2013-04-29 Leo Liu <sdl.web@gmail.com>
9008 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9009 indexing expression.
9010 (octave-continuation-string): Do not use \.
9011 (inferior-octave-complete-impossible): Remove.
9012 (inferior-octave-completion-table)
9013 (inferior-octave-completion-at-point): Remove its uses.
9014 (inferior-octave-startup): completion_matches was introduced to
9015 Octave in 1996 so safe to assume it.
9016 (octave-function-file-comment): Improve to follow how Octave does it.
9017 (octave-update-function-file-comment): Tweak.
9019 2013-04-29 Leo Liu <sdl.web@gmail.com>
9021 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9022 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9023 (octave-function-file-comment): Fix typo.
9024 (octave-sync-function-file-names): Use read-char-choice.
9026 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9028 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9029 to t for the less important warnings.
9031 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9033 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9035 2013-04-27 Glenn Morris <rgm@gnu.org>
9037 * vc/log-view.el (log-view-current-entry):
9038 Treat "---" separator lines as part of the following rev. (Bug#14169)
9040 2013-04-27 Juri Linkov <juri@jurta.org>
9042 * subr.el (read-number): Doc fix about using it by interactive
9043 code letter `n'. (Bug#14254)
9045 2013-04-27 Juri Linkov <juri@jurta.org>
9047 * desktop.el (desktop-auto-save-timeout): New option.
9048 (desktop-file-checksum): New variable.
9049 (desktop-save): Add optional arg `auto-save' and don't auto-save
9051 (desktop-auto-save-timer): New variable.
9052 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9053 (after-init-hook): Call `desktop-auto-save-set-timer'.
9054 Suggested by Reuben Thomas <rrt@sc3d.org> in
9055 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9057 2013-04-27 Leo Liu <sdl.web@gmail.com>
9059 * progmodes/octave.el (octave-function-file-p)
9060 (octave-skip-comment-forward, octave-function-file-comment)
9061 (octave-update-function-file-comment): New functions.
9062 (octave-mode-map): Bind C-c ; to
9063 octave-update-function-file-comment.
9064 (octave-mode-menu): Add octave-update-function-file-comment.
9065 (octave-mode, inferior-octave-mode): Fix doc-string.
9066 (octave-insert-defun): Conform to Octave's coding convention.
9069 * files.el (basic-save-buffer): Don't let errors in
9070 before-save-hook prevent saving buffer.
9072 2013-04-20 Roland Winkler <winkler@gnu.org>
9074 * faces.el (read-face-name): Use completing-read if arg multiple
9077 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9079 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9080 displayed, move point to after the totals line.
9081 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9084 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9086 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9087 Add current dir to the load-path.
9088 (package-generate-autoloads): Don't rely on
9089 autoload-ensure-default-file.
9091 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9093 * textmodes/remember.el (remember-store-in-files): Document that
9094 the file name format is passed to `format-time-string'.
9096 2013-04-26 Leo Liu <sdl.web@gmail.com>
9098 * progmodes/octave.el (octave-sync-function-file-names): New function.
9099 (octave-mode): Use it in before-save-hook.
9101 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9103 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9106 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9107 \n and comment, even if it's not an implicit ; (bug#14218).
9109 2013-04-26 Glenn Morris <rgm@gnu.org>
9111 * subr.el (read-number): Once more use `read' rather than
9112 `string-to-number', to trap non-numeric input. (Bug#14254)
9114 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9116 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9117 Use `syntax-multiline' text property consistently instead of
9118 `font-lock-multiline'. (Bug#14237)
9120 2013-04-26 Glenn Morris <rgm@gnu.org>
9122 * emacs-lisp/shadow.el (list-load-path-shadows):
9123 No longer necessary to check for duplicate simple.el, since
9124 2012-07-07 change to init_lread to not include installation lisp
9125 directories in load-path when running uninstalled. (Bug#14270)
9127 2013-04-26 Leo Liu <sdl.web@gmail.com>
9129 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9130 (octave-mode, inferior-octave-mode): Use setq-local.
9131 (octave-not-in-string-or-comment-p): Rename to
9132 octave-in-string-or-comment-p.
9133 (octave-in-comment-p, octave-in-string-p)
9134 (octave-in-string-or-comment-p): Replace defsubst with defun.
9136 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9138 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9140 2013-04-25 Bastien Guerry <bzg@gnu.org>
9142 * textmodes/remember.el (remember-data-directory)
9143 (remember-directory-file-name-format): Fix custom types.
9145 2013-04-25 Leo Liu <sdl.web@gmail.com>
9147 * progmodes/octave.el (octave-completion-at-point-function):
9148 Make use of inferior octave process.
9149 (octave-initialize-completions): Remove.
9150 (inferior-octave-completion-table): New function.
9151 (inferior-octave-completion-at-point): Use it.
9152 (octave-completion-alist): Remove.
9154 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9156 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9157 (opascal-mode-syntax-table): New var.
9158 (opascal-literal-kind, opascal-is-literal-end)
9159 (opascal-literal-token-at): Rewrite.
9160 (opascal--literal-start-re, opascal-font-lock-keywords)
9161 (opascal--syntax-propertize): New constants.
9162 (opascal-font-lock-defaults): Adjust.
9163 (opascal-mode): Use them. Set comment-<foo> variables as well.
9164 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9165 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9166 (delphi-other-face, opascal-other-face): Remove face variables.
9167 (opascal-save-state): Remove macro.
9168 (opascal-fontifying-progress-step): Remove constant.
9169 (opascal--ignore-changes): Remove var.
9170 (opascal-set-token-property, opascal-parse-next-literal)
9171 (opascal-is-stable-literal, opascal-complete-literal)
9172 (opascal-is-literal-start, opascal-face-of)
9173 (opascal-parse-region, opascal-parse-region-until-stable)
9174 (opascal-fontify-region, opascal-after-change)
9175 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9176 (opascal-debug-parse-region, opascal-debug-parse-window)
9177 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9178 (opascal-debug-fontify-buffer): Remove.
9179 (opascal-debug-mode-map): Adjust accordingly.
9181 2013-04-25 Leo Liu <sdl.web@gmail.com>
9183 Merge octave-mod.el and octave-inf.el into octave.el with some
9185 * progmodes/octave.el: New file renamed from octave-mod.el.
9186 * progmodes/octave-inf.el: Merged into octave.el.
9187 * progmodes/octave-mod.el: Renamed to octave.el.
9189 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9191 * textmodes/reftex-vars.el
9192 (reftex-label-ignored-macros-and-environments): New defcustom.
9194 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9196 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9198 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9199 (smie-indent-keyword): Improve the check to ensure that the next
9200 comment is really on the same line.
9201 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9203 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9204 semi-colons if the line is not otherwise empty (bug#14218).
9206 2013-04-25 Glenn Morris <rgm@gnu.org>
9208 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9210 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9212 * progmodes/opascal.el (opascal-set-token-property): Rename from
9213 opascal-set-text-properties and only set `token' (bug#14134).
9214 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9215 (opascal-literal-text-properties): Remove.
9216 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9219 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9221 * textmodes/remember.el (remember-handler-functions): Add an
9222 option for a new handler `remember-store-in-files'.
9223 (remember-data-directory, remember-directory-file-name-format):
9225 (remember-store-in-files): New function to store remember notes
9226 as separate files within a directory.
9228 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9230 * progmodes/compile.el (compilation-next-error-function):
9231 Pass "formats" to compilation-find-file (bug#11777).
9233 2013-04-24 Glenn Morris <rgm@gnu.org>
9235 * vc/vc-bzr.el (vc-bzr-print-log):
9236 * vc/vc-hg.el (vc-hg-print-log):
9237 * vc/vc-svn.el (vc-svn-print-log):
9238 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9240 * vc/vc-bzr.el (vc-bzr-print-log):
9241 * vc/vc-cvs.el (vc-cvs-print-log):
9242 * vc/vc-git.el (vc-git-print-log):
9243 * vc/vc-hg.el (vc-hg-print-log):
9244 * vc/vc-mtn.el (vc-mtn-print-log):
9245 * vc/vc-rcs.el (vc-rcs-print-log):
9246 * vc/vc-sccs.el (vc-sccs-print-log):
9247 * vc/vc-svn.el (vc-svn-print-log):
9248 * vc/vc.el (vc-print-log-internal): Doc fixes.
9250 2013-04-23 Glenn Morris <rgm@gnu.org>
9252 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9253 Remove venerable code attempting to avoid substitute-command-keys.
9255 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9257 * textmodes/reftex-vars.el (reftex-label-regexps):
9258 Call `reftex-compile-variables' after changes to this variable.
9260 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9262 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9263 Use lexical-binding.
9264 (jit-lock-force-redisplay): Use markers, check buffer's continued
9265 existence and beware narrowed buffers.
9266 (jit-lock-fontify-now): Adjust call accordingly.
9268 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9270 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9271 to avoid misleading the user.
9273 2013-04-22 Leo Liu <sdl.web@gmail.com>
9275 * info-look.el: Prefer latex2e.info. (Bug#14240)
9277 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9279 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9281 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9282 * net/tramp.el (tramp-call-process): ... here.
9283 (tramp-set-completion-function, tramp-parse-putty):
9284 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9285 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9286 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9287 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9288 (tramp-call-local-coding-command): Use `tramp-call-process'
9289 instead of `tramp-compat-call-process'.
9291 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9292 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9293 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9294 (tramp-find-inline-compress): Improve traces.
9295 (tramp-maybe-send-script): Check for Perl binary.
9296 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9298 2013-04-22 Daiki Ueno <ueno@gnu.org>
9300 * epg.el (epg-context-pinentry-mode): New function.
9301 (epg-context-set-pinentry-mode): New function.
9302 (epg--start): Pass --pinentry-mode option to gpg command.
9304 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9306 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9307 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9308 `completion-at-point'. (Bug#13774)
9310 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9311 default key binding for `describe-distribution' has been moved to
9312 `C-h C-o'. (Bug#13970)
9314 2013-04-21 Glenn Morris <rgm@gnu.org>
9316 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9318 (vc-print-log): Clarify interactive prompt.
9320 2013-04-20 Glenn Morris <rgm@gnu.org>
9322 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9323 No longer include timestamp etc information.
9325 2013-04-20 Roland Winkler <winkler@gnu.org>
9327 * faces.el (read-face-name): Bug fix, return just one face if arg
9328 multiple is nil. (Bug#14209)
9330 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9332 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9333 (remove-function): Autoload.
9335 * comint.el (comint-redirect-original-filter-function): Remove.
9336 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9337 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9338 (vc-cvs-annotate-command):
9339 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9340 * progmodes/prolog.el (prolog-consult-compile):
9341 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9342 Use add/remove-function instead.
9343 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9344 (gud-tooltip-process-output, gud-tooltip-tips):
9345 Use add/remove-function instead.
9346 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9347 (scheme-interaction-mode, exit-scheme-interaction-mode):
9348 Use add/remove-function instead.
9350 * vc/vc-dispatcher.el: Use lexical-binding.
9351 (vc--process-sentinel): Rename from vc-process-sentinel.
9352 Change last arg to be the code to run. Don't use vc-previous-sentinel
9353 and vc-sentinel-commands any more.
9354 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9355 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9357 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9359 * progmodes/sh-script.el (sh-imenu-generic-expression):
9360 Handle function names with a single character. (Bug#14111)
9362 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9364 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9365 for subroutines defined in an eval (bug#14182).
9367 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9369 * bookmark.el (bookmark-completing-read): Improve handling of empty
9372 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9374 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9376 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9378 New faster Imenu implementation (bug#14058).
9379 * progmodes/python.el:
9380 (python-imenu-prev-index-position):
9381 (python-imenu-format-item-label-function)
9382 (python-imenu-format-parent-item-label-function)
9383 (python-imenu-format-parent-item-jump-label-function):
9385 (python-imenu-format-item-label)
9386 (python-imenu-format-parent-item-label)
9387 (python-imenu-format-parent-item-jump-label)
9388 (python-imenu--put-parent, python-imenu--build-tree)
9389 (python-imenu-create-index, python-imenu-create-flat-index)
9390 (python-util-popn): New functions.
9391 (python-mode): Set imenu-create-index-function to
9392 python-imenu-create-index.
9394 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9396 * winner.el (winner-active-region): Use region-active-p, activate-mark
9397 and deactivate-mark (bug#14225).
9399 * simple.el (deactivate-mark): Don't inline it.
9401 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9403 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9405 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9407 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9408 file extensions from the archive-mode entry in order to prefer
9409 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9411 2013-04-18 Leo Liu <sdl.web@gmail.com>
9413 * bindings.el (help-event-list): Add ?\?.
9415 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9417 * subr.el (with-wrapper-hook): Declare obsolete.
9418 * simple.el (filter-buffer-substring-function): New hook.
9419 (filter-buffer-substring): Use it.
9420 (filter-buffer-substring-functions): Mark obsolete.
9421 * minibuffer.el (completion-in-region-function): New hook.
9422 (completion-in-region): Use it.
9423 (completion-in-region-functions): Mark obsolete.
9424 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9425 * abbrev.el (abbrev-expand-function): New hook.
9426 (expand-abbrev): Use it.
9427 (abbrev-expand-functions): Mark obsolete.
9428 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9431 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9433 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9434 and do not care about match data.
9436 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9438 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9439 completion tables when completing error conditions and
9440 `declare' arguments.
9441 (lisp-complete-symbol, field-complete): Mark as obsolete.
9442 (check-parens): Unmatched parens are user errors.
9443 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9445 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9447 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9448 command changed buffer (ie. `flyspell-pre-buffer' is not current
9449 buffer), which prevents making decisions based on invalid value of
9450 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9451 cause an error when `flyspell-pre-point' was nil after switching
9453 (flyspell-post-command-hook): No longer needs to change buffers when
9454 checking pre-word. While at it remove unnecessary progn.
9456 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9458 * textmodes/ispell.el (ispell-add-per-file-word-list):
9459 Fix `flyspell-correct-word-before-point' error when accepting
9460 words and `coment-padding' is an integer by using
9461 `comment-normalize-vars' (Bug #14214).
9463 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9465 New defun movement commands.
9466 * progmodes/python.el (python-nav--syntactically)
9467 (python-nav--forward-defun, python-nav-backward-defun)
9468 (python-nav-forward-defun): New functions.
9470 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9472 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9473 (python-syntax-context): Use named compiler-macro for backwards
9474 compatibility with Emacs 24.x.
9476 2013-04-17 Leo Liu <sdl.web@gmail.com>
9478 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9479 octave-hide-process-buffer.
9481 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9483 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9486 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9488 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9489 Fix adjustment of offset when receiving incomplete responses from GDB
9492 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9494 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9495 python-mode-abbrev-table.
9496 (python-skeleton-define): Adjust accordingly.
9497 (python-mode-abbrev-table): New table that inherits from it so that
9498 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9500 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9501 (abbrev-symbol): Use it.
9502 (abbrev--before-point): Use it since we already handle inheritance.
9504 2013-04-16 Leo Liu <sdl.web@gmail.com>
9506 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9507 binding to info-lookup-symbol.
9509 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9511 * minibuffer.el (completion--twq-all):
9512 * term/ns-win.el (ns-initialize-window-system):
9513 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9515 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9517 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9520 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9522 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9524 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9525 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9527 (ruby-end-of-defun): Remove the unused arg, change the docstring
9528 to reflect that this function is only used as the value of
9529 `end-of-defun-function'.
9530 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9531 to reflect an earlier change that beginning/end-of-defun functions
9532 jump between methods in a class definition, as well as top-level
9535 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9537 * minibuffer.el (minibuffer-complete): Don't just scroll
9538 a *Completions* that's been iconified.
9539 (minibuffer-force-complete): Make sure repetitions do cycle when going
9540 through completion-in-region -> minibuffer-complete.
9542 2013-04-15 Alan Mackenzie <acm@muc.de>
9544 Correct the placement of c-cpp-delimiters when there're #s not at
9547 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9548 place a submatch around the #.
9549 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9550 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9553 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9555 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9556 (advice--member-p): New arg `name'.
9557 (advice--add-function, advice-member-p): Use it (bug#14202).
9559 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9561 Reformulate java imenu-generic-expression.
9562 The old expression contained ill formed regexps.
9564 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9565 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9566 (cc-imenu-java-method-arg-regexp): New defconsts.
9567 (cc-imenu-java-build-type-args-regex): New defun.
9568 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9569 handling of spaces in the regexp.
9571 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9573 * textmodes/ispell.el (ispell-command-loop): Remove
9574 flyspell highlight of a word when ispell accepts it (bug #14178).
9576 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9578 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9579 uses code from the previous `ange-ftp-run-real-handler'.
9580 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9581 only in case that function exist. This is needed for proper
9584 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9586 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9588 * textmodes/reftex.el (reftex-compile-variables): Use it.
9590 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9592 * files.el (normal-mode): Only use default major-mode if no other mode
9595 * emacs-lisp/trace.el (trace-values): New function.
9597 * files.el: Allow : in local variables (bug#14089).
9598 (hack-local-variable-regexp): New var.
9599 (hack-local-variables-prop-line, hack-local-variables): Use it.
9601 2013-04-13 Roland Winkler <winkler@gnu.org>
9603 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9604 data before it gets modified by bibtex-beginning-of-entry.
9606 2013-04-13 Roland Winkler <winkler@gnu.org>
9608 * textmodes/bibtex.el (bibtex-url): Doc fix.
9610 2013-04-13 Roland Winkler <winkler@gnu.org>
9612 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9613 does not visit a BibTeX file, exclude it from the list of buffers
9614 returned by bibtex-initialize.
9616 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9618 * window.el (split-window): Remove interactive form, since as a
9619 command this function is a special case of split-window-below.
9622 2013-04-12 Roland Winkler <winkler@gnu.org>
9624 * faces.el (read-face-name): Do not override value of arg default.
9625 Allow single faces and strings as default values. Remove those
9626 elements from return value that are not faces.
9627 (describe-face): Simplify.
9628 (face-at-point): New optional args thing and multiple so that this
9629 function can provide the same functionality previously provided by
9631 (make-face-bold, make-face-unbold, make-face-italic)
9632 (make-face-unitalic, make-face-bold-italic, invert-face)
9633 (modify-face, read-face-and-attribute): Use face-at-point.
9635 * cus-edit.el (customize-face, customize-face-other-window)
9636 * cus-theme.el (custom-theme-add-face)
9637 * face-remap.el (buffer-face-set)
9638 * facemenu.el (facemenu-set-face): Use face-at-point.
9640 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9642 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9644 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9646 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9647 off leading { and trailing } from field values.
9649 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9651 * emacs-lisp/timer.el (timer--check): New function.
9652 (timer--time, timer-set-function, timer-event-handler): Use it.
9653 (timer-set-idle-time): Simplify.
9654 (timer--activate): CSE.
9655 (timer-event-handler): Give more info in error message.
9656 (internal-timer-start-idle): New function, moved from C.
9658 * mpc.el (mpc-proc): Add `restart' argument.
9659 (mpc-proc-cmd): Use it.
9660 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9661 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9664 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9666 * progmodes/sh-script.el: Implement `sh-mode' own
9667 `add-log-current-defun-function' (bug#14112).
9668 (sh-current-defun-name): New function.
9669 (sh-mode): Use the function.
9671 2013-04-09 Bastien Guerry <bzg@gnu.org>
9673 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9675 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9677 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9679 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9682 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9684 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9687 2013-04-07 Leo Liu <sdl.web@gmail.com>
9689 * pcmpl-x.el: New file.
9691 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9693 Do not set x-display-name until X connection is established.
9694 This is needed to prevent from weird situation described at
9695 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9696 * frame.el (make-frame): Set x-display-name after call to
9697 window system initialization function, not before.
9698 * term/x-win.el (x-initialize-window-system): Add optional
9699 display argument and use it.
9700 * term/w32-win.el (w32-initialize-window-system):
9701 * term/ns-win.el (ns-initialize-window-system):
9702 * term/pc-win.el (msdos-initialize-window-system):
9703 Add compatible optional display argument.
9705 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9707 * files.el (normal-backup-enable-predicate): On MS-Windows and
9708 MS-DOS compare truenames of temporary-file-directory and of the
9709 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9710 don't fail comparison by compare-strings. Also, compare file
9711 names case-insensitively on MS-Windows and MS-DOS.
9713 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9715 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9716 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9718 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9720 * whitespace.el (whitespace-color-on, whitespace-color-off):
9721 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9723 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9725 * ispell.el (ispell-set-spellchecker-params):
9726 Really set `ispell-args' for all equivs.
9728 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9730 * ido.el (ido-completions): Use extra elements of ido-decorations
9732 (ido-decorations): Update docstring.
9734 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9736 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9737 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9738 nil during initialization, in order not to miss changes since the
9739 file was opened. (Bug#14140)
9741 2013-04-05 Leo Liu <sdl.web@gmail.com>
9743 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9745 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9747 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9749 2013-04-04 Glenn Morris <rgm@gnu.org>
9751 * electric.el (electric-pair-inhibit-predicate): Add :version.
9753 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9755 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9756 when a package is required several times (bug#14082).
9758 2013-04-04 Roland Winkler <winkler@gnu.org>
9760 * faces.el (read-face-name): Behave as promised by the docstring.
9761 Assume that arg default is a list of faces.
9762 (describe-face): Call read-face-name with list of default faces.
9764 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9766 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9767 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9768 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9770 (bookmark-exit-hook-internal): Save even if list is empty.
9772 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9774 * emacs-lisp/package.el (package-pinned-packages): New var.
9775 (package--add-to-archive-contents): Obey it (bug#14118).
9777 2013-04-03 Alan Mackenzie <acm@muc.de>
9779 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9780 Also adapt to the new values of element 7 of a parse state.
9782 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9783 parameter `not-in-delimiter'. Handle being inside comment opener.
9784 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9785 character in case we're typing a '*' after a '/'.
9786 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9787 instead by passing the parameter to c-state-pp-to-literal.
9789 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9790 for elt. 7 of a parse state.
9792 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9794 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9795 * international/latin1-disp.el, international/mule-util.el:
9796 * language/cyril-util.el, language/european.el, language/ind-util.el:
9797 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9798 * language/tibetan.el, language/viet-util.el:
9799 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9801 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9803 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9804 (electric-pair-post-self-insert-function): Use it.
9805 (electric-pair-default-inhibit): New function, extracted from
9806 electric-pair-post-self-insert-function.
9808 2013-03-31 Roland Winkler <winkler@gnu.org>
9810 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9812 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9814 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9816 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9818 Un-indent after "pass" and "return" statements (Bug#13888)
9819 * progmodes/python.el (python-indent-block-enders): New var.
9820 (python-indent-calculate-indentation): Use it.
9822 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9824 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9825 defun. Defining it as defalias could introduce too eager
9826 byte-compiler optimization. (Bug#14030)
9828 2013-03-30 Chong Yidong <cyd@gnu.org>
9830 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9832 2013-03-30 Leo Liu <sdl.web@gmail.com>
9834 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9835 (kmacro-execute-from-register): Pass the keyboard macro to
9836 kmacro-call-macro or repeating won't work correctly.
9838 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9840 * progmodes/subword.el: Back to using `forward-symbol'.
9842 * subr.el (forward-whitespace, forward-symbol)
9843 (forward-same-syntax): Move from thingatpt.el.
9845 2013-03-29 Leo Liu <sdl.web@gmail.com>
9847 * kmacro.el (kmacro-to-register): New command.
9848 (kmacro-execute-from-register): New function.
9849 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9851 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9853 * mpc.el: Use defvar-local and setq-local.
9854 (mpc--proc-connect): Connection failures are not bugs.
9855 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9856 (mpc-volume-map): Bind to the up-events.
9858 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9860 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9861 instead of `forward-symbol'.
9863 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9865 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9866 (edebug--recursive-edit): Use it.
9867 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9868 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9870 2013-03-28 Leo Liu <sdl.web@gmail.com>
9872 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9874 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9876 * facemenu.el (list-colors-callback): New defvar.
9877 (list-colors-redisplay): New function.
9878 (list-colors-display): Install list-colors-redisplay as the
9879 revert-buffer-function. (Bug#14063)
9881 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9883 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9884 and suffixes don't overlap (bug#14061).
9886 * case-table.el: Use lexical-binding.
9887 (case-table-get-table): New function.
9888 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9890 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9892 * progmodes/subword.el: Add `superword-mode' to do word motion
9893 over symbol_words (parallels and leverages `subword-mode' which
9894 does word motion inside MixedCaseWords).
9896 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9898 * eshell/em-unix.el: Move su and sudo to...
9899 * eshell/em-tramp.el: ...Eshell tramp module.
9901 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9903 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9904 Change return value to be a sexp. Delay `get-buffer' to after
9905 restoring the desktop (bug#13951).
9907 2013-03-26 Leo Liu <sdl.web@gmail.com>
9909 * register.el: Move semantic tag handling back to
9910 cedet/semantic/senator.el. (Bug#14052)
9912 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9914 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9915 into the prompt either (bug#13963).
9917 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9919 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9920 part of "(error-foo)".
9922 2013-03-24 Juri Linkov <juri@jurta.org>
9924 * replace.el (list-matching-lines-prefix-face): New defcustom.
9925 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9926 `occur-engine' if `face-differs-from-default-p' returns t.
9927 (occur-engine): Add `,' inside backquote construct to evaluate
9928 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9929 Pass `prefix-face' to the functions `occur-context-lines' and
9930 `occur-engine-add-prefix'.
9931 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9932 `prefix-face' and propertize the prefix with `prefix-face'.
9935 2013-03-24 Leo Liu <sdl.web@gmail.com>
9937 * nxml/rng-valid.el (rng-validate-while-idle)
9938 (rng-validate-quick-while-idle): Guard against deleted buffer.
9941 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9942 is the last entry in kill-buffer-hook.
9944 * files.el (kill-buffer-hook): Doc fix.
9946 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9948 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9951 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9953 2013-03-23 Leo Liu <sdl.web@gmail.com>
9955 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9958 * nxml/rng-valid.el (rng-validate-mode)
9959 (rng-after-change-function, rng-do-some-validation):
9960 * nxml/rng-maint.el (rng-validate-buffer):
9961 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9962 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9963 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9964 (nxml-extend-after-change-region): Use with-silent-modifications.
9966 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9969 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9970 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9971 timer-idle-list. (Bug#13999)
9973 2013-03-23 Juri Linkov <juri@jurta.org>
9975 * info.el (info-index-match): New face.
9976 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9977 main pattern and add text properties with the new face to matches
9978 in index entries relative to the beginning of the index entry.
9981 2013-03-21 Eric Ludlam <zappo@gnu.org>
9983 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9984 Inhibit read only while inserting objects.
9986 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9988 * progmodes/cfengine.el: Update docs to mention
9989 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9990 symbol motion. Remove "_" from the word syntax.
9992 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9994 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9995 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9997 2013-03-20 Juri Linkov <juri@jurta.org>
9999 * info.el (Info-next-reference-or-link)
10000 (Info-prev-reference-or-link): New functions.
10001 (Info-next-reference, Info-prev-reference): Use them.
10002 (Info-try-follow-nearest-node): Handle footnote navigation.
10003 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10005 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10007 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10008 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10010 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10012 Suppress unnecessary non-ASCII chatter during build process.
10013 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10014 (batch-skkdic-convert): Suppress most of the chatter.
10015 It's not needed so much now that machines are faster,
10016 and its non-ASCII component was confusing; see Dmitry Gutov in
10017 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10019 2013-03-20 Leo Liu <sdl.web@gmail.com>
10021 * ido.el (ido-chop): Fix bug#10994.
10023 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10025 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10027 (whitespace-color-on, whitespace-color-off):
10028 Use `font-lock-fontify-buffer' (Bug#13817).
10030 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10032 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10033 remapping in mode-line.
10034 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10036 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10038 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10039 value for `whitespace-line' face (Bug#13875).
10040 (whitespace-font-lock-keywords): Change description.
10041 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10042 the constructed keywords instead.
10043 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10045 2013-03-19 Leo Liu <sdl.web@gmail.com>
10047 * progmodes/compile.el (compilation-display-error): New command.
10048 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10051 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10053 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10055 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10057 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10059 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10061 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10063 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10064 * net/tramp-gvfs.el (top):
10065 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10066 (tramp-handle-shell-command): Use it.
10067 (tramp-dissect-file-name): Raise an error when hostname is a
10068 method name, and neither method nor user is specified.
10070 * net/trampver.el: Update release number.
10072 2013-03-18 Leo Liu <sdl.web@gmail.com>
10074 Make sure eldoc can be turned off properly.
10075 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10077 (eldoc-display-message-p): Revert last change.
10078 (eldoc-display-message-no-interference-p)
10079 (eldoc-print-current-symbol-info): Tweak.
10081 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10083 * doc-view.el (doc-view-new-window-function): Check the new window
10084 overlay's display property instead the char property of the
10085 buffer's first char. Use `with-selected-window' instead of
10086 `save-window-excursion' with `select-window'.
10087 (doc-view-document->bitmap): Check the current doc-view overlay's
10088 display property instead the char property of the buffer's first char.
10090 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10092 Automate the build of ja-dic.el (Bug#13984).
10093 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10094 from the input, rather than assume that it's been done for us by the
10095 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10096 the current date into a ja-dic.el comment, as that complicates
10097 regression testing.
10099 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10101 * whitespace.el: Fix double evaluation.
10102 (whitespace-space, whitespace-hspace, whitespace-tab)
10103 (whitespace-newline, whitespace-trailing, whitespace-line)
10104 (whitespace-space-before-tab, whitespace-indentation)
10105 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10107 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10108 (whitespace-color-on): Use a single font-lock-add-keywords call.
10109 Fix double-evaluation of face variables.
10111 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10113 * net/tramp-adb.el (tramp-adb-parse-device-names):
10114 Use `start-process' instead of `call-process'. Otherwise, the
10115 function might be blocked under MS Windows. (Bug#13299)
10117 2013-03-17 Leo Liu <sdl.web@gmail.com>
10119 Extend eldoc to display info in the mode-line. (Bug#13978)
10120 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10121 (eldoc-mode-line-string): New variable.
10122 (eldoc-minibuffer-message): New function.
10123 (eldoc-message-function): New variable.
10124 (eldoc-message): Use it.
10125 (eldoc-display-message-p)
10126 (eldoc-display-message-no-interference-p):
10127 Support eldoc-post-insert-mode.
10129 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10130 (eval-expression): Run it.
10132 2013-03-17 Roland Winkler <winkler@gnu.org>
10134 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10135 strings in the list of return values.
10137 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10139 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10140 radix before checking for HMS forms.
10142 2013-03-16 Leo Liu <sdl.web@gmail.com>
10144 * progmodes/scheme.el: Add indentation and font-locking for λ.
10147 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10149 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10150 token before point (bug#13942).
10152 2013-03-16 Leo Liu <sdl.web@gmail.com>
10154 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10156 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10158 * startup.el (command-line-normalize-file-name): Fix handling of
10159 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10160 <xfq.free@gmail.com> in
10161 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10163 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10165 Sync with Tramp 2.2.7.
10167 * net/trampver.el: Update release number.
10169 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10171 * doc-view.el: Fix bug#13887.
10172 (doc-view-insert-image): Don't modify overlay associated to
10173 non-live windows, and implement horizontal centering of image in
10174 case it's smaller than the window.
10175 (doc-view-new-window-function): Force redisplay of new windows on
10178 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10180 * saveplace.el (save-place-alist-to-file): Don't sort
10181 `save-place-alist', just pretty-print it (bug#13882).
10183 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10185 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10186 Check whether `default-file-name-coding-system' is bound.
10187 It isn't in XEmacs.
10189 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10191 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10192 backquotes for `obsolete' (bug#13929).
10194 * international/mule.el (find-auto-coding): Include file name in
10195 obsolescence warning (bug#13922).
10197 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10199 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10200 for CFEngine 3-specific indentation.
10201 (cfengine3-indent-line): Use it. Fix up category regex.
10202 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10204 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10206 * type-break.el (type-break-file-name):
10207 * textmodes/remember.el (remember-data-file):
10208 * strokes.el (strokes-file):
10209 * shadowfile.el (shadow-initialize):
10210 * saveplace.el (save-place-file):
10211 * ps-bdf.el (bdf-cache-file):
10212 * progmodes/idlwave.el (idlwave-config-directory):
10213 * net/quickurl.el (quickurl-url-file):
10214 * international/kkc.el (kkc-init-file-name):
10215 * ido.el (ido-save-directory-list-file):
10216 * emulation/viper.el (viper-custom-file-name):
10217 * emulation/vip.el (vip-startup-file):
10218 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10219 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10221 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10223 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10224 * language/thai-word.el: Switch to UTF-8.
10226 See ChangeLog.16 for earlier changes.
10228 ;; Local Variables:
10232 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10234 This file is part of GNU Emacs.
10236 GNU Emacs is free software: you can redistribute it and/or modify
10237 it under the terms of the GNU General Public License as published by
10238 the Free Software Foundation, either version 3 of the License, or
10239 (at your option) any later version.
10241 GNU Emacs is distributed in the hope that it will be useful,
10242 but WITHOUT ANY WARRANTY; without even the implied warranty of
10243 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10244 GNU General Public License for more details.
10246 You should have received a copy of the GNU General Public License
10247 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.