1 2014-03-21 Richard Stallman <rms@gnu.org>
3 * subr.el (set-transient-map): Clear out function and value
4 of the temporary symbol when we're done with it.
6 * mail/rmailsum.el (rmail-summary-delete-forward):
7 Optimize case of reaching end and handling count.
8 (rmail-summary-mark-deleted): Optimize when N is current msg.
9 Don't create new summary line.
10 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11 (rmail-summary-undelete-many): Rewrite for speed.
12 (rmail-summary-msg-number): New function.
14 * mail/rmail.el (rmail-delete-message): Update summary.
15 (rmail-undelete-previous-message): Handle repeat count arg.
16 (rmail-delete-backward, rmail-delete-forward): Likewise.
18 2014-03-21 Daniel Colascione <dancol@dancol.org>
20 * mail/emacsbug.el (report-emacs-bug): Include memory usage
21 information in bug reports.
23 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
25 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
28 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
29 (tramp-maybe-open-connection): Handle `tramp-login-env'.
31 2014-03-21 Glenn Morris <rgm@gnu.org>
33 * electric.el (electric-indent-post-self-insert-function): Add doc.
35 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
37 * emacs-lisp/package.el (package-compute-transaction):
38 Use `version-list-<=' to compare the requirement version against
39 the version of package already to be installed. Update the error
42 * progmodes/ruby-mode.el (ruby-smie-rules):
43 Add indentation rule for ` @ '. (Bug#17050)
45 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
47 * align.el (align-regexp): Remove superfluous backslash.
49 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
50 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
51 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
53 (ffap-next): Use C-u in docstring.
54 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
55 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
56 Remove superfluous backslashes.
57 (ffap-string-at-point): Reflow docstring.
59 * server.el (server-host): Reflow docstring.
60 (server-unload-function): Fix docstring typo.
61 (server-eval-at): Remove superfluous backslash.
63 * skeleton.el (skeleton-insert): Remove superfluous backslash.
64 (skeleton-insert): Doc fix.
65 (skeleton-insert): Reflow docstring.
67 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
68 (tty-color-approximate, tty-color-by-index, tty-color-values)
69 (tty-color-desc): Remove superfluous backslashes.
71 2014-03-21 Glenn Morris <rgm@gnu.org>
73 * cus-start.el (history-length): Bump :version.
75 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
76 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
77 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
78 Don't set `make-backup-files'.
80 * info.el (info--prettify-description): New function,
81 to give info-finder descriptions consistent case, punctuation.
82 (Info-finder-find-node): Use it. Sort packages.
83 Refer to "description" rather than "commentary".
85 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
87 * frameset.el (frameset--print-register): New function.
88 (frameset-to-register): Use it.
90 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
92 * progmodes/hideif.el (hif-string-to-number): New function.
93 (hif-tokenize): Use it to understand non-decimal floats.
95 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
97 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
99 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
101 * electric.el (electric-newline-and-maybe-indent): New command.
102 Bind it globally to C-j.
103 (electric-indent-mode): Don't mess with the global map any more.
104 Don't drop the post-self-insert-hook is some buffer is still using it
106 * bindings.el (global-map): Remove C-j binding.
108 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
109 the docstring of functions advised before dumping (bug#16993).
111 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
113 * ps-print.el (ps-generate-postscript-with-faces):
114 Explicitly deactivate the mark (bug#16866).
115 * simple.el (deactivate-mark): Update region highlight.
117 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
119 * emacs-lisp/package.el (describe-package-1):
120 Decode commentary (bug#16733).
122 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
124 * custom.el (defcustom): Doc fix: recommend avoiding destructive
125 modification of the value argument of :set (bug#16755).
127 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
129 * simple.el (newline-and-indent): Do autofill (bug#17031).
131 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
133 * newcomment.el (comment-normalize-vars): Only add escaping check
134 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
135 (comment-beginning): Use `narrow-to-region' instead of moving back
137 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
138 (comment-start-skip): Update the docstring.
140 2014-03-18 Richard Stallman <rms@gnu.org>
142 * dired.el (dired-display-file): Force use of other window.
144 2014-03-18 Daniel Colascione <dancol@dancol.org>
146 * startup.el (tty-handle-args): Remove debug message from 2007.
148 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
150 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
151 (advice--make-interactive-form): Use it to avoid (auto)loading function.
152 (advice--make-1, advice-add, advice-remove):
153 Remove braindead :advice-pending hack.
155 2014-03-17 Glenn Morris <rgm@gnu.org>
157 * calendar/calendar.el (calendar-generate-month): Apply weekend
158 face to the right days; fixes 2013-08-06 change. (Bug#17028)
160 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
162 * net/tramp.el (tramp-action-out-of-band): Read pending output.
163 (tramp-call-process): Trace also DESTINATION.
165 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
166 Quote file names when they are local. Remove superfluous trace.
168 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
170 * newcomment.el (comment-beginning): If `comment-start-skip'
171 doesn't match, move back one char and try again. (Bug#16971)
173 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
174 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
175 Set `comment-start-skip' to a simpler value that doesn't try to
176 check if the semicolon is escaped (this is handled by
177 `syntax-ppss' now). (Bug#16971)
179 * progmodes/scheme.el (scheme-mode-variables): Same.
181 2014-03-16 Martin Rudalics <rudalics@gmx.at>
183 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
184 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
185 current (Bug#16816, Bug#17007).
186 (with-current-buffer-window): New macro doing the same as
187 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
188 * help.el (help-print-return-message): Warn in doc-string to not
189 use this in `with-help-window'.
190 (describe-bindings-internal): Call `describe-buffer-bindings'
191 from within help buffer. See Juanma's scenario in (Bug#16816).
192 (with-help-window): Update doc-string.
193 * dired.el (dired-mark-pop-up):
194 * files.el (save-buffers-kill-emacs):
195 * register.el (register-preview): Use `with-current-buffer-window'
196 instead of `with-temp-buffer-window'.
198 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
200 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
201 Implement inserting into current buffer, documented in their docstrings.
202 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
203 (rst-section-tree-point, rst-forward-section, rst-indent)
204 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
205 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
206 (rst-font-lock-handle-adornment-pre-match-form)
207 (rst-repeat-last-character): Reflow docstrings.
208 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
209 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
210 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
211 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
213 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
214 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
215 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
217 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
219 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
220 for compatibility with other ports.
221 (ns-initialize-window-system): Use it. It is set in term/common-win.el
222 from the -xrm command line argument, but in the Nextstep port its value
223 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
225 * progmodes/python.el (defconst, python-syntax-count-quotes)
226 (python-indent-region, python-indent-shift-right)
227 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
228 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
229 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
230 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
231 (inferior-python-mode, python-shell-make-comint, run-python-internal)
232 (python-shell-buffer-substring, python-shell-send-buffer)
233 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
234 (python-completion-complete-at-point, python-fill-docstring-style)
235 (python-eldoc-function, python-imenu-format-item-label)
236 (python-imenu-format-parent-item-label)
237 (python-imenu-format-parent-item-jump-label)
238 (python-imenu--build-tree, python-imenu-create-index)
239 (python-imenu-create-flat-index): Fix docstring typos.
240 (python-indent-context, python-shell-prompt-regexp, run-python):
241 Remove superfluous backslashes.
242 (python-indent-line, python-nav-beginning-of-defun)
243 (python-shell-get-buffer, python-shell-get-process)
244 (python-info-current-defun, python-info-current-line-comment-p)
245 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
246 (python-indent-post-self-insert-function, python-shell-send-file)
247 (python-shell-completion-get-completions)
248 (python-shell-completion-complete-or-indent)
249 (python-eldoc--get-doc-at-point): Reflow docstrings.
251 2014-03-14 Glenn Morris <rgm@gnu.org>
253 * emacs-lisp/package.el (package-menu-mode-map):
254 Replace use of obsolete function alias. Tweak menu item text.
256 * info.el (Info-finder-find-node):
257 Ignore the `emacs' metapackage. (Bug#10813)
259 * finder.el (finder-list-matches): Include unversioned packages
260 in the result of a keyword search.
262 * finder.el (finder--builtins-descriptions): New constant.
263 (finder-compile-keywords): Use finder--builtins-descriptions.
265 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
267 * simple.el (blink-matching-paren): Describe the new value,
268 `jump', enabling the old behavior.
269 (blink-matching-open): Use that value. (Bug#17008)
271 2014-03-14 Glenn Morris <rgm@gnu.org>
273 * finder.el (finder-no-scan-regexp): Add leim-list.
274 (finder-compile-keywords):
275 Don't skip files with same basename. (Bug#14010)
276 * Makefile.in (setwins_finder): New, excluding leim.
277 (finder-data): Use setwins_finder.
279 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
280 (help-function-arglist, help-make-usage): Move from here...
281 * help.el (help-split-fundoc, help-add-fundoc-usage)
282 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
283 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
285 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
287 * net/socks.el (socks, socks-override-functions)
288 (socks-find-services-entry):
289 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
290 (hif-find-ifdef-block):
291 * progmodes/modula2.el (m2-indent): Fix docstring typos.
293 * net/tls.el (tls-program): Reflow docstring.
295 * progmodes/pascal.el (pascal-mode-abbrev-table)
296 (pascal-imenu-generic-expression, pascal-auto-endcomments)
297 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
298 (pascal-outline-mode): Fix docstring typos.
299 (pascal-mode): Let define-derived-mode document mode hook.
300 (pascal-uncomment-area): Reflow.
301 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
303 * progmodes/opascal.el (opascal-compound-block-indent)
304 (opascal-case-label-indent): Fix docstring typos.
305 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
307 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
309 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
310 Fontify multiple adjacent negation chars. (Bug#17004)
312 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
314 * emacs-lisp/package.el (package--prepare-dependencies):
315 Accept requirements without explicit version (bug#14941).
317 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
319 * register.el (register-separator, copy-to-register): Doc fixes.
320 (register-preview-default): Remove unnecessary call to concat.
322 * frameset.el (frameset-restore): When checking for a visible frame,
323 use the action map instead of calling visible-frame-list.
325 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
327 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
329 2014-03-12 Martin Rudalics <rudalics@gmx.at>
331 * window.el (fit-frame-to-buffer): Get maximum width from
332 display's width instead of height.
334 2014-03-12 Glenn Morris <rgm@gnu.org>
336 * desktop.el (desktop-restore-frames)
337 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
338 (desktop-restore-reuses-frames): Doc tweaks.
340 * electric.el (electric-indent-mode): Doc fix.
342 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
344 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
345 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
346 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
347 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
348 (cvs-dired-use-hook): Fix docstring typos.
349 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
352 * vc/pcvs-defs.el (cvs-auto-remove-handled)
353 (cvs-auto-remove-directories, cvs-default-ignore-marks)
354 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
355 (cvs-execute-single-dir): Fix docstring typos.
357 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
358 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
360 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
362 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
365 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
367 * frameset.el (frameset--jump-to-register): Add autoload; it could be
368 called from jump-to-register after unloading the frameset package.
370 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
372 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
373 (bug#16975). Deactivate the mark before setting it to nil.
374 (activate-mark): Do nothing if region is already active.
376 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
378 * frameset.el (frameset--target-display): Remove definition; declare.
379 (frameset-save, frameset-restore): Let-bind frameset--target-display.
381 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
383 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
384 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
385 when the advice is pending.
386 (advice-remove): Remove this marker when not needed any more.
388 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
390 * frameset.el: Separate options for reusing frames and cleaning up.
391 (frameset--reuse-list): Remove definition; declare.
392 (frameset--action-map): Declare.
393 (frameset--find-frame-if): Doc fix.
394 (frameset--restore-frame): Cache frame action.
395 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
396 how to clean up the frame list after restoring. Remove cleaning
397 options from REUSE-FRAMES. Change all keyword values to symbols.
398 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
400 * desktop.el (desktop-restore-forces-onscreen)
401 (desktop-restore-reuses-frames): Use non-keyword values.
402 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
404 2014-03-10 Glenn Morris <rgm@gnu.org>
406 * files.el (find-file): Doc fix: update info node name.
408 * emacs-lisp/advice.el (ad-add-advice, defadvice):
409 Doc fix: remove references to deleted info nodes.
411 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
413 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
414 Do not add `nil' to the environment, when there's no remote `locale'.
415 (tramp-find-inline-encoding): Check, that the remote host has
416 installed perl, before sending scripts.
418 2014-03-10 Leo Liu <sdl.web@gmail.com>
420 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
421 Clear eldoc-last-message. (Bug#16920)
423 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
425 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
428 2014-03-09 Juri Linkov <juri@jurta.org>
430 * ansi-color.el (ansi-color-names-vector): Copy default colors
431 from `xterm-standard-colors' that look well on the default white
432 background (and also on the black background) to avoid illegible
433 color combinations like yellow-on-white and white-on-white.
434 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
436 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
438 * frameset.el (frameset-restore): When no frame is visible, do not
439 generate a list of frames, just make visible the selected one.
441 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
443 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
444 it only contains the repository root. (Bug#16897)
446 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
448 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
449 only when `remote-file-name-inhibit-cache' is nil.
450 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
452 2014-03-06 Martin Rudalics <rudalics@gmx.at>
454 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
456 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
457 fit-frame-to-buffer variable. Fix doc-string.
458 (fit-window-to-buffer): Set ONLY argument in call of
459 fit-frame-to-buffer. Fix doc-string.
461 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
463 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
464 (tramp-action-password): Clear password cache if needed.
465 (tramp-read-passwd): Do not clear password cache.
467 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
468 cache unless it is the first password request.
470 2014-03-06 Glenn Morris <rgm@gnu.org>
472 * simple.el (newline): Doc tweak.
474 * emacs-lisp/shadow.el (load-path-shadows-find):
475 Ignore dir-locals. (Bug#12357)
477 2014-03-05 Glenn Morris <rgm@gnu.org>
479 * files.el (interpreter-mode-alist):
480 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
482 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
484 * frameset.el (frameset--initial-params): Filter out null entries.
486 2014-03-05 Martin Rudalics <rudalics@gmx.at>
488 * window.el (window-min-height, window-min-width):
490 (window-body-size): Add PIXELWISE argument to make it consistent
493 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
495 * finder.el (finder-mode-map, finder-mode-syntax-table):
496 Revert part of 2014-02-28 change.
498 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
500 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
501 (eww-setup-buffer): Clear next/prev/etc more reliably.
502 (eww-textarea-map): [tab] doesn't work on tty.
503 Reported by Mario Lang.
505 * net/shr.el (shr-map): Ditto.
507 2014-03-04 Glenn Morris <rgm@gnu.org>
509 * minibuffer.el (completion-hilit-commonality):
510 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
512 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
514 * hilit-chg.el (hilit-chg-unload-function): New function.
515 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
516 (hilit-chg-map-changes): Prefer cardinal number to digit.
517 (hilit-chg-display-changes): Reflow docstring.
518 (highlight-changes-rotate-faces): Remove superfluous backslash.
520 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
522 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
523 `tramp-send-command-and-check'.
525 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
527 * hexl.el (hexl-address-region, hexl-ascii-region)
528 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
529 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
530 (hexl-forward-word, hexl-previous-line, hexl-next-line):
531 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
532 (hexl-mode): Doc fix.
533 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
534 (hexl-mode-ruler): Fix typos in docstrings.
536 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
537 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
538 Remove superfluous backslashes.
539 (strokes-last-stroke, strokes-global-map, strokes-mode):
541 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
542 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
543 (strokes-distance-squared, strokes-global-set-stroke)
544 (strokes-global-set-stroke-string): Doc fixes.
545 (strokes-help): Fix typos; reflow docstring.
547 2014-03-04 Martin Rudalics <rudalics@gmx.at>
549 * window.el (window-in-direction): Fix doc-string.
551 2014-03-04 Glenn Morris <rgm@gnu.org>
553 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
554 Explicit error if no grammar.
555 (smie-config-save): Doc fix. Fix quote typo.
557 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
559 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
560 electric-indent-mode-hook if we obey electric-indent-mode.
561 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
562 decide whether we obey electric-indent-mode.
563 (c-change-set-fl-decl-start, c-extend-after-change-region):
565 (c-electric-indent-mode-hook): Assume we do want to obey
566 electric-indent-mode.
568 * electric.el (electric-indent-mode-has-been-called): Remove.
569 (electric-indent-mode): Fix accordingly.
571 * files.el (hack-local-variables): Mention file name in warning.
573 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
575 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
577 * binding.el: Add comment describing why C-d binds to `delete-char'.
578 * simple.el (delete-forward-char): Mark as interactive-only.
580 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
582 * icomplete.el (icomplete-completions):
583 Follow-up to 2014-03-01 change.
585 * icomplete.el: Miscellaneous doc fixes.
586 Use Icomplete everywhere instead of icomplete for consistency.
587 (icomplete-max-delay-chars): Fix typo.
588 (icomplete-mode): Use \[].
589 (icomplete-tidy, icomplete-exhibit): Reflow.
590 (icomplete-minibuffer-setup-hook, icomplete-completions):
591 Remove superfluous backlashes.
593 * ido.el: Miscellaneous doc fixes.
594 Use Ido everywhere instead of ido or `ido' for consistency.
595 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
596 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
597 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
598 (ido-separator): Extract obsolescence info from docstring and declare
599 with make-obsolete-variable.
600 (ido-minibuffer-setup-hook): Simplify example.
601 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
602 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
603 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
604 (ido-everywhere): Reflow docstring.
605 (ido-toggle-vc): Doc fix.
606 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
607 of long list of keybindings.
609 2014-03-03 Glenn Morris <rgm@gnu.org>
611 * frame.el (display-pixel-height, display-pixel-width)
612 (display-mm-dimensions-alist, display-mm-height)
613 (display-mm-width): Doc tweaks.
615 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
617 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
618 case of undo in region.
620 2014-03-02 Martin Rudalics <rudalics@gmx.at>
622 * window.el (fit-window-to-buffer): Fix argument in window-size
623 call when window is horizontally combined.
625 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
627 * icomplete.el (icomplete-completions): Use string-width.
628 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
630 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
632 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
633 Highlight regexp options. (Bug#16914)
635 2014-03-01 Martin Rudalics <rudalics@gmx.at>
637 * window.el (window--max-delta-1): Round down when calculating
638 how many lines/columns we can get from a window.
640 2014-03-01 Glenn Morris <rgm@gnu.org>
642 * isearch.el (search-invisible): Doc fix.
644 * minibuffer.el (completion-hilit-commonality):
645 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
646 * comint.el (comint-dynamic-list-completions): Doc fix.
647 * comint.el (comint-dynamic-list-completions):
648 * filecache.el (file-cache-minibuffer-complete):
649 * tempo.el (tempo-display-completions):
650 * eshell/em-hist.el (eshell-list-history):
651 Replace use of obsolete argument of display-completion-list.
653 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
655 * icomplete.el (icomplete-completions):
656 Revert back to using "..." when ?… cannot be displayed.
658 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
660 * finder.el (finder-unload-function): New function.
662 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
664 * dframe.el (dframe-detach):
665 * find-dired.el (find-dired, find-name-dired):
666 * finder.el (finder-mode-map, finder-mode-syntax-table)
667 (finder-headmark, finder-select, finder-mouse-select):
670 2014-02-28 Martin Rudalics <rudalics@gmx.at>
672 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
673 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
674 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
675 Fix doc-string based on a suggestion by Nicolas Richard
676 <theonewiththeevillook@yahoo.fr>.
677 * help.el (with-help-window): Fix doc-string.
679 2014-02-28 Ivan Kanis <ivan@kanis.fr>
681 * net/shr.el (shr-image-animate): New option.
682 (shr-put-image): Respect shr-image-animate.
684 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
686 * net/tramp-adb.el (tramp-adb-parse-device-names):
687 Use `accept-process-output'.
688 (tramp-adb-handle-file-truename): Cache the localname only.
689 (tramp-adb-handle-make-directory)
690 (tramp-adb-handle-delete-directory): Flush file properties correctly.
691 (tramp-adb-handle-set-file-modes): Do not raise an error when file
692 modes cannot be changed.
694 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
695 file properties of symlinks.
697 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
699 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
700 required/optional fields to match development biblatex. (Bug#16781)
702 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
704 * saveplace.el (toggle-save-place):
705 Fix argument handling. (Bug#16673)
707 2014-02-28 Glenn Morris <rgm@gnu.org>
709 * minibuffer.el (completions-first-difference)
710 (completions-common-part, completion-hilit-commonality): Doc fixes.
712 2014-02-28 Karl Berry <karl@gnu.org>
714 * info.el (Info-mode-map): Add H for describe-mode,
715 to synchronize with standalone Info.
717 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
719 * progmodes/sql.el (sql-interactive-mode):
720 Avoid setting global comint-input-ring-separator. (Bug#16814)
722 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
724 * net/dbus.el (dbus--init-bus): Declare function.
725 (dbus-path-local, dbus-interface-local): New defconst.
726 (dbus-init-bus): Use them.
727 (dbus-return-values-table): Extend doc.
728 (dbus-handle-bus-disconnect): Extend error message.
730 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
732 * subr.el (y-or-n-p): Fix double space issue in message.
734 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
736 * net/tramp.el (tramp-call-process): Improve trace message.
737 (tramp-handle-insert-file-contents): Trace error case.
739 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
740 <insert-directory>: Use `tramp-handle-insert-directory'.
741 (tramp-adb-handle-insert-directory): Remove function.
742 (tramp-adb-send-command-and-check): New defun, replacing
743 `tramp-adb-command-exit-status'. Change all callees.
744 (tramp-adb-handle-file-attributes)
745 (tramp-adb-handle-directory-files-and-attributes): Use it.
746 (tramp-adb-ls-output-name-less-p):
747 Use `directory-listing-before-filename-regexp'.
748 (tramp-adb-handle-delete-directory): Flush also file properties of
749 the truename of directory.
750 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
751 (tramp-adb-handle-file-local-copy): Make the local copy readable.
752 (tramp-adb-handle-write-region): Implement APPEND.
753 (tramp-adb-handle-rename-file): Make it more robust. Flush file
754 properties correctly.
755 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
756 variables. Check for connected devices only when needed.
758 2014-02-27 Glenn Morris <rgm@gnu.org>
760 * minibuffer.el (completion-table-dynamic)
761 (completion-table-with-cache): Doc fixes.
763 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
764 (completing-read-multiple): Doc fixes.
766 2014-02-27 Daniel Colascione <dancol@dancol.org>
768 * minibuffer.el (completion--nth-completion): Fix indentation.
770 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
771 explicit tramp path is empty.
773 2014-02-27 Glenn Morris <rgm@gnu.org>
775 * emacs-lisp/crm.el (completing-read-multiple):
776 Empower help-enable-auto-load.
778 2014-02-26 Glenn Morris <rgm@gnu.org>
780 * startup.el (command-line): Don't init the tty in daemon mode.
782 Avoid calling tty-setup-hook twice, eg if a term file
783 explicitly calls tty-run-terminal-initialization. (Bug#16859)
784 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
785 (tty-create-frame-with-faces): Use it.
786 * startup.el (command-line): Pass run-hook argument
787 to tty-run-terminal-initialization.
789 * dired.el (dired-restore-desktop-buffer): Demote errors;
790 eg in case a glob match fails. (Bug#16884)
792 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
794 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
795 error from `read-from-string'. (Bug#16850)
797 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
798 result of `completing-read' in the interactive form. (Bug#16854)
800 2014-02-25 Glenn Morris <rgm@gnu.org>
802 * image.el (image-animate, image-animate-timeout):
803 Stop animating images in dead buffers. (Bug#16878)
805 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
807 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
809 * startup.el (term-setup-hook): Doc fix. Make obsolete.
810 * term/sun.el (sun-raw-prefix-hooks):
811 Use tty-setup-hook instead of term-setup-hook.
812 (terminal-init-sun): Construct message from bytecomp plist.
813 * term/wyse50.el (enable-arrow-keys): Doc fix.
815 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
817 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
820 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
822 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
824 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
826 * minibuffer.el (completion--try-word-completion):
827 Fix error when completing M-x commands (bug#16808).
829 2014-02-24 Leo Liu <sdl.web@gmail.com>
831 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
833 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
835 * apropos.el (apropos-print): Avoid formatting error when
836 apropos-do-all and apropos-compact-layout are both t.
838 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
840 * apropos.el (apropos-property, apropos-all-words-regexp)
841 (apropos-true-hit, apropos-variable, apropos-print):
842 Fix docstring typos, and remove obsolete comment.
844 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
846 * net/tramp-sh.el (tramp-sh-handle-file-truename):
847 Preserve trailing "/". (Bug#16851)
849 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
851 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
852 after `=>' (bug#16811).
853 (ruby-smie-rules): Handle the inconsistent second element of the
854 list returned by `smie-indent--parent'.
855 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
858 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
860 * elec-pair.el (electric-pair-text-syntax-table)
861 (electric-pair-syntax-info, electric-pair--syntax-ppss)
862 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
863 (electric-pair--looking-at-unterminated-string-p): Doc fix.
864 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
866 2014-02-22 Glenn Morris <rgm@gnu.org>
868 * imenu.el (imenu--generic-function): Doc fix.
870 * register.el (frame-configuration-to-register): Make obsolete.
872 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
874 * desktop.el (desktop-save-buffer-p): Do not fail when
875 desktop-files-not-to-save is nil. Return t for true result
878 2014-02-22 Daniel Colascione <dancol@dancol.org>
880 * net/secrets.el (secrets-create-item, secrets-search-items):
881 Check that attribute values are strings, avoiding the construction
882 of invalid dbus messages.
884 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
886 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
887 defun-declarations-alist.
889 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
891 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
894 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
896 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
897 (whitespace-newline, whitespace-trailing, whitespace-line)
898 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
899 (whitespace-space-after-tab): Fix typo in docstrings.
901 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
903 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
905 * electric.el (electric-indent-functions-without-reindent):
906 Add `yaml-indent-line'.
908 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
910 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
911 It has done nothing for years; should be removed after the release.
913 * simple.el (choose-completion): Fix docstring typo.
914 (read-quoted-char-radix): Remove unneeded * in docstring.
915 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
916 Don't escape parentheses unnecessarily in docstrings.
918 2014-02-21 Martin Rudalics <rudalics@gmx.at>
920 Fix handling of window-min-height/-width (Bug#16738).
921 * window.el (window--dump-window, window--dump-frame):
923 (window--min-size-1): Account for window dividers.
924 When window-resize-pixelwise is nil, delay rounding till after the
925 sum of the window components has been calculated.
926 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
927 nil make sure at least one text line and two text columns remain
929 (window-resize): Signal an error when window-resize-apply fails.
930 (window--resize-child-windows): Fix calculation of by how many
931 pixels a window can still be shrunk via window-new-normal.
932 (adjust-window-trailing-edge): Call window--resizable with
933 correct TRAIL argument.
935 (with-temp-buffer-window): Don't evaluate BODY within
936 with-current-buffer (Bug#16816).
938 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
940 * net/tramp.el (tramp-check-cached-permissions):
941 Call `file-attributes' with `suffix' being a symbol but a string.
943 2014-02-21 Daniel Colascione <dancol@dancol.org>
945 * net/dbus.el (dbus-init-bus-1): Declare new subr.
946 (dbus-init-bus): New function: call into dbus-init-bus-1
947 and installs a handler for the disconnect signal.
948 (dbus-call-method): Rewrite to look for result in cons.
949 (dbus-call-method-handler): Store result in cons.
950 (dbus-check-event): Recognize events with nil sender as valid.
951 (dbus-handle-bus-disconnect): New function. React to bus
952 disconnection signal by synthesizing dbus error for each
953 pending synchronous or asynchronous call.
954 (dbus-notice-synchronous-call-errors): New function.
955 (dbus-handle-event): Raise errors directly only when `dbus-debug'
956 is true, not all the time.
958 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
960 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
961 Remove obsolescence declarations, these variables do not exist anymore.
963 * savehist.el (savehist-save-minibuffer-history)
964 (savehist-additional-variables, savehist-file, savehist-mode-hook)
965 (savehist-save-hook, savehist-coding-system, savehist-loaded)
966 (savehist-load, savehist-install, savehist-autosave): Fix typos;
967 mostly, refer to "Savehist mode" when talking about the mode,
968 and not the function.
970 * saveplace.el (save-place): Remove redundant info in docstring.
971 (save-place-forget-unreadable-files, toggle-save-place)
972 (save-place-forget-unreadable-files, save-place-dired-hook):
973 Fix typos and remove unneeded backslashes.
975 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
977 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
978 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
980 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
981 <insert-directory>: Use `tramp-handle-insert-directory'.
982 (tramp-gvfs-handle-insert-directory): Remove function.
984 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
985 Call `tramp-handle-insert-directory'.
987 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
989 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
990 before the start of buffer/region (bug#16799).
992 2014-02-20 Glenn Morris <rgm@gnu.org>
994 * isearch.el (search-invisible): Doc fix.
996 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
998 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1001 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1003 * frameset.el (frameset-restore): Delay removing an old frame's
1004 duplicate id until the new frame has been correctly created.
1006 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1008 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1009 (tramp-check-cached-permissions): Call `file-attributes' if the
1012 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1013 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1015 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1016 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1017 (tramp-gvfs-maybe-open-connection): Set always connection
1018 properties, even if target is mounted already.
1020 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1021 Set tramp-autoload cookie.
1022 (tramp-get-remote-touch): New defun.
1023 (tramp-sh-handle-set-file-times): Use it.
1024 (tramp-sh-handle-directory-files-and-attributes):
1025 Use `tramp-handle-directory-files-and-attributes' if neither stat
1026 nor perl are available on the remote host.
1028 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1029 "/". Write long listing only when "l" belongs to the switches.
1031 * net/trampver.el: Update release number.
1033 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1035 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1037 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1039 * window.el (window-state-put): Allow WINDOW to refer to an
1040 internal window (Bug#16793).
1042 2014-02-19 Glenn Morris <rgm@gnu.org>
1044 * textmodes/remember.el: Move provide statement to end.
1045 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1046 (remember-notes): Doc fixes.
1048 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1050 * delsel.el (delete-char): Restore incorrectly erased property
1053 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1055 * frameset.el (frameset--restore-frame): When a frame is being reused
1056 and its root window is not alive, delete all the frame's windows before
1057 restoring the window state. This works around the issue in bug#16793.
1059 2014-02-18 Glenn Morris <rgm@gnu.org>
1061 * textmodes/remember.el (remember-data-directory)
1062 (remember-directory-file-name-format, remember-store-in-files)
1063 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1064 (remember-notes-save-and-bury-buffer)
1065 (remember-notes--kill-buffer-query): Doc fixes.
1067 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1069 2014-02-17 Alan Mackenzie <acm@muc.de>
1071 Connect electric-indent-mode up with CC Mode. Bug #15478.
1072 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1073 to electric-indent-{,local-}-mode.
1074 (c-basic-common-init): Set electric-indent-inhibit.
1075 Initialise c-electric-flag from electric-indent-mode.
1076 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1077 New hook functions which propagate electric-indent-mode to CC mode.
1079 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1080 hit, toggle electric-indent-local-mode.
1082 * electric.el (electric-indent-mode-has-been-called):
1085 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1087 * frameset.el (frameset-cfg-id): New function.
1088 (frameset--reuse-frame, frameset-restore): Use it.
1089 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1091 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1093 * ido.el (ido-file-internal): Remove unused var `d'.
1094 Use \` for to match BoS. Fit within 80n columns.
1096 2014-02-17 Daniel Colascione <dancol@dancol.org>
1098 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1099 dbus-call-method check for completion using a busy-wait loop with
1102 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1104 Sync with Tramp 2.2.9.
1106 * net/trampver.el: Update release number.
1108 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1110 * ido.el (ido-file-internal): Don't add the name of an existing
1111 directory twice. (Bug#16747)
1113 2014-02-16 Glenn Morris <rgm@gnu.org>
1115 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1116 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1118 2014-02-15 Michael R. Mauger <michael@mauger.com>
1120 * progmodes/sql.el: Version 3.4
1121 (sql-oracle-options): New default value ("-L").
1122 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1123 (sql-placeholders-filter): Correct placeholder pattern.
1124 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1125 (sql-login-delay): New variable.
1126 (sql-product-interactive): Use it.
1128 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1130 * frameset.el (frameset--jump-to-register): Check that buffer is live
1133 2014-02-15 Glenn Morris <rgm@gnu.org>
1135 * info.el (info-initialize): Revert 2014-01-10 change.
1137 2014-02-14 Glenn Morris <rgm@gnu.org>
1139 * replace.el (map-query-replace-regexp)
1140 (read-regexp-defaults-function, read-regexp): Doc fixes.
1142 * dired.el (dired-read-regexp):
1143 * faces.el (list-faces-display):
1144 * misearch.el (multi-isearch-read-matching-buffers)
1145 (multi-isearch-read-matching-files):
1146 * play/cookie1.el (cookie-apropos):
1147 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1149 * textmodes/remember.el (remember): Use frameset-to-register
1150 rather than frame-configuration-to-register.
1152 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1154 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1155 incorrect keybinding.
1157 2014-02-13 Daniel Colascione <dancol@dancol.org>
1159 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1160 when adding overlays so that line numbers from compiler match line
1163 2014-02-13 Glenn Morris <rgm@gnu.org>
1165 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1167 * jit-lock.el (jit-lock-mode): Doc fix.
1169 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1171 * apropos.el (apropos-read-pattern): When the user passes an empty
1172 string, give a more helpful error message than "Wrong type
1173 argument: stringp, nil".
1175 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1177 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1179 2014-02-13 Glenn Morris <rgm@gnu.org>
1181 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1183 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1185 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1186 shift-select commands.
1188 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1190 * progmodes/js.el (js-indent-line): Don't widen.
1191 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1193 2014-02-12 Glenn Morris <rgm@gnu.org>
1195 * icomplete.el (icomplete): Add info-link to defgroup.
1196 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1197 (icomplete-minibuffer-map, icomplete-mode)
1198 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1200 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1201 (package-menu-filter): Rename from package-menu-filter-interactive.
1204 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1206 * frameset.el (frameset--jump-to-register): Select the required
1207 window and buffer before restoring position (bug#16696).
1209 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1211 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1213 2014-02-10 Glenn Morris <rgm@gnu.org>
1215 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1217 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1219 * w32-common-fns.el (x-get-selection): Doc fix.
1220 * select.el (x-get-selection): Doc fix. (Bug#15109)
1222 * face-remap.el (face-remap-add-relative)
1223 (face-remap-remove-relative, face-remap-reset-base)
1224 (face-remap-set-base): Call force-mode-line-update to redisplay
1225 the current buffer due to potential change in faces. (Bug#16709)
1227 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1229 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1230 script more robustly.
1232 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1234 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1236 * simple.el (choose-completion): Doc fix (bug#14160).
1238 * subr.el (event-start): Say what a nil EVENT value means.
1240 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1243 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1245 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1247 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1249 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1250 predicate function (bug#15455).
1252 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1254 * ielm.el (inferior-emacs-lisp-mode): Instead of
1255 `comment-use-global-state', set `comment-use-syntax'.
1257 2014-02-10 Glenn Morris <rgm@gnu.org>
1259 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1261 2014-02-09 Alan Mackenzie <acm@muc.de>
1263 Fix c-invalidate-state-cache on narrowed buffers.
1264 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1265 Widen when setting and clearing the CPP delimiter properties.
1267 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1269 * help.el (describe-bindings): Doc fix (bug#9888).
1271 * files.el (save-buffer): Use ARG as the parameter name for
1272 consistency (bug#10346).
1273 (save-buffer): Clarify the 0 argument (bug#10346).
1275 * cus-edit.el (customize-apropos): Fix error string.
1276 (custom-buffer-create): Doc fix (bug#11122).
1277 (custom-sort-items): Doc fix (bug#11121).
1279 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1281 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1282 (icomplete-simple-completing-p): Mention the previous variable.
1284 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1285 meaning of the parameter (bug#12282).
1287 * files.el (find-file-noselect): Clarify prompt when changing
1288 readedness (bug#13261).
1289 (locate-file): Suffixes aren't returned, so don't say that they
1291 (backup-inhibited): Doc clarification (bug#12525).
1293 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1294 before we actually start to delete things (bug#16331).
1296 * subr.el (event-start): Doc fix (bug#14228).
1299 2014-02-09 Glenn Morris <rgm@gnu.org>
1301 * emacs-lisp/warnings.el (lwarn):
1302 Empower help-enable-auto-load. (Bug#15940)
1304 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1306 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1309 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1311 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1312 Insert output at end of buffer. (Bug#16120)
1314 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1316 * simple.el (choose-completion-string-functions): Document new
1317 calling convention (bug#14153).
1318 (execute-extended-command): Clarify doc string (bug#13373).
1320 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1322 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1323 (find-grep-dired): Doc fix (bug#14288).
1325 2014-02-08 Juri Linkov <juri@jurta.org>
1327 * isearch.el (isearch-quote-char): Check character validity
1328 like in `quoted-insert' (bug#16677).
1330 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1332 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1334 * isearch.el (isearch-hide-immediately): Doc clarification
1337 * simple.el (line-move): Document utility function used many
1338 places in the Emacs sources (bug#14843).
1340 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1341 (dired-prev-marked-file): Doc fix (bug#14855).
1342 (dired-up-directory): Doc fix (bug#14848).
1344 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1346 * files.el (file-relative-name): Doc fix (bug#15159).
1348 * fringe.el (fringe-styles): Doc fix (bug#15239).
1350 * isearch.el (isearch-filter-predicate): Documentation typo fix
1353 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1355 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1357 * replace.el (replace-match-maybe-edit): Doc clarification
1360 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1362 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1364 2014-02-08 Glenn Morris <rgm@gnu.org>
1366 * help-fns.el (describe-variable):
1367 Check {file,dir}-local-variables-alist, and buffer-file-name,
1368 in the correct buffer.
1370 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1372 * help-fns.el (describe-variable): Fix the case where
1373 a value is directory-local with no dir-locals file. (Bug#16635)
1375 2014-02-08 Glenn Morris <rgm@gnu.org>
1377 * abbrev.el (edit-abbrevs-mode):
1378 Derive from fundamental-mode. (Bug#16682)
1380 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1382 * simple.el (quoted-insert): Check character validity (bug#16677).
1384 2014-02-07 Juri Linkov <juri@jurta.org>
1386 * desktop.el (desktop-read): Claim the lock when the owner is not
1387 the current process. (Bug#16157)
1389 2014-02-07 Juri Linkov <juri@jurta.org>
1391 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1392 to "\\` ". (Bug#16651)
1394 2014-02-07 Juri Linkov <juri@jurta.org>
1396 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1397 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1398 (desktop-auto-save-cancel-timer): New function with some code from
1399 `desktop-auto-save-set-timer'.
1400 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1401 Instead of setting `desktop-save-mode' to nil, call
1402 `desktop-save-mode' with arg 0. (Bug#16630)
1404 2014-02-07 Glenn Morris <rgm@gnu.org>
1406 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1407 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1408 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1410 * obsolete/iswitchb.el: Move to obsolete/.
1411 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1412 since obsolete/ is not scanned for autoloads.
1413 * emacs-lisp/authors.el (authors-valid-file-names):
1416 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1417 Disable now non-functional find-file-hook.
1419 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1421 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1422 instead of ";" in order to avoid additional prompts. Let heredoc
1423 scripts read from tty. (Bug#16582)
1424 (tramp-send-command): No special handling of heredocs, it isn't
1427 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1429 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1430 with a space (bug#16664). Limit the symbols considered to the ones
1431 that are bound or fbound (bug#16646).
1433 2014-02-06 Glenn Morris <rgm@gnu.org>
1435 * epa.el (epa-mail-aliases): Doc fix.
1437 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1439 * emacs-lisp/lisp.el (lisp-completion-at-point):
1440 Use `completion-table-merge' instead of `completion-table-in-turn'
1443 * minibuffer.el (completion-table-merge): New function.
1445 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1447 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1448 (tramp-sh-handle-set-file-acl)
1449 (tramp-sh-handle-start-file-process)
1450 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1451 (tramp-find-executable, tramp-send-command): Use it.
1453 2014-02-05 Glenn Morris <rgm@gnu.org>
1455 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1457 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1459 * progmodes/python.el (python-shell-send-string)
1460 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1462 2014-02-04 Anders Lindgren <andlind@gmail.com>
1464 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1465 the names (bug#16620).
1467 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1469 * faces.el (window-divider): New default value. Rewrite doc-string.
1470 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1472 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1474 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1475 `protected' and `public' can also be called without arguments.
1477 2014-02-03 Glenn Morris <rgm@gnu.org>
1479 * register.el (window-configuration-to-register)
1480 (frame-configuration-to-register): Unadvertise unused argument.
1481 * frameset.el (frameset-to-register): Remove unused argument.
1483 * frameset.el (frameset-to-register):
1484 * kmacro.el (kmacro-to-register):
1485 * register.el (increment-register):
1486 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1487 (calc-append-to-register, calc-prepend-to-register):
1488 * play/gametree.el (gametree-layout-to-register)
1489 (gametree-apply-register-layout):
1490 * textmodes/picture.el (picture-clear-rectangle-to-register)
1491 (picture-yank-rectangle-from-register):
1492 * vc/emerge.el (emerge-combine-versions-register):
1493 Use register-read-with-preview to read registers.
1495 2014-02-03 João Távora <joaotavora@gmail.com>
1497 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1498 when at beginning of (possibly narrowed) buffer.
1500 2014-02-02 Daniel Colascione <dancol@dancol.org>
1502 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1503 Also try to display local help from just before point.
1505 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1507 c-parse-state. Don't "append-lower-brace-pair" in certain
1508 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1509 recognised as a comment.
1511 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1512 as well as normal comment starter.
1513 (c-parse-state-get-strategy): Extra return possibility
1515 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1516 return value list to indicate replacement of a brace-pair cons
1518 (c-parse-state-1): With 'back-and-forward, only call
1519 c-append-lower-brace-pair-to state-cache when cons-separated.
1521 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1523 * term/ns-win.el (ns-suspend-error): New function.
1524 (ns-initialize-window-system): Add ns-suspend-error to
1525 suspend-hook (Bug#16612).
1527 2014-02-02 Daniel Colascione <dancol@dancol.org>
1529 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1530 Make loading cc-mode silent.
1532 2014-02-02 Daniel Colascione <dancol@dancol.org>
1534 * comint.el (comint-prompt-read-only): Change doc to suggest
1537 2014-02-02 Glenn Morris <rgm@gnu.org>
1539 * register.el (register-read-with-preview, point-to-register)
1540 (window-configuration-to-register, frame-configuration-to-register)
1541 (jump-to-register, number-to-register, view-register, insert-register)
1542 (copy-to-register, append-to-register, prepend-to-register)
1543 (copy-rectangle-to-register): Doc fixes.
1545 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1547 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1548 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1549 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1550 * help-fns.el (describe-function-1): Use it.
1552 2014-02-02 Glenn Morris <rgm@gnu.org>
1554 * register.el (register-preview-default): New function,
1555 split from register-preview.
1556 (register-preview-function): Rename from register-preview-functions,
1558 (register-preview): Use register-preview-function.
1559 (register-read-with-preview): Error on non-character event. (Bug#16595)
1561 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1563 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1564 `:' before binary operators (bug#16609). Don't check for `:'
1565 before `[' and `(', or their syntax status. A percent literal
1566 can't end with either.
1567 (ruby-font-lock-keywords): For built-ins that require arguments,
1568 check that they're followed by something that looks like argument
1571 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1573 * subr.el (butlast): Document what an omitted N means (bug#13437).
1576 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1578 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1579 depth shallower (bug#16587).
1580 (shr-tag-svg): Respect `shr-inhibit-images'.
1581 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1583 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1585 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1586 (ruby-smie-grammar): Make "." right-associative. Make its priority
1587 lower than the ternary and all binary operators.
1588 (ruby-smie-rules): Indent "(" relative to the first non-"."
1589 parent, or the first "." parent at indentation.
1590 Use `ruby-align-chained-calls' for indentation of "." tokens.
1593 2014-01-31 Juri Linkov <juri@jurta.org>
1595 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1596 from `make-hash-table'.
1598 * textmodes/ispell.el (ispell-init-process): Change message format
1599 to be consistent with other messages.
1601 2014-01-31 Glenn Morris <rgm@gnu.org>
1603 * delsel.el (delete-selection-mode): Doc fix.
1605 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1606 (trace-function-background): Doc fixes.
1608 * ido.el (ido-use-virtual-buffers): Doc fix.
1609 Reset :version, since the default value has not changed.
1611 * register.el (register-preview-delay, register-read-with-preview):
1614 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1615 do not mess with mail-buffer position (fixes 2009-11-03 change).
1616 * progmodes/cc-mode.el (c-submit-bug-report):
1617 Check auto-fill-mode is bound. (Bug#16592)
1619 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1621 * startup.el (fancy-splash-image-file): New function,
1622 split from fancy-splash-head.
1623 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1624 so that we are both using the same image. (Bug#16574)
1626 2014-01-30 Glenn Morris <rgm@gnu.org>
1628 * simple.el (eval-expression): Doc fix.
1630 * hexl.el (hexl-mode-hook):
1631 * ielm.el (ielm-mode-hook):
1632 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1633 (lisp-interaction-mode-hook):
1634 * progmodes/cfengine.e (cfengine3-documentation-function):
1635 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1637 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1639 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1640 is a symbol (bug#16584).
1642 2014-01-30 Glenn Morris <rgm@gnu.org>
1644 * help.el (help-for-help-internal): Add "P" to text.
1646 2014-01-29 Glenn Morris <rgm@gnu.org>
1648 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1650 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1652 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1655 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1657 * progmodes/hideif.el: Extend to full CPP expression syntax.
1658 (hif-token-alist): Add missing tokens.
1659 (hif-token-regexp): Add support for float/octal/hex immediates.
1660 (hif-string-literal-regexp): New const.
1661 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1662 (hif-exprlist): New function.
1663 (hif-parse-if-exp): Use it.
1664 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1665 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1666 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1667 (hif-logxor, hif-comma): New functions.
1669 2014-01-28 Glenn Morris <rgm@gnu.org>
1671 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1673 * indent.el (tab-stop-list): Doc fix. Add :version.
1675 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1676 (cvs-append-to-ignore): Add compatibility alias.
1678 2014-01-27 Glenn Morris <rgm@gnu.org>
1680 * dired.el (dired-hide-details-mode): Don't autoload it,
1681 since it cannot be used outside Dired buffers anyway.
1683 * emulation/cua-base.el (cua-mode): Doc fix.
1685 * dired.el (dired-hide-details-hide-symlink-targets)
1686 (dired-hide-details-hide-information-lines)
1687 (dired-hide-details-mode): Doc fixes.
1689 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1690 * strokes.el (strokes-file): Doc fix. Bump :version.
1691 (strokes-help): Doc fix.
1692 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1693 * emulation/viper.el (viper): Doc fix for custom group.
1694 (top-level): Remove oh-so-no-longer-relevant text about vip.
1695 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1697 * ido.el (ido-save-directory-list-file):
1698 * saveplace.el (save-place-file):
1699 * calendar/timeclock.el (timeclock-file):
1700 * net/quickurl.el (quickurl-url-file):
1701 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1702 * progmodes/idlwave.el (idlwave-config-directory):
1703 * textmodes/remember.el (remember-data-file):
1706 2014-01-26 Glenn Morris <rgm@gnu.org>
1708 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1709 Doc fix. Make obsolete.
1710 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1712 * sort.el (delete-duplicate-lines): Doc fix.
1714 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1716 * progmodes/ada-mode.el (ada):
1717 * woman.el (woman): Link to info manual and Commentary section.
1719 * progmodes/flymake.el (flymake):
1720 * nxml/nxml-mode.el (nxml):
1722 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1723 * htmlfontify.el (htmlfontify):
1726 * ido.el (ido): Link to info manual.
1728 2014-01-25 Leo Liu <sdl.web@gmail.com>
1730 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1732 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1734 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1737 >>>>>>> MERGE-SOURCE
1738 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1740 * net/eww.el (eww-download-callback):
1741 Fix reference to eww-download-directory.
1743 * emacs-lisp/bytecomp.el (byte-compile-file):
1744 Remove unused local variable `file-name'.
1746 2014-01-24 Glenn Morris <rgm@gnu.org>
1748 * woman.el (woman-default-faces, woman-monochrome-faces):
1749 Fix obsolescence specification.
1751 * subr.el (with-demoted-errors): Doc fix.
1753 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1755 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1756 (cl--macroexp-fboundp): New function.
1757 (cl--make-type-test): Use it.
1759 2014-01-23 Glenn Morris <rgm@gnu.org>
1761 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1762 * simple.el (eval-expression): Doc fixes.
1764 2014-01-22 Glenn Morris <rgm@gnu.org>
1766 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1768 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1770 * emacs-lisp/package.el: Write files silently.
1771 (package-autoload-ensure-default-file, package--write-file-no-coding)
1772 (package-generate-description-file, package--download-one-archive)
1773 (package-install-from-archive): Tell `write-region' to stay quiet.
1774 (package-menu-mode, package-menu--print-info): Omit the Archive column
1775 if there's only one archive.
1776 (package-all-keywords, package--has-keyword-p): Remove dead code.
1778 2014-01-22 Glenn Morris <rgm@gnu.org>
1780 * version.el (emacs-bzr-version-bzr): Fix typo.
1782 * version.el (emacs-repository-get-version):
1783 Check either .bzr or .git, but not both.
1784 Make the git case actually use the DIR argument, and return nil
1785 rather than the empty string.
1786 Avoid error if .git exists but the git executable is not found.
1788 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1790 Fixes in window size functions around Bug#16430 and Bug#16470.
1791 * window.el (window-total-size, window-size): New argument ROUND.
1792 (window--min-delta-1, window-min-delta, window--max-delta-1):
1793 Be more conservative when calculating the numbers of lines or
1794 columns a window can shrink (Bug#16430).
1795 (fit-window-to-buffer): Simplify code.
1796 * term.el (term-window-width): Call window-body-width again.
1798 2014-01-22 Glenn Morris <rgm@gnu.org>
1800 * image.el (image-format-suffixes): Doc fix.
1802 * international/quail.el (quail-define-package): Doc fix.
1804 * emacs-lisp/authors.el (authors-valid-file-names)
1805 (authors-renamed-files-alist): Additions.
1807 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1808 reverts 2014-01-09 change. (Bug#16422)
1810 * calc/calc-embed.el (thing-at-point-looking-at):
1811 * emacs-lisp/map-ynp.el (x-popup-dialog):
1812 * obsolete/lmenu.el (x-popup-dialog):
1813 * emacs-lisp/package.el (url-recreate-url):
1814 * mail/mailclient.el (clipboard-kill-ring-save):
1815 * subr.el (x-popup-dialog): Update declaration.
1816 * mail/rmail.el (rmail-mime-message-p):
1817 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1819 2014-01-21 Daniel Colascione <dancol@dancol.org>
1821 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1822 Correctly detect when we're inside an arithmetic expansion form
1823 containing nested parenthesis.
1824 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1825 to detect cases where we shouldn't expand "<<" to a heredoc
1828 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1830 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1831 (eldoc--message-command-p): New function.
1832 (eldoc-display-message-p): Use it.
1833 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1834 message is not automatically erased for us.
1835 (eldoc-print-current-symbol-info): Erase previous message, if any.
1837 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1839 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1840 specify it's an interactive function.
1842 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1843 Fix regex used for scanning for citation keys which failed for
1844 citations with optional arguments.
1846 2014-01-21 Leo Liu <sdl.web@gmail.com>
1848 * simple.el (read--expression): Don't enable eldoc-mode.
1850 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1852 * simple.el (move-beginning-of-line): Make sure we don't move forward
1855 2014-01-20 Juri Linkov <juri@jurta.org>
1857 * saveplace.el (toggle-save-place, save-place-to-alist)
1858 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1859 'dired-mode) before checking for dired-directory. (Bug#16477)
1861 2014-01-20 Juri Linkov <juri@jurta.org>
1863 * indent.el (indent-line-to): Use backward-to-indentation
1864 instead of back-to-indentation. (Bug#16461)
1866 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1868 Revert some of the CANNOT_DUMP fix (Bug#16494).
1869 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1870 but fixing this can wait until after the next release.
1871 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1873 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1875 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1876 Use `password-word-equivalents'.
1877 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1878 to t. (Bug#5664, Bug#13124)
1880 2014-01-19 Alan Mackenzie <acm@muc.de>
1882 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1884 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1885 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1886 * progmodes/cc-mode.el (c-before-change, c-after-change)
1887 (c-font-lock-fontify-region): Bind it here.
1889 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1891 * term.el (term-window-width): Call window-text-width instead of
1892 window-width (Bug#16470).
1894 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1896 * simple.el (password-word-equivalents): Remove duplicates.
1897 Sort, to make this easier next time.
1898 Downcase. Omit ": " after "jelszó".
1900 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1902 * term/common-win.el (saved-region-selection): Defvar it.
1903 (x-select-text): Set saved-region-selection (Bug#16382).
1905 2014-01-18 Glenn Morris <rgm@gnu.org>
1907 * emacs-lisp/authors.el (authors-aliases)
1908 (authors-renamed-files-alist): Add some entries.
1910 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1912 * net/tramp.el (tramp-password-prompt-regexp):
1913 Use `password-word-equivalents' if available.
1914 (tramp-action-password, tramp-process-one-action)
1915 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1917 2014-01-17 Chong Yidong <cyd@gnu.org>
1919 * simple.el (password-word-equivalents): New defcustom.
1920 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1922 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1925 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1927 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1928 (ruby-align-to-stmt-keywords): Change the default value.
1929 Use `ruby-alignable-keywords' to generate the possible customization
1931 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1932 keywords, check against the value of `ruby-alignable-keywords'
1933 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1935 2014-01-17 Glenn Morris <rgm@gnu.org>
1937 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1939 Make M-x authors return zero *Authors Errors* from current logs.
1940 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1941 (authors-ignored-files): Add some entries, remove others.
1942 (authors-ambiguous-files, authors-valid-file-names):
1944 (authors-renamed-files-alist): Add, remove, and adjust entries.
1945 (authors-renamed-files-regexps): Add some entries.
1946 Remove some very broad ones. Make some entries `lax'.
1947 (authors-lax-changelogs): New constant.
1948 (authors-disambiguate-file-name): Treat top-level specially.
1949 (authors-lax-changelog-p): New function.
1950 (authors-canonical-file-name): Check file as written against
1951 authors-valid-file-names. Do not special-case etc/.
1952 Handle `lax' logs and authors-renamed-files-regexps elements.
1954 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1956 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1957 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1960 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1962 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1963 Assume we're already in the proper buffer.
1964 Inspired by Anders Lindgren <andlind@gmail.com>.
1965 (follow-post-command-hook): Call it from the right buffer.
1966 (follow-comint-scroll-to-bottom): Adjust call.
1967 (follow-all-followers): Use get-buffer-window-list.
1969 2014-01-15 Daniel Colascione <dancol@dancol.org>
1971 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1972 `buffer-file-name' in interactive-form so that we don't leave
1973 pathless file names in `file-name-history'.
1975 2014-01-15 Juri Linkov <juri@jurta.org>
1977 * indent.el (indent-rigidly): Set deactivate-mark to nil
1978 in transient indentation mode. (Bug#16438)
1980 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1982 * emacs-lisp/package.el (package-desc-keywords): New function
1984 (describe-package-1, package-all-keywords)
1985 (package--has-keyword-p): Use it.
1987 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1989 * simple.el (define-alternatives): When creating the
1990 COMMAND-alternatives variable, assign COMMAND as its definition
1991 name so that `describe-variable' can relocate it.
1993 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1995 * font-lock.el (font-lock-keywords): Fix typo in docstring
1998 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2000 * ispell.el (ispell-region): Reset `in-comment' for new line
2001 instead of wrongly reset `add-coment' (bug#13577).
2003 2014-01-14 Daiki Ueno <ueno@gnu.org>
2005 * epa-file.el (epa-file-write-region): Encode the region according
2006 to `buffer-file-format'. Problem reported at:
2007 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2009 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2011 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2012 so it applies in the right buffer (bug#16410).
2014 2014-01-13 Daniel Colascione <dancol@dancol.org>
2016 * textmodes/rst.el (rst-define-key): Provide deprecated
2017 keybindings through named functions instead of anonymous ones so
2018 that "??" doesn't appear in describe-mode output.
2020 2014-01-13 Bastien Guerry <bzg@gnu.org>
2022 * simple.el (define-alternatives): Call the selected command
2023 interactively. When setting `COMMAND--implementation' for the
2024 first time, tell the user how to chose another implementation.
2025 Enhance the docstring.
2027 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2029 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2030 (log-edit--match-first-line): New function.
2031 (log-edit-font-lock-keywords): Use it.
2032 (log-edit-mode): Make jit-lock-defer-multiline work.
2034 2014-01-13 Bastien Guerry <bzg@gnu.org>
2036 * rect.el (rectangle-mark-mode): When the region is not active,
2037 display a message saying that the mark as been set and that
2038 rectangle mode is in use.
2039 (rectangle--highlight-for-redisplay): Only put an overlay with a
2040 visible vertical bar when (display-graphic-p) is non-nil.
2041 This partially fixes Bug#16403.
2043 2014-01-13 Juri Linkov <juri@jurta.org>
2045 * info.el (Info-find-file): Go to DIR before displaying the error
2046 about a nonexistent file if no previous Info file is visited.
2047 Use `user-error' instead of `error' for "Info file %s does not exist".
2048 (Info-find-node-2): In case of a nonexistent node in unwind forms
2049 go to the Top node if there is no previous node to revert to.
2052 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2054 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2055 * window.el (fit-frame-to-buffer): Fix doc-string.
2056 Respect window-min-height/-width. Fit pixelwise when
2057 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2058 when avoiding that frame goes partially off-screen.
2059 (fit-window-to-buffer): Respect window-min-height/-width
2062 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2064 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2065 after an empty line.
2067 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2069 * net/shr.el (shr-render-region): Autoload.
2071 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2073 * net/eww.el (eww-download-directory): Rename from
2074 `eww-download-path' (Bug#16419).
2076 2014-01-12 Leo Liu <sdl.web@gmail.com>
2078 * dired-x.el (dired-mode-map): Fix last change.
2080 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2082 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2085 * emacs-lisp/generic.el (generic--normalize-comments):
2086 Rename from generic--normalise-comments. All uses changed.
2087 * play/bubbles.el (bubbles--neighborhood-score)
2088 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2089 (bubbles--neighborhood-available)
2090 (bubbles--update-neighborhood-score):
2091 Rename from names with 'neighbourhood'. All uses changed.
2093 2014-01-12 Leo Liu <sdl.web@gmail.com>
2095 Re-implement the feature of showing eldoc info after editing.
2096 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2097 (eldoc-edit-message-commands): New function.
2098 (eldoc-print-after-edit): New variable.
2099 (eldoc-pre-command-refresh-echo-area): Emit message only by
2100 eldoc-message-commands.
2101 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2102 if eldoc-print-after-edit is set. (Bug#16346)
2103 * simple.el (read--expression): Enable eldoc-mode.
2104 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2106 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2107 Eric S. Raymond <esr@thyrsus.com>
2109 * version.el (emacs-repository-get-version): Enhance so the
2110 function works correctly in either a Bazaar or Git repo.
2112 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2114 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2115 Goes with removal of the joke manpages from /etc.
2117 2014-01-10 Kenichi Handa <handa@gnu.org>
2119 * mail/rmail.el (rmail-get-coding-system):
2120 Check rmail-get-coding-function before "funcall"ing it.
2122 2014-01-10 Glenn Morris <rgm@gnu.org>
2124 * emacs-lisp/authors.el (authors-fixed-entries):
2125 Update for files that no longer exist.
2127 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2129 * version.el (emacs-bzr-get-version): Restore compatibilty with
2132 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2134 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2137 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2139 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2141 2014-01-10 Chong Yidong <cyd@gnu.org>
2143 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2145 2014-01-10 Anders Lindgren <andlind@gmail.com>
2147 * follow.el (follow-cache-command-list): Include right-char and
2150 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2153 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2154 * woman.el (woman-mark-horizontal-position):
2155 Rename from woman-mark-horizonal-position. Use changed.
2157 2014-01-10 Glenn Morris <rgm@gnu.org>
2159 * info.el (info-initialize): If running uninstalled, ensure our
2160 own info files are always found first, even if INFOPATH is set.
2162 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2164 2014-01-09 David Engster <deng@randomsample.de>
2166 * emacs-lisp/eieio-custom.el:
2167 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2168 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2169 * emacs-lisp/eieio.el: Regenerate autoloads.
2171 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2173 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2174 following renames. (Bug#8756)
2176 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2178 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2180 (activate-mark): Add `no-tmm' argument.
2181 (set-mark, push-mark-command): Use it instead of running
2182 activate-mark-hook by hand.
2184 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2186 In preparation for the move to git, sanitize out some
2187 Bazaar-specific names.
2189 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2191 * version.el (emacs-bzr-version): Name changed to
2192 emacs-repository-version. Obsolete-variable alias made.
2193 * loadup.el: Follow through on this name change.
2194 * mail/emacsbug.el (report-emacs-bug): Factor out any
2195 assumption about the version control system in use.
2197 2014-01-08 David Engster <deng@randomsample.de>
2199 * help-fns.el (help-fns-describe-function-functions):
2200 New variable to call functions for augmenting help buffers.
2201 (describe-function-1): Remove explicit calls to
2202 `help-fns--compiler-macro', `help-fns--parent-mode' and
2203 `help-fns--obsolete'. Put them in above new variable instead, and
2204 call them through `run-hook-with-args'.
2205 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2206 `eieio-describe-class'. Not meant for interactive use anymore,
2207 but to augment existing help buffers. Remove optional second
2208 argument. Create proper button for file location.
2209 Rewrite function to use `insert' instead of `princ' and `prin1' where
2211 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2212 (eieio-method-def, eieio-class-def): Move further up.
2213 (describe-method, describe-generic, eieio-describe-method):
2215 (eieio-help-constructor, eieio-help-generic): Rename from
2216 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2217 Rewrite to use `insert' in the current buffer and use proper help
2219 (eieio-help-find-method-definition)
2220 (eieio-help-find-class-definition): Also accept symbols as
2222 (eieio-help-mode-augmentation-maybee): Remove.
2223 (eieio-describe-class-sb): Use `describe-function'.
2224 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2225 Add `eieio-help-generic' and `eieio-help-constructor'.
2227 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2230 * language/china-util.el (hz-ascii-designation):
2231 Rename from hz-ascii-designnation.
2232 (hz-ascii-designation): Rename from hz-ascii-designnation.
2235 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2237 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2240 2014-01-08 Bastien Guerry <bzg@gnu.org>
2242 * emacs-lisp/package.el (package-delete):
2243 Correctly delete the package from package-alist.
2245 2014-01-08 Daiki Ueno <ueno@gnu.org>
2247 * emacs-lisp/package.el (url-recreate-url): Declare.
2248 (url-http-target-url): Declare.
2249 (package-handle-response): Include requested URL in the error message.
2250 (package--check-signature): Don't re-signal errors from
2251 package--with-work-buffer. Suggested by Stefan Monnier.
2253 2014-01-07 Bastien Guerry <bzg@gnu.org>
2255 * minibuffer.el (completion--try-word-completion): When both a
2256 hyphen and a space are possible candidates for the character
2257 following a word, display both candidates. (Bug#15980)
2259 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2261 * window.el (balance-windows-2): While rounding don't give a
2262 window more than the remainder. Bug#16351, bug#16383.
2264 2014-01-07 Glenn Morris <rgm@gnu.org>
2266 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2267 (menu-bar-help-menu): Use view-external-packages instead.
2269 2014-01-07 Bastien Guerry <bzg@gnu.org>
2271 * emacs-lisp/package.el (package-delete): Also delete the package
2272 name from `package-alist', not its description only.
2274 2014-01-07 Glenn Morris <rgm@gnu.org>
2276 * help.el (view-external-packages):
2277 * menu-bar.el (menu-bar-help-extra-packages):
2278 Visit efaq.info rather than etc/MORE.STUFF.
2280 2014-01-07 Juri Linkov <juri@jurta.org>
2282 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2283 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2285 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2286 that shadows RET. (Bug#16342)
2288 2014-01-07 Chong Yidong <cyd@gnu.org>
2290 * isearch.el (isearch-yank-char, isearch-yank-word)
2291 (isearch-yank-line): Doc fix.
2293 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2295 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2296 * emacs-lisp/elint.el (elint-find-builtins):
2297 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2298 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2299 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2300 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2301 * apropos.el (apropos-safe-documentation):
2302 * subr.el (symbol-file): Remove redundant fboundp.
2303 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2305 2014-01-06 Bastien Guerry <bzg@gnu.org>
2307 * hl-line.el (global-hl-line-overlay): Make a local variable.
2308 (global-hl-line-overlays): New variable to store all overlays.
2309 (global-hl-line-mode): Don't delete overlays from the current
2310 buffer when `global-hl-line-sticky-flag' is non-nil.
2311 (global-hl-line-highlight): Add new overlays to
2312 `global-hl-line-overlays'.
2313 (global-hl-line-unhighlight-all): New function to delete all
2314 overlays when turning off `global-hl-line-mode'.
2315 This fixes Bug#16183.
2317 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2319 * subr.el (set-transient-map): Fix nested case and docstring.
2321 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2323 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2326 2014-01-06 Daniel Colascione <dancol@dancol.org>
2328 Fix defun navigation in vc log view.
2330 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2331 like `beginning-of-defun'.
2332 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2333 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2334 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2335 (log-view-extract-comment): Call `log-view-current-entry' directly
2336 instead of relying on broken `log-view-beginning-of-defun' behavior.
2338 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2341 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2342 * emacs-lisp/debug.el (cancel-debug-on-entry):
2343 * epg.el (epg-error-to-string):
2344 * files.el (recover-file):
2345 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2346 * mail/emacsbug.el (report-emacs-bug-hook):
2347 * mail/sendmail.el (mail-recover):
2348 * ses.el (ses-yank-resize):
2349 * term/ns-win.el (ns-print-buffer):
2350 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2351 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2353 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2355 2014-01-06 Leo Liu <sdl.web@gmail.com>
2357 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2358 to avoid shadowing global key. (Bug#16354)
2360 2014-01-06 Daniel Colascione <dancol@dancol.org>
2362 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2365 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2367 * window.el (balance-windows): Add mising t to fix Bug#16351.
2369 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2371 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2373 (shr-insert): If we have a word that's longer than `shr-width',
2374 break after it anyway. Otherwise we'll do no breaking once we get
2377 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2379 * net/eww.el (eww): Support single/double quote for search.
2380 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2381 (eww-history-quit): Delete and use quit-window.
2382 (eww-history-kill): Delete, because it doesn't work well and
2384 (eww-history-mode-map): Delete some keys and add easy-menu.
2386 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2388 Fix misspelling of 'chinese' in rx (Bug#16237).
2389 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2392 Change subword regexps back to vars (Bug#16296).
2393 * progmodes/subword.el (subword-forward-regexp)
2394 (subword-backward-regexp): Change these back to variables.
2396 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2398 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2399 syntax-begin-function (bug#16247).
2401 2014-01-03 Chong Yidong <cyd@gnu.org>
2403 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2404 (advice--docstring): Delete variable.
2405 (advice--make-1): Leave the docstring empty.
2406 (advice-add): Use function-documentation for advised docstring.
2408 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2409 Ignore function-documentation property when getting documentation.
2410 (ad-activate-advised-definition): Use function-documentation
2411 generate the docstring.
2412 (ad-make-advised-definition): Don't call
2413 ad-make-advised-definition-docstring.
2414 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2417 * progmodes/sql.el (sql-help): Use function-documentation instead
2418 of dynamic-docstring-function property. No need to autoload now.
2419 (sql--help-docstring): New variable.
2420 (sql--make-help-docstring): Use it.
2422 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2424 * ielm.el (ielm-tab): Retarget.
2425 (ielm-map): Use ielm-tab for tab.
2426 (ielm-complete-filename): Use comint-filename-completion.
2427 (ielm-complete-symbol): Remove.
2428 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2429 remove ielm-tab from completion-at-point-functions (bug#16224).
2431 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2432 Beware signals raised by predicates (bug#16201).
2434 2014-01-02 Richard Stallman <rms@gnu.org>
2436 * dired-aux.el (dired-do-print): Handle printer-name.
2438 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2439 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2440 (rmail-epa-decrypt): Turn off mime processing.
2442 * mail/rmail.el (rmail-make-in-reply-to-field):
2443 Add parens in message-id.
2445 * mail/rmail.el (rmail-get-coding-function): Variable.
2446 (rmail-get-coding-system): Use it.
2448 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2450 * international/mule-conf.el: Unify the charset indian-is13194.
2451 (indian-is13194): Specify unify-map.
2453 2013-12-31 Leo Liu <sdl.web@gmail.com>
2455 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2457 2013-12-30 Daniel Colascione <dancol@dancol.org>
2459 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2460 of printing a useless when we resume from sleep.
2462 * progmodes/sh-script.el
2463 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2464 in indentation code. (Bug#16233)
2466 2013-12-28 João Távora <joaotavora@gmail.com>
2468 * elec-pair.el (electric-pair-post-self-insert-function):
2469 Don't open extra newlines at beginning of buffer. (Bug#16272)
2471 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2473 * frame.el (window-system-for-display): Don't allow to create a
2474 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2476 2013-12-28 Glenn Morris <rgm@gnu.org>
2478 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2481 * apropos.el (apropos-match-face):
2482 * calculator.el (calculator-displayer):
2483 * dabbrev.el (dabbrev-search-these-buffers-only):
2484 * face-remap.el (buffer-face-mode-face):
2485 * simple.el (yank-handled-properties):
2486 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2487 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2488 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2489 (hashcash-double-spend-database):
2490 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2491 (ruby-deep-indent-paren-style):
2492 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2493 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2494 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2495 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2496 Specify custom types.
2498 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2499 * bookmark.el (bookmark-bmenu-use-header-line):
2500 * doc-view.el (doc-view-scale-internally):
2501 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2502 * register.el (register-preview-delay):
2503 * net/shr.el (shr-bullet):
2504 * progmodes/cfengine.el (cfengine-cf-promises)
2505 (cfengine-parameters-indent):
2506 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2507 * textmodes/reftex-vars.el (reftex-label-regexps):
2508 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2510 * net/tls.el (tls-certtool-program): Fix default value.
2512 * desktop.el (desktop-restore-in-current-display):
2513 * newcomment.el (comment-empty-lines):
2514 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2515 (idlwave-pad-keyword):
2516 * progmodes/tcl.el (tcl-tab-always-indent):
2517 * textmodes/reftex-vars.el (reftex-index-default-tag):
2518 * elec-pair.el (electric-pair-skip-whitespace):
2519 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2521 * emacs-lisp/authors.el (authors-ignored-files)
2522 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2524 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2526 * shell.el (shell-dynamic-complete-command): Doc fix.
2527 (shell--command-completion-data): Shell completion now matches
2528 executable filenames from the current buffer's directory, on
2529 systems in which this behavior is the default (windows-nt, ms-dos).
2531 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2533 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2535 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2537 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2540 * electric.el: Move all electric-pair-* to elec-pair.el.
2541 * elec-pair.el: New file, split from electric.el.
2543 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2545 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2546 indentation level is larger than the width, because that will
2548 (shr-insert): Fill repeatedly long texts, so that Japanese is
2549 formatted correctly (bug#16263).
2550 (shr-find-fill-point): Off by one error in comparison with the
2553 2013-12-26 João Távora <joaotavora@gmail.com>
2555 * electric.el (electric-pair-mode): More flexible engine for skip-
2556 and inhibit predicates, new options for pairing-related functionality.
2557 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2558 if that keeps or improves their balance in buffers.
2559 (electric-pair-delete-adjacent-pairs): Delete the pair when
2560 backspacing over adjacent matched delimiters.
2561 (electric-pair-open-extra-newline): Open extra newline when
2562 inserting newlines between adjacent matched delimiters.
2563 (electric--sort-post-self-insertion-hook):
2564 Sort post-self-insert-hook according to priority values when
2565 minor-modes are activated.
2566 * simple.el (newline-and-indent): Call newline with interactive
2568 (blink-paren-post-self-insert-function): Set priority to 100.
2569 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2570 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2571 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2572 electric-pair-open-newline-between-pairs to nil.
2574 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2576 * progmodes/python.el: Use lexical-binding.
2577 (python-nav-beginning-of-defun): Stop searching ASAP.
2579 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2581 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2582 Fix interactive spec. Doc fix. (Bug#15754)
2584 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2586 * emacs-lisp/byte-run.el (eval-when-compile):
2587 * progmodes/cc-defs.el (cc-eval-when-compile):
2588 Fix edebug spec (bug#16184).
2590 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2592 * net/shr.el (shr-visit-file): Remove debugging function.
2593 (shr-insert): Don't infloop if we can't find a good place to break
2594 the line (bug#16256).
2596 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2598 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2599 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2600 python-nav-lisp-forward-sexp-safe.
2601 (python-nav--forward-sexp): New argument SAFE allows switching
2602 forward sexp movement behavior for parens.
2603 (python-nav-forward-sexp): Throw errors on unterminated parens
2605 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2606 (python-nav-backward-sexp-safe): New functions.
2607 (python-shell-buffer-substring):
2608 Use `python-nav-forward-sexp-safe'.
2610 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2612 * net/shr.el (shr-find-fill-point): Don't break lines before a
2614 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2615 (shr-find-fill-point): Remove the special checks for the quotation
2616 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2618 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2620 * net/eww.el (eww-form-textarea): Use a different face for
2621 textareas than text input since they have different keymaps
2624 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2626 * progmodes/python.el (python-nav-beginning-of-statement):
2627 Speed up (Bug#15295).
2629 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2631 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2632 the window configuration.
2634 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2636 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2637 we run on MS-Windows or MS-DOS.
2639 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2641 * window.el (balance-windows-area): Call window-size instead of
2642 window-height and window-width. Bug#16241.
2644 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2646 * net/eww.el (eww-bookmark-quit): Remove.
2647 (eww-bookmark-browse): Restore the window configuration when you
2648 choose a bookmark (bug#16144).
2650 2013-12-24 Daniel Colascione <dancol@dancol.org>
2652 * icomplete.el: Remove redundant :group arguments to `defcustom'
2654 (icomplete-show-matches-on-no-input): New customizable variable.
2655 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2656 we have something to show.
2657 (icomplete-exhibit): Compute completions even if we have no user input.
2659 2013-12-23 Daniel Colascione <dancol@dancol.org>
2661 * icomplete.el: Move `provide' to end of file.
2663 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2665 * net/gnutls.el (gnutls-verify-error): Add version tag.
2667 2013-12-23 Chong Yidong <cyd@gnu.org>
2669 * subr.el (set-transient-map): Rename from
2670 set-temporary-overlay-map. Doc fix.
2672 * face-remap.el (text-scale-adjust):
2673 * indent.el (indent-rigidly):
2674 * kmacro.el (kmacro-call-macro):
2675 * minibuffer.el (minibuffer-force-complete):
2676 * repeat.el (repeat):
2677 * simple.el (universal-argument--mode):
2678 * calendar/todo-mode.el (todo-insert-item--next-param):
2679 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2681 * indent.el (indent-rigidly): Use substitute-command-keys.
2683 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2685 * net/eww.el (eww-tag-select): Add text-property to jump to next
2687 (eww): Add non-supported ftp error.
2689 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2691 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2692 comments. Handle electric indent after typing `?' and `!'.
2694 2013-12-22 Chong Yidong <cyd@gnu.org>
2696 * faces.el (face-spec-recalc): If the theme specs are not
2697 applicable to a frame, fall back on the defface spec.
2698 This prevents themes from obliterating faces on low-color terminals.
2700 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2702 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2703 after `{'. We need it after block openers, and it doesn't seem
2704 to hurt after hash openers.
2706 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2708 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2709 extracted from `ruby-smie-rules'.
2710 (ruby--electric-indent-chars): New variable.
2711 (ruby--electric-indent-p): New function.
2712 (ruby-mode): Use `electric-indent-functions' instead of
2713 `electric-indent-chars'.
2715 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2717 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2719 (ruby-smie-rules): Indent plus one level after `=>'.
2721 2013-12-21 Richard Stallman <rms@gnu.org>
2723 * simple.el (newline): Doc fix.
2725 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2727 * net/eww.el (eww-list-histories, eww-list-histories)
2728 (eww-history-browse, eww-history-quit, eww-history-kill)
2729 (eww-history-mode-map, eww-history-mode): New command and
2730 functions to list browser histories.
2731 (eww-form-text): Support text form with disabled
2732 and readonly attributes.
2733 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2735 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2737 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2738 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2739 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2740 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2742 (eww-bookmark-mode-map): Add menu.
2743 (eww-render, eww-mode): Use `setq-local'.
2744 (eww-tool-bar-map): New variable.
2745 (eww-mode): Set `tool-bar-map'.
2746 (eww-view-source): Check for `html-mode' with `fboundp'.
2748 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2750 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2751 elements with text inside. Also remove debugging.
2753 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2755 * cus-start.el (all): Add ns-use-srgb-colorspace.
2757 2013-12-21 Chong Yidong <cyd@gnu.org>
2759 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2760 undefined. Thus, theme settings for undefined faces do not take
2761 effect until the faces are defined with defface, the same as with
2764 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2765 (face-spec-reset-face): Don't assign extra properties in temacs.
2766 (face-spec-recalc): Apply X resources too.
2768 2013-12-21 Chong Yidong <cyd@gnu.org>
2770 * faces.el (face-spec-set):
2771 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2772 * custom.el (defface): Doc fixes (Bug#16203).
2774 * indent.el (indent-rigidly-map): Add docstring, and move commands
2775 into named functions.
2776 (indent-rigidly-left, indent-rigidly-right)
2777 (indent-rigidly-left-to-tab-stop)
2778 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2779 indentation direction based on bidi direction, and accumulate
2780 sequential commands in a single undo boundary.
2781 (indent-rigidly--pop-undo): New utility function.
2783 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2785 * faces.el (read-face-name): Require crm.el when using crm-separator.
2787 2013-12-20 Daniel Colascione <dancol@dancol.org>
2789 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2790 so that we don't reflow comments into the shebang line.
2792 2013-12-20 Juri Linkov <juri@jurta.org>
2794 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2795 a position when `dired-directory' is non-nil. Check integer
2796 positions with `integerp'.
2797 (toggle-save-place, save-places-to-alist): Add check for
2799 (save-place-find-file-hook): Check integer positions with
2801 (save-place-dired-hook): Use `dired-goto-file' when
2802 `dired-filename' is found in the assoc list. Check integer
2803 positions with `integerp'.
2804 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2806 * dired.el (dired-initial-position-hook): Rename back from
2807 `dired-initial-point-hook'.
2808 (dired-initial-position): Rename `dired-initial-point-hook' to
2809 `dired-initial-position-hook'.
2810 (dired-file-name-at-point): Doc fix. (Bug#15329)
2812 2013-12-20 Juri Linkov <juri@jurta.org>
2814 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2815 (read-regexp-suggestions): New function.
2816 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2817 Use `read-regexp-suggestions'. Add non-empty default to history
2819 (occur-read-regexp-defaults-function): Remove function.
2820 (occur-read-primary-args): Use `regexp-history-last' instead of
2821 `occur-read-regexp-defaults-function'.
2823 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2824 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2825 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2826 `hi-lock-read-regexp-defaults-function'. Doc fix.
2827 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2828 with `find-tag-default-as-symbol-regexp'. Doc fix.
2829 (hi-lock-read-regexp-defaults): Remove function.
2830 (hi-lock-regexp-okay): Add check for null.
2832 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2833 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2835 * subr.el (find-tag-default-as-symbol-regexp): New function.
2836 (find-tag-default-as-regexp): Move symbol regexp formatting to
2837 `find-tag-default-as-symbol-regexp'.
2839 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2841 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2844 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2846 * calendar/todo-mode.el: New implementation of item insertion
2847 commands and key bindings.
2848 (todo-key-prompt): New face.
2849 (todo-insert-item): New command.
2850 (todo-insert-item--parameters): New defconst, replacing defvar
2851 todo-insertion-commands-args-genlist.
2852 (todo-insert-item--param-key-alist): New defconst, replacing
2853 defvar todo-insertion-commands-arg-key-list.
2854 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2855 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2856 (todo-insert-item--next-param): New functions.
2857 (todo-insert-item--args, todo-insert-item--argleft)
2858 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2860 (todo-key-bindings-t): Change binding of "i" from
2861 todo-insertion-map to todo-insert-item.
2862 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2863 (todo-insertion-command-name, todo-insertion-commands-names)
2864 (todo-define-insertion-command, todo-insertion-commands)
2865 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2867 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2869 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2870 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2872 (todo-move-category): Allow choosing a non-existing todo file to
2873 move the category to, and create that file.
2874 (todo-default-priority): New user option.
2875 (todo-set-item-priority): Use it.
2876 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2877 (desktop-restore-file-buffer): Declare.
2878 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2879 (todo-modes-set-2): Locally set desktop-save-buffer to
2880 todo-desktop-save-buffer.
2881 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2882 (auto-mode-alist): Add autoload cookie.
2884 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2886 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2887 helpers.el was a poor choice of name.
2888 (string-remove-prefix): New function.
2889 (string-remove-suffix): New function.
2891 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2893 Fix assignment for new window total sizes.
2894 * window.el (window--pixel-to-size): Remove function.
2895 (window--pixel-to-total-1, window--pixel-to-total):
2896 Fix calculation of new total sizes.
2898 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2900 * comint.el (comint-output-filter): Fix rear-nonsticky property
2901 placement (Bug#16010).
2903 2013-12-20 Chong Yidong <cyd@gnu.org>
2905 * faces.el (read-color): Minor fix for completion function.
2907 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2909 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2910 New option. (Bug#16182)
2911 (ruby-smie--indent-to-stmt-p): Use it.
2912 (ruby-smie-rules): Revert the logic in the handling of `when'.
2913 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2914 (ruby-deep-arglist, ruby-deep-indent-paren)
2915 (ruby-deep-indent-paren-style): Update docstrings to note that the
2916 vars don't have any effect with SMIE.
2918 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2920 * calc/calc.el (calc-enter, calc-pop): Use the variable
2921 `calc-context-sensitive-enter'.
2923 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2925 * net/shr.el (shr-insert): Protect against infloops in degenerate
2928 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2930 * progmodes/octave.el (octave): Add link to manual and octave
2932 (octave-mode-menu): Link to octave-mode manual.
2934 2013-12-20 Leo Liu <sdl.web@gmail.com>
2936 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2937 insertion using skeleton-end-newline. (Bug#16138)
2939 2013-12-20 Juri Linkov <juri@jurta.org>
2941 * replace.el (occur-engine): Use `add-face-text-property'
2942 to add the face property to matches and titles. (Bug#14645)
2944 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2945 the palette of other hi-lock colors.
2946 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2948 2013-12-19 Juri Linkov <juri@jurta.org>
2950 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2951 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2952 (minibuffer-history-symbol): Move variable declaration closer to
2955 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2958 2013-12-19 Juri Linkov <juri@jurta.org>
2960 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2962 (log-edit-hook): Add it to :options. (Bug#16170)
2964 2013-12-19 Juri Linkov <juri@jurta.org>
2966 * simple.el (eval-expression-print-format): Don't check for
2967 command names and the last command. Always display additional
2968 formats of the integer result in the echo area, and insert them
2969 to the current buffer only with a zero prefix arg.
2970 Display character when char-displayable-p is non-nil.
2971 (eval-expression): With a zero prefix arg, set `print-length' and
2972 `print-level' to nil, and insert the integer values from
2973 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2975 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2976 `eval-last-sexp-arg-internal'. Doc fix.
2977 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2978 `eval-last-sexp-print-value'. Doc fix.
2979 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2980 Set `print-length' and `print-level' to nil when arg is zero.
2981 (eval-last-sexp): Doc fix.
2982 (eval-defun-2): Print the integer values from
2983 `eval-expression-print-format' at the end.
2985 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2986 values from `eval-expression-print-format' at the end.
2988 * ielm.el (ielm-eval-input): Print the integer
2989 values from `eval-expression-print-format' at the end.
2991 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2993 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2994 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2996 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2998 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2999 (hl-line-highlight, global-hl-line-highlight): Use it.
3000 (hl-line-overlay): Use defvar-local.
3002 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3004 * term/ns-win.el: Require dnd.
3005 (global-map): Remove drag items.
3006 (ns-insert-text, ns-set-foreground-at-mouse)
3007 (ns-set-background-at-mouse):
3008 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3009 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3012 2013-12-19 Glenn Morris <rgm@gnu.org>
3014 * emacs-lisp/ert.el (ert-select-tests):
3015 Fix string/symbol mixup. (Bug#16121)
3017 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3019 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3020 keywords to their parent.
3022 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3024 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3025 first arg to be a string (fixed dead code), or an operator symbol.
3026 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3028 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3029 did nothing. Don't respond to `(:after ".")', it will be called
3030 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3031 change anything. Only return indentation for binary operators
3032 when they are hanging. De-dent opening paren when its parent is
3033 `.', otherwise it looks bad when the dot is not at bol or eol
3036 2013-12-19 Juri Linkov <juri@jurta.org>
3038 * replace.el (query-replace-read-args): Split a non-negative arg
3039 and a negative arg into separate elements.
3040 (query-replace, query-replace-regexp, replace-string)
3041 (replace-regexp): Add arg `backward'. Doc fix.
3042 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3043 move point to the beginning of the match.
3044 (replace-search, replace-highlight): Use new arg `backward'
3045 to set the value of `isearch-forward'.
3046 (perform-replace): Add arg `backward' and use it to perform
3047 replacement backward. (Bug#14979)
3049 * isearch.el (isearch-query-replace): Use a negative prefix arg
3050 to call `perform-replace' with a non-nil arg `backward'.
3052 2013-12-18 Juri Linkov <juri@jurta.org>
3054 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3055 to the default list. Move `log-edit-show-files' to the end.
3056 Add more available functions to options.
3057 (log-edit): Move default specific settings to
3058 `log-edit-insert-message-template'. Don't move point.
3059 (log-edit-insert-message-template): New function.
3060 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3063 2013-12-18 Juri Linkov <juri@jurta.org>
3065 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3066 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3068 2013-12-18 Leo Liu <sdl.web@gmail.com>
3070 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3073 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3075 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3076 formats for displaying file sizes when the -s switch is given.
3077 Instead, compute a separate format for displaying the size in
3078 blocks, which is displayed in addition to the "regular" size.
3079 When -h is given in addition to -s, produce size in blocks in
3080 human-readable form as well. (Bug#16179)
3082 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3084 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3085 Reference tables with ~\ref{...} instead of only \ref{...}.
3087 2013-12-18 Chong Yidong <cyd@gnu.org>
3089 * cus-edit.el (custom-magic-alist): Fix "themed" description
3092 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3093 is non-nil, do not create a new entry in the symbol's theme-value
3094 or theme-face property; update theme-settings only (Bug#14664).
3095 (custom-available-themes): Doc fix.
3097 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3100 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3102 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3104 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3107 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3109 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3111 2013-12-18 Glenn Morris <rgm@gnu.org>
3113 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3114 * cus-start.el (load-prefer-newer): New option.
3116 2013-12-18 Le Wang <l26wang@gmail.com>
3118 * comint.el (comint-previous-matching-input-from-input):
3119 Retain point (Bug#13404).
3121 2013-12-18 Chong Yidong <cyd@gnu.org>
3123 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3125 2013-12-18 Glenn Morris <rgm@gnu.org>
3127 * mail/emacsbug.el (report-emacs-bug):
3128 Only mention enable-multibyte-characters if non-standard.
3130 2013-12-17 Juri Linkov <juri@jurta.org>
3132 * arc-mode.el (archive-extract-by-file): Check if directory exists
3133 before deletion to not show irrelevant errors if it doesn't exist.
3135 2013-12-17 Juri Linkov <juri@jurta.org>
3137 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3140 * net/eww.el (browse-web): Add alias to `eww'.
3141 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3142 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3144 * net/browse-url.el (browse-url-browser-function): Move `eww'
3145 closer to similar functions.
3147 * startup.el (fancy-startup-screen, fancy-about-screen):
3148 Set browse-url-browser-function to eww-browse-url locally.
3151 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3153 * window.el (window--pixel-to-total): Remove unused `mini' var.
3154 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3155 (split-window): Remove unused `new' var.
3156 (window--display-buffer): Remove unused `frame' and `delta' vars.
3157 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3160 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3162 * dired.el (dired-mark-pop-up):
3163 * register.el (register-preview): Don't bind
3164 split-height-threshold here since it's now done in
3165 display-buffer-below-selected.
3167 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3169 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3170 xterm-rgb-convert-to-16bit.
3171 (rxvt-register-default-colors): Standardize with
3172 xterm-register-default-colors (Bug#14078).
3174 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3176 * simple.el (kill-region): Pass mark first, then point, so that
3177 kill-append works right (Bug#12819).
3178 (copy-region-as-kill, kill-ring-save): Likewise.
3180 2013-12-17 Leo Liu <sdl.web@gmail.com>
3182 * net/rcirc.el (rcirc-add-face):
3183 * eshell/em-prompt.el (eshell-emit-prompt):
3184 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3187 2013-12-17 Chong Yidong <cyd@gnu.org>
3189 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3190 Suggested by Xue Fuqiao.
3192 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3194 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3196 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3198 * net/shr.el (shr-insert-document): Remove unused var
3199 `shr-preliminary-table-render'.
3200 (shr-rescale-image): Remove unused arg `force'.
3201 (shr-put-image): Update calls accordingly.
3202 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3204 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3206 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3207 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3208 :close-all, to see which indentation method to use (Bug#16116).
3209 (smie-rules-function): Document the method :close-all.
3211 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3213 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3215 * net/eww.el (eww-display-html): If we can't find the anchor we're
3216 looking for, then go to point-min.
3218 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3220 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3221 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3222 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3223 Expand dir too, in case it's relative.
3225 2013-12-16 Juri Linkov <juri@jurta.org>
3227 * desktop.el (desktop-auto-save-timeout): Change default to
3228 `auto-save-timeout'. Doc fix.
3229 (desktop-save): Skip the timestamp in desktop-saved-frameset
3230 when checking for auto-save changes.
3231 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3232 `desktop-auto-save' is called repeatedly by the idle timer.
3233 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3234 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3237 2013-12-16 Juri Linkov <juri@jurta.org>
3239 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3241 (isearch-pre-command-hook): Check `this-command' for symbolp.
3243 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3245 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3247 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3249 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3250 (cfengine3--current-function): Bring in the current-function
3251 functionality from `cfengine3--current-word'.
3252 (cfengine3-completion-function): Bring in the
3253 bounds-of-current-word functionality from
3254 `cfengine3--current-word'.
3256 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3258 * window.el (display-buffer-below-selected):
3259 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3261 2013-12-16 Leo Liu <sdl.web@gmail.com>
3263 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3264 Remove NOMSG arg and all uses changed.
3266 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3268 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3269 (cua--deactivate-rectangle): Don't deactivate the mark.
3270 (cua-set-rectangle-mark): Don't set mark-active since
3271 cua--activate-rectangle already does it for us.
3272 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3273 non-rectangular region.
3275 * emulation/cua-base.el (cua-repeat-replace-region):
3276 Use with-current-buffer.
3278 * net/gnutls.el: Use cl-lib.
3279 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3281 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3283 * emacs-lisp/package.el (package-built-in-p): Support both
3284 built-in and the package.el converted package descriptions.
3285 (package-show-package-list): Allow keywords.
3286 (package-keyword-button-action): Use it instead of
3287 `finder-list-matches'.
3288 (package-menu-filter-interactive): Interactive filtering (by
3290 (package-menu--generate): Support keywords and change keymappings
3291 and headers when they are given.
3292 (package--has-keyword-p): Helper function.
3293 (package-menu--refresh): Use it.
3294 (package--mapc): Helper function.
3295 (package-all-keywords): Use it.
3296 (package-menu-mode-map): Set up menu items and keybindings to
3297 provide a filtering UI.
3299 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3301 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3302 the behavior when a certificate fails validation. Defaults to
3303 old behavior: never abort, just warn.
3304 (gnutls-negotiate): Use it.
3306 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3308 * window.el (display-buffer-below-selected): Never split window
3309 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3311 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3313 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3314 (package-buffer-info): Use it (bug#15108).
3316 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3318 * icomplete.el (icomplete-completions): Make sure the prefix is already
3319 displayed elsewhere before hiding it (bug#16219).
3321 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3323 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3324 open-paren tokens when preceded by a open-paren, too.
3325 (ruby-smie-rules): Handle virtual indentation after open-paren
3326 tokens specially. If there is code between it and eol, return the
3327 column where is starts (Bug#16118).
3329 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3331 * progmodes/cfengine.el: Fix `add-hook' doc.
3332 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3333 (cfengine3--current-word): Fix parameters.
3334 (cfengine3-make-syntax-cache): Simplify further.
3335 (cfengine3-completion-function, cfengine3--current-function):
3336 Use `assq' for symbols.
3337 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3339 2013-12-13 Glenn Morris <rgm@gnu.org>
3341 * loadup.el (load-path): Warn if site-load or site-init changes it.
3342 No more need to reset it when bootstrapping.
3344 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3346 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3347 locations for cf-promises.
3348 (cfengine-mode-syntax-functions-regex): New caching variable.
3349 (cfengine3-fallback-syntax): Fallback syntax for cases where
3350 cf-promises doesn't run.
3351 (cfengine3--current-word): Reimplement using
3352 `cfengine-mode-syntax-functions-regex'.
3353 (cfengine3-completion-function, cfengine3--current-function):
3354 Use `cfengine3-make-syntax-cache' directly.
3355 (cfengine3-clear-syntax-cache): New function.
3356 (cfengine3-make-syntax-cache): Simplify and create
3357 `cfengine-mode-syntax-functions-regex' on demand.
3358 (cfengine3-format-function-docstring): Don't call
3359 `cfengine3-make-syntax-cache' explicitly.
3361 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3363 Fix windmove-find-other-window broken after pixelwise resizing
3365 * windmove.el (windmove-other-window-loc): Revert change from
3367 (windmove-find-other-window): Call window-in-direction.
3368 * window.el (window-in-direction): New arguments SIGN, WRAP and
3369 MINI to emulate original windmove-find-other-window behavior.
3371 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3373 * simple.el (blink-matching--overlay): New variable.
3374 (blink-matching-open): Instead of moving point, highlight the
3375 matching paren with an overlay
3376 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3378 * faces.el (paren-showing-faces, show-paren-match)
3379 (show-paren-mismatch): Move from paren.el.
3381 2013-12-13 Leo Liu <sdl.web@gmail.com>
3383 * indent.el (indent-region): Disable progress reporter in
3384 minibuffer. (Bug#16108)
3386 * bindings.el (visual-order-cursor-movement): Fix version.
3388 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3390 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3391 Also match after beginning of line.
3392 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3393 files. Thanks to Russell Sim. (Bug#15378)
3395 2013-12-13 Juri Linkov <juri@jurta.org>
3397 * simple.el <Keypad support>: Remove key bindings duplicated
3398 with bindings.el. (Bug#14397)
3400 2013-12-13 Juri Linkov <juri@jurta.org>
3402 * comint.el (comint-mode-map): Replace `delete-char' with
3403 `delete-forward-char'. (Bug#16109)
3405 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3407 * progmodes/python.el (python-indent-calculate-indentation):
3408 Fix de-denters cornercase. (Bug#15731)
3410 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3412 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3413 (advice--make): Pay attention to `depth'.
3414 (advice--make-1): Don't autoload commands eagerly.
3415 * emacs-lisp/elp.el (elp-instrument-function):
3416 * emacs-lisp/trace.el (trace-function-internal):
3417 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3419 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3421 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3423 * term/w32-win.el (w32-handle-dropped-file):
3424 * startup.el (normal-top-level):
3425 * net/browse-url.el (browse-url-file-url):
3426 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3427 decode file names using 'utf-8' rather than
3428 file-name-coding-system.
3430 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3432 * progmodes/python.el (python-indent-context)
3433 (python-indent-calculate-indentation): Fix auto-identation
3434 behavior for comment blocks. (Bug#15916)
3436 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3438 * progmodes/python.el (python-indent-calculate-indentation):
3439 When determining indentation, don't treat "return", "pass", etc., as
3440 operators when they are just string constituents. (Bug#15812)
3442 2013-12-12 Juri Linkov <juri@jurta.org>
3444 * uniquify.el (uniquify-buffer-name-style): Change default to
3445 `post-forward-angle-brackets'.
3447 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3448 `uniquify'. Change default to `post-forward-angle-brackets'.
3450 2013-12-11 Glenn Morris <rgm@gnu.org>
3452 * emacs-lisp/package.el (finder-list-matches):
3453 Autoload rather than falsely declaring.
3455 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3457 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3458 (eww-mode-map): Use them.
3460 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3462 * window.el (display-buffer-in-side-window): Fix doc-string
3465 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3467 * vc/vc-git.el: Silence byte-compiler warnings.
3468 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3469 (log-edit-set-header): Declare.
3471 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3473 * Makefile.in (custom-deps, finder-data): Run output file names
3474 through unmsys--file-name. (Bug#16099)
3476 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3478 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3479 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3481 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3482 instead of deleting the selection "by hand" (bug#16098).
3483 Rely on insert-for-yank to yank rectangles.
3484 (cua-highlight-region-shift-only): Mark obsolete.
3485 (cua-mode): Don't enable/disable transient-mark-mode,
3486 shift-select-mode (cua-mode works both with and without them), and
3487 pc-selection-mode (obsolete).
3488 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3489 (cua--deactivate-rectangle): Deactivate it.
3491 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3492 (delete-selection-helper): Make sure yank starts at the top of the
3494 (minibuffer-keyboard-quit): Use region-active-p.
3496 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3498 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3499 to `delete' (bug#16109).
3501 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3503 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3504 info manual and show keybindings and set `:group' keyword.
3506 2013-12-11 Juri Linkov <juri@jurta.org>
3508 * delsel.el (delete-active-region): Let-bind `this-command'
3509 to prevent `kill-region' from changing its original value.
3510 (delete-selection-helper): Handle `overwrite-mode' for the type
3511 `kill' exactly the same way as for the type `t'.
3512 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3513 Support more commands. (Bug#13312)
3515 2013-12-11 Juri Linkov <juri@jurta.org>
3517 * bindings.el: Map kp keys to non-kp keys systematically
3518 with basic modifiers control, meta and shift. (Bug#14397)
3520 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3522 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3523 "Close browser" menu items. Fix wrong function of "List
3526 2013-12-11 Juri Linkov <juri@jurta.org>
3528 * misearch.el (multi-isearch-buffers): Set the value of
3529 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3530 arg of isearch-forward to t.
3531 (multi-isearch-buffers-regexp): Set the value of
3532 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3533 arg of isearch-forward-regexp to t.
3534 (multi-isearch-files): Set the value of
3535 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3536 arg of isearch-forward to t.
3537 (multi-isearch-files-regexp): Set the value of
3538 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3539 arg of isearch-forward-regexp to t. (Bug#16035)
3541 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3542 arg of isearch-forward to t.
3543 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3544 arg of isearch-forward-regexp to t.
3545 (dired-isearch-filter-filenames): Remove unnecessary check for
3546 `dired-isearch-filenames'.
3548 * comint.el (comint-history-isearch-backward):
3549 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3550 (comint-history-isearch-backward-regexp):
3551 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3553 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3555 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3556 unmsys--file-name. (Bug#16099)
3558 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3560 * emacs-lisp/package.el (package-keyword-button-action):
3561 Remove finder.el require dependency.
3563 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3565 * emacs-lisp/package.el: Require finder.el.
3566 (describe-package-1): Add keyword buttons.
3567 (package-make-button): New convenience function.
3568 (package-keyword-button-action): Keyword button action using
3569 `finder-list-matches'.
3571 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3573 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3576 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3578 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3581 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3583 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3584 after the end of a percent literal.
3586 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3588 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3589 Handle caret-delimited strings (Bug#16079).
3591 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3593 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3594 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3595 `ruby-parse-partial' (Bug#16078).
3597 2013-12-09 Leo Liu <sdl.web@gmail.com>
3599 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3601 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3603 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3604 (js-switch-indent-offset): New option.
3605 (js--proper-indentation): Use it. And handle the case when
3606 "default" is actually a key in an object literal.
3607 (js--same-line): New function.
3608 (js--multi-line-declaration-indentation): Use it.
3609 (js--indent-in-array-comp, js--array-comp-indentation):
3611 (js--proper-indentation): Use them, to handle array comprehension
3614 2013-12-08 Leo Liu <sdl.web@gmail.com>
3616 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3617 (flymake-make-overlay): Remove arg MOUSE-FACE.
3618 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3620 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3622 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3624 (redisplay-highlight-region-function): Use it.
3626 * emulation/cua-base.el (cua--explicit-region-start)
3627 (cua--last-region-shifted): Remove.
3628 (cua--deactivate): Use deactivate-mark.
3629 (cua--pre-command-handler-1): Don't handle shift-selection.
3630 (cua--post-command-handler-1): Don't change transient-mark-mode.
3631 (cua--select-keymaps): Use region-active-p rather than
3632 cua--explicit-region-start or cua--last-region-shifted.
3633 (cua-mode): Enable shift-select-mode.
3635 2013-12-08 Leo Liu <sdl.web@gmail.com>
3637 * progmodes/flymake.el (flymake-popup-current-error-menu):
3638 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3639 (flymake-posn-at-point-as-event, flymake-popup-menu)
3640 (flymake-make-emacs-menu): Remove. (Bug#16077)
3642 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3644 * rect.el (rectangle-mark-mode): Activate mark even if
3645 transient-mark-mode is off (bug#16066).
3646 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3647 is > mark and at bolp.
3649 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3650 (region-extract-function): Use it.
3651 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3652 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3654 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3655 kill-ring-save, kill-region, delete-char, delete-forward-char.
3656 Ignore self-insert-iso.
3658 * emulation/cua-gmrk.el (cua--init-global-mark):
3659 Ignore `self-insert-iso'.
3661 * emulation/cua-base.el (cua--prefix-copy-handler)
3662 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3663 checking cua--rectangle.
3664 (cua-delete-region): Use region-extract-function.
3665 (cua-replace-region): Delete function.
3666 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3667 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3668 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3669 (cua--init-keymaps): Don't remap delete-selection commands.
3670 (cua-mode): Use delete-selection-mode instead of rolling our own
3673 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3674 Obey region-extract-function.
3676 Make registers and delete-selection-mode work on rectangles.
3677 * register.el (describe-register-1): Don't modify the register's value.
3678 (copy-to-register): Obey region-extract-function.
3679 * delsel.el (delete-active-region): Obey region-extract-function.
3681 2013-12-08 Leo Liu <sdl.web@gmail.com>
3683 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3684 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3685 (flymake-compilation-prevents-syntax-check)
3686 (flymake-start-syntax-check-on-newline)
3687 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3688 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3689 (flymake-xml-program, flymake-master-file-dirs)
3690 (flymake-master-file-count-limit)
3691 (flymake-allowed-file-name-masks): Relocate.
3692 (flymake-makehash, flymake-float-time)
3693 (flymake-replace-regexp-in-string, flymake-split-string)
3694 (flymake-get-temp-dir): Remove.
3695 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3696 (flymake-current-row, flymake-selected-frame)
3697 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3698 related functions. (Bug#16077)
3700 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3702 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3704 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3706 * help-fns.el (describe-function-1): Use new advice-* functions
3707 rather than old ad-* functions. Fix function type description and
3708 source links for advised functions and subrs.
3710 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3712 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3714 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3716 * progmodes/compile.el (compilation-start):
3717 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3719 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3720 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3722 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3724 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3725 Touch up the last change.
3727 2013-12-06 Leo Liu <sdl.web@gmail.com>
3729 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3730 (inferior-octave-startup): Always use "octave> " for prompt.
3731 (octave-goto-function-definition)
3732 (octave-sync-function-file-names)
3733 (octave-find-definition-default-filename): Remove redundant backquotes.
3735 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3737 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3739 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3740 where appropriate already.
3741 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3742 end of method names (Bug#15874).
3744 2013-12-06 Juri Linkov <juri@jurta.org>
3746 * isearch.el (isearch--saved-overriding-local-map):
3747 New internal variable.
3748 (isearch-mode): Set it to the initial value of
3749 `overriding-terminal-local-map'.
3750 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3751 with `isearch--saved-overriding-local-map'. (Bug#16035)
3753 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3755 * progmodes/octave.el (inferior-octave-completion-table):
3756 Turn back into function, use `completion-table-with-cache'
3757 (Bug#11906). Update all references.
3759 * minibuffer.el (completion-table-with-cache): New function.
3761 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3763 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3765 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3767 * net/eww.el (eww-current-source): New variable to store page
3769 (eww-display-html, eww-mode, eww-save-history)
3770 (eww-restore-history): Use it.
3771 (eww-view-source): New command to view page source.
3772 Opportunistically uses `html-mode' to highlight the buffer.
3773 (eww-mode-map): Install it.
3775 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3777 * net/dbus.el (dbus-unregister-service)
3778 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3780 (dbus-unregister-service): Skip :serial entries in
3781 `dbus-registered-objects-table'.
3782 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3784 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3786 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3787 around keywords with extra `split-string' argument.
3789 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3791 * windmove.el (windmove-other-window-loc): Handle navigation
3792 between windows (excluding the minibuffer window - Bug#16017).
3794 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3796 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3797 in D-Bus type syntax.
3798 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3799 preserve unibyte strings. (Bug#16048)
3801 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3803 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3804 Call force-mode-line-update is the proper buffer (bug#16042).
3806 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3808 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3809 `log-edit-remember-comment', make argument optional. Adjust all
3811 (log-edit-mode): Add `log-edit-remember-comment' to
3812 `kill-buffer-hook' locally.
3813 (log-edit-kill-buffer): Don't remember comment explicitly since
3814 the buffer is killed anyway.
3816 2013-12-04 Juri Linkov <juri@jurta.org>
3818 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3819 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3821 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3823 * notifications.el (notifications-close-notification): Call the
3824 D-Bus method with ID being a `:uint32'. (Bug#16030)
3826 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3828 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3830 2013-12-03 Juri Linkov <juri@jurta.org>
3832 * progmodes/compile.el (compilation-start): Rename window alist
3833 entry `no-display-ok' to `allow-no-window'.
3835 * simple.el (shell-command): Add window alist entry
3836 `allow-no-window' to `display-buffer'.
3837 (async-shell-command): Doc fix.
3839 * window.el (display-buffer-no-window): New action function.
3840 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3842 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3844 * vc/log-edit.el (log-edit-set-header): Extract from
3845 `log-edit-toggle-header'.
3846 (log-edit-extract-headers): Separate the summary, when extracted
3847 from header, from the rest of the message with an empty line.
3849 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3850 line, if present, to the Summary header.
3852 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3854 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3855 in current-buffer (bug#16029).
3857 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3859 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3860 (debugger-mode-map): Bind it.
3861 (debugger--backtrace-base): New function.
3862 (debugger-eval-expression): Use it.
3863 (debugger-frame-number): Skip local vars when present.
3864 (debugger--locals-visible-p, debugger--insert-locals)
3865 (debugger--show-locals, debugger--hide-locals): New functions.
3867 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3869 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3871 (tramp-get-remote-locale): New defun.
3872 (tramp-open-connection-setup-interactive-shell): Use it.
3874 2013-12-02 Leo Liu <sdl.web@gmail.com>
3876 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3878 * progmodes/sh-script.el (sh-shell-process):
3879 * progmodes/octave.el (inferior-octave-process-live-p):
3880 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3881 (gdb-inferior-io-sentinel):
3882 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3884 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3886 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3887 `save-selected-window' to `log-edit-hide-buf'. This makes
3888 `log-edit-show-files' idempotent.
3889 (log-edit-show-files): Mark the new window as dedicated.
3891 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3893 * vc/log-edit.el (log-edit-mode-map): Add binding for
3894 `log-edit-kill-biffer'.
3895 (log-edit-hide-buf): Add a FIXME comment.
3896 (log-edit-add-new-comment): New function, extracted from
3898 (log-edit-done, log-edit-add-to-changelog): Use it.
3899 (log-edit-kill-buffer): New command.
3901 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3903 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3904 instead of killing the buffer.
3906 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3908 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3910 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3912 * net/eww.el (eww-form-checkbox-selected-symbol)
3913 (eww-form-checkbox-symbol): New customizable variable.
3914 (eww-form-checkbox, eww-toggle-checkbox):
3915 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3917 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3918 (shr--get-media-pref, shr--extract-best-source): New function.
3919 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3920 no :src tag was specified.
3922 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3923 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3924 Use \\` to match beginning of string instead of ^.
3925 (eww-browse-with-external-browser): Provide optional URL parameter.
3926 (eww-render): Set `eww-current-title' back to "".
3928 * net/shr.el (shr-tag-video): Display content for video if no
3929 poster is available.
3930 (shr-tag-audio): Add support for <audio> tag.
3932 * net/eww.el (eww-text-input-types): New const.
3933 (eww-process-text-input): Treat input types in
3934 `eww-text-input-types' as text.
3936 * net/shr.el (shr-tag-table): Fix comment typo.
3938 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3940 * net/eww.el (eww-follow-link): New command to avoid reloading
3941 pages when we follow #target links (bug#15243).
3942 (eww-quit): Special mode buffers shouldn't query before exiting.
3944 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3946 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3949 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3951 * net/eww.el (eww-restore-history): Update the window title after
3952 moving in the history.
3953 (eww-current-dom): New variable used to save the current DOM.
3955 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3957 * vc/log-edit.el (log-edit-mode-map): Add binding for
3958 `log-edit-beginning-of-line'.
3959 (log-edit-setup-add-author): New user option.
3960 (log-edit-beginning-of-line): New command.
3961 (log-edit): Move major mode call above the contents setup so that
3962 the local variable values are already applied.
3963 (log-edit): Only insert "Author: " when
3964 `log-edit-setup-add-author' is non-nil.
3965 (log-edit): When SETUP is non-nil, position point after ": "
3966 instead of point-min.
3968 2013-12-01 Glenn Morris <rgm@gnu.org>
3970 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3972 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3974 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3975 redisplay to make sure the initial frame gets a chance to become
3976 visible. (Bug#16014)
3978 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3980 Support resizing frames and windows pixelwise.
3981 * cus-start.el (frame-resize-pixelwise)
3982 (window-resize-pixelwise): New entries.
3983 * emacs-lisp/debug.el (debug): Use window-total-height instead
3984 of window-total-size.
3985 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3986 * help.el (describe-bindings-internal): Use help-buffer as
3987 argument for with-help-window.
3988 (temp-buffer-max-width): New option.
3989 (resize-temp-buffer-window, help-window-setup)
3990 (with-help-window): Rewrite.
3991 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3993 * window.el (frame-char-size, window-min-pixel-height)
3994 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3995 (window-min-pixel-width, window-safe-min-pixel-size)
3996 (window-combination-p, window-safe-min-size)
3997 (window-resizable-p, window--size-to-pixel)
3998 (window--pixel-to-size, window--resize-apply-p): New functions.
3999 (window-safe-min-height): Fix doc-string.
4000 (window-size, window-min-size, window--min-size-1)
4001 (window-sizable, window-sizable-p, window--min-delta-1)
4002 (window-min-delta, window--max-delta-1, window-max-delta)
4003 (window--resizable, window--resizable-p, window-resizable)
4004 (window-full-height-p, window-full-width-p, window-at-side-p)
4005 (window--in-direction-2, window-in-direction)
4006 (window--resize-reset-1, window--resize-mini-window)
4007 (window-resize, window-resize-no-error)
4008 (window--resize-child-windows-normal)
4009 (window--resize-child-windows, window--resize-siblings)
4010 (window--resize-this-window, window--resize-root-window)
4011 (window--resize-root-window-vertically)
4012 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4013 (maximize-window, minimize-window, delete-window)
4014 (quit-restore-window, window-split-min-size, split-window)
4015 (balance-windows-2, balance-windows)
4016 (balance-windows-area-adjust, balance-windows-area)
4017 (window--state-get-1, window-state-get, window--state-put-1)
4018 (window--state-put-2, window-state-put)
4019 (display-buffer-record-window, window--display-buffer):
4020 Make functions handle pixelwise sizing of windows.
4021 (display-buffer--action-function-custom-type)
4022 (display-buffer-fallback-action):
4023 Add display-buffer-in-previous-window.
4024 (display-buffer-use-some-window): Resize window to height it had
4026 (fit-window-to-buffer-horizontally): New option.
4027 (fit-frame-to-buffer): Describe new values.
4028 (fit-frame-to-buffer-bottom-margin): Replace with
4029 fit-frame-to-buffer-margins.
4030 (window--sanitize-margin): New function.
4031 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4032 using window-text-pixel-size.
4034 2013-11-30 Glenn Morris <rgm@gnu.org>
4036 * emacs-lisp/bytecomp.el (byte-compile-form):
4037 Make the `interactive-only' warning like the `obsolete' one.
4038 * comint.el (comint-run):
4039 * files.el (insert-file-literally, insert-file):
4040 * replace.el (replace-string, replace-regexp):
4041 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4042 (goto-line, insert-buffer, next-line, previous-line):
4043 Tweak `interactive-only' spec.
4045 Stop keeping (most) generated cedet grammar files in the repository.
4046 * Makefile.in (semantic): New.
4047 (compile-main): Depend on semantic.
4049 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4051 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4052 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4054 * uniquify.el (uniquify-buffer-name-style): Change default.
4056 * loadup.el: Preload "uniquify".
4058 * time.el (display-time-update): Update all mode lines (bug#15999).
4060 * electric.el (electric-indent-mode): Enable by default.
4061 * loadup.el: Preload "electric".
4063 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4065 * emacs-lisp/helpers.el (string-empty-p): New function.
4066 (string-blank-p): New function.
4068 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4070 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4073 2013-11-29 Andreas Politz <politza@fh-trier.de>
4074 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4075 allow non-lambda lists as functions.
4076 (imenu--in-alist): Don't recurse into non-subalists.
4077 (imenu): Don't pass function itself as an argument (Bug#14029).
4079 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4081 * progmodes/python.el (python-mode-map): Remove binding for ":".
4082 (python-indent-electric-colon): Remove command.
4083 (python-indent-post-self-insert-function): Integrate the previous code
4084 of python-indent-electric-colon. Make it conditional on
4085 electric-indent-mode.
4086 (python-mode): Add ?: to electric-indent-chars.
4087 Move python-indent-post-self-insert-function to the end of
4088 post-self-insert-hook.
4090 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4092 * doc-view.el (doc-view-goto-page): Update mode-line.
4094 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4096 2013-11-27 Glenn Morris <rgm@gnu.org>
4098 * international/charprop.el, international/uni-bidi.el:
4099 * international/uni-category.el, international/uni-combining.el:
4100 * international/uni-comment.el, international/uni-decimal.el:
4101 * international/uni-decomposition.el, international/uni-digit.el:
4102 * international/uni-lowercase.el, international/uni-mirrored.el:
4103 * international/uni-name.el, international/uni-numeric.el:
4104 * international/uni-old-name.el, international/uni-titlecase.el:
4105 * international/uni-uppercase.el:
4106 Remove generated files from VCS repository.
4108 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4110 * filenotify.el (file-notify-add-watch): Don't special-case
4111 w32notify when computing the directory to watch.
4113 2013-11-27 Glenn Morris <rgm@gnu.org>
4115 Make bootstrap without generated uni-*.el files possible again.
4116 * loadup.el: Update command-line-args checking for unidata-gen.
4117 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4118 * composite.el, international/characters.el:
4119 Handle unicode tables being undefined.
4121 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4122 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4123 (compile-main): Depend on leim rule.
4125 * loadup.el: Move leim-list.el to leim/ subdirectory.
4126 * startup.el (normal-top-level): No more leim directory.
4127 * international/ja-dic-cnv.el (skkdic-convert):
4128 Disable version-control and autoloads in output files.
4129 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4130 Disable version-control and autoloads in output files.
4131 * leim/quail: Move here from ../leim.
4132 * leim/quail/hangul.el (hangul-input-method-activate):
4133 Add autoload cookie.
4134 (generated-autoload-load-name): Set file-local value.
4135 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4136 (generated-autoload-load-name): Set file-local value.
4138 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4140 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4141 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4142 (eww-quit): Ask confirmation before quitting eww.
4144 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4146 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4147 reading output from Diff on MS-Windows and MS-DOS.
4149 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4151 * emacs-lisp/helpers.el (string-reverse): New function.
4153 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4155 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4156 names on MS Windows, like "/[::1]:".
4158 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4161 2013-11-26 Glenn Morris <rgm@gnu.org>
4163 * progmodes/python.el (python-indent-guess-indent-offset):
4164 Avoid corner-case error. (Bug#15975)
4166 Preload leim-list.el. (Bug#4789)
4167 * loadup.el: Load leim-list.el when found.
4168 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4170 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4172 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4174 * emacs-lisp/helpers.el (string-join): New function.
4176 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4178 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4179 Mark as obsolete and replace it with a symbol property.
4180 (byte-compile-form): Use new 'interactive-only property.
4181 * comint.el, files.el, replace.el, simple.el:
4182 Apply new 'interactive-only properly.
4184 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4186 * window.el (display-buffer-at-bottom): Make sure that
4187 split-window-sensibly creates the new window on bottom
4190 2013-11-23 David Kastrup <dak@gnu.org>
4192 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4193 on the conflict markers when available.
4194 (smerge--get-marker): New function.
4195 (smerge-end-re, smerge-base-re): Add subgroup.
4197 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4199 * frame.el (handle-focus-in, handle-focus-out): Add missing
4202 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4204 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4205 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4207 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4209 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4210 (gomoku--last-pos): New var.
4211 (gomoku--intangible-chars): New const.
4212 (gomoku--intangible): New function.
4213 (gomoku-mode): Use it. Derive from special-mode.
4214 (gomoku-move-up): Adjust line count.
4215 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4216 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4217 Simplify accordingly.
4219 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4220 Remove blink-cursor code.
4221 (blink-cursor-timer-function, blink-cursor-suspend):
4222 Don't special-case GUIs.
4223 (blink-cursor-mode): Use focus-in/out-hook.
4225 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4227 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4228 work when annotation is invisible (Bug#13886).
4230 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4232 * json.el (json-alist-p): Only return non-nil if the alist has
4233 simple keys (Bug#13518).
4235 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4237 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4238 when control-statement is the first statement in a buffer (Bug#15956).
4240 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4242 * imenu.el (imenu-generic-skip-comments-and-strings):
4243 New option (Bug#15560).
4244 (imenu--generic-function): Use it.
4246 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4248 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4251 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4253 * emacs-lisp/helpers.el: Add some string helpers.
4254 (string-trim-left): Removes leading whitespace.
4255 (string-trim-right): Removes trailing whitespace.
4256 (string-trim): Removes leading and trailing whitespace.
4258 * subr.el (string-suffix-p): New function.
4260 2013-11-23 Glenn Morris <rgm@gnu.org>
4262 * progmodes/python.el (python-shell-send-file):
4263 Add option to delete file when done. (Bug#15647)
4264 (python-shell-send-string, python-shell-send-region): Use it.
4266 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4268 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4269 to set buffer-read-only to t, never to nil. (Bug#15938)
4271 * textmodes/tex-mode.el (latex-noindent-environments):
4272 Add safe-local-variable property. (Bug#15936)
4274 2013-11-23 Glenn Morris <rgm@gnu.org>
4276 * textmodes/enriched.el (enriched-mode): Doc fix.
4277 * emacs-lisp/authors.el (authors-renamed-files-alist):
4278 Add enriched.doc -> enriched.txt.
4280 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4282 2013-11-22 Leo Liu <sdl.web@gmail.com>
4284 * progmodes/octave.el (inferior-octave-startup): Spit out error
4287 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4289 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4292 (ruby-encoding-magic-comment-style): Add :version.
4294 2013-11-22 Leo Liu <sdl.web@gmail.com>
4296 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4298 (octave-help-mode): Adapt to change to help-mode-finish to use
4299 derived-mode-p on 2013-09-17.
4300 (inferior-octave-prompt): Also match octave-gui.
4301 (octave-kill-process): Don't ask twice. (Bug#10564)
4303 2013-11-22 Leo Liu <sdl.web@gmail.com>
4305 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4306 (inferior-octave-startup, inferior-octave-check-process)
4307 (inferior-octave-track-window-width-change)
4308 (octave-completion-at-point, octave-eldoc-function): Use it.
4309 (octave-kill-process): Provide confirmation. (Bug#10564)
4311 2013-11-21 Leo Liu <sdl.web@gmail.com>
4313 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4314 Fix obsolete variable comment-use-global-state.
4316 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4318 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4319 Add `octave-source-file'.
4320 (octave-source-file): New function. (Bug#15935)
4322 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4324 * net/eww.el (eww-local-regex): New variable.
4325 (eww): Use it to detect localhost and similar.
4327 2013-11-21 Leo Liu <sdl.web@gmail.com>
4329 Add completion for command `ag'.
4330 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4331 (pcomplete/ag): New function.
4332 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4334 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4336 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4338 (make-obsolete): Remove interactive spec.
4340 2013-11-21 Glenn Morris <rgm@gnu.org>
4342 * startup.el (command-line-1): Use path-separator with -L.
4344 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4346 * emacs-lisp/package.el (describe-package-1): Add package archive
4349 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4351 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4352 Change default to "# encoding: %s" to differentiate it from the
4353 default Ruby encoding comment template.
4355 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4357 * ses.el (ses-mode): Doc fix. (Bug#14748)
4359 2013-11-20 Leo Liu <sdl.web@gmail.com>
4361 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4363 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4365 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4366 when rebase or bisect are in progress.
4368 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4370 * filenotify.el (file-notify-add-watch): Doc fix.
4372 2013-11-19 Leo Liu <sdl.web@gmail.com>
4374 * obsolete/rcompile.el: Mark obsolete.
4376 * progmodes/compile.el (compilation-start)
4377 (compilation-goto-locus, compilation-find-file):
4378 Pass no-display-ok and handle nil value from display-buffer.
4381 * window.el (display-buffer-alist, display-buffer): Document the
4382 new parameter no-display-ok. Return either a window or nil
4383 but never a non-window value.
4385 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4387 * electric.el (electric-indent-mode-map): Remove.
4388 (electric-indent-mode): Change the global-map instead (bug#15915).
4390 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4393 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4395 * emacs-lisp/nadvice.el (remove-function): Align with
4396 add-function's behavior.
4398 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4399 (gdb--string-regexp): New constant.
4400 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4401 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4402 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4404 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4405 Adjust use accordingly.
4406 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4408 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4410 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4411 interpolation curlies (Bug#15914).
4413 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4415 * calc/calc.el (calc-context-sensitive-enter): New variable.
4416 (calc-enter): Use `calc-context-sensitive-enter'.
4418 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4420 * progmodes/cfengine.el: Version bump.
4421 (cfengine-cf-promises): New defcustom to locate cf-promises.
4422 (cfengine3-vartypes): Add new "data" type.
4423 (cfengine3--current-word): New function to get current name-like
4425 (cfengine3--current-function): New function to look up a CFEngine
4426 function's definition.
4427 (cfengine3-format-function-docstring): New function.
4428 (cfengine3-make-syntax-cache): New function.
4429 (cfengine3-documentation-function): New function: ElDoc glue.
4430 (cfengine3-completion-function): New function: completion glue.
4431 (cfengine3-mode): Set `compile-command',
4432 `eldoc-documentation-function', and add to
4433 `completion-at-point-functions'.
4435 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4437 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4438 `tramp-current-connection'.
4440 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4442 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4443 nil/self/true/false with "end of symbol".
4445 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4447 * subr.el (version-regexp-alist): Fix a typo.
4449 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4451 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4452 "en_US.utf8" and "LC_CTYPE" to "".
4453 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4454 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4456 2013-11-15 Leo Liu <sdl.web@gmail.com>
4458 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4460 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4462 * progmodes/gud.el (ctl-x-map):
4463 Remove C-x SPC binding. (Bug#12342)
4464 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4466 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4468 * subr.el (version-regexp-alist):
4469 Recognize hg, svn and darcs versions as snapshot versions.
4471 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4472 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4473 (ruby--encoding-comment-required-p): Extract from
4474 `ruby-mode-set-encoding'.
4475 (ruby-mode-set-encoding): Add the ability to always insert an
4476 utf-8 encoding comment. Fix and simplify coding comment update
4479 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4481 * net/tramp-gvfs.el (top): Run init code only when
4482 `tramp-gvfs-enabled' is not nil.
4483 (tramp-gvfs-enabled): Check also :system bus.
4485 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4487 Sync with upstream verilog-mode revision 78e66ba.
4488 * progmodes/verilog-mode.el (verilog-end-of-defun)
4489 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4490 (verilog-get-end-of-defun): Remove unused argument.
4491 (verilog-comment-depth): Remove unused local `e'.
4492 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4493 Don't pass arg to verilog-get-end-of-defun.
4495 2013-11-14 Glenn Morris <rgm@gnu.org>
4497 * obsolete/assoc.el (aget): Prefix dynamic variable.
4499 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4501 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4503 * widget.el, hfy-cmap.el: Remove bogus package version number.
4505 2013-11-13 Glenn Morris <rgm@gnu.org>
4507 * replace.el (replace-eval-replacement):
4508 Try to give more helpful error message. (Bug#15836)
4510 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4511 (archive-7z-update): Avoid custom type mismatches.
4513 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4515 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4517 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4518 address can be empty.
4520 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4521 Accept nil SWITCHES.
4522 (tramp-gvfs-handle-write-region): Implement APPEND.
4524 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4526 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4527 binary "|" operator and closing block args delimiter.
4528 Remove FIXME comment referring to Ruby 1.8-only syntax.
4529 (ruby-smie--implicit-semi-p): Not after "|" operator.
4530 (ruby-smie--closing-pipe-p): New function.
4531 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4532 (ruby-smie-rules): Indent after "|".
4534 2013-11-12 Glenn Morris <rgm@gnu.org>
4536 * ps-print.el (ps-face-attribute-list):
4537 Handle anonymous faces. (Bug#15827)
4539 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4541 * window.el (display-buffer-other-frame): Fix doc-string.
4544 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4546 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4548 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4550 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4551 (tramp-sh-handle-file-local-copy): Don't write a message when
4552 saving temporary files.
4554 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4555 both directories are remote.
4556 (tramp-smb-handle-directory-files): Do not return double entries.
4557 Do not expand full file names.
4558 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4559 (tramp-smb-handle-write-region): Implement APPEND.
4560 (tramp-smb-get-stat-capability): Fix a stupid bug.
4562 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4564 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4566 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4568 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4569 throwing error over malformed let/let* (bug#15814).
4571 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4573 * iswitchb.el (iswitchb-mode): Mark obsolete.
4575 2013-11-11 Glenn Morris <rgm@gnu.org>
4577 * international/uni-bidi.el, international/uni-category.el:
4578 * international/uni-name.el, international/uni-numeric.el:
4579 Regenerate for Unicode 6.3.0.
4581 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4583 * net/tramp.el (tramp-methods):
4584 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4585 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4587 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4589 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4590 Force highlighting text after Summary keyword in doc face for rpm.
4592 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4594 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4595 available and the word has no wildcards, append one to the grep pattern.
4596 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4597 (ispell-complete-word): Call `ispell-lookup-words' with the value
4598 independent of `ispell-look-p'.
4600 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4602 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4604 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4607 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4609 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4610 (ruby-font-lock-keywords): Use backquote.
4612 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4614 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4615 (ruby-smie--backward-token): Only consider full-string matches.
4617 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4619 * faces.el (describe-face): Add distant-foreground.
4621 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4623 * progmodes/ruby-mode.el: Improve encoding comment handling.
4624 (ruby-encoding-magic-comment-style): New option.
4625 (ruby-custom-encoding-magic-comment-template): New option.
4626 (ruby--insert-coding-comment, ruby--detect-encoding):
4627 New functions extracted from `ruby-mode-set-encoding'.
4628 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4629 to control the style of the auto-inserted encoding comment.
4631 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4633 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4634 Use `smie-backward-sexp' with token argument.
4636 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4638 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4639 Remove instrumentation code.
4641 2013-11-08 Glenn Morris <rgm@gnu.org>
4643 * progmodes/autoconf.el (autoconf-mode):
4644 Tweak comment-start-skip. (Bug#15822)
4646 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4648 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4649 at bobp (bug#15826).
4650 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4652 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4654 * man.el (Man-start-calling): New macro, extracted from
4655 Man-getpage-in-background.
4656 (Man-getpage-in-background): Use it.
4657 (Man-update-manpage): New command.
4658 (Man-mode-map): Bind it.
4660 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4662 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4663 of "and", "or", "&&" and "||".
4664 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4665 argument. Prohibit opening curly brace because it could only be a
4666 block opener in that position.
4667 (ruby-smie--forward-token, ruby-smie--backward-token):
4668 Separate "|" from "&" or "*" going after it. That can happen in block
4670 (ruby-smie--indent-to-stmt): New function, seeks the end of
4671 previous statement or beginning of buffer.
4672 (ruby-smie-rules): Use it.
4673 (ruby-smie-rules): Check if there's a ":" before a curly block
4674 opener candidate; if there is, it's a hash.
4676 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4678 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4679 (cl--block-wrapper): Fix last accidental change.
4681 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4683 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4684 Instrument, in order to hunt failure on hydra.
4686 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4688 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4689 malformed bindings form (bug#15814).
4691 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4693 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4694 "." compared to " @ ". This incidentally fixes some indentation
4696 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4697 (ruby-smie-grammar): New tokens: "and" and "or".
4698 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4699 Exclude "and" and "or". Remove "do" in order to work around token
4701 (ruby-smie-rules): Add all infix tokens. Handle the case of
4702 beginning-of-buffer.
4704 2013-11-06 Glenn Morris <rgm@gnu.org>
4706 * Makefile.in (setwins_almost, setwins_for_subdirs):
4707 Avoid accidental matches.
4709 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4711 * menu-bar.el (popup-menu): Use key-binding.
4713 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4715 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4716 menus, support also the menus produced by minor modes.
4719 2013-11-06 Leo Liu <sdl.web@gmail.com>
4721 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4722 DISTANCE to bound the search. All uses changed. (Bug#15808)
4724 2013-11-06 Glenn Morris <rgm@gnu.org>
4726 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4727 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4728 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4730 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4732 * electric.el (electric-indent-just-newline): New command.
4733 (electric-indent-mode-map): New keymap.
4734 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4735 Re-add :group which weren't redundant.
4737 * electric.el (electric-indent-local-mode): New minor mode.
4738 (electric-indent-functions-without-reindent): New var.
4739 (electric-indent-post-self-insert-function): Use it.
4740 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4742 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4744 * international/quail.el (quail-help): Be more explicit about the
4745 meaning of the labels shown on the keys. (Bug#15800)
4747 * startup.el (normal-top-level): Load the subdirs.el files before
4748 setting the locale environment. (Bug#15805)
4750 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4752 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4753 via arguments so as to get the right ones (bug#15418).
4755 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4757 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4759 Fix problems found while writing a test suite.
4761 * net/tramp-compat.el (tramp-compat-load): New defun.
4762 * net/tramp.el (tramp-handle-load): Use it.
4764 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4765 "(numberp ok-if-already-exists)" correctly.
4767 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4769 * international/characters.el (glyphless-char-display-control):
4772 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4774 * progmodes/python.el (python-mode):
4775 * progmodes/scheme.el (scheme-mode):
4776 * progmodes/prolog.el (prolog-mode):
4777 * progmodes/ruby-mode.el (ruby-mode):
4778 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4779 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4781 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4783 * rect.el (rectangle--highlight-for-redisplay):
4784 * emacs-lisp/smie.el (smie--next-indent-change):
4785 Use buffer-chars-modified-tick.
4787 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4789 * electric.el (electric-indent-post-self-insert-function):
4790 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4792 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4794 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4796 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4798 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4801 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4803 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4805 * progmodes/python.el: Fix up last change.
4806 (python-shell--save-temp-file): New function.
4807 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4808 `string' comes from the current buffer.
4809 (python-shell-send-string-no-output): Remove `msg' arg.
4810 (python--use-fake-loc): New var.
4811 (python-shell-buffer-substring): Obey it. Try to compensate for the
4812 extra coding line added by python-shell--save-temp-file.
4813 (python-shell-send-region): Use python-shell--save-temp-file and
4814 python-shell-send-file directly. Add `nomain' argument.
4815 (python-shell-send-buffer): Use python-shell-send-region.
4816 (python-electric-pair-string-delimiter): New function.
4817 (python-mode): Use it.
4819 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4821 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4822 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4823 environment and decoding all of the default-directory's to here
4825 (command-line): Decode also argv[0].
4827 * loadup.el: Error out if default-directory is a multibyte string
4828 when we are dumping.
4830 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4832 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4834 * emacs-lisp/package.el (package-menu-mode)
4835 (package-menu--print-info, package-menu--archive-predicate):
4836 Add Archive column to package list.
4838 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4840 Fix problems found while writing a test suite.
4842 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4843 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4844 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4845 to nil when running original file name handler. Otherwise,
4846 there are problems with constructs like "$$FOO".
4848 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4851 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4853 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4855 * subr.el (version<, version<=, version=):
4856 Update docstrings with information for snapshot versions.
4858 * helpers.el: New library for misc helper functions.
4859 (hash-table-keys): New function returning a list of hash keys.
4860 (hash-table-values): New function returning a list of hash values.
4862 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4864 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4865 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4867 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4869 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4870 checking whether point is after a 1-letter word.
4872 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4874 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4875 Don't infloop when expanding region over `multiline' syntax-type that
4876 begins a line (bug#15778).
4878 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4880 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4881 Make it into a proper minor mode.
4882 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4883 (rectangle-mark-mode-map): New keymap.
4884 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4886 2013-11-04 Glenn Morris <rgm@gnu.org>
4888 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4890 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4892 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4893 (ruby-smie-rules): Use smie-rule-parent instead.
4895 * emacs-lisp/smie.el (smie-rule-parent): Always call
4896 smie-indent-virtual rather than only for hanging tokens.
4897 (smie--next-indent-change): New helper command.
4899 2013-11-03 Glenn Morris <rgm@gnu.org>
4901 * Makefile.in (abs_srcdir): Remove.
4902 (emacs): Unset EMACSLOADPATH.
4904 2013-11-02 Glenn Morris <rgm@gnu.org>
4906 * Makefile.in (EMACS): Use a relative filename.
4907 (abs_top_builddir): Remove.
4908 (custom-deps, finder-data, autoloads): Use --chdir.
4910 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4912 Use relative filenames in TAGS files.
4913 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4914 (lisptagsfiles4, TAGS): Use relative file names.
4915 (TAGS-LISP): Remove.
4916 (maintainer-clean): No more TAGS-LISP file.
4918 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4919 (lisptagsfiles4): Use absolute filenames again.
4920 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4921 Remove all *loaddefs files, not just the first. Remove esh-groups.
4922 (maintainer-clean): Delete TAGS, TAGS-LISP.
4924 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4926 * emacs-lisp/package.el (package-version-join):
4927 Recognize snapshot versions.
4929 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4931 * subr.el (version-regexp-alist): Add support for snapshot versions.
4933 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4935 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4936 New function, replacement for `smie-rule-parent' for when we want to
4937 skip over our direct parent if it's an assignment token..
4938 (ruby-smie-rules): Use it.
4940 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4942 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4943 unconditionally. Remove now unnecessary forward declarations.
4944 Remove XEmacs-specific setup.
4945 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4946 (ruby-font-lock-syntactic-keywords)
4947 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4948 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4949 (ruby-here-doc-end-syntax): Remove.
4950 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4951 defined as function.
4953 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4955 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4957 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4959 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4960 table and abbrev table, `define-derived-mode' does that for us
4963 2013-11-01 Glenn Morris <rgm@gnu.org>
4965 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4966 files is atomic for some time, so no parallel compilation issues).
4968 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4970 * faces.el (face-x-resources): Add :distant-foreground.
4971 (region): Use :distant-foreground for gtk and ns.
4973 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4975 Allow multiple bibliographies when BibLaTeX is used rather than
4977 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4978 (reftex-locate-bibliography-files): Us it.
4980 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4982 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4983 allow comments in pbm files.
4985 * term/w32-win.el (dynamic-library-alist): Support newer versions
4986 of libjpeg starting with v7: look only for the DLL from the
4987 version against which Emacs was built.
4988 Support versions of libpng beyond 1.4.x.
4989 Support libtiff v4.x.
4991 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4993 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4994 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4996 (ruby-deep-arglist): Add property :type.
4998 2013-10-31 Glenn Morris <rgm@gnu.org>
5000 * Makefile.in (custom-deps, finder-data): No need to setq the target
5001 variables, we are in the right directory and the defaults work fine.
5003 2013-10-30 Glenn Morris <rgm@gnu.org>
5005 * Makefile.in (autoloads): Do not use abs_lisp.
5007 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5008 `newline' does not respect `standard-output', so use `princ'.
5010 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5012 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5013 * buff-menu.el (Buffer-menu--unmark): New function.
5014 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5016 2013-10-30 Glenn Morris <rgm@gnu.org>
5018 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5020 * emacs-lisp/package.el (lm-homepage): Declare.
5022 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5025 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5027 * Makefile.in (finder-data, autoloads, update-subdirs)
5028 (compile-main, compile-clean, compile-always, bootstrap-clean):
5029 Check return value of cd.
5030 (compile-calc): Remove.
5032 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5034 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5036 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5037 (byte-compile-and-folded): New function.
5038 (=, <, >, <=, >=): Use it.
5040 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5041 (path-separator, null-device, buffer-file-coding-system)
5042 (lpr-headers-switches): Check system-type before modifying them.
5043 (find-buffer-file-type-coding-system): Mark obsolete.
5044 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5045 find-file-not-found-set-buffer-file-coding-system.
5046 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5047 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5048 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5049 (w32-direct-print-region-helper, w32-direct-print-region-function)
5050 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5051 * startup.el (normal-top-level-add-subdirs-to-load-path):
5052 * ps-print.el (ps-print-region-function):
5053 * lpr.el (print-region-function): Use new name.
5055 * subr.el (custom-declare-variable-early): Remove function.
5056 (custom-declare-variable-list): Remove var.
5057 (error, user-error): Remove `while' loop.
5058 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5059 (user-emacs-directory-warning, locate-user-emacs-file):
5061 * simple.el (read-quoted-char-radix, read-quoted-char):
5062 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5064 * custom.el (custom-declare-variable-list): Don't process
5065 custom-declare-variable-list.
5067 * progmodes/python.el (python-shell-get-buffer): New function.
5068 (python-shell-get-process): Use it.
5069 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5070 Python which encoding was used. Don't split-string since we only care
5071 about the first line. Return the temp-file, if applicable.
5072 (python-shell-send-region): Tell compile.el how to turn locations in
5073 the temp-file into locations in the source buffer.
5075 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5077 * subr.el (undefined): Add missing behavior from the C code for
5080 * rect.el: Use lexical-binding. Add new rectangular region support.
5081 (rectangle-mark): New command.
5082 (rectangle--region): New var.
5083 (deactivate-mark-hook): Reset rectangle--region.
5084 (rectangle--extract-region, rectangle--insert-for-yank)
5085 (rectangle--highlight-for-redisplay)
5086 (rectangle--unhighlight-for-redisplay): New functions.
5087 (region-extract-function, redisplay-unhighlight-region-function)
5088 (redisplay-highlight-region-function): Use them to handle
5090 * simple.el (region-extract-function): New var.
5091 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5092 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5093 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5094 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5095 (redisplay-unhighlight-region-function)
5096 (redisplay-highlight-region-function): New vars.
5097 (redisplay--update-region-highlight): New function.
5098 (pre-redisplay-function): Use it.
5099 (exchange-point-and-mark): Don't deactivate the mark before
5100 reactivate-it anyway.
5101 * comint.el (comint-kill-region): Remove yank-handler argument.
5102 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5103 (delete-char): Remove property, since it's now part of their
5105 (self-insert-iso): Remove property since this command doesn't exist.
5107 * emacs-lisp/package.el (package--download-one-archive)
5108 (describe-package-1): Don't query the user about final newline.
5110 2013-10-29 Daniel Colascione <dancol@dancol.org>
5112 * net/tramp.el (tramp-methods): Document new functionality.
5113 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5114 tramp-hostname-checker if method provides one instead of scanning
5115 argument list for "%h" to decide hostname acceptability.
5117 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5119 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5120 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5121 Handle COPY-CONTENTS. (Bug#15737)
5123 2013-10-28 Daiki Ueno <ueno@gnu.org>
5126 (epa-file-cache-passphrase-for-symmetric-encryption):
5127 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5129 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5131 * image.el (defimage, image-load-path): Doc fixes.
5133 2013-10-27 Alan Mackenzie <acm@muc.de>
5135 Indent statements in macros following "##" correctly.
5136 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5137 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5139 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5141 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5143 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5145 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5146 after `=' is probably a new expression.
5148 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5150 * man.el (man-imenu-title): New option.
5151 (Man-mode-map): Add menu. (Bug#15722)
5152 (Man-mode): Add imenu to menu.
5154 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5156 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5157 specific in what the first arg can be: a non-keyword word,
5158 string/regexp/percent literal opener, opening paren, or unary
5159 operator followed directly by word.
5161 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5163 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5164 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5165 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5166 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5167 Remove vars, they do not apply any more.
5168 (prolog-mode-abbrev-table): Remove redundant declaration.
5169 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5170 (prolog-use-smie): Remove.
5171 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5172 supported by prolog-electric-if-then-else-flag.
5173 (prolog-mode-variables, prolog-menu): Use setq-local.
5174 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5175 Remove binding to `Backspace' since this key doesn't exist anyway.
5176 Remove bindings for electric self-inserting keys.
5177 (prog-mode): Assume it's defined.
5178 (prolog-post-self-insert): New function.
5179 (prolog-mode): Use it.
5180 (prolog-indent-line, prolog-indent-level)
5181 (prolog-find-indent-of-matching-paren)
5182 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5183 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5184 (prolog-goto-next-paren, prolog-in-string-or-comment)
5185 (prolog-tokenize, prolog-inside-mline-comment)
5186 (prolog-find-start-of-mline-comment): Remove functions.
5187 (prolog-find-unmatched-paren, prolog-clause-end)
5188 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5189 (prolog-electric--if-then-else): Rename from
5190 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5191 (prolog-tokenize-searchkey): Remove const.
5192 (prolog-clause-info): Use forward-sexp.
5193 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5194 (prolog-electric-if-then-else): Remove commands.
5195 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5196 for use in post-self-insert-hook.
5197 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5198 for use in post-self-insert-hook.
5199 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5200 for use in post-self-insert-hook.
5201 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5202 adapt it for use in post-self-insert-hook.
5204 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5206 * emacs-lisp/ert.el (ert-run-tests-interactively):
5207 Use `completing-read'. (Bug#9756)
5209 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5211 * simple.el (line-move): Call line-move-1 instead of
5212 line-move-visual when the current window hscroll is zero, but
5213 temporary-goal-column indicates we will need to hscroll as result
5214 of the movement. (Bug#15712)
5216 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5218 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5219 capitalization. Use :visible instead of :active.
5220 Fix `ruby-indent-exp' reference. Add menu items for the generic
5221 commands that are used with SMIE.
5222 (ruby-do-end-to-brace): Insert space after `{'.
5224 2013-10-25 John Anthony <john@jo.hnanthony.com>
5226 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5228 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5230 2013-10-25 Glenn Morris <rgm@gnu.org>
5232 * vc/vc.el (vc-print-log): Don't use a working revision unless
5233 one was explicitly specified. (Bug#15322)
5235 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5237 * subr.el (add-to-list): Preserve return value in compiler-macro
5240 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5242 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5243 result. Ask user to retry using '-all' flag. (Bug#15701)
5245 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5247 * emacs-lisp/smie.el: New smie-config system.
5248 (smie-config): New defcustom.
5249 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5250 (smie-config-guess, smie-config-save): New commands.
5251 (smie-config--mode-local, smie-config--buffer-local)
5252 (smie-config--trace, smie-config--modefuns): New vars.
5253 (smie-config--advice, smie-config--mode-hook)
5254 (smie-config--setter, smie-config-local, smie-config--get-trace)
5255 (smie-config--guess-value, smie-config--guess): New functions.
5256 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5257 text properties. Treat "string fence" syntax like string syntax.
5259 * progmodes/sh-script.el (sh-use-smie): Change default.
5260 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5261 (sh-var-value): Simplify by CSE.
5262 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5263 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5265 (sh-guess-basic-offset): Use cl-incf.
5266 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5268 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5270 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5273 2013-10-24 Glenn Morris <rgm@gnu.org>
5275 * Makefile.in (abs_top_srcdir): Remove.
5276 (update-subdirs): Use relative path to update-subdirs.
5278 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5280 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5281 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5282 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5283 Call unmsys--file-name before expand-file-name, not after it.
5285 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5287 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5288 (ert-test-skipped): New error.
5289 (ert-skip, ert-stats-skipped): New defuns.
5290 (ert--skip-unless): New macro.
5291 (ert-test-skipped): New struct.
5292 (ert--run-test-debugger, ert-test-result-type-p)
5293 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5294 (ert--stats-set-test-and-result, ert-char-for-test-result)
5295 (ert-string-for-test-result, ert-run-tests-batch)
5296 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5297 Handle skipped tests. (Bug#9803)
5299 2013-10-24 Glenn Morris <rgm@gnu.org>
5301 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5303 * Makefile.in (abs_top_srcdir): New, set by configure.
5304 (update-subdirs): Correct build-aux location.
5306 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5308 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5309 value, whether we could auto-deduce `backend', or not.
5311 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5312 with parameters" example. Simplify the "is it block or is it
5313 hash" check, but also make it more thorough.
5315 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5317 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5319 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5321 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5324 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5327 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5329 * progmodes/compile.el (compilation-directory-matcher)
5330 (compilation-page-delimiter):
5331 Support GNU Make-4.0 directory quoting. (Bug#15678)
5333 2013-10-23 Leo Liu <sdl.web@gmail.com>
5335 * ido.el (ido-tidy): Handle read-only text.
5337 2013-10-23 Glenn Morris <rgm@gnu.org>
5339 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5340 (emacs, compile, compile-always):
5341 Quote entities that might contain whitespace.
5342 (custom-deps, finder-data, autoloads): Use abs_lisp.
5343 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5344 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5345 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5347 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5349 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5350 Use `following-char'.
5352 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5354 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5355 * progmodes/ruby-mode.el (ruby-smie-rules):
5356 Remove corresponding workaround. Fix indentation rule of ";" so it
5357 also applies when ";" is the parent.
5359 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5361 * frame.el (display-screens, display-pixel-height)
5362 (display-pixel-width, display-mm-width, display-backing-store)
5363 (display-save-under, display-planes, display-color-cells)
5364 (display-visual-class, display-monitor-attributes-list):
5365 Mention the optional ‘display’ argument in doc strings.
5367 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5369 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5370 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5372 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5374 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5375 TODO. Add "." after " @ ".
5376 (ruby-smie--at-dot-call): New function. Checks if point at method
5377 call with explicit target.
5378 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5379 to the method name tokens when it precedes them.
5380 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5381 (ruby-smie-rules): Add rule for indentation before and after "."
5384 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5386 * textmodes/remember.el (remember-diary-extract-entries):
5389 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5392 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5394 * progmodes/ruby-mode.el (ruby-smie-grammar):
5395 Add (almost) all infix operators.
5396 (ruby-smie--implicit-semi-p): Add new operator chars.
5398 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5400 (ruby-smie--args-separator-p): Check that there's no newline
5401 between method call and its arguments.
5403 2013-10-20 Alan Mackenzie <acm@muc.de>
5405 Allow comma separated lists after Java "implements".
5407 * progmodes/cc-engine.el (c-backward-over-enum-header):
5409 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5410 from a "disallowed" list in enum fontification.
5412 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5414 * startup.el (default-frame-background-mode): Remove unused defvar.
5416 * progmodes/verilog-mode.el (verilog-mode): Don't set
5417 comment-indent-function globally.
5419 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5421 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5422 Move Info menu item creation to ns-win.el.
5424 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5427 * menu-bar.el: Move GNUstep specific menus...
5429 * term/ns-win.el (ns-initialize-window-system): ... to here.
5431 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5433 * simple.el (newline): Only run post-self-insert-hook when
5434 called interactively.
5436 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5438 * icomplete.el (icomplete-with-completion-tables): Add :version.
5440 2013-10-19 Alan Mackenzie <acm@muc.de>
5442 Fix fontification bugs with constructors and const.
5444 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5445 CASE 2) Remove the check for the absence of a suffix construct
5446 after a function declaration with only types (no identifiers) in
5447 the parentheses. Also, accept a function declaration with just a
5448 type inside the parentheses, if this type can be positively
5449 recognised as such, or if a prefix keyword like "explicit" nails
5450 down the construct as a declaration.
5452 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5454 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5455 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5456 the problem whereby selecting a menu item that leads to a
5457 minibuffer prompt moves the cursor out of the minibuffer window,
5458 making it hard to type at the prompt. Suggested by Stefan Monnier
5459 <monnier@iro.umontreal.ca>.
5461 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5463 * menu-bar.el: Don't make Services menu.
5465 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5467 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5468 (ffap-alist): Use ffap-c++-mode for c++-mode.
5469 (ffap-c++-path): New variable.
5470 (ffap-c++-mode): New function.
5472 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5474 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5476 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5478 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5479 introduced on 2013-09-08, which results in an infinite loop
5480 requesting a password.
5482 2013-10-18 Glenn Morris <rgm@gnu.org>
5484 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5486 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5488 Sync with upstream verilog-mode revision 1a6ecec7.
5489 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5490 (verilog-mode-release-date): Remove.
5491 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5492 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5493 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5494 (verilog-auto-tieoff-ignore-regexp)
5495 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5496 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5497 (verilog-signals-with, verilog-dir-cache-preserving)
5498 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5500 (verilog-case-fold): New option, to control case folding in
5501 regexp searches, bug597.
5502 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5503 (verilog-string-match-fold, verilog-in-paren-count)
5504 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5505 (verilog-at-close-struct-p): New functions.
5506 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5507 (verilog-forward-sexp, verilog-set-auto-endcomments)
5508 (verilog-leap-to-case-head): Handle "unique0" case.
5509 (verilog-in-constraint-re): New constant.
5510 (verilog-keywords, verilog-type-font-keywords):
5511 Add some SystemVerilog 1800-2012 keywords.
5512 (verilog-label-be): Remove unimplemented argument, bug669.
5513 (verilog-batch-execute-func): When batch expanding clear
5514 create-lockfiles to prevent spurious user locks when a file ends
5516 (verilog-calculate-indent, verilog-calc-1)
5517 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5518 (verilog-do-indent): Fix indentation of nested constraints
5520 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5521 (verilog-auto-inst-param): Use verilog-string-match-fold.
5522 (verilog-read-inst-module-matcher):
5523 Fix AUTOINST on gate primitives with #1.
5524 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5525 Reads all user-defined typed variables.
5526 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5527 (verilog-signals-matching-regexp)
5528 (verilog-signals-not-matching-regexp, verilog-auto):
5529 Respect verilog-case-fold.
5530 (verilog-diff-report): Fix line count.
5531 (verilog-auto-assign-modport): Remove unused local `modi'.
5532 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5533 better handle multidimensional arrays.
5534 Fix packed array ports misadding bit index in AUTOINST, bug637.
5535 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5536 to not double-declare existing outputs and inputs, respectively.
5537 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5538 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5539 (verilog-sk-uvm-component): New skeleton.
5540 (verilog-submit-bug-report): Add verilog-case-fold,
5541 remove verilog-mode-release-date.
5543 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5545 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5548 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5550 * textmodes/remember.el (remember): Set buffer-offer-save in
5551 remember buffers (bug#13566).
5553 2013-10-18 Daniel Colascione <dancol@dancol.org>
5555 When evaluating forms in ielm, direct standard output to ielm
5556 buffer. Add new ielm-return-for-effect command. Remove trailing
5557 whitespace throughout.
5559 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5560 (ielm-return-for-effect): New command.
5561 (ielm-send-input): Accept optional `for-effect' parameter.
5562 (ielm-eval-input): Accept optional `for-effect' parameter.
5563 Bind `standard-output' to stream we create using
5564 `ielm-standard-output-impl'. Suppress printing result when
5566 (ielm-standard-output-impl): New function.
5567 (inferior-emacs-lisp-mode): Explain new features in documentation.
5569 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5573 * net/tramp.el (tramp-debug-message): Do not check for connection
5575 (tramp-message): Use "vector" connection property.
5577 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5578 (tramp-equal-remote, tramp-eshell-directory-change)
5579 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5580 (tramp-adb-handle-rename-file)
5581 * net/tramp-cmds.el (tramp-list-remote-buffers)
5582 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5583 * net/tramp-compat.el (tramp-compat-process-running-p)
5584 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5585 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5586 (tramp-gvfs-handle-rename-file)
5587 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5588 (tramp-set-file-uid-gid)
5589 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5590 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5593 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5594 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5595 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5596 (tramp-gw-open-network-stream): Suppress unrelated traces.
5598 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5599 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5600 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5601 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5602 connection property.
5604 * net/tramp-cache.el (top): Suppress traces when reading
5607 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5608 Refactor common code. Improve debug message.
5609 (tramp-maybe-open-connection)
5610 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5611 connection buffer too early.
5613 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5614 from `tramp-smb-actions-with-acl'.
5615 (tramp-smb-actions-set-acl): New defconst.
5616 (tramp-smb-handle-copy-directory)
5617 (tramp-smb-action-get-acl): New defun, renamed from
5618 `tramp-smb-action-with-acl'.
5619 (tramp-smb-action-set-acl): New defun.
5620 (tramp-smb-handle-set-file-acl): Rewrite.
5622 2013-10-17 Glenn Morris <rgm@gnu.org>
5624 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5626 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5628 * skeleton.el (skeleton-newline): Remove.
5629 (skeleton-internal-1): Use (insert "\n") instead.
5631 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5634 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5635 forward-sexp-function while we redo its job (bug#15613).
5637 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5639 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5640 represented by lists.
5642 2013-10-16 Glenn Morris <rgm@gnu.org>
5644 * tmm.el (tmm--history): New dynamic variable.
5645 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5647 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5649 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5650 (tramp-smb-errors): Add error messages.
5651 (tramp-smb-actions-with-acl): New defconst.
5652 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5653 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5654 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5655 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5656 (tramp-smb-get-stat-capability): Fix tests.
5658 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5660 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5663 2013-10-16 Glenn Morris <rgm@gnu.org>
5665 * ansi-color.el (ansi-color-drop-regexp):
5666 Add 1J, 1K, 2K. (Bug#15617)
5668 * files.el (hack-local-variables--warned-lexical): New.
5669 (hack-local-variables):
5670 Warn about misplaced lexical-binding. (Bug#15616)
5672 * net/eww.el (eww-render): Always set eww-current-url,
5673 and update header line. (Bug#15622)
5674 (eww-display-html): ... Rather than just doing it here.
5676 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5678 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5679 menu navigations commands.
5681 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5683 * progmodes/subword.el (subword-capitalize): Be careful when
5684 the search for [[:alpha:]] fails (bug#15580).
5686 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5688 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5689 to commands that scroll the menu.
5691 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5693 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5694 Handle methods ending with `?' and `!'.
5696 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5698 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5699 `japanese-cp932' to `cp932' to fix the problem where saving a
5700 source file written in Shift_JIS twice would end up having
5701 `coding: japanese-cp932' which Ruby could not recognize.
5702 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5703 in `ruby-encoding-map'.
5704 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5705 doesn't need to be explicitly declared in magic comment.
5706 (ruby-encoding-map): Add type declaration for better customize UI.
5708 2013-10-13 Glenn Morris <rgm@gnu.org>
5710 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5711 Occur buffers are read-only. http://bugs.debian.org/720775
5713 * emacs-lisp/authors.el (authors-fixed-entries):
5714 Comment out old alpha stuff.
5716 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5718 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5719 to `after-save-hook' instead of `before-save-hook'.
5720 (ruby-mode-set-encoding): Use the value of coding system used to
5721 write the file. Call `basic-save-buffer-1' after modifying the
5724 2013-10-13 Alan Mackenzie <acm@muc.de>
5726 Fix indentation/fontification of Java enum with
5727 "implements"/generic.
5729 * progmodes/cc-engine.el (c-backward-over-enum-header):
5730 Extracted from the three other places and enhanced to handle generics.
5731 (c-inside-bracelist-p): Uses new function above.
5732 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5734 (c-font-lock-enum-tail): Uses new function above.
5736 2013-10-13 Kenichi Handa <handa@gnu.org>
5738 * international/mule-cmds.el (select-safe-coding-system): Remove a
5739 superfluous condition in chekcing whether a coding system is safe
5742 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5744 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5746 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5748 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5750 2013-10-13 Glenn Morris <rgm@gnu.org>
5752 * menu-bar.el (menu-bar-update-buffers):
5753 Unify Buffers menu prompt string. (Bug#15576)
5755 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5757 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5759 (authors-fixed-entries): Use accented form of name.
5761 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5763 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5764 method calls (bug#15594).
5765 (ruby-smie--args-separator-p): New function.
5766 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5767 recognize paren-free method calls.
5769 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5770 internals of universal-argument.
5772 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5774 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5775 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5776 dropped menu on second mouse click on the menu bar.
5778 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5780 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5781 (explicit-shell-file-name): Declare.
5782 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5783 (sh-completion-at-point-function): New function.
5785 (sh-smie--keyword-p): Remove unused argument.
5786 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5788 (sh-set-shell): Always setup SMIE, even if we use the
5789 old indentation code.
5791 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5793 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5795 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5796 predicate would return nil are almost non-existent.
5797 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5799 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5800 cache also after commands that modify the buffer but don't move
5803 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5805 * env.el (substitute-env-in-file-name): New function.
5806 (substitute-env-vars): Extend the meaning of the optional arg.
5808 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5810 * term/w32-win.el (dynamic-library-alist): Define separate lists
5811 of GIF DLLs for versions before and after 5.0.0 of giflib.
5814 2013-10-10 João Távora <joaotavora@gmail.com>
5816 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5817 not locked, use last revision and current source as
5818 defaults. (Bug#15569)
5820 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5822 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5825 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5827 * window.el (pop-to-buffer-same-window): Fix doc-string.
5830 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5832 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5834 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5836 * calendar/icalendar.el (icalendar-import-file):
5837 Fix interactive spec. (Bug#15482)
5839 2013-10-10 Glenn Morris <rgm@gnu.org>
5841 * desktop.el (desktop-save): Default to saving in .emacs.d,
5842 since PWD is no longer in desktop-path by default. (Bug#15319)
5844 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5845 now that text mode has a menu with the same entry.
5846 (menu-bar-text-mode-auto-fill): Remove now unused func.
5847 * textmodes/text-mode.el (text-mode-map):
5848 Use auto-fill help text from menu-bar.el.
5850 2013-10-10 John Anthony <john@jo.hnanthony.com>
5852 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5854 2013-10-09 Juri Linkov <juri@jurta.org>
5856 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5857 instead of this-command-keys. Add universal-argument-more and
5858 universal-argument-minus to the list of prefix commands. (Bug#15568)
5860 2013-10-09 Glenn Morris <rgm@gnu.org>
5862 * vc/vc-svn.el (vc-svn-create-repo):
5863 Expand paths in file://... url. (Bug#15446)
5865 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5867 (authors): Remove unused local variables.
5869 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5871 * profiler.el: Create a more coherent calltree from partial backtraces.
5872 (profiler-format): Hide the tail with `invisible' so that C-s can still
5873 find the hidden elements.
5874 (profiler-calltree-depth): Don't recurse so enthusiastically.
5875 (profiler-function-equal): New hash-table-test.
5876 (profiler-calltree-build-unified): New function.
5877 (profiler-calltree-build): Use it.
5878 (profiler-report-make-name-part): Indent the calltree less.
5879 (profiler-report-mode): Add visibility specs for profiler-format.
5880 (profiler-report-expand-entry, profiler-report-toggle-entry):
5881 Expand the whole subtree when provided with a prefix arg.
5883 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5885 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5887 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5888 hanging iuwu-mod token.
5889 (ruby-smie--forward-token): Do not include a dot after a token in
5891 (ruby-smie--backward-token): Likewise.
5893 2013-10-08 Juri Linkov <juri@jurta.org>
5895 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5896 to isearch-other-control-char.
5897 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5898 and isearch-post-command-hook to post-command-hook.
5899 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5900 and isearch-post-command-hook from post-command-hook.
5901 (isearch-unread-key-sequence)
5902 (isearch-reread-key-sequence-naturally)
5903 (isearch-lookup-scroll-key, isearch-other-control-char)
5904 (isearch-other-meta-char): Remove functions.
5905 (isearch-pre-command-hook, isearch-post-command-hook):
5906 New functions based on isearch-other-meta-char rewritten
5907 relying on the new behavior of overriding-terminal-local-map
5908 that does not replace the local keymaps any more. (Bug#15200)
5910 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5912 Support menus on text-mode terminals.
5913 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5916 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5918 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5919 Move here from mouse.el.
5920 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5922 (tty-menu-navigation-map): New map for TTY menu navigation.
5924 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5926 * frame.el (display-mouse-p): Report text-mode mouse as available
5928 (display-popup-menus-p): Report availability if mouse is
5929 available; don't condition on window-system.
5931 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5932 (tty-menu-selected-face): New faces.
5934 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5936 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5937 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5938 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5939 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5941 (lisp-mode-variables): New `elisp' argument.
5942 (emacs-lisp-mode): Use it.
5943 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5944 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5946 * indent.el: Use lexical-binding.
5947 (indent-region): Add progress reporter.
5948 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5950 (indent--next-tab-stop): New function to implement this behavior.
5951 (tab-to-tab-stop, move-to-tab-stop): Use it.
5953 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5955 * indent.el (indent-rigidly--current-indentation): New function.
5956 (indent-rigidly-map): New var.
5957 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5959 2013-10-08 Bastien Guerry <bzg@gnu.org>
5961 * register.el (insert-register): Fix 2013-10-07 change.
5963 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5965 * progmodes/perl-mode.el: Use lexical-binding.
5966 Remove redundant :group args.
5967 (perl-nochange): Change default to be closer to other major modes's
5969 (perl-indent-line): Don't consider text on current line as a
5970 valid beginning of function from which to indent.
5972 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5973 with more than one argument (bug#15538).
5975 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5977 * vc/pcvs.el: Use lexical-binding.
5978 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5979 environment of `eval'.
5980 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5981 than a list of expressions. Adjust callers.
5982 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5984 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5986 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5987 case of the dot in a chained method call being on the following line.
5989 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5991 * electric.el (electric-indent-inhibit): New var.
5992 (electric-indent-post-self-insert-function): Use it.
5993 * progmodes/python.el (python-mode): Set it.
5995 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5998 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6000 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6001 (css-mode): Use electric-indent-chars.
6003 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6004 (font-lock-beg, font-lock-end): Move before first use.
6005 (nxml-mode): Use syntax-propertize-function.
6006 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6007 (nxml-extend-after-change-region): Remove.
6008 * nxml/xmltok.el: Use lexical-binding.
6009 (xmltok-save): Use `declare'.
6010 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6011 * nxml/nxml-util.el: Use lexical-binding.
6012 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6014 * nxml/nxml-ns.el: Use lexical-binding.
6015 (nxml-ns-save): Use `declare'.
6016 (nxml-ns-prefixes-for): Avoid add-to-list.
6017 * nxml/rng-match.el: Use lexical-binding.
6018 (rng--ipattern): Use cl-defstruct.
6019 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6020 (rng-cons-group-after, rng-subst-group-after)
6021 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6022 Use closures instead of `(lambda...).
6024 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6026 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6029 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6030 Use `tramp-handle-insert-file-contents'.
6031 (tramp-gvfs-handle-insert-file-contents): Remove function.
6033 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6034 Use `save-restriction' in order to keep markers.
6036 * net/trampver.el: Update release number.
6038 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6040 * progmodes/compile.el (compilation-parse-errors):
6041 Use compilation--put-prop.
6042 (compilation--ensure-parse): Check compilation-multiline.
6044 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6046 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6049 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6051 * progmodes/ruby-mode.el: Fix recently added tests.
6052 (ruby-smie-grammar): Add - and +.
6053 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6054 (ruby-smie--backward-id): New functions.
6055 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6056 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6059 2013-10-07 Leo Liu <sdl.web@gmail.com>
6061 * register.el (register-preview-delay)
6062 (register-preview-functions): New variables.
6063 (register-read-with-preview, register-preview)
6064 (register-describe-oneline): New functions.
6065 (point-to-register, window-configuration-to-register)
6066 (frame-configuration-to-register, jump-to-register)
6067 (number-to-register, view-register, insert-register)
6068 (copy-to-register, append-to-register, prepend-to-register)
6069 (copy-rectangle-to-register): Use register-read-with-preview to
6070 read register. (Bug#15525)
6072 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6074 * net/network-stream.el (network-stream-open-starttls): Don't add
6075 --insecure if it's already present, because that gnutls-cli
6076 rejects getting that parameter twice.
6078 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6080 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6083 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6085 * newcomment.el (comment-use-global-state): Change default value
6086 to t, mark obsolete (Bug#15251).
6087 (comment-beginning): In addition to `comment-to-syntax', check the
6088 value of `comment-use-global-state'.
6090 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6092 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6093 (ruby-comment-column): Follow the global default, by default.
6094 (ruby-smie-grammar): Add assignment syntax.
6095 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6096 open-paren, a comma, or a \.
6097 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6098 and line continuations.
6099 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6100 followed by implicit semi-colons. Add rule for string concatenation
6101 and for indentation at BOB.
6102 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6104 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6105 calling next-sexp, since next-token may have skipped chars which
6106 next-sexp doesn't know should be skipped!
6108 2013-10-05 Leo Liu <sdl.web@gmail.com>
6110 * progmodes/octave.el (octave-send-region):
6111 Call compilation-forget-errors.
6113 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6115 * vc/vc-svn.el (vc-svn-find-admin-dir):
6116 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6117 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6118 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6119 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6121 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6123 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6125 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6127 * subr.el (read-passwd): Hide chars even when called within a context
6128 where after-change-functions is disabled (bug#15501).
6129 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6130 until we removed ourself from overriding-terminal-local-map.
6132 2013-10-04 Leo Liu <sdl.web@gmail.com>
6134 * progmodes/octave.el (inferior-octave-mode):
6135 Call compilation-forget-errors.
6137 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6139 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6141 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6143 * net/secrets.el (secrets-create-collection): Add optional
6144 argument ALIAS. Use proper Label keyword. Append ALIAS as
6145 dbus-call-method argument. (Bug#15516)
6147 2013-10-04 Leo Liu <sdl.web@gmail.com>
6149 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6150 (inferior-octave-compilation-font-lock-keywords): New variables.
6151 (compilation-error-regexp-alist)
6152 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6153 (inferior-octave-mode): Use compilation-shell-minor-mode.
6155 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6157 * minibuffer.el (completion--replace): Be careful that `end' might be
6160 2013-10-03 Daiki Ueno <ueno@gnu.org>
6162 Add support for package signature checking.
6163 * emacs-lisp/package.el (url-http-file-exists-p)
6164 (epg-make-context, epg-context-set-home-directory)
6165 (epg-verify-string, epg-context-result-for)
6166 (epg-signature-status, epg-signature-to-string)
6167 (epg-check-configuration, epg-configuration)
6168 (epg-import-keys-from-file): Declare.
6169 (package-check-signature): New user option.
6170 (package-unsigned-archives): New user option.
6171 (package-desc): Add `signed' field.
6172 (package-load-descriptor): Set `signed' field if .signed file exists.
6173 (package--archive-file-exists-p): New function.
6174 (package--check-signature): New function.
6175 (package-install-from-archive): Check package signature.
6176 (package--download-one-archive): Check archive signature.
6177 (package-delete): Remove .signed file.
6178 (package-import-keyring): New command.
6179 (package-refresh-contents): Import default keyring.
6180 (package-desc-status): Add "unsigned" status.
6181 (describe-package-1, package-menu--print-info)
6182 (package-menu-mark-delete, package-menu--find-upgrades)
6183 (package-menu--status-predicate): Support "unsigned" status.
6185 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6187 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6188 the new compilation scheme using the new byte-codes.
6190 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6191 (byte-pophandler): New byte codes.
6192 (byte-goto-ops): Adjust accordingly.
6193 (byte-compile--use-old-handlers): New var.
6194 (byte-compile-catch): Use new byte codes depending on
6195 byte-compile--use-old-handlers.
6196 (byte-compile-condition-case--old): Rename from
6197 byte-compile-condition-case.
6198 (byte-compile-condition-case--new): New function.
6199 (byte-compile-condition-case): New function that dispatches depending
6200 on byte-compile--use-old-handlers.
6201 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6204 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6205 Optimize under `condition-case' and `catch' if
6206 byte-compile--use-old-handlers is nil.
6207 (disassemble-offset): Handle new bytecodes.
6209 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6211 * subr.el (error): Use `declare'.
6212 (decode-char, encode-char): Use advertised-calling-convention instead
6213 of the docstring to discourage use of the `restriction' arg.
6215 2013-10-03 Daiki Ueno <ueno@gnu.org>
6217 * epg.el (epg-verify-file): Add a comment saying that it does not
6218 notify verification error as a return value nor a signal.
6219 (epg-verify-string): Ditto.
6221 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6223 * progmodes/compile.el (compilation-start): Try globbing the arg to
6226 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6228 Sync with Tramp 2.2.8.
6230 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6231 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6232 * net/trampver.el: Update release number.
6234 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6236 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6237 and default-process-coding-system for darwin only.
6239 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6241 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6243 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6245 * vc/vc-git.el (vc-git-grep): Disable pager.
6247 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6249 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6250 Use :url instead of :homepage, as per
6251 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6253 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6254 non-nil, use `syntax-ppss' (Bug#15251).
6256 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6258 * progmodes/octave.el (inferior-octave-startup-file):
6259 Prefer ~/.emacs.d/init_octave.m.
6261 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6263 * emacs-lisp/package.el (package-desc-from-define):
6264 Accept additional arguments as plist, convert them to an alist and store
6265 them in the `extras' slot.
6266 (package-generate-description-file): Convert extras alist back to
6267 plist and append to the `define-package' form arguments.
6268 (package--alist-to-plist): New function.
6269 (package--ac-desc): Add `extras' slot.
6270 (package--add-to-archive-contents): Check if the archive-contents
6271 vector is long enough, and if it is, pass its `extras' slot value
6272 to `package-desc-create'.
6273 (package-buffer-info): Call `lm-homepage', pass the returned value
6274 to `package-desc-from-define'.
6275 (describe-package-1): Render the homepage button (Bug#13291).
6277 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6278 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6280 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6282 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6283 and default-process-coding-system to utf-8-unix (Bug#15402).
6285 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6287 * subr.el (looking-back): Do not recommend using looking-back.
6289 2013-09-28 Alan Mackenzie <acm@muc.de>
6291 Fix indentation/fontification of Java enum with "implements".
6293 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6294 regexp which matches "implements", etc., in Java.
6295 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6296 specifier clauses coming after "enum".
6297 * progmodes/cc-fonts.el (c-font-lock-declarations)
6298 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6301 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6303 * faces.el (region): Change ns_selection_color to
6304 ns_selection_fg_color, add ns_selection_bg_color.
6306 2013-09-28 Leo Liu <sdl.web@gmail.com>
6308 * progmodes/octave.el (inferior-octave-completion-table)
6309 (inferior-octave-completion-at-point): Minor tweaks.
6311 * textmodes/ispell.el (ispell-lookup-words): Rename from
6312 lookup-words. (Bug#15460)
6313 (lookup-words): Obsolete.
6314 (ispell-complete-word, ispell-command-loop): All uses changed.
6316 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6318 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6319 (octave-mode-menu): Add octave-send-buffer.
6320 (octave-send-buffer): New function.
6322 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6324 * progmodes/octave.el (octave-mode-map): Add key binding for
6326 (octave-mode-menu): Add octave-lookfor.
6327 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6329 (octave-lookfor): New function.
6331 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6333 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6334 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6336 (cl--loop-set-iterator-function): New function.
6337 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6338 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6339 Bind `it' with `let' instead of substituting it with `cl-subst'.
6340 (cl--unused-var-p): New function.
6341 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6342 Eliminate some unused variable warnings (bug#15326).
6344 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6346 * doc-view.el (doc-view-scale-reset): Rename from
6347 `doc-view-reset-zoom-level'.
6348 (doc-view-scale-adjust): New command.
6349 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6350 `doc-view-scale-adjust'.
6352 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6354 * doc-view.el (doc-view-reset-zoom-level): New command.
6355 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6356 zoom commands (bug#15466).
6358 2013-09-26 Kenichi Handa <handa@gnu.org>
6360 * international/quail.el (quail-help): Make it not a command.
6362 2013-09-26 Leo Liu <sdl.web@gmail.com>
6364 * minibuffer.el (completion-all-sorted-completions): Make args
6365 optional as they are.
6367 2013-09-25 Daniel Colascione <dancol@dancol.org>
6369 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6370 specs are and that they're not evaluated.
6372 2013-09-24 Sam Steingold <sds@gnu.org>
6374 * midnight.el (clean-buffer-list-kill-regexps)
6375 (clean-buffer-list-kill-buffer-names): Update for the new Man
6376 buffer naming which includes the object name.
6378 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6380 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6381 (eshell-parse-command, eshell-parse-pipeline): Use it since
6382 eshell-separate-commands requires a dynamic scoped var.
6383 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6385 2013-09-23 Leo Liu <sdl.web@gmail.com>
6387 * autoinsert.el (auto-insert-alist): Make the value of
6388 lexical-binding match its file setting.
6390 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6392 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6394 * autoarg.el (autoarg-kp-digit-argument):
6395 * electric.el (Electric-command-loop):
6396 * kmacro.el (kmacro-step-edit-insert):
6397 Do not set universal-argument-num-events.
6399 2013-09-22 Leo Liu <sdl.web@gmail.com>
6401 * files.el (interpreter-mode-alist): Add octave.
6403 2013-09-21 Alan Mackenzie <acm@muc.de>
6405 C++: fontify identifier in declaration following "public:" correctly.
6406 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6407 to match "public", etc.
6408 (c-decl-prefix-re): Add ":" into the C++ value.
6409 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6410 bit. Add a check for a ":" preceded by "public", etc.
6412 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6414 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6415 recognized by GDB 7.5 and later.
6417 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6419 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6421 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6423 * subr.el (internal--call-interactively): New const.
6424 (called-interactively-p): Use it (bug#3984).
6426 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6428 * vc/pcvs.el (cvs-mode-ignore):
6429 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6430 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6432 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6434 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6435 (eshell-ls-orig-insert-directory): Remove.
6436 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6437 (eshell-ls-use-in-dired): Use advice-add/remove.
6438 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6439 Add `orig-fun' arg for use in :around advice.
6440 Make it check (redundantly) eshell-ls-use-in-dired.
6442 2013-09-19 Glenn Morris <rgm@gnu.org>
6444 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6446 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6448 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6450 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6452 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6453 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6454 (tramp-get-remote-python): New defuns.
6455 (tramp-get-remote-uid-with-perl)
6456 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6457 contributed by yary <not.com@gmail.com> (tiny change).
6458 (tramp-get-remote-uid-with-python)
6459 (tramp-get-remote-gid-with-python): New defuns. Python code
6460 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6461 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6463 2013-09-19 Glenn Morris <rgm@gnu.org>
6465 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6467 * eshell/em-unix.el (eshell-remove-entries):
6468 Rename argument to avoid name-clash with global `top-level'.
6470 * eshell/esh-proc.el (eshell-kill-process-function):
6471 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6472 (eshell-reset-after-proc): Remove unused arg `proc'.
6474 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6475 (directory-files-and-attributes): Mark unused arg.
6477 * eshell/em-unix.el (eshell-remove-entries):
6478 Remove unused arg `path'. Update callers.
6480 * eshell/em-hist.el (eshell-hist-parse-arguments):
6481 Remove unused arg `silent'. Update callers.
6483 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6484 Fix (f)boundp mix-up.
6486 * eshell/em-smart.el (eshell-smart-scroll-window)
6487 (eshell-disable-after-change):
6488 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6490 2013-09-18 Alan Mackenzie <acm@muc.de>
6492 Fix fontification of type when followed by "const".
6493 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6494 "known" types from fontification.
6496 2013-09-18 Glenn Morris <rgm@gnu.org>
6498 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6499 (chart-face-list): Drop Emacsen without display-color-p.
6501 * net/eww.el (libxml-parse-html-region): Declare.
6502 (eww-display-html): Explicit error if no libxml2 support.
6504 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6506 * image.el (image-type-from-buffer, image-multi-frame-p):
6507 Remove --without-x warning/error.
6509 * mouse.el (mouse-yank-primary):
6510 * term.el (term-mouse-paste):
6511 Reorder to silence --without-x compilation.
6513 * mpc.el (doc-view-mode): Silence --without-x compilation.
6515 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6516 Silence --without-x compilation.
6518 * progmodes/gud.el (gud-find-file, gud-mode):
6519 Silence --without-x compilation.
6520 (tooltip-mode): Declare.
6522 * wdired.el (dired-backup-overwrite): Remove declaration.
6523 (wdired-mode-map): Add doc string.
6525 * custom.el (x-get-resource): Declare.
6527 * eshell/em-glob.el (ange-cache):
6528 * eshell/em-unix.el (ange-cache): Declare.
6530 * faces.el (x-display-list, x-open-connection, x-get-resource):
6533 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6534 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6537 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6539 * net/gnutls.el (gnutls-log-level): Declare.
6541 * net/shr.el (image-size, image-animate): Declare.
6543 * simple.el (font-info): Declare.
6545 * subr.el (x-popup-dialog): Declare.
6547 * term/common-win.el (x-select-enable-primary)
6548 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6551 * term/ns-win.el (x-handle-args): Declare.
6553 * term/x-win.el (x-select-enable-clipboard): Declare.
6555 * term/w32-win.el (create-default-fontset): Declare.
6557 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6560 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6561 (fit-frame-to-buffer): Explicit error if --without-x.
6562 (mouse-autoselect-window-select): Silence compiler.
6564 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6566 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6567 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6568 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6569 * eshell/esh-util.el (eshell-sublist):
6570 Remove unused local variables.
6572 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6574 * textmodes/two-column.el: Make 2C-split work for --without-x.
6575 (scroll-bar-columns): Autoload.
6576 (top-level): Require fringe when compiling.
6578 2013-09-18 Leo Liu <sdl.web@gmail.com>
6580 * subr.el (add-hook): Robustify to handle closure as well.
6582 2013-09-17 Glenn Morris <rgm@gnu.org>
6584 * simple.el (messages-buffer-mode-map): Unbind "g".
6586 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6588 * help-mode.el (help-mode-finish): Use derived-mode-p.
6589 Remove obsolete highlighting.
6591 * play/life.el (life-mode): Use define-derived-mode. Derive from
6593 (life): Let-bind inhibit-read-only.
6594 (life-setup): Avoid `setq'. Use `life-mode'.
6596 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6597 which should not be needed any more.
6598 (package-menu-refresh, package-menu-describe-package): Use user-error.
6600 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6601 (eshell-post-rewrite-command-hook): Make obsolete.
6602 (eshell-parse-command): Simplify.
6603 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6604 (eshell--cmd): Declare.
6605 (eshell-parse-pipeline): Remove unused var `final-p'.
6606 Pass a dynvar to eshell-post-rewrite-command-hook.
6607 Implement the new eshell-post-rewrite-command-function.
6608 (eshell-invoke-directly): Remove unused arg `input'.
6609 * eshell/esh-io.el (eshell-io-initialize):
6610 Use eshell-post-rewrite-command-function (bug#15399).
6611 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6612 adjust to new calling convention.
6613 (eshell-create-handles): Rename args to avoid clashing with dynvar
6616 2013-09-17 Glenn Morris <rgm@gnu.org>
6618 * simple.el (messages-buffer-mode): New major mode.
6619 (messages-buffer): New function.
6620 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6621 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6622 (ert-run-test): Use `messages-buffer' function.
6623 (ert--force-message-log-buffer-truncation): Ignore read-only.
6624 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6625 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6627 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6629 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6631 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6633 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6635 * icomplete.el (icomplete-in-buffer): New var.
6636 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6637 vars and replace them with functions.
6638 (icomplete-minibuffer-setup): Adjust accordingly.
6639 (icomplete--completion-table, icomplete--completion-predicate)
6640 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6642 (icomplete-forward-completions, icomplete-backward-completions)
6643 (icomplete-simple-completing-p, icomplete-exhibit)
6644 (icomplete-completions): Use them.
6645 (icomplete--in-region-buffer): New var.
6646 (icomplete--in-region-setup): New function.
6647 (icomplete-mode): Use it.
6649 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6651 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6652 return args and options.
6653 (eshell-eval-using-options): Use the new return value of
6654 eshell--do-opts to set the options's vars in their scope.
6655 (eshell--set-option): Rename from eshell-set-option.
6657 (eshell--process-option): Rename from eshell-process-option.
6659 (eshell--process-args): Use an `opt-vals' alist to store the options's
6660 values during their processing and return them additionally to the
6663 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6665 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6666 continuation character an operator, as far as indentation is
6667 concerned (Bug#15369).
6669 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6671 * window.el (window--state-put-2): Don't process buffer state
6672 when buffer doesn't exist any more (Bug#15382).
6674 2013-09-15 Glenn Morris <rgm@gnu.org>
6676 * eshell/em-unix.el (eshell/rm):
6677 Make -f ignore missing files. (Bug#15373)
6679 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6680 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6681 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6683 2013-09-14 Glenn Morris <rgm@gnu.org>
6685 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6687 2013-09-13 Glenn Morris <rgm@gnu.org>
6689 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6690 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6692 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6694 * frame.el (x-focus-frame): Mark as declared in frame.c.
6696 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6698 * ls-lisp.el: Use advice-add.
6699 (original-insert-directory): Remove.
6700 (ls-lisp--insert-directory): Rename from insert-directory; add
6701 `orig-fun' argument.
6702 (insert-directory): Advise.
6704 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6706 * term.el (term-emulate-terminal): Decode the command string
6707 before passing it to term-command-hook. (Bug#15337)
6709 2013-09-13 Glenn Morris <rgm@gnu.org>
6711 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6713 * eshell/esh-ext.el (eshell-search-path): Declare.
6715 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6716 Otherwise an error occurs if eshell-dirs module not loaded.
6718 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6720 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6722 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6723 `tramp-check-proper-host'. Check for a valid method name.
6725 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6726 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6727 * net/tramp-sh.el (tramp-maybe-open-connection):
6728 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6730 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6731 also for hash values.
6733 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6735 * term/ns-win.el (parameters): Don't declare as dynamic.
6736 (before-make-frame-hook): Don't add ineffective function.
6738 * eshell/*.el: Use lexical-binding (bug#15231).
6740 2013-09-12 Kenichi Handa <handa@gnu.org>
6742 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6744 2013-09-12 Glenn Morris <rgm@gnu.org>
6746 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6747 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6749 * subr.el (do-after-load-evaluation): Also give compiler warnings
6750 when obsolete files are used (except by obsolete files).
6752 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6753 in the status output, assume `filename' is the first. (Bug#15322)
6755 * vc/vc.el (vc-deduce-fileset): Doc fix.
6757 * calc/calc-help.el (Info-goto-node):
6758 * progmodes/cperl-mode.el (Info-find-node):
6759 * vc/ediff.el (Info-goto-node): Update declarations.
6761 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6763 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6764 (vc-bzr-pull): Require vc-dispatcher.
6765 * vc/vc-git.el (vc-compilation-mode): Declare.
6766 (vc-git-pull): Require vc-dispatcher.
6768 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6770 * progmodes/octave.el (help-button-action): Declare.
6772 * shell.el (shell-directory-tracker): Output error as a message
6773 rather than just returning it as a string.
6774 (shell-process-pushd): Remove useless use of message.
6776 * dframe.el (dframe-timer-fn):
6777 * files.el (dir-locals-read-from-file):
6778 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6780 * reveal.el (reveal-post-command):
6781 * saveplace.el (load-save-place-alist-from-file):
6782 * shell.el (shell-resync-dirs):
6783 * w32-common-fns.el (x-get-selection-value):
6784 * emacs-lisp/copyright.el (copyright-find-copyright):
6785 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6786 * emulation/tpu-edt.el (tpu-copy-keyfile):
6787 * play/bubbles.el (bubbles--mark-neighbourhood):
6788 * progmodes/executable.el
6789 (executable-make-buffer-file-executable-if-script-p):
6790 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6792 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6794 Cleanup Eshell to rely less on dynamic scoping.
6795 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6796 last-value, and ext-command here. Bind `args' closer to `body'.
6797 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6798 (eshell--args): Declare new dynamic var.
6799 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6800 last-value, and ext-command. Pass `args' to `body'.
6801 (eshell-process-args): Bind eshell--args.
6802 (eshell-set-option): Use eshell--args.
6803 * eshell/eshell.el (eshell): Use derived-mode-p.
6804 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6805 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6806 (eshell-glob-function): Declare.
6807 * eshell/esh-util.el: Require cl-lib.
6808 (eshell-read-hosts-file): Avoid add-to-list.
6809 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6811 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6813 (eshell/diff): Remove unused var `err'.
6814 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6816 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6817 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6819 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6820 Move declaration before first use.
6821 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6822 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6825 2013-09-12 Glenn Morris <rgm@gnu.org>
6827 * term/ns-win.el (global-map): Remove binding for ispell-next,
6828 deleted 1999-05-29. (Bug#15357)
6830 2013-09-11 Glenn Morris <rgm@gnu.org>
6832 * echistory.el (electric-command-history): Remove call to deleted func.
6834 * play/landmark.el (landmark-mode): Fix typos.
6836 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6837 Check cvs-sort-ignore-file is bound.
6839 * savehist.el: No need for cl when compiling on Emacs.
6841 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6843 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6845 (eshell-self-insert-command, eshell-send-invisible):
6846 Remove unused argument.
6847 (eshell-handle-control-codes): Remove unused var `orig'.
6848 Avoid delete-backward-char.
6850 * files.el (set-auto-mode): Simplify a bit further.
6852 2013-09-11 Glenn Morris <rgm@gnu.org>
6854 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6855 (set-auto-mode): Don't regexp-quote elements.
6856 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6857 * progmodes/cc-mode.el (interpreter-mode-alist):
6858 * progmodes/ruby-mode.el (interpreter-mode-alist):
6859 Revert previous change.
6861 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6863 * play/snake.el (snake-mode):
6864 * play/mpuz.el (mpuz-mode):
6865 * play/landmark.el (lm-mode):
6866 * play/blackbox.el (blackbox-mode):
6867 * play/5x5.el (5x5-mode):
6868 * obsolete/options.el (Edit-options-mode):
6869 * net/quickurl.el (quickurl-list-mode):
6870 * net/newst-treeview.el (newsticker-treeview-mode):
6871 * mail/rmailsum.el (rmail-summary-mode):
6872 * mail/mspools.el (mspools-mode):
6873 * locate.el (locate-mode):
6874 * ibuffer.el (ibuffer-mode):
6875 * emulation/ws-mode.el (wordstar-mode):
6876 * emacs-lisp/debug.el (debugger-mode):
6877 * array.el (array-mode):
6878 * net/eudc.el (eudc-mode): Use define-derived-mode.
6879 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6880 Move initialization into declaration.
6881 (mairix-searches-mode): Use define-derived-mode.
6882 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6883 (eudc-edit-hotlist): Use dolist.
6884 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6885 (Man-mode): Use define-derived-mode.
6886 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6887 (Info-edit-mode): Use define-derived-mode.
6888 (Info-cease-edit): Use Info-mode.
6889 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6891 (eshell-mode): Use define-derived-mode.
6892 * chistory.el (command-history-mode-map): Rename from
6893 command-history-map.
6894 (command-history-mode): Use define-derived-mode.
6895 (Command-history-setup): Remove function.
6896 * calc/calc.el (calc-trail-mode-map): New var.
6897 (calc-trail-mode): Use define-derived-mode.
6898 (calc-trail-buffer): Set calc-main-buffer manually.
6899 * bookmark.el (bookmark-insert-annotation): New function.
6900 (bookmark-edit-annotation): Use it.
6901 (bookmark-edit-annotation-mode): Make it a proper major mode.
6902 (bookmark-send-edited-annotation): Use derived-mode-p.
6903 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6904 closer to its ideal place. Use \' to match EOS.
6906 * profiler.el (profiler-calltree-find): Use function-equal.
6908 2013-09-10 Glenn Morris <rgm@gnu.org>
6910 * files.el (interpreter-mode-alist): Convert to regexps.
6911 (set-auto-mode): Adapt for this. (Bug#15306)
6912 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6913 Comment out unused variable.
6914 * progmodes/cc-mode.el (interpreter-mode-alist):
6915 * progmodes/python.el (interpreter-mode-alist):
6916 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6917 * progmodes/sh-script.el (sh-set-shell):
6918 No longer use interpreter-mode-alist to get list of shells.
6920 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6922 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6924 * simple.el: Use set-temporary-overlay-map for universal-argument.
6925 (universal-argument-map): Don't use default-bindings (bug#15317).
6926 Bind switch-frame explicitly. Replace universal-argument-minus with
6927 a conditional binding.
6928 (universal-argument-num-events, saved-overriding-map): Remove.
6929 (restore-overriding-map): Remove.
6930 (universal-argument--mode): Rename from save&set-overriding-map,
6932 (universal-argument, universal-argument-more, negative-argument)
6933 (digit-argument): Adjust accordingly.
6934 (universal-argument-minus): Remove.
6935 (universal-argument-other-key): Remove.
6937 * subr.el (with-demoted-errors): Add `format' argument.
6939 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6941 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6942 `tramp-cleanup-connection'.
6944 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6945 parameters KEEP-DEBUG and KEEP-PASSWORD.
6947 * net/tramp.el (tramp-file-name-handler):
6948 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6949 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6950 (tramp-maybe-open-connection):
6951 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6952 Use `tramp-cleanup-connection'.
6954 * net/tramp-sh.el (tramp-maybe-open-connection):
6955 Catch 'uname-changed inside the progress reporter.
6957 2013-09-10 Glenn Morris <rgm@gnu.org>
6959 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6961 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6962 returns "alternate access method" in mode (eg "-rw-r--r--.").
6964 2013-09-08 Glenn Morris <rgm@gnu.org>
6966 * saveplace.el (load-save-place-alist-from-file):
6967 Demote errors. (Bug#15305)
6969 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6971 Improve compatibility with older Emacsen, and XEmacs.
6973 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6974 only if it is bound. It isn't for XEmacs.
6975 (with-tramp-progress-reporter): Do not let-bind `result'.
6976 This yields to scoping errors in XEmacs.
6977 (tramp-handle-make-auto-save-file-name): New function, moved from
6980 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6981 for `make-auto-save-file-name'.
6982 (tramp-adb--gnu-switches-to-ash):
6983 Use `tramp-compat-replace-regexp-in-string'.
6985 * net/tramp-cache.el (tramp-cache-print): Call
6986 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6988 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6989 bound. It isn't for XEmacs.
6991 * net/tramp-compat.el (tramp-compat-copy-file):
6992 Catch `wrong-number-of-arguments' error.
6993 (tramp-compat-replace-regexp-in-string): New defun.
6995 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6996 for `make-auto-save-file-name'.
6997 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6999 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7000 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7001 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7003 * net/tramp-gw.el (tramp-gw-open-network-stream):
7004 Use `tramp-compat-replace-regexp-in-string'.
7006 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7007 Call `tramp-handle-make-auto-save-file-name'.
7008 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7009 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7010 (tramp-sh-file-inotifywait-process-filter):
7011 Use `tramp-compat-replace-regexp-in-string'.
7012 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7014 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7015 for `make-auto-save-file-name'.
7016 (tramp-smb-handle-copy-directory):
7017 Call `tramp-compat-replace-regexp-in-string'.
7018 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7019 (tramp-smb-handle-copy-file): Improve error message.
7020 (tramp-smb-handle-rename-file): Rename directly only in case
7021 `newname' does not exist yet. This is a restriction of smbclient.
7022 (tramp-smb-maybe-open-connection): Rerun the function only when
7023 `auth-sources' is non-nil.
7025 2013-09-08 Kenichi Handa <handa@gnu.org>
7027 * international/characters.el: Set category "^" (Combining) for
7030 2013-09-07 Alan Mackenzie <acm@muc.de>
7032 Correctly fontify Java class constructors.
7033 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7035 (c-recognize-typeless-decls): Set the Java value to t.
7036 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7037 While handling a "(", add a check for, effectively, Java, and handle a
7038 "typeless" declaration there.
7040 2013-09-07 Roland Winkler <winkler@gnu.org>
7042 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7043 field subtitle for entry type book.
7045 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7047 * minibuffer.el: Make minibuffer-complete call completion-in-region
7048 rather than other way around.
7049 (completion--some, completion-pcm--find-all-completions):
7050 Don't delay signals when debugging.
7051 (minibuffer-completion-contents): Beware fields within the
7052 minibuffer contents.
7053 (completion-all-sorted-completions): Use defvar-local.
7054 (completion--do-completion, completion--cache-all-sorted-completions)
7055 (completion-all-sorted-completions, minibuffer-force-complete):
7056 Add args `beg' and `end'.
7057 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7058 (minibuffer-complete): Use completion-in-region.
7059 (completion-complete-and-exit): New fun, extracted from
7060 minibuffer-complete-and-exit.
7061 (minibuffer-complete-and-exit): Use it.
7062 (completion--complete-and-exit): Rename from
7063 minibuffer--complete-and-exit.
7064 (completion-in-region--single-word): New function, extracted from
7065 minibuffer-complete-word.
7066 (minibuffer-complete-word): Use it.
7067 (display-completion-list): Make `common-substring' argument obsolete.
7068 (completion--in-region): Call completion--in-region-1 instead of
7069 minibuffer-complete.
7070 (completion-help-at-point): Pass boundaries to
7071 minibuffer-completion-help as args rather than via an overlay.
7072 (completion-pcm--string->pattern): Use `any-delim'.
7073 (completion-pcm--optimize-pattern): New function.
7074 (completion-pcm--pattern->regex): Handle `any-delim'.
7075 * icomplete.el (icomplete-forward-completions)
7076 (icomplete-backward-completions, icomplete-completions):
7077 Adjust calls to completion-all-sorted-completions and
7078 completion--cache-all-sorted-completions.
7079 (icomplete-with-completion-tables): Default to t.
7080 * emacs-lisp/crm.el (crm--current-element): Rename from
7081 crm--select-current-element. Don't put an overlay but return the
7083 (crm--completion-command): Take two new args to bind to the boundaries.
7084 (crm-completion-help): Adjust accordingly.
7085 (crm-complete): Use completion-in-region.
7086 (crm-complete-word): Use completion-in-region--single-word.
7087 (crm-complete-and-exit): Use completion-complete-and-exit.
7089 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7091 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7094 2013-09-06 Juri Linkov <juri@jurta.org>
7096 * info.el (Info-display-images-node): When image file doesn't exist
7097 display text version of the image if it's provided in the Info file.
7098 Otherwise, display the location of missing image from SRC attribute.
7099 Add help-echo text property from ALT attribute. (Bug#15279)
7101 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7103 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7104 (edit-abbrevs-mode): Use define-derived-mode.
7106 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7107 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7109 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7110 Use define-derived-mode.
7112 * epg.el (epg-start-encrypt): Minor CSE simplification.
7114 2013-09-06 William Xu <william.xwl@gmail.com>
7116 * arc-mode.el: Add support for 7za (bug#15264).
7117 (archive-7z-program): New var.
7118 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7119 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7120 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7122 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7126 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7127 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7128 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7129 (tramp-postfix-host-format, tramp-file-name-regexp)
7130 (tramp-completion-file-name-regexp)
7131 (tramp-completion-dissect-file-name)
7132 (tramp-handle-substitute-in-file-name): Remove 'url case.
7133 (tramp-file-name-regexp-url)
7134 (tramp-completion-file-name-regexp-url): Remove constants.
7136 2013-09-06 Glenn Morris <rgm@gnu.org>
7138 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7140 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7142 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7143 keywords" below "here-doc beginnings" (Bug#15270).
7145 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7147 * subr.el (pop): Use `car-safe'.
7148 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7149 to detect unused `pop' return value.
7151 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7153 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7154 (python-fill-string): Remove unused var `marker'.
7155 (python-skeleton-add-menu-items): Remove unused var `items'.
7157 * international/mule-cmds.el: Require CL.
7158 (find-coding-systems-for-charsets): Avoid add-to-list.
7159 (sanitize-coding-system-list): New function, extracted from
7160 select-safe-coding-system-interactively.
7161 (select-safe-coding-system-interactively): Use it.
7162 (read-input-method-name): Accept symbols for `default'.
7164 * emacs-lisp/advice.el (defadvice): Add indent rule.
7166 2013-09-05 Daniel Hackney <dan@haxney.org>
7170 * net/browse-url.el:
7173 * net/eudcb-ldap.el:
7186 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7187 byte compiler. Remove some unused let-bound variables.
7189 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7191 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7192 a "ref-cell", since it gets better optimized (bug#14883).
7194 2013-09-05 Glenn Morris <rgm@gnu.org>
7196 * progmodes/cc-awk.el (c-forward-sws): Declare.
7198 2013-09-04 Glenn Morris <rgm@gnu.org>
7200 * generic-x.el [rul-generic-mode]: Require cc-mode.
7201 (c++-mode-syntax-table): Declare.
7202 (rul-generic-mode-syntax-table): Init in the defvar.
7204 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7206 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7207 (vc-do-command, vc-set-async-update):
7208 * vc/vc-mtn.el (vc-mtn-dir-status):
7209 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7210 (vc-hg-pull, vc-hg-merge-branch):
7211 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7212 (vc-git-merge-branch):
7213 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7214 (vc-cvs-dir-status-files):
7215 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7216 (vc-bzr-dir-status-files):
7217 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7218 * vc/vc-annotate.el: Use lexical-binding.
7219 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7220 (vc-sentinel-movepoint): Declare.
7221 (vc-annotate): Don't use `goto-line'.
7222 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7223 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7224 (vc-sentinel-movepoint): Declare.
7225 * vc/vc-svn.el: Use lexical-binding.
7226 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7228 * vc/vc-rcs.el: Use lexical-binding.
7230 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7231 `deleted'. Don't drop errors silently.
7233 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7235 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7237 * vc/vc.el (vc-ignore): Rewrite.
7238 (vc-default-ignore): New function.
7239 (vc-default-ignore-completion-table): Use find-ignore-file.
7241 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7242 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7243 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7244 Remove. Most code moved to vc.el.
7246 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7248 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7249 * net/tramp-smb.el (tramp-smb-get-file-entries):
7250 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7251 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7253 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7255 (eww-change-select): Remove unused var `properties'.
7256 (eww-make-unique-file-name): Remove unused var `base'.
7258 * finder.el (finder-compile-keywords): Don't mess with windows.
7260 * calculator.el (calculator-funcall): Fix typo in last change.
7262 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7264 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7265 <pkg>-autoloads.el file stop us.
7267 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7268 warnings, and factor out common code.
7270 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7272 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7273 two-character operators and whether the character preceding them
7274 changes their meaning (Bug#15208).
7276 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7278 Format code sent to Python shell for robustness.
7279 * progmodes/python.el (python-shell-buffer-substring):
7281 (python-shell-send-region, python-shell-send-buffer): Use it.
7283 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7285 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7286 * net/tramp.el (tramp-user-error): ... here.
7287 (tramp-find-method, tramp-check-proper-host)
7288 (tramp-dissect-file-name, tramp-debug-message)
7289 (tramp-handle-shell-command):
7290 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7291 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7293 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7295 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7297 * avoid.el (mouse-avoidance-point-position)
7298 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7301 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7303 * progmodes/python.el (python-shell-completion-get-completions):
7304 Drop use of deleted `comint-last-prompt-overlay'.
7305 (python-nav-if-name-main): New command.
7307 2013-09-01 Glenn Morris <rgm@gnu.org>
7309 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7310 Avoid leading space in $wins. Otherwise the sed command used by
7311 eg compile-main ends up containing "/*.el". (Bug#15170)
7313 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7315 2013-08-30 Glenn Morris <rgm@gnu.org>
7317 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7318 Fix is-this-a-directory logic. (Bug#15220)
7320 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7322 * textmodes/css-mode.el: Use SMIE.
7323 (css-smie-grammar): New var.
7324 (css-smie--forward-token, css-smie--backward-token)
7325 (css-smie-rules): New functions.
7326 (css-mode): Use them.
7327 (css-navigation-syntax-table): Remove var.
7328 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7329 (css-indent-calculate, css-indent-line): Remove functions.
7331 Misc changes to reduce use of `(lambda...); and other cleanups.
7332 * cus-edit.el: Use lexical-binding.
7333 (customize-push-and-save, customize-apropos)
7334 (custom-buffer-create-internal): Use closures.
7335 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7336 * progmodes/ada-xref.el: Use setq.
7337 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7338 * dframe.el: Use lexical-binding.
7339 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7340 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7341 * descr-text.el: Use lexical-binding.
7342 (describe-text-widget, describe-text-sexp, describe-property-list):
7344 * comint.el (comint-history-isearch-push-state): Use a closure.
7345 * calculator.el: Use lexical-binding.
7346 (calculator-number-to-string): Make it work with lexical-binding.
7347 (calculator-funcall): Same and use cl-letf.
7349 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7350 (lisp--company-doc-string, lisp--company-location): New functions.
7351 (lisp-completion-at-point): Use them to improve Company support.
7353 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7354 params of lambda expressions.
7355 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7356 (ruby-smie--opening-pipe-p): New function.
7357 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7358 symbols and matched |...| for formal params.
7359 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7360 from being treated as hanging. Handle "rescue".
7362 2013-08-29 Glenn Morris <rgm@gnu.org>
7364 * progmodes/cc-engine.el (c-pull-open-brace):
7365 Move definition before use.
7367 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7369 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7370 are immutable. Don't use `unsafe' any more.
7371 (cl--defsubst-expand): Don't substitute at the same time as keeping
7372 a residual unused let-binding. Don't use `unsafe' any more.
7374 2013-08-29 Glenn Morris <rgm@gnu.org>
7376 * calendar/cal-china.el (calendar-chinese-year-cache):
7379 * nxml/nxml-util.el (nxml-debug-clear-inside):
7380 Use cl-loop rather than loop.
7382 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7384 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7386 2013-08-28 Glenn Morris <rgm@gnu.org>
7388 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7390 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7392 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7394 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7396 * simple.el (repeat-complex-command--called-interactively-skip):
7398 (repeat-complex-command): Use it (bug#14136).
7400 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7401 (c-define-abbrev-table): Add `doc' argument.
7402 (c-mode-abbrev-table, c++-mode-abbrev-table)
7403 (objc-mode-abbrev-table, java-mode-abbrev-table)
7404 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7405 (awk-mode-abbrev-table): Use it.
7406 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7407 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7408 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7409 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7410 Move initialization into the declaration; and remove any
7413 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7414 and dynamic let binding.
7416 * vc/smerge-mode.el: Remove redundant :group args.
7418 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7421 2013-08-28 Juri Linkov <juri@jurta.org>
7423 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7424 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7425 (isearch-other-meta-char): Handle an undefined shifted printing
7426 character by downshifting it. (Bug#15200)
7428 2013-08-28 Juri Linkov <juri@jurta.org>
7430 * isearch.el (isearch-search): Change regexp error message for
7431 non-regexp searches. (Bug#15166)
7433 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7435 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7436 for portability to hosts where /bin/sh has problems.
7438 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7440 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7442 2013-08-27 Juri Linkov <juri@jurta.org>
7444 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7445 in the keyboard macro. (Bug#15126)
7447 2013-08-27 Juri Linkov <juri@jurta.org>
7449 * isearch.el (isearch-quote-char): Comment out converting unibyte
7450 to multibyte, thus syncing with its `quoted-insert' counterpart.
7453 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7455 * window.el (display-buffer-use-some-window): Add missing
7456 argument in call of get-largest-window (Bug#15185).
7457 Reported by Stephen Leake.
7459 2013-08-27 Glenn Morris <rgm@gnu.org>
7461 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7463 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7465 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7466 from a matcher-function unless there's no more matches (bug#15161).
7468 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7470 * minibuffer.el: Revert change from 2013-08-20.
7472 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7473 with text property `tramp-default', if appropriate.
7474 (tramp-check-proper-host): New defun.
7475 (tramp-dissect-file-name): Do not check hostname. Revert change
7477 (tramp-backtrace): Make VEC-OR-PROC optional.
7479 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7480 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7481 * net/tramp-sh.el (tramp-maybe-open-connection):
7482 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7483 Apply `tramp-check-proper-host'.
7485 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7487 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7488 lambda expression in order to have `describe-variable' display it.
7490 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7492 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7493 BUF can be optional. (Bug#15186)
7495 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7497 * progmodes/flymake.el (flymake-get-real-file-name-function):
7498 Fix broken customization. (Bug#15184)
7500 2013-08-25 Alan Mackenzie <acm@muc.de>
7502 Improve indentation of bracelists defined by macros (without "=").
7504 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7505 expansion begins with "{", regard it as bracelist when it doesn't
7508 Parse C++ inher-intro when there's a template split over 2 lines.
7510 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7511 rigorously the search for "class" etc. followed by ":".
7513 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7514 random languages a regexp which never matches rather than nil.
7516 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7518 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7519 (c-awk-regexp-one-line-possibly-open-char-list-re)
7520 (c-awk-one-line-possibly-open-regexp-re)
7521 (c-awk-one-line-non-syn-ws*-re): Remove.
7522 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7523 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7524 (c-awk-space*-unclosed-regexp-/-re): New constants.
7525 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7526 aren't regexp delimiters.
7528 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7529 handling for a rare situation in AWK Mode involving unterminated
7532 2013-08-23 Glenn Morris <rgm@gnu.org>
7534 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7536 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7538 * files.el (create-file-buffer): If the result would begin with
7539 spaces, prepend a "|" instead of removing them. (Bug#15162)
7541 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7543 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7544 text-properties (bug#15155).
7546 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7548 (calc-keypad-redraw): Remove unused var `pad'.
7549 (calc-keypad-press): Remove unused var `menu'.
7551 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7553 * window.el (display-buffer-pop-up-frame):
7554 Call pop-up-frame-function with BUFFER current so `make-frame' will
7555 use it as the new frame's buffer (Bug#15133).
7557 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7559 * calendar/timeclock.el: Minor cleanups.
7560 (timeclock-ask-before-exiting, timeclock-use-display-time):
7562 (timeclock-modeline-display): Define as alias before the
7564 (timeclock-mode-line-display): Use define-minor-mode.
7565 (timeclock-day-list-template): Make it a function, add an argument.
7566 (timeclock-day-list-required, timeclock-day-list-length)
7567 (timeclock-day-list-debt, timeclock-day-list-span)
7568 (timeclock-day-list-break): Adjust calls accordingly.
7570 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7572 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7573 Use read--expression so that completion works again.
7575 2013-08-21 Sam Steingold <sds@gnu.org>
7577 Add rudimentary inferior shell interaction
7578 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7579 (sh-set-shell): Reset it.
7580 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7581 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7583 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7585 * align.el: Use lexical-binding.
7586 (align-region): Simplify accordingly.
7588 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7590 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7592 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7595 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7599 * net/tramp-cmds.el:
7601 * net/tramp-gvfs.el:
7603 * net/tramp-sh.el: Don't wrap external variable declarations by
7604 `eval-when-compile'.
7606 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7608 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7609 now that Emacs supports ImageMagick animations.
7611 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7613 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7614 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7616 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7618 * window.el (mouse-autoselect-window-select): Do autoselect when
7619 mouse pointer is on margin.
7621 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7623 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7625 2013-08-16 Glenn Morris <rgm@gnu.org>
7627 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7628 Handle "Remote Directory" response of some clients. (Bug#15058)
7630 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7631 Tweak warning. (Bug#14926)
7633 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7634 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7636 * image-mode.el (image-mode-map): Add menu items to reverse,
7637 increase, decrease, reset animation speed.
7638 (image--set-speed, image-increase-speed, image-decrease-speed)
7639 (image-reverse-speed, image-reset-speed): New functions.
7640 (image-mode-map): Add bindings for speed commands.
7642 * image.el (image-animate-get-speed, image-animate-set-speed):
7644 (image-animate-timeout): Respect image :speed property.
7646 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7648 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7649 previous line (bug#15101).
7650 (debugger-eval-expression, debugger-record-expression):
7651 Use read--expression (bug#15102).
7653 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7655 Remove byte compiler warnings, visible when compiling with
7656 `byte-compile-force-lexical-warnings' set to t.
7658 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7659 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7660 (tramp-handle-unhandled-file-name-directory)
7661 (tramp-handle-file-notify-add-watch, tramp-action-login)
7662 (tramp-action-succeed, tramp-action-permission-denied)
7663 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7666 * net/tramp-adb.el (tramp-adb-parse-device-names)
7667 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7668 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7669 (tramp-adb-handle-file-truename): Remove unused arguments.
7671 * net/tramp-cache.el (tramp-flush-directory-property)
7672 (tramp-flush-connection-property, tramp-list-connections)
7673 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7675 * net/tramp-compat.el (tramp-compat-make-temp-file):
7676 Rename FILENAME to F.
7678 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7679 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7680 (tramp-zeroconf-parse-workstation-device-names)
7681 (tramp-zeroconf-parse-webdav-device-names)
7682 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7684 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7685 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7687 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7689 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7690 (tramp-sh-handle-insert-file-contents-literally)
7691 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7693 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7694 Remove unused variables.
7696 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7697 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7698 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7700 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7701 Make them a defconst.
7702 (tramp-uuencode-region): Remove unused variable.
7704 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7706 * frameset.el (frameset--prop-setter): New function.
7707 (frameset-prop): Add gv-setter declaration.
7708 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7709 parameter was already set in FILTERED. Doc fix.
7710 (frameset--record-minibuffer-relationships): Allow saving a
7711 minibufferless frame without its corresponding minibuffer frame.
7712 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7713 frame, if the frame id matches.
7714 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7715 frames before orphaned ones.
7716 (frameset-restore): Warn about orphaned windows, instead of error out.
7718 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7720 * window.el (window-make-atom): Don't overwrite parameter
7722 (display-buffer-in-atom-window): Handle special case where we
7723 split an already atomic window.
7724 (window--major-non-side-window, display-buffer-in-side-window)
7725 (window--side-check): Ignore minibuffer window when walking
7727 (window-deletable-p): Return 'frame only if no other frame uses
7728 our minibuffer window.
7729 (record-window-buffer): Run buffer-list-update-hook.
7730 (split-window): Make sure window--check-frame won't destroy an
7731 existing atomic window in case the new window gets nested
7733 (display-buffer-at-bottom): Ignore minibuffer window when
7734 walking window tree. Don't split a side window.
7735 (pop-to-buffer): Don't set-buffer here, the select-window call
7737 (mouse-autoselect-window-select): Autoselect only if we are in the
7738 text portion of the window.
7740 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7742 * net/shr.el (shr-parse-image-data): New function to grab both the
7743 data itself and the Content-Type.
7744 (shr-put-image): Use it.
7746 * net/eww.el (eww-display-image): Ditto.
7748 * image.el (image-content-type-suffixes): New variable.
7750 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7752 * progmodes/python.el (python-imenu--build-tree)
7753 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7755 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7757 * simple.el (backward-word): Mention the optional argument.
7759 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7761 * frameset.el (frameset--make): Rename constructor from make-frameset.
7762 (frameset-p, frameset-valid-p): Don't autoload.
7763 (frameset-valid-p): Use normal accessors.
7765 2013-08-13 Glenn Morris <rgm@gnu.org>
7767 * progmodes/compile.el (compile-command): Tweak example in doc.
7768 * obsolete/scribe.el (scribe-mode):
7769 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7771 * mail/feedmail.el (feedmail-confirm-outgoing)
7772 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7774 * cus-start.el (truncate-partial-width-windows): Fix type.
7776 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7778 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7780 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7782 * emacs-lisp/timer.el (timer--time-setter): New function.
7783 (timer--time): Use it as gv-setter.
7785 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7786 setter is not a symbol.
7788 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7790 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7791 if sending fails. This makes debugging easier.
7793 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7795 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7796 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7797 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7799 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7801 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7803 2013-08-12 Glenn Morris <rgm@gnu.org>
7805 * format.el (format-annotate-function):
7806 Handle read-only text properties in the source. (Bug#14887)
7808 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7810 * net/eww.el (eww-display-html): Ignore coding system errors.
7811 One web site uses "utf-8lias" as the coding system.
7813 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7815 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7817 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7819 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7820 (tutorial--detailed-help): Remove unused local variables.
7821 (tutorial--save-tutorial-to): Use ignore-errors.
7822 (help-with-tutorial): Use looking-at-p.
7824 * view.el (view-buffer-other-window, view-buffer-other-frame):
7825 Mark unused arguments.
7827 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7828 (woman-select-symbol-fonts, woman, woman-find-file)
7829 (woman-insert-file-contents, woman-non-underline-faces):
7831 (woman1-unquote): Move declaration.
7833 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7834 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7835 argument. Remove unused local variable.
7836 (xml-parse-elem-type): Use string-match-p.
7837 (xml-substitute-numeric-entities): Use ignore-errors.
7839 * calculator.el (calculator): Mark unused argument.
7840 (calculator-paste, calculator-quit, calculator-integer-p):
7842 (calculator-string-to-number, calculator-decimal, calculator-exp)
7843 (calculator-op-or-exp): Use string-match-p.
7845 * dired.el (dired-buffer-more-recently-used-p): Declare.
7846 (dired-insert-set-properties, dired-insert-old-subdirs):
7849 * dired-aux.el (dired-compress): Use ignore-errors.
7850 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7851 (dired-do-async-shell-command, dired-do-shell-command)
7852 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7853 (dired-insert-subdir-validate): Use string-match-p.
7854 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7855 (dired-add-entry): Use string-match-p, looking-at-p.
7856 (dired-insert-subdir-newpos): Remove unused local variable.
7858 * filenotify.el (file-notify-callback): Remove unused local variable.
7860 * filesets.el (filesets-error): Mark unused argument.
7861 (filesets-which-command-p, filesets-filter-dir-names)
7862 (filesets-directory-files, filesets-get-external-viewer)
7863 (filesets-ingroup-get-data): Use string-match-p.
7865 * find-file.el (ff-other-file-name, ff-other-file-name)
7866 (ff-find-the-other-file, ff-cc-hh-converter):
7867 Remove unused local variables.
7868 (ff-get-file-name): Use string-match-p.
7869 (ff-all-dirs-under): Use ignore-errors.
7871 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7872 (follow-select-if-visible): Remove unused local variable.
7874 * forms.el (read-file-filter): Move declaration.
7875 (forms--make-format, forms--make-parser, forms-insert-record):
7876 Quote function with #'.
7877 (forms--update): Use string-match-p. Quote function with #'.
7879 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7880 (help-make-xrefs): Use looking-at-p.
7881 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7883 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7884 (ibuffer-confirm-operation-on): Use string-match-p.
7886 * msb.el (msb-item-handler, msb-dired-item-handler):
7887 Mark unused arguments.
7889 * ses.el (ses-decode-cell-symbol)
7890 (ses-kill-override): Remove unused local variable.
7891 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7892 (ses-load): Use ignore-errors, looking-at-p.
7893 (ses-jump-safe): Use ignore-errors.
7894 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7896 * tabify.el (untabify, tabify): Mark unused arguments.
7898 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7899 Mark unused argument.
7900 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7901 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7903 * emacs-lisp/timer.el (timer--time): Define setter with
7904 gv-define-setter to avoid deprecation warning.
7906 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7907 (*record-cmpl-statistics-p*): Remove (was commented out).
7908 (cmpl-statistics-block): Remove (body was commented out).
7909 All callers changed.
7910 (add-completions-from-buffer, load-completions-from-file):
7911 Remove unused variables.
7913 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7915 * filecache.el (file-cache-delete-file-list):
7916 Print message only when told so.
7917 (file-cache-files-matching): Use #' in mapconcat argument.
7919 * ffap.el (ffap-url-at-point): Fix reference to variable
7920 thing-at-point-default-mail-uri-scheme.
7922 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7924 * subr.el (define-error): New function.
7925 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7926 error-file-not-found and define with define-error.
7927 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7928 and define with define-error.
7929 * userlock.el (file-locked, file-supersession):
7930 * simple.el (mark-inactive):
7931 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7932 * progmodes/ada-mode.el (ada-mode-errors):
7933 * play/life.el (life-extinct):
7934 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7935 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7936 * nxml/rng-util.el (rng-error):
7937 * nxml/rng-uri.el (rng-uri-error):
7938 * nxml/rng-match.el (rng-compile-error):
7939 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7940 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7941 * nxml/nxml-rap.el (nxml-scan-error):
7942 * nxml/nxml-outln.el (nxml-outline-error):
7943 * net/soap-client.el (soap-error):
7944 * net/gnutls.el (gnutls-error):
7945 * net/ange-ftp.el (ftp-error):
7946 * mpc.el (mpc-proc-error):
7947 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7948 (json-number-format, json-string-escape, json-string-format)
7949 (json-key-format, json-object-format):
7950 * jka-compr.el (compression-error):
7951 * international/quail.el (quail-error):
7952 * international/kkc.el (kkc-error):
7953 * emacs-lisp/ert.el (ert-test-failed):
7954 * calc/calc.el (calc-error, inexact-result, math-overflow)
7956 * bookmark.el (bookmark-error-no-filename):
7957 * epg.el (epg-error): Define with define-error.
7959 * time.el (display-time-event-handler)
7960 (display-time-next-load-average): Don't call sit-for since it seems
7961 unnecessary (bug#15045).
7963 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7964 Use #' instead of ' to quote functions.
7965 (checkdoc-output-mode): Use setq-local.
7966 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7967 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7968 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7969 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7970 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7971 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7972 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7973 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7975 * ido.el (ido-completion-help): Fix up compiler warning.
7977 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7979 * frameset.el (frameset-p): Add autoload cookie.
7980 (frameset--jump-to-register): New function, based on code moved from
7982 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7984 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7985 (frameset-restore, frameset-save, frameset-session-filter-alist):
7986 Remove declarations.
7987 (register-alist): Doc fix.
7988 (frameset-to-register): Move to frameset.el.
7989 (jump-to-register, describe-register-1): Remove frameset-specific code.
7991 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7993 * allout-widgets.el (allout-widgets-pre-command-business)
7994 (allout-widgets-post-command-business)
7995 (allout-widgets-after-change-handler)
7996 (allout-decorate-item-and-context, allout-set-boundary-marker)
7997 (allout-body-modification-handler)
7998 (allout-graphics-modification-handler): Mark ignored arguments.
7999 (allout-widgets-post-command-business)
8000 (allout-widgets-exposure-change-processor)
8001 (allout-widgets-exposure-undo-processor)
8002 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8003 (allout-parse-item-at-point, allout-decorate-item-guides)
8004 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8005 * allout.el (epa-passphrase-callback-function): Declare.
8006 (allout-overlay-insert-in-front-handler)
8007 (allout-overlay-interior-modification-handler)
8008 (allout-isearch-end-handler, allout-chart-siblings)
8009 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8010 (allout-yank-processing, allout-process-exposed)
8011 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8012 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8013 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8014 (lisp-indent-defform): Mark ignored arguments.
8015 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8016 (calculate-lisp-indent): Remove unused variables.
8017 * international/characters.el (indian-2-column, arabic-2-column)
8018 (tibetan): Mark ignored arguments.
8019 (use-cjk-char-width-table): Mark ignored arguments.
8020 Remove unused variables.
8021 * international/fontset.el (build-default-fontset-data)
8022 (x-compose-font-name, create-fontset-from-fontset-spec):
8023 Mark ignored arguments.
8024 (fontset-plain-name): Remove unused variables.
8025 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8026 (keyboard-coding-system): Mark ignored arguments.
8027 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8028 * help.el (resize-temp-buffer-window):
8029 * window.el (display-buffer-in-major-side-window)
8030 (display-buffer-in-side-window, display-buffer-in-previous-window):
8031 Remove unused variables.
8032 * isearch.el (isearch-forward-symbol):
8033 * version.el (emacs-bzr-version-bzr):
8034 * international/mule-cmds.el (current-language-environment):
8035 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8037 * term/pc-win.el (x-list-fonts, x-display-planes)
8038 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8039 (x-server-version, x-display-screens, x-display-mm-height)
8040 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8041 (x-selection-owner-p, x-own-selection-internal)
8042 (x-disown-selection-internal, x-get-selection-internal)
8043 (msdos-initialize-window-system):
8044 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8045 * term/x-win.el (x-handle-no-bitmap-icon):
8046 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8047 (vc-default-find-file-hook, vc-default-extra-menu):
8048 Mark ignored arguments.
8050 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8052 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8053 break-condition in the context of the debugged code (bug#12685).
8055 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8058 Do not use an overlay to highlight the last prompt. (Bug#14744)
8059 (comint-mode): Make comint-last-prompt buffer local.
8060 (comint-last-prompt): New variable.
8061 (comint-last-prompt-overlay): Remove. Superseded by
8063 (comint-snapshot-last-prompt, comint-output-filter):
8064 Use comint-last-prompt.
8066 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8068 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8069 (frameset-save): Check validity of the resulting frameset.
8071 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8073 * ido.el (ido-record-command): Add doc string.
8075 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8077 * frameset.el (frameset): Do not disable creation of the default
8078 frameset-p predicate. Doc fix.
8079 (frameset-valid-p): New function, copied from the old predicate-p.
8080 Add additional checks.
8081 (frameset-restore): Check with frameset-valid-p.
8082 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8083 (frameset-name, frameset-description, frameset-properties)
8084 (frameset-states): Add docstring.
8085 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8086 (frameset-filter-alist): Doc fixes.
8088 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8090 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8092 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8094 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8095 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8096 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8097 (byte-compile-normal-call): Remove obsolescence check.
8099 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8101 * frameset.el (frameset-restore): Doc fix.
8103 * register.el (frameset-frame-id, frameset-frame-with-id)
8104 (frameset-p, frameset-restore, frameset-save): Declare.
8105 (register-alist): Document framesets.
8106 (frameset-session-filter-alist): Declare.
8107 (frameset-to-register): New function.
8108 (jump-to-register): Implement jumping to framesets. Doc fix.
8109 (describe-register-1): Describe framesets.
8111 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8113 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8115 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8116 Use lexical-binding.
8118 * frameset.el (frameset): Use type vector, not list (incompatible
8119 change). Do not declare a new constructor, use the default one.
8120 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8121 `name' and `description', respectively, and add read-only slot
8122 `timestamp'. Doc fixes.
8123 (frameset-copy, frameset-persistent-filter-alist)
8124 (frameset-filter-alist, frameset-switch-to-gui-p)
8125 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8126 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8127 (frameset-filter-iconified, frameset-keep-original-display-p):
8129 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8130 Rename from frameset-filter-(save|restore)-param. All callers changed.
8132 (frameset-p): Adapt to change to vector and be more thorough.
8133 Change arg name to OBJECT. Doc fix.
8134 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8135 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8136 All callers changed.
8137 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8138 All callers changed.
8139 (frameset--record-minibuffer-relationships): Rename from
8140 frameset--process-minibuffer-frames. All callers changed.
8141 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8142 Use new default constructor (again). Doc fix.
8143 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8144 All callers changed.
8145 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8146 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8148 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8149 PARAMETERS and WINDOW-STATE, respectively.
8150 (frameset-restore): Add new keyword argument PREDICATE.
8151 Reset frameset--target-display to nil. Doc fix.
8153 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8155 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8157 (bat-mode-syntax-table): Mark \n as end-of-comment.
8158 (bat-font-lock-keywords): Remove comment rule.
8160 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8161 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8163 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8164 (byte-compile-callargs-warn): Use `push'.
8165 (byte-compile-arglist-warn): Ignore higher-order "calls".
8166 (byte-compile-file-form-autoload): Use `pcase'.
8167 (byte-compile-function-form): If quoting a symbol, check that it exists.
8169 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8171 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8172 and add a few popular commands found in batch files.
8173 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8174 (dos-mode): Doc fixes.
8176 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8178 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8179 (dos-mode): Use setq-local. Add space after "rem".
8180 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8181 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8183 2013-08-07 Arni Magnusson <arnima@hafro.is>
8185 * progmodes/dos.el: New file.
8186 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8189 2013-08-06 Glenn Morris <rgm@gnu.org>
8191 * calendar/calendar.el: Add new faces, and day-header-array.
8192 (calendar-weekday-header, calendar-weekend-header)
8193 (calendar-month-header): New faces.
8194 (calendar-day-header-construct): New function.
8195 (calendar-day-header-width): Also :set calendar-day-header-array.
8196 (calendar-american-month-header, calendar-european-month-header)
8197 (calendar-iso-month-header): Use calendar- faces.
8198 (calendar-generate-month):
8199 Use calendar-day-header-array for day headers; apply faces to them.
8200 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8201 (calendar-abbrev-construct): Add optional maxlen argument.
8202 (calendar-day-name-array): Doc fix.
8203 (calendar-day-name-array, calendar-abbrev-length)
8204 (calendar-day-abbrev-array):
8205 Also :set calendar-day-header-array, and maybe redraw.
8206 (calendar-day-header-array): New option. (Bug#15007)
8207 (calendar-font-lock-keywords): Set to nil and make obsolete.
8208 (calendar-day-name): Add option to use header array.
8210 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8212 * net/shr.el (shr-render-td): Remove debugging.
8213 (shr-render-td): Make width computation consistent by defaulting
8214 all zero-width columns to 10 characters. This may not be optimal,
8215 but it's at least consistent.
8216 (shr-make-table-1): Redo last change to fix the real problem in
8219 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8221 * files.el (cache-long-line-scans):
8222 Make obsolete alias to `cache-long-scans'.
8224 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8226 * frameset.el (frameset, frameset-filter-alist)
8227 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8228 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8229 (frameset-compute-pos): Rename from frameset--compute-pos,
8231 (frameset-move-onscreen): Use frameset-compute-pos.
8232 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8234 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8235 Fix typos in docstrings.
8237 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8239 * frame.el (get-other-frame): Tiny cleanup.
8241 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8243 * vc/vc.el (vc-default-ignore-completion-table):
8244 Silence byte-compiler warning.
8246 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8247 slot, which can indeed be nil.
8248 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8249 Move entry for `left' from persistent to live filter alist.
8250 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8252 (frameset-filter-params): When restoring a frame, copy items added to
8253 `filtered', to avoid unwittingly modifying the original parameters.
8254 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8255 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8257 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8258 to use looking-at-p instead of looking-at. (Bug#15028)
8260 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8262 Revert introduction of isearch-filter-predicates (bug#14714).
8263 Rely on add-function instead.
8264 * isearch.el (isearch-filter-predicates): Rename it back to
8265 isearch-filter-predicate.
8266 (isearch-message-prefix): Use advice-function-mapc and advice
8267 properties to get the isearch-message-prefix.
8268 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8269 instead of run-hook-with-args-until-failure.
8270 (isearch-filter-visible): Not obsolete any more.
8271 * loadup.el: Preload nadvice.
8272 * replace.el (perform-replace): Revert to funcall
8273 instead of run-hook-with-args-until-failure.
8274 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8275 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8276 dired-isearch-filenames-toggle; make it into a proper minor mode.
8277 Use add/remove-function.
8278 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8279 Call the minor-mode rather than add/remove-hook.
8280 (dired-isearch-filter-filenames):
8281 Remove isearch-message-prefix property.
8282 * info.el (Info--search-loop): New function, extracted from Info-search.
8283 Funcall isearch-filter-predicate instead of
8284 run-hook-with-args-until-failure isearch-filter-predicates.
8285 (Info-search): Use it.
8286 (Info-mode): Use isearch-filter-predicate instead of
8287 isearch-filter-predicates.
8289 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8291 Do not call to `selected-window' where it is assumed by default.
8292 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8293 `window-hscroll', `window-width', `window-height', `window-buffer',
8294 `window-frame', `window-start', `window-point', `next-window'
8295 and `window-display-table'.
8296 * abbrev.el (abbrev--default-expand):
8297 * bs.el (bs--show-with-configuration):
8298 * buff-menu.el (Buffer-menu-mouse-select):
8299 * calc/calc.el (calc):
8300 * calendar/calendar.el (calendar-generate-window):
8301 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8303 * comint.el (send-invisible, comint-dynamic-complete-filename)
8304 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8305 * completion.el (complete):
8306 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8307 * disp-table.el (describe-current-display-table):
8308 * doc-view.el (doc-view-insert-image):
8309 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8310 * ehelp.el (with-electric-help):
8311 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8312 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8313 * emacs-lisp/helper.el (Helper-help-scroller):
8314 * emulation/cua-base.el (cua--post-command-handler-1):
8315 * eshell/esh-mode.el (eshell-output-filter):
8316 * ffap.el (ffap-gnus-wrapper):
8317 * help-macro.el (make-help-screen):
8318 * hilit-chg.el (highlight-compare-buffers):
8319 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8320 * hl-line.el (global-hl-line-highlight):
8321 * icomplete.el (icomplete-simple-completing-p):
8322 * isearch.el (isearch-done):
8323 * jit-lock.el (jit-lock-stealth-fontify):
8324 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8325 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8326 * mpc.el (mpc-tagbrowser, mpc):
8327 * net/rcirc.el (rcirc-any-buffer):
8328 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8329 * play/landmark.el (landmark-max-width, landmark-max-height):
8330 * play/zone.el (zone):
8331 * progmodes/compile.el (compilation-goto-locus):
8332 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8333 * progmodes/etags.el (find-tag-other-window):
8334 * progmodes/fortran.el (fortran-column-ruler):
8335 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8336 * progmodes/verilog-mode.el (verilog-point-text):
8337 * reposition.el (reposition-window):
8338 * rot13.el (toggle-rot13-mode):
8339 * server.el (server-switch-buffer):
8340 * shell.el (shell-dynamic-complete-command)
8341 (shell-dynamic-complete-environment-variable):
8342 * simple.el (insert-buffer, set-selective-display)
8343 (delete-completion-window):
8344 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8345 (speedbar-recenter):
8346 * startup.el (fancy-splash-head):
8347 * textmodes/ispell.el (ispell-command-loop):
8348 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8349 * tutorial.el (help-with-tutorial):
8350 * vc/add-log.el (add-change-log-entry):
8351 * vc/compare-w.el (compare-windows):
8352 * vc/ediff-help.el (ediff-indent-help-message):
8353 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8354 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8355 (ediff-setup-control-frame):
8356 * vc/emerge.el (emerge-position-region):
8357 * vc/pcvs-util.el (cvs-bury-buffer):
8358 * window.el (walk-windows, mouse-autoselect-window-select):
8359 * winner.el (winner-set-conf, winner-undo): Related users changed.
8361 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8363 * frameset.el (frameset--set-id): Doc fix.
8364 (frameset-frame-id, frameset-frame-id-equal-p)
8365 (frameset-locate-frame-id): New functions.
8366 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8367 (frameset-restore): Use them.
8369 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8371 Do not call to `selected-frame' where it is assumed by default.
8372 Affected functions are `raise-frame', `redraw-frame',
8373 `frame-first-window', `frame-terminal' and `delete-frame'.
8374 * calendar/appt.el (appt-disp-window):
8375 * epg.el (epg-wait-for-completion):
8376 * follow.el (follow-delete-other-windows-and-split)
8377 (follow-avoid-tail-recenter):
8378 * international/mule.el (set-terminal-coding-system):
8379 * mail/rmail.el (rmail-mail-return):
8380 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8381 * progmodes/f90.el (f90-add-imenu-menu):
8382 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8383 * server.el (server-switch-buffer):
8384 * simple.el (delete-completion-window):
8386 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8387 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8388 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8389 * vc/ediff.el (ediff-documentation): Related users changed.
8390 * frame.el (selected-terminal): Remove the leftover.
8392 2013-08-05 Glenn Morris <rgm@gnu.org>
8394 * calendar/calendar.el (calendar-generate-month):
8395 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8396 (calendar-generate-month, calendar-font-lock-keywords):
8397 Fix for calendar-day-header-width > length of any day name.
8399 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8401 * desktop.el (desktop-clear): Use new name of sort predicate.
8403 * frameset.el (frameset): Add docstring. Move :version property to its
8405 (frameset-copy): Rename from copy-frameset.
8406 (frameset-p): Check more thoroughly.
8407 (frameset-prop): Do not check for :version, which is no longer a prop.
8408 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8409 Use new :never value instead of t.
8410 (frameset-filter-alist): Expand and clarify docstring.
8411 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8412 (frameset-filter-minibuffer, frameset-filter-save-param)
8413 (frameset-filter-restore-param, frameset-filter-iconified):
8414 Add pointer to docstring of frameset-filter-alist.
8415 (frameset-filter-params): Rename filter values to be more meaningful:
8416 :never instead of t, and reverse the meanings of :save and :restore.
8417 (frameset--process-minibuffer-frames): Clarify error message.
8418 (frameset-save): Avoid unnecessary and confusing call to framep.
8419 Use new BOA constructor for framesets.
8420 (frameset--reuse-list): Doc fix.
8421 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8422 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8423 (frameset-minibufferless-first-p): Doc fix.
8424 Rename from frameset-sort-frames-for-deletion.
8425 (frameset-restore): Doc fixes. Use new function names.
8426 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8428 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8430 * desktop.el (desktop-restore-forces-onscreen)
8431 (desktop-restore-reuses-frames): Document :keyword constant values.
8432 (desktop-filter-parameters-alist): Remove, now identical to
8433 frameset-filter-alist.
8434 (desktop--filter-tty*): Remove, moved to frameset.el.
8435 (desktop-save-frameset, desktop-restore-frameset):
8436 Do not pass :filters argument.
8438 * frameset.el (frameset-live-filter-alist)
8439 (frameset-persistent-filter-alist): New variables.
8440 (frameset-filter-alist): Use them. Add autoload cookie.
8441 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8442 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8443 `frameset--id' (it's supposed to be internal to frameset.el).
8444 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8445 (frameset--initial-params): New function.
8446 (frameset--get-frame): Use it. Doc fix.
8447 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8448 Accept :all, not 'all.
8449 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8450 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8451 with fbound symbols. Fix frame id matching, and remove matching ids if
8452 the frame being restored is deleted. Obey :delete.
8454 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8456 * subr.el (macrop): New function.
8457 (text-clone--maintaining): New var.
8458 (text-clone--maintain): Rename from text-clone-maintain. Use it
8459 instead of inhibit-modification-hooks.
8461 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8462 a proxy, so as handle autoloads and redefinitions of the target.
8463 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8465 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8466 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8467 (pcase--mutually-exclusive-p): New function.
8468 (pcase--split-consp): Use it.
8469 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8470 mutually exclusive with the current predicate.
8472 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8473 (edebug-macrop): Remove. Use `macrop' instead.
8474 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8476 * eshell/esh-cmd.el (eshell-macrop):
8477 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8479 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8481 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8482 (advice-mapc): New function, using it.
8483 (advice-function-member-p): New function.
8484 (advice--normalize): Store the cdr in advice--saved-rewrite since
8485 that's the part that will be changed.
8486 (advice--symbol-function): New function.
8487 (advice-remove): Handle removal before the function is defined.
8488 Adjust to new advice--saved-rewrite.
8489 (advice-member-p): Use advice-function-member-p and
8490 advice--symbol-function.
8492 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8494 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8495 (frameset-filter-minibuffer): Doc fix.
8496 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8497 (frameset--set-id, frameset--process-minibuffer-frames)
8498 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8499 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8501 * desktop.el (desktop-clear): Only delete frames when called
8502 interactively and desktop-restore-frames is non-nil. Doc fix.
8503 (desktop-read): Set desktop-saved-frameset to nil.
8505 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8507 * vc/vc.el (vc-ignore): Rewrite.
8508 (vc-default-ignore-completion-table, vc--read-lines)
8509 (vc--add-line, vc--remove-regexp): New functions.
8511 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8512 (vc-svn-ignore-completion-table): New function.
8514 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8515 (vc-hg-ignore-completion-table)
8516 (vc-hg-find-ignore-file): New functions.
8518 * vc/vc-git.el (vc-git-ignore): Rewrite.
8519 (vc-git-ignore-completion-table)
8520 (vc-git-find-ignore-file): New functions.
8522 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8524 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8525 (vc-bzr-ignore-completion-table)
8526 (vc-bzr-find-ignore-file): New functions.
8528 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8530 * frameset.el (frameset-prop): New function and setter.
8531 (frameset-save): Do not modify frame list passed by the caller.
8533 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8535 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8537 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8539 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8540 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8542 * custom.el (custom-initialize-default, custom-initialize-set)
8543 (custom-initialize-reset, custom-initialize-changed): Affect the
8544 toplevel-default-value (bug#6275, bug#14586).
8545 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8548 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8550 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8551 Add cl-def* expressions.
8553 * frameset.el (frameset-filter-params): Fix order of arguments.
8555 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8557 Move code related to saving frames to frameset.el.
8558 * desktop.el: Require frameset.
8559 (desktop-restore-frames): Doc fix.
8560 (desktop-restore-reuses-frames): Rename from
8561 desktop-restoring-reuses-frames.
8562 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8563 (desktop-clear): Clear frames too.
8564 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8565 (desktop--filter-tty*, desktop-save, desktop-read):
8566 Use frameset functions.
8567 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8568 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8569 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8570 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8571 (desktop--process-minibuffer-frames, desktop-save-frames)
8572 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8573 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8574 (desktop--sort-states, desktop-restoring-frames-p)
8575 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8576 (desktop-restoring-frameset-p, desktop-restore-frameset)
8577 (desktop--check-dont-save, desktop-save-frameset): New functions.
8578 (desktop--app-id): New constant.
8579 (desktop-first-buffer, desktop-buffer-ok-count)
8580 (desktop-buffer-fail-count): Move before first use.
8581 * frameset.el: New file.
8583 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8585 * files.el: Use lexical-binding.
8586 (dir-locals-read-from-file): Remove unused `err' variable.
8587 (hack-dir-local-variables--warned-coding): New var.
8588 (hack-dir-local-variables): Use it to avoid repeated warnings.
8589 (make-backup-file-name--default-function): New function.
8590 (make-backup-file-name-function): Use it as default.
8591 (buffer-stale--default-function): New function.
8592 (buffer-stale-function): Use it as default.
8593 (revert-buffer-insert-file-contents--default-function): New function.
8594 (revert-buffer-insert-file-contents-function): Use it as default.
8595 (insert-directory): Avoid add-to-list.
8597 * autorevert.el (auto-revert-handler): Simplify.
8598 Use buffer-stale--default-function.
8600 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8602 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8604 * whitespace.el (whitespace-ensure-local-variables): New function.
8605 (whitespace-cleanup-region): Call it.
8606 (whitespace-turn-on): Call it.
8608 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8610 Complete file name handlers.
8612 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8613 (tramp-handle-verify-visited-file-modtime)
8614 (tramp-handle-file-notify-rm-watch): New functions.
8615 (tramp-call-process): Do not bind `default-directory'.
8617 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8618 Order alphabetically.
8619 <access-file, add-name-to-file, dired-call-process>:
8620 <dired-compress-file, file-acl, file-notify-rm-watch>:
8621 <file-ownership-preserved-p, file-selinux-context>:
8622 <make-directory-internal, make-symbolic-link, set-file-acl>:
8623 <set-file-selinux-context, set-visited-file-modtime>:
8624 <verify-visited-file-modtime>: Add handler.
8625 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8627 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8628 <file-notify-add-watch, file-notify-rm-watch>:
8629 <set-file-times, set-visited-file-modtime>:
8630 <verify-visited-file-modtime>: Add handler.
8631 (with-tramp-gvfs-error-message)
8632 (tramp-gvfs-handle-set-visited-file-modtime)
8633 (tramp-gvfs-fuse-file-name): Remove.
8634 (tramp-gvfs-handle-file-notify-add-watch)
8635 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8636 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8638 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8639 Order alphabetically.
8640 <file-notify-rm-watch>: Use default Tramp handler.
8641 <executable-find>: Remove private handler.
8642 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8643 `default-directory'.
8644 (tramp-sh-handle-executable-find)
8645 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8646 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8647 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8648 Do not use `format' in `tramp-message'.
8650 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8651 <file-notify-rm-watch, set-visited-file-modtime>:
8652 <verify-visited-file-modtime>: Add handler.
8653 (tramp-smb-call-winexe): Do not bind `default-directory'.
8655 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8657 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8659 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8661 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8663 (log-view-diff-changeset): Same.
8664 (log-view-diff-common): Call backend command `previous-revision'
8665 to find out the previous revision, in both cases. Swap the
8666 variables `to' and `fr', so that `fr' usually refers to the
8667 earlier revision (Bug#14989).
8669 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8671 * ibuf-ext.el (ibuffer-filter-by-filename):
8672 Make it work with dired buffers too.
8674 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8676 * emacs-lisp/re-builder.el (reb-color-display-p):
8677 * files.el (save-buffers-kill-terminal):
8678 * net/browse-url.el (browse-url):
8679 * server.el (server-save-buffers-kill-terminal):
8680 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8681 Prefer nil to selected-frame for the first arg of frame-parameter.
8683 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8685 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8687 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8689 * minibuffer.el (completion--twq-all): Try and preserve each
8690 completion's case choice (bug#14907).
8692 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8694 * net/network-stream.el (open-network-stream): Mention the new
8695 :nogreeting parameter.
8696 (network-stream-open-starttls): Use the :nogreeting parameter
8699 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8701 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8702 more natural than popping.
8704 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8705 (shr-urlify): Highlight under mouse.
8707 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8709 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8711 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8713 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8716 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8717 point-min==1. Fix search string. Fix parentheses missing.
8719 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8720 assume point-min==1. Fix search string. Fix parentheses missing.
8722 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8724 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8727 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8729 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8730 initial frame is minibuffer-less. (Bug#14841)
8732 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8734 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8737 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8738 (tramp-maybe-open-connection): Use it.
8740 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8742 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8743 minimal set of parameters passed when creating a frame, because
8744 the minibuffer status of a frame cannot be changed later.
8746 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8748 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8749 replace-regexp-in-string and inadvertent omissions in previous change.
8750 (todo-filter-items): Ensure only file names are comma-separated in
8751 name of filtered items buffer.
8753 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8755 * desktop.el: Optionally force offscreen frames back onscreen.
8756 (desktop-restoring-reuses-frames): New option.
8757 (desktop--compute-pos, desktop--move-onscreen): New functions.
8758 (desktop--make-frame): Use desktop--move-onscreen.
8760 2013-07-27 Alan Mackenzie <acm@muc.de>
8762 Fontify a Java generic method as a function.
8763 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8766 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8768 * calendar/todo-mode.el: Add command to rename todo files.
8769 (todo-rename-file): New command.
8770 (todo-key-bindings-t): Add key binding for it. Change the
8771 bindings of todo-filter-regexp-items(-multifile) to use `x'
8772 instead of `r', since the latter is better suited to the new
8775 2013-07-27 Alan Mackenzie <acm@muc.de>
8777 Make Java try-with-resources statement parse properly.
8778 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8779 (c-block-stmt-1-2-key): New language constants/variables.
8780 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8781 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8782 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8783 with c-block-stmt-1-2-key.
8785 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8787 * desktop.el (desktop--make-frame): Apply most frame parameters after
8788 creating the frame to force (partially or totally) offscreen frames to
8789 be restored as such.
8791 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8793 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8796 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8798 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8799 `base' arg of backtrace-frame.
8801 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8803 * simple.el (list-processes): Doc fix.
8805 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8807 * desktop.el (desktop--select-frame):
8808 Try harder to reuse existing frames.
8810 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8812 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8813 (edebug-eval): Use backtrace-eval.
8814 (edebug--display, edebug--recursive-edit): Don't let-bind the
8815 edebug-outer-* vars that keep track of variables we locally let-bind.
8816 (edebug-outside-excursion): Don't restore outside values of locally
8818 (edebug--display): Use user-error.
8819 (cl-lexical-debug, cl-debug-env): Remove.
8821 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8823 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8824 are restored to be sure that they are visible before deleting any
8827 2013-07-26 Matthias Meulien <orontee@gmail.com>
8829 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8830 vc-print-root-log. (Bug#14948)
8832 2013-07-26 Richard Stallman <rms@gnu.org>
8834 Add aliases for encrypting mail.
8835 * epa.el (epa-mail-aliases): New option.
8836 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8837 Bind inhibit-read-only so read-only text doesn't ruin everything.
8838 (epa-mail-default-recipients): New subroutine broken out.
8839 Handle epa-mail-aliases.
8841 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8843 Add support for lexical variables to the debugger's `e' command.
8844 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8845 vars, except for debugger-outer-match-data.
8846 (debugger-frame-number): Move check for "on a function call" from
8847 callers into it. Add `skip-base' argument.
8848 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8849 (debugger-env-macro): Only reset the state stored in non-variables,
8850 i.e. current-buffer and match-data.
8851 (debugger-eval-expression): Rewrite using backtrace-eval.
8852 * subr.el (internal--called-interactively-p--get-frame): Remove.
8853 (called-interactively-p):
8854 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8855 `base' arg of backtrace-frame instead.
8857 2013-07-26 Glenn Morris <rgm@gnu.org>
8859 * align.el (align-regexp): Doc fix. (Bug#14857)
8860 (align-region): Explicit error if subexpression missing/does not match.
8862 * simple.el (global-visual-line-mode):
8863 Do not duplicate the mode lighter. (Bug#14858)
8865 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8867 * window.el (display-buffer): In display-buffer bind
8868 split-window-keep-point to t, bug#14829.
8870 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8872 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8873 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8874 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8875 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8877 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8878 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8880 2013-07-25 Glenn Morris <rgm@gnu.org>
8882 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8884 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8886 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8887 parameter to modify-frame-parameters if the value has not changed;
8888 this is a workaround for bug#14949.
8889 (desktop--make-frame): On cl-delete-if call, check parameter name,
8892 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8894 * vc/vc.el (vc-ignore): New function.
8896 * vc/vc-svn.el (vc-svn-ignore): New function.
8898 * vc/vc-hg.el (vc-hg-ignore): New function.
8900 * vc/vc-git.el (vc-git-ignore): New function.
8902 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8903 (vc-dir-ignore): New function.
8905 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8906 (cvs-append-to-ignore): Move here from pcvs.el.
8908 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8910 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8912 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8914 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8915 (desktop-restore-frames): Warn when deleting an existing frame failed.
8917 2013-07-24 Glenn Morris <rgm@gnu.org>
8919 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8921 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8923 * filenotify.el (file-notify-supported-p):
8924 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8927 * autorevert.el (auto-revert-use-notify)
8928 (auto-revert-notify-add-watch):
8929 * net/tramp.el (tramp-file-name-for-operation):
8930 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8931 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8932 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8933 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8934 Remove `file-notify-supported-p' entry.
8936 2013-07-24 Glenn Morris <rgm@gnu.org>
8938 * printing.el: Replace all uses of deleted ps-windows-system,
8939 ps-lp-system, ps-flatten-list with lpr- versions.
8941 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8943 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8944 checked with memq (bug#14935).
8946 * files.el (revert-buffer-function): Use a non-nil default.
8947 (revert-buffer-preserve-modes): Declare var to
8948 provide access to the `preserve-modes' argument.
8949 (revert-buffer): Let-bind it.
8950 (revert-buffer--default): New function, extracted from revert-buffer.
8952 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8954 * lpr.el: Signal print errors more prominently.
8955 (print-region-function): Don't default to nil.
8956 (lpr-print-region): New function, extracted from print-region-1.
8957 Check lpr's return value and signal an error in case of problem.
8958 (print-region-1): Use it.
8959 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8961 (ps-printer-name): Default to nil.
8962 (ps-printer-name-option): Default to lpr-printer-switch.
8963 (ps-print-region-function): Don't default to nil.
8964 (ps-postscript-code-directory): Simplify default.
8965 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8966 (ps-string-list, ps-eval-switch, ps-flatten-list)
8967 (ps-flatten-list-1): Remove.
8968 (ps-multibyte-buffer): Avoid setq.
8969 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8970 (print-region-function, ps-print-region-function): Don't set them here.
8972 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8974 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8975 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8976 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8977 (ido-decorations): Doc fix.
8979 * ansi-color.el: Fix old URL.
8981 2013-07-23 Michael R. Mauger <michael@mauger.com>
8983 * progmodes/sql.el: Version 3.3
8984 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8985 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8986 (sql-interactive-remove-continuation-prompt): Rewrite, use
8987 functions above. Fix continuation prompt and complete output line
8989 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8990 redirected output buffer.
8991 (sql-mode): Restore deleted code (Bug#13591).
8993 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8995 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8997 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8999 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9001 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9002 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9003 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9005 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9007 * desktop.el (desktop-clear): Simplify; remove useless checks
9008 against invalid buffer names.
9009 (desktop-list*): Use cl-list*.
9010 (desktop-buffer-info, desktop-create-buffer): Simplify.
9012 2013-07-23 Leo Liu <sdl.web@gmail.com>
9014 * bookmark.el (bookmark-make-record): Restore NAME as a default
9017 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9019 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9020 extracted from autoload--insert-text.
9021 (autoload--insert-text): Remove.
9022 (autoload--print-cookie-text): New function, extracted from
9023 autoload--insert-cookie-text.
9024 (autoload--insert-cookie-text): Remove.
9025 (autoload-generate-file-autoloads): Adjust calls accordingly.
9027 * winner.el (winner-hook-installed-p): Remove.
9028 (winner-mode): Simplify accordingly.
9030 * subr.el (add-to-list): Fix compiler-macro when `append' is
9031 not constant. Don't use `cl-member' for the base case.
9033 * progmodes/subword.el: Fix boundary case (bug#13758).
9034 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9036 (subword-backward-regexp): Make it a constant.
9037 (subword-forward-internal): Don't treat a trailing capital as the
9038 beginning of a word.
9040 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9042 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9043 global value of tabulated-list-revert-hook (bug#14930).
9045 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9047 * desktop.el: Require 'cl-lib.
9048 (desktop-before-saving-frames-functions): New hook.
9049 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9050 for frames being saved. Rename from desktop--save-minibuffer-frames.
9051 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9052 Do not save frames with non-nil `desktop-dont-save' parameter.
9053 Filter out deleted frames.
9054 (desktop--find-frame): Use cl-find-if.
9055 (desktop--select-frame): Use cl-(first|second|third) to access values
9057 (desktop--make-frame): Use cl-delete-if.
9058 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9059 (desktop-restore-frames): Use cl-(first|second|third) to access values
9060 of desktop-mini. Look for visible frame at the end, not while
9063 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9064 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9065 Use string-match-p, looking-at-p (bug#14927).
9067 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9069 * desktop.el (desktop-saved-frame-states):
9070 Rename from desktop--saved-states; all users changed.
9071 (desktop-save-frames): Rename from desktop--save-frames.
9072 Do not save state to desktop file.
9073 (desktop-save): Save desktop-saved-frame-states to desktop file
9075 (desktop-restoring-frames-p): New function.
9076 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9077 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9078 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9080 * desktop.el: Correctly restore iconified frames.
9081 (desktop--filter-iconified-position): New function.
9082 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9084 2013-07-20 Glenn Morris <rgm@gnu.org>
9086 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9087 Let `message' do the formatting.
9088 (def-gdb-preempt-display-buffer): Add explicit format.
9090 * image-dired.el (image-dired-track-original-file):
9091 Use with-current-buffer.
9092 (image-dired-track-thumbnail): Use with-current-buffer.
9093 Avoid changing point of wrong window.
9095 * image-dired.el (image-dired-track-original-file):
9096 Avoid changing point of wrong window. (Bug#14909)
9098 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9100 * progmodes/gdb-mi.el (gdb-done-or-error):
9101 Guard against "%" in gdb output. (Bug#14127)
9103 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9105 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9108 * international/mule.el (coding-system-iso-2022-flags): Fix last
9111 2013-07-20 Kenichi Handa <handa@gnu.org>
9113 * international/mule.el (coding-system-iso-2022-flags):
9114 Add `8-bit-level-4'. (Bug#8522)
9116 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9118 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9121 * net/eww.el (eww-process-text-input): Allow inputting when the
9122 point is at the start of the line, as the properties aren't
9125 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9128 2013-07-19 Richard Stallman <rms@gnu.org>
9130 * epa.el (epa-popup-info-window): Doc fix.
9132 * subr.el (split-string): New arg TRIM.
9134 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9136 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9137 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9139 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9141 * filenotify.el (file-notify--library): Rename from
9142 `file-notify-support'. Do not autoload. Adapt all uses.
9143 (file-notify-supported-p): New defun.
9145 * autorevert.el (auto-revert-use-notify):
9146 Use `file-notify-supported-p' instead of `file-notify-support'.
9148 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9150 * net/tramp.el (tramp-file-name-for-operation):
9151 Add `file-notify-supported-p'.
9153 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9155 (tramp-sh-file-name-handler-alist): Add it as handler for
9156 `file-notify-supported-p '.
9158 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9159 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9160 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9161 Add `ignore' as handler for `file-notify-*' functions.
9163 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9165 * simple.el (line-move-partial, line-move): Don't start vscroll or
9166 scroll-up if the current line is not taller than the window.
9169 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9171 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9172 highlight question marks in the method names as strings.
9173 (ruby-block-beg-keywords): Inline.
9174 (ruby-font-lock-keyword-beg-re): Extract from
9175 `ruby-font-lock-keywords'.
9177 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9179 * frame.el (blink-cursor-blinks): New defcustom.
9180 (blink-cursor-blinks-done): New defvar.
9181 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9182 (blink-cursor-timer-function): Check if number of blinks has been
9184 (blink-cursor-suspend, blink-cursor-check): New defuns.
9186 2013-07-15 Glenn Morris <rgm@gnu.org>
9188 * edmacro.el (edmacro-format-keys): Fix previous change.
9190 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9192 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9193 The hack didn't work outside English locales anyway.
9195 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9197 * simple.el (define-alternatives): Rename from alternatives-define,
9198 per RMS' suggestion.
9200 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9202 * desktop.el (desktop-restore-frames): Change default to t.
9203 (desktop-restore-in-current-display): Now offer more options.
9204 (desktop-restoring-reuses-frames): New customization option.
9205 (desktop--saved-states): Doc fix.
9206 (desktop-filter-parameters-alist): New variable, renamed and expanded
9207 from desktop--excluded-frame-parameters.
9208 (desktop--target-display): New variable.
9209 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9210 (desktop--filter-tty*, desktop--filter-*-color)
9211 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9212 (desktop--filter-save-desktop-parm)
9213 (desktop-restore-in-original-display-p): New functions.
9214 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9215 (desktop--save-minibuffer-frames): New function, inspired by a similar
9216 function from Martin Rudalics.
9217 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9218 (desktop--restore-in-this-display-p): Remove.
9219 (desktop--find-frame): Rename from desktop--find-frame-in-display
9220 and add predicate argument.
9221 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9222 (desktop--reuse-list): New variable.
9223 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9225 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9227 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9229 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9231 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9233 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9234 Highlight conversion methods on Kernel.
9236 2013-07-13 Alan Mackenzie <acm@muc.de>
9238 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9239 and comment it out. This out-commenting enables certain C++
9240 declarations to be parsed correctly.
9242 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9244 * international/mule.el (define-coding-system): Doc fix.
9246 * simple.el (default-font-height): Don't call font-info if the
9247 frame's default font didn't change since the frame was created.
9250 2013-07-13 Leo Liu <sdl.web@gmail.com>
9252 * ido.el (ido-read-file-name): Guard against non-symbol value.
9254 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9256 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9259 2013-07-13 Leo Liu <sdl.web@gmail.com>
9261 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9262 ido-set-matches call. (Bug#6852)
9264 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9266 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9267 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9269 (ruby-font-lock-keywords): Distinguish calls to functions with
9270 module-like names from module references. Highlight character
9273 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9275 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9276 (gdb-send): Handle continued commands. (Bug#14847)
9278 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9280 * desktop.el (desktop--v2s): Remove unused local variable.
9281 (desktop-save-buffer): Make defvar-local; adjust docstring.
9282 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9283 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9285 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9287 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9289 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9291 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9294 2013-07-12 Glenn Morris <rgm@gnu.org>
9296 * doc-view.el: Require cl-lib at runtime too.
9297 (doc-view-remove-if): Remove.
9298 (doc-view-search-next-match, doc-view-search-previous-match):
9301 * edmacro.el: Require cl-lib at runtime too.
9302 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9303 (edmacro-mismatch, edmacro-subseq): Remove.
9305 * shadowfile.el: Require cl-lib.
9306 (shadow-remove-if): Remove.
9307 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9310 * wid-edit.el: Require cl-lib.
9311 (widget-choose): Use cl-remove-if.
9312 (widget-remove-if): Remove.
9314 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9315 (ebrowse-delete-if-not): Remove.
9316 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9317 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9318 Use cl-delete-if-not.
9320 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9322 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9323 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9325 2013-07-12 Leo Liu <sdl.web@gmail.com>
9327 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9329 2013-07-11 Glenn Morris <rgm@gnu.org>
9331 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9332 (edebug-gensym-index, edebug-gensym):
9333 Remove reimplementation of cl-gensym.
9334 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9336 * thumbs.el: Require cl-lib at run-time too.
9337 (thumbs-gensym-counter, thumbs-gensym):
9338 Remove reimplementation of cl-gensym.
9339 (thumbs-temp-file): Use cl-gensym.
9341 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9342 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9343 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9344 (ert--union, ert--gensym-counter, ert--gensym-counter)
9345 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9346 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9347 (ert-make-test-unbound, ert--expand-should-1)
9348 (ert--expand-should, ert--should-error-handle-error)
9349 (should-error, ert--explain-equal-rec)
9350 (ert--plist-difference-explanation, ert-select-tests)
9351 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9352 Use cl-lib functions rather than reimplementations.
9354 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9356 * net/tramp.el (tramp-methods): Extend docstring.
9357 (tramp-connection-timeout): New defcustom.
9358 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9359 (with-tramp-progress-reporter): Simplify.
9360 (tramp-process-actions): Improve messages.
9362 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9363 * net/tramp-sh.el (tramp-maybe-open-connection):
9364 Use `tramp-connection-timeout'.
9365 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9368 2013-07-11 Leo Liu <sdl.web@gmail.com>
9370 * ido.el (ido-read-file-name): Conform to the requirements of
9371 read-file-name. (Bug#11861)
9372 (ido-read-directory-name): Conform to the requirements of
9373 read-directory-name.
9375 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9377 * subr.el (delay-warning): New function.
9379 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9381 * simple.el (default-line-height): New function.
9382 (line-move-partial, line-move): Use it instead of computing the
9384 (line-move-partial): Always compute ROWH. If the last line is
9385 partially-visible, but its text is completely visible, allow
9386 cursor to enter such a partially-visible line.
9388 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9390 Improve error messages. (Bug#14808)
9392 * net/tramp.el (tramp-current-connection): New defvar, moved from
9394 (tramp-message-show-progress-reporter-message): Remove, not
9396 (tramp-error-with-buffer): Show message in minibuffer.
9397 Discard input before waiting. Reset connection timestamp.
9398 (with-tramp-progress-reporter): Improve messages.
9399 (tramp-process-actions): Use progress reporter. Delete process in
9400 case of error. Improve messages.
9402 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9403 Call `tramp-error-with-buffer' with vector and buffer.
9404 (tramp-current-connection): Remove.
9405 (tramp-maybe-open-connection): The car of
9406 `tramp-current-connection' are the first 3 slots of the vector.
9408 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9410 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9411 inside continued strings.
9413 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9415 Timestamp fixes for undo (Bug#14824).
9416 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9418 2013-07-10 Leo Liu <sdl.web@gmail.com>
9420 * files.el (require-final-newline): Allow safe local value.
9423 2013-07-09 Leo Liu <sdl.web@gmail.com>
9425 * ido.el (ido-read-directory-name): Handle fallback.
9426 (ido-read-file-name): Update DIR to ido-current-directory.
9428 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9430 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9432 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9433 "autoload". Remove "warn lower camel case" section, previously
9434 commented out. Highlight negation char. Do not highlight the
9435 target in singleton method definitions.
9437 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9439 * faces.el (tty-setup-hook): Declare the hook.
9441 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9442 and detect when a guard/pred depends on local vars (bug#14773).
9443 (pcase--u1): Adjust caller.
9445 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9447 * simple.el (line-move-partial, line-move): Account for
9449 (line-move-partial): Avoid setting vscroll when the last
9450 partially-visible line in window is of default height.
9452 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9454 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9457 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9459 * subr.el (read-quoted-char): Remove unused local variable `char'.
9461 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9463 * ediff.el (ediff-version): Version update.
9464 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9465 (ediff-merge-with-ancestor-command, ediff-directories-command)
9466 (ediff-directories3-command, ediff-merge-directories-command)
9467 (ediff-merge-directories-with-ancestor-command): New functions.
9468 All are command-line interfaces to ediff: to facilitate calling
9469 Emacs with the appropriate ediff functions invoked.
9471 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9472 (viper-save-kill-buffer): Check if buffer is modified.
9474 * viper.el (viper-version): Version update.
9475 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9477 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9479 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9480 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9481 (viper-intercept-ESC-key): Simplify.
9482 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9483 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9484 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9485 (viper-setup-ESC-to-escape): New functions.
9486 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9487 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9489 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9491 * simple.el (default-font-height, window-screen-lines):
9493 (line-move, line-move-partial): Use them instead of
9494 frame-char-height and window-text-height. This makes scrolling
9495 text smoother when the buffer's default face uses a font that is
9496 different from the frame's default font.
9498 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9500 * files.el (write-file): Do not display confirm dialog for NS,
9501 it does its own dialog, which can't be canceled (Bug#14578).
9503 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9505 * simple.el (line-move-partial): Adjust the row returned by
9506 posn-at-point for the current window-vscroll. (Bug#14567)
9508 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9510 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9511 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9514 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9516 * window.el (window-state-put-stale-windows): New variable.
9517 (window--state-put-2): Save list of windows without matching buffer.
9518 (window-state-put): Remove "bufferless" windows if possible.
9520 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9522 * simple.el (alternatives-define): Remove leftover :group keyword.
9525 2013-07-06 Leo Liu <sdl.web@gmail.com>
9527 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9528 (ido-enable-virtual-buffers): New variable.
9529 (ido-buffer-internal, ido-toggle-virtual-buffers)
9530 (ido-make-buffer-list): Use it.
9531 (ido-exhibit): Support turning on and off virtual buffers
9534 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9536 * simple.el (alternatives-define): New macro.
9538 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9540 * subr.el (read-quoted-char): Use read-key.
9541 (sit-for): Let read-event decode tty input (bug#14782).
9543 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9545 * calendar/todo-mode.el: Add handling of file deletion, both by
9546 mode command and externally. Fix various related bugs.
9547 Clarify Commentary and improve some documentation strings and code.
9548 (todo-delete-file): New command.
9549 (todo-check-file): New function.
9550 (todo-show): Handle external deletion of the file we're trying to
9551 show (bug#14688). Replace called-interactively-p by an optional
9552 prefix argument to avoid problematic interaction with catch form
9553 when byte compiled (bug#14702).
9554 (todo-quit): Handle external deletion of the archive's todo file.
9555 Make sure the buffer that was visiting the archive file is still
9556 live before trying to bury it.
9557 (todo-category-completions): Handle external deletion of any
9558 category completion files.
9559 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9560 of todo files, in case of external deletion.
9561 (todo-add-file): Replace unnecessary setq by let-binding.
9562 (todo-find-archive): Check whether there are any archives.
9563 Replace unnecessary setq by let-binding.
9564 (todo-archive-done-item): Use find-file-noselect to get the
9565 archive buffer whether or not the archive already exists.
9566 Remove superfluous code. Use file size instead of buffer-file-name to
9567 check if the archive is new; if it is, update list of archives.
9568 (todo-default-todo-file): Allow nil to be a valid value for when
9569 there are no todo files.
9570 (todo-reevaluate-default-file-defcustom): Use corrected definition
9571 of todo-default-todo-file.
9572 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9573 (todo-delete-category, todo-show-categories-table)
9574 (todo-category-number): Clarify comment.
9575 (todo-filter-items): Clarify documentation string.
9576 (todo-show-current-file, todo-display-as-todo-file)
9577 (todo-reset-and-enable-done-separator): Tweak documentation string.
9578 (todo-done-separator): Make separator length window-width, since
9579 bug#2749 is now fixed.
9581 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9583 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9584 Support both "gvfs-monitor-dir" and "inotifywait".
9585 (tramp-sh-file-inotifywait-process-filter): Rename from
9586 `tramp-sh-file-notify-process-filter'.
9587 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9588 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9590 2013-07-05 Leo Liu <sdl.web@gmail.com>
9592 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9594 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9596 * frame.el (display-pixel-height, display-pixel-width)
9597 (display-mm-height, display-mm-width): Mention behavior on
9598 multi-monitor setups in docstrings.
9599 (w32-display-monitor-attributes-list): Declare function.
9600 (display-monitor-attributes-list): Use it.
9602 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9604 * filenotify.el: New package.
9606 * autorevert.el (top): Require filenotify.el.
9607 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9609 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9610 (auto-revert-notify-handler): Use `file-notify-*' functions.
9612 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9614 * net/tramp.el (tramp-file-name-for-operation):
9615 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9617 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9618 for `file-notify-add-watch' and `file-notify-rm-watch'.
9619 (tramp-process-sentinel): Improve trace.
9620 (tramp-sh-handle-file-notify-add-watch)
9621 (tramp-sh-file-notify-process-filter)
9622 (tramp-sh-handle-file-notify-rm-watch)
9623 (tramp-get-remote-inotifywait): New defuns.
9625 2013-07-03 Juri Linkov <juri@jurta.org>
9627 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9628 call of `occur-read-primary-args' to interactive spec.
9630 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9631 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9633 2013-07-03 Matthias Meulien <orontee@gmail.com>
9635 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9636 `Buffer-menu-multi-occur'. Add it to the menu.
9637 (Buffer-menu-mode): Document it in docstring.
9638 (Buffer-menu-multi-occur): New command. (Bug#14673)
9640 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9642 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9643 keywords and built-ins.
9645 2013-07-03 Glenn Morris <rgm@gnu.org>
9647 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9649 Make info-xref checks case-sensitive by default
9650 * info.el (Info-find-node, Info-find-in-tag-table)
9651 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9652 Add option for exact case matching of nodes.
9653 * info-xref.el (info-xref): New custom group.
9654 (info-xref-case-fold): New option.
9655 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9657 2013-07-03 Leo Liu <sdl.web@gmail.com>
9659 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9661 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9663 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9664 middle of block statement initially, lower the depth. Remove
9665 FIXME comment, not longer valid. Remove middle of block statement
9666 detection, no need to do that anymore since we've been using
9667 `ruby-parse-region' here.
9669 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9671 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9673 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9675 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9677 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9679 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9680 (desktop-restore-in-current-display): New customization option.
9681 (desktop--excluded-frame-parameters): Add `font'.
9682 (desktop--save-frames): Rename from desktop--save-windows.
9683 (desktop--restore-in-this-display-p): New function.
9684 (desktop--make-full-frame): Remove unwanted width/height from
9685 full(width|height) frames.
9686 (desktop--restore-frames): Rename from desktop--restore-windows.
9687 Obey desktop-restore-current-display. Do not delete old frames or
9688 select a new frame unless we were able to restore at least one frame.
9690 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9692 * files.el (find-file-noselect): Simplify conditional expression.
9694 * textmodes/remember.el (remember-append-to-file):
9695 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9697 Add `remember-notes' function to store random notes across Emacs
9699 * textmodes/remember.el (remember-data-file): Add :set callback to
9700 affect notes buffer (if any).
9701 (remember-notes): New command.
9702 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9703 New defcustoms for the `remember-notes' function.
9704 (remember-notes-save-and-bury-buffer): New command.
9705 (remember-notes-mode-map): New variable.
9706 (remember-mode): New minor mode.
9707 (remember-notes--kill-buffer-query): New function.
9708 * startup.el (initial-buffer-choice): Add notes to custom type.
9710 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9712 * bindings.el (right-char, left-char): Don't call sit-for, this is
9713 no longer needed. Use arithmetic comparison only for numerical
9716 * international/mule-cmds.el (select-safe-coding-system):
9717 Handle the case of FROM being a string correctly. (Bug#14755)
9719 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9721 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9722 progression on degenerate tables.
9723 (shr-rescale-image): ImageMagick animated images currently don't work.
9725 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9727 Some fixes and improvements for desktop frame restoration.
9728 It is still experimental and disabled by default.
9729 * desktop.el (desktop--save-windows): Put the selected frame at
9730 the head of the list.
9731 (desktop--make-full-frame): New function.
9732 (desktop--restore-windows): Try to re-select the frame that was
9733 selected upon saving. Do not abort if some frames fail to restore,
9734 just show an error message and continue. Set up maximized frames
9735 so they have default non-maximized dimensions.
9737 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9739 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9740 Don't start heredoc inside a string or comment.
9742 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9744 * bindings.el (visual-order-cursor-movement): New defcustom.
9745 (right-char, left-char): Provide visual-order cursor motion by
9746 calling move-point-visually. Update the doc strings.
9748 2013-06-28 Kenichi Handa <handa@gnu.org>
9750 * international/mule.el (define-coding-system): New coding system
9751 properties :inhibit-null-byte-detection,
9752 :inhibit-iso-escape-detection, and :prefer-utf-8.
9753 (set-buffer-file-coding-system): If :charset-list property of
9754 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9755 appropriate for setting.
9757 * international/mule-cmds.el (select-safe-coding-system):
9758 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9759 multibyte characters, return utf-8 (or one of its siblings).
9761 * international/mule-conf.el (prefer-utf-8): New coding system.
9762 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9765 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9767 * net/shr.el (shr-render-region): New function.
9769 * net/eww.el: Autoload `eww-browse-url'.
9771 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9773 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9774 Adapt to `package-desc-version' being a list.
9775 Use `package--ac-desc-version' to retrieve version from a package
9778 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9780 New experimental feature to save&restore window and frame setup.
9781 * desktop.el (desktop-save-windows): New defcustom.
9782 (desktop--saved-states): New var.
9783 (desktop--excluded-frame-parameters): New defconst.
9784 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9785 (desktop--restore-windows, desktop--save-windows): New functions.
9786 (desktop-save): Call `desktop--save-windows'.
9787 (desktop-read): Call `desktop--restore-windows'.
9789 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9791 * net/shr.el (add-face-text-property): Remove compat definition.
9793 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9795 * info.el (Info-try-follow-nearest-node): Move search for footnote
9796 above search for node name to prevent missing a footnote (bug#14717).
9798 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9800 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9802 2013-06-27 Leo Liu <sdl.web@gmail.com>
9804 * net/eww.el (eww-read-bookmarks): Check file size.
9806 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9808 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9809 advice--pending if newdef is nil or an autoload (bug#13820).
9810 (advice-mapc): New function.
9812 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9814 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9816 (eww-mode-map): Add a menu bar.
9817 (eww-add-bookmark): New command.
9818 (eww-bookmark-mode): New mode and commands.
9819 (eww-add-bookmark): Remove newlines from the title.
9820 (eww-bookmark-browse): Don't bug out if it's the only window.
9822 2013-06-26 Glenn Morris <rgm@gnu.org>
9824 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9825 (hfy-size): Handle ttys. (Bug#14668)
9827 * info-xref.el: Update for Texinfo 5 change in *note format.
9828 (info-xref-node-re, info-xref-note-re): New constants.
9829 (info-xref-check-buffer): Use info-xref-note-re.
9831 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9833 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9835 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9836 nil terminate the loop (bug#14718).
9838 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9840 * net/eww.el: Rework history traversal. When going forward/back,
9841 put these actions into the history, too, so that they can be
9843 (eww-render): Move the history reset to the correct buffer.
9845 2013-06-25 Juri Linkov <juri@jurta.org>
9847 * files-x.el (modify-dir-local-variable): Change the header comment
9848 in the file with directory local variables. (Bug#14692)
9850 * files-x.el (read-file-local-variable-value): Add `default'.
9853 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9855 * net/eww.el (eww-make-unique-file-name): Create a unique file
9856 name before saving to entering `y' accidentally asynchronously.
9858 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9860 * net/eww.el (eww-download): New command and keystroke.
9862 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9864 * net/eww.el (eww-copy-page-url): Change name of command.
9866 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9867 be more consistent with Info and dired.
9869 * net/eww.el (eww-mode-map): Ditto.
9871 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9873 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9874 packages from archives.
9875 (package-archive-contents): Change format; include obsolete packages.
9876 (package-desc): Use `dir' to mark builtin packages.
9877 (package--from-builtin): Set the `dir' field to `builtin'.
9878 (generated-autoload-file, version-control): Declare.
9879 (package-compute-transaction): Change first arg and return value to be
9880 lists of package-descs. Adjust to new package-archive-contents format.
9881 (package--add-to-archive-contents): Adjust to new
9882 package-archive-contents format.
9883 (package-download-transaction): Arg is now a list of package-descs.
9884 (package-install): If `pkg' is a package name, pass it as
9885 a requirement, so it is subject to the usual (e.g. disabled) checks.
9886 (describe-package): Accept package-desc as well.
9887 (describe-package-1): Describe a specific package-desc. Add links to
9888 other package-descs for the same package name.
9889 (package-menu-describe-package): Pass the actual package-desc.
9890 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9892 (package-desc-status): New function.
9893 (package-menu--refresh): New function, extracted
9894 from package-menu--generate.
9895 (package-menu--generate): Use it.
9896 (package-delete): Update package-alist.
9897 (package-menu-execute): Don't call package-initialize.
9899 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9900 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9901 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9902 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9903 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9904 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9906 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9908 * window.el (window--state-get-1): Workaround for bug#14527.
9909 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9911 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9913 * net/eww.el (eww-back-url): Implement the history by stashing all
9914 the data into a list.
9915 (eww-forward-url): Allow going forward in the history, too.
9917 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9919 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9920 for values and use read--expression for expressions (bug#14710).
9921 (read-file-local-variable): Avoid setq.
9922 (read-file-local-variable-mode): Use minor-mode-list.
9924 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9926 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9929 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9931 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9932 Update imenu-support when dialect changes.
9934 2013-06-25 Leo Liu <sdl.web@gmail.com>
9936 * ido.el (ido-read-internal): Allow forward slash on windows.
9938 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9940 * net/eww.el (eww): Start of strings is \\`, not ^.
9942 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9944 * net/shr.el (shr-browse-url): Fix interactive spec.
9946 * net/eww.el (eww): Add a trailing slash to domain names.
9948 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9950 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9952 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9954 * net/shr.el (shr-browse-url): Use an external browser if given a
9957 * net/eww.el (eww-external-browser): Move to shr.
9959 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9961 * net/eww.el (eww): Work more correctly for file: URLs.
9962 (eww-detect-charset): Allow quoted charsets.
9963 (eww-yank-page-url): New command and keystroke.
9965 2013-06-24 Daiki Ueno <ueno@gnu.org>
9967 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9968 file name of gpg executable.
9969 (epg-context-program): New function.
9970 (epg-context-home-directory): New function.
9971 (epg-context-set-program): New function.
9972 (epg-context-set-home-directory): New function.
9973 (epg--start): Use `epg-context-program' instead of
9975 (epg--list-keys-1): Likewise.
9977 2013-06-24 Leo Liu <sdl.web@gmail.com>
9979 * ido.el (ido-read-internal): Fix bug#14620.
9981 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9983 * faces.el (face-documentation): Simplify.
9984 (read-face-attribute, tty-find-type, x-resolve-font-name):
9985 Use `string-match-p'.
9986 (list-faces-display): Use `string-match-p'. Simplify.
9987 (face-spec-recalc): Check face to avoid face alias loops.
9988 (read-color): Use `string-match-p' and non-capturing parenthesis.
9990 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9992 * net/shr.el (shr-rescale-image): Use the new
9993 :max-width/:max-height functionality.
9995 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9997 * net/eww.el (eww-search-prefix): New variable.
9999 (eww-external-browser): New variable.
10000 (eww-mode-map): New keystroke.
10001 (eww-browse-with-external-browser): New command.
10003 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10005 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10007 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10008 Don't skip aligning the next header field when padding is 0;
10009 otherwise, field width is not respected unless the title is as
10012 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10014 * emacs-lisp/package.el (package-el-version): Remove.
10015 (package-process-define-package): Fix inf-loop.
10016 (package-install): Allow symbols as arguments again.
10018 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10020 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10021 add some more keyword-like methods.
10022 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10024 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10026 * bs.el (bs-buffer-show-mark): Make defvar-local.
10027 (bs-mode): Use setq-local.
10029 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10030 (emacs-lock--try-unlocking): Make defvar-local.
10032 2013-06-22 Glenn Morris <rgm@gnu.org>
10034 * play/cookie1.el (cookie-apropos): Minor simplification.
10036 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10038 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10040 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10041 `regexp-opt', it breaks the build during dumping.
10043 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10045 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10046 Highlight keyword-like methods on Kernel and Module with
10047 font-lock-builtin-face.
10048 (auto-mode-alist): Consolidate different entries into one regexp
10049 and add more *file-s.
10051 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10053 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10055 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10056 (diary-entry): Use it in the action of this button type instead of
10059 * calendar/todo-mode.el: New version.
10060 (todo-add-category): Append new category to end of file and give
10061 it the highest number, instead of putting it at the beginning and
10062 giving it 0. Incorporate noninteractive functionality.
10063 (todo-forward-category): Adapt to 1-based category numbering.
10064 Allow skipping over archived categories.
10065 (todo-backward-category): Derive from todo-forward-category.
10066 (todo-backward-item, todo-forward-item): Make noninteractive and
10067 delegate interactive part to new commands. Make sensitive to done items.
10068 (todo-categories): Make value an alist of category names and
10069 vectors of item counts.
10070 (todo-category-beg): Make a defconst.
10071 (todo-category-number): Use 1 instead of 0 as initial value.
10072 (todo-category-select): Make sensitive to overlays, optional item
10073 highlighting and done items.
10074 (todo-delete-item): Make sensitive to overlays and marked and done items.
10075 (todo-edit-item): Make sensitive to overlays and editing of
10076 date/time header optional. Add format checks.
10077 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10078 no-op if point is not on an item. Advertise using todo-edit-quit.
10079 (todo-edit-mode): Make sensitive to new format, font-locking, and
10080 multiple todo files.
10081 (todo-insert-item, todo-insert-item-here): Derive from
10082 todo-basic-insert-item and extend functionality.
10083 (todo-item-end, todo-item-start): Make sensitive to done items.
10084 (todo-item-string): Don't return text properties. Restore point.
10085 (todo-jump-to-category): Make sensitive to multiple todo files and
10086 todo archives. Use extended category completion.
10087 (todo-lower-item, todo-raise-item): Rename to *-priority and
10088 derive from todo-set-item-priority.
10089 (todo-mode): Derive from special-mode. Make sensitive to new
10090 format, font-locking and multiple todo files. Make read-only.
10091 (todo-mode-map): Don't suppress digit keys, so they can supply
10092 prefix arguments. Add many new key bindings.
10093 (todo-prefix): Insert as an overlay instead of file text.
10094 Change semantics from diary date expression to purely visual mark.
10095 (todo-print): Rename to todo-print-buffer. Make buffer display
10096 features printable. Remove option to restrict number of items
10097 printed. Add option to print to file.
10098 (todo-print-function): Rename to todo-print-buffer-function.
10099 (todo-quit): Extend to handle exiting new todo modes.
10100 (todo-remove-item): Make sensitive to overlays.
10101 (todo-save): Extend to buffers of filtered items.
10102 (todo-show): Make sensitive to done items, multiple todo files and
10103 new todo modes. Offer to convert legacy todo file before creating
10104 first new todo file.
10105 (todo-show-priorities): Rename to todo-top-priorities.
10106 Change semantics of value 0.
10107 (todo-top-priorities): Rename to todo-filter-top-priorities,
10108 derive from todo-filter-items and extend functionality.
10109 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10110 and extend functionality to other types of filtered items.
10111 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10112 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10113 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10114 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10115 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10116 (todo-edit-mode-hook, todo-entry-prefix-function)
10117 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10118 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10119 (todo-initials, todo-insert-threshold, todo-item-string-start)
10120 (todo-line-string, todo-menu, todo-mode-hook)
10121 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10122 (todo-print-priorities, todo-remove-separator)
10123 (todo-save-top-priorities-too, todo-string-count-lines)
10124 (todo-string-multiline-p, todo-time-string-format)
10125 (todo-tmp-buffer-name): Remove.
10126 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10127 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10128 (todo-edit-category-diary-inclusion)
10129 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10130 (todo-edit-file, todo-edit-item-date-day)
10131 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10132 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10133 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10134 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10135 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10136 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10137 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10138 (todo-filter-top-priorities-multifile, todo-find-archive)
10139 (todo-find-filtered-items-file, todo-go-to-source-item)
10140 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10141 (todo-jump-to-archive-category, todo-lower-category)
10142 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10143 (todo-move-category, todo-move-item, todo-next-button)
10144 (todo-next-item, todo-padded-string, todo-powerset)
10145 (todo-previous-button, todo-previous-item)
10146 (todo-print-buffer-to-file, todo-raise-category)
10147 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10148 (todo-set-category-number, todo-set-item-priority)
10149 (todo-set-top-priorities-in-category)
10150 (todo-set-top-priorities-in-file, todo-show-categories-table)
10151 (todo-sort-categories-alphabetically-or-numerically)
10152 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10153 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10154 (todo-toggle-item-header, todo-toggle-item-highlighting)
10155 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10156 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10157 (todo-unarchive-items, todo-unmark-category): New commands.
10158 (todo-absolute-file-name, todo-add-to-buffer-list)
10159 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10160 (todo-basic-insert-item, todo-category-completions)
10161 (todo-category-number, todo-category-string-matcher-1)
10162 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10163 (todo-check-format, todo-clear-matches)
10164 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10165 (todo-current-category, todo-date-string-matcher)
10166 (todo-define-insertion-command, todo-diary-expired-matcher)
10167 (todo-diary-goto-entry, todo-diary-item-p)
10168 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10169 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10170 (todo-done-item-section-p, todo-done-separator)
10171 (todo-done-string-matcher, todo-files, todo-filter-items)
10172 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10173 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10174 (todo-insert-category-line, todo-insert-item-from-calendar)
10175 (todo-insert-sort-button, todo-insert-with-overlays)
10176 (todo-insertion-command-name, todo-insertion-key-bindings)
10177 (todo-label-to-key, todo-longest-category-name-length)
10178 (todo-make-categories-list, todo-mode-external-set)
10179 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10180 (todo-modes-set-3, todo-multiple-filter-files)
10181 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10182 (todo-read-category, todo-read-date, todo-read-dayname)
10183 (todo-read-file-name, todo-read-time)
10184 (todo-reevaluate-category-completions-files-defcustom)
10185 (todo-reevaluate-default-file-defcustom)
10186 (todo-reevaluate-filelist-defcustoms)
10187 (todo-reevaluate-filter-files-defcustom)
10188 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10189 (todo-reset-done-separator, todo-reset-done-separator-string)
10190 (todo-reset-done-string, todo-reset-global-current-todo-file)
10191 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10192 (todo-reset-prefix, todo-set-categories)
10193 (todo-set-date-from-calendar, todo-set-show-current-file)
10194 (todo-set-top-priorities, todo-short-file-name)
10195 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10196 (todo-total-item-counts, todo-update-buffer-list)
10197 (todo-update-categories-display, todo-update-categories-sexp)
10198 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10200 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10202 (todo-categories, todo-display, todo-edit, todo-faces)
10203 (todo-filtered): New defgroups.
10204 (todo-archived-only, todo-button, todo-category-string, todo-date)
10205 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10206 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10207 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10208 (todo-add-item-if-new-category, todo-always-add-time-string)
10209 (todo-categories-align, todo-categories-archived-label)
10210 (todo-categories-category-label, todo-categories-diary-label)
10211 (todo-categories-done-label, todo-categories-number-separator)
10212 (todo-categories-todo-label, todo-categories-totals-label)
10213 (todo-category-completions-files, todo-completion-ignore-case)
10214 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10215 (todo-done-separator-string, todo-done-string)
10216 (todo-files-function, todo-filter-done-items, todo-filter-files)
10217 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10218 (todo-initial-category, todo-initial-file, todo-item-mark)
10219 (todo-legacy-date-time-regexp, todo-mode-line-function)
10220 (todo-nondiary-marker, todo-number-prefix)
10221 (todo-print-buffer-function, todo-show-current-file)
10222 (todo-show-done-only, todo-show-first, todo-show-with-done)
10223 (todo-skip-archived-categories, todo-top-priorities-overrides)
10224 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10225 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10227 (todo-category-done, todo-date-pattern, todo-date-string-start)
10228 (todo-diary-items-buffer, todo-done-string-start)
10229 (todo-filtered-items-buffer, todo-item-start)
10230 (todo-month-abbrev-array, todo-month-name-array)
10231 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10232 (todo-top-priorities-buffer): New defconsts.
10233 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10234 (todo-categories-with-marks, todo-category-string-face)
10235 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10236 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10237 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10238 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10239 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10240 (todo-font-lock-keywords, todo-global-current-todo-file)
10241 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10242 (todo-insertion-commands-args)
10243 (todo-insertion-commands-args-genlist)
10244 (todo-insertion-commands-names, todo-insertion-map)
10245 (todo-key-bindings-t, todo-key-bindings-t+a)
10246 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10247 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10248 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10249 (todo-visited): New variables.
10251 2013-06-21 Glenn Morris <rgm@gnu.org>
10253 * play/cookie1.el (cookie-apropos): Add optional display argument.
10254 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10255 (psychoanalyze-pinhead): Use cookie-doctor.
10257 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10259 * emacs-lisp/package.el (tar-get-file-descriptor)
10260 (tar--extract): Declare.
10262 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10264 Extend flymake's warning predicate to be a function (bug#14217).
10265 * progmodes/flymake.el (flymake-warning-predicate): New.
10266 (flymake-parse-line): Use it.
10267 (flymake-warning-re): Make obsolete alias to
10268 `flymake-warning-predicate'.
10270 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10272 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10273 (package-obsolete-list): Remove.
10274 (package-activate): Remove min-version argument. Add `force' argument.
10275 Adjust to new package-alist format.
10276 (package-mark-obsolete): Remove.
10277 (package-unpack): Force reload of the package's autoloads.
10278 (package-installed-p): Check builtins if the installed package is not
10280 (package-initialize): Don't reset package-obsolete-list.
10281 Don't specify which package version to activate.
10282 (package-process-define-package, describe-package-1)
10283 (package-menu--generate): Adjust to new package-alist format.
10285 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10287 * allout-widgets.el (allout-widgets-mode-off)
10288 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10289 (allout-widgets-post-command-business)
10290 (allout-widgets-after-copy-or-kill-function)
10291 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10292 (allout-decorate-item-and-context)
10293 (allout-graphics-modification-handler): Fix typos in docstrings.
10294 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10296 * cmuscheme.el (scheme-start-file): Doc fix.
10297 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10298 (scheme-input-filter): Use `string-match-p'.
10300 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10302 * dired-x.el: Use Dired consistently in docstrings.
10304 * dired.el: Use Dired consistently in docstrings.
10305 (dired-readin, dired-mode): Use `setq-local'.
10306 (dired-switches-alist): Make defvar-local.
10307 (dired-buffers-for-dir): Use `zerop'.
10308 (dired-safe-switches-p, dired-switches-escape-p)
10309 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10310 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10311 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10312 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10313 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10314 (dired-toggle-marks, dired-mark-files-containing-regexp)
10315 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10316 (dired-flag-auto-save-files, dired-flag-backup-files):
10317 Use `looking-at-p'.
10318 (dired-mark-files-regexp, dired-build-subdir-alist):
10319 Use `string-match-p', `looking-at-p'.
10321 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10322 (direct-print-region-helper): Use `string-match-p'.
10324 2013-06-21 Leo Liu <sdl.web@gmail.com>
10326 * comint.el (comint-redirect-results-list-from-process):
10329 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10331 * net/eww.el (eww-update-header-line-format): Quote % characters.
10333 2013-06-21 Glenn Morris <rgm@gnu.org>
10335 * play/cookie1.el (cookie): New custom group.
10336 (cookie-file): New option.
10337 (cookie-check-file): New function.
10338 (cookie): Make it interactive. Make start and end messages optional.
10339 Interactively, display the result. Default to cookie-file.
10340 (cookie-insert): Default to cookie-file.
10341 (cookie-snarf): Make start and end messages optional.
10342 Default to cookie-file. Use with-temp-buffer.
10343 (cookie-read): Rename from read-cookie.
10344 Make start and end messages optional. Default to cookie-file.
10345 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10346 Do not autoload it.
10347 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10348 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10350 2013-06-21 Leo Liu <sdl.web@gmail.com>
10352 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10354 2013-06-21 Glenn Morris <rgm@gnu.org>
10356 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10358 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10359 Daniel Hackney <dan@haxney.org>
10361 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10362 Consolidate the single-file vs tarball code.
10363 (package-desc-suffix): New function.
10364 (package-desc-full-name): Don't bother inlining it.
10365 (package-load-descriptor): Return the new package-desc.
10366 (package-mark-obsolete): Remove unused arg `package'.
10367 (package-unpack): Make it work for single files as well.
10368 Make it update package-alist.
10369 (package--make-autoloads-and-stuff): Rename from
10370 package--make-autoloads-and-compile. Don't compile any more.
10371 (package--compile): New function.
10372 (package-generate-description-file): New function, extracted from
10373 package-unpack-single.
10374 (package-unpack-single): Remove.
10375 (package--with-work-buffer): Add indentation and debugging info.
10376 (package-download-single): Remove.
10377 (package-install-from-archive): Rename from package-download-tar, make
10378 it take a pkg-desc, and make it work for single files as well.
10379 (package-download-transaction): Simplify.
10380 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10381 external tar program.
10382 (package-install-from-buffer): Remove `pkg-desc' argument.
10383 Use package-tar-file-info for tar-mode buffers.
10384 (package-install-file): Simplify accordingly.
10385 (package-archive-base): Change to take a pkg-desc.
10386 * tar-mode.el (tar--check-descriptor): New function, extracted from
10387 tar-get-descriptor.
10388 (tar-get-descriptor): Use it.
10389 (tar-get-file-descriptor): New function.
10390 (tar--extract): New function, extracted from tar-extract.
10391 (tar--extract): Use it.
10392 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10393 case the summary uses non-ascii. Adjust to new calling convention of
10394 package-tar-file-info.
10396 2013-06-21 Leo Liu <sdl.web@gmail.com>
10398 * comint.el (comint-redirect-results-list-from-process):
10399 Fix random delay. (Bug#14681)
10401 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10403 * profiler.el (profiler-format-number): Use log, not log10.
10405 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10407 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10409 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10411 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10412 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10414 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10415 (AUTOGENEL): ... here.
10416 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10417 (cl--defsubst-expand): Use it.
10419 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10421 * subr.el (log10): Move here from C code, and declare as obsolete.
10422 All uses of (log10 X) replaced with (log X 10).
10424 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10426 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10427 Declare with `defvar-local'.
10428 (tabulated-list-use-header-line, tabulated-list-entries)
10429 (tabulated-list-padding, tabulated-list-printer)
10430 (tabulated-list-sort-key): Declare with `defvar-local'.
10431 (tabulated-list-init-header, tabulated-list-print-fake-header):
10434 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10436 * arc-mode.el (archive-mode): Add `archive-write-file' to
10437 `write-contents-functions' also for remote files. (Bug#14652)
10439 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10441 * cus-edit.el (custom-commands): Fix typos.
10442 (custom-display): Fix tooltip text.
10443 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10444 Fix typos in docstrings.
10445 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10446 (custom-unlispify-menu-entry, custom-magic-value-create)
10447 (custom-add-see-also, custom-group-value-create): Use ?\s.
10448 (custom-guess-type, customize-apropos, editable-field)
10449 (custom-face-value-create): Use `string-match-p'.
10450 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10452 * custom.el (custom-load-symbol): Use `string-match-p'.
10454 * ansi-color.el: Convert to lexical binding.
10455 (ansi-colors): Fix URL.
10456 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10457 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10458 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10460 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10462 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10464 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10466 2013-06-19 Tom Tromey <tromey@redhat.com>
10468 * net/eww.el (eww-top-url): Remove.
10469 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10470 (eww-render): Set new variables. Don't set eww-top-url.
10471 (eww-handle-link): Handle "prev", "home", and "contents".
10472 Downcase the rel text.
10473 (eww-top-url): Choose best top URL.
10475 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10477 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10478 relying in widget.el. Using widget.el leads to too many
10479 user interface inconsistencies.
10480 (eww-self-insert): Implement entering commands in text fields.
10481 (eww-process-text-input): New function to make text input field editing
10483 (eww-submit): Rewrite to use the new-style form methods.
10484 (eww-select-display): Display the correct selected item.
10485 (eww-change-select): Implement changing the select value.
10486 (eww-toggle-checkbox): Implement radio/checkboxes.
10487 (eww-update-field): Fix compilation error.
10488 (eww-tag-textarea): Implement <textarea>.
10490 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10491 we don't shadow mode-specific bindings.
10493 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10496 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10498 2013-06-19 Glenn Morris <rgm@gnu.org>
10500 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10502 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10504 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10507 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10509 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10511 * net/browse-url.el (browse-url-browser-function):
10512 `eww-browse-url' has the right calling signature, `eww' does not.
10514 2013-06-19 Glenn Morris <rgm@gnu.org>
10516 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10517 Only eval autoloaded macros.
10518 (byte-compile-autoload): Only give the macro warning for macros.
10520 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10521 (ps-underlined-faces): Declare.
10523 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10524 (speedbar-add-supported-extension): Declare.
10526 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10527 Don't include a date stamp in the header of the generated file;
10528 it leads to needless differences between output files.
10530 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10532 * net/secrets.el (secrets-struct-secret-content-type):
10533 Replace check of introspection data by a test call of "CreateItem".
10534 Some servers do not offer introspection.
10536 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10538 * electric.el (electric-pair-mode): Improve interaction with
10539 electric-layout-mode.
10540 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10541 (electric-pair-syntax): Use text-mode-syntax-table in comments
10543 (electric-pair--insert): New function.
10544 (electric-pair-post-self-insert-function): Use it and
10545 electric--after-char-pos.
10547 2013-06-19 Leo Liu <sdl.web@gmail.com>
10549 * progmodes/octave.el (octave-help): Fix regexp.
10551 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10553 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10554 (shr-table-horizontal-line): Allow nil as a value, and change the
10556 (shr-insert-table-ruler): Respect the nil value.
10558 2013-06-18 Tom Tromey <tromey@barimba>
10560 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10562 (eww-open-file): New defun.
10563 (eww-render): Initialize new variables.
10564 (eww-display-html): Handle "link" and "a".
10565 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10566 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10567 (eww-back-url): Rename from eww-previous-url.
10568 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10571 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10573 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10574 Distinguish ternary operator tokens from slash symbol and slash
10577 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10579 Convert symbol prettification into minor mode and global minor mode.
10581 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10582 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10583 (prettify-symbols--keywords): Rename from
10584 `prog-prettify-symbols-alist' and make a local defvar.
10585 (prettify-symbols--compose-symbol): Rename from
10586 `prog--prettify-font-lock-compose-symbol'.
10587 (prettify-symbols--make-keywords): Rename from
10588 `prog-prettify-font-lock-symbols-keywords' and simplify.
10589 (prog-prettify-install): Remove.
10590 (prettify-symbols-mode): New minor mode, based on
10591 `prog-prettify-install'.
10592 (turn-on-prettify-symbols-mode): New function.
10593 (global-prettify-symbols-mode): New globalized minor mode.
10595 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10596 * progmodes/cfengine.el (cfengine3-mode):
10597 * progmodes/perl-mode.el (perl-mode): Don't call
10598 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10600 2013-06-18 Juri Linkov <juri@jurta.org>
10602 * files-x.el (modify-file-local-variable-message): New function.
10603 (modify-file-local-variable)
10604 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10605 and call `modify-file-local-variable-message' when it's non-nil.
10606 (add-file-local-variable, delete-file-local-variable)
10607 (add-file-local-variable-prop-line)
10608 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10609 and use it. (Bug#9820)
10611 2013-06-18 Juri Linkov <juri@jurta.org>
10613 * emulation/vi.el (vi-shell-op):
10614 * emulation/vip.el (vip-execute-com, ex-command):
10615 * emulation/viper-cmd.el (viper-exec-bang):
10616 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10617 the call of `shell-command-on-region'. (Bug#14637)
10619 * simple.el (shell-command-on-region): Doc fix.
10621 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10623 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10626 2013-06-18 Glenn Morris <rgm@gnu.org>
10628 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10630 * newcomment.el (comment-search-forward, comment-search-backward):
10631 Doc fix. (Bug#14376)
10633 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10635 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10636 (buffer-face-mode-invoke): Doc fix.
10638 2013-06-18 Matthias Meulien <orontee@gmail.com>
10640 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10641 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10643 2013-06-18 Glenn Morris <rgm@gnu.org>
10645 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10646 Replace obsolete function generic-make-keywords with its expansion.
10648 * progmodes/python.el (ffap-alist): Declare.
10650 * textmodes/reftex.el (bibtex-mode-map): Declare.
10652 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10654 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10655 (package-unpack, package-unpack-single): Return the pkg-dir.
10656 (package-download-transaction): Use it to update package-alist.
10658 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10660 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10663 2013-06-17 Juri Linkov <juri@jurta.org>
10665 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10667 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10669 * emacs-lisp/package.el (package-load-descriptor):
10670 Remove `with-syntax-table' call, `read' doesn't need it.
10671 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10673 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10675 * startup.el (command-line): Expand package name returned by
10676 `package--description-file' (bug#14639).
10678 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10680 * emacs-lisp/package.el (package-load-descriptor): Do not call
10681 `emacs-lisp-mode', just use its syntax table.
10683 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10685 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10686 `font-lock-extra-managed-props' if any prettifying keyword is added.
10687 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10688 (prog-mode): Use `setq-local'.
10690 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10692 * international/characters.el (standard-case-table): Set syntax of ?»
10693 and ?« to punctuation.
10695 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10697 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10698 Save relevant match data before calling `syntax-ppss' (bug#14595).
10700 2013-06-15 Juri Linkov <juri@jurta.org>
10702 * files-x.el (modify-file-local-variable-prop-line): Add local
10703 variables to the end of the existing comment on the first line.
10704 Use `file-auto-mode-skip' to skip interpreter magic line,
10705 and also skip XML declaration.
10707 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10709 * startup.el (package--builtin-versions): New var.
10710 (package-subdirectory-regexp): Remove.
10711 (package--description-file): Hard code its value instead.
10713 * emacs-lisp/package.el: Don't activate packages older than builtin.
10714 (package-obsolete-list): Rename from package-obsolete-alist, and make
10715 it into a simple list of package-desc.
10716 (package-strip-version): Remove.
10717 (package-built-in-p): Use package--builtin-versions.
10718 (package-mark-obsolete): Simplify.
10719 (package-process-define-package): Mark it obsolete if older than the
10721 (package-handle-response): Use line-end-position.
10722 (package-read-archive-contents, package--download-one-archive):
10724 (package--add-to-archive-contents): Skip if older than the builtin or
10726 (package-menu-describe-package): Fix last change.
10727 (package-list-unversioned): New var.
10728 (package-menu--generate): Use it.
10730 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10731 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10732 (autoload-builtin-package-versions): New variable.
10733 (autoload-generate-file-autoloads): Use them.
10734 Remove the list of autoloaded functions/macros from the
10735 (autoload...) comments.
10737 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10739 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10741 * simple.el (line-move-partial): Don't jump to the next screen
10742 line as soon as it becomes visible. Instead, continue enlarging
10743 the vscroll until the portion of a tall screen line that's left on
10744 display is about the height of the frame's default font.
10747 2013-06-15 Glenn Morris <rgm@gnu.org>
10749 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10750 compilation-error-regexp-alist void, or local while let-bound.
10752 * progmodes/make-mode.el (makefile-mode-syntax-table):
10753 Treat "=" as punctuation. (Bug#14614)
10755 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10757 * help-fns.el (describe-variable):
10758 Add extra line for permanent-local variables.
10760 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10762 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10763 Add export, import, library. (Bug#9164)
10764 (library): Set indent function.
10766 2013-06-14 Glenn Morris <rgm@gnu.org>
10768 * term/xterm.el (xterm--query):
10769 Stop after first matching handler. (Bug#14615)
10771 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10773 Add support for dired in saveplace.
10774 * dired.el (dired-initial-position-hook): New variable.
10775 (dired-initial-position): Call hook to place cursor position.
10776 * saveplace.el (save-place-to-alist): Add dired position.
10777 (save-place-dired-hook): New function.
10779 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10781 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10782 through a symbol rather than letrec.
10784 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10785 (package-desc): Add `dir' field.
10786 (package-desc-full-name): New function.
10787 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10788 (package-maybe-load-descriptor): Remove.
10789 (package-load-all-descriptors): Just call package-load-descriptor.
10790 (package--disabled-p): New function.
10791 (package-desc-vers, package-desc-doc): Remove aliases.
10792 (package--dir): Remove function.
10793 (package-activate): Check if a package is disabled.
10794 (package-process-define-package): New function, extracted from
10796 (define-package): Turn into a place holder.
10797 (package-unpack-single, package-tar-file-info):
10798 Use package--description-file.
10799 (package-compute-transaction): Use package--disabled-p.
10800 (package-download-transaction): Don't call
10801 package-maybe-load-descriptor since they're all loaded anyway.
10802 (package-install): Change argument to be a pkg-desc.
10803 (package-delete): Use a single pkg-desc argument.
10804 (describe-package-1): Use package-desc-dir instead of package--dir.
10805 Use package-desc property instead of package-symbol.
10806 (package-install-button-action): Adjust accordingly.
10807 (package--push): Rewrite.
10808 (package-menu--print-info): Adjust accordingly. Change the ID format
10810 (package-menu-describe-package, package-menu-get-status)
10811 (package-menu--find-upgrades, package-menu-mark-upgrades)
10812 (package-menu-execute, package-menu--name-predicate):
10813 Adjust accordingly.
10814 * startup.el (package--description-file): New function.
10815 (command-line): Use it.
10816 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10817 Use package-desc-version.
10819 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10820 (byte-compile-preprocess): Use it.
10821 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10822 can't quite recognize.
10823 (byte-compile-add-to-list): Remove.
10824 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10825 (cconv-closure-convert): Add assertion.
10827 * emacs-lisp/map-ynp.el: Use lexical-binding.
10828 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10829 Factor out some repeated code.
10831 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10833 * subr.el (with-eval-after-load): New macro.
10834 (eval-after-load): Allow form to be a function.
10835 take advantage of lexical-binding.
10836 (do-after-load-evaluation): Use dolist and adjust to new format.
10837 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10839 2013-06-13 Juri Linkov <juri@jurta.org>
10841 * replace.el (perform-replace): Display "symbol " and other search
10842 modes from `isearch-message-prefix' in the *Help* buffer.
10844 * isearch.el (isearch-query-replace): Add " symbol" and other
10845 possible search modes from `isearch-message-prefix' to the prompt.
10846 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10847 when reading a regexp to collect.
10849 2013-06-13 Juri Linkov <juri@jurta.org>
10851 * isearch.el (word-search-regexp): Match whitespace if the search
10852 string begins or ends in whitespace. The LAX arg is applied to
10853 both ends of the search string. Use `regexp-quote' and explicit
10854 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10855 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10856 boundaries are replaced with symbol boundaries, and characters
10857 between symbols match non-word non-symbol syntax. (Bug#14602)
10859 2013-06-13 Juri Linkov <juri@jurta.org>
10861 * isearch.el (isearch-del-char): Don't exceed the length of
10862 `isearch-string' by the prefix arg. (Bug#14563)
10864 2013-06-13 Juri Linkov <juri@jurta.org>
10866 * isearch.el (isearch-yank-word, isearch-yank-line)
10867 (isearch-char-by-name, isearch-quote-char)
10868 (isearch-printing-char, isearch-process-search-char):
10869 Add optional count prefix arg. (Bug#14563)
10871 * international/isearch-x.el
10872 (isearch-process-search-multibyte-characters):
10873 Add optional count prefix arg.
10875 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10877 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10878 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10881 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10883 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10885 2013-06-13 Glenn Morris <rgm@gnu.org>
10887 * startup.el (tty-handle-args):
10888 Don't just discard "--" and anything after. (Bug#14608)
10890 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10892 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10894 Implement changes in Secret Service API. Make it backward compatible.
10895 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10896 (secrets-create-item): Use it. Prefix properties with interface.
10898 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10900 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10901 (term-emulate-terminal): Respect term-suppress-hard-newline.
10903 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10905 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10906 Only remove a `thumb-file' overlay. (Bug#14548)
10908 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10910 * mail/reporter.el (reporter-submit-bug-report):
10911 Handle missing package-name. (Bug#14600)
10913 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10915 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10916 (reftex-citation-prompt, reftex-default-bibliography)
10917 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10918 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10919 (reftex-bib-sort-author, reftex-bib-sort-year)
10920 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10921 (reftex-extract-bib-entries-from-thebibliography)
10922 (reftex-get-bibkey-default, reftex-get-bib-names)
10923 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10924 (reftex-format-bib-entry, reftex-parse-bibitem)
10925 (reftex-format-bibitem, reftex-do-citation)
10926 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10927 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10928 (reftex-insert-bib-matches, reftex-format-citation)
10929 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10930 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10931 existing comments into docstrings.
10933 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10935 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10937 2013-06-12 Andreas Schwab <schwab@suse.de>
10939 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10940 for auto-save files.
10942 2013-06-12 Glenn Morris <rgm@gnu.org>
10944 * ido.el (ido-delete-ignored-files): Remove.
10945 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10946 Go back to calling ido-ignore-item-p directly.
10948 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10950 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10952 * ido.el (ido-delete-ignored-files): New function,
10953 split from ido-make-file-list-1.
10954 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10955 (ido-make-file-list-1): Use ido-delete-ignored-files.
10957 2013-06-12 Leo Liu <sdl.web@gmail.com>
10959 * progmodes/octave.el (inferior-octave-startup)
10960 (inferior-octave-completion-table)
10961 (inferior-octave-track-window-width-change)
10962 (octave-eldoc-function-signatures, octave-help)
10963 (octave-find-definition): Use single quoted strings.
10964 (inferior-octave-startup-args): Change default value.
10965 (inferior-octave-startup): Do not hard code "-i" and
10966 "--no-line-editing".
10967 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10968 (inferior-octave-directory-tracker): Use it.
10969 (octave-goto-function-definition): Robustify.
10970 (octave-help): Support highlighting operators in 'See also'.
10971 (octave-find-definition): Find subfunctions only in Octave mode.
10973 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10975 * help-fns.el (help-fns--compiler-macro): If the handler function is
10976 named, then put a link to it.
10977 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10978 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10979 (cl-typep): Use it.
10980 (cl-eval-when): Simplify debug spec.
10981 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10982 compiler-macro function instead of setting `compiler-macro-file'.
10984 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10986 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10987 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10989 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10990 Daniel Hackney <dan@haxney.org>
10992 First part of Daniel Hackney's patch to package.el.
10993 * emacs-lisp/package.el: Use defstruct.
10994 (package-desc): New, main struct.
10995 (package--bi-desc, package--ac-desc): New structs, used to describe the
10996 format in external files.
10997 (package-desc-vers): Replace with package-desc-version accessor.
10998 (package-desc-doc): Replace with package-desc-summary accessor.
10999 (package-activate-1): Remove `package' arg since the pkg-vec now
11001 (define-package): Use package-desc-from-define.
11002 (package-unpack-single): Change file-name arg to be a symbol.
11003 (package--add-to-archive-contents): Use package-desc-create and new
11004 accessor functions to package--ac-desc.
11005 (package-buffer-info, package-tar-file-info): Return a package-desc.
11006 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11007 arg to be a package-desc.
11008 (package-install-file): Adjust accordingly. Use \' to match EOS.
11009 (package--from-builtin): New function.
11010 (describe-package-1, package-menu--generate): Use it.
11011 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11012 (package-generate-autoloads): Idem and return the name of the file.
11013 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11014 Change pkg-info arg to be a package-desc.
11015 Use package-make-ac-desc.
11016 (package-upload-file): Use \' to match EOS.
11017 * finder.el (finder-compile-keywords): Use package-make-builtin.
11019 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11021 * vc/vc.el (vc-deduce-fileset): Change error message.
11022 (vc-read-backend): New function.
11023 (vc-next-action): Use it.
11025 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11027 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11028 (prolog-font-lock-keywords): Use regexp-opt instead.
11029 Don't manually highlight strings.
11030 (prolog-mode-variables): Simplify comment-start-skip.
11031 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11033 * emacs-lisp/generic.el (generic--normalise-comments)
11034 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11035 (generic-mode-set-comments): Use them.
11036 (generic-bracket-support): Use setq-local.
11037 (generic-make-keywords-list): Declare obsolete.
11039 2013-06-11 Glenn Morris <rgm@gnu.org>
11041 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11042 Prettify after setting font-lock-defaults. (Bug#14574)
11044 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11046 * replace.el (query-replace, occur-read-regexp-defaults-function)
11048 * subr.el (declare-function, number-sequence, local-set-key)
11049 (substitute-key-definition, locate-user-emacs-file)
11050 (with-silent-modifications, split-string, eval-after-load):
11051 Fix typos, remove unneeded backslashes and reflow some docstrings.
11053 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11055 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11056 default for Elisp files.
11058 2013-06-11 Glenn Morris <rgm@gnu.org>
11060 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11061 although define-derived-mode was doing this anyway. (Bug#14583)
11063 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11065 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11066 Fix make-variable-buffer-local call to refer to the correct variable.
11068 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11070 * eshell/em-term.el (eshell-visual-commands)
11071 (eshell-visual-subcommands, eshell-visual-options):
11072 Add summary line to docstrings. Add cross-references.
11074 2013-06-10 Glenn Morris <rgm@gnu.org>
11076 * epa.el (epa-read-file-name): New function. (Bug#14510)
11077 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11079 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11081 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11082 output redirection to be ignored with visual commands.
11084 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11086 * eshell/em-term.el (eshell-visual-command-p): New function.
11087 (eshell-term-initialize): Move long lambda to separate function
11088 eshell-visual-command-p.
11089 * eshell/em-dirs.el (eshell-dirs-initialize):
11090 * eshell/em-script.el (eshell-script-initialize):
11091 Add missing #' to lambda.
11093 2013-06-08 Leo Liu <sdl.web@gmail.com>
11095 * progmodes/octave.el (octave-add-log-current-defun): New function.
11096 (octave-mode): Set add-log-current-defun-function.
11097 (octave-goto-function-definition): Do not move point if not found.
11098 (octave-find-definition): Enhance to try subfunctions first.
11100 2013-06-08 Glenn Morris <rgm@gnu.org>
11102 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11103 (byte-compile-backward-char, byte-compile-backward-word):
11104 Improve previous change, to handle non-explicit nil.
11106 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11108 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11109 (smie--opener/closer-at-point): New function.
11110 (smie--matching-block-data): Use it. Don't match from right after an
11111 opener or right before a closer. Obey smie-blink-matching-inners.
11112 Don't signal a mismatch for repeated inners like "switch..case..case".
11114 2013-06-07 Leo Liu <sdl.web@gmail.com>
11116 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11118 (octave-function-header-regexp): Fix. (Bug#14570)
11119 (octave-help-mode-finish-hook, octave-help-mode-finish):
11120 Remove. Just use temp-buffer-show-hook.
11122 * newcomment.el (comment-search-backward): Revert last change.
11125 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11127 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11129 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11130 through xargs, to avoid failure due to MS-Windows limitations on
11131 command-line length.
11133 2013-06-06 Glenn Morris <rgm@gnu.org>
11135 * font-lock.el (lisp-font-lock-keywords-2):
11136 Treat user-error like error.
11138 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11139 (byte-compile-backward-char, byte-compile-backward-word):
11140 Handle explicit nil arguments. (Bug#14565)
11142 2013-06-05 Alan Mackenzie <acm@muc.de>
11144 * isearch.el (isearch-allow-prefix): New user option.
11145 (isearch-other-meta-char): Don't exit isearch when a prefix
11146 argument is typed whilst `isearch-allow-prefix' is non-nil.
11149 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11151 * autorevert.el (auto-revert-notify-handler): Use memq.
11152 Hide assertion failure.
11154 * skeleton.el: Use cl-lib.
11155 (skeleton-further-elements): Use defvar-local.
11156 (skeleton-insert): Use cl-progv.
11158 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11160 * progmodes/prog-mode.el (prog-prettify-symbols)
11161 (prog-prettify-install): Update docstrings.
11163 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11165 * simple.el: Move all the prog-mode code to prog-mode.el.
11166 * progmodes/prog-mode.el: New file.
11167 * loadup.el: Add prog-mode.el.
11169 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11171 * simple.el (prog-prettify-symbols): Add version.
11172 (prog-prettify-install): Add convenience function to prettify symbols.
11174 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11175 (perl--augmented-font-lock-keywords-1)
11176 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11177 variables and use it.
11179 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11180 (cfengine3-mode): Remove unneeded variable and use it.
11182 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11183 (lisp--augmented-font-lock-keywords-1)
11184 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11185 Remove unneeded variables and use it.
11187 2013-06-05 João Távora <joaotavora@gmail.com>
11189 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11190 to point when opening the connection. (Bug#14380)
11192 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11194 * subr.el (load-history-regexp, load-history-filename-element)
11195 (eval-after-load, after-load-functions, do-after-load-evaluation)
11196 (eval-next-after-load, display-delayed-warnings)
11197 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11198 definition of save-match-data.
11199 (overriding-local-map): Remove accidental obsolescence declaration.
11201 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11203 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11205 Generalize symbol prettify support to prog-mode and implement it
11206 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11207 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11208 (prog--prettify-font-lock-compose-symbol)
11209 (prog-prettify-font-lock-symbols-keywords): New variables and
11210 functions to support symbol prettification.
11211 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11212 (lisp--augmented-font-lock-keywords-1)
11213 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11214 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11215 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11216 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11217 Implement prettify of -> => :: strings.
11218 * progmodes/perl-mode.el (perl-prettify-symbols)
11219 (perl--font-lock-compose-symbol)
11220 (perl--font-lock-symbols-keywords): Move to prog-mode.
11221 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11222 (perl-font-lock-keywords-1)
11223 (perl-font-lock-keywords-2): Remove explicit prettify support.
11224 (perl--augmented-font-lock-keywords)
11225 (perl--augmented-font-lock-keywords-1)
11226 (perl--augmented-font-lock-keywords-2, perl-mode):
11227 Implement prettify support.
11229 2013-06-05 Leo Liu <sdl.web@gmail.com>
11231 Re-implement SMIE matching block highlight using
11232 show-paren-data-function. (Bug#14395)
11233 * emacs-lisp/smie.el (smie-matching-block-highlight)
11234 (smie--highlight-matching-block-overlay)
11235 (smie--highlight-matching-block-lastpos)
11236 (smie-highlight-matching-block)
11237 (smie-highlight-matching-block-mode): Remove.
11238 (smie--matching-block-data-cache): New variable.
11239 (smie--matching-block-data): New function.
11240 (smie-setup): Use smie--matching-block-data for
11241 show-paren-data-function.
11243 * progmodes/octave.el (octave-mode-menu): Fix.
11244 (octave-find-definition): Skip garbage lines.
11246 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11248 Fix compilation error with simultaneous dynamic+lexical scoping.
11249 Add warning when a defvar appears after the first let-binding.
11250 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11251 (byte-compile-close-variables): Initialize it.
11252 (byte-compile--declare-var): New function.
11253 (byte-compile-file-form-defvar)
11254 (byte-compile-file-form-define-abbrev-table)
11255 (byte-compile-file-form-custom-declare-variable): Use it.
11256 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11257 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11258 (byte-compile-bind): Handle dynamic bindings that shadow
11260 (byte-compile-unbind): Make arg non-optional.
11261 (byte-compile-let): Simplify.
11262 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11263 (cconv--analyse-function, cconv-analyse-form): Populate it.
11264 Protect byte-compile-bound-variables to limit the scope of defvars.
11265 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11266 Remove unneeded rule for `declare'.
11268 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11269 so as to avoid depending on cl-adjoin at run-time.
11270 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11272 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11273 (macroexp--warn-and-return): Use it.
11275 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11277 * subr.el: Convert to lexical binding.
11278 (overriding-local-map): Make obsolete.
11279 (add-to-list): Doc fix. Add compiler macro.
11280 (read-key): Swap values of local maps.
11282 2013-06-05 Leo Liu <sdl.web@gmail.com>
11284 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11286 2013-06-04 Leo Liu <sdl.web@gmail.com>
11288 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11289 (compilation-auto-jump): Suppress the "Mark set" message to give
11290 way to exit message.
11292 2013-06-04 Alan Mackenzie <acm@muc.de>
11294 Remove faulty optimisation from indentation calculation.
11295 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11296 search limit based on 2000 characters back from indent-point.
11298 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11300 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11302 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11304 * emacs-lisp/lisp.el: Use lexical-binding.
11305 (lisp--local-variables-1, lisp--local-variables): New functions.
11306 (lisp--local-variables-completion-table): New var.
11307 (lisp-completion-at-point): Use it complete let-bound vars.
11309 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11310 eagerly (bug#14422).
11312 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11314 * autorevert.el (auto-revert-notify-enabled)
11315 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11316 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11317 (auto-revert-notify-handler): Handle also gfilenotify.
11319 * subr.el (file-notify-handle-event): New defun. Replacing ...
11320 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11323 2013-06-03 Juri Linkov <juri@jurta.org>
11325 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11326 `M-s h .'. (Bug#14427)
11328 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11329 command `hi-lock-face-symbol-at-point'.
11330 (hi-lock-face-symbol-at-point): New command.
11331 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11332 (hi-lock-menu): Add `highlight-symbol-at-point'.
11333 (hi-lock-mode): Doc fix.
11335 * isearch.el (isearch-forward-symbol-at-point): New command.
11336 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11337 (isearch-highlight-regexp): Add a regexp which matches
11338 words/symbols for word/symbol mode.
11340 * subr.el (find-tag-default-bounds): New function with the body
11341 mostly moved from `find-tag-default'.
11342 (find-tag-default): Move most code to `find-tag-default-bounds',
11343 call it and apply `buffer-substring-no-properties' afterwards.
11345 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11347 * eshell/em-term.el (eshell-term-initialize):
11348 Use `cl-intersection' rather than `intersection'.
11350 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11352 * vc/log-view.el: Doc fix.
11353 (log-view-mode-map): Copy keymap from `special-mode-map'.
11355 2013-06-02 Eric Ludlam <zappo@gnu.org>
11357 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11358 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11359 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11360 (eieio-unbound, eieio-default-superclass)
11361 (eieio--define-field-accessors, method-static, method-before)
11362 (method-primary, method-after, method-num-lists)
11363 (method-generic-before, method-generic-primary)
11364 (method-generic-after, method-num-slots)
11365 (eieio-specialized-key-to-generic-key)
11366 (eieio--check-type, class-v, class-p)
11367 (eieio-class-name, define-obsolete-function-alias)
11368 (eieio-class-parents-fast, eieio-class-children-fast)
11369 (same-class-fast-p, class-constructor, generic-p)
11370 (generic-primary-only-p, generic-primary-only-one-p)
11371 (class-option-assoc, class-option, eieio-object-p)
11372 (class-abstract-p, class-method-invocation-order)
11373 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11374 (eieio-class-un-autoload, eieio-defclass)
11375 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11376 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11377 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11378 (eieio-defgeneric-reset-generic-form)
11379 (eieio-defgeneric-form-primary-only)
11380 (eieio-defgeneric-reset-generic-form-primary-only)
11381 (eieio-defgeneric-form-primary-only-one)
11382 (eieio-defgeneric-reset-generic-form-primary-only-one)
11383 (eieio-unbind-method-implementations)
11384 (eieio--defmethod, eieio--typep)
11385 (eieio-perform-slot-validation, eieio-validate-slot-value)
11386 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11387 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11388 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11389 (eieio-slot-name-index, eieio-class-slot-name-index)
11390 (eieio-set-defaults, eieio-initarg-to-attribute)
11391 (eieio-attribute-to-initarg, eieio-c3-candidate)
11392 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11393 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11394 (eieio-class-precedence-list, eieio-generic-call-methodname)
11395 (eieio-generic-call-arglst, eieio-generic-call-key)
11396 (eieio-generic-call-next-method-list)
11397 (eieio-pre-method-execution-functions, eieio-generic-call)
11398 (eieio-generic-call-primary-only, eieiomt-method-list)
11399 (eieiomt-optimizing-obarray, eieiomt-install)
11400 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11401 (eieio-generic-form, eieio-defmethod, make-obsolete)
11402 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11403 (defclass): Remove `eval-and-compile' from macro.
11404 (call-next-method, shared-initialize): Instead of using
11405 `scoped-class' variable, use new eieio--scoped-class, and
11406 eieio--with-scoped-class.
11407 (initialize-instance): Rename local variable 'scoped-class' to
11408 'this-class' to remove ambiguitity from old global.
11410 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11412 (eieio--scoped-class-stack): New variable.
11413 (eieio--scoped-class): New fcn.
11414 (eieio--with-scoped-class): New scoping macro.
11415 (eieio-defclass): Use pushnew instead of add-to-list.
11416 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11417 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11418 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11419 `scoped-class' variable, use new eieio--scoped-class, and
11420 eieio--with-scoped-class.
11422 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11424 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11426 * eshell/esh-ext.el (eshell-external-command): Pass args to
11427 `eshell-find-interpreter'.
11428 (eshell-find-interpreter): Add new second parameter ARGS.
11430 * eshell/em-script.el (eshell-script-initialize): Add second arg
11431 to the function added as MATCH to `eshell-interpreter-alist'.
11433 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11434 the function added as MATCH to `eshell-interpreter-alist'.
11436 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11437 (eshell-visual-options): New defcustom.
11438 (eshell-escape-control-x): Adapt docstring.
11439 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11440 `eshell-visual-options' in addition to `eshell-visual-commands'.
11441 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11443 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11445 * progmodes/python.el (python-indent-block-enders): Add break,
11446 continue and raise keywords.
11448 2013-06-01 Glenn Morris <rgm@gnu.org>
11450 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11452 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11453 * progmodes/cc-cmds.el (delete-forward-p):
11454 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11455 * progmodes/cc-engine.el (buffer-syntactic-context):
11456 * progmodes/cc-fonts.el (face-property-instance):
11457 * progmodes/cc-mode.el (set-keymap-parents):
11458 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11459 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11460 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11461 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11462 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11464 * progmodes/cc-vars.el (other): Emacs has this widget since
11465 at least 21.1, so don't (re)define it.
11467 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11468 Replace the obsolete alias pcomplete-arg-quote-list.
11470 2013-06-01 Leo Liu <sdl.web@gmail.com>
11472 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11473 punctuation syntax.
11474 (inferior-octave-minimal-columns)
11475 (inferior-octave-last-column-width): New variables.
11476 (inferior-octave-track-window-width-change): New function.
11477 (inferior-octave-mode): Adjust column width so that Octave output,
11478 for example from 'ls', can fit into the window nicely.
11480 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11482 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11483 Highlight expansions inside regexp literals.
11485 2013-05-31 Glenn Morris <rgm@gnu.org>
11487 * obsolete/sym-comp.el (symbol-complete):
11488 Replace obsolete completion-annotate-function.
11490 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11492 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11494 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11495 New function, checks if point is inside a literal that allows
11496 expression expansion.
11497 (ruby-syntax-propertize-expansion): Use it.
11498 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11501 2013-05-30 Juri Linkov <juri@jurta.org>
11503 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11505 (isearch-invisible): New variable.
11506 (isearch-forward): Doc fix.
11507 (isearch-mode): Set `isearch-invisible'
11508 to the value of `search-invisible'.
11509 (isearch-toggle-case-fold): Doc fix.
11510 (isearch-toggle-invisible): New command.
11511 (isearch-query-replace): Let-bind `search-invisible'
11512 to the value of `isearch-invisible'.
11513 (isearch-search): Use `isearch-invisible' instead of
11514 `search-invisible'. Let-bind `search-invisible'
11515 to the value of `isearch-invisible'. (Bug#11378)
11517 2013-05-30 Juri Linkov <juri@jurta.org>
11519 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11520 call when `query-flag' is nil and `search-invisible' is non-nil.
11523 2013-05-30 Glenn Morris <rgm@gnu.org>
11525 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11527 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11528 (cc-require): Suppress spurious "noruntime" warnings.
11529 (cc-require-when-compile): Use fboundp, for sake of compiler.
11531 * progmodes/cc-mode.el: Move load of cc-vars before that of
11532 cc-langs (which in turn loads cc-vars), to quieten compiler.
11534 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11536 * paren.el: Simplify the code.
11537 (show-paren-mode): Always start the timer.
11538 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11539 (show-paren--overlay, show-paren--overlay-1): Rename from
11540 show-paren-overlay and show-paren-overlay-1, and initialize to an
11541 overlay rather than to nil.
11542 (show-paren-function): Misc cleanup and simplifications.
11544 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11546 * paren.el (show-paren-data-function): New hook.
11547 (show-paren--default): New function, extracted from show-paren-function.
11548 (show-paren-function): Use show-paren-data-function.
11550 2013-05-30 Glenn Morris <rgm@gnu.org>
11552 * ielm.el (ielm-map, ielm-complete-symbol):
11553 Use completion-at-point rather than obsolete functions.
11554 (inferior-emacs-lisp-mode): Doc fix.
11555 Set completion-at-point-functions, rather than
11556 comint-dynamic-complete-functions.
11558 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11559 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11560 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11562 * image.el (image-animated-p): Tweak definition.
11564 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11565 (rlogin-process-connection-type): Tweak default. Add set-after.
11566 (rlogin-host): Doc fix.
11567 (rlogin): Tweak prompt.
11568 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11570 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11571 * progmodes/tcl.el (inferior-tcl-mode-map):
11572 Use completion-at-point rather than obsolete alias.
11574 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11576 * minibuffer.el (read-file-name-completion-ignore-case):
11577 Move before completion--in-region, for eager macro expansion.
11579 2013-05-29 Juri Linkov <juri@jurta.org>
11581 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11582 for total count of matching lines. Add `global-matches' for total
11583 count of matches. Rename `matches' to `lines' for count of
11584 matching lines. Add `matches' for count of matches.
11585 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11586 to `prev-line' for line number of prev match endpt.
11587 Increment `matches' for every match. Print the number of
11588 matching lines in the header.
11589 (occur-context-lines): Rename `lines' to `curr-line'.
11590 Rename `prev-lines' to `prev-line'. (Bug#14017)
11592 2013-05-29 Juri Linkov <juri@jurta.org>
11594 * replace.el (perform-replace): Add `skip-read-only-count',
11595 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11596 Increment them for corresponding conditions and report the number
11597 of skipped occurrences in the final message. (Bug#11746)
11598 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11599 (replace-string, replace-regexp): Doc fix.
11601 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11603 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11605 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11606 prog-mode-map (bug#14504).
11608 2013-05-29 Leo Liu <sdl.web@gmail.com>
11610 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11611 (octave-help): Small simplification.
11613 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11614 off the highlight first.
11616 2013-05-29 Glenn Morris <rgm@gnu.org>
11618 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11619 Handle idlwave-last-system-routine-info-cons-cell being nil.
11621 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11622 (idlwave-write-paths): Simplify via with-temp-buffer.
11624 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11625 * emulation/cua-rect.el: Also load cua-base at run time.
11627 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11628 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11629 (cperl-imenu-on-info): Require imenu.
11631 2013-05-28 Alan Mackenzie <acm@muc.de>
11633 Handle "capitalised keywords" correctly.
11634 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11636 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11638 * eshell/em-unix.el: Add -r option to cp.
11640 2013-05-28 Glenn Morris <rgm@gnu.org>
11642 * vc/vc-arch.el (vc-exec-after): Declare.
11643 (vc-switches): Autoload.
11644 * vc/vc-bzr.el: No need to require vc when compiling.
11645 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11646 (vc-resynch-buffer, vc-dir-refresh): Declare.
11647 (vc-setup-buffer, vc-switches): Autoload.
11648 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11649 (vc-resynch-buffer): Declare.
11650 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11651 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11652 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11653 (grep-read-regexp, grep-read-files, grep-expand-template)
11654 (vc-dir-refresh): Declare.
11655 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11656 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11657 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11658 * vc/vc-mtn.el (vc-exec-after): Declare.
11659 (vc-switches): Autoload.
11660 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11661 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11662 (vc-file-tree-walk): Declare.
11663 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11664 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11665 (vc-tag-precondition, vc-rename-master): Autoload.
11666 * vc/vc-svn.el (vc-exec-after): Declare.
11667 (vc-switches, vc-setup-buffer): Autoload.
11668 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11670 (vc-resynch-buffer): Declare.
11672 * obsolete/fast-lock.el (byte-compile-warnings):
11673 Don't warn about obsolete features in this obsolete file.
11675 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11676 Move definition before use.
11678 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11679 (dun-unix-verbs): Remove dun-zippy.
11680 (dun-zippy): Remove function.
11682 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11684 2013-05-27 Juri Linkov <juri@jurta.org>
11686 * replace.el (replace-search): New function with code moved out
11687 from `perform-replace'.
11688 (replace-highlight, replace-dehighlight): Move function definitions
11689 up closer to `replace-search'. (Bug#11746)
11691 2013-05-27 Juri Linkov <juri@jurta.org>
11693 * replace.el (perform-replace): Ignore invisible matches.
11694 In addition to checking `query-replace-skip-read-only', also
11695 filter out matches by calling `run-hook-with-args-until-failure'
11696 on `isearch-filter-predicates', and also check `search-invisible'
11697 for t or call `isearch-range-invisible'.
11698 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11700 2013-05-27 Juri Linkov <juri@jurta.org>
11702 * isearch.el (isearch-filter-predicates): Rename from
11703 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11704 (isearch-message-prefix): Display text from the property
11705 `isearch-message-prefix' of the currently active filters.
11706 (isearch-search): Don't compare `isearch-filter-predicate' with
11707 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11708 on `isearch-filter-predicates'. Also check `search-invisible' for t
11709 or call `isearch-range-invisible'.
11710 (isearch-filter-visible): Make obsolete.
11711 (isearch-lazy-highlight-search):
11712 Call `run-hook-with-args-until-failure' on
11713 `isearch-filter-predicates' and use `isearch-range-invisible'.
11715 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11716 `isearch-filter-predicates' instead of `funcall'ing
11717 `isearch-filter-predicate'.
11718 (Info-mode): Set `Info-isearch-filter' to
11719 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11721 * dired-aux.el (dired-isearch-filter-predicate-orig):
11723 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11724 (dired-isearch-filenames-end): Add and remove
11725 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11726 instead of changing the value of `isearch-filter-predicate'.
11727 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11728 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11729 Put property `isearch-message-prefix' to "filename " on
11730 `dired-isearch-filter-filenames'.
11732 * wdired.el (wdired-change-to-wdired-mode):
11733 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11734 locally instead of changing `isearch-filter-predicate'.
11735 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11737 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11739 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11740 return the commit hash (Bug#14459). Also set the
11741 `vc-git-detached' property.
11742 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11743 (vc-git-mode-line-string): Use the same help-echo format whether
11744 in detached mode or not, because we know the actual revision now.
11745 When in detached mode, shorten the revision to 7 chars.
11747 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11749 * emacs-lisp/easy-mmode.el (define-minor-mode):
11750 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11751 mode hook and provide a docstring.
11753 2013-05-27 Alan Mackenzie <acm@muc.de>
11755 Remove spurious syntax-table text properties inserted by C-y.
11756 * progmodes/cc-mode.el (c-after-change): Also clear hard
11757 syntax-table property with value nil.
11759 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11761 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11762 when reading the events; the buffer layout shall not be changed.
11764 2013-05-27 Leo Liu <sdl.web@gmail.com>
11766 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11768 (inferior-octave-directory-tracker): Automatically re-sync
11770 (octave-help): Improve handling of 'See also'.
11772 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11774 * doc-view.el: Minor naming convention tweaks.
11775 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11777 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11778 even if there's no `display' property yet (bug#14435).
11780 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11782 * subr.el (unmsys--file-name): Rename from reveal-filename.
11784 * Makefile.in (custom-deps, finder-data, autoloads)
11785 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11786 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11787 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11789 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11791 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11792 error-completion on the first 2 args of condition-case (bug#14446).
11795 2013-05-25 Leo Liu <sdl.web@gmail.com>
11797 * comint.el (comint-previous-matching-input): Do not flood the
11798 *Messages* buffer with trivial messages.
11800 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11802 * progmodes/flymake.el (flymake-nop): Don't return a string.
11803 (flymake-set-at): Fix typo.
11805 * simple.el (read--expression): New function, extracted from
11806 eval-expression. Set completion-at-point-functions (bug#14465).
11807 (eval-expression, eval-minibuffer): Use it.
11809 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11811 * progmodes/flymake.el (flymake-save-buffer-in-file)
11812 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11813 (flymake-selected-frame, flymake-log, flymake-ins-after)
11814 (flymake-set-at, flymake-get-buildfile-from-cache)
11815 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11816 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11817 Refine the doc string.
11818 (flymake-get-file-name-mode-and-masks): Reformat.
11819 (flymake-get-real-file-name-function): Fix a minor bug.
11821 2013-05-24 Juri Linkov <juri@jurta.org>
11823 * progmodes/grep.el (grep-mode-font-lock-keywords):
11824 Support =linenumber= format used by git-grep for lines with
11825 function names. (Bug#13549)
11827 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11829 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11830 0 after a semi-colon; it works better for smie-auto-fill.
11831 (octave--indent-new-comment-line): New function.
11832 (octave-indent-new-comment-line): Use it (indirectly).
11833 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11834 modify comment-line-break-function.
11836 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11837 (smie-setup): Use add-function to set it.
11839 2013-05-24 Sam Steingold <sds@gnu.org>
11841 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11842 argument (before the `interactive' argument).
11844 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11846 * image-mode.el (image-mode-winprops): Add winprops to
11847 image-mode-winprops-alist before running
11848 image-mode-new-window-functions.
11849 * doc-view.el (doc-view-new-window-function): Don't delay
11850 doc-view-goto-page via timers (bug#14435).
11852 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11854 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11855 (doc-view-desktop-save-buffer): New function.
11856 (doc-view-restore-desktop-buffer): New function.
11857 (desktop-buffer-mode-handlers):
11858 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11860 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11861 `desktop-save-buffer' function.
11863 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11865 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11866 (tramp-gvfs-file-name-handler): Raise a user error when
11867 `tramp-gvfs-enabled' is nil.
11868 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11869 Do not raise a user error when loading package. (Bug#14447)
11871 * net/xesam.el: Move to obsolete/.
11873 2013-05-24 Glenn Morris <rgm@gnu.org>
11875 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11877 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11879 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11880 (Info-find-node, Man-getpage-in-background): Declare.
11882 * mail/unrmail.el (unrmail):
11883 Replace obsolete detect-coding-with-priority.
11885 * net/socks.el (socks-split-string): Use this rather than split-string.
11886 (socks-nslookup-host): Update for above change.
11887 (dynamic-choice, s5-dynamic-choice-match)
11888 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11889 Comment out unused code.
11891 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11892 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11893 (gud-tooltip-echo-area): Make obsolete.
11894 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11896 * progmodes/js.el (js--optimize-arglist): Declare.
11898 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11900 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11901 (ediff-window-C): Declare.
11903 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11904 Tweak requires to silence compiler.
11906 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11907 (he-search-string, he-tried-table, he-expand-list)
11908 (he-init-string, he-string-member, he-substitute-string)
11909 (he-reset-string): Declare.
11911 * obsolete/options.el (list-options): Use custom-variable-p,
11912 rather than obsolete alias.
11914 2013-05-23 Sam Steingold <sds@gnu.org>
11916 * simple.el (shell-command-on-region): Pass the `replace' argument
11917 down to `call-process-region' to comply with the doc as reported on
11918 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11920 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11922 * emacs-lisp/smie.el (smie-indent-forward-token)
11923 (smie-indent-backward-token): Handle string tokens (bug#14381).
11925 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11927 * ielm.el (ielm-menu): New menu.
11928 (inferior-emacs-lisp-mode): Set comment-start.
11930 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11932 * textmodes/reftex.el (reftex-ref-style-toggle):
11933 Fix deactivate action.
11935 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11936 Add cleveref macros.
11938 * textmodes/reftex-parse.el
11939 (reftex-locate-bibliography-files): Accept options for
11940 bibliography commands.
11941 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11942 Add addbibresource. Basic Biblatex support.
11944 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11946 * net/tramp-gvfs.el (top):
11947 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11948 when loading package. (Bug#14447)
11950 2013-05-23 Glenn Morris <rgm@gnu.org>
11952 * progmodes/js.el: No need to load comint when compiling.
11953 (ring-insert, comint-send-string, comint-send-input)
11954 (comint-last-input-end, ido-chop): Declare.
11956 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11957 * vc/ediff-mult.el: Adjust requires.
11958 (ediff-directories-internal, ediff-directory-revisions-internal)
11959 (ediff-patch-file-internal): Declare.
11960 * vc/ediff-ptch.el: Adjust requires.
11961 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11962 (ediff-find-file): Autoload.
11963 * vc/ediff-util.el: No need to load ediff when compiling.
11964 (ediff-regions-internal): Declare.
11965 * vc/ediff-wind.el: Adjust requires.
11966 (ediff-compute-toolbar-width): Define when compiling.
11967 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11968 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11969 (dired-get-filename, dired-get-marked-files)
11970 (ediff-last-dir-patch, ediff-patch-default-directory)
11971 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11972 (ediff-patch-buffer-internal): Declare.
11974 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11975 (ispell-process, ispell-buffer-local-words, lm-summary)
11976 (lm-section-start, lm-section-end): Declare.
11977 (checkdoc-ispell-init): Simplify.
11979 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11980 (he-string-member, he-reset-string, he-substitute-string): Declare.
11982 * eshell/em-ls.el: Adjust requires.
11983 (eshell-glob-regexp): Declare.
11984 * eshell/em-tramp.el: Adjust requires.
11985 (eshell-parse-command): Autoload.
11986 * eshell/em-xtra.el: Adjust requires.
11987 (eshell-parse-command): Autoload.
11988 * eshell/esh-ext.el: Adjust requires.
11989 (eshell-parse-command, eshell-close-handles): Autoload.
11990 * eshell/esh-io.el: Adjust requires.
11991 (eshell-output-filter): Autoload.
11992 * eshell/esh-util.el: No need to load tramp when compiling.
11993 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11995 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11996 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11997 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11998 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11999 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12000 * eshell/esh-opt.el, eshell/esh-proc.el:
12001 * eshell/esh-var.el: Adjust requires.
12002 * eshell/eshell.el: Do not require esh-util twice.
12003 (eshell-add-input-to-history): Declare.
12004 (eshell-command): Check history module is active before using it.
12006 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12008 2013-05-22 Leo Liu <sdl.web@gmail.com>
12010 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12012 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12014 * autorevert.el (auto-revert-notify-add-watch)
12015 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12016 it indicates changes in file modification time.
12018 2013-05-22 Glenn Morris <rgm@gnu.org>
12020 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12021 Always delete the autoloaded function from the noruntime and
12022 unresolved functions lists.
12024 * allout.el: No need to load epa, epg, overlay when compiling.
12025 (epg-context-set-passphrase-callback, epg-list-keys)
12026 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12027 (epg-key-user-id-list): Declare.
12029 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12030 (viper-set-parsing-style-toggling-macro)
12031 (viper-set-emacs-state-searchstyle-macros):
12032 Use called-interactively-p on Emacs.
12033 (viper-looking-back): Make it an obsolete alias. Update callers.
12034 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12035 Use looking-back rather than viper-looking-back.
12036 (viper-tmp-insert-at-eob, viper-enlarge-region)
12037 (viper-read-string-with-history, viper-register-to-point)
12038 (viper-append-to-register, viper-change-state-to-vi)
12039 (viper-backward-char-carefully, viper-forward-char-carefully)
12040 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12041 (viper-change-state-to-emacs): Declare.
12042 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12043 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12044 * emulation/viper-mous.el: Do not load viper-cmd.
12045 (viper-backward-char-carefully, viper-forward-char-carefully)
12046 (viper-forward-word, viper-adjust-window): Declare.
12048 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12050 * progmodes/idlw-help.el (idlwave-help-fontify):
12051 Use called-interactively-p.
12053 * term/w32console.el (w32-get-console-codepage)
12054 (w32-get-console-output-codepage): Declare.
12056 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12057 Remove unnecessary declarations.
12058 (dframe-message): Doc fix.
12060 * info.el (dframe-select-attached-frame, dframe-current-frame):
12063 * speedbar.el (speedbar-message): Make it an obsolete alias.
12064 Update all callers.
12065 (speedbar-with-attached-buffer)
12066 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12067 (speedbar-with-writable): Use backquote.
12068 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12069 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12070 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12071 rather than speedbar- aliases.
12072 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12073 (speedbar-make-specialized-keymap, speedbar-insert-button)
12074 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12075 (speedbar-do-function-pointer): Declare.
12076 (rmail-speedbar-button, rmail-speedbar-find-file)
12077 (rmail-speedbar-move-message):
12078 Use dframe-with-attached-buffer rather than speedbar- alias.
12079 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12080 (dframe-message, speedbar-make-specialized-keymap)
12081 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12082 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12083 (speedbar-insert-button, dframe-select-attached-frame)
12084 (dframe-maybee-jump-to-attached-frame)
12085 (speedbar-change-initial-expansion-list)
12086 (speedbar-previously-used-expansion-list-name): Declare.
12087 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12088 Use dframe-message, dframe-with-attached-buffer rather than
12090 (gud-sentinel): Silence compiler.
12091 * progmodes/vhdl-mode.el (speedbar-refresh)
12092 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12093 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12094 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12095 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12096 (speedbar-file-lists, speedbar-make-tag-line)
12097 (speedbar-line-directory, speedbar-goto-this-file)
12098 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12099 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12100 (speedbar-make-button, speedbar-reset-scanners)
12101 (speedbar-files-item-info, speedbar-line-text)
12102 (speedbar-find-file-in-frame, speedbar-set-timer)
12103 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12104 (speedbar-with-writable): Do not (re)define it.
12105 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12106 rather than speedbar- alias.
12108 2013-05-21 Leo Liu <sdl.web@gmail.com>
12110 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12112 (octave-mode): Tweak fill-nobreak-predicate.
12113 (inferior-octave-startup): Check process to avoid infinite loop.
12114 (inferior-octave): Pop to buffer first to show abornmal process
12117 2013-05-21 Glenn Morris <rgm@gnu.org>
12119 * printing.el (pr-menu-bar): Define when compiling.
12121 2013-05-21 Leo Liu <sdl.web@gmail.com>
12123 * progmodes/octave.el (octave-auto-fill): Remove.
12124 (octave-indent-new-comment-line): Improve.
12125 (octave-mode): Use auto fill mode through
12126 comment-line-break-function and fill-nobreak-predicate.
12127 (octave-goto-function-definition): Support DEFUN_DLD.
12128 (octave-beginning-of-defun): Small tweak.
12129 (octave-help): Show parent directory.
12131 2013-05-21 Glenn Morris <rgm@gnu.org>
12133 * files.el (dired-unmark):
12134 * progmodes/gud.el (gdb-input): Update declarations.
12136 * calculator.el (electric, ehelp): No need to load when compiling.
12137 (Electric-command-loop, electric-describe-mode): Declare.
12139 * doc-view.el (doc-view-current-converter-processes): Move before use.
12141 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12142 Move MODE-set-explicitly definition before use.
12144 * international/mule-diag.el (mule-diag):
12145 Don't use obsolete window-system-version.
12147 * mail/feedmail.el (smtpmail): No need to load when compiling.
12148 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12150 * mail/mail-utils.el (rfc822): No need to load when compiling.
12151 (rfc822-addresses): Autoload it.
12152 (mail-strip-quoted-names): Trivial simplification.
12154 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12155 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12157 * net/snmp-mode.el (tempo): Don't duplicate requires.
12159 * progmodes/prolog.el (info): No need to load when compiling.
12160 (comint): Require before shell requires it.
12161 (Info-goto-node): Autoload it.
12162 (Info-follow-nearest-node): Declare.
12163 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12165 * textmodes/artist.el (picture-mode-exit): Declare.
12167 * textmodes/reftex-parse.el (reftex-parse-from-file):
12168 Trivial rewrite so the compiler can parse it better.
12170 2013-05-20 Leo Liu <sdl.web@gmail.com>
12172 * progmodes/octave.el (octave-help-mode-map)
12173 (octave-help-mode-finish-hook): New variables.
12174 (octave-help-mode, octave-help-mode-finish): New functions.
12175 (octave-help): Use octave-help-mode.
12177 2013-05-20 Glenn Morris <rgm@gnu.org>
12179 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12181 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12183 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12184 start at point, so that expansion starting right after opening
12185 slash in a regexp is recognized.
12186 (ruby-syntax-before-regexp-re): New defvar, extracted from
12187 ruby-syntax-propertize-function. Since the value of this regexp
12188 is looked up at runtime now, we should be able to turn
12189 `ruby-syntax-methods-before-regexp' into a defcustom later.
12190 (ruby-syntax-propertize-function): Split regexp matching into two
12191 parts, for opening and closing slashes. That allows us to skip
12192 over string interpolations and support multiline regexps.
12193 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12194 for them, which calls `ruby-syntax-propertize-expansion'.
12195 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12196 call to `ruby-syntax-propertize-function'.
12197 (ruby-syntax-propertize-expansion): Extracted from
12198 `ruby-syntax-propertize-expansions'. Handles one expansion.
12199 (ruby-syntax-propertize-percent-literal): Leave point right after
12200 the percent symbol, so that the expression expansion rule can
12201 propertize the contents.
12202 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12204 (ruby-syntax-propertize-expansions): Remove.
12206 2013-05-18 Juri Linkov <juri@jurta.org>
12208 * man.el (Man-default-man-entry): Remove `-' from the end
12209 of the default value. (Bug#14400)
12211 2013-05-18 Glenn Morris <rgm@gnu.org>
12213 * comint.el (comint-password-prompt-regexp):
12214 Allow "password for XXX" where XXX contains colons (eg https://...).
12216 2013-05-18 Leo Liu <sdl.web@gmail.com>
12218 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12219 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12220 (octave-source-directories): Don't check process.
12221 (octave-source-directories, octave-find-definition): Doc fix.
12223 2013-05-18 Glenn Morris <rgm@gnu.org>
12225 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12226 Remove backspace/delete bindings. (Bug#14392)
12228 * cus-dep.el (custom-make-dependencies): Sort the output.
12229 (custom-versions-load-alist): Convert comment to doc.
12231 2013-05-17 Leo Liu <sdl.web@gmail.com>
12233 * newcomment.el (comment-search-backward): Stricter in finding
12234 comment start. (Bug#14303)
12236 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12237 (octave-comment-start-skip): Properly anchored.
12239 2013-05-17 Leo Liu <sdl.web@gmail.com>
12241 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12242 Clean up when turned off. (Bug#14395)
12243 (smie--highlight-matching-block-overlay): No longer buffer-local.
12244 (smie-highlight-matching-block): Adjust.
12246 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12248 Doc string fix for "nanoseconds" (Bug#14406).
12249 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12250 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12252 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12254 * calc/calc-units.el (math-extract-units): Preserve powers
12257 2013-05-17 Leo Liu <sdl.web@gmail.com>
12259 * subr.el (delete-consecutive-dups): New function.
12260 * ido.el (ido-set-matches-1): Use it.
12261 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12262 * ido.el (ido-remove-consecutive-dups): Remove.
12264 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12266 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12267 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12268 regexp-opt's `words'.
12270 2013-05-16 Leo Liu <sdl.web@gmail.com>
12272 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12273 (smie--highlight-matching-block-overlay)
12274 (smie--highlight-matching-block-lastpos)
12275 (smie--highlight-matching-block-timer): New variables.
12276 (smie-highlight-matching-block): New function.
12277 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12278 (smie-setup): Conditionally enable smie-blink-matching-open.
12280 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12282 Sync with upstream verilog-mode r840.
12283 * progmodes/verilog-mode.el (verilog-mode-version)
12284 (verilog-mode-release-date): Update.
12285 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12286 (verilog-sig-tieoff): Fix string error on
12287 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12288 (verilog-read-decls): Fix parameters confusing
12289 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12291 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12293 * subr.el (reveal-filename): New function.
12295 * loadup.el: Compute Emacs executable versions on MS-Windows,
12296 where executables have the .exe extension. Add a hard link
12297 emacs-XX.YY.ZZ.exe on MS-Windows.
12299 * Makefile.in (XARGS_LIMIT): New variable.
12300 (custom-deps, finder-data, autoloads)
12301 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12302 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12303 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12304 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12306 2013-05-16 Leo Liu <sdl.web@gmail.com>
12308 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12309 (octave-mode-menu, octave-mode-map): Remove its uses.
12311 2013-05-16 Reto Zimmermann <reto@gnu.org>
12313 Sync with upstream vhdl mode v3.34.2.
12314 * progmodes/vhdl-mode.el: Use `push' throughout.
12315 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12316 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12317 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12318 (vhdl-actual-generic-name): New option to derive actual generic name.
12319 (vhdl-port-paste-signals): Replace formal by actual generics.
12320 (vhdl-beautify): New name for old group vhdl-align. Update users.
12321 (vhdl-beautify-options): New option.
12322 (vhdl-last-input-event): New compat alias. Use throughout.
12323 (vhdl-goto-line): Replace user level function `goto-line'.
12324 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12325 vhdl-fix-statement-buffer.
12326 (vhdl-create-mode-menu): Add some entries.
12327 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12328 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12329 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12330 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12331 to force statements on one line.
12332 (vhdl-remove-trailing-spaces-region):
12333 New, split from vhdl-remove-trailing-spaces.
12334 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12335 Respect vhdl-beautify-options.
12336 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12337 (vhdl-update-sensitivity-list): Not add with index if exists without.
12338 Not include array index with signal. Ignore keywords in comments.
12339 (vhdl-get-visible-signals): Regexp tweaks.
12340 (vhdl-template-component-inst): Handle empty library.
12341 (vhdl-template-type): Add template for 'enum' type.
12342 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12343 Use vhdl-replace-string.
12344 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12345 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12346 (vhdl-speedbar-initialize): Update for above name change.
12347 (vhdl-compose-wire-components): Fix in handling of constants.
12348 (vhdl-error-regexp-emacs-alist): New variable.
12349 (vhdl-error-regexp-add-emacs): New function;
12350 adds support for new compile.el (Emacs 22+)
12351 (vhdl-generate-makefile-1): Change target order for single lib. units.
12352 Allow use of absolute file names.
12354 2013-05-16 Leo Liu <sdl.web@gmail.com>
12356 * simple.el (prog-indent-sexp): Indent enclosing defun.
12358 2013-05-15 Glenn Morris <rgm@gnu.org>
12360 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12361 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12362 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12363 (whitespace-highlight): Move to whitespace group.
12365 * comint.el (comint-source):
12366 * pcmpl-linux.el (pcmpl-linux):
12367 * shell.el (shell-faces):
12368 * eshell/esh-opt.el (eshell-opt):
12369 * international/ccl.el (ccl): Remove empty custom groups.
12371 * completion.el (dynamic-completion-mode):
12372 * jit-lock.el (jit-lock-debug-mode):
12373 * minibuffer.el (completion-in-region-mode):
12374 * type-break.el (type-break-mode-line-message-mode)
12375 (type-break-query-mode):
12376 * emulation/tpu-edt.el (tpu-edt-mode):
12377 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12378 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12379 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12381 * term/xterm.el (xterm): Change parent group to terminals.
12383 * master.el (master): Remove empty custom group.
12384 (master-mode): Remove unused :group argument.
12385 * textmodes/refill.el (refill): Remove empty custom group.
12386 (refill-mode): Remove unused :group argument.
12388 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12390 * cus-dep.el: Provide a feature.
12391 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12392 Don't mistakenly ignore files whose basenames match a basename
12393 from preloaded-file-list (eg cedet/ede/simple.el).
12394 Add a fallback method for getting :group.
12396 2013-05-15 Juri Linkov <juri@jurta.org>
12398 * isearch.el (isearch-char-by-name): Rename from
12399 `isearch-insert-char-by-name'. Doc fix.
12400 (isearch-forward): Mention `isearch-char-by-name' in
12401 the docstring. (Bug#13348)
12403 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12404 `exit-minibuffer' instead of
12405 `isearch-nonincremental-exit-minibuffer'.
12406 (isearch-edit-string): Remove mention of
12407 `isearch-nonincremental-exit-minibuffer' from docstring.
12408 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12409 (isearch-forward-exit-minibuffer)
12410 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12412 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12414 * loadup.el: Just use unversioned DOC.
12416 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12417 literals as extending to EOB.
12418 (nxml-last-fontify-end): Remove unused variable.
12419 (nxml-after-change1): Use with-silent-modifications.
12420 (nxml-extend-after-change-region): Simplify.
12421 (nxml-extend-after-change-region1): Remove function.
12422 (nxml-after-change1): Don't adjust for dependent regions.
12423 (nxml-fontify-matcher): Simplify.
12424 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12425 (xmltok-add-dependent): Remove function.
12426 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12427 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12428 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12429 unclosed <[[, <?, comment, and other literals as extending to EOB.
12430 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12431 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12433 (rng-do-some-validation-1): Don't mark dependent regions.
12434 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12435 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12436 (nxml-clear-dependent-regions): Remove functions.
12437 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12438 (nxml-ensure-scan-up-to-date):
12439 Don't clear&mark dependent regions.
12441 2013-05-15 Leo Liu <sdl.web@gmail.com>
12443 * progmodes/octave.el (octave-goto-function-definition):
12444 Improve and fix callers.
12446 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12448 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12449 the setter (bug#14387).
12451 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12452 surrounding group (bug#14402).
12454 2013-05-14 Juri Linkov <juri@jurta.org>
12456 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12459 2013-05-14 Glenn Morris <rgm@gnu.org>
12461 * progmodes/f90.el (f90-imenu-generic-expression):
12462 Fix typo in 2013-05-08 change. (Bug#14402)
12464 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12466 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12467 Remove signals for which replies are never received.
12469 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12471 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12472 (gdb-handler-alist, gdb-handler-number): Remove variables.
12473 (gdb-handler-list): New variable.
12474 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12475 (gdb-pending-handler-p, gdb-handle-reply)
12476 (gdb-remove-all-pending-triggers): New functions.
12477 (gdb-discard-unordered-replies): New defcustom.
12478 (gdb-handler): New defstruct.
12479 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12480 instead of gdb-pending-triggers. Update docstring.
12481 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12482 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12483 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12484 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12485 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12486 (gdb-frame-handler): Pending triggers are now automatically managed.
12487 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12489 (gdb-input): Automatically handles pending triggers. Update docstring.
12490 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12491 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12493 (gdb-done-or-error): Now use gdb-handle-reply.
12495 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12497 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12500 2013-05-14 Glenn Morris <rgm@gnu.org>
12502 * subr.el (user-emacs-directory-warning): New option.
12503 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12505 2013-05-14 Leo Liu <sdl.web@gmail.com>
12507 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12509 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12510 (octave-font-lock-texinfo-comment): Fix invalid search bound
12511 error: wrong side of point.
12513 2013-05-14 Glenn Morris <rgm@gnu.org>
12515 * progmodes/flymake.el (flymake-xml-program): New option.
12516 (flymake-xml-init): Use it.
12518 * term/xterm.el: Provide a feature.
12520 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12522 2013-05-13 Glenn Morris <rgm@gnu.org>
12524 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12525 Add compat aliases as a hack workaround. (Bug#14384)
12527 2013-05-13 Leo Liu <sdl.web@gmail.com>
12529 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12531 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12533 (octave-comment-start-skip): Include %!.
12534 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12536 2013-05-12 Leo Liu <sdl.web@gmail.com>
12538 * progmodes/octave.el (inferior-octave-startup): Store the value
12539 of __octave_srcdir__ for octave-source-directories.
12540 (inferior-octave-check-process): New function refactored out of
12541 inferior-octave-send-list-and-digest.
12542 (octave-source-directories)
12543 (octave-find-definition-filename-function): New variables.
12544 (octave-source-directories)
12545 (octave-find-definition-default-filename): New functions.
12546 (octave-find-definition): Improve to find functions implemented in C++.
12548 2013-05-12 Glenn Morris <rgm@gnu.org>
12550 * calendar/diary-lib.el (diary-outlook-format-1):
12551 Don't include dayname in the output. (Bug#14349)
12553 2013-05-11 Glenn Morris <rgm@gnu.org>
12555 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12557 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12558 Treat cc-provide like provide.
12560 2013-05-11 Kevin Ryde <user42@zip.com.au>
12562 * cus-dep.el (custom-make-dependencies):
12563 Use generated-autoload-load-name for the sake of files such
12564 such cedet/semantic/bovine/c.el, where the base file name
12565 is not in load-path. (Bug#5277)
12567 2013-05-11 Glenn Morris <rgm@gnu.org>
12569 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12572 2013-05-11 Leo Liu <sdl.web@gmail.com>
12574 * progmodes/octave.el (octave-indent-comment): Improve.
12575 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12576 (octave-eldoc-function-signatures, octave-eldoc-function):
12578 (octave-mode, inferior-octave-mode): Add eldoc support.
12580 2013-05-11 Richard Stallman <rms@gnu.org>
12582 * epa.el (epa-decrypt-file): Take output file name as argument
12583 and read it using `interactive'.
12585 2013-05-11 Leo Liu <sdl.web@gmail.com>
12587 * progmodes/octave.el (octave-beginning-of-line)
12588 (octave-end-of-line): Check before using up-list because it jumps
12589 out of more syntactic contructs since moving to smie.
12590 (octave-indent-comment): New function.
12591 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12592 (octave-begin-keywords, octave-end-keywords)
12593 (octave-reserved-words, octave-smie-bnf-table)
12594 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12596 2013-05-11 Glenn Morris <rgm@gnu.org>
12598 * faces.el (internal-face-x-get-resource):
12599 * frame.el (ns-display-monitor-attributes-list):
12600 * calc/calc-aent.el (math-to-radians-2):
12601 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12604 * calc/calc-menu.el: Make it loadable in isolation.
12606 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12607 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12608 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12609 (eudc-bbdb-query-internal): Require 'bbdb.
12611 * lpr.el (lpr-headers-switches):
12612 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12614 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12616 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12618 * term.el (term-set-escape-char): Make it idempotent.
12620 2013-05-10 Leo Liu <sdl.web@gmail.com>
12622 * progmodes/octave.el (inferior-octave-completion-table):
12623 No longer a function and all uses changed. Use cache to speed up
12624 completion due to bug#11906.
12625 (octave-beginning-of-defun): Re-write to be more general.
12627 2013-05-10 Glenn Morris <rgm@gnu.org>
12629 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12631 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12633 * comint.el (comint-redirect-send-command-to-process): Use :around
12634 rather than :override for comint-redirect-filter.
12635 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12636 Call it instead of comint-redirect-original-filter-function (which
12637 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12639 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12641 * frame.el (display-monitor-attributes-list): Add NS case.
12642 (ns-display-monitor-attributes-list): Declare.
12644 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12646 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12648 2013-05-09 Glenn Morris <rgm@gnu.org>
12650 * international/fontset.el (vertical-centering-font-regexp):
12651 Set standard-value.
12653 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12655 * bookmark.el (bookmark-search-delay):
12656 * cus-start.el (vertical-centering-font-regexp):
12657 * ps-mule.el (ps-mule-font-info-database-default):
12658 * ps-print.el (ps-default-fg, ps-default-bg):
12659 * type-break.el (type-break-good-break-interval):
12660 * whitespace.el (whitespace-indentation-regexp)
12661 (whitespace-space-after-tab-regexp):
12662 * emacs-lisp/testcover.el (testcover-1value-functions)
12663 (testcover-noreturn-functions, testcover-progn-functions)
12664 (testcover-prog1-functions):
12665 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12666 * eshell/em-glob.el (eshell-glob-translate-alist):
12667 * play/tetris.el (tetris-tty-colors):
12668 * progmodes/cpp.el (cpp-face-default-list):
12669 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12670 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12671 (idlwave-help-browser-generic-args):
12672 * progmodes/make-mode.el (makefile-special-targets-list):
12673 * progmodes/python.el (python-shell-virtualenv-path):
12674 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12675 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12676 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12677 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12678 * textmodes/reftex-vars.el (reftex-format-label-function):
12679 * textmodes/remember.el (remember-diary-file): Fix custom types.
12681 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12684 2013-05-09 Leo Liu <sdl.web@gmail.com>
12686 * progmodes/octave.el (inferior-octave-completion-at-point):
12687 Restore file completion. (Bug#14300)
12688 (inferior-octave-startup): Fix incorrect highlighting for the
12691 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12693 * progmodes/ruby-mode.el: First cut at SMIE support.
12694 (ruby-use-smie): New var.
12695 (ruby-smie-grammar): New constant.
12696 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12697 (ruby-smie--forward-token, ruby-smie--backward-token)
12698 (ruby-smie-rules): New functions.
12699 (ruby-mode-variables): Setup SMIE if applicable.
12701 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12703 * simple.el (line-move-visual): Signal beginning/end of buffer
12704 only if vertical-motion moved less than it was requested. Avoids
12705 silly incorrect error messages when there are display strings with
12706 multiple newlines at EOL.
12708 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12710 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12711 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12712 (prolog-char-quote-workaround):
12713 * progmodes/cperl-mode.el (cperl-under-as-char):
12714 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12716 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12718 (vhdl-mode-syntax-table-init): Remove.
12720 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12723 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12725 (ld-script-font-lock-keywords):
12726 Change regexps to use things like \_< and \_>.
12728 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12729 Change all regexps to use things like \_< and \_>.
12731 * progmodes/autoconf.el (autoconf-definition-regexp)
12732 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12733 Handle a _ with symbol syntax.
12734 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12736 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12737 Consolidate declaration.
12738 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12740 (ada-create-syntax-table): Remove.
12741 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12742 already has the right syntax nowadays.
12743 (ada-goto-next-word): Don't change the syntax of "_".
12745 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12748 2013-05-08 Sam Steingold <sds@gnu.org>
12750 * thingatpt.el (thing-at-point): Accept optional second argument
12751 NO-PROPERTIES to strip the text properties from the return value.
12752 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12753 to `thing-at-point' instead of stripping the properties ourselves.
12754 Also, when `thing-at-point' fails to find a url, prepend "http://"
12755 to the filename at point on the assumption that the user is
12756 pointing at something like gnu.org/gnu.
12758 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12760 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12761 * faces.el (crm-separator):
12762 Silence byte-compiler.
12764 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12765 (tool-bar-map): Remove unneeded defvars.
12767 2013-05-08 Leo Liu <sdl.web@gmail.com>
12769 Re-work a fix for bug#10994 based on Le Wang's patch.
12770 * ido.el (ido-remove-consecutive-dups): New helper.
12771 (ido-completing-read): Use it.
12772 (ido-chop): Revert fix for bug#10994.
12774 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12776 * cus-edit.el (custom-save-variables):
12777 Pretty-print long values. (Bug#14187)
12779 2013-05-08 Glenn Morris <rgm@gnu.org>
12781 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12782 (m4-mode-syntax-table): Init in the defvar.
12783 (m4-mode-abbrev-table): Let define-derived-mode define it.
12785 2013-05-08 Tom Tromey <tromey@redhat.com>
12787 * progmodes/m4-mode.el (m4-mode-syntax-table):
12788 Do not treat "_" as word constituent. (Bug#14167)
12790 2013-05-07 Glenn Morris <rgm@gnu.org>
12792 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12793 Remove explicit eshell-isearch-cancel-map.
12795 * progmodes/f90.el (f90-smart-end-names): New option.
12796 (f90-smart-end): Doc fix.
12797 (f90-end-block-optional-name): New constant.
12798 (f90-block-match): Respect f90-smart-end-names.
12800 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12802 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12803 about implicit semi-colons (bug#14218).
12805 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12807 * frame.el (display-monitor-attributes-list)
12808 (frame-monitor-attributes): New functions.
12810 2013-05-06 Leo Liu <sdl.web@gmail.com>
12812 * progmodes/octave.el (octave-syntax-propertize-function): Change
12813 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12814 (octave-font-lock-keywords): Use octave-operator-regexp.
12815 (octave-completion-at-point): Rename from
12816 octave-completion-at-point-function.
12817 (inferior-octave-directory-tracker): Robustify.
12818 (octave-text-functions): Remove and fix its uses. No such things
12821 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12823 * emacs-lisp/trace.el (trace--display-buffer): New function.
12824 (trace-make-advice): Use it.
12826 2013-05-06 Juri Linkov <juri@jurta.org>
12828 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12829 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12831 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12832 in the help string. (Bug#12985)
12834 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12836 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12838 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12840 * progmodes/perl-mode.el: Add support for here documents.
12841 (perl-syntax-propertize-function): Match here-doc markers.
12842 (perl-syntax-propertize-special-constructs): Find their end.
12843 (perl-imenu-generic-expression): Use [:alnum:].
12845 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12846 (advice--add-function): Refresh the advice if already present
12849 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12851 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12853 2013-05-06 Glenn Morris <rgm@gnu.org>
12855 * w32-fns.el (w32-charset-info-alist): Declare.
12857 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12858 of its defcustom properties.
12859 (eshell-cmpl-initialize): No need to load pcomplete.
12861 * generic-x.el: No need to require comint when compiling.
12863 * net/eudc-export.el: Make it loadable without bbdb.
12864 (top-level): Use require rather than load-library.
12865 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12866 (eudc-batch-export-records-to-bbdb)
12867 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12870 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12872 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12873 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12874 some tweaks, instead.
12876 2013-05-05 Leo Liu <sdl.web@gmail.com>
12878 * progmodes/octave.el (octave-font-lock-keywords)
12879 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12880 (inferior-octave-send-list-and-digest): Improve error message.
12881 (octave-mode, inferior-octave-mode): Use setq-local.
12882 (octave-help): Set info-lookup-mode.
12884 2013-05-05 Richard Stallman <rms@gnu.org>
12886 * vc/compare-w.el (compare-windows-whitespace):
12887 Treat no-break space as whitespace.
12889 * mail/rmailsum.el (rmail-summary-rmail-update):
12890 Detect empty summary and don't change selected message.
12891 (rmail-summary-goto-msg): Likewise.
12893 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12894 Doc fixes, rename args.
12896 2013-05-05 Alan Mackenzie <acm@muc.de>
12898 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12900 2013-05-05 Juri Linkov <juri@jurta.org>
12902 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12903 to not add the length of the summary segment to the return value.
12906 2013-05-05 Leo Liu <sdl.web@gmail.com>
12908 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12909 (inferior-octave-output-filter): Remove.
12910 (octave-send-region, inferior-octave-startup): Fix callers.
12911 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12912 (octave-binary-file-extensions): New user variable.
12913 (octave-find-definition): Confirm if opening binary files.
12914 (octave-help-file): Use octave-find-definition to get the binary
12916 (octave-help): Adjust for octave-help-file change.
12918 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12920 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12921 Merge the two entries that handle function definitions.
12922 (pascal--syntax-propertize): New const.
12923 (pascal-mode): Use it. Use setq-local.
12925 2013-05-04 Glenn Morris <rgm@gnu.org>
12927 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12928 (diary-from-outlook): Respect diary-from-outlook-function.
12930 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12932 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12933 Move the declaration from C.
12934 (read-minibuffer, eval-minibuffer): Move from C.
12935 (completion-setup-function): Avoid minibuffer-completion-contents.
12937 2013-05-03 Leo Liu <sdl.web@gmail.com>
12939 * progmodes/octave.el (octave-font-lock-keywords): Do not
12940 dehighlight 'end' in comments or strings.
12941 (octave-completing-read, octave-goto-function-definition):
12943 (octave-help-buffer): New user variable.
12944 (octave-help-file, octave-help-function): New button types.
12945 (octave-help): New command and bind it to C-h ;.
12946 (octave-find-definition): New command and bind it to M-.
12947 (user-error): Alias to error if not defined.
12949 2013-05-02 Leo Liu <sdl.web@gmail.com>
12951 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12953 (octave-font-lock-keywords): Include [ and {.
12955 2013-05-02 Leo Liu <sdl.web@gmail.com>
12957 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12958 (inferior-octave): Remove calling comint-mode and return the buffer.
12959 (inferior-octave-startup): Cosmetic changes.
12961 2013-05-02 Leo Liu <sdl.web@gmail.com>
12963 * progmodes/octave.el (octave-syntax-propertize-function):
12964 Include the case when ' is at line beginning. (Bug#14336)
12966 2013-05-02 Glenn Morris <rgm@gnu.org>
12968 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12969 * desktop.el (vc-dir-mode): Just autoload it here.
12971 2013-05-02 Alan Mackenzie <acm@muc.de>
12973 Eliminate variable c-standard-font-lock-fontify-region-function.
12974 * progmodes/cc-mode.el
12975 (c-standard-font-lock-fontify-region-function): Remove.
12976 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12978 2013-05-01 Leo Liu <sdl.web@gmail.com>
12980 * progmodes/octave.el: Compatible with older emacs-24 releases.
12981 (inferior-octave-has-built-in-variables): Remove. Built-in
12982 variables were removed from Octave in 2007.
12983 (inferior-octave-startup): Fix uses.
12984 (comint-line-beginning-position): Remove compatibility code for
12987 2013-05-01 Juri Linkov <juri@jurta.org>
12989 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12991 2013-05-01 Juri Linkov <juri@jurta.org>
12993 * comint.el (comint-previous-matching-input): Don't print message
12994 "History item: %d" when `isearch-mode' is active.
12995 (comint-history-isearch-message): Print message "History item: %d"
12996 when `comint-input-ring-index' is not empty and this function is
12997 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12999 2013-05-01 Leo Liu <sdl.web@gmail.com>
13001 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13002 definitions. Use completion-at-point to insert keywords.
13003 (octave-abbrev-start): Remove.
13004 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13006 2013-04-30 Leo Liu <sdl.web@gmail.com>
13008 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13011 2013-04-30 Alan Mackenzie <acm@muc.de>
13013 Handle arbitrarily long C++ member initialisation lists.
13014 * progmodes/cc-engine.el (c-back-over-member-initializers):
13016 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13017 (most) member init lists.
13019 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13021 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13024 2013-04-30 Leo Liu <sdl.web@gmail.com>
13026 * progmodes/octave.el (octave-variables): Remove. No builtin
13027 variables any more. All converted to functions.
13028 (octave-font-lock-keywords, octave-completion-at-point-function):
13030 (octave-font-lock-texinfo-comment): New user variable.
13031 (octave-texinfo-font-lock-keywords): New variable for texinfo
13033 (octave-function-comment-block): New face.
13034 (octave-font-lock-texinfo-comment): New function.
13035 (octave-mode): Font lock texinfo comment block.
13037 2013-04-29 Leo Liu <sdl.web@gmail.com>
13039 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13040 indexing expression.
13041 (octave-continuation-string): Do not use \.
13042 (inferior-octave-complete-impossible): Remove.
13043 (inferior-octave-completion-table)
13044 (inferior-octave-completion-at-point): Remove its uses.
13045 (inferior-octave-startup): completion_matches was introduced to
13046 Octave in 1996 so safe to assume it.
13047 (octave-function-file-comment): Improve to follow how Octave does it.
13048 (octave-update-function-file-comment): Tweak.
13050 2013-04-29 Leo Liu <sdl.web@gmail.com>
13052 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13053 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13054 (octave-function-file-comment): Fix typo.
13055 (octave-sync-function-file-names): Use read-char-choice.
13057 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13059 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13060 to t for the less important warnings.
13062 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13064 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13066 2013-04-27 Glenn Morris <rgm@gnu.org>
13068 * vc/log-view.el (log-view-current-entry):
13069 Treat "---" separator lines as part of the following rev. (Bug#14169)
13071 2013-04-27 Juri Linkov <juri@jurta.org>
13073 * subr.el (read-number): Doc fix about using it by interactive
13074 code letter `n'. (Bug#14254)
13076 2013-04-27 Juri Linkov <juri@jurta.org>
13078 * desktop.el (desktop-auto-save-timeout): New option.
13079 (desktop-file-checksum): New variable.
13080 (desktop-save): Add optional arg `auto-save' and don't auto-save
13081 if nothing changed.
13082 (desktop-auto-save-timer): New variable.
13083 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13084 (after-init-hook): Call `desktop-auto-save-set-timer'.
13085 Suggested by Reuben Thomas <rrt@sc3d.org> in
13086 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13088 2013-04-27 Leo Liu <sdl.web@gmail.com>
13090 * progmodes/octave.el (octave-function-file-p)
13091 (octave-skip-comment-forward, octave-function-file-comment)
13092 (octave-update-function-file-comment): New functions.
13093 (octave-mode-map): Bind C-c ; to
13094 octave-update-function-file-comment.
13095 (octave-mode-menu): Add octave-update-function-file-comment.
13096 (octave-mode, inferior-octave-mode): Fix doc-string.
13097 (octave-insert-defun): Conform to Octave's coding convention.
13100 * files.el (basic-save-buffer): Don't let errors in
13101 before-save-hook prevent saving buffer.
13103 2013-04-20 Roland Winkler <winkler@gnu.org>
13105 * faces.el (read-face-name): Use completing-read if arg multiple
13108 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13110 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13111 displayed, move point to after the totals line.
13112 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13115 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13117 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13118 Add current dir to the load-path.
13119 (package-generate-autoloads): Don't rely on
13120 autoload-ensure-default-file.
13122 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13124 * textmodes/remember.el (remember-store-in-files): Document that
13125 the file name format is passed to `format-time-string'.
13127 2013-04-26 Leo Liu <sdl.web@gmail.com>
13129 * progmodes/octave.el (octave-sync-function-file-names): New function.
13130 (octave-mode): Use it in before-save-hook.
13132 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13134 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13137 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13138 \n and comment, even if it's not an implicit ; (bug#14218).
13140 2013-04-26 Glenn Morris <rgm@gnu.org>
13142 * subr.el (read-number): Once more use `read' rather than
13143 `string-to-number', to trap non-numeric input. (Bug#14254)
13145 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13147 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13148 Use `syntax-multiline' text property consistently instead of
13149 `font-lock-multiline'. (Bug#14237)
13151 2013-04-26 Glenn Morris <rgm@gnu.org>
13153 * emacs-lisp/shadow.el (list-load-path-shadows):
13154 No longer necessary to check for duplicate simple.el, since
13155 2012-07-07 change to init_lread to not include installation lisp
13156 directories in load-path when running uninstalled. (Bug#14270)
13158 2013-04-26 Leo Liu <sdl.web@gmail.com>
13160 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13161 (octave-mode, inferior-octave-mode): Use setq-local.
13162 (octave-not-in-string-or-comment-p): Rename to
13163 octave-in-string-or-comment-p.
13164 (octave-in-comment-p, octave-in-string-p)
13165 (octave-in-string-or-comment-p): Replace defsubst with defun.
13167 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13169 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13171 2013-04-25 Bastien Guerry <bzg@gnu.org>
13173 * textmodes/remember.el (remember-data-directory)
13174 (remember-directory-file-name-format): Fix custom types.
13176 2013-04-25 Leo Liu <sdl.web@gmail.com>
13178 * progmodes/octave.el (octave-completion-at-point-function):
13179 Make use of inferior octave process.
13180 (octave-initialize-completions): Remove.
13181 (inferior-octave-completion-table): New function.
13182 (inferior-octave-completion-at-point): Use it.
13183 (octave-completion-alist): Remove.
13185 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13187 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13188 (opascal-mode-syntax-table): New var.
13189 (opascal-literal-kind, opascal-is-literal-end)
13190 (opascal-literal-token-at): Rewrite.
13191 (opascal--literal-start-re, opascal-font-lock-keywords)
13192 (opascal--syntax-propertize): New constants.
13193 (opascal-font-lock-defaults): Adjust.
13194 (opascal-mode): Use them. Set comment-<foo> variables as well.
13195 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13196 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13197 (delphi-other-face, opascal-other-face): Remove face variables.
13198 (opascal-save-state): Remove macro.
13199 (opascal-fontifying-progress-step): Remove constant.
13200 (opascal--ignore-changes): Remove var.
13201 (opascal-set-token-property, opascal-parse-next-literal)
13202 (opascal-is-stable-literal, opascal-complete-literal)
13203 (opascal-is-literal-start, opascal-face-of)
13204 (opascal-parse-region, opascal-parse-region-until-stable)
13205 (opascal-fontify-region, opascal-after-change)
13206 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13207 (opascal-debug-parse-region, opascal-debug-parse-window)
13208 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13209 (opascal-debug-fontify-buffer): Remove.
13210 (opascal-debug-mode-map): Adjust accordingly.
13212 2013-04-25 Leo Liu <sdl.web@gmail.com>
13214 Merge octave-mod.el and octave-inf.el into octave.el with some
13216 * progmodes/octave.el: New file renamed from octave-mod.el.
13217 * progmodes/octave-inf.el: Merged into octave.el.
13218 * progmodes/octave-mod.el: Renamed to octave.el.
13220 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13222 * textmodes/reftex-vars.el
13223 (reftex-label-ignored-macros-and-environments): New defcustom.
13225 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13227 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13229 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13230 (smie-indent-keyword): Improve the check to ensure that the next
13231 comment is really on the same line.
13232 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13234 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13235 semi-colons if the line is not otherwise empty (bug#14218).
13237 2013-04-25 Glenn Morris <rgm@gnu.org>
13239 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13241 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13243 * progmodes/opascal.el (opascal-set-token-property): Rename from
13244 opascal-set-text-properties and only set `token' (bug#14134).
13245 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13246 (opascal-literal-text-properties): Remove.
13247 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13250 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13252 * textmodes/remember.el (remember-handler-functions): Add an
13253 option for a new handler `remember-store-in-files'.
13254 (remember-data-directory, remember-directory-file-name-format):
13256 (remember-store-in-files): New function to store remember notes
13257 as separate files within a directory.
13259 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13261 * progmodes/compile.el (compilation-next-error-function):
13262 Pass "formats" to compilation-find-file (bug#11777).
13264 2013-04-24 Glenn Morris <rgm@gnu.org>
13266 * vc/vc-bzr.el (vc-bzr-print-log):
13267 * vc/vc-hg.el (vc-hg-print-log):
13268 * vc/vc-svn.el (vc-svn-print-log):
13269 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13271 * vc/vc-bzr.el (vc-bzr-print-log):
13272 * vc/vc-cvs.el (vc-cvs-print-log):
13273 * vc/vc-git.el (vc-git-print-log):
13274 * vc/vc-hg.el (vc-hg-print-log):
13275 * vc/vc-mtn.el (vc-mtn-print-log):
13276 * vc/vc-rcs.el (vc-rcs-print-log):
13277 * vc/vc-sccs.el (vc-sccs-print-log):
13278 * vc/vc-svn.el (vc-svn-print-log):
13279 * vc/vc.el (vc-print-log-internal): Doc fixes.
13281 2013-04-23 Glenn Morris <rgm@gnu.org>
13283 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13284 Remove venerable code attempting to avoid substitute-command-keys.
13286 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13288 * textmodes/reftex-vars.el (reftex-label-regexps):
13289 Call `reftex-compile-variables' after changes to this variable.
13291 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13293 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13294 Use lexical-binding.
13295 (jit-lock-force-redisplay): Use markers, check buffer's continued
13296 existence and beware narrowed buffers.
13297 (jit-lock-fontify-now): Adjust call accordingly.
13299 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13301 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13302 to avoid misleading the user.
13304 2013-04-22 Leo Liu <sdl.web@gmail.com>
13306 * info-look.el: Prefer latex2e.info. (Bug#14240)
13308 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13310 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13312 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13313 * net/tramp.el (tramp-call-process): ... here.
13314 (tramp-set-completion-function, tramp-parse-putty):
13315 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13316 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13317 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13318 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13319 (tramp-call-local-coding-command): Use `tramp-call-process'
13320 instead of `tramp-compat-call-process'.
13322 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13323 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13324 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13325 (tramp-find-inline-compress): Improve traces.
13326 (tramp-maybe-send-script): Check for Perl binary.
13327 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13329 2013-04-22 Daiki Ueno <ueno@gnu.org>
13331 * epg.el (epg-context-pinentry-mode): New function.
13332 (epg-context-set-pinentry-mode): New function.
13333 (epg--start): Pass --pinentry-mode option to gpg command.
13335 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13337 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13338 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13339 `completion-at-point'. (Bug#13774)
13341 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13342 default key binding for `describe-distribution' has been moved to
13343 `C-h C-o'. (Bug#13970)
13345 2013-04-21 Glenn Morris <rgm@gnu.org>
13347 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13349 (vc-print-log): Clarify interactive prompt.
13351 2013-04-20 Glenn Morris <rgm@gnu.org>
13353 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13354 No longer include timestamp etc information.
13356 2013-04-20 Roland Winkler <winkler@gnu.org>
13358 * faces.el (read-face-name): Bug fix, return just one face if arg
13359 multiple is nil. (Bug#14209)
13361 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13363 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13364 (remove-function): Autoload.
13366 * comint.el (comint-redirect-original-filter-function): Remove.
13367 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13368 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13369 (vc-cvs-annotate-command):
13370 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13371 * progmodes/prolog.el (prolog-consult-compile):
13372 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13373 Use add/remove-function instead.
13374 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13375 (gud-tooltip-process-output, gud-tooltip-tips):
13376 Use add/remove-function instead.
13377 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13378 (scheme-interaction-mode, exit-scheme-interaction-mode):
13379 Use add/remove-function instead.
13381 * vc/vc-dispatcher.el: Use lexical-binding.
13382 (vc--process-sentinel): Rename from vc-process-sentinel.
13383 Change last arg to be the code to run. Don't use vc-previous-sentinel
13384 and vc-sentinel-commands any more.
13385 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13386 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13388 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13390 * progmodes/sh-script.el (sh-imenu-generic-expression):
13391 Handle function names with a single character. (Bug#14111)
13393 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13395 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13396 for subroutines defined in an eval (bug#14182).
13398 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13400 * bookmark.el (bookmark-completing-read): Improve handling of empty
13401 string (bug#14176).
13403 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13405 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13407 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13409 New faster Imenu implementation (bug#14058).
13410 * progmodes/python.el:
13411 (python-imenu-prev-index-position):
13412 (python-imenu-format-item-label-function)
13413 (python-imenu-format-parent-item-label-function)
13414 (python-imenu-format-parent-item-jump-label-function):
13416 (python-imenu-format-item-label)
13417 (python-imenu-format-parent-item-label)
13418 (python-imenu-format-parent-item-jump-label)
13419 (python-imenu--put-parent, python-imenu--build-tree)
13420 (python-imenu-create-index, python-imenu-create-flat-index)
13421 (python-util-popn): New functions.
13422 (python-mode): Set imenu-create-index-function to
13423 python-imenu-create-index.
13425 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13427 * winner.el (winner-active-region): Use region-active-p, activate-mark
13428 and deactivate-mark (bug#14225).
13430 * simple.el (deactivate-mark): Don't inline it.
13432 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13434 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13436 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13438 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13439 file extensions from the archive-mode entry in order to prefer
13440 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13442 2013-04-18 Leo Liu <sdl.web@gmail.com>
13444 * bindings.el (help-event-list): Add ?\?.
13446 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13448 * subr.el (with-wrapper-hook): Declare obsolete.
13449 * simple.el (filter-buffer-substring-function): New hook.
13450 (filter-buffer-substring): Use it.
13451 (filter-buffer-substring-functions): Mark obsolete.
13452 * minibuffer.el (completion-in-region-function): New hook.
13453 (completion-in-region): Use it.
13454 (completion-in-region-functions): Mark obsolete.
13455 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13456 * abbrev.el (abbrev-expand-function): New hook.
13457 (expand-abbrev): Use it.
13458 (abbrev-expand-functions): Mark obsolete.
13459 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13460 and :filter-return.
13462 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13464 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13465 and do not care about match data.
13467 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13469 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13470 completion tables when completing error conditions and
13471 `declare' arguments.
13472 (lisp-complete-symbol, field-complete): Mark as obsolete.
13473 (check-parens): Unmatched parens are user errors.
13474 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13476 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13478 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13479 command changed buffer (ie. `flyspell-pre-buffer' is not current
13480 buffer), which prevents making decisions based on invalid value of
13481 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13482 cause an error when `flyspell-pre-point' was nil after switching
13484 (flyspell-post-command-hook): No longer needs to change buffers when
13485 checking pre-word. While at it remove unnecessary progn.
13487 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13489 * textmodes/ispell.el (ispell-add-per-file-word-list):
13490 Fix `flyspell-correct-word-before-point' error when accepting
13491 words and `coment-padding' is an integer by using
13492 `comment-normalize-vars' (Bug #14214).
13494 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13496 New defun movement commands.
13497 * progmodes/python.el (python-nav--syntactically)
13498 (python-nav--forward-defun, python-nav-backward-defun)
13499 (python-nav-forward-defun): New functions.
13501 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13503 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13504 (python-syntax-context): Use named compiler-macro for backwards
13505 compatibility with Emacs 24.x.
13507 2013-04-17 Leo Liu <sdl.web@gmail.com>
13509 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13510 octave-hide-process-buffer.
13512 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13514 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13517 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13519 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13520 Fix adjustment of offset when receiving incomplete responses from GDB
13523 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13525 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13526 python-mode-abbrev-table.
13527 (python-skeleton-define): Adjust accordingly.
13528 (python-mode-abbrev-table): New table that inherits from it so that
13529 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13531 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13532 (abbrev-symbol): Use it.
13533 (abbrev--before-point): Use it since we already handle inheritance.
13535 2013-04-16 Leo Liu <sdl.web@gmail.com>
13537 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13538 binding to info-lookup-symbol.
13540 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13542 * minibuffer.el (completion--twq-all):
13543 * term/ns-win.el (ns-initialize-window-system):
13544 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13546 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13548 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13551 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13553 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13555 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13556 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13558 (ruby-end-of-defun): Remove the unused arg, change the docstring
13559 to reflect that this function is only used as the value of
13560 `end-of-defun-function'.
13561 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13562 to reflect an earlier change that beginning/end-of-defun functions
13563 jump between methods in a class definition, as well as top-level
13566 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13568 * minibuffer.el (minibuffer-complete): Don't just scroll
13569 a *Completions* that's been iconified.
13570 (minibuffer-force-complete): Make sure repetitions do cycle when going
13571 through completion-in-region -> minibuffer-complete.
13573 2013-04-15 Alan Mackenzie <acm@muc.de>
13575 Correct the placement of c-cpp-delimiters when there're #s not at
13578 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13579 place a submatch around the #.
13580 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13581 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13584 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13586 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13587 (advice--member-p): New arg `name'.
13588 (advice--add-function, advice-member-p): Use it (bug#14202).
13590 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13592 Reformulate java imenu-generic-expression.
13593 The old expression contained ill formed regexps.
13595 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13596 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13597 (cc-imenu-java-method-arg-regexp): New defconsts.
13598 (cc-imenu-java-build-type-args-regex): New defun.
13599 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13600 handling of spaces in the regexp.
13602 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13604 * textmodes/ispell.el (ispell-command-loop): Remove
13605 flyspell highlight of a word when ispell accepts it (bug #14178).
13607 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13609 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13610 uses code from the previous `ange-ftp-run-real-handler'.
13611 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13612 only in case that function exist. This is needed for proper
13613 unloading of Tramp.
13615 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13617 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13619 * textmodes/reftex.el (reftex-compile-variables): Use it.
13621 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13623 * files.el (normal-mode): Only use default major-mode if no other mode
13626 * emacs-lisp/trace.el (trace-values): New function.
13628 * files.el: Allow : in local variables (bug#14089).
13629 (hack-local-variable-regexp): New var.
13630 (hack-local-variables-prop-line, hack-local-variables): Use it.
13632 2013-04-13 Roland Winkler <winkler@gnu.org>
13634 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13635 data before it gets modified by bibtex-beginning-of-entry.
13637 2013-04-13 Roland Winkler <winkler@gnu.org>
13639 * textmodes/bibtex.el (bibtex-url): Doc fix.
13641 2013-04-13 Roland Winkler <winkler@gnu.org>
13643 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13644 does not visit a BibTeX file, exclude it from the list of buffers
13645 returned by bibtex-initialize.
13647 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13649 * window.el (split-window): Remove interactive form, since as a
13650 command this function is a special case of split-window-below.
13651 Correct doc string.
13653 2013-04-12 Roland Winkler <winkler@gnu.org>
13655 * faces.el (read-face-name): Do not override value of arg default.
13656 Allow single faces and strings as default values. Remove those
13657 elements from return value that are not faces.
13658 (describe-face): Simplify.
13659 (face-at-point): New optional args thing and multiple so that this
13660 function can provide the same functionality previously provided by
13662 (make-face-bold, make-face-unbold, make-face-italic)
13663 (make-face-unitalic, make-face-bold-italic, invert-face)
13664 (modify-face, read-face-and-attribute): Use face-at-point.
13666 * cus-edit.el (customize-face, customize-face-other-window)
13667 * cus-theme.el (custom-theme-add-face)
13668 * face-remap.el (buffer-face-set)
13669 * facemenu.el (facemenu-set-face): Use face-at-point.
13671 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13673 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13675 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13677 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13678 off leading { and trailing } from field values.
13680 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13682 * emacs-lisp/timer.el (timer--check): New function.
13683 (timer--time, timer-set-function, timer-event-handler): Use it.
13684 (timer-set-idle-time): Simplify.
13685 (timer--activate): CSE.
13686 (timer-event-handler): Give more info in error message.
13687 (internal-timer-start-idle): New function, moved from C.
13689 * mpc.el (mpc-proc): Add `restart' argument.
13690 (mpc-proc-cmd): Use it.
13691 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13692 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13695 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13697 * progmodes/sh-script.el: Implement `sh-mode' own
13698 `add-log-current-defun-function' (bug#14112).
13699 (sh-current-defun-name): New function.
13700 (sh-mode): Use the function.
13702 2013-04-09 Bastien Guerry <bzg@gnu.org>
13704 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13706 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13708 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13710 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13713 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13715 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13718 2013-04-07 Leo Liu <sdl.web@gmail.com>
13720 * pcmpl-x.el: New file.
13722 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13724 Do not set x-display-name until X connection is established.
13725 This is needed to prevent from weird situation described at
13726 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13727 * frame.el (make-frame): Set x-display-name after call to
13728 window system initialization function, not before.
13729 * term/x-win.el (x-initialize-window-system): Add optional
13730 display argument and use it.
13731 * term/w32-win.el (w32-initialize-window-system):
13732 * term/ns-win.el (ns-initialize-window-system):
13733 * term/pc-win.el (msdos-initialize-window-system):
13734 Add compatible optional display argument.
13736 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13738 * files.el (normal-backup-enable-predicate): On MS-Windows and
13739 MS-DOS compare truenames of temporary-file-directory and of the
13740 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13741 don't fail comparison by compare-strings. Also, compare file
13742 names case-insensitively on MS-Windows and MS-DOS.
13744 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13746 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13747 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13749 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13751 * whitespace.el (whitespace-color-on, whitespace-color-off):
13752 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13754 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13756 * ispell.el (ispell-set-spellchecker-params):
13757 Really set `ispell-args' for all equivs.
13759 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13761 * ido.el (ido-completions): Use extra elements of ido-decorations
13763 (ido-decorations): Update docstring.
13765 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13767 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13768 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13769 nil during initialization, in order not to miss changes since the
13770 file was opened. (Bug#14140)
13772 2013-04-05 Leo Liu <sdl.web@gmail.com>
13774 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13776 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13778 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13780 2013-04-04 Glenn Morris <rgm@gnu.org>
13782 * electric.el (electric-pair-inhibit-predicate): Add :version.
13784 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13786 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13787 when a package is required several times (bug#14082).
13789 2013-04-04 Roland Winkler <winkler@gnu.org>
13791 * faces.el (read-face-name): Behave as promised by the docstring.
13792 Assume that arg default is a list of faces.
13793 (describe-face): Call read-face-name with list of default faces.
13795 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13797 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13798 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13799 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13801 (bookmark-exit-hook-internal): Save even if list is empty.
13803 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13805 * emacs-lisp/package.el (package-pinned-packages): New var.
13806 (package--add-to-archive-contents): Obey it (bug#14118).
13808 2013-04-03 Alan Mackenzie <acm@muc.de>
13810 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13811 Also adapt to the new values of element 7 of a parse state.
13813 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13814 parameter `not-in-delimiter'. Handle being inside comment opener.
13815 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13816 character in case we're typing a '*' after a '/'.
13817 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13818 instead by passing the parameter to c-state-pp-to-literal.
13820 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13821 for elt. 7 of a parse state.
13823 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13825 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13826 * international/latin1-disp.el, international/mule-util.el:
13827 * language/cyril-util.el, language/european.el, language/ind-util.el:
13828 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13829 * language/tibetan.el, language/viet-util.el:
13830 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13832 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13834 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13835 (electric-pair-post-self-insert-function): Use it.
13836 (electric-pair-default-inhibit): New function, extracted from
13837 electric-pair-post-self-insert-function.
13839 2013-03-31 Roland Winkler <winkler@gnu.org>
13841 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13843 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13845 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13847 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13849 Un-indent after "pass" and "return" statements (Bug#13888)
13850 * progmodes/python.el (python-indent-block-enders): New var.
13851 (python-indent-calculate-indentation): Use it.
13853 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13855 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13856 defun. Defining it as defalias could introduce too eager
13857 byte-compiler optimization. (Bug#14030)
13859 2013-03-30 Chong Yidong <cyd@gnu.org>
13861 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13863 2013-03-30 Leo Liu <sdl.web@gmail.com>
13865 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13866 (kmacro-execute-from-register): Pass the keyboard macro to
13867 kmacro-call-macro or repeating won't work correctly.
13869 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13871 * progmodes/subword.el: Back to using `forward-symbol'.
13873 * subr.el (forward-whitespace, forward-symbol)
13874 (forward-same-syntax): Move from thingatpt.el.
13876 2013-03-29 Leo Liu <sdl.web@gmail.com>
13878 * kmacro.el (kmacro-to-register): New command.
13879 (kmacro-execute-from-register): New function.
13880 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13882 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13884 * mpc.el: Use defvar-local and setq-local.
13885 (mpc--proc-connect): Connection failures are not bugs.
13886 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13887 (mpc-volume-map): Bind to the up-events.
13889 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13891 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13892 instead of `forward-symbol'.
13894 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13896 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13897 (edebug--recursive-edit): Use it.
13898 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13899 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13901 2013-03-28 Leo Liu <sdl.web@gmail.com>
13903 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13905 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13907 * facemenu.el (list-colors-callback): New defvar.
13908 (list-colors-redisplay): New function.
13909 (list-colors-display): Install list-colors-redisplay as the
13910 revert-buffer-function. (Bug#14063)
13912 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13914 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13915 and suffixes don't overlap (bug#14061).
13917 * case-table.el: Use lexical-binding.
13918 (case-table-get-table): New function.
13919 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13921 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13923 * progmodes/subword.el: Add `superword-mode' to do word motion
13924 over symbol_words (parallels and leverages `subword-mode' which
13925 does word motion inside MixedCaseWords).
13927 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13929 * eshell/em-unix.el: Move su and sudo to...
13930 * eshell/em-tramp.el: ...Eshell tramp module.
13932 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13934 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13935 Change return value to be a sexp. Delay `get-buffer' to after
13936 restoring the desktop (bug#13951).
13938 2013-03-26 Leo Liu <sdl.web@gmail.com>
13940 * register.el: Move semantic tag handling back to
13941 cedet/semantic/senator.el. (Bug#14052)
13943 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13945 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13946 into the prompt either (bug#13963).
13948 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13950 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13951 part of "(error-foo)".
13953 2013-03-24 Juri Linkov <juri@jurta.org>
13955 * replace.el (list-matching-lines-prefix-face): New defcustom.
13956 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13957 `occur-engine' if `face-differs-from-default-p' returns t.
13958 (occur-engine): Add `,' inside backquote construct to evaluate
13959 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13960 Pass `prefix-face' to the functions `occur-context-lines' and
13961 `occur-engine-add-prefix'.
13962 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13963 `prefix-face' and propertize the prefix with `prefix-face'.
13966 2013-03-24 Leo Liu <sdl.web@gmail.com>
13968 * nxml/rng-valid.el (rng-validate-while-idle)
13969 (rng-validate-quick-while-idle): Guard against deleted buffer.
13972 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13973 is the last entry in kill-buffer-hook.
13975 * files.el (kill-buffer-hook): Doc fix.
13977 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13979 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13980 Make it safe-local.
13982 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13984 2013-03-23 Leo Liu <sdl.web@gmail.com>
13986 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13989 * nxml/rng-valid.el (rng-validate-mode)
13990 (rng-after-change-function, rng-do-some-validation):
13991 * nxml/rng-maint.el (rng-validate-buffer):
13992 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13993 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13994 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13995 (nxml-extend-after-change-region): Use with-silent-modifications.
13997 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14000 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14001 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14002 timer-idle-list. (Bug#13999)
14004 2013-03-23 Juri Linkov <juri@jurta.org>
14006 * info.el (info-index-match): New face.
14007 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14008 main pattern and add text properties with the new face to matches
14009 in index entries relative to the beginning of the index entry.
14012 2013-03-21 Eric Ludlam <zappo@gnu.org>
14014 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14015 Inhibit read only while inserting objects.
14017 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14019 * progmodes/cfengine.el: Update docs to mention
14020 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14021 symbol motion. Remove "_" from the word syntax.
14023 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14025 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14026 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14028 2013-03-20 Juri Linkov <juri@jurta.org>
14030 * info.el (Info-next-reference-or-link)
14031 (Info-prev-reference-or-link): New functions.
14032 (Info-next-reference, Info-prev-reference): Use them.
14033 (Info-try-follow-nearest-node): Handle footnote navigation.
14034 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14036 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14038 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14039 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14041 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14043 Suppress unnecessary non-ASCII chatter during build process.
14044 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14045 (batch-skkdic-convert): Suppress most of the chatter.
14046 It's not needed so much now that machines are faster,
14047 and its non-ASCII component was confusing; see Dmitry Gutov in
14048 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14050 2013-03-20 Leo Liu <sdl.web@gmail.com>
14052 * ido.el (ido-chop): Fix bug#10994.
14054 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14056 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14058 (whitespace-color-on, whitespace-color-off):
14059 Use `font-lock-fontify-buffer' (Bug#13817).
14061 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14063 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14064 remapping in mode-line.
14065 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14067 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14069 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14070 value for `whitespace-line' face (Bug#13875).
14071 (whitespace-font-lock-keywords): Change description.
14072 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14073 the constructed keywords instead.
14074 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14076 2013-03-19 Leo Liu <sdl.web@gmail.com>
14078 * progmodes/compile.el (compilation-display-error): New command.
14079 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14082 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14084 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14086 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14088 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14090 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14092 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14094 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14095 * net/tramp-gvfs.el (top):
14096 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14097 (tramp-handle-shell-command): Use it.
14098 (tramp-dissect-file-name): Raise an error when hostname is a
14099 method name, and neither method nor user is specified.
14101 * net/trampver.el: Update release number.
14103 2013-03-18 Leo Liu <sdl.web@gmail.com>
14105 Make sure eldoc can be turned off properly.
14106 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14108 (eldoc-display-message-p): Revert last change.
14109 (eldoc-display-message-no-interference-p)
14110 (eldoc-print-current-symbol-info): Tweak.
14112 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14114 * doc-view.el (doc-view-new-window-function): Check the new window
14115 overlay's display property instead the char property of the
14116 buffer's first char. Use `with-selected-window' instead of
14117 `save-window-excursion' with `select-window'.
14118 (doc-view-document->bitmap): Check the current doc-view overlay's
14119 display property instead the char property of the buffer's first char.
14121 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14123 Automate the build of ja-dic.el (Bug#13984).
14124 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14125 from the input, rather than assume that it's been done for us by the
14126 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14127 the current date into a ja-dic.el comment, as that complicates
14128 regression testing.
14130 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14132 * whitespace.el: Fix double evaluation.
14133 (whitespace-space, whitespace-hspace, whitespace-tab)
14134 (whitespace-newline, whitespace-trailing, whitespace-line)
14135 (whitespace-space-before-tab, whitespace-indentation)
14136 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14138 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14139 (whitespace-color-on): Use a single font-lock-add-keywords call.
14140 Fix double-evaluation of face variables.
14142 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14144 * net/tramp-adb.el (tramp-adb-parse-device-names):
14145 Use `start-process' instead of `call-process'. Otherwise, the
14146 function might be blocked under MS Windows. (Bug#13299)
14148 2013-03-17 Leo Liu <sdl.web@gmail.com>
14150 Extend eldoc to display info in the mode-line. (Bug#13978)
14151 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14152 (eldoc-mode-line-string): New variable.
14153 (eldoc-minibuffer-message): New function.
14154 (eldoc-message-function): New variable.
14155 (eldoc-message): Use it.
14156 (eldoc-display-message-p)
14157 (eldoc-display-message-no-interference-p):
14158 Support eldoc-post-insert-mode.
14160 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14161 (eval-expression): Run it.
14163 2013-03-17 Roland Winkler <winkler@gnu.org>
14165 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14166 strings in the list of return values.
14168 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14170 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14171 radix before checking for HMS forms.
14173 2013-03-16 Leo Liu <sdl.web@gmail.com>
14175 * progmodes/scheme.el: Add indentation and font-locking for λ.
14178 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14180 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14181 token before point (bug#13942).
14183 2013-03-16 Leo Liu <sdl.web@gmail.com>
14185 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14187 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14189 * startup.el (command-line-normalize-file-name): Fix handling of
14190 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14191 <xfq.free@gmail.com> in
14192 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14194 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14196 Sync with Tramp 2.2.7.
14198 * net/trampver.el: Update release number.
14200 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14202 * doc-view.el: Fix bug#13887.
14203 (doc-view-insert-image): Don't modify overlay associated to
14204 non-live windows, and implement horizontal centering of image in
14205 case it's smaller than the window.
14206 (doc-view-new-window-function): Force redisplay of new windows on
14209 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14211 * saveplace.el (save-place-alist-to-file): Don't sort
14212 `save-place-alist', just pretty-print it (bug#13882).
14214 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14216 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14217 Check whether `default-file-name-coding-system' is bound.
14218 It isn't in XEmacs.
14220 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14222 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14223 backquotes for `obsolete' (bug#13929).
14225 * international/mule.el (find-auto-coding): Include file name in
14226 obsolescence warning (bug#13922).
14228 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14230 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14231 for CFEngine 3-specific indentation.
14232 (cfengine3-indent-line): Use it. Fix up category regex.
14233 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14235 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14237 * type-break.el (type-break-file-name):
14238 * textmodes/remember.el (remember-data-file):
14239 * strokes.el (strokes-file):
14240 * shadowfile.el (shadow-initialize):
14241 * saveplace.el (save-place-file):
14242 * ps-bdf.el (bdf-cache-file):
14243 * progmodes/idlwave.el (idlwave-config-directory):
14244 * net/quickurl.el (quickurl-url-file):
14245 * international/kkc.el (kkc-init-file-name):
14246 * ido.el (ido-save-directory-list-file):
14247 * emulation/viper.el (viper-custom-file-name):
14248 * emulation/vip.el (vip-startup-file):
14249 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14250 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14252 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14254 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14255 * language/thai-word.el: Switch to UTF-8.
14257 See ChangeLog.16 for earlier changes.
14259 ;; Local Variables:
14263 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14265 This file is part of GNU Emacs.
14267 GNU Emacs is free software: you can redistribute it and/or modify
14268 it under the terms of the GNU General Public License as published by
14269 the Free Software Foundation, either version 3 of the License, or
14270 (at your option) any later version.
14272 GNU Emacs is distributed in the hope that it will be useful,
14273 but WITHOUT ANY WARRANTY; without even the implied warranty of
14274 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14275 GNU General Public License for more details.
14277 You should have received a copy of the GNU General Public License
14278 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.