1 2013-08-16 Glenn Morris <rgm@gnu.org>
3 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6 * image-mode.el (image-mode-map): Add menu items to reverse,
7 increase, decrease, reset animation speed.
8 (image--set-speed, image-increase-speed, image-decrease-speed)
9 (image-reverse-speed, image-reset-speed): New functions.
10 (image-mode-map): Add bindings for speed commands.
12 * image.el (image-animate-get-speed, image-animate-set-speed):
14 (image-animate-timeout): Respect image :speed property.
16 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
19 previous line (bug#15101).
20 (debugger-eval-expression, debugger-record-expression):
21 Use read--expression (bug#15102).
23 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
25 Remove byte compiler warnings, visible when compiling with
26 `byte-compile-force-lexical-warnings' set to t.
28 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
29 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
30 (tramp-handle-unhandled-file-name-directory)
31 (tramp-handle-file-notify-add-watch, tramp-action-login)
32 (tramp-action-succeed, tramp-action-permission-denied)
33 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
36 * net/tramp-adb.el (tramp-adb-parse-device-names)
37 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
38 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
39 (tramp-adb-handle-file-truename): Remove unused arguments.
41 * net/tramp-cache.el (tramp-flush-directory-property)
42 (tramp-flush-connection-property, tramp-list-connections)
43 (tramp-parse-connection-properties): Prefix unused arguments with "_".
45 * net/tramp-compat.el (tramp-compat-make-temp-file):
48 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
49 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
50 (tramp-zeroconf-parse-workstation-device-names)
51 (tramp-zeroconf-parse-webdav-device-names)
52 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
54 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
55 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
57 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
59 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
60 (tramp-sh-handle-insert-file-contents-literally)
61 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
63 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
64 Remove unused variables.
66 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
67 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
68 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
70 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
72 (tramp-uuencode-region): Remove unused variable.
74 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
76 * frameset.el (frameset--prop-setter): New function.
77 (frameset-prop): Add gv-setter declaration.
78 (frameset-filter-minibuffer): Deal with the case that the minibuffer
79 parameter was already set in FILTERED. Doc fix.
80 (frameset--record-minibuffer-relationships): Allow saving a
81 minibufferless frame without its corresponding minibuffer frame.
82 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
83 frame, if the frame id matches.
84 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
85 frames before orphaned ones.
86 (frameset-restore): Warn about orphaned windows, instead of error out.
88 2013-08-14 Martin Rudalics <rudalics@gmx.at>
90 * window.el (window-make-atom): Don't overwrite parameter
92 (display-buffer-in-atom-window): Handle special case where we
93 split an already atomic window.
94 (window--major-non-side-window, display-buffer-in-side-window)
95 (window--side-check): Ignore minibuffer window when walking
97 (window-deletable-p): Return 'frame only if no other frame uses
98 our minibuffer window.
99 (record-window-buffer): Run buffer-list-update-hook.
100 (split-window): Make sure window--check-frame won't destroy an
101 existing atomic window in case the new window gets nested
103 (display-buffer-at-bottom): Ignore minibuffer window when
104 walking window tree. Don't split a side window.
105 (pop-to-buffer): Don't set-buffer here, the select-window call
107 (mouse-autoselect-window-select): Autoselect only if we are in the
108 text portion of the window.
110 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
112 * net/shr.el (shr-parse-image-data): New function to grab both the
113 data itself and the Content-Type.
114 (shr-put-image): Use it.
116 * net/eww.el (eww-display-image): Ditto.
118 * image.el (image-content-type-suffixes): New variable.
120 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
122 * progmodes/python.el (python-imenu--build-tree)
123 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
125 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
127 * simple.el (backward-word): Mention the optional argument.
129 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
131 * frameset.el (frameset--make): Rename constructor from make-frameset.
132 (frameset-p, frameset-valid-p): Don't autoload.
133 (frameset-valid-p): Use normal accessors.
135 2013-08-13 Glenn Morris <rgm@gnu.org>
137 * progmodes/compile.el (compile-command): Tweak example in doc.
138 * obsolete/scribe.el (scribe-mode):
139 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
141 * mail/feedmail.el (feedmail-confirm-outgoing)
142 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
144 * cus-start.el (truncate-partial-width-windows): Fix type.
146 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
148 * net/shr.el (shr-table-horizontal-line): Fix custom type.
150 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
152 * emacs-lisp/timer.el (timer--time-setter): New function.
153 (timer--time): Use it as gv-setter.
155 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
156 setter is not a symbol.
158 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
160 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
161 if sending fails. This makes debugging easier.
163 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
165 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
166 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
167 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
169 2013-08-12 Eli Zaretskii <eliz@gnu.org>
171 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
173 2013-08-12 Glenn Morris <rgm@gnu.org>
175 * format.el (format-annotate-function):
176 Handle read-only text properties in the source. (Bug#14887)
178 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
180 * net/eww.el (eww-display-html): Ignore coding system errors.
181 One web site uses "utf-8lias" as the coding system.
183 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
185 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
187 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
189 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
190 (tutorial--detailed-help): Remove unused local variables.
191 (tutorial--save-tutorial-to): Use ignore-errors.
192 (help-with-tutorial): Use looking-at-p.
194 * view.el (view-buffer-other-window, view-buffer-other-frame):
195 Mark unused arguments.
197 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
198 (woman-select-symbol-fonts, woman, woman-find-file)
199 (woman-insert-file-contents, woman-non-underline-faces):
201 (woman1-unquote): Move declaration.
203 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
204 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
205 argument. Remove unused local variable.
206 (xml-parse-elem-type): Use string-match-p.
207 (xml-substitute-numeric-entities): Use ignore-errors.
209 * calculator.el (calculator): Mark unused argument.
210 (calculator-paste, calculator-quit, calculator-integer-p):
212 (calculator-string-to-number, calculator-decimal, calculator-exp)
213 (calculator-op-or-exp): Use string-match-p.
215 * dired.el (dired-buffer-more-recently-used-p): Declare.
216 (dired-insert-set-properties, dired-insert-old-subdirs):
219 * dired-aux.el (dired-compress): Use ignore-errors.
220 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
221 (dired-do-async-shell-command, dired-do-shell-command)
222 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
223 (dired-insert-subdir-validate): Use string-match-p.
224 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
225 (dired-add-entry): Use string-match-p, looking-at-p.
226 (dired-insert-subdir-newpos): Remove unused local variable.
228 * filenotify.el (file-notify-callback): Remove unused local variable.
230 * filesets.el (filesets-error): Mark unused argument.
231 (filesets-which-command-p, filesets-filter-dir-names)
232 (filesets-directory-files, filesets-get-external-viewer)
233 (filesets-ingroup-get-data): Use string-match-p.
235 * find-file.el (ff-other-file-name, ff-other-file-name)
236 (ff-find-the-other-file, ff-cc-hh-converter):
237 Remove unused local variables.
238 (ff-get-file-name): Use string-match-p.
239 (ff-all-dirs-under): Use ignore-errors.
241 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
242 (follow-select-if-visible): Remove unused local variable.
244 * forms.el (read-file-filter): Move declaration.
245 (forms--make-format, forms--make-parser, forms-insert-record):
246 Quote function with #'.
247 (forms--update): Use string-match-p. Quote function with #'.
249 * help-mode.el (help-dir-local-var-def): Mark unused argument.
250 (help-make-xrefs): Use looking-at-p.
251 (help-xref-on-pp): Use looking-at-p, ignore-errors.
253 * ibuffer.el (ibuffer-ext-visible-p): Declare.
254 (ibuffer-confirm-operation-on): Use string-match-p.
256 * msb.el (msb-item-handler, msb-dired-item-handler):
257 Mark unused arguments.
259 * ses.el (ses-decode-cell-symbol)
260 (ses-kill-override): Remove unused local variable.
261 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
262 (ses-load): Use ignore-errors, looking-at-p.
263 (ses-jump-safe): Use ignore-errors.
264 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
266 * tabify.el (untabify, tabify): Mark unused arguments.
268 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
269 Mark unused argument.
270 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
271 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
273 * emacs-lisp/timer.el (timer--time): Define setter with
274 gv-define-setter to avoid deprecation warning.
276 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
277 (*record-cmpl-statistics-p*): Remove (was commented out).
278 (cmpl-statistics-block): Remove (body was commented out).
280 (add-completions-from-buffer, load-completions-from-file):
281 Remove unused variables.
283 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
285 * filecache.el (file-cache-delete-file-list):
286 Print message only when told so.
287 (file-cache-files-matching): Use #' in mapconcat argument.
289 * ffap.el (ffap-url-at-point): Fix reference to variable
290 thing-at-point-default-mail-uri-scheme.
292 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
294 * subr.el (define-error): New function.
295 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
296 error-file-not-found and define with define-error.
297 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
298 and define with define-error.
299 * userlock.el (file-locked, file-supersession):
300 * simple.el (mark-inactive):
301 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
302 * progmodes/ada-mode.el (ada-mode-errors):
303 * play/life.el (life-extinct):
304 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
305 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
306 * nxml/rng-util.el (rng-error):
307 * nxml/rng-uri.el (rng-uri-error):
308 * nxml/rng-match.el (rng-compile-error):
309 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
310 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
311 * nxml/nxml-rap.el (nxml-scan-error):
312 * nxml/nxml-outln.el (nxml-outline-error):
313 * net/soap-client.el (soap-error):
314 * net/gnutls.el (gnutls-error):
315 * net/ange-ftp.el (ftp-error):
316 * mpc.el (mpc-proc-error):
317 * json.el (json-error, json-readtable-error, json-unknown-keyword)
318 (json-number-format, json-string-escape, json-string-format)
319 (json-key-format, json-object-format):
320 * jka-compr.el (compression-error):
321 * international/quail.el (quail-error):
322 * international/kkc.el (kkc-error):
323 * emacs-lisp/ert.el (ert-test-failed):
324 * calc/calc.el (calc-error, inexact-result, math-overflow)
326 * bookmark.el (bookmark-error-no-filename):
327 * epg.el (epg-error): Define with define-error.
329 * time.el (display-time-event-handler)
330 (display-time-next-load-average): Don't call sit-for since it seems
331 unnecessary (bug#15045).
333 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
334 Use #' instead of ' to quote functions.
335 (checkdoc-output-mode): Use setq-local.
336 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
337 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
338 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
339 (checkdoc-ispell, checkdoc-ispell-current-buffer)
340 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
341 (checkdoc-ispell-message-text, checkdoc-ispell-start)
342 (checkdoc-ispell-continue, checkdoc-ispell-comments)
343 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
345 * ido.el (ido-completion-help): Fix up compiler warning.
347 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
349 * frameset.el (frameset-p): Add autoload cookie.
350 (frameset--jump-to-register): New function, based on code moved from
352 (frameset-to-register): Move from register.el. Adapt to `registerv'.
354 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
355 (frameset-restore, frameset-save, frameset-session-filter-alist):
357 (register-alist): Doc fix.
358 (frameset-to-register): Move to frameset.el.
359 (jump-to-register, describe-register-1): Remove frameset-specific code.
361 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
363 * allout-widgets.el (allout-widgets-pre-command-business)
364 (allout-widgets-post-command-business)
365 (allout-widgets-after-change-handler)
366 (allout-decorate-item-and-context, allout-set-boundary-marker)
367 (allout-body-modification-handler)
368 (allout-graphics-modification-handler): Mark ignored arguments.
369 (allout-widgets-post-command-business)
370 (allout-widgets-exposure-change-processor)
371 (allout-widgets-exposure-undo-processor)
372 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
373 (allout-parse-item-at-point, allout-decorate-item-guides)
374 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
375 * allout.el (epa-passphrase-callback-function): Declare.
376 (allout-overlay-insert-in-front-handler)
377 (allout-overlay-interior-modification-handler)
378 (allout-isearch-end-handler, allout-chart-siblings)
379 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
380 (allout-yank-processing, allout-process-exposed)
381 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
382 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
383 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
384 (lisp-indent-defform): Mark ignored arguments.
385 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
386 (calculate-lisp-indent): Remove unused variables.
387 * international/characters.el (indian-2-column, arabic-2-column)
388 (tibetan): Mark ignored arguments.
389 (use-cjk-char-width-table): Mark ignored arguments.
390 Remove unused variables.
391 * international/fontset.el (build-default-fontset-data)
392 (x-compose-font-name, create-fontset-from-fontset-spec):
393 Mark ignored arguments.
394 (fontset-plain-name): Remove unused variables.
395 * international/mule.el (charset-id, charset-bytes, generic-char-p)
396 (keyboard-coding-system): Mark ignored arguments.
397 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
398 * help.el (resize-temp-buffer-window):
399 * window.el (display-buffer-in-major-side-window)
400 (display-buffer-in-side-window, display-buffer-in-previous-window):
401 Remove unused variables.
402 * isearch.el (isearch-forward-symbol):
403 * version.el (emacs-bzr-version-bzr):
404 * international/mule-cmds.el (current-language-environment):
405 * term/common-win.el (x-handle-iconic, x-handle-geometry)
407 * term/pc-win.el (x-list-fonts, x-display-planes)
408 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
409 (x-server-version, x-display-screens, x-display-mm-height)
410 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
411 (x-selection-owner-p, x-own-selection-internal)
412 (x-disown-selection-internal, x-get-selection-internal)
413 (msdos-initialize-window-system):
414 * term/tty-colors.el (tty-color-alist, tty-color-clear):
415 * term/x-win.el (x-handle-no-bitmap-icon):
416 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
417 (vc-default-find-file-hook, vc-default-extra-menu):
418 Mark ignored arguments.
420 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
422 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
423 break-condition in the context of the debugged code (bug#12685).
425 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
428 Do not use an overlay to highlight the last prompt. (Bug#14744)
429 (comint-mode): Make comint-last-prompt buffer local.
430 (comint-last-prompt): New variable.
431 (comint-last-prompt-overlay): Remove. Superseded by
433 (comint-snapshot-last-prompt, comint-output-filter):
434 Use comint-last-prompt.
436 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
438 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
439 (frameset-save): Check validity of the resulting frameset.
441 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
443 * ido.el (ido-record-command): Add doc string.
445 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
447 * frameset.el (frameset): Do not disable creation of the default
448 frameset-p predicate. Doc fix.
449 (frameset-valid-p): New function, copied from the old predicate-p.
450 Add additional checks.
451 (frameset-restore): Check with frameset-valid-p.
452 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
453 (frameset-name, frameset-description, frameset-properties)
454 (frameset-states): Add docstring.
455 (frameset-session-filter-alist, frameset-persistent-filter-alist)
456 (frameset-filter-alist): Doc fixes.
458 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
460 * frameset.el (frameset-p, frameset-prop): Doc fixes.
462 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
464 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
465 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
466 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
467 (byte-compile-normal-call): Remove obsolescence check.
469 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
471 * frameset.el (frameset-restore): Doc fix.
473 * register.el (frameset-frame-id, frameset-frame-with-id)
474 (frameset-p, frameset-restore, frameset-save): Declare.
475 (register-alist): Document framesets.
476 (frameset-session-filter-alist): Declare.
477 (frameset-to-register): New function.
478 (jump-to-register): Implement jumping to framesets. Doc fix.
479 (describe-register-1): Describe framesets.
481 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
483 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
485 * desktop.el (desktop-save-frameset): Use new frameset-save args.
488 * frameset.el (frameset): Use type vector, not list (incompatible
489 change). Do not declare a new constructor, use the default one.
490 Upgrade suggested properties `app', `name' and `desc' to slots `app',
491 `name' and `description', respectively, and add read-only slot
492 `timestamp'. Doc fixes.
493 (frameset-copy, frameset-persistent-filter-alist)
494 (frameset-filter-alist, frameset-switch-to-gui-p)
495 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
496 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
497 (frameset-filter-iconified, frameset-keep-original-display-p):
499 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
500 Rename from frameset-filter-(save|restore)-param. All callers changed.
502 (frameset-p): Adapt to change to vector and be more thorough.
503 Change arg name to OBJECT. Doc fix.
504 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
505 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
507 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
509 (frameset--record-minibuffer-relationships): Rename from
510 frameset--process-minibuffer-frames. All callers changed.
511 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
512 Use new default constructor (again). Doc fix.
513 (frameset--find-frame-if): Rename from `frameset--find-frame.
515 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
516 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
518 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
519 PARAMETERS and WINDOW-STATE, respectively.
520 (frameset-restore): Add new keyword argument PREDICATE.
521 Reset frameset--target-display to nil. Doc fix.
523 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
525 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
527 (bat-mode-syntax-table): Mark \n as end-of-comment.
528 (bat-font-lock-keywords): Remove comment rule.
530 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
531 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
533 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
534 (byte-compile-callargs-warn): Use `push'.
535 (byte-compile-arglist-warn): Ignore higher-order "calls".
536 (byte-compile-file-form-autoload): Use `pcase'.
537 (byte-compile-function-form): If quoting a symbol, check that it exists.
539 2013-08-07 Eli Zaretskii <eliz@gnu.org>
541 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
542 and add a few popular commands found in batch files.
543 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
544 (dos-mode): Doc fixes.
546 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
548 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
549 (dos-mode): Use setq-local. Add space after "rem".
550 (dos-mode-syntax-table): Don't use "w" for symbol chars.
551 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
553 2013-08-07 Arni Magnusson <arnima@hafro.is>
555 * progmodes/dos.el: New file.
556 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
559 2013-08-06 Glenn Morris <rgm@gnu.org>
561 * calendar/calendar.el: Add new faces, and day-header-array.
562 (calendar-weekday-header, calendar-weekend-header)
563 (calendar-month-header): New faces.
564 (calendar-day-header-construct): New function.
565 (calendar-day-header-width): Also :set calendar-day-header-array.
566 (calendar-american-month-header, calendar-european-month-header)
567 (calendar-iso-month-header): Use calendar- faces.
568 (calendar-generate-month):
569 Use calendar-day-header-array for day headers; apply faces to them.
570 (calendar-mode): Check calendar-font-lock-keywords non-nil.
571 (calendar-abbrev-construct): Add optional maxlen argument.
572 (calendar-day-name-array): Doc fix.
573 (calendar-day-name-array, calendar-abbrev-length)
574 (calendar-day-abbrev-array):
575 Also :set calendar-day-header-array, and maybe redraw.
576 (calendar-day-header-array): New option. (Bug#15007)
577 (calendar-font-lock-keywords): Set to nil and make obsolete.
578 (calendar-day-name): Add option to use header array.
580 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
582 * net/shr.el (shr-render-td): Remove debugging.
583 (shr-render-td): Make width computation consistent by defaulting
584 all zero-width columns to 10 characters. This may not be optimal,
585 but it's at least consistent.
586 (shr-make-table-1): Redo last change to fix the real problem in
589 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
591 * files.el (cache-long-line-scans):
592 Make obsolete alias to `cache-long-scans'.
594 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
596 * frameset.el (frameset, frameset-filter-alist)
597 (frameset-filter-params, frameset-save, frameset--reuse-frame)
598 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
599 (frameset-compute-pos): Rename from frameset--compute-pos,
601 (frameset-move-onscreen): Use frameset-compute-pos.
602 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
604 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
605 Fix typos in docstrings.
607 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
609 * frame.el (get-other-frame): Tiny cleanup.
611 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
613 * vc/vc.el (vc-default-ignore-completion-table):
614 Silence byte-compiler warning.
616 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
617 slot , which can indeed be nil.
618 (frameset-live-filter-alist, frameset-persistent-filter-alist):
619 Move entry for `left' from persistent to live filter alist.
620 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
622 (frameset-filter-params): When restoring a frame, copy items added to
623 `filtered', to avoid unwittingly modifying the original parameters.
624 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
625 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
627 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
628 to use looking-at-p instead of looking-at. (Bug#15028)
630 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
632 Revert introduction of isearch-filter-predicates (bug#14714).
633 Rely on add-function instead.
634 * isearch.el (isearch-filter-predicates): Rename it back to
635 isearch-filter-predicate.
636 (isearch-message-prefix): Use advice-function-mapc and advice
637 properties to get the isearch-message-prefix.
638 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
639 instead of run-hook-with-args-until-failure.
640 (isearch-filter-visible): Not obsolete any more.
641 * loadup.el: Preload nadvice.
642 * replace.el (perform-replace): Revert to funcall
643 instead of run-hook-with-args-until-failure.
644 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
645 * dired-aux.el (dired-isearch-filenames-mode): Rename from
646 dired-isearch-filenames-toggle; make it into a proper minor mode.
647 Use add/remove-function.
648 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
649 Call the minor-mode rather than add/remove-hook.
650 (dired-isearch-filter-filenames):
651 Remove isearch-message-prefix property.
652 * info.el (Info--search-loop): New function, extracted from Info-search.
653 Funcall isearch-filter-predicate instead of
654 run-hook-with-args-until-failure isearch-filter-predicates.
655 (Info-search): Use it.
656 (Info-mode): Use isearch-filter-predicate instead of
657 isearch-filter-predicates.
659 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
661 Do not call to `selected-window' where it is assumed by default.
662 Affected functions are `window-minibuffer-p', `window-dedicated-p',
663 `window-hscroll', `window-width', `window-height', `window-buffer',
664 `window-frame', `window-start', `window-point', `next-window'
665 and `window-display-table'.
666 * abbrev.el (abbrev--default-expand):
667 * bs.el (bs--show-with-configuration):
668 * buff-menu.el (Buffer-menu-mouse-select):
669 * calc/calc.el (calc):
670 * calendar/calendar.el (calendar-generate-window):
671 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
673 * comint.el (send-invisible, comint-dynamic-complete-filename)
674 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
675 * completion.el (complete):
676 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
677 * disp-table.el (describe-current-display-table):
678 * doc-view.el (doc-view-insert-image):
679 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
680 * ehelp.el (with-electric-help):
681 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
682 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
683 * emacs-lisp/helper.el (Helper-help-scroller):
684 * emulation/cua-base.el (cua--post-command-handler-1):
685 * eshell/esh-mode.el (eshell-output-filter):
686 * ffap.el (ffap-gnus-wrapper):
687 * help-macro.el (make-help-screen):
688 * hilit-chg.el (highlight-compare-buffers):
689 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
690 * hl-line.el (global-hl-line-highlight):
691 * icomplete.el (icomplete-simple-completing-p):
692 * isearch.el (isearch-done):
693 * jit-lock.el (jit-lock-stealth-fontify):
694 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
695 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
696 * mpc.el (mpc-tagbrowser, mpc):
697 * net/rcirc.el (rcirc-any-buffer):
698 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
699 * play/landmark.el (landmark-max-width, landmark-max-height):
700 * play/zone.el (zone):
701 * progmodes/compile.el (compilation-goto-locus):
702 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
703 * progmodes/etags.el (find-tag-other-window):
704 * progmodes/fortran.el (fortran-column-ruler):
705 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
706 * progmodes/verilog-mode.el (verilog-point-text):
707 * reposition.el (reposition-window):
708 * rot13.el (toggle-rot13-mode):
709 * server.el (server-switch-buffer):
710 * shell.el (shell-dynamic-complete-command)
711 (shell-dynamic-complete-environment-variable):
712 * simple.el (insert-buffer, set-selective-display)
713 (delete-completion-window):
714 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
716 * startup.el (fancy-splash-head):
717 * textmodes/ispell.el (ispell-command-loop):
718 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
719 * tutorial.el (help-with-tutorial):
720 * vc/add-log.el (add-change-log-entry):
721 * vc/compare-w.el (compare-windows):
722 * vc/ediff-help.el (ediff-indent-help-message):
723 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
724 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
725 (ediff-setup-control-frame):
726 * vc/emerge.el (emerge-position-region):
727 * vc/pcvs-util.el (cvs-bury-buffer):
728 * window.el (walk-windows, mouse-autoselect-window-select):
729 * winner.el (winner-set-conf, winner-undo): Related users changed.
731 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
733 * frameset.el (frameset--set-id): Doc fix.
734 (frameset-frame-id, frameset-frame-id-equal-p)
735 (frameset-locate-frame-id): New functions.
736 (frameset--process-minibuffer-frames, frameset--reuse-frame)
737 (frameset-restore): Use them.
739 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
741 Do not call to `selected-frame' where it is assumed by default.
742 Affected functions are `raise-frame', `redraw-frame',
743 `frame-first-window', `frame-terminal' and `delete-frame'.
744 * calendar/appt.el (appt-disp-window):
745 * epg.el (epg-wait-for-completion):
746 * follow.el (follow-delete-other-windows-and-split)
747 (follow-avoid-tail-recenter):
748 * international/mule.el (set-terminal-coding-system):
749 * mail/rmail.el (rmail-mail-return):
750 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
751 * progmodes/f90.el (f90-add-imenu-menu):
752 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
753 * server.el (server-switch-buffer):
754 * simple.el (delete-completion-window):
756 * term/xterm.el (terminal-init-xterm-modify-other-keys)
757 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
758 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
759 * vc/ediff.el (ediff-documentation): Related users changed.
760 * frame.el (selected-terminal): Remove the leftover.
762 2013-08-05 Glenn Morris <rgm@gnu.org>
764 * calendar/calendar.el (calendar-generate-month):
765 Fix for calendar-column-width != 1 + calendar-day-digit-width.
766 (calendar-generate-month, calendar-font-lock-keywords):
767 Fix for calendar-day-header-width > length of any day name.
769 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
771 * desktop.el (desktop-clear): Use new name of sort predicate.
773 * frameset.el (frameset): Add docstring. Move :version property to its
775 (frameset-copy): Rename from copy-frameset.
776 (frameset-p): Check more thoroughly.
777 (frameset-prop): Do not check for :version, which is no longer a prop.
778 (frameset-live-filter-alist, frameset-persistent-filter-alist):
779 Use new :never value instead of t.
780 (frameset-filter-alist): Expand and clarify docstring.
781 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
782 (frameset-filter-minibuffer, frameset-filter-save-param)
783 (frameset-filter-restore-param, frameset-filter-iconified):
784 Add pointer to docstring of frameset-filter-alist.
785 (frameset-filter-params): Rename filter values to be more meaningful:
786 :never instead of t, and reverse the meanings of :save and :restore.
787 (frameset--process-minibuffer-frames): Clarify error message.
788 (frameset-save): Avoid unnecessary and confusing call to framep.
789 Use new BOA constructor for framesets.
790 (frameset--reuse-list): Doc fix.
791 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
792 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
793 (frameset-minibufferless-first-p): Doc fix.
794 Rename from frameset-sort-frames-for-deletion.
795 (frameset-restore): Doc fixes. Use new function names.
796 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
798 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
800 * desktop.el (desktop-restore-forces-onscreen)
801 (desktop-restore-reuses-frames): Document :keyword constant values.
802 (desktop-filter-parameters-alist): Remove, now identical to
803 frameset-filter-alist.
804 (desktop--filter-tty*): Remove, moved to frameset.el.
805 (desktop-save-frameset, desktop-restore-frameset):
806 Do not pass :filters argument.
808 * frameset.el (frameset-live-filter-alist)
809 (frameset-persistent-filter-alist): New variables.
810 (frameset-filter-alist): Use them. Add autoload cookie.
811 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
812 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
813 `frameset--id' (it's supposed to be internal to frameset.el).
814 (frameset--process-minibuffer-frames): Ditto. Doc fix.
815 (frameset--initial-params): New function.
816 (frameset--get-frame): Use it. Doc fix.
817 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
818 Accept :all, not 'all.
819 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
820 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
821 with fbound symbols. Fix frame id matching, and remove matching ids if
822 the frame being restored is deleted. Obey :delete.
824 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
826 * subr.el (macrop): New function.
827 (text-clone--maintaining): New var.
828 (text-clone--maintain): Rename from text-clone-maintain. Use it
829 instead of inhibit-modification-hooks.
831 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
832 a proxy, so as handle autoloads and redefinitions of the target.
833 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
835 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
836 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
837 (pcase--mutually-exclusive-p): New function.
838 (pcase--split-consp): Use it.
839 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
840 mutually exclusive with the current predicate.
842 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
843 (edebug-macrop): Remove. Use `macrop' instead.
844 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
846 * eshell/esh-cmd.el (eshell-macrop):
847 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
849 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
851 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
852 (advice-mapc): New function, using it.
853 (advice-function-member-p): New function.
854 (advice--normalize): Store the cdr in advice--saved-rewrite since
855 that's the part that will be changed.
856 (advice--symbol-function): New function.
857 (advice-remove): Handle removal before the function is defined.
858 Adjust to new advice--saved-rewrite.
859 (advice-member-p): Use advice-function-member-p and
860 advice--symbol-function.
862 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
864 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
865 (frameset-filter-minibuffer): Doc fix.
866 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
867 (frameset--set-id, frameset--process-minibuffer-frames)
868 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
869 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
871 * desktop.el (desktop-clear): Only delete frames when called
872 interactively and desktop-restore-frames is non-nil. Doc fix.
873 (desktop-read): Set desktop-saved-frameset to nil.
875 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
877 * vc/vc.el (vc-ignore): Rewrite.
878 (vc-default-ignore-completion-table):
880 (vc--add-line, vc--remove-regexp): New functions.
882 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
883 (vc-svn-ignore-completion-table): New function.
885 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
886 (vc-hg-ignore-completion-table):
887 (vc-hg-find-ignore-file): New functions.
889 * vc/vc-git.el (vc-git-ignore): Rewrite.
890 (vc-git-ignore-completion-table):
891 (vc-git-find-ignore-file): New functions.
893 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
895 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
896 (vc-bzr-ignore-completion-table):
897 (vc-bzr-find-ignore-file): New functions.
899 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
901 * frameset.el (frameset-prop): New function and setter.
902 (frameset-save): Do not modify frame list passed by the caller.
904 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
906 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
908 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
910 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
911 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
913 * custom.el (custom-initialize-default, custom-initialize-set)
914 (custom-initialize-reset, custom-initialize-changed): Affect the
915 toplevel-default-value (bug#6275, bug#14586).
916 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
919 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
921 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
922 Add cl-def* expressions.
924 * frameset.el (frameset-filter-params): Fix order of arguments.
926 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
928 Move code related to saving frames to frameset.el.
929 * desktop.el: Require frameset.
930 (desktop-restore-frames): Doc fix.
931 (desktop-restore-reuses-frames): Rename from
932 desktop-restoring-reuses-frames.
933 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
934 (desktop-clear): Clear frames too.
935 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
936 (desktop--filter-tty*, desktop-save, desktop-read):
937 Use frameset functions.
938 (desktop-before-saving-frames-functions, desktop--filter-*-color)
939 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
940 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
941 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
942 (desktop--process-minibuffer-frames, desktop-save-frames)
943 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
944 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
945 (desktop--sort-states, desktop-restoring-frames-p)
946 (desktop-restore-frames): Remove. Most code moved to frameset.el.
947 (desktop-restoring-frameset-p, desktop-restore-frameset)
948 (desktop--check-dont-save, desktop-save-frameset): New functions.
949 (desktop--app-id): New constant.
950 (desktop-first-buffer, desktop-buffer-ok-count)
951 (desktop-buffer-fail-count): Move before first use.
952 * frameset.el: New file.
954 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
956 * files.el: Use lexical-binding.
957 (dir-locals-read-from-file): Remove unused `err' variable.
958 (hack-dir-local-variables--warned-coding): New var.
959 (hack-dir-local-variables): Use it to avoid repeated warnings.
960 (make-backup-file-name--default-function): New function.
961 (make-backup-file-name-function): Use it as default.
962 (buffer-stale--default-function): New function.
963 (buffer-stale-function): Use it as default.
964 (revert-buffer-insert-file-contents--default-function): New function.
965 (revert-buffer-insert-file-contents-function): Use it as default.
966 (insert-directory): Avoid add-to-list.
968 * autorevert.el (auto-revert-handler): Simplify.
969 Use buffer-stale--default-function.
971 2013-08-01 Tassilo Horn <tsdh@gnu.org>
973 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
975 * whitespace.el (whitespace-ensure-local-variables): New function.
976 (whitespace-cleanup-region): Call it.
977 (whitespace-turn-on): Call it.
979 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
981 Complete file name handlers.
983 * net/tramp.el (tramp-handle-set-visited-file-modtime)
984 (tramp-handle-verify-visited-file-modtime)
985 (tramp-handle-file-notify-rm-watch): New functions.
986 (tramp-call-process): Do not bind `default-directory'.
988 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
989 Order alphabetically.
990 [access-file, add-name-to-file, dired-call-process]:
991 [dired-compress-file, file-acl, file-notify-rm-watch]:
992 [file-ownership-preserved-p, file-selinux-context]:
993 [make-directory-internal, make-symbolic-link, set-file-acl]:
994 [set-file-selinux-context, set-visited-file-modtime]:
995 [verify-visited-file-modtime]: Add handler.
996 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
998 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
999 [file-notify-add-watch, file-notify-rm-watch]:
1000 [set-file-times, set-visited-file-modtime]:
1001 [verify-visited-file-modtime]: Add handler.
1002 (with-tramp-gvfs-error-message)
1003 (tramp-gvfs-handle-set-visited-file-modtime)
1004 (tramp-gvfs-fuse-file-name): Remove.
1005 (tramp-gvfs-handle-file-notify-add-watch)
1006 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
1007 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
1009 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1010 Order alphabetically.
1011 [file-notify-rm-watch ]: Use default Tramp handler.
1012 [executable-find]: Remove private handler.
1013 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
1014 `default-directory'.
1015 (tramp-sh-handle-executable-find)
1016 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
1017 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1018 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
1019 Do not use `format' in `tramp-message'.
1021 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
1022 [file-notify-rm-watch, set-visited-file-modtime]:
1023 [verify-visited-file-modtime]: Add handler.
1024 (tramp-smb-call-winexe): Do not bind `default-directory'.
1026 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
1028 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
1030 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
1032 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
1034 (log-view-diff-changeset): Same.
1035 (log-view-diff-common): Call backend command `previous-revision'
1036 to find out the previous revision, in both cases. Swap the
1037 variables `to' and `fr', so that `fr' usually refers to the
1038 earlier revision (Bug#14989).
1040 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
1042 * ibuf-ext.el (ibuffer-filter-by-filename):
1043 Make it work with dired buffers too.
1045 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
1047 * emacs-lisp/re-builder.el (reb-color-display-p):
1048 * files.el (save-buffers-kill-terminal):
1049 * net/browse-url.el (browse-url):
1050 * server.el (server-save-buffers-kill-terminal):
1051 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
1052 Prefer nil to selected-frame for the first arg of frame-parameter.
1054 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
1056 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
1058 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
1060 * minibuffer.el (completion--twq-all): Try and preserve each
1061 completion's case choice (bug#14907).
1063 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1065 * net/network-stream.el (open-network-stream): Mention the new
1066 :nogreeting parameter.
1067 (network-stream-open-starttls): Use the :nogreeting parameter
1070 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
1072 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
1073 more natural than popping.
1075 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
1076 (shr-urlify): Highlight under mouse.
1078 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1080 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
1082 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
1084 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
1087 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
1088 point-min==1. Fix search string. Fix parentheses missing.
1090 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
1091 assume point-min==1. Fix search string. Fix parentheses missing.
1093 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
1095 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
1098 2013-07-29 Eli Zaretskii <eliz@gnu.org>
1100 * frame.el (frame-notice-user-settings): Avoid inflooping when the
1101 initial frame is minibuffer-less. (Bug#14841)
1103 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
1105 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
1108 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1109 (tramp-maybe-open-connection): Use it.
1111 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
1113 * desktop.el (desktop--make-frame): Include `minibuffer' in the
1114 minimal set of parameters passed when creating a frame, because
1115 the minibuffer status of a frame cannot be changed later.
1117 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
1119 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
1120 replace-regexp-in-string and inadvertent omissions in previous change.
1121 (todo-filter-items): Ensure only file names are comma-separated in
1122 name of filtered items buffer.
1124 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
1126 * desktop.el: Optionally force offscreen frames back onscreen.
1127 (desktop-restoring-reuses-frames): New option.
1128 (desktop--compute-pos, desktop--move-onscreen): New functions.
1129 (desktop--make-frame): Use desktop--move-onscreen.
1131 2013-07-27 Alan Mackenzie <acm@muc.de>
1133 Fontify a Java generic method as a function.
1134 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
1137 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
1139 * calendar/todo-mode.el: Add command to rename todo files.
1140 (todo-rename-file): New command.
1141 (todo-key-bindings-t): Add key binding for it. Change the
1142 bindings of todo-filter-regexp-items(-multifile) to use `x'
1143 instead of `r', since the latter is better suited to the new
1146 2013-07-27 Alan Mackenzie <acm@muc.de>
1148 Make Java try-with-resources statement parse properly.
1149 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
1150 (c-block-stmt-1-2-key): New language constants/variables.
1151 * progmodes/cc-engine.el (c-beginning-of-statement-1)
1152 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
1153 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
1154 with c-block-stmt-1-2-key.
1156 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
1158 * desktop.el (desktop--make-frame): Apply most frame parameters after
1159 creating the frame to force (partially or totally) offscreen frames to
1160 be restored as such.
1162 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
1164 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
1167 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1169 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
1170 `base' arg of backtrace-frame.
1172 2013-07-26 Eli Zaretskii <eliz@gnu.org>
1174 * simple.el (list-processes): Doc fix.
1176 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
1178 * desktop.el (desktop--select-frame):
1179 Try harder to reuse existing frames.
1181 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1183 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
1184 (edebug-eval): Use backtrace-eval.
1185 (edebug--display, edebug--recursive-edit): Don't let-bind the
1186 edebug-outer-* vars that keep track of variables we locally let-bind.
1187 (edebug-outside-excursion): Don't restore outside values of locally
1189 (edebug--display): Use user-error.
1190 (cl-lexical-debug, cl-debug-env): Remove.
1192 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
1194 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
1195 are restored to be sure that they are visible before deleting any
1198 2013-07-26 Matthias Meulien <orontee@gmail.com>
1200 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
1201 vc-print-root-log. (Bug#14948)
1203 2013-07-26 Richard Stallman <rms@gnu.org>
1205 Add aliases for encrypting mail.
1206 * epa.el (epa-mail-aliases): New option.
1207 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
1208 Bind inhibit-read-only so read-only text doesn't ruin everything.
1209 (epa-mail-default-recipients): New subroutine broken out.
1210 Handle epa-mail-aliases.
1212 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
1214 Add support for lexical variables to the debugger's `e' command.
1215 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
1216 vars, except for debugger-outer-match-data.
1217 (debugger-frame-number): Move check for "on a function call" from
1218 callers into it. Add `skip-base' argument.
1219 (debugger-frame, debugger-frame-clear): Simplify accordingly.
1220 (debugger-env-macro): Only reset the state stored in non-variables,
1221 i.e. current-buffer and match-data.
1222 (debugger-eval-expression): Rewrite using backtrace-eval.
1223 * subr.el (internal--called-interactively-p--get-frame): Remove.
1224 (called-interactively-p):
1225 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
1226 `base' arg of backtrace-frame instead.
1228 2013-07-26 Glenn Morris <rgm@gnu.org>
1230 * align.el (align-regexp): Doc fix. (Bug#14857)
1231 (align-region): Explicit error if subexpression missing/does not match.
1233 * simple.el (global-visual-line-mode):
1234 Do not duplicate the mode lighter. (Bug#14858)
1236 2013-07-25 Martin Rudalics <rudalics@gmx.at>
1238 * window.el (display-buffer): In display-buffer bind
1239 split-window-keep-point to t, bug#14829.
1241 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
1243 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
1244 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
1245 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
1246 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1248 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
1249 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
1251 2013-07-25 Glenn Morris <rgm@gnu.org>
1253 * dired-x.el (dired-mark-extension): Convert comment to doc string.
1255 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
1257 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
1258 parameter to modify-frame-parameters if the value has not changed;
1259 this is a workaround for bug#14949.
1260 (desktop--make-frame): On cl-delete-if call, check parameter name,
1263 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1265 * vc/vc.el (vc-ignore): New function.
1267 * vc/vc-svn.el (vc-svn-ignore): New function.
1269 * vc/vc-hg.el (vc-hg-ignore): New function.
1271 * vc/vc-git.el (vc-git-ignore): New function.
1273 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
1274 (vc-dir-ignore): New function.
1276 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1277 (cvs-append-to-ignore): Move here from pcvs.el.
1279 * vc/vc-bzr.el (vc-bzr-ignore): New function.
1281 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
1283 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
1285 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
1286 (desktop-restore-frames): Warn when deleting an existing frame failed.
1288 2013-07-24 Glenn Morris <rgm@gnu.org>
1290 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
1292 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
1294 * filenotify.el (file-notify-supported-p):
1295 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1298 * autorevert.el (auto-revert-use-notify):
1299 (auto-revert-notify-add-watch):
1300 * net/tramp.el (tramp-file-name-for-operation):
1301 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1302 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1303 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1304 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1305 Remove `file-notify-supported-p' entry.
1307 2013-07-24 Glenn Morris <rgm@gnu.org>
1309 * printing.el: Replace all uses of deleted ps-windows-system,
1310 ps-lp-system, ps-flatten-list with lpr- versions.
1312 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1314 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
1315 checked with memq (bug#14935).
1317 * files.el (revert-buffer-function): Use a non-nil default.
1318 (revert-buffer-preserve-modes): Declare var to
1319 provide access to the `preserve-modes' argument.
1320 (revert-buffer): Let-bind it.
1321 (revert-buffer--default): New function, extracted from revert-buffer.
1323 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
1325 * lpr.el: Signal print errors more prominently.
1326 (print-region-function): Don't default to nil.
1327 (lpr-print-region): New function, extracted from print-region-1.
1328 Check lpr's return value and signal an error in case of problem.
1329 (print-region-1): Use it.
1330 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
1332 (ps-printer-name): Default to nil.
1333 (ps-printer-name-option): Default to lpr-printer-switch.
1334 (ps-print-region-function): Don't default to nil.
1335 (ps-postscript-code-directory): Simplify default.
1336 (ps-do-despool): Use lpr-print-region to properly check the outcome.
1337 (ps-string-list, ps-eval-switch, ps-flatten-list)
1338 (ps-flatten-list-1): Remove.
1339 (ps-multibyte-buffer): Avoid setq.
1340 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
1341 (print-region-function, ps-print-region-function): Don't set them here.
1343 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
1345 * ido.el (ido-fractionp):
1346 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
1347 (ido-max-file-prompt-width, ido-unc-hosts-cache)
1348 (ido-max-directory-size, ido-max-dir-file-cache)
1349 (ido-decorations): Doc fix.
1351 * ansi-color.el: Fix old URL.
1353 2013-07-23 Michael R. Mauger <michael@mauger.com>
1355 * progmodes/sql.el Version 3.3
1356 (sql-product-alist): Improve oracle :prompt-cont-regexp.
1357 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
1358 (sql-interactive-remove-continuation-prompt): Rewrite, use
1359 functions above. Fix continuation prompt and complete output line
1361 (sql-redirect-one, sql-execute): Use `read-only-mode' on
1362 redirected output buffer.
1363 (sql-mode): Restore deleted code (Bug#13591).
1365 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1367 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
1369 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
1371 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
1373 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1374 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1375 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
1377 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
1379 * desktop.el (desktop-clear): Simplify; remove useless checks
1380 against invalid buffer names.
1381 (desktop-list*): Use cl-list*.
1382 (desktop-buffer-info, desktop-create-buffer): Simplify.
1384 2013-07-23 Leo Liu <sdl.web@gmail.com>
1386 * bookmark.el (bookmark-make-record): Restore NAME as a default
1389 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
1391 * emacs-lisp/autoload.el (autoload--setup-output): New function,
1392 extracted from autoload--insert-text.
1393 (autoload--insert-text): Remove.
1394 (autoload--print-cookie-text): New function, extracted from
1395 autoload--insert-cookie-text.
1396 (autoload--insert-cookie-text): Remove.
1397 (autoload-generate-file-autoloads): Adjust calls accordingly.
1399 * winner.el (winner-hook-installed-p): Remove.
1400 (winner-mode): Simplify accordingly.
1402 * subr.el (add-to-list): Fix compiler-macro when `append' is
1403 not constant. Don't use `cl-member' for the base case.
1405 * progmodes/subword.el: Fix boundary case (bug#13758).
1406 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
1408 (subword-backward-regexp): Make it a constant.
1409 (subword-forward-internal): Don't treat a trailing capital as the
1410 beginning of a word.
1412 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
1414 * emacs-lisp/package.el (package-menu-mode): Don't modify the
1415 global value of tabulated-list-revert-hook (bug#14930).
1417 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
1419 * desktop.el: Require 'cl-lib.
1420 (desktop-before-saving-frames-functions): New hook.
1421 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
1422 for frames being saved. Rename from desktop--save-minibuffer-frames.
1423 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
1424 Do not save frames with non-nil `desktop-dont-save' parameter.
1425 Filter out deleted frames.
1426 (desktop--find-frame): Use cl-find-if.
1427 (desktop--select-frame): Use cl-(first|second|third) to access values
1429 (desktop--make-frame): Use cl-delete-if.
1430 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
1431 (desktop-restore-frames): Use cl-(first|second|third) to access values
1432 of desktop-mini. Look for visible frame at the end, not while
1435 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
1436 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
1437 Use string-match-p, looking-at-p (bug#14927).
1439 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
1441 * desktop.el (desktop-saved-frame-states):
1442 Rename from desktop--saved-states; all users changed.
1443 (desktop-save-frames): Rename from desktop--save-frames.
1444 Do not save state to desktop file.
1445 (desktop-save): Save desktop-saved-frame-states to desktop file
1447 (desktop-restoring-frames-p): New function.
1448 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
1449 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
1450 buffer-lists when restoring frames. Suggested by Martin Rudalics.
1452 * desktop.el: Correctly restore iconified frames.
1453 (desktop--filter-iconified-position): New function.
1454 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
1456 2013-07-20 Glenn Morris <rgm@gnu.org>
1458 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
1459 Let `message' do the formatting.
1460 (def-gdb-preempt-display-buffer): Add explicit format.
1462 * image-dired.el (image-dired-track-original-file):
1463 Use with-current-buffer.
1464 (image-dired-track-thumbnail): Use with-current-buffer.
1465 Avoid changing point of wrong window.
1467 * image-dired.el (image-dired-track-original-file):
1468 Avoid changing point of wrong window. (Bug#14909)
1470 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
1472 * progmodes/gdb-mi.el (gdb-done-or-error):
1473 Guard against "%" in gdb output. (Bug#14127)
1475 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
1477 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
1480 * international/mule.el (coding-system-iso-2022-flags): Fix last
1483 2013-07-20 Kenichi Handa <handa@gnu.org>
1485 * international/mule.el (coding-system-iso-2022-flags):
1486 Add `8-bit-level-4'. (Bug#8522)
1488 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1490 * net/shr.el (shr-mouse-browse-url): New command and keystroke
1493 * net/eww.el (eww-process-text-input): Allow inputting when the
1494 point is at the start of the line, as the properties aren't
1497 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
1500 2013-07-19 Richard Stallman <rms@gnu.org>
1502 * epa.el (epa-popup-info-window): Doc fix.
1504 * subr.el (split-string): New arg TRIM.
1506 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
1508 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
1509 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
1511 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
1513 * filenotify.el (file-notify--library): Rename from
1514 `file-notify-support'. Do not autoload. Adapt all uses.
1515 (file-notify-supported-p): New defun.
1517 * autorevert.el (auto-revert-use-notify):
1518 Use `file-notify-supported-p' instead of `file-notify-support'.
1520 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
1522 * net/tramp.el (tramp-file-name-for-operation):
1523 Add `file-notify-supported-p'.
1525 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
1527 (tramp-sh-file-name-handler-alist): Add it as handler for
1528 `file-notify-supported-p '.
1530 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1531 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1532 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1533 Add `ignore' as handler for `file-notify-*' functions.
1535 2013-07-17 Eli Zaretskii <eliz@gnu.org>
1537 * simple.el (line-move-partial, line-move): Don't start vscroll or
1538 scroll-up if the current line is not taller than the window.
1541 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
1543 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
1544 highlight question marks in the method names as strings.
1545 (ruby-block-beg-keywords): Inline.
1546 (ruby-font-lock-keyword-beg-re): Extract from
1547 `ruby-font-lock-keywords'.
1549 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
1551 * frame.el (blink-cursor-blinks): New defcustom.
1552 (blink-cursor-blinks-done): New defvar.
1553 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
1554 (blink-cursor-timer-function): Check if number of blinks has been
1556 (blink-cursor-suspend, blink-cursor-check): New defuns.
1558 2013-07-15 Glenn Morris <rgm@gnu.org>
1560 * edmacro.el (edmacro-format-keys): Fix previous change.
1562 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
1564 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
1565 The hack didn't work outside English locales anyway.
1567 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
1569 * simple.el (define-alternatives): Rename from alternatives-define,
1570 per RMS' suggestion.
1572 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
1574 * desktop.el (desktop-restore-frames): Change default to t.
1575 (desktop-restore-in-current-display): Now offer more options.
1576 (desktop-restoring-reuses-frames): New customization option.
1577 (desktop--saved-states): Doc fix.
1578 (desktop-filter-parameters-alist): New variable, renamed and expanded
1579 from desktop--excluded-frame-parameters.
1580 (desktop--target-display): New variable.
1581 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
1582 (desktop--filter-tty*, desktop--filter-*-color)
1583 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1584 (desktop--filter-save-desktop-parm)
1585 (desktop-restore-in-original-display-p): New functions.
1586 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
1587 (desktop--save-minibuffer-frames): New function, inspired by a similar
1588 function from Martin Rudalics.
1589 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
1590 (desktop--restore-in-this-display-p): Remove.
1591 (desktop--find-frame): Rename from desktop--find-frame-in-display
1592 and add predicate argument.
1593 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
1594 (desktop--reuse-list): New variable.
1595 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
1597 (desktop--restore-frames): Add support for "minibuffer-special" frames.
1599 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
1601 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
1603 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
1605 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1606 Highlight conversion methods on Kernel.
1608 2013-07-13 Alan Mackenzie <acm@muc.de>
1610 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
1611 and comment it out. This out-commenting enables certain C++
1612 declarations to be parsed correctly.
1614 2013-07-13 Eli Zaretskii <eliz@gnu.org>
1616 * international/mule.el (define-coding-system): Doc fix.
1618 * simple.el (default-font-height): Don't call font-info if the
1619 frame's default font didn't change since the frame was created.
1622 2013-07-13 Leo Liu <sdl.web@gmail.com>
1624 * ido.el (ido-read-file-name): Guard against non-symbol value.
1626 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1628 * progmodes/python.el (python-imenu--build-tree): Fix corner case
1631 2013-07-13 Leo Liu <sdl.web@gmail.com>
1633 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
1634 ido-set-matches call. (Bug#6852)
1636 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
1638 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
1639 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
1641 (ruby-font-lock-keywords): Distinguish calls to functions with
1642 module-like names from module references. Highlight character
1645 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
1647 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
1648 (gdb-send): Handle continued commands. (Bug#14847)
1650 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
1652 * desktop.el (desktop--v2s): Remove unused local variable.
1653 (desktop-save-buffer): Make defvar-local; adjust docstring.
1654 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
1655 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
1657 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
1659 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
1661 2013-07-12 Eli Zaretskii <eliz@gnu.org>
1663 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
1666 2013-07-12 Glenn Morris <rgm@gnu.org>
1668 * doc-view.el: Require cl-lib at runtime too.
1669 (doc-view-remove-if): Remove.
1670 (doc-view-search-next-match, doc-view-search-previous-match):
1673 * edmacro.el: Require cl-lib at runtime too.
1674 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
1675 (edmacro-mismatch, edmacro-subseq): Remove.
1677 * shadowfile.el: Require cl-lib.
1678 (shadow-remove-if): Remove.
1679 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
1682 * wid-edit.el: Require cl-lib.
1683 (widget-choose): Use cl-remove-if.
1684 (widget-remove-if): Remove.
1686 * progmodes/ebrowse.el: Require cl-lib at runtime too.
1687 (ebrowse-delete-if-not): Remove.
1688 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
1689 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
1690 Use cl-delete-if-not.
1692 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
1694 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
1695 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
1697 2013-07-12 Leo Liu <sdl.web@gmail.com>
1699 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
1701 2013-07-11 Glenn Morris <rgm@gnu.org>
1703 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
1704 (edebug-gensym-index, edebug-gensym):
1705 Remove reimplementation of cl-gensym.
1706 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
1708 * thumbs.el: Require cl-lib at run-time too.
1709 (thumbs-gensym-counter, thumbs-gensym):
1710 Remove reimplementation of cl-gensym.
1711 (thumbs-temp-file): Use cl-gensym.
1713 * emacs-lisp/ert.el: Require cl-lib at runtime too.
1714 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
1715 (ert--intersection, ert--set-difference, ert--set-difference-eq)
1716 (ert--union, ert--gensym-counter, ert--gensym-counter)
1717 (ert--coerce-to-vector, ert--remove*, ert--string-position)
1718 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
1719 (ert-make-test-unbound, ert--expand-should-1)
1720 (ert--expand-should, ert--should-error-handle-error)
1721 (should-error, ert--explain-equal-rec)
1722 (ert--plist-difference-explanation, ert-select-tests)
1723 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
1724 Use cl-lib functions rather than reimplementations.
1726 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
1728 * net/tramp.el (tramp-methods): Extend docstring.
1729 (tramp-connection-timeout): New defcustom.
1730 (tramp-error-with-buffer): Reset timestamp only when appropriate.
1731 (with-tramp-progress-reporter): Simplify.
1732 (tramp-process-actions): Improve messages.
1734 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1735 * net/tramp-sh.el (tramp-maybe-open-connection):
1736 Use `tramp-connection-timeout'.
1737 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
1740 2013-07-11 Leo Liu <sdl.web@gmail.com>
1742 * ido.el (ido-read-file-name): Conform to the requirements of
1743 read-file-name. (Bug#11861)
1744 (ido-read-directory-name): Conform to the requirements of
1745 read-directory-name.
1747 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
1749 * subr.el (delay-warning): New function.
1751 2013-07-10 Eli Zaretskii <eliz@gnu.org>
1753 * simple.el (default-line-height): New function.
1754 (line-move-partial, line-move): Use it instead of computing the
1756 (line-move-partial): Always compute ROWH. If the last line is
1757 partially-visible, but its text is completely visible, allow
1758 cursor to enter such a partially-visible line.
1760 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
1762 Improve error messages. (Bug#14808)
1764 * net/tramp.el (tramp-current-connection): New defvar, moved from
1766 (tramp-message-show-progress-reporter-message): Remove, not
1768 (tramp-error-with-buffer): Show message in minibuffer.
1769 Discard input before waiting. Reset connection timestamp.
1770 (with-tramp-progress-reporter): Improve messages.
1771 (tramp-process-actions): Use progress reporter. Delete process in
1772 case of error. Improve messages.
1774 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
1775 Call `tramp-error-with-buffer' with vector and buffer.
1776 (tramp-current-connection): Remove.
1777 (tramp-maybe-open-connection): The car of
1778 `tramp-current-connection' are the first 3 slots of the vector.
1780 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
1782 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
1783 inside continued strings.
1785 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
1787 Timestamp fixes for undo (Bug#14824).
1788 * files.el (clear-visited-file-modtime): Move here from fileio.c.
1790 2013-07-10 Leo Liu <sdl.web@gmail.com>
1792 * files.el (require-final-newline): Allow safe local value.
1795 2013-07-09 Leo Liu <sdl.web@gmail.com>
1797 * ido.el (ido-read-directory-name): Handle fallback.
1798 (ido-read-file-name): Update DIR to ido-current-directory.
1800 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
1802 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
1804 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
1805 "autoload". Remove "warn lower camel case" section, previously
1806 commented out. Highlight negation char. Do not highlight the
1807 target in singleton method definitions.
1809 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1811 * faces.el (tty-setup-hook): Declare the hook.
1813 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
1814 and detect when a guard/pred depends on local vars (bug#14773).
1815 (pcase--u1): Adjust caller.
1817 2013-07-08 Eli Zaretskii <eliz@gnu.org>
1819 * simple.el (line-move-partial, line-move): Account for
1821 (line-move-partial): Avoid setting vscroll when the last
1822 partially-visible line in window is of default height.
1824 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1826 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
1829 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
1831 * subr.el (read-quoted-char): Remove unused local variable `char'.
1833 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
1835 * ediff.el (ediff-version): Version update.
1836 (ediff-files-command, ediff3-files-command, ediff-merge-command)
1837 (ediff-merge-with-ancestor-command, ediff-directories-command)
1838 (ediff-directories3-command, ediff-merge-directories-command)
1839 (ediff-merge-directories-with-ancestor-command): New functions.
1840 All are command-line interfaces to ediff: to facilitate calling
1841 Emacs with the appropriate ediff functions invoked.
1843 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
1844 (viper-save-kill-buffer): Check if buffer is modified.
1846 * viper.el (viper-version): Version update.
1847 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
1849 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
1851 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
1852 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
1853 (viper-intercept-ESC-key): Simplify.
1854 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
1855 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
1856 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
1857 (viper-setup-ESC-to-escape): New functions.
1858 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
1859 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
1861 2013-07-07 Eli Zaretskii <eliz@gnu.org>
1863 * simple.el (default-font-height, window-screen-lines):
1865 (line-move, line-move-partial): Use them instead of
1866 frame-char-height and window-text-height. This makes scrolling
1867 text smoother when the buffer's default face uses a font that is
1868 different from the frame's default font.
1870 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
1872 * files.el (write-file): Do not display confirm dialog for NS,
1873 it does its own dialog, which can't be cancelled (Bug#14578).
1875 2013-07-06 Eli Zaretskii <eliz@gnu.org>
1877 * simple.el (line-move-partial): Adjust the row returned by
1878 posn-at-point for the current window-vscroll. (Bug#14567)
1880 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
1882 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
1883 (tramp-sh-file-inotifywait-process-filter): Handle file names with
1886 2013-07-06 Martin Rudalics <rudalics@gmx.at>
1888 * window.el (window-state-put-stale-windows): New variable.
1889 (window--state-put-2): Save list of windows without matching buffer.
1890 (window-state-put): Remove "bufferless" windows if possible.
1892 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
1894 * simple.el (alternatives-define): Remove leftover :group keyword.
1897 2013-07-06 Leo Liu <sdl.web@gmail.com>
1899 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
1900 (ido-enable-virtual-buffers): New variable.
1901 (ido-buffer-internal, ido-toggle-virtual-buffers)
1902 (ido-make-buffer-list): Use it.
1903 (ido-exhibit): Support turning on and off virtual buffers
1906 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
1908 * simple.el (alternatives-define): New macro.
1910 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
1912 * subr.el (read-quoted-char): Use read-key.
1913 (sit-for): Let read-event decode tty input (bug#14782).
1915 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
1917 * calendar/todo-mode.el: Add handling of file deletion, both by
1918 mode command and externally. Fix various related bugs.
1919 Clarify Commentary and improve some documentation strings and code.
1920 (todo-delete-file): New command.
1921 (todo-check-file): New function.
1922 (todo-show): Handle external deletion of the file we're trying to
1923 show (bug#14688). Replace called-interactively-p by an optional
1924 prefix argument to avoid problematic interaction with catch form
1925 when byte compiled (bug#14702).
1926 (todo-quit): Handle external deletion of the archive's todo file.
1927 Make sure the buffer that was visiting the archive file is still
1928 live before trying to bury it.
1929 (todo-category-completions): Handle external deletion of any
1930 category completion files.
1931 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
1932 of todo files, in case of external deletion.
1933 (todo-add-file): Replace unnecessary setq by let-binding.
1934 (todo-find-archive): Check whether there are any archives.
1935 Replace unnecessary setq by let-binding.
1936 (todo-archive-done-item): Use find-file-noselect to get the
1937 archive buffer whether or not the archive already exists.
1938 Remove superfluous code. Use file size instead of buffer-file-name to
1939 check if the archive is new; if it is, update list of archives.
1940 (todo-default-todo-file): Allow nil to be a valid value for when
1941 there are no todo files.
1942 (todo-reevaluate-default-file-defcustom): Use corrected definition
1943 of todo-default-todo-file.
1944 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
1945 (todo-delete-category, todo-show-categories-table)
1946 (todo-category-number): Clarify comment.
1947 (todo-filter-items): Clarify documentation string.
1948 (todo-show-current-file, todo-display-as-todo-file)
1949 (todo-reset-and-enable-done-separator): Tweak documentation string.
1950 (todo-done-separator): Make separator length window-width, since
1951 bug#2749 is now fixed.
1953 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
1955 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1956 Support both "gvfs-monitor-dir" and "inotifywait".
1957 (tramp-sh-file-inotifywait-process-filter): Rename from
1958 `tramp-sh-file-notify-process-filter'.
1959 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1960 (tramp-get-remote-gvfs-monitor-dir): New defuns.
1962 2013-07-05 Leo Liu <sdl.web@gmail.com>
1964 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
1966 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1968 * frame.el (display-pixel-height, display-pixel-width)
1969 (display-mm-height, display-mm-width): Mention behavior on
1970 multi-monitor setups in docstrings.
1971 (w32-display-monitor-attributes-list): Declare function.
1972 (display-monitor-attributes-list): Use it.
1974 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
1976 * filenotify.el: New package.
1978 * autorevert.el (top): Require filenotify.el.
1979 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
1981 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1982 (auto-revert-notify-handler): Use `file-notify-*' functions.
1984 * subr.el (file-notify-handle-event): Move function to filenotify.el.
1986 * net/tramp.el (tramp-file-name-for-operation):
1987 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
1989 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1990 for `file-notify-add-watch' and `file-notify-rm-watch'.
1991 (tramp-process-sentinel): Improve trace.
1992 (tramp-sh-handle-file-notify-add-watch)
1993 (tramp-sh-file-notify-process-filter)
1994 (tramp-sh-handle-file-notify-rm-watch)
1995 (tramp-get-remote-inotifywait): New defuns.
1997 2013-07-03 Juri Linkov <juri@jurta.org>
1999 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
2000 call of `occur-read-primary-args' to interactive spec.
2002 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
2003 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
2005 2013-07-03 Matthias Meulien <orontee@gmail.com>
2007 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
2008 `Buffer-menu-multi-occur'. Add it to the menu.
2009 (Buffer-menu-mode): Document it in docstring.
2010 (Buffer-menu-multi-occur): New command. (Bug#14673)
2012 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2014 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2015 keywords and built-ins.
2017 2013-07-03 Glenn Morris <rgm@gnu.org>
2019 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
2021 Make info-xref checks case-sensitive by default
2022 * info.el (Info-find-node, Info-find-in-tag-table)
2023 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
2024 Add option for exact case matching of nodes.
2025 * info-xref.el (info-xref): New custom group.
2026 (info-xref-case-fold): New option.
2027 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
2029 2013-07-03 Leo Liu <sdl.web@gmail.com>
2031 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
2033 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2035 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
2036 middle of block statement initially, lower the depth. Remove
2037 FIXME comment, not longer valid. Remove middle of block statement
2038 detection, no need to do that anymore since we've been using
2039 `ruby-parse-region' here.
2041 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
2043 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
2045 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
2047 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
2049 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
2051 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
2052 (desktop-restore-in-current-display): New customization option.
2053 (desktop--excluded-frame-parameters): Add `font'.
2054 (desktop--save-frames): Rename from desktop--save-windows.
2055 (desktop--restore-in-this-display-p): New function.
2056 (desktop--make-full-frame): Remove unwanted width/height from
2057 full(width|height) frames.
2058 (desktop--restore-frames): Rename from desktop--restore-windows.
2059 Obey desktop-restore-current-display. Do not delete old frames or
2060 select a new frame unless we were able to restore at least one frame.
2062 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
2064 * files.el (find-file-noselect): Simplify conditional expression.
2066 * remember.el (remember-append-to-file):
2067 Don't mix `find-buffer-visiting' and `get-file-buffer'.
2069 Add `remember-notes' function to store random notes across Emacs
2071 * remember.el (remember-data-file): Add :set callback to affect
2072 notes buffer (if any).
2073 (remember-notes): New command.
2074 (remember-notes-buffer-name, bury-remember-notes-on-kill):
2075 New defcustoms for the `remember-notes' function.
2076 (remember-notes-save-and-bury-buffer): New command.
2077 (remember-notes-mode-map): New variable.
2078 (remember-mode): New minor mode.
2079 (remember-notes--kill-buffer-query): New function.
2080 * startup.el (initial-buffer-choice): Add notes to custom type.
2082 2013-06-30 Eli Zaretskii <eliz@gnu.org>
2084 * bindings.el (right-char, left-char): Don't call sit-for, this is
2085 no longer needed. Use arithmetic comparison only for numerical
2088 * international/mule-cmds.el (select-safe-coding-system):
2089 Handle the case of FROM being a string correctly. (Bug#14755)
2091 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2093 * net/shr.el (shr-make-table-1): Add a sanity check that allows
2094 progression on degenerate tables.
2095 (shr-rescale-image): ImageMagick animated images currently don't work.
2097 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
2099 Some fixes and improvements for desktop frame restoration.
2100 It is still experimental and disabled by default.
2101 * desktop.el (desktop--save-windows): Put the selected frame at
2102 the head of the list.
2103 (desktop--make-full-frame): New function.
2104 (desktop--restore-windows): Try to re-select the frame that was
2105 selected upon saving. Do not abort if some frames fail to restore,
2106 just show an error message and continue. Set up maximized frames
2107 so they have default non-maximized dimensions.
2109 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
2111 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2112 Don't start heredoc inside a string or comment.
2114 2013-06-29 Eli Zaretskii <eliz@gnu.org>
2116 * bindings.el (visual-order-cursor-movement): New defcustom.
2117 (right-char, left-char): Provide visual-order cursor motion by
2118 calling move-point-visually. Update the doc strings.
2120 2013-06-28 Kenichi Handa <handa@gnu.org>
2122 * international/mule.el (define-coding-system): New coding system
2123 properties :inhibit-null-byte-detection,
2124 :inhibit-iso-escape-detection, and :prefer-utf-8.
2125 (set-buffer-file-coding-system): If :charset-list property of
2126 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
2127 appropriate for setting.
2129 * international/mule-cmds.el (select-safe-coding-system):
2130 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
2131 multibyte characters, return utf-8 (or one of its siblings).
2133 * international/mule-conf.el (prefer-utf-8): New coding system.
2134 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
2137 2013-06-28 Ivan Kanis <ivan@kanis.fr>
2139 * net/shr.el (shr-render-region): New function.
2141 * net/eww.el: Autoload `eww-browse-url'.
2143 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
2145 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2146 Adapt to `package-desc-version' being a list.
2147 Use `package--ac-desc-version' to retrieve version from a package
2150 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
2152 New experimental feature to save&restore window and frame setup.
2153 * desktop.el (desktop-save-windows): New defcustom.
2154 (desktop--saved-states): New var.
2155 (desktop--excluded-frame-parameters): New defconst.
2156 (desktop--filter-frame-parms, desktop--find-frame-in-display)
2157 (desktop--restore-windows, desktop--save-windows): New functions.
2158 (desktop-save): Call `desktop--save-windows'.
2159 (desktop-read): Call `desktop--restore-windows'.
2161 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2163 * net/shr.el (add-face-text-property): Remove compat definition.
2165 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
2167 * info.el (Info-try-follow-nearest-node): Move search for footnote
2168 above search for node name to prevent missing a footnote (bug#14717).
2170 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
2172 * obsolete/otodo-mode.el: Add obsolescence info to file header.
2174 2013-06-27 Leo Liu <sdl.web@gmail.com>
2176 * net/eww.el (eww-read-bookmarks): Check file size.
2178 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2180 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
2181 advice--pending if newdef is nil or an autoload (bug#13820).
2182 (advice-mapc): New function.
2184 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2186 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
2188 (eww-mode-map): Add a menu bar.
2189 (eww-add-bookmark): New command.
2190 (eww-bookmark-mode): New mode and commands.
2191 (eww-add-bookmark): Remove newlines from the title.
2192 (eww-bookmark-browse): Don't bug out if it's the only window.
2194 2013-06-26 Glenn Morris <rgm@gnu.org>
2196 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
2197 (hfy-size): Handle ttys. (Bug#14668)
2199 * info-xref.el: Update for Texinfo 5 change in *note format.
2200 (info-xref-node-re, info-xref-note-re): New constants.
2201 (info-xref-check-buffer): Use info-xref-note-re.
2203 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2205 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
2207 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
2208 nil terminate the loop (bug#14718).
2210 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2212 * net/eww.el: Rework history traversal. When going forward/back,
2213 put these actions into the history, too, so that they can be
2215 (eww-render): Move the history reset to the correct buffer.
2217 2013-06-25 Juri Linkov <juri@jurta.org>
2219 * files-x.el (modify-dir-local-variable): Change the header comment
2220 in the file with directory local variables. (Bug#14692)
2222 * files-x.el (read-file-local-variable-value): Add `default'.
2225 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2227 * net/eww.el (eww-make-unique-file-name): Create a unique file
2228 name before saving to entering `y' accidentally asynchronously.
2230 2013-06-25 Ivan Kanis <ivan@kanis.fr>
2232 * net/eww.el (eww-download): New command and keystroke.
2234 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2236 * net/eww.el (eww-copy-page-url): Change name of command.
2238 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
2239 be more consistent with Info and dired.
2241 * net/eww.el (eww-mode-map): Ditto.
2243 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2245 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
2246 packages from archives.
2247 (package-archive-contents): Change format; include obsolete packages.
2248 (package-desc): Use `dir' to mark builtin packages.
2249 (package--from-builtin): Set the `dir' field to `builtin'.
2250 (generated-autoload-file, version-control): Declare.
2251 (package-compute-transaction): Change first arg and return value to be
2252 lists of package-descs. Adjust to new package-archive-contents format.
2253 (package--add-to-archive-contents): Adjust to new
2254 package-archive-contents format.
2255 (package-download-transaction): Arg is now a list of package-descs.
2256 (package-install): If `pkg' is a package name, pass it as
2257 a requirement, so it is subject to the usual (e.g. disabled) checks.
2258 (describe-package): Accept package-desc as well.
2259 (describe-package-1): Describe a specific package-desc. Add links to
2260 other package-descs for the same package name.
2261 (package-menu-describe-package): Pass the actual package-desc.
2262 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
2264 (package-desc-status): New function.
2265 (package-menu--refresh): New function, extracted
2266 from package-menu--generate.
2267 (package-menu--generate): Use it.
2268 (package-delete): Update package-alist.
2269 (package-menu-execute): Don't call package-initialize.
2271 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
2272 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
2273 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
2274 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
2275 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
2276 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
2278 2013-06-25 Martin Rudalics <rudalics@gmx.at>
2280 * window.el (window--state-get-1): Workaround for bug#14527.
2281 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
2283 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
2285 * net/eww.el (eww-back-url): Implement the history by stashing all
2286 the data into a list.
2287 (eww-forward-url): Allow going forward in the history, too.
2289 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2291 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
2292 for values and use read--expression for expressions (bug#14710).
2293 (read-file-local-variable): Avoid setq.
2294 (read-file-local-variable-mode): Use minor-mode-list.
2296 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2298 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
2301 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2303 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
2304 Update imenu-support when dialect changes.
2306 2013-06-25 Leo Liu <sdl.web@gmail.com>
2308 * ido.el (ido-read-internal): Allow forward slash on windows.
2310 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2312 * net/eww.el (eww): Start of strings is \\`, not ^.
2314 2013-06-24 Ivan Kanis <ivan@kanis.fr>
2316 * net/shr.el (shr-browse-url): Fix interactive spec.
2318 * net/eww.el (eww): Add a trailing slash to domain names.
2320 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
2322 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
2324 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
2326 * net/shr.el (shr-browse-url): Use an external browser if given a
2329 * net/eww.el (eww-external-browser): Move to shr.
2331 2013-06-24 Ivan Kanis <ivan@kanis.fr>
2333 * net/eww.el (eww): Work more correctly for file: URLs.
2334 (eww-detect-charset): Allow quoted charsets.
2335 (eww-yank-page-url): New command and keystroke.
2337 2013-06-24 Daiki Ueno <ueno@gnu.org>
2339 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
2340 file name of gpg executable.
2341 (epg-context-program): New function.
2342 (epg-context-home-directory): New function.
2343 (epg-context-set-program): New function.
2344 (epg-context-set-home-directory): New function.
2345 (epg--start): Use `epg-context-program' instead of
2347 (epg--list-keys-1): Likewise.
2349 2013-06-24 Leo Liu <sdl.web@gmail.com>
2351 * ido.el (ido-read-internal): Fix bug#14620.
2353 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2355 * faces.el (face-documentation): Simplify.
2356 (read-face-attribute, tty-find-type, x-resolve-font-name):
2357 Use `string-match-p'.
2358 (list-faces-display): Use `string-match-p'. Simplify.
2359 (face-spec-recalc): Check face to avoid face alias loops.
2360 (read-color): Use `string-match-p' and non-capturing parenthesis.
2362 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
2364 * net/shr.el (shr-rescale-image): Use the new
2365 :max-width/:max-height functionality.
2367 2013-06-23 Ivan Kanis <ivan@kanis.fr>
2369 * net/eww.el (eww-search-prefix): New variable.
2371 (eww-external-browser): New variable.
2372 (eww-mode-map): New keystroke.
2373 (eww-browse-with-external-browser): New command.
2375 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
2377 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
2379 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2380 Don't skip aligning the next header field when padding is 0;
2381 otherwise, field width is not respected unless the title is as
2384 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2386 * emacs-lisp/package.el (package-el-version): Remove.
2387 (package-process-define-package): Fix inf-loop.
2388 (package-install): Allow symbols as arguments again.
2390 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2392 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
2393 add some more keyword-like methods.
2394 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
2396 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
2398 * bs.el (bs-buffer-show-mark): Make defvar-local.
2399 (bs-mode): Use setq-local.
2401 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
2402 (emacs-lock--try-unlocking): Make defvar-local.
2404 2013-06-22 Glenn Morris <rgm@gnu.org>
2406 * play/cookie1.el (cookie-apropos): Minor simplification.
2408 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
2410 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
2412 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
2413 `regexp-opt', it breaks the build during dumping.
2415 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
2417 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2418 Highlight keyword-like methods on Kernel and Module with
2419 font-lock-builtin-face.
2420 (auto-mode-alist): Consolidate different entries into one regexp
2421 and add more *file-s.
2423 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
2425 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
2427 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
2428 (diary-entry): Use it in the action of this button type instead of
2431 * calendar/todo-mode.el: New version.
2432 (todo-add-category): Append new category to end of file and give
2433 it the highest number, instead of putting it at the beginning and
2434 giving it 0. Incorporate noninteractive functionality.
2435 (todo-forward-category): Adapt to 1-based category numbering.
2436 Allow skipping over archived categories.
2437 (todo-backward-category): Derive from todo-forward-category.
2438 (todo-backward-item, todo-forward-item): Make noninteractive and
2439 delegate interactive part to new commands. Make sensitive to done items.
2440 (todo-categories): Make value an alist of category names and
2441 vectors of item counts.
2442 (todo-category-beg): Make a defconst.
2443 (todo-category-number): Use 1 instead of 0 as initial value.
2444 (todo-category-select): Make sensitive to overlays, optional item
2445 highlighting and done items.
2446 (todo-delete-item): Make sensitive to overlays and marked and done items.
2447 (todo-edit-item): Make sensitive to overlays and editing of
2448 date/time header optional. Add format checks.
2449 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
2450 no-op if point is not on an item. Advertise using todo-edit-quit.
2451 (todo-edit-mode): Make sensitive to new format, font-locking, and
2452 multiple todo files.
2453 (todo-insert-item, todo-insert-item-here): Derive from
2454 todo-basic-insert-item and extend functionality.
2455 (todo-item-end, todo-item-start): Make sensitive to done items.
2456 (todo-item-string): Don't return text properties. Restore point.
2457 (todo-jump-to-category): Make sensitive to multiple todo files and
2458 todo archives. Use extended category completion.
2459 (todo-lower-item, todo-raise-item): Rename to *-priority and
2460 derive from todo-set-item-priority.
2461 (todo-mode): Derive from special-mode. Make sensitive to new
2462 format, font-locking and multiple todo files. Make read-only.
2463 (todo-mode-map): Don't suppress digit keys, so they can supply
2464 prefix arguments. Add many new key bindings.
2465 (todo-prefix): Insert as an overlay instead of file text.
2466 Change semantics from diary date expression to purely visual mark.
2467 (todo-print): Rename to todo-print-buffer. Make buffer display
2468 features printable. Remove option to restrict number of items
2469 printed. Add option to print to file.
2470 (todo-print-function): Rename to todo-print-buffer-function.
2471 (todo-quit): Extend to handle exiting new todo modes.
2472 (todo-remove-item): Make sensitive to overlays.
2473 (todo-save): Extend to buffers of filtered items.
2474 (todo-show): Make sensitive to done items, multiple todo files and
2475 new todo modes. Offer to convert legacy todo file before creating
2476 first new todo file.
2477 (todo-show-priorities): Rename to todo-top-priorities.
2478 Change semantics of value 0.
2479 (todo-top-priorities): Rename to todo-filter-top-priorities,
2480 derive from todo-filter-items and extend functionality.
2481 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
2482 and extend functionality to other types of filtered items.
2483 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
2484 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
2485 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
2486 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
2487 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
2488 (todo-edit-mode-hook, todo-entry-prefix-function)
2489 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
2490 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
2491 (todo-initials, todo-insert-threshold, todo-item-string-start)
2492 (todo-line-string, todo-menu, todo-mode-hook)
2493 (todo-more-important-p, todo-previous-answer, todo-previous-line)
2494 (todo-print-priorities, todo-remove-separator)
2495 (todo-save-top-priorities-too, todo-string-count-lines)
2496 (todo-string-multiline-p, todo-time-string-format)
2497 (todo-tmp-buffer-name): Remove.
2498 (todo-add-file, todo-archive-done-item, todo-choose-archive)
2499 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
2500 (todo-edit-category-diary-inclusion)
2501 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
2502 (todo-edit-file, todo-edit-item-date-day)
2503 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
2504 (todo-edit-item-date-month, todo-edit-item-date-to-today)
2505 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
2506 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
2507 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
2508 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
2509 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
2510 (todo-filter-top-priorities-multifile, todo-find-archive)
2511 (todo-find-filtered-items-file, todo-go-to-source-item)
2512 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
2513 (todo-jump-to-archive-category, todo-lower-category)
2514 (todo-mark-category, todo-marked-item-p, todo-merge-category)
2515 (todo-move-category, todo-move-item, todo-next-button)
2516 (todo-next-item, todo-padded-string, todo-powerset)
2517 (todo-previous-button, todo-previous-item)
2518 (todo-print-buffer-to-file, todo-raise-category)
2519 (todo-rename-category, todo-repair-categories-sexp, todo-search)
2520 (todo-set-category-number, todo-set-item-priority)
2521 (todo-set-top-priorities-in-category)
2522 (todo-set-top-priorities-in-file, todo-show-categories-table)
2523 (todo-sort-categories-alphabetically-or-numerically)
2524 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
2525 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
2526 (todo-toggle-item-header, todo-toggle-item-highlighting)
2527 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
2528 (todo-toggle-view-done-items, todo-toggle-view-done-only)
2529 (todo-unarchive-items, todo-unmark-category): New commands.
2530 (todo-absolute-file-name, todo-add-to-buffer-list)
2531 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
2532 (todo-basic-insert-item, todo-category-completions)
2533 (todo-category-number, todo-category-string-matcher-1)
2534 (todo-category-string-matcher-2, todo-check-filtered-items-file)
2535 (todo-check-format, todo-clear-matches)
2536 (todo-comment-string-matcher, todo-convert-legacy-date-time)
2537 (todo-current-category, todo-date-string-matcher)
2538 (todo-define-insertion-command, todo-diary-expired-matcher)
2539 (todo-diary-goto-entry, todo-diary-item-p)
2540 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
2541 (todo-display-categories, todo-display-sorted, todo-done-item-p)
2542 (todo-done-item-section-p, todo-done-separator)
2543 (todo-done-string-matcher, todo-files, todo-filter-items)
2544 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
2545 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
2546 (todo-insert-category-line, todo-insert-item-from-calendar)
2547 (todo-insert-sort-button, todo-insert-with-overlays)
2548 (todo-insertion-command-name, todo-insertion-key-bindings)
2549 (todo-label-to-key, todo-longest-category-name-length)
2550 (todo-make-categories-list, todo-mode-external-set)
2551 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
2552 (todo-modes-set-3, todo-multiple-filter-files)
2553 (todo-nondiary-marker-matcher, todo-prefix-overlays)
2554 (todo-read-category, todo-read-date, todo-read-dayname)
2555 (todo-read-file-name, todo-read-time)
2556 (todo-reevaluate-category-completions-files-defcustom)
2557 (todo-reevaluate-default-file-defcustom)
2558 (todo-reevaluate-filelist-defcustoms)
2559 (todo-reevaluate-filter-files-defcustom)
2560 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
2561 (todo-reset-done-separator, todo-reset-done-separator-string)
2562 (todo-reset-done-string, todo-reset-global-current-todo-file)
2563 (todo-reset-highlight-item, todo-reset-nondiary-marker)
2564 (todo-reset-prefix, todo-set-categories)
2565 (todo-set-date-from-calendar, todo-set-show-current-file)
2566 (todo-set-top-priorities, todo-short-file-name)
2567 (todo-show-current-file, todo-sort, todo-time-string-matcher)
2568 (todo-total-item-counts, todo-update-buffer-list)
2569 (todo-update-categories-display, todo-update-categories-sexp)
2570 (todo-update-count, todo-validate-name, todo-y-or-n-p):
2572 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
2574 (todo-categories, todo-display, todo-edit, todo-faces)
2575 (todo-filtered): New defgroups.
2576 (todo-archived-only, todo-button, todo-category-string, todo-date)
2577 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
2578 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
2579 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
2580 (todo-add-item-if-new-category, todo-always-add-time-string)
2581 (todo-categories-align, todo-categories-archived-label)
2582 (todo-categories-category-label, todo-categories-diary-label)
2583 (todo-categories-done-label, todo-categories-number-separator)
2584 (todo-categories-todo-label, todo-categories-totals-label)
2585 (todo-category-completions-files, todo-completion-ignore-case)
2586 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
2587 (todo-done-separator-string, todo-done-string)
2588 (todo-files-function, todo-filter-done-items, todo-filter-files)
2589 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
2590 (todo-initial-category, todo-initial-file, todo-item-mark)
2591 (todo-legacy-date-time-regexp, todo-mode-line-function)
2592 (todo-nondiary-marker, todo-number-prefix)
2593 (todo-print-buffer-function, todo-show-current-file)
2594 (todo-show-done-only, todo-show-first, todo-show-with-done)
2595 (todo-skip-archived-categories, todo-top-priorities-overrides)
2596 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
2597 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
2599 (todo-category-done, todo-date-pattern, todo-date-string-start)
2600 (todo-diary-items-buffer, todo-done-string-start)
2601 (todo-filtered-items-buffer, todo-item-start)
2602 (todo-month-abbrev-array, todo-month-name-array)
2603 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
2604 (todo-top-priorities-buffer): New defconsts.
2605 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
2606 (todo-categories-with-marks, todo-category-string-face)
2607 (todo-comment-face, todo-comment-string, todo-current-todo-file)
2608 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
2609 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
2610 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
2611 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
2612 (todo-font-lock-keywords, todo-global-current-todo-file)
2613 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
2614 (todo-insertion-commands-args)
2615 (todo-insertion-commands-args-genlist)
2616 (todo-insertion-commands-names, todo-insertion-map)
2617 (todo-key-bindings-t, todo-key-bindings-t+a)
2618 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
2619 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
2620 (todo-nondiary-face, todo-print-buffer, todo-time-face)
2621 (todo-visited): New variables.
2623 2013-06-21 Glenn Morris <rgm@gnu.org>
2625 * play/cookie1.el (cookie-apropos): Add optional display argument.
2626 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
2627 (psychoanalyze-pinhead): Use cookie-doctor.
2629 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2631 * emacs-lisp/package.el (tar-get-file-descriptor)
2632 (tar--extract): Declare.
2634 2013-06-21 Eduard Wiebe <usenet@pusto.de>
2636 Extend flymake's warning predicate to be a function (bug#14217).
2637 * progmodes/flymake.el (flymake-warning-predicate): New.
2638 (flymake-parse-line): Use it.
2639 (flymake-warning-re): Make obsolete alias to
2640 `flymake-warning-predicate'.
2642 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2644 * emacs-lisp/package.el (package-alist): Include obsolete packages.
2645 (package-obsolete-list): Remove.
2646 (package-activate): Remove min-version argument. Add `force' argument.
2647 Adjust to new package-alist format.
2648 (package-mark-obsolete): Remove.
2649 (package-unpack): Force reload of the package's autoloads.
2650 (package-installed-p): Check builtins if the installed package is not
2652 (package-initialize): Don't reset package-obsolete-list.
2653 Don't specify which package version to activate.
2654 (package-process-define-package, describe-package-1)
2655 (package-menu--generate): Adjust to new package-alist format.
2657 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2659 * allout-widgets.el (allout-widgets-mode-off)
2660 (allout-widgets-mode-on, allout-widgets-pre-command-business)
2661 (allout-widgets-post-command-business)
2662 (allout-widgets-after-copy-or-kill-function)
2663 (allout-widgets-after-undo-function, allout-test-range-overlaps)
2664 (allout-decorate-item-and-context)
2665 (allout-graphics-modification-handler): Fix typos in docstrings.
2666 (allout-get-or-create-parent-widget): Use `looking-at-p'.
2668 * cmuscheme.el (scheme-start-file): Doc fix.
2669 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
2670 (scheme-input-filter): Use `string-match-p'.
2672 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
2674 * dired-x.el: Use Dired consistently in docstrings.
2676 * dired.el: Use Dired consistently in docstrings.
2677 (dired-readin, dired-mode): Use `setq-local'.
2678 (dired-switches-alist): Make defvar-local.
2679 (dired-buffers-for-dir): Use `zerop'.
2680 (dired-safe-switches-p, dired-switches-escape-p)
2681 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
2682 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
2683 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
2684 (dired-goto-next-nontrivial-file): Use `string-match-p'.
2685 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
2686 (dired-toggle-marks, dired-mark-files-containing-regexp)
2687 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
2688 (dired-flag-auto-save-files, dired-flag-backup-files):
2690 (dired-mark-files-regexp, dired-build-subdir-alist):
2691 Use `string-match-p', `looking-at-p'.
2693 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
2694 (direct-print-region-helper): Use `string-match-p'.
2696 2013-06-21 Leo Liu <sdl.web@gmail.com>
2698 * comint.el (comint-redirect-results-list-from-process):
2701 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2703 * net/eww.el (eww-update-header-line-format): Quote % characters.
2705 2013-06-21 Glenn Morris <rgm@gnu.org>
2707 * play/cookie1.el (cookie): New custom group.
2708 (cookie-file): New option.
2709 (cookie-check-file): New function.
2710 (cookie): Make it interactive. Make start and end messages optional.
2711 Interactively, display the result. Default to cookie-file.
2712 (cookie-insert): Default to cookie-file.
2713 (cookie-snarf): Make start and end messages optional.
2714 Default to cookie-file. Use with-temp-buffer.
2715 (cookie-read): Rename from read-cookie.
2716 Make start and end messages optional. Default to cookie-file.
2717 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
2719 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
2720 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
2722 2013-06-21 Leo Liu <sdl.web@gmail.com>
2724 * progmodes/octave.el (octave-mode): Backward compatibility fix.
2726 2013-06-21 Glenn Morris <rgm@gnu.org>
2728 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
2730 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2731 Daniel Hackney <dan@haxney.org>
2733 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
2734 Consolidate the single-file vs tarball code.
2735 (package-desc-suffix): New function.
2736 (package-desc-full-name): Don't bother inlining it.
2737 (package-load-descriptor): Return the new package-desc.
2738 (package-mark-obsolete): Remove unused arg `package'.
2739 (package-unpack): Make it work for single files as well.
2740 Make it update package-alist.
2741 (package--make-autoloads-and-stuff): Rename from
2742 package--make-autoloads-and-compile. Don't compile any more.
2743 (package--compile): New function.
2744 (package-generate-description-file): New function, extracted from
2745 package-unpack-single.
2746 (package-unpack-single): Remove.
2747 (package--with-work-buffer): Add indentation and debugging info.
2748 (package-download-single): Remove.
2749 (package-install-from-archive): Rename from package-download-tar, make
2750 it take a pkg-desc, and make it work for single files as well.
2751 (package-download-transaction): Simplify.
2752 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
2753 external tar program.
2754 (package-install-from-buffer): Remove `pkg-desc' argument.
2755 Use package-tar-file-info for tar-mode buffers.
2756 (package-install-file): Simplify accordingly.
2757 (package-archive-base): Change to take a pkg-desc.
2758 * tar-mode.el (tar--check-descriptor): New function, extracted from
2760 (tar-get-descriptor): Use it.
2761 (tar-get-file-descriptor): New function.
2762 (tar--extract): New function, extracted from tar-extract.
2763 (tar--extract): Use it.
2764 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
2765 case the summary uses non-ascii. Adjust to new calling convention of
2766 package-tar-file-info.
2768 2013-06-21 Leo Liu <sdl.web@gmail.com>
2770 * comint.el (comint-redirect-results-list-from-process):
2771 Fix random delay. (Bug#14681)
2773 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
2775 * profiler.el (profiler-format-number): Use log, not log10.
2777 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2779 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
2781 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2783 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
2784 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
2786 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
2787 (AUTOGENEL): ... here.
2788 * emacs-lisp/cl-macs.el (cl--sublis): New function.
2789 (cl--defsubst-expand): Use it.
2791 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
2793 * subr.el (log10): Move here from C code, and declare as obsolete.
2794 All uses of (log10 X) replaced with (log X 10).
2796 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2798 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
2799 Declare with `defvar-local'.
2800 (tabulated-list-use-header-line, tabulated-list-entries)
2801 (tabulated-list-padding, tabulated-list-printer)
2802 (tabulated-list-sort-key): Declare with `defvar-local'.
2803 (tabulated-list-init-header, tabulated-list-print-fake-header):
2806 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
2808 * arc-mode.el (archive-mode): Add `archive-write-file' to
2809 `write-contents-functions' also for remote files. (Bug#14652)
2811 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
2813 * cus-edit.el (custom-commands): Fix typos.
2814 (custom-display): Fix tooltip text.
2815 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
2816 Fix typos in docstrings.
2817 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
2818 (custom-unlispify-menu-entry, custom-magic-value-create)
2819 (custom-add-see-also, custom-group-value-create): Use ?\s.
2820 (custom-guess-type, customize-apropos, editable-field)
2821 (custom-face-value-create): Use `string-match-p'.
2822 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
2824 * custom.el (custom-load-symbol): Use `string-match-p'.
2826 * ansi-color.el: Convert to lexical binding.
2827 (ansi-colors): Fix URL.
2828 (ansi-color-context, ansi-color-context-region): Use defvar-local.
2829 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
2830 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
2832 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2834 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
2836 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
2838 2013-06-19 Tom Tromey <tromey@redhat.com>
2840 * net/eww.el (eww-top-url): Remove.
2841 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
2842 (eww-render): Set new variables. Don't set eww-top-url.
2843 (eww-handle-link): Handle "prev", "home", and "contents".
2844 Downcase the rel text.
2845 (eww-top-url): Choose best top URL.
2847 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2849 * net/eww.el: Rewrite to implement form elements "by hand" instead of
2850 relying in widget.el. Using widget.el leads to too many
2851 user interface inconsistencies.
2852 (eww-self-insert): Implement entering commands in text fields.
2853 (eww-process-text-input): New function to make text input field editing
2855 (eww-submit): Rewrite to use the new-style form methods.
2856 (eww-select-display): Display the correct selected item.
2857 (eww-change-select): Implement changing the select value.
2858 (eww-toggle-checkbox): Implement radio/checkboxes.
2859 (eww-update-field): Fix compilation error.
2860 (eww-tag-textarea): Implement <textarea>.
2862 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
2863 we don't shadow mode-specific bindings.
2865 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
2868 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
2870 2013-06-19 Glenn Morris <rgm@gnu.org>
2872 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
2874 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
2876 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
2879 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
2881 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2883 * net/browse-url.el (browse-url-browser-function):
2884 `eww-browse-url' has the right calling signature, `eww' does not.
2886 2013-06-19 Glenn Morris <rgm@gnu.org>
2888 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
2889 Only eval autoloaded macros.
2890 (byte-compile-autoload): Only give the macro warning for macros.
2892 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
2893 (ps-underlined-faces): Declare.
2895 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
2896 (speedbar-add-supported-extension): Declare.
2898 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
2899 Don't include a date stamp in the header of the generated file;
2900 it leads to needless differences between output files.
2902 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
2904 * net/secrets.el (secrets-struct-secret-content-type):
2905 Replace check of introspection data by a test call of "CreateItem".
2906 Some servers do not offer introspection.
2908 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
2910 * electric.el (electric-pair-mode): Improve interaction with
2911 electric-layout-mode.
2912 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
2913 (electric-pair-syntax): Use text-mode-syntax-table in comments
2915 (electric-pair--insert): New function.
2916 (electric-pair-post-self-insert-function): Use it and
2917 electric--after-char-pos.
2919 2013-06-19 Leo Liu <sdl.web@gmail.com>
2921 * progmodes/octave.el (octave-help): Fix regexp.
2923 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
2925 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
2926 (shr-table-horizontal-line): Allow nil as a value, and change the
2928 (shr-insert-table-ruler): Respect the nil value.
2930 2013-06-18 Tom Tromey <tromey@barimba>
2932 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2934 (eww-open-file): New defun.
2935 (eww-render): Initialize new variables.
2936 (eww-display-html): Handle "link" and "a".
2937 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
2938 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
2939 (eww-back-url): Rename from eww-previous-url.
2940 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
2943 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
2945 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
2946 Distinguish ternary operator tokens from slash symbol and slash
2949 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
2951 Convert symbol prettification into minor mode and global minor mode.
2953 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
2954 `prog-prettify-symbols', and make a local defvar instead of defcustom.
2955 (prettify-symbols--keywords): Rename from
2956 `prog-prettify-symbols-alist' and make a local defvar.
2957 (prettify-symbols--compose-symbol): Rename from
2958 `prog--prettify-font-lock-compose-symbol'.
2959 (prettify-symbols--make-keywords): Rename from
2960 `prog-prettify-font-lock-symbols-keywords' and simplify.
2961 (prog-prettify-install): Remove.
2962 (prettify-symbols-mode): New minor mode, based on
2963 `prog-prettify-install'.
2964 (turn-on-prettify-symbols-mode): New function.
2965 (global-prettify-symbols-mode): New globalized minor mode.
2967 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2968 * progmodes/cfengine.el (cfengine3-mode):
2969 * progmodes/perl-mode.el (perl-mode): Don't call
2970 `prog-prettify-install'; set `prettify-symbols-alist' instead.
2972 2013-06-18 Juri Linkov <juri@jurta.org>
2974 * files-x.el (modify-file-local-variable-message): New function.
2975 (modify-file-local-variable)
2976 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
2977 and call `modify-file-local-variable-message' when it's non-nil.
2978 (add-file-local-variable, delete-file-local-variable)
2979 (add-file-local-variable-prop-line)
2980 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
2981 and use it. (Bug#9820)
2983 2013-06-18 Juri Linkov <juri@jurta.org>
2985 * emulation/vi.el (vi-shell-op):
2986 * emulation/vip.el (vip-execute-com, ex-command):
2987 * emulation/viper-cmd.el (viper-exec-bang):
2988 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
2989 the call of `shell-command-on-region'. (Bug#14637)
2991 * simple.el (shell-command-on-region): Doc fix.
2993 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2995 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
2998 2013-06-18 Glenn Morris <rgm@gnu.org>
3000 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
3002 * newcomment.el (comment-search-forward, comment-search-backward):
3003 Doc fix. (Bug#14376)
3005 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
3007 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
3008 (buffer-face-mode-invoke): Doc fix.
3010 2013-06-18 Matthias Meulien <orontee@gmail.com>
3012 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
3013 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
3015 2013-06-18 Glenn Morris <rgm@gnu.org>
3017 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
3018 Replace obsolete function generic-make-keywords with its expansion.
3020 * progmodes/python.el (ffap-alist): Declare.
3022 * textmodes/reftex.el (bibtex-mode-map): Declare.
3024 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3026 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
3027 (package-unpack, package-unpack-single): Return the pkg-dir.
3028 (package-download-transaction): Use it to update package-alist.
3030 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3032 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
3035 2013-06-17 Juri Linkov <juri@jurta.org>
3037 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
3039 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3041 * emacs-lisp/package.el (package-load-descriptor):
3042 Remove `with-syntax-table' call, `read' doesn't need it.
3043 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
3045 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
3047 * startup.el (command-line): Expand package name returned by
3048 `package--description-file' (bug#14639).
3050 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3052 * emacs-lisp/package.el (package-load-descriptor): Do not call
3053 `emacs-lisp-mode', just use its syntax table.
3055 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
3057 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
3058 `font-lock-extra-managed-props' if any prettifying keyword is added.
3059 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
3060 (prog-mode): Use `setq-local'.
3062 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3064 * international/characters.el (standard-case-table): Set syntax of ?»
3065 and ?« to punctuation.
3067 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
3069 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
3070 Save relevant match data before calling `syntax-ppss' (bug#14595).
3072 2013-06-15 Juri Linkov <juri@jurta.org>
3074 * files-x.el (modify-file-local-variable-prop-line): Add local
3075 variables to the end of the existing comment on the first line.
3076 Use `file-auto-mode-skip' to skip interpreter magic line,
3077 and also skip XML declaration.
3079 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3081 * startup.el (package--builtin-versions): New var.
3082 (package-subdirectory-regexp): Remove.
3083 (package--description-file): Hard code its value instead.
3085 * emacs-lisp/package.el: Don't activate packages older than builtin.
3086 (package-obsolete-list): Rename from package-obsolete-alist, and make
3087 it into a simple list of package-desc.
3088 (package-strip-version): Remove.
3089 (package-built-in-p): Use package--builtin-versions.
3090 (package-mark-obsolete): Simplify.
3091 (package-process-define-package): Mark it obsolete if older than the
3093 (package-handle-response): Use line-end-position.
3094 (package-read-archive-contents, package--download-one-archive):
3096 (package--add-to-archive-contents): Skip if older than the builtin or
3098 (package-menu-describe-package): Fix last change.
3099 (package-list-unversioned): New var.
3100 (package-menu--generate): Use it.
3102 * emacs-lisp/autoload.el: Manage package--builtin-versions.
3103 (autoload--insert-text, autoload--insert-cookie-text): New functions.
3104 (autoload-builtin-package-versions): New variable.
3105 (autoload-generate-file-autoloads): Use them.
3106 Remove the list of autoloaded functions/macros from the
3107 (autoload...) comments.
3109 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
3111 2013-06-15 Eli Zaretskii <eliz@gnu.org>
3113 * simple.el (line-move-partial): Don't jump to the next screen
3114 line as soon as it becomes visible. Instead, continue enlarging
3115 the vscroll until the portion of a tall screen line that's left on
3116 display is about the height of the frame's default font.
3119 2013-06-15 Glenn Morris <rgm@gnu.org>
3121 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
3122 compilation-error-regexp-alist void, or local while let-bound.
3124 * progmodes/make-mode.el (makefile-mode-syntax-table):
3125 Treat "=" as punctuation. (Bug#14614)
3127 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
3129 * help-fns.el (describe-variable):
3130 Add extra line for permanent-local variables.
3132 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
3134 * progmodes/scheme.el (scheme-font-lock-keywords-2):
3135 Add export, import, library. (Bug#9164)
3136 (library): Set indent function.
3138 2013-06-14 Glenn Morris <rgm@gnu.org>
3140 * term/xterm.el (xterm--query):
3141 Stop after first matching handler. (Bug#14615)
3143 2013-06-14 Ivan Kanis <ivan@kanis.fr>
3145 Add support for dired in saveplace.
3146 * dired.el (dired-initial-position-hook): New variable.
3147 (dired-initial-position): Call hook to place cursor position.
3148 * saveplace.el (save-place-to-alist): Add dired position.
3149 (save-place-dired-hook): New function.
3151 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
3153 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
3154 through a symbol rather than letrec.
3156 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
3157 (package-desc): Add `dir' field.
3158 (package-desc-full-name): New function.
3159 (package-load-descriptor): Combine the two arguments. Don't use `load'.
3160 (package-maybe-load-descriptor): Remove.
3161 (package-load-all-descriptors): Just call package-load-descriptor.
3162 (package--disabled-p): New function.
3163 (package-desc-vers, package-desc-doc): Remove aliases.
3164 (package--dir): Remove function.
3165 (package-activate): Check if a package is disabled.
3166 (package-process-define-package): New function, extracted from
3168 (define-package): Turn into a place holder.
3169 (package-unpack-single, package-tar-file-info):
3170 Use package--description-file.
3171 (package-compute-transaction): Use package--disabled-p.
3172 (package-download-transaction): Don't call
3173 package-maybe-load-descriptor since they're all loaded anyway.
3174 (package-install): Change argument to be a pkg-desc.
3175 (package-delete): Use a single pkg-desc argument.
3176 (describe-package-1): Use package-desc-dir instead of package--dir.
3177 Use package-desc property instead of package-symbol.
3178 (package-install-button-action): Adjust accordingly.
3179 (package--push): Rewrite.
3180 (package-menu--print-info): Adjust accordingly. Change the ID format
3182 (package-menu-describe-package, package-menu-get-status)
3183 (package-menu--find-upgrades, package-menu-mark-upgrades)
3184 (package-menu-execute, package-menu--name-predicate):
3186 * startup.el (package--description-file): New function.
3187 (command-line): Use it.
3188 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3189 Use package-desc-version.
3191 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
3192 (byte-compile-preprocess): Use it.
3193 (byte-compile-file-form-defalias): Try a bit harder to use macros we
3194 can't quite recognize.
3195 (byte-compile-add-to-list): Remove.
3196 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
3197 (cconv-closure-convert): Add assertion.
3199 * emacs-lisp/map-ynp.el: Use lexical-binding.
3200 (map-y-or-n-p): Remove unused vars `tail' and `object'.
3201 Factor out some repeated code.
3203 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3205 * subr.el (with-eval-after-load): New macro.
3206 (eval-after-load): Allow form to be a function.
3207 take advantage of lexical-binding.
3208 (do-after-load-evaluation): Use dolist and adjust to new format.
3209 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
3211 2013-06-13 Juri Linkov <juri@jurta.org>
3213 * replace.el (perform-replace): Display "symbol " and other search
3214 modes from `isearch-message-prefix' in the *Help* buffer.
3216 * isearch.el (isearch-query-replace): Add " symbol" and other
3217 possible search modes from `isearch-message-prefix' to the prompt.
3218 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
3219 when reading a regexp to collect.
3221 2013-06-13 Juri Linkov <juri@jurta.org>
3223 * isearch.el (word-search-regexp): Match whitespace if the search
3224 string begins or ends in whitespace. The LAX arg is applied to
3225 both ends of the search string. Use `regexp-quote' and explicit
3226 \< and \> instead of \b. Use \` and \' instead of ^ and $.
3227 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
3228 boundaries are replaced with symbol boundaries, and characters
3229 between symbols match non-word non-symbol syntax. (Bug#14602)
3231 2013-06-13 Juri Linkov <juri@jurta.org>
3233 * isearch.el (isearch-del-char): Don't exceed the length of
3234 `isearch-string' by the prefix arg. (Bug#14563)
3236 2013-06-13 Juri Linkov <juri@jurta.org>
3238 * isearch.el (isearch-yank-word, isearch-yank-line)
3239 (isearch-char-by-name, isearch-quote-char)
3240 (isearch-printing-char, isearch-process-search-char):
3241 Add optional count prefix arg. (Bug#14563)
3243 * international/isearch-x.el
3244 (isearch-process-search-multibyte-characters):
3245 Add optional count prefix arg.
3247 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3249 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
3250 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
3253 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
3255 * subr.el (set-temporary-overlay-map): Add on-exit argument.
3257 2013-06-13 Glenn Morris <rgm@gnu.org>
3259 * startup.el (tty-handle-args):
3260 Don't just discard "--" and anything after. (Bug#14608)
3262 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
3264 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
3266 Implement changes in Secret Service API. Make it backward compatible.
3267 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
3268 (secrets-create-item): Use it. Prefix properties with interface.
3270 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
3272 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
3273 (term-emulate-terminal): Respect term-suppress-hard-newline.
3275 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
3277 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
3278 Only remove a `thumb-file' overlay. (Bug#14548)
3280 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
3282 * mail/reporter.el (reporter-submit-bug-report):
3283 Handle missing package-name. (Bug#14600)
3285 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3287 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
3288 (reftex-citation-prompt, reftex-default-bibliography)
3289 (reftex-bib-or-thebib, reftex-get-bibfile-list)
3290 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3291 (reftex-bib-sort-author, reftex-bib-sort-year)
3292 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
3293 (reftex-extract-bib-entries-from-thebibliography)
3294 (reftex-get-bibkey-default, reftex-get-bib-names)
3295 (reftex-parse-bibtex-entry, reftex-get-bib-field)
3296 (reftex-format-bib-entry, reftex-parse-bibitem)
3297 (reftex-format-bibitem, reftex-do-citation)
3298 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
3299 (reftex-restrict-bib-matches, reftex-extract-bib-file)
3300 (reftex-insert-bib-matches, reftex-format-citation)
3301 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
3302 (reftex-create-bibtex-file): Add docstrings, mostly by converting
3303 existing comments into docstrings.
3305 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3307 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
3309 2013-06-12 Andreas Schwab <schwab@suse.de>
3311 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
3312 for auto-save files.
3314 2013-06-12 Glenn Morris <rgm@gnu.org>
3316 * ido.el (ido-delete-ignored-files): Remove.
3317 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
3318 Go back to calling ido-ignore-item-p directly.
3320 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
3322 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
3324 * ido.el (ido-delete-ignored-files): New function,
3325 split from ido-make-file-list-1.
3326 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
3327 (ido-make-file-list-1): Use ido-delete-ignored-files.
3329 2013-06-12 Leo Liu <sdl.web@gmail.com>
3331 * progmodes/octave.el (inferior-octave-startup)
3332 (inferior-octave-completion-table)
3333 (inferior-octave-track-window-width-change)
3334 (octave-eldoc-function-signatures, octave-help)
3335 (octave-find-definition): Use single quoted strings.
3336 (inferior-octave-startup-args): Change default value.
3337 (inferior-octave-startup): Do not hard code "-i" and
3338 "--no-line-editing".
3339 (inferior-octave-resync-dirs): Add optional arg NOERROR.
3340 (inferior-octave-directory-tracker): Use it.
3341 (octave-goto-function-definition): Robustify.
3342 (octave-help): Support highlighting operators in 'See also'.
3343 (octave-find-definition): Find subfunctions only in Octave mode.
3345 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3347 * help-fns.el (help-fns--compiler-macro): If the handler function is
3348 named, then put a link to it.
3349 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
3350 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
3352 (cl-eval-when): Simplify debug spec.
3353 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
3354 compiler-macro function instead of setting `compiler-macro-file'.
3356 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
3358 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
3359 * vc/vc-hooks.el (vc-stay-local): Doc fix.
3361 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3362 Daniel Hackney <dan@haxney.org>
3364 First part of Daniel Hackney's patch to package.el.
3365 * emacs-lisp/package.el: Use defstruct.
3366 (package-desc): New, main struct.
3367 (package--bi-desc, package--ac-desc): New structs, used to describe the
3368 format in external files.
3369 (package-desc-vers): Replace with package-desc-version accessor.
3370 (package-desc-doc): Replace with package-desc-summary accessor.
3371 (package-activate-1): Remove `package' arg since the pkg-vec now
3373 (define-package): Use package-desc-from-define.
3374 (package-unpack-single): Change file-name arg to be a symbol.
3375 (package--add-to-archive-contents): Use package-desc-create and new
3376 accessor functions to package--ac-desc.
3377 (package-buffer-info, package-tar-file-info): Return a package-desc.
3378 (package-install-from-buffer): Remove `type' argument. Change pkg-info
3379 arg to be a package-desc.
3380 (package-install-file): Adjust accordingly. Use \' to match EOS.
3381 (package--from-builtin): New function.
3382 (describe-package-1, package-menu--generate): Use it.
3383 (package--make-autoloads-and-compile): Change name arg to be a symbol.
3384 (package-generate-autoloads): Idem and return the name of the file.
3385 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3386 Change pkg-info arg to be a package-desc.
3387 Use package-make-ac-desc.
3388 (package-upload-file): Use \' to match EOS.
3389 * finder.el (finder-compile-keywords): Use package-make-builtin.
3391 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3393 * vc/vc.el (vc-deduce-fileset): Change error message.
3394 (vc-read-backend): New function.
3395 (vc-next-action): Use it.
3397 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
3399 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
3400 (prolog-font-lock-keywords): Use regexp-opt instead.
3401 Don't manually highlight strings.
3402 (prolog-mode-variables): Simplify comment-start-skip.
3403 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
3405 * emacs-lisp/generic.el (generic--normalise-comments)
3406 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
3407 (generic-mode-set-comments): Use them.
3408 (generic-bracket-support): Use setq-local.
3409 (generic-make-keywords-list): Declare obsolete.
3411 2013-06-11 Glenn Morris <rgm@gnu.org>
3413 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3414 Prettify after setting font-lock-defaults. (Bug#14574)
3416 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
3418 * replace.el (query-replace, occur-read-regexp-defaults-function)
3420 * subr.el (declare-function, number-sequence, local-set-key)
3421 (substitute-key-definition, locate-user-emacs-file)
3422 (with-silent-modifications, split-string, eval-after-load):
3423 Fix typos, remove unneeded backslashes and reflow some docstrings.
3425 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3427 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
3428 default for Elisp files.
3430 2013-06-11 Glenn Morris <rgm@gnu.org>
3432 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
3433 although define-derived-mode was doing this anyway. (Bug#14583)
3435 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
3437 * allout.el (allout-encryption-plaintext-sanitization-regexps):
3438 Fix make-variable-buffer-local call to refer to the correct variable.
3440 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
3442 * eshell/em-term.el (eshell-visual-commands)
3443 (eshell-visual-subcommands, eshell-visual-options):
3444 Add summary line to docstrings. Add cross-references.
3446 2013-06-10 Glenn Morris <rgm@gnu.org>
3448 * epa.el (epa-read-file-name): New function. (Bug#14510)
3449 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
3451 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3453 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
3454 output redirection to be ignored with visual commands.
3456 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
3458 * eshell/em-term.el (eshell-visual-command-p): New function.
3459 (eshell-term-initialize): Move long lambda to separate function
3460 eshell-visual-command-p.
3461 * eshell/em-dirs.el (eshell-dirs-initialise):
3462 * eshell/em-script.el (eshell-script-initialize):
3463 Add missing #' to lambda.
3465 2013-06-08 Leo Liu <sdl.web@gmail.com>
3467 * progmodes/octave.el (octave-add-log-current-defun): New function.
3468 (octave-mode): Set add-log-current-defun-function.
3469 (octave-goto-function-definition): Do not move point if not found.
3470 (octave-find-definition): Enhance to try subfunctions first.
3472 2013-06-08 Glenn Morris <rgm@gnu.org>
3474 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3475 (byte-compile-backward-char, byte-compile-backward-word):
3476 Improve previous change, to handle non-explicit nil.
3478 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3480 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
3481 (smie--opener/closer-at-point): New function.
3482 (smie--matching-block-data): Use it. Don't match from right after an
3483 opener or right before a closer. Obey smie-blink-matching-inners.
3484 Don't signal a mismatch for repeated inners like "switch..case..case".
3486 2013-06-07 Leo Liu <sdl.web@gmail.com>
3488 * progmodes/octave.el (octave-mode): Set comment-use-global-state
3490 (octave-function-header-regexp): Fix. (Bug#14570)
3491 (octave-help-mode-finish-hook, octave-help-mode-finish):
3492 Remove. Just use temp-buffer-show-hook.
3494 * newcomment.el (comment-search-backward): Revert last change.
3497 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
3499 2013-06-07 Eli Zaretskii <eliz@gnu.org>
3501 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
3502 through xargs, to avoid failure due to MS-Windows limitations on
3503 command-line length.
3505 2013-06-06 Glenn Morris <rgm@gnu.org>
3507 * font-lock.el (lisp-font-lock-keywords-2):
3508 Treat user-error like error.
3510 * emacs-lisp/bytecomp.el (byte-compile-char-before)
3511 (byte-compile-backward-char, byte-compile-backward-word):
3512 Handle explicit nil arguments. (Bug#14565)
3514 2013-06-05 Alan Mackenzie <acm@muc.de>
3516 * isearch.el (isearch-allow-prefix): New user option.
3517 (isearch-other-meta-char): Don't exit isearch when a prefix
3518 argument is typed whilst `isearch-allow-prefix' is non-nil.
3521 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3523 * autorevert.el (auto-revert-notify-handler): Use memq.
3524 Hide assertion failure.
3526 * skeleton.el: Use cl-lib.
3527 (skeleton-further-elements): Use defvar-local.
3528 (skeleton-insert): Use cl-progv.
3530 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3532 * progmodes/prog-mode.el (prog-prettify-symbols)
3533 (prog-prettify-install): Update docstrings.
3535 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3537 * simple.el: Move all the prog-mode code to prog-mode.el.
3538 * progmodes/prog-mode.el: New file.
3539 * loadup.el: Add prog-mode.el.
3541 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3543 * simple.el (prog-prettify-symbols): Add version.
3544 (prog-prettify-install): Add convenience function to prettify symbols.
3546 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
3547 (perl--augmented-font-lock-keywords-1)
3548 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
3549 variables and use it.
3551 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3552 (cfengine3-mode): Remove unneeded variable and use it.
3554 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3555 (lisp--augmented-font-lock-keywords-1)
3556 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
3557 Remove unneeded variables and use it.
3559 2013-06-05 João Távora <joaotavora@gmail.com>
3561 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
3562 to point when opening the connection. (Bug#14380)
3564 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3566 * subr.el (load-history-regexp, load-history-filename-element)
3567 (eval-after-load, after-load-functions, do-after-load-evaluation)
3568 (eval-next-after-load, display-delayed-warnings)
3569 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
3570 definition of save-match-data.
3571 (overriding-local-map): Remove accidental obsolescence declaration.
3573 * emacs-lisp/edebug.el (edebug-result): Move before first use.
3575 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
3577 Generalize symbol prettify support to prog-mode and implement it
3578 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
3579 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
3580 (prog--prettify-font-lock-compose-symbol)
3581 (prog-prettify-font-lock-symbols-keywords): New variables and
3582 functions to support symbol prettification.
3583 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
3584 (lisp--augmented-font-lock-keywords-1)
3585 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
3586 (lisp--prettify-symbols-alist): Implement prettify of lambda.
3587 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
3588 (cfengine3--prettify-symbols-alist, cfengine3-mode):
3589 Implement prettify of -> => :: strings.
3590 * progmodes/perl-mode.el (perl-prettify-symbols)
3591 (perl--font-lock-compose-symbol)
3592 (perl--font-lock-symbols-keywords): Move to prog-mode.
3593 (perl--prettify-symbols-alist): Prettify -> => :: strings.
3594 (perl-font-lock-keywords-1)
3595 (perl-font-lock-keywords-2): Remove explicit prettify support.
3596 (perl--augmented-font-lock-keywords)
3597 (perl--augmented-font-lock-keywords-1)
3598 (perl--augmented-font-lock-keywords-2, perl-mode):
3599 Implement prettify support.
3601 2013-06-05 Leo Liu <sdl.web@gmail.com>
3603 Re-implement smie matching block highlight using
3604 show-paren-data-function. (Bug#14395)
3605 * emacs-lisp/smie.el (smie-matching-block-highlight)
3606 (smie--highlight-matching-block-overlay)
3607 (smie--highlight-matching-block-lastpos)
3608 (smie-highlight-matching-block)
3609 (smie-highlight-matching-block-mode): Remove.
3610 (smie--matching-block-data-cache): New variable.
3611 (smie--matching-block-data): New function.
3612 (smie-setup): Use smie--matching-block-data for
3613 show-paren-data-function.
3615 * progmodes/octave.el (octave-mode-menu): Fix.
3616 (octave-find-definition): Skip garbage lines.
3618 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3620 Fix compilation error with simultaneous dynamic+lexical scoping.
3621 Add warning when a defvar appears after the first let-binding.
3622 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
3623 (byte-compile-close-variables): Initialize it.
3624 (byte-compile--declare-var): New function.
3625 (byte-compile-file-form-defvar)
3626 (byte-compile-file-form-define-abbrev-table)
3627 (byte-compile-file-form-custom-declare-variable): Use it.
3628 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
3629 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
3630 (byte-compile-bind): Handle dynamic bindings that shadow
3632 (byte-compile-unbind): Make arg non-optional.
3633 (byte-compile-let): Simplify.
3634 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
3635 (cconv--analyse-function, cconv-analyse-form): Populate it.
3636 Protect byte-compile-bound-variables to limit the scope of defvars.
3637 (cconv-analyse-form): Add missing rule for (defvar <foo>).
3638 Remove unneeded rule for `declare'.
3640 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
3641 so as to avoid depending on cl-adjoin at run-time.
3642 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
3644 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
3645 (macroexp--warn-and-return): Use it.
3647 2013-06-05 Leo Liu <sdl.web@gmail.com>
3649 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
3651 2013-06-04 Leo Liu <sdl.web@gmail.com>
3653 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
3654 (compilation-auto-jump): Suppress the "Mark set" message to give
3655 way to exit message.
3657 2013-06-04 Alan Mackenzie <acm@muc.de>
3659 Remove faulty optimisation from indentation calculation.
3660 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
3661 search limit based on 2000 characters back from indent-point.
3663 2013-06-03 Tassilo Horn <tsdh@gnu.org>
3665 * eshell/em-term.el (cl-lib): Require `cl-lib'.
3667 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3669 * emacs-lisp/lisp.el: Use lexical-binding.
3670 (lisp--local-variables-1, lisp--local-variables): New functions.
3671 (lisp--local-variables-completion-table): New var.
3672 (lisp-completion-at-point): Use it complete let-bound vars.
3674 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
3675 eagerly (bug#14422).
3677 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
3679 * autorevert.el (auto-revert-notify-enabled)
3680 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3681 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
3682 (auto-revert-notify-handler): Handle also gfilenotify.
3684 * subr.el (file-notify-handle-event): New defun. Replacing ...
3685 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
3688 2013-06-03 Juri Linkov <juri@jurta.org>
3690 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
3691 `M-s h .'. (Bug#14427)
3693 * hi-lock.el (highlight-symbol-at-point): New alias for the new
3694 command `hi-lock-face-symbol-at-point'.
3695 (hi-lock-face-symbol-at-point): New command.
3696 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
3697 (hi-lock-menu): Add `highlight-symbol-at-point'.
3698 (hi-lock-mode): Doc fix.
3700 * isearch.el (isearch-forward-symbol-at-point): New command.
3701 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
3702 (isearch-highlight-regexp): Add a regexp which matches
3703 words/symbols for word/symbol mode.
3705 * subr.el (find-tag-default-bounds): New function with the body
3706 mostly moved from `find-tag-default'.
3707 (find-tag-default): Move most code to `find-tag-default-bounds',
3708 call it and apply `buffer-substring-no-properties' afterwards.
3710 2013-06-03 Tassilo Horn <tsdh@gnu.org>
3712 * eshell/em-term.el (eshell-term-initialize):
3713 Use `cl-intersection' rather than `intersection'.
3715 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
3717 * vc/log-view.el: Doc fix.
3718 (log-view-mode-map): Copy keymap from `special-mode-map'.
3720 2013-06-02 Eric Ludlam <zappo@gnu.org>
3722 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
3723 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
3724 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
3725 (eieio-unbound, eieio-default-superclass)
3726 (eieio--define-field-accessors, method-static, method-before)
3727 (method-primary, method-after, method-num-lists)
3728 (method-generic-before, method-generic-primary)
3729 (method-generic-after, method-num-slots)
3730 (eieio-specialized-key-to-generic-key)
3731 (eieio--check-type, class-v, class-p)
3732 (eieio-class-name, define-obsolete-function-alias)
3733 (eieio-class-parents-fast, eieio-class-children-fast)
3734 (same-class-fast-p, class-constructor, generic-p)
3735 (generic-primary-only-p, generic-primary-only-one-p)
3736 (class-option-assoc, class-option, eieio-object-p)
3737 (class-abstract-p, class-method-invocation-order)
3738 (eieio-defclass-autoload-map, eieio-defclass-autoload)
3739 (eieio-class-un-autoload, eieio-defclass)
3740 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
3741 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
3742 (eieio--defgeneric-init-form, eieio-defgeneric-form)
3743 (eieio-defgeneric-reset-generic-form)
3744 (eieio-defgeneric-form-primary-only)
3745 (eieio-defgeneric-reset-generic-form-primary-only)
3746 (eieio-defgeneric-form-primary-only-one)
3747 (eieio-defgeneric-reset-generic-form-primary-only-one)
3748 (eieio-unbind-method-implementations)
3749 (eieio--defmethod, eieio--typep)
3750 (eieio-perform-slot-validation, eieio-validate-slot-value)
3751 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
3752 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
3753 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
3754 (eieio-slot-name-index, eieio-class-slot-name-index)
3755 (eieio-set-defaults, eieio-initarg-to-attribute)
3756 (eieio-attribute-to-initarg, eieio-c3-candidate)
3757 (eieio-c3-merge-lists, eieio-class-precedence-c3)
3758 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
3759 (eieio-class-precedence-list, eieio-generic-call-methodname)
3760 (eieio-generic-call-arglst, eieio-generic-call-key)
3761 (eieio-generic-call-next-method-list)
3762 (eieio-pre-method-execution-functions, eieio-generic-call)
3763 (eieio-generic-call-primary-only, eieiomt-method-list)
3764 (eieiomt-optimizing-obarray, eieiomt-install)
3765 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
3766 (eieio-generic-form, eieio-defmethod, make-obsolete)
3767 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
3768 (defclass): Remove `eval-and-compile' from macro.
3769 (call-next-method, shared-initialize): Instead of using
3770 `scoped-class' variable, use new eieio--scoped-class, and
3771 eieio--with-scoped-class.
3772 (initialize-instance): Rename local variable 'scoped-class' to
3773 'this-class' to remove ambiguitity from old global.
3775 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
3777 (eieio--scoped-class-stack): New variable.
3778 (eieio--scoped-class): New fcn.
3779 (eieio--with-scoped-class): New scoping macro.
3780 (eieio-defclass): Use pushnew instead of add-to-list.
3781 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
3782 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
3783 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
3784 `scoped-class' variable, use new eieio--scoped-class, and
3785 eieio--with-scoped-class.
3787 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
3789 2013-06-02 Tassilo Horn <tsdh@gnu.org>
3791 * eshell/esh-ext.el (eshell-external-command): Pass args to
3792 `eshell-find-interpreter'.
3793 (eshell-find-interpreter): Add new second parameter ARGS.
3795 * eshell/em-script.el (eshell-script-initialize): Add second arg
3796 to the function added as MATCH to `eshell-interpreter-alist'.
3798 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
3799 the function added as MATCH to `eshell-interpreter-alist'.
3801 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
3802 (eshell-visual-options): New defcustom.
3803 (eshell-escape-control-x): Adapt docstring.
3804 (eshell-term-initialize): Test `eshell-visual-subcommands' and
3805 `eshell-visual-options' in addition to `eshell-visual-commands'.
3806 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
3808 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
3810 * progmodes/python.el (python-indent-block-enders): Add break,
3811 continue and raise keywords.
3813 2013-06-01 Glenn Morris <rgm@gnu.org>
3815 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
3817 Plain (f)boundp silences compilation warnings since Emacs 22.1.
3818 * progmodes/cc-cmds.el (delete-forward-p):
3819 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
3820 * progmodes/cc-engine.el (buffer-syntactic-context):
3821 * progmodes/cc-fonts.el (face-property-instance):
3822 * progmodes/cc-mode.el (set-keymap-parents):
3823 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
3824 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
3825 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
3826 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
3827 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
3829 * progmodes/cc-vars.el (other): Emacs has this widget since
3830 at least 21.1, so don't (re)define it.
3832 * eshell/em-cmpl.el (eshell-cmpl-initialize):
3833 Replace the obsolete alias pcomplete-arg-quote-list.
3835 2013-06-01 Leo Liu <sdl.web@gmail.com>
3837 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
3839 (inferior-octave-minimal-columns)
3840 (inferior-octave-last-column-width): New variables.
3841 (inferior-octave-track-window-width-change): New function.
3842 (inferior-octave-mode): Adjust column width so that Octave output,
3843 for example from 'ls', can fit into the window nicely.
3845 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3847 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3848 Highlight expansions inside regexp literals.
3850 2013-05-31 Glenn Morris <rgm@gnu.org>
3852 * obsolete/sym-comp.el (symbol-complete):
3853 Replace obsolete completion-annotate-function.
3855 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
3857 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
3859 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
3860 New function, checks if point is inside a literal that allows
3861 expression expansion.
3862 (ruby-syntax-propertize-expansion): Use it.
3863 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
3866 2013-05-30 Juri Linkov <juri@jurta.org>
3868 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
3870 (isearch-invisible): New variable.
3871 (isearch-forward): Doc fix.
3872 (isearch-mode): Set `isearch-invisible'
3873 to the value of `search-invisible'.
3874 (isearch-toggle-case-fold): Doc fix.
3875 (isearch-toggle-invisible): New command.
3876 (isearch-query-replace): Let-bind `search-invisible'
3877 to the value of `isearch-invisible'.
3878 (isearch-search): Use `isearch-invisible' instead of
3879 `search-invisible'. Let-bind `search-invisible'
3880 to the value of `isearch-invisible'. (Bug#11378)
3882 2013-05-30 Juri Linkov <juri@jurta.org>
3884 * replace.el (perform-replace): Avoid `isearch-range-invisible'
3885 call when `query-flag' is nil and `search-invisible' is non-nil.
3888 2013-05-30 Glenn Morris <rgm@gnu.org>
3890 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
3892 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
3893 (cc-require): Suppress spurious "noruntime" warnings.
3894 (cc-require-when-compile): Use fboundp, for sake of compiler.
3896 * progmodes/cc-mode.el: Move load of cc-vars before that of
3897 cc-langs (which in turn loads cc-vars), to quieten compiler.
3899 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3901 * paren.el: Simplify the code.
3902 (show-paren-mode): Always start the timer.
3903 (show-paren--idle-timer): Rename from show-paren-idle-timer.
3904 (show-paren--overlay, show-paren--overlay-1): Rename from
3905 show-paren-overlay and show-paren-overlay-1, and initialize to an
3906 overlay rather than to nil.
3907 (show-paren-function): Misc cleanup and simplifications.
3909 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3911 * paren.el (show-paren-data-function): New hook.
3912 (show-paren--default): New function, extracted from show-paren-function.
3913 (show-paren-function): Use show-paren-data-function.
3915 2013-05-30 Glenn Morris <rgm@gnu.org>
3917 * ielm.el (ielm-map, ielm-complete-symbol):
3918 Use completion-at-point rather than obsolete functions.
3919 (inferior-emacs-lisp-mode): Doc fix.
3920 Set completion-at-point-functions, rather than
3921 comint-dynamic-complete-functions.
3923 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
3924 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
3925 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
3927 * image.el (image-animated-p): Tweak definition.
3929 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
3930 (rlogin-process-connection-type): Tweak default. Add set-after.
3931 (rlogin-host): Doc fix.
3932 (rlogin): Tweak prompt.
3933 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
3935 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
3936 * progmodes/tcl.el (inferior-tcl-mode-map):
3937 Use completion-at-point rather than obsolete alias.
3939 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
3941 * minibuffer.el (read-file-name-completion-ignore-case):
3942 Move before completion--in-region, for eager macro expansion.
3944 2013-05-29 Juri Linkov <juri@jurta.org>
3946 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
3947 for total count of matching lines. Add `global-matches' for total
3948 count of matches. Rename `matches' to `lines' for count of
3949 matching lines. Add `matches' for count of matches.
3950 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
3951 to `prev-line' for line number of prev match endpt.
3952 Increment `matches' for every match. Print the number of
3953 matching lines in the header.
3954 (occur-context-lines): Rename `lines' to `curr-line'.
3955 Rename `prev-lines' to `prev-line'. (Bug#14017)
3957 2013-05-29 Juri Linkov <juri@jurta.org>
3959 * replace.el (perform-replace): Add `skip-read-only-count',
3960 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
3961 Increment them for corresponding conditions and report the number
3962 of skipped occurrences in the final message. (Bug#11746)
3963 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3964 (replace-string, replace-regexp): Doc fix.
3966 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3968 * emacs-lisp/trace.el (trace--read-args): Provide a default.
3970 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
3971 prog-mode-map (bug#14504).
3973 2013-05-29 Leo Liu <sdl.web@gmail.com>
3975 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
3976 (octave-help): Small simplification.
3978 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
3979 off the highlight first.
3981 2013-05-29 Glenn Morris <rgm@gnu.org>
3983 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
3984 Handle idlwave-last-system-routine-info-cons-cell being nil.
3986 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3987 (idlwave-write-paths): Simplify via with-temp-buffer.
3989 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
3990 * emulation/cua-rect.el: Also load cua-base at run time.
3992 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
3993 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
3994 (cperl-imenu-on-info): Require imenu.
3996 2013-05-28 Alan Mackenzie <acm@muc.de>
3998 Handle "capitalised keywords" correctly.
3999 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
4001 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
4003 * eshell/em-unix.el: Add -r option to cp.
4005 2013-05-28 Glenn Morris <rgm@gnu.org>
4007 * vc/vc-arch.el (vc-exec-after): Declare.
4008 (vc-switches): Autoload.
4009 * vc/vc-bzr.el: No need to require vc when compiling.
4010 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
4011 (vc-resynch-buffer, vc-dir-refresh): Declare.
4012 (vc-setup-buffer, vc-switches): Autoload.
4013 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
4014 (vc-resynch-buffer): Declare.
4015 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
4016 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
4017 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
4018 (grep-read-regexp, grep-read-files, grep-expand-template)
4019 (vc-dir-refresh): Declare.
4020 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
4021 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
4022 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
4023 * vc/vc-mtn.el (vc-exec-after): Declare.
4024 (vc-switches): Autoload.
4025 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
4026 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
4027 (vc-file-tree-walk): Declare.
4028 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
4029 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
4030 (vc-tag-precondition, vc-rename-master): Autoload.
4031 * vc/vc-svn.el (vc-exec-after): Declare.
4032 (vc-switches, vc-setup-buffer): Autoload.
4033 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
4035 (vc-resynch-buffer): Declare.
4037 * obsolete/fast-lock.el (byte-compile-warnings):
4038 Don't warn about obsolete features in this obsolete file.
4040 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
4041 Move definition before use.
4043 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
4044 (dun-unix-verbs): Remove dun-zippy.
4045 (dun-zippy): Remove function.
4047 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
4049 2013-05-27 Juri Linkov <juri@jurta.org>
4051 * replace.el (replace-search): New function with code moved out
4052 from `perform-replace'.
4053 (replace-highlight, replace-dehighlight): Move function definitions
4054 up closer to `replace-search'. (Bug#11746)
4056 2013-05-27 Juri Linkov <juri@jurta.org>
4058 * replace.el (perform-replace): Ignore invisible matches.
4059 In addition to checking `query-replace-skip-read-only', also
4060 filter out matches by calling `run-hook-with-args-until-failure'
4061 on `isearch-filter-predicates', and also check `search-invisible'
4062 for t or call `isearch-range-invisible'.
4063 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
4065 2013-05-27 Juri Linkov <juri@jurta.org>
4067 * isearch.el (isearch-filter-predicates): Rename from
4068 `isearch-filter-predicate'. Doc fix. (Bug#11378)
4069 (isearch-message-prefix): Display text from the property
4070 `isearch-message-prefix' of the currently active filters.
4071 (isearch-search): Don't compare `isearch-filter-predicate' with
4072 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
4073 on `isearch-filter-predicates'. Also check `search-invisible' for t
4074 or call `isearch-range-invisible'.
4075 (isearch-filter-visible): Make obsolete.
4076 (isearch-lazy-highlight-search):
4077 Call `run-hook-with-args-until-failure' on
4078 `isearch-filter-predicates' and use `isearch-range-invisible'.
4080 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
4081 `isearch-filter-predicates' instead of `funcall'ing
4082 `isearch-filter-predicate'.
4083 (Info-mode): Set `Info-isearch-filter' to
4084 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
4086 * dired-aux.el (dired-isearch-filter-predicate-orig):
4088 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
4089 (dired-isearch-filenames-end): Add and remove
4090 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
4091 instead of changing the value of `isearch-filter-predicate'.
4092 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
4093 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
4094 Put property `isearch-message-prefix' to "filename " on
4095 `dired-isearch-filter-filenames'.
4097 * wdired.el (wdired-change-to-wdired-mode):
4098 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
4099 locally instead of changing `isearch-filter-predicate'.
4100 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
4102 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
4104 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
4105 return the commit hash (Bug#14459). Also set the
4106 `vc-git-detached' property.
4107 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
4108 (vc-git-mode-line-string): Use the same help-echo format whether
4109 in detached mode or not, because we know the actual revision now.
4110 When in detached mode, shorten the revision to 7 chars.
4112 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4114 * emacs-lisp/easy-mmode.el (define-minor-mode):
4115 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
4116 mode hook and provide a docstring.
4118 2013-05-27 Alan Mackenzie <acm@muc.de>
4120 Remove spurious syntax-table text properties inserted by C-y.
4121 * progmodes/cc-mode.el (c-after-change): Also clear hard
4122 syntax-table property with value nil.
4124 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
4126 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
4127 when reading the events; the buffer layout shall not be changed.
4129 2013-05-27 Leo Liu <sdl.web@gmail.com>
4131 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
4133 (inferior-octave-directory-tracker): Automatically re-sync
4135 (octave-help): Improve handling of 'See also'.
4137 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4139 * doc-view.el: Minor naming convention tweaks.
4140 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
4142 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
4143 even if there's no `display' property yet (bug#14435).
4145 2013-05-25 Eli Zaretskii <eliz@gnu.org>
4147 * subr.el (unmsys--file-name): Rename from reveal-filename.
4149 * Makefile.in (custom-deps, finder-data, autoloads)
4150 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4151 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4152 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
4154 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4156 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
4157 error-completion on the first 2 args of condition-case (bug#14446).
4160 2013-05-25 Leo Liu <sdl.web@gmail.com>
4162 * comint.el (comint-previous-matching-input): Do not flood the
4163 *Messages* buffer with trivial messages.
4165 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4167 * progmodes/flymake.el (flymake-nop): Don't return a string.
4168 (flymake-set-at): Fix typo.
4170 * simple.el (read--expression): New function, extracted from
4171 eval-expression. Set completion-at-point-functions (bug#14465).
4172 (eval-expression, eval-minibuffer): Use it.
4174 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
4176 * progmodes/flymake.el (flymake-save-buffer-in-file)
4177 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
4178 (flymake-selected-frame, flymake-log, flymake-ins-after)
4179 (flymake-set-at, flymake-get-buildfile-from-cache)
4180 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
4181 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
4182 Refine the doc string.
4183 (flymake-get-file-name-mode-and-masks): Reformat.
4184 (flymake-get-real-file-name-function): Fix a minor bug.
4186 2013-05-24 Juri Linkov <juri@jurta.org>
4188 * progmodes/grep.el (grep-mode-font-lock-keywords):
4189 Support =linenumber= format used by git-grep for lines with
4190 function names. (Bug#13549)
4192 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4194 * progmodes/octave.el (octave-smie-rules): Return nil rather than
4195 0 after a semi-colon; it works better for smie-auto-fill.
4196 (octave--indent-new-comment-line): New function.
4197 (octave-indent-new-comment-line): Use it (indirectly).
4198 (octave-mode): Don't disable smie-auto-fill. Use add-function to
4199 modify comment-line-break-function.
4201 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
4202 (smie-setup): Use add-function to set it.
4204 2013-05-24 Sam Steingold <sds@gnu.org>
4206 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
4207 argument (before the `interactive' argument).
4209 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4211 * image-mode.el (image-mode-winprops): Add winprops to
4212 image-mode-winprops-alist before running
4213 image-mode-new-window-functions.
4214 * doc-view.el (doc-view-new-window-function): Don't delay
4215 doc-view-goto-page via timers (bug#14435).
4217 2013-05-24 Tassilo Horn <tsdh@gnu.org>
4219 * doc-view.el: Integrate with desktop.el. (Bug#14435)
4220 (doc-view-desktop-save-buffer): New function.
4221 (doc-view-restore-desktop-buffer): New function.
4222 (desktop-buffer-mode-handlers):
4223 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
4225 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
4226 `desktop-save-buffer' function.
4228 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
4230 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
4231 (tramp-gvfs-file-name-handler): Raise a user error when
4232 `tramp-gvfs-enabled' is nil.
4233 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
4234 Do not raise a user error when loading package. (Bug#14447)
4236 * net/xesam.el: Move to obsolete/.
4238 2013-05-24 Glenn Morris <rgm@gnu.org>
4240 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
4242 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
4244 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
4245 (Info-find-node, Man-getpage-in-background): Declare.
4247 * mail/unrmail.el (unrmail):
4248 Replace obsolete detect-coding-with-priority.
4250 * net/socks.el (socks-split-string): Use this rather than split-string.
4251 (socks-nslookup-host): Update for above change.
4252 (dynamic-choice, s5-dynamic-choice-match)
4253 (s5-dynamic-choice-match-inline, s5-widget-value-create):
4254 Comment out unused code.
4256 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
4257 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
4258 (gud-tooltip-echo-area): Make obsolete.
4259 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
4261 * progmodes/js.el (js--optimize-arglist): Declare.
4263 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
4265 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
4266 (ediff-window-C): Declare.
4268 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
4269 Tweak requires to silence compiler.
4271 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
4272 (he-search-string, he-tried-table, he-expand-list)
4273 (he-init-string, he-string-member, he-substitute-string)
4274 (he-reset-string): Declare.
4276 * obsolete/options.el (list-options): Use custom-variable-p,
4277 rather than obsolete alias.
4279 2013-05-23 Sam Steingold <sds@gnu.org>
4281 * simple.el (shell-command-on-region): Pass the `replace' argument
4282 down to `call-process-region' to comply with the doc as reported on
4283 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
4285 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4287 * emacs-lisp/smie.el (smie-indent-forward-token)
4288 (smie-indent-backward-token): Handle string tokens (bug#14381).
4290 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4292 * ielm.el (ielm-menu): New menu.
4293 (inferior-emacs-lisp-mode): Set comment-start.
4295 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4297 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
4298 Fix deactivate action.
4300 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
4301 Add cleveref macros.
4303 * lisp/textmodes/reftex-parse.el
4304 (reftex-locate-bibliography-files): Accept options for
4305 bibliography commands.
4306 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
4307 Add addbibresource. Basic Biblatex support.
4309 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
4311 * net/tramp-gvfs.el (top):
4312 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
4313 when loading package. (Bug#14447)
4315 2013-05-23 Glenn Morris <rgm@gnu.org>
4317 * progmodes/js.el: No need to load comint when compiling.
4318 (ring-insert, comint-send-string, comint-send-input)
4319 (comint-last-input-end, ido-chop): Declare.
4321 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
4322 * vc/ediff-mult.el: Adjust requires.
4323 (ediff-directories-internal, ediff-directory-revisions-internal)
4324 (ediff-patch-file-internal): Declare.
4325 * vc/ediff-ptch.el: Adjust requires.
4326 (ediff-use-last-dir, ediff-buffers-internal): Declare.
4327 (ediff-find-file): Autoload.
4328 * vc/ediff-util.el: No need to load ediff when compiling.
4329 (ediff-regions-internal): Declare.
4330 * vc/ediff-wind.el: Adjust requires.
4331 (ediff-compute-toolbar-width): Define when compiling.
4332 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
4333 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
4334 (dired-get-filename, dired-get-marked-files)
4335 (ediff-last-dir-patch, ediff-patch-default-directory)
4336 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
4337 (ediff-patch-buffer-internal): Declare.
4339 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
4340 (ispell-process, ispell-buffer-local-words, lm-summary)
4341 (lm-section-start, lm-section-end): Declare.
4342 (checkdoc-ispell-init): Simplify.
4344 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
4345 (he-string-member, he-reset-string, he-substitute-string): Declare.
4347 * eshell/em-ls.el: Adjust requires.
4348 (eshell-glob-regexp): Declare.
4349 * eshell/em-tramp.el: Adjust requires.
4350 (eshell-parse-command): Autoload.
4351 * eshell/em-xtra.el: Adjust requires.
4352 (eshell-parse-command): Autoload.
4353 * eshell/esh-ext.el: Adjust requires.
4354 (eshell-parse-command, eshell-close-handles): Autoload.
4355 * eshell/esh-io.el: Adjust requires.
4356 (eshell-output-filter): Autoload.
4357 * eshell/esh-util.el: No need to load tramp when compiling.
4358 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
4360 (eshell-parse-ange-ls): Require ange-ftp and tramp.
4361 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4362 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
4363 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
4364 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
4365 * eshell/esh-opt.el, eshell/esh-proc.el:
4366 * eshell/esh-var.el: Adjust requires.
4367 * eshell/eshell.el: Do not require esh-util twice.
4368 (eshell-add-input-to-history): Declare.
4369 (eshell-command): Check history module is active before using it.
4371 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
4373 2013-05-22 Leo Liu <sdl.web@gmail.com>
4375 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
4377 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
4379 * autorevert.el (auto-revert-notify-add-watch)
4380 (auto-revert-notify-handler): Add `attrib' for the inotify case,
4381 it indicates changes in file modification time.
4383 2013-05-22 Glenn Morris <rgm@gnu.org>
4385 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4386 Always delete the autoloaded function from the noruntime and
4387 unresolved functions lists.
4389 * allout.el: No need to load epa, epg, overlay when compiling.
4390 (epg-context-set-passphrase-callback, epg-list-keys)
4391 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
4392 (epg-key-user-id-list): Declare.
4394 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4395 (viper-set-parsing-style-toggling-macro)
4396 (viper-set-emacs-state-searchstyle-macros):
4397 Use called-interactively-p on Emacs.
4398 (viper-looking-back): Make it an obsolete alias. Update callers.
4399 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
4400 Use looking-back rather than viper-looking-back.
4401 (viper-tmp-insert-at-eob, viper-enlarge-region)
4402 (viper-read-string-with-history, viper-register-to-point)
4403 (viper-append-to-register, viper-change-state-to-vi)
4404 (viper-backward-char-carefully, viper-forward-char-carefully)
4405 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
4406 (viper-change-state-to-emacs): Declare.
4407 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
4408 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
4409 * emulation/viper-mous.el: Do not load viper-cmd.
4410 (viper-backward-char-carefully, viper-forward-char-carefully)
4411 (viper-forward-word, viper-adjust-window): Declare.
4413 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
4415 * progmodes/idlw-help.el (idlwave-help-fontify):
4416 Use called-interactively-p.
4418 * term/w32console.el (w32-get-console-codepage)
4419 (w32-get-console-output-codepage): Declare.
4421 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
4422 Remove unnecessary declarations.
4423 (dframe-message): Doc fix.
4425 * info.el (dframe-select-attached-frame, dframe-current-frame):
4428 * speedbar.el (speedbar-message): Make it an obsolete alias.
4430 (speedbar-with-attached-buffer)
4431 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
4432 (speedbar-with-writable): Use backquote.
4433 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
4434 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4435 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
4436 rather than speedbar- aliases.
4437 * mail/rmail.el: Load dframe rather than speedbar when compiling.
4438 (speedbar-make-specialized-keymap, speedbar-insert-button)
4439 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
4440 (speedbar-do-function-pointer): Declare.
4441 (rmail-speedbar-button, rmail-speedbar-find-file)
4442 (rmail-speedbar-move-message):
4443 Use dframe-with-attached-buffer rather than speedbar- alias.
4444 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
4445 (dframe-message, speedbar-make-specialized-keymap)
4446 (speedbar-add-expansion-list, speedbar-mode-functions-list)
4447 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
4448 (speedbar-insert-button, dframe-select-attached-frame)
4449 (dframe-maybee-jump-to-attached-frame)
4450 (speedbar-change-initial-expansion-list)
4451 (speedbar-previously-used-expansion-list-name): Declare.
4452 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
4453 Use dframe-message, dframe-with-attached-buffer rather than
4455 (gud-sentinel): Silence compiler.
4456 * progmodes/vhdl-mode.el (speedbar-refresh)
4457 (speedbar-do-function-pointer, speedbar-add-supported-extension)
4458 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
4459 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
4460 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
4461 (speedbar-file-lists, speedbar-make-tag-line)
4462 (speedbar-line-directory, speedbar-goto-this-file)
4463 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
4464 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
4465 (speedbar-make-button, speedbar-reset-scanners)
4466 (speedbar-files-item-info, speedbar-line-text)
4467 (speedbar-find-file-in-frame, speedbar-set-timer)
4468 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
4469 (speedbar-with-writable): Do not (re)define it.
4470 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
4471 rather than speedbar- alias.
4473 2013-05-21 Leo Liu <sdl.web@gmail.com>
4475 * progmodes/octave.el (octave-mode-menu): Update and re-organize
4477 (octave-mode): Tweak fill-nobreak-predicate.
4478 (inferior-octave-startup): Check process to avoid infinite loop.
4479 (inferior-octave): Pop to buffer first to show abornmal process
4482 2013-05-21 Glenn Morris <rgm@gnu.org>
4484 * printing.el (pr-menu-bar): Define when compiling.
4486 2013-05-21 Leo Liu <sdl.web@gmail.com>
4488 * progmodes/octave.el (octave-auto-fill): Remove.
4489 (octave-indent-new-comment-line): Improve.
4490 (octave-mode): Use auto fill mode through
4491 comment-line-break-function and fill-nobreak-predicate.
4492 (octave-goto-function-definition): Support DEFUN_DLD.
4493 (octave-beginning-of-defun): Small tweak.
4494 (octave-help): Show parent directory.
4496 2013-05-21 Glenn Morris <rgm@gnu.org>
4498 * files.el (dired-unmark):
4499 * progmodes/gud.el (gdb-input): Update declarations.
4501 * calculator.el (electric, ehelp): No need to load when compiling.
4502 (Electric-command-loop, electric-describe-mode): Declare.
4504 * doc-view.el (doc-view-current-converter-processes): Move before use.
4506 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4507 Move MODE-set-explicitly definition before use.
4509 * international/mule-diag.el (mule-diag):
4510 Don't use obsolete window-system-version.
4512 * mail/feedmail.el (smtpmail): No need to load when compiling.
4513 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
4515 * mail/mail-utils.el (rfc822): No need to load when compiling.
4516 (rfc822-addresses): Autoload it.
4517 (mail-strip-quoted-names): Trivial simplification.
4519 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
4520 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
4522 * net/snmp-mode.el (tempo): Don't duplicate requires.
4524 * progmodes/prolog.el (info): No need to load when compiling.
4525 (comint): Require before shell requires it.
4526 (Info-goto-node): Autoload it.
4527 (Info-follow-nearest-node): Declare.
4528 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
4530 * textmodes/artist.el (picture-mode-exit): Declare.
4532 * textmodes/reftex-parse.el (reftex-parse-from-file):
4533 Trivial rewrite so the compiler can parse it better.
4535 2013-05-20 Leo Liu <sdl.web@gmail.com>
4537 * progmodes/octave.el (octave-help-mode-map)
4538 (octave-help-mode-finish-hook): New variables.
4539 (octave-help-mode, octave-help-mode-finish): New functions.
4540 (octave-help): Use octave-help-mode.
4542 2013-05-20 Glenn Morris <rgm@gnu.org>
4544 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
4546 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
4548 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
4549 start at point, so that expansion starting right after opening
4550 slash in a regexp is recognized.
4551 (ruby-syntax-before-regexp-re): New defvar, extracted from
4552 ruby-syntax-propertize-function. Since the value of this regexp
4553 is looked up at runtime now, we should be able to turn
4554 `ruby-syntax-methods-before-regexp' into a defcustom later.
4555 (ruby-syntax-propertize-function): Split regexp matching into two
4556 parts, for opening and closing slashes. That allows us to skip
4557 over string interpolations and support multiline regexps.
4558 Don't call `ruby-syntax-propertize-expansions', instead use another rule
4559 for them, which calls `ruby-syntax-propertize-expansion'.
4560 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
4561 call to `ruby-syntax-propertize-function'.
4562 (ruby-syntax-propertize-expansion): Extracted from
4563 `ruby-syntax-propertize-expansions'. Handles one expansion.
4564 (ruby-syntax-propertize-percent-literal): Leave point right after
4565 the percent symbol, so that the expression expansion rule can
4566 propertize the contents.
4567 (ruby-syntax-propertize-heredoc): Leave point at bol following the
4569 (ruby-syntax-propertize-expansions): Remove.
4571 2013-05-18 Juri Linkov <juri@jurta.org>
4573 * man.el (Man-default-man-entry): Remove `-' from the end
4574 of the default value. (Bug#14400)
4576 2013-05-18 Glenn Morris <rgm@gnu.org>
4578 * comint.el (comint-password-prompt-regexp):
4579 Allow "password for XXX" where XXX contains colons (eg https://...).
4581 2013-05-18 Leo Liu <sdl.web@gmail.com>
4583 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
4584 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
4585 (octave-source-directories): Don't check process.
4586 (octave-source-directories, octave-find-definition): Doc fix.
4588 2013-05-18 Glenn Morris <rgm@gnu.org>
4590 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
4591 Remove backspace/delete bindings. (Bug#14392)
4593 * cus-dep.el (custom-make-dependencies): Sort the output.
4594 (custom-versions-load-alist): Convert comment to doc.
4596 2013-05-17 Leo Liu <sdl.web@gmail.com>
4598 * newcomment.el (comment-search-backward): Stricter in finding
4599 comment start. (Bug#14303)
4601 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
4602 (octave-comment-start-skip): Properly anchored.
4604 2013-05-17 Leo Liu <sdl.web@gmail.com>
4606 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
4607 Clean up when turned off. (Bug#14395)
4608 (smie--highlight-matching-block-overlay): No longer buffer-local.
4609 (smie-highlight-matching-block): Adjust.
4611 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
4613 Doc string fix for "nanoseconds" (Bug#14406).
4614 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
4615 Fix doc string typo that had "nanoseconds" instead of "microseconds".
4617 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4619 * calc/calc-units.el (math-extract-units): Preserve powers
4622 2013-05-17 Leo Liu <sdl.web@gmail.com>
4624 * subr.el (delete-consecutive-dups): New function.
4625 * ido.el (ido-set-matches-1): Use it.
4626 * progmodes/octave.el (inferior-octave-completion-table): Use it.
4627 * ido.el (ido-remove-consecutive-dups): Remove.
4629 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4631 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4632 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
4633 regexp-opt's `words'.
4635 2013-05-16 Leo Liu <sdl.web@gmail.com>
4637 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
4638 (smie--highlight-matching-block-overlay)
4639 (smie--highlight-matching-block-lastpos)
4640 (smie--highlight-matching-block-timer): New variables.
4641 (smie-highlight-matching-block): New function.
4642 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
4643 (smie-setup): Conditionally enable smie-blink-matching-open.
4645 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
4647 Sync with upstream verilog-mode r840.
4648 * progmodes/verilog-mode.el (verilog-mode-version)
4649 (verilog-mode-release-date): Update.
4650 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
4651 (verilog-sig-tieoff): Fix string error on
4652 AUTORESET with colon define, bug594. Reported by Andrew Hou.
4653 (verilog-read-decls): Fix parameters confusing
4654 AUTOINST interfaces, bug565. Reported by Leith Johnson.
4656 2013-05-16 Eli Zaretskii <eliz@gnu.org>
4658 * subr.el (reveal-filename): New function.
4660 * loadup.el: Compute Emacs executable versions on MS-Windows,
4661 where executables have the .exe extension. Add a hard link
4662 emacs-XX.YY.ZZ.exe on MS-Windows.
4664 * Makefile.in (XARGS_LIMIT): New variable.
4665 (custom-deps, finder-data, autoloads)
4666 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4667 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4668 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
4669 (compile-main): Limit xargs according to $(XARGS_LIMIT).
4671 2013-05-16 Leo Liu <sdl.web@gmail.com>
4673 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
4674 (octave-mode-menu, octave-mode-map): Remove its uses.
4676 2013-05-16 Reto Zimmermann <reto@gnu.org>
4678 Sync with upstream vhdl mode v3.34.2.
4679 * progmodes/vhdl-mode.el: Use `push' throughout.
4680 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
4681 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
4682 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
4683 (vhdl-actual-generic-name): New option to derive actual generic name.
4684 (vhdl-port-paste-signals): Replace formal by actual generics.
4685 (vhdl-beautify): New name for old group vhdl-align. Update users.
4686 (vhdl-beautify-options): New option.
4687 (vhdl-last-input-event): New compat alias. Use throughout.
4688 (vhdl-goto-line): Replace user level function `goto-line'.
4689 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
4690 vhdl-fix-statement-buffer.
4691 (vhdl-create-mode-menu): Add some entries.
4692 (vhdl-align-region-groups): Respect vhdl-beautify-options.
4693 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
4694 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
4695 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
4696 to force statements on one line.
4697 (vhdl-remove-trailing-spaces-region):
4698 New, split from vhdl-remove-trailing-spaces.
4699 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
4700 Respect vhdl-beautify-options.
4701 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
4702 (vhdl-update-sensitivity-list): Not add with index if exists without.
4703 Not include array index with signal. Ignore keywords in comments.
4704 (vhdl-get-visible-signals): Regexp tweaks.
4705 (vhdl-template-component-inst): Handle empty library.
4706 (vhdl-template-type): Add template for 'enum' type.
4707 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
4708 Use vhdl-replace-string.
4709 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
4710 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
4711 (vhdl-speedbar-initialize): Update for above name change.
4712 (vhdl-compose-wire-components): Fix in handling of constants.
4713 (vhdl-error-regexp-emacs-alist): New variable.
4714 (vhdl-error-regexp-add-emacs): New function;
4715 adds support for new compile.el (Emacs 22+)
4716 (vhdl-generate-makefile-1): Change target order for single lib. units.
4717 Allow use of absolute file names.
4719 2013-05-16 Leo Liu <sdl.web@gmail.com>
4721 * simple.el (prog-indent-sexp): Indent enclosing defun.
4723 2013-05-15 Glenn Morris <rgm@gnu.org>
4725 * cus-start.el (show-trailing-whitespace): Move to editing basics.
4726 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
4727 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
4728 (whitespace-highlight): Move to whitespace group.
4730 * comint.el (comint-source):
4731 * pcmpl-linux.el (pcmpl-linux):
4732 * shell.el (shell-faces):
4733 * eshell/esh-opt.el (eshell-opt):
4734 * international/ccl.el (ccl): Remove empty custom groups.
4736 * completion.el (dynamic-completion-mode):
4737 * jit-lock.el (jit-lock-debug-mode):
4738 * minibuffer.el (completion-in-region-mode):
4739 * type-break.el (type-break-mode-line-message-mode)
4740 (type-break-query-mode):
4741 * emulation/tpu-edt.el (tpu-edt-mode):
4742 * progmodes/subword.el (global-subword-mode, global-superword-mode):
4743 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4744 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
4746 * term/xterm.el (xterm): Change parent group to terminals.
4748 * master.el (master): Remove empty custom group.
4749 (master-mode): Remove unused :group argument.
4750 * textmodes/refill.el (refill): Remove empty custom group.
4751 (refill-mode): Remove unused :group argument.
4753 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
4755 * cus-dep.el: Provide a feature.
4756 (custom-make-dependencies): Ignore dotfiles (dir-locals).
4757 Don't mistakenly ignore files whose basenames match a basename
4758 from preloaded-file-list (eg cedet/ede/simple.el).
4759 Add a fallback method for getting :group.
4761 2013-05-15 Juri Linkov <juri@jurta.org>
4763 * isearch.el (isearch-char-by-name): Rename from
4764 `isearch-insert-char-by-name'. Doc fix.
4765 (isearch-forward): Mention `isearch-char-by-name' in
4766 the docstring. (Bug#13348)
4768 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
4769 `exit-minibuffer' instead of
4770 `isearch-nonincremental-exit-minibuffer'.
4771 (isearch-edit-string): Remove mention of
4772 `isearch-nonincremental-exit-minibuffer' from docstring.
4773 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
4774 (isearch-forward-exit-minibuffer)
4775 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
4777 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4779 * loadup.el: Just use unversioned DOC.
4781 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
4782 literals as extending to EOB.
4783 (nxml-last-fontify-end): Remove unused variable.
4784 (nxml-after-change1): Use with-silent-modifications.
4785 (nxml-extend-after-change-region): Simplify.
4786 (nxml-extend-after-change-region1): Remove function.
4787 (nxml-after-change1): Don't adjust for dependent regions.
4788 (nxml-fontify-matcher): Simplify.
4789 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
4790 (xmltok-add-dependent): Remove function.
4791 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
4792 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
4793 (xmltok-scan-prolog-after-processing-instruction-open): Treat
4794 unclosed <[[, <?, comment, and other literals as extending to EOB.
4795 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
4796 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
4798 (rng-do-some-validation-1): Don't mark dependent regions.
4799 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
4800 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
4801 (nxml-clear-dependent-regions): Remove functions.
4802 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
4803 (nxml-ensure-scan-up-to-date):
4804 Don't clear&mark dependent regions.
4806 2013-05-15 Leo Liu <sdl.web@gmail.com>
4808 * progmodes/octave.el (octave-goto-function-definition):
4809 Improve and fix callers.
4811 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4813 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
4814 the setter (bug#14387).
4816 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
4817 surrounding group (bug#14402).
4819 2013-05-14 Juri Linkov <juri@jurta.org>
4821 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
4824 2013-05-14 Glenn Morris <rgm@gnu.org>
4826 * progmodes/f90.el (f90-imenu-generic-expression):
4827 Fix typo in 2013-05-08 change. (Bug#14402)
4829 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4831 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
4832 Remove signals for which replies are never received.
4834 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4836 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
4837 (gdb-handler-alist, gdb-handler-number): Remove variables.
4838 (gdb-handler-list): New variable.
4839 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
4840 (gdb-pending-handler-p, gdb-handle-reply)
4841 (gdb-remove-all-pending-triggers): New functions.
4842 (gdb-discard-unordered-replies): New defcustom.
4843 (gdb-handler): New defstruct.
4844 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
4845 instead of gdb-pending-triggers. Update docstring.
4846 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
4847 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
4848 (gdb-var-update-handler, def-gdb-auto-update-trigger)
4849 (def-gdb-auto-update-handler, gdb-get-changed-registers)
4850 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
4851 (gdb-frame-handler): Pending triggers are now automatically managed.
4852 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
4854 (gdb-input): Automatically handles pending triggers. Update docstring.
4855 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
4856 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
4858 (gdb-done-or-error): Now use gdb-handle-reply.
4860 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
4862 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
4865 2013-05-14 Glenn Morris <rgm@gnu.org>
4867 * subr.el (user-emacs-directory-warning): New option.
4868 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
4870 2013-05-14 Leo Liu <sdl.web@gmail.com>
4872 * progmodes/octave.el (octave-font-lock-keywords): Fix error
4874 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
4875 (octave-font-lock-texinfo-comment): Fix invalid search bound
4876 error: wrong side of point.
4878 2013-05-14 Glenn Morris <rgm@gnu.org>
4880 * progmodes/flymake.el (flymake-xml-program): New option.
4881 (flymake-xml-init): Use it.
4883 * term/xterm.el: Provide a feature.
4885 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
4887 2013-05-13 Glenn Morris <rgm@gnu.org>
4889 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
4890 Add compat aliases as a hack workaround. (Bug#14384)
4892 2013-05-13 Leo Liu <sdl.web@gmail.com>
4894 * progmodes/octave.el (octave-indent-comment): Fix indentation for
4896 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
4898 (octave-comment-start-skip): Include %!.
4899 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
4901 2013-05-12 Leo Liu <sdl.web@gmail.com>
4903 * progmodes/octave.el (inferior-octave-startup): Store the value
4904 of __octave_srcdir__ for octave-source-directories.
4905 (inferior-octave-check-process): New function refactored out of
4906 inferior-octave-send-list-and-digest.
4907 (octave-source-directories)
4908 (octave-find-definition-filename-function): New variables.
4909 (octave-source-directories)
4910 (octave-find-definition-default-filename): New functions.
4911 (octave-find-definition): Improve to find functions implemented in C++.
4913 2013-05-12 Glenn Morris <rgm@gnu.org>
4915 * calendar/diary-lib.el (diary-outlook-format-1):
4916 Don't include dayname in the output. (Bug#14349)
4918 2013-05-11 Glenn Morris <rgm@gnu.org>
4920 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
4922 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
4923 Treat cc-provide like provide.
4925 2013-05-11 Kevin Ryde <user42@zip.com.au>
4927 * cus-dep.el (custom-make-dependencies):
4928 Use generated-autoload-load-name for the sake of files such
4929 such cedet/semantic/bovine/c.el, where the base file name
4930 is not in load-path. (Bug#5277)
4932 2013-05-11 Glenn Morris <rgm@gnu.org>
4934 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
4937 2013-05-11 Leo Liu <sdl.web@gmail.com>
4939 * progmodes/octave.el (octave-indent-comment): Improve.
4940 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
4941 (octave-eldoc-function-signatures, octave-eldoc-function):
4943 (octave-mode, inferior-octave-mode): Add eldoc support.
4945 2013-05-11 Richard Stallman <rms@gnu.org>
4947 * epa.el (epa-decrypt-file): Take output file name as argument
4948 and read it using `interactive'.
4950 2013-05-11 Leo Liu <sdl.web@gmail.com>
4952 * progmodes/octave.el (octave-beginning-of-line)
4953 (octave-end-of-line): Check before using up-list because it jumps
4954 out of more syntactic contructs since moving to smie.
4955 (octave-indent-comment): New function.
4956 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
4957 (octave-begin-keywords, octave-end-keywords)
4958 (octave-reserved-words, octave-smie-bnf-table)
4959 (octave-smie-rules): Add new keywords from Octave 3.6.4.
4961 2013-05-11 Glenn Morris <rgm@gnu.org>
4963 * faces.el (internal-face-x-get-resource):
4964 * frame.el (ns-display-monitor-attributes-list):
4965 * calc/calc-aent.el (math-to-radians-2):
4966 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
4969 * calc/calc-menu.el: Make it loadable in isolation.
4971 * net/eudcb-bbdb.el: Make it loadable without bbdb.
4972 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
4973 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
4974 (eudc-bbdb-query-internal): Require 'bbdb.
4976 * lpr.el (lpr-headers-switches):
4977 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
4979 * progmodes/sql.el (sql-login-params): Fix and improve :type.
4981 * emulation/edt-mapper.el: In batch mode, error rather than hang.
4983 * term.el (term-set-escape-char): Make it idempotent.
4985 2013-05-10 Leo Liu <sdl.web@gmail.com>
4987 * progmodes/octave.el (inferior-octave-completion-table):
4988 No longer a function and all uses changed. Use cache to speed up
4989 completion due to bug#11906.
4990 (octave-beginning-of-defun): Re-write to be more general.
4992 2013-05-10 Glenn Morris <rgm@gnu.org>
4994 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
4996 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4998 * comint.el (comint-redirect-send-command-to-process): Use :around
4999 rather than :override for comint-redirect-filter.
5000 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
5001 Call it instead of comint-redirect-original-filter-function (which
5002 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
5004 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
5006 * frame.el (display-monitor-attributes-list): Add NS case.
5007 (ns-display-monitor-attributes-list): Declare.
5009 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
5011 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
5013 2013-05-09 Glenn Morris <rgm@gnu.org>
5015 * international/fontset.el (vertical-centering-font-regexp):
5018 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
5020 * bookmark.el (bookmark-search-delay):
5021 * cus-start.el (vertical-centering-font-regexp):
5022 * ps-mule.el (ps-mule-font-info-database-default):
5023 * ps-print.el (ps-default-fg, ps-default-bg):
5024 * type-break.el (type-break-good-break-interval):
5025 * whitespace.el (whitespace-indentation-regexp)
5026 (whitespace-space-after-tab-regexp):
5027 * emacs-lisp/testcover.el (testcover-1value-functions)
5028 (testcover-noreturn-functions, testcover-progn-functions)
5029 (testcover-prog1-functions):
5030 * emulation/viper-init.el (viper-emacs-state-cursor-color):
5031 * eshell/em-glob.el (eshell-glob-translate-alist):
5032 * play/tetris.el (tetris-tty-colors):
5033 * progmodes/cpp.el (cpp-face-default-list):
5034 * progmodes/flymake.el (flymake-allowed-file-name-masks):
5035 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
5036 (idlwave-help-browser-generic-args):
5037 * progmodes/make-mode.el (makefile-special-targets-list):
5038 * progmodes/python.el (python-shell-virtualenv-path):
5039 * progmodes/verilog-mode.el (verilog-active-low-regexp)
5040 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
5041 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
5042 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
5043 * textmodes/reftex-vars.el (reftex-format-label-function):
5044 * textmodes/remember.el (remember-diary-file): Fix custom types.
5046 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
5049 2013-05-09 Leo Liu <sdl.web@gmail.com>
5051 * progmodes/octave.el (inferior-octave-completion-at-point):
5052 Restore file completion. (Bug#14300)
5053 (inferior-octave-startup): Fix incorrect highlighting for the
5056 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5058 * progmodes/ruby-mode.el: First cut at SMIE support.
5059 (ruby-use-smie): New var.
5060 (ruby-smie-grammar): New constant.
5061 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
5062 (ruby-smie--forward-token, ruby-smie--backward-token)
5063 (ruby-smie-rules): New functions.
5064 (ruby-mode-variables): Setup SMIE if applicable.
5066 2013-05-08 Eli Zaretskii <eliz@gnu.org>
5068 * simple.el (line-move-visual): Signal beginning/end of buffer
5069 only if vertical-motion moved less than it was requested. Avoids
5070 silly incorrect error messages when there are display strings with
5071 multiple newlines at EOL.
5073 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5075 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
5076 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
5077 (prolog-char-quote-workaround):
5078 * progmodes/cperl-mode.el (cperl-under-as-char):
5079 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
5081 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
5083 (vhdl-mode-syntax-table-init): Remove.
5085 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
5088 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
5090 (ld-script-font-lock-keywords):
5091 Change regexps to use things like \_< and \_>.
5093 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
5094 Change all regexps to use things like \_< and \_>.
5096 * progmodes/autoconf.el (autoconf-definition-regexp)
5097 (autoconf-font-lock-keywords, autoconf-current-defun-function):
5098 Handle a _ with symbol syntax.
5099 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
5101 * progmodes/ada-mode.el (ada-mode-abbrev-table):
5102 Consolidate declaration.
5103 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
5105 (ada-create-syntax-table): Remove.
5106 (ada-capitalize-word): Don't mess with the syntax of "_" since it
5107 already has the right syntax nowadays.
5108 (ada-goto-next-word): Don't change the syntax of "_".
5110 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
5113 2013-05-08 Sam Steingold <sds@gnu.org>
5115 * thingatpt.el (thing-at-point): Accept optional second argument
5116 NO-PROPERTIES to strip the text properties from the return value.
5117 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
5118 to `thing-at-point' instead of stripping the properties ourselves.
5119 Also, when `thing-at-point' fails to find a url, prepend "http://"
5120 to the filename at point on the assumption that the user is
5121 pointing at something like gnu.org/gnu.
5123 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
5125 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5126 * faces.el (crm-separator):
5127 Silence byte-compiler.
5129 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
5130 (tool-bar-map): Remove unneeded defvars.
5132 2013-05-08 Leo Liu <sdl.web@gmail.com>
5134 Re-work a fix for bug#10994 based on Le Wang's patch.
5135 * ido.el (ido-remove-consecutive-dups): New helper.
5136 (ido-completing-read): Use it.
5137 (ido-chop): Revert fix for bug#10994.
5139 2013-05-08 Adam Spiers <emacs@adamspiers.org>
5141 * cus-edit.el (custom-save-variables):
5142 Pretty-print long values. (Bug#14187)
5144 2013-05-08 Glenn Morris <rgm@gnu.org>
5146 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
5147 (m4-mode-syntax-table): Init in the defvar.
5148 (m4-mode-abbrev-table): Let define-derived-mode define it.
5150 2013-05-08 Tom Tromey <tromey@redhat.com>
5152 * progmodes/m4-mode.el (m4-mode-syntax-table):
5153 Do not treat "_" as word constituent. (Bug#14167)
5155 2013-05-07 Glenn Morris <rgm@gnu.org>
5157 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
5158 Remove explicit eshell-isearch-cancel-map.
5160 * progmodes/f90.el (f90-smart-end-names): New option.
5161 (f90-smart-end): Doc fix.
5162 (f90-end-block-optional-name): New constant.
5163 (f90-block-match): Respect f90-smart-end-names.
5165 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5167 * progmodes/octave.el (octave-smie-forward-token): Be more careful
5168 about implicit semi-colons (bug#14218).
5170 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5172 * frame.el (display-monitor-attributes-list)
5173 (frame-monitor-attributes): New functions.
5175 2013-05-06 Leo Liu <sdl.web@gmail.com>
5177 * progmodes/octave.el (octave-syntax-propertize-function): Change
5178 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
5179 (octave-font-lock-keywords): Use octave-operator-regexp.
5180 (octave-completion-at-point): Rename from
5181 octave-completion-at-point-function.
5182 (inferior-octave-directory-tracker): Robustify.
5183 (octave-text-functions): Remove and fix its uses. No such things
5186 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5188 * emacs-lisp/trace.el (trace--display-buffer): New function.
5189 (trace-make-advice): Use it.
5191 2013-05-06 Juri Linkov <juri@jurta.org>
5193 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
5194 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
5196 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
5197 in the help string. (Bug#12985)
5199 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5201 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
5203 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5205 * progmodes/perl-mode.el: Add support for here documents.
5206 (perl-syntax-propertize-function): Match here-doc markers.
5207 (perl-syntax-propertize-special-constructs): Find their end.
5208 (perl-imenu-generic-expression): Use [:alnum:].
5210 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
5211 (advice--add-function): Refresh the advice if already present
5214 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
5216 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
5218 2013-05-06 Glenn Morris <rgm@gnu.org>
5220 * w32-fns.el (w32-charset-info-alist): Declare.
5222 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
5223 of its defcustom properties.
5224 (eshell-cmpl-initialize): No need to load pcomplete.
5226 * generic-x.el: No need to require comint when compiling.
5228 * net/eudc-export.el: Make it loadable without bbdb.
5229 (top-level): Use require rather than load-library.
5230 (eudc-create-bbdb-record, eudc-bbdbify-phone)
5231 (eudc-batch-export-records-to-bbdb)
5232 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
5235 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
5237 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
5238 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
5239 some tweaks, instead.
5241 2013-05-05 Leo Liu <sdl.web@gmail.com>
5243 * progmodes/octave.el (octave-font-lock-keywords)
5244 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
5245 (inferior-octave-send-list-and-digest): Improve error message.
5246 (octave-mode, inferior-octave-mode): Use setq-local.
5247 (octave-help): Set info-lookup-mode.
5249 2013-05-05 Richard Stallman <rms@gnu.org>
5251 * vc/compare-w.el (compare-windows-whitespace):
5252 Treat no-break space as whitespace.
5254 * mail/rmailsum.el (rmail-summary-rmail-update):
5255 Detect empty summary and don't change selected message.
5256 (rmail-summary-goto-msg): Likewise.
5258 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
5259 Doc fixes, rename args.
5261 2013-05-05 Alan Mackenzie <acm@muc.de>
5263 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
5265 2013-05-05 Juri Linkov <juri@jurta.org>
5267 * info.el (Info-read-subfile): Use (point-min) instead of (point)
5268 to not add the length of the summary segment to the return value.
5271 2013-05-05 Leo Liu <sdl.web@gmail.com>
5273 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
5274 (inferior-octave-output-filter): Remove.
5275 (octave-send-region, inferior-octave-startup): Fix callers.
5276 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
5277 (octave-binary-file-extensions): New user variable.
5278 (octave-find-definition): Confirm if opening binary files.
5279 (octave-help-file): Use octave-find-definition to get the binary
5281 (octave-help): Adjust for octave-help-file change.
5283 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5285 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
5286 Merge the two entries that handle function definitions.
5287 (pascal--syntax-propertize): New const.
5288 (pascal-mode): Use it. Use setq-local.
5290 2013-05-04 Glenn Morris <rgm@gnu.org>
5292 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
5293 (diary-from-outlook): Respect diary-from-outlook-function.
5295 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5297 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
5298 Move the declaration from C.
5299 (read-minibuffer, eval-minibuffer): Move from C.
5300 (completion-setup-function): Avoid minibuffer-completion-contents.
5302 2013-05-03 Leo Liu <sdl.web@gmail.com>
5304 * progmodes/octave.el (octave-font-lock-keywords): Do not
5305 dehighlight 'end' in comments or strings.
5306 (octave-completing-read, octave-goto-function-definition):
5308 (octave-help-buffer): New user variable.
5309 (octave-help-file, octave-help-function): New button types.
5310 (octave-help): New command and bind it to C-h ;.
5311 (octave-find-definition): New command and bind it to M-.
5312 (user-error): Alias to error if not defined.
5314 2013-05-02 Leo Liu <sdl.web@gmail.com>
5316 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
5318 (octave-font-lock-keywords): Include [ and {.
5320 2013-05-02 Leo Liu <sdl.web@gmail.com>
5322 * progmodes/octave.el (inferior-octave-startup-file): Change default.
5323 (inferior-octave): Remove calling comint-mode and return the buffer.
5324 (inferior-octave-startup): Cosmetic changes.
5326 2013-05-02 Leo Liu <sdl.web@gmail.com>
5328 * progmodes/octave.el (octave-syntax-propertize-function):
5329 Include the case when ' is at line beginning. (Bug#14336)
5331 2013-05-02 Glenn Morris <rgm@gnu.org>
5333 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
5334 * desktop.el (vc-dir-mode): Just autoload it here.
5336 2013-05-02 Alan Mackenzie <acm@muc.de>
5338 Eliminate variable c-standard-font-lock-fontify-region-function.
5339 * progmodes/cc-mode.el
5340 (c-standard-font-lock-fontify-region-function): Remove.
5341 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
5343 2013-05-01 Leo Liu <sdl.web@gmail.com>
5345 * progmodes/octave.el: Compatible with older emacs-24 releases.
5346 (inferior-octave-has-built-in-variables): Remove. Built-in
5347 variables were removed from Octave in 2007.
5348 (inferior-octave-startup): Fix uses.
5349 (comint-line-beginning-position): Remove compatibility code for
5352 2013-05-01 Juri Linkov <juri@jurta.org>
5354 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
5356 2013-05-01 Juri Linkov <juri@jurta.org>
5358 * comint.el (comint-previous-matching-input): Don't print message
5359 "History item: %d" when `isearch-mode' is active.
5360 (comint-history-isearch-message): Print message "History item: %d"
5361 when `comint-input-ring-index' is not empty and this function is
5362 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
5364 2013-05-01 Leo Liu <sdl.web@gmail.com>
5366 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
5367 definitions. Use completion-at-point to insert keywords.
5368 (octave-abbrev-start): Remove.
5369 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
5371 2013-04-30 Leo Liu <sdl.web@gmail.com>
5373 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
5376 2013-04-30 Alan Mackenzie <acm@muc.de>
5378 Handle arbitrarily long C++ member initialisation lists.
5379 * progmodes/cc-engine.el (c-back-over-member-initializers):
5381 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
5382 (most) member init lists.
5384 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5386 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
5389 2013-04-30 Leo Liu <sdl.web@gmail.com>
5391 * progmodes/octave.el (octave-variables): Remove. No builtin
5392 variables any more. All converted to functions.
5393 (octave-font-lock-keywords, octave-completion-at-point-function):
5395 (octave-font-lock-texinfo-comment): New user variable.
5396 (octave-texinfo-font-lock-keywords): New variable for texinfo
5398 (octave-function-comment-block): New face.
5399 (octave-font-lock-texinfo-comment): New function.
5400 (octave-mode): Font lock texinfo comment block.
5402 2013-04-29 Leo Liu <sdl.web@gmail.com>
5404 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
5405 indexing expression.
5406 (octave-continuation-string): Do not use \.
5407 (inferior-octave-complete-impossible): Remove.
5408 (inferior-octave-completion-table)
5409 (inferior-octave-completion-at-point): Remove its uses.
5410 (inferior-octave-startup): completion_matches was introduced to
5411 Octave in 1996 so safe to assume it.
5412 (octave-function-file-comment): Improve to follow how Octave does it.
5413 (octave-update-function-file-comment): Tweak.
5415 2013-04-29 Leo Liu <sdl.web@gmail.com>
5417 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
5418 (inferior-octave-startup): Remove inferior-octave-startup-hook.
5419 (octave-function-file-comment): Fix typo.
5420 (octave-sync-function-file-names): Use read-char-choice.
5422 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
5424 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
5425 to t for the less important warnings.
5427 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
5429 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
5431 2013-04-27 Glenn Morris <rgm@gnu.org>
5433 * vc/log-view.el (log-view-current-entry):
5434 Treat "---" separator lines as part of the following rev. (Bug#14169)
5436 2013-04-27 Juri Linkov <juri@jurta.org>
5438 * subr.el (read-number): Doc fix about using it by interactive
5439 code letter `n'. (Bug#14254)
5441 2013-04-27 Juri Linkov <juri@jurta.org>
5443 * desktop.el (desktop-auto-save-timeout): New option.
5444 (desktop-file-checksum): New variable.
5445 (desktop-save): Add optional arg `auto-save' and don't auto-save
5447 (desktop-auto-save-timer): New variable.
5448 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
5449 (after-init-hook): Call `desktop-auto-save-set-timer'.
5450 Suggested by Reuben Thomas <rrt@sc3d.org> in
5451 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
5453 2013-04-27 Leo Liu <sdl.web@gmail.com>
5455 * progmodes/octave.el (octave-function-file-p)
5456 (octave-skip-comment-forward, octave-function-file-comment)
5457 (octave-update-function-file-comment): New functions.
5458 (octave-mode-map): Bind C-c ; to
5459 octave-update-function-file-comment.
5460 (octave-mode-menu): Add octave-update-function-file-comment.
5461 (octave-mode, inferior-octave-mode): Fix doc-string.
5462 (octave-insert-defun): Conform to Octave's coding convention.
5465 * files.el (basic-save-buffer): Don't let errors in
5466 before-save-hook prevent saving buffer.
5468 2013-04-20 Roland Winkler <winkler@gnu.org>
5470 * faces.el (read-face-name): Use completing-read if arg multiple
5473 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
5475 * ls-lisp.el (ls-lisp-insert-directory): If no files are
5476 displayed, move point to after the totals line.
5477 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
5480 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5482 * emacs-lisp/package.el (package-autoload-ensure-default-file):
5483 Add current dir to the load-path.
5484 (package-generate-autoloads): Don't rely on
5485 autoload-ensure-default-file.
5487 2013-04-26 Reuben Thomas <rrt@sc3d.org>
5489 * textmodes/remember.el (remember-store-in-files): Document that
5490 the file name format is passed to `format-time-string'.
5492 2013-04-26 Leo Liu <sdl.web@gmail.com>
5494 * progmodes/octave.el (octave-sync-function-file-names): New function.
5495 (octave-mode): Use it in before-save-hook.
5497 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5499 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
5502 * progmodes/octave.el (octave-smie-forward-token): Properly skip
5503 \n and comment, even if it's not an implicit ; (bug#14218).
5505 2013-04-26 Glenn Morris <rgm@gnu.org>
5507 * subr.el (read-number): Once more use `read' rather than
5508 `string-to-number', to trap non-numeric input. (Bug#14254)
5510 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
5512 * emacs-lisp/syntax.el (syntax-propertize-multiline):
5513 Use `syntax-multiline' text property consistently instead of
5514 `font-lock-multiline'. (Bug#14237)
5516 2013-04-26 Glenn Morris <rgm@gnu.org>
5518 * emacs-lisp/shadow.el (list-load-path-shadows):
5519 No longer necessary to check for duplicate simple.el, since
5520 2012-07-07 change to init_lread to not include installation lisp
5521 directories in load-path when running uninstalled. (Bug#14270)
5523 2013-04-26 Leo Liu <sdl.web@gmail.com>
5525 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
5526 (octave-mode, inferior-octave-mode): Use setq-local.
5527 (octave-not-in-string-or-comment-p): Rename to
5528 octave-in-string-or-comment-p.
5529 (octave-in-comment-p, octave-in-string-p)
5530 (octave-in-string-or-comment-p): Replace defsubst with defun.
5532 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
5534 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
5536 2013-04-25 Bastien Guerry <bzg@gnu.org>
5538 * textmodes/remember.el (remember-data-directory)
5539 (remember-directory-file-name-format): Fix custom types.
5541 2013-04-25 Leo Liu <sdl.web@gmail.com>
5543 * progmodes/octave.el (octave-completion-at-point-function):
5544 Make use of inferior octave process.
5545 (octave-initialize-completions): Remove.
5546 (inferior-octave-completion-table): New function.
5547 (inferior-octave-completion-at-point): Use it.
5548 (octave-completion-alist): Remove.
5550 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5552 * progmodes/opascal.el: Use font-lock and syntax-propertize.
5553 (opascal-mode-syntax-table): New var.
5554 (opascal-literal-kind, opascal-is-literal-end)
5555 (opascal-literal-token-at): Rewrite.
5556 (opascal--literal-start-re, opascal-font-lock-keywords)
5557 (opascal--syntax-propertize): New constants.
5558 (opascal-font-lock-defaults): Adjust.
5559 (opascal-mode): Use them. Set comment-<foo> variables as well.
5560 (delphi-comment-face, opascal-comment-face, delphi-string-face)
5561 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
5562 (delphi-other-face, opascal-other-face): Remove face variables.
5563 (opascal-save-state): Remove macro.
5564 (opascal-fontifying-progress-step): Remove constant.
5565 (opascal--ignore-changes): Remove var.
5566 (opascal-set-token-property, opascal-parse-next-literal)
5567 (opascal-is-stable-literal, opascal-complete-literal)
5568 (opascal-is-literal-start, opascal-face-of)
5569 (opascal-parse-region, opascal-parse-region-until-stable)
5570 (opascal-fontify-region, opascal-after-change)
5571 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
5572 (opascal-debug-parse-region, opascal-debug-parse-window)
5573 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
5574 (opascal-debug-fontify-buffer): Remove.
5575 (opascal-debug-mode-map): Adjust accordingly.
5577 2013-04-25 Leo Liu <sdl.web@gmail.com>
5579 Merge octave-mod.el and octave-inf.el into octave.el with some
5581 * progmodes/octave.el: New file renamed from octave-mod.el.
5582 * progmodes/octave-inf.el: Merged into octave.el.
5583 * progmodes/octave-mod.el: Renamed to octave.el.
5585 2013-04-25 Tassilo Horn <tsdh@gnu.org>
5587 * textmodes/reftex-vars.el
5588 (reftex-label-ignored-macros-and-environments): New defcustom.
5590 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
5592 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5594 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
5595 (smie-indent-keyword): Improve the check to ensure that the next
5596 comment is really on the same line.
5597 (smie-indent-comment): Don't align with a subsequent closer (or eob).
5599 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
5600 semi-colons if the line is not otherwise empty (bug#14218).
5602 2013-04-25 Glenn Morris <rgm@gnu.org>
5604 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
5606 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
5608 * progmodes/opascal.el (opascal-set-token-property): Rename from
5609 opascal-set-text-properties and only set `token' (bug#14134).
5610 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
5611 (opascal-literal-text-properties): Remove.
5612 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
5615 2013-04-24 Reuben Thomas <rrt@sc3d.org>
5617 * textmodes/remember.el (remember-handler-functions): Add an
5618 option for a new handler `remember-store-in-files'.
5619 (remember-data-directory, remember-directory-file-name-format):
5621 (remember-store-in-files): New function to store remember notes
5622 as separate files within a directory.
5624 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
5626 * progmodes/compile.el (compilation-next-error-function):
5627 Pass "formats" to compilation-find-file (bug#11777).
5629 2013-04-24 Glenn Morris <rgm@gnu.org>
5631 * vc/vc-bzr.el (vc-bzr-print-log):
5632 * vc/vc-hg.el (vc-hg-print-log):
5633 * vc/vc-svn.el (vc-svn-print-log):
5634 Fix START-REVISION with LIMIT != 1. (Bug#14168)
5636 * vc/vc-bzr.el (vc-bzr-print-log):
5637 * vc/vc-cvs.el (vc-cvs-print-log):
5638 * vc/vc-git.el (vc-git-print-log):
5639 * vc/vc-hg.el (vc-hg-print-log):
5640 * vc/vc-mtn.el (vc-mtn-print-log):
5641 * vc/vc-rcs.el (vc-rcs-print-log):
5642 * vc/vc-sccs.el (vc-sccs-print-log):
5643 * vc/vc-svn.el (vc-svn-print-log):
5644 * vc/vc.el (vc-print-log-internal): Doc fixes.
5646 2013-04-23 Glenn Morris <rgm@gnu.org>
5648 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
5649 Remove venerable code attempting to avoid substitute-command-keys.
5651 2013-04-23 Tassilo Horn <tsdh@gnu.org>
5653 * textmodes/reftex-vars.el (reftex-label-regexps):
5654 Call `reftex-compile-variables' after changes to this variable.
5656 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
5658 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
5659 Use lexical-binding.
5660 (jit-lock-force-redisplay): Use markers, check buffer's continued
5661 existence and beware narrowed buffers.
5662 (jit-lock-fontify-now): Adjust call accordingly.
5664 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
5666 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
5667 to avoid misleading the user.
5669 2013-04-22 Leo Liu <sdl.web@gmail.com>
5671 * info-look.el: Prefer latex2e.info. (Bug#14240)
5673 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
5675 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
5677 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
5678 * net/tramp.el (tramp-call-process): ... here.
5679 (tramp-set-completion-function, tramp-parse-putty):
5680 * net/tramp-adb.el (tramp-adb-execute-adb-command):
5681 * net/tramp-gvfs.el (tramp-gvfs-send-command):
5682 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5683 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
5684 (tramp-call-local-coding-command): Use `tramp-call-process'
5685 instead of `tramp-compat-call-process'.
5687 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
5688 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
5689 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
5690 (tramp-find-inline-compress): Improve traces.
5691 (tramp-maybe-send-script): Check for Perl binary.
5692 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
5694 2013-04-22 Daiki Ueno <ueno@gnu.org>
5696 * epg.el (epg-context-pinentry-mode): New function.
5697 (epg-context-set-pinentry-mode): New function.
5698 (epg--start): Pass --pinentry-mode option to gpg command.
5700 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
5702 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5703 `comint-dynamic-complete' is obsolete since 24.1, replaced by
5704 `completion-at-point'. (Bug#13774)
5706 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
5707 default key binding for `describe-distribution' has been moved to
5708 `C-h C-o'. (Bug#13970)
5710 2013-04-21 Glenn Morris <rgm@gnu.org>
5712 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
5714 (vc-print-log): Clarify interactive prompt.
5716 2013-04-20 Glenn Morris <rgm@gnu.org>
5718 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5719 No longer include timestamp etc information.
5721 2013-04-20 Roland Winkler <winkler@gnu.org>
5723 * faces.el (read-face-name): Bug fix, return just one face if arg
5724 multiple is nil. (Bug#14209)
5726 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5728 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
5729 (remove-function): Autoload.
5731 * comint.el (comint-redirect-original-filter-function): Remove.
5732 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
5733 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
5734 (vc-cvs-annotate-command):
5735 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
5736 * progmodes/prolog.el (prolog-consult-compile):
5737 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
5738 Use add/remove-function instead.
5739 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
5740 (gud-tooltip-process-output, gud-tooltip-tips):
5741 Use add/remove-function instead.
5742 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
5743 (scheme-interaction-mode, exit-scheme-interaction-mode):
5744 Use add/remove-function instead.
5746 * vc/vc-dispatcher.el: Use lexical-binding.
5747 (vc--process-sentinel): Rename from vc-process-sentinel.
5748 Change last arg to be the code to run. Don't use vc-previous-sentinel
5749 and vc-sentinel-commands any more.
5750 (vc-exec-after): Allow code to be a function. Use add/remove-function.
5751 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
5753 2013-04-19 Masatake YAMATO <yamato@redhat.com>
5755 * progmodes/sh-script.el (sh-imenu-generic-expression):
5756 Handle function names with a single character. (Bug#14111)
5758 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
5760 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
5761 for subroutines defined in an eval (bug#14182).
5763 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5765 * bookmark.el (bookmark-completing-read): Improve handling of empty
5768 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5770 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
5772 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
5774 New faster Imenu implementation (bug#14058).
5775 * progmodes/python.el:
5776 (python-imenu-prev-index-position):
5777 (python-imenu-format-item-label-function)
5778 (python-imenu-format-parent-item-label-function)
5779 (python-imenu-format-parent-item-jump-label-function):
5781 (python-imenu-format-item-label)
5782 (python-imenu-format-parent-item-label)
5783 (python-imenu-format-parent-item-jump-label)
5784 (python-imenu--put-parent, python-imenu--build-tree)
5785 (python-imenu-create-index, python-imenu-create-flat-index)
5786 (python-util-popn): New functions.
5787 (python-mode): Set imenu-create-index-function to
5788 python-imenu-create-index.
5790 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5792 * winner.el (winner-active-region): Use region-active-p, activate-mark
5793 and deactivate-mark (bug#14225).
5795 * simple.el (deactivate-mark): Don't inline it.
5797 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
5799 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
5801 2013-04-18 Tassilo Horn <tsdh@gnu.org>
5803 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
5804 file extensions from the archive-mode entry in order to prefer
5805 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
5807 2013-04-18 Leo Liu <sdl.web@gmail.com>
5809 * bindings.el (help-event-list): Add ?\?.
5811 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5813 * subr.el (with-wrapper-hook): Declare obsolete.
5814 * simple.el (filter-buffer-substring-function): New hook.
5815 (filter-buffer-substring): Use it.
5816 (filter-buffer-substring-functions): Mark obsolete.
5817 * minibuffer.el (completion-in-region-function): New hook.
5818 (completion-in-region): Use it.
5819 (completion-in-region-functions): Mark obsolete.
5820 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
5821 * abbrev.el (abbrev-expand-function): New hook.
5822 (expand-abbrev): Use it.
5823 (abbrev-expand-functions): Mark obsolete.
5824 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
5827 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5829 * progmodes/python.el (python-nav--syntactically): Fix cornercases
5830 and do not care about match data.
5832 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5834 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
5835 completion tables when completing error conditions and
5836 `declare' arguments.
5837 (lisp-complete-symbol, field-complete): Mark as obsolete.
5838 (check-parens): Unmatched parens are user errors.
5839 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
5841 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
5843 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
5844 command changed buffer (ie. `flyspell-pre-buffer' is not current
5845 buffer), which prevents making decisions based on invalid value of
5846 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
5847 cause an error when `flyspell-pre-point' was nil after switching
5849 (flyspell-post-command-hook): No longer needs to change buffers when
5850 checking pre-word. While at it remove unnecessary progn.
5852 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
5854 * textmodes/ispell.el (ispell-add-per-file-word-list):
5855 Fix `flyspell-correct-word-before-point' error when accepting
5856 words and `coment-padding' is an integer by using
5857 `comment-normalize-vars' (Bug #14214).
5859 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5861 New defun movement commands.
5862 * progmodes/python.el (python-nav--syntactically)
5863 (python-nav--forward-defun, python-nav-backward-defun)
5864 (python-nav-forward-defun): New functions.
5866 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
5868 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
5869 (python-syntax-context): Use named compiler-macro for backwards
5870 compatibility with Emacs 24.x.
5872 2013-04-17 Leo Liu <sdl.web@gmail.com>
5874 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
5875 octave-hide-process-buffer.
5877 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
5879 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
5882 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
5884 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
5885 Fix adjustment of offset when receiving incomplete responses from GDB
5888 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5890 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
5891 python-mode-abbrev-table.
5892 (python-skeleton-define): Adjust accordingly.
5893 (python-mode-abbrev-table): New table that inherits from it so that
5894 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
5896 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
5897 (abbrev-symbol): Use it.
5898 (abbrev--before-point): Use it since we already handle inheritance.
5900 2013-04-16 Leo Liu <sdl.web@gmail.com>
5902 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
5903 binding to info-lookup-symbol.
5905 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
5907 * minibuffer.el (completion--twq-all):
5908 * term/ns-win.el (ns-initialize-window-system):
5909 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
5911 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
5913 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
5916 * doc-view.el (doc-view-start-process): Handle url-handler directories.
5918 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
5920 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
5921 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
5923 (ruby-end-of-defun): Remove the unused arg, change the docstring
5924 to reflect that this function is only used as the value of
5925 `end-of-defun-function'.
5926 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
5927 to reflect an earlier change that beginning/end-of-defun functions
5928 jump between methods in a class definition, as well as top-level
5931 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5933 * minibuffer.el (minibuffer-complete): Don't just scroll
5934 a *Completions* that's been iconified.
5935 (minibuffer-force-complete): Make sure repetitions do cycle when going
5936 through completion-in-region -> minibuffer-complete.
5938 2013-04-15 Alan Mackenzie <acm@muc.de>
5940 Correct the placement of c-cpp-delimiters when there're #s not at
5943 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
5944 place a submatch around the #.
5945 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
5946 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
5949 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5951 * emacs-lisp/nadvice.el: Properly test names when adding advice.
5952 (advice--member-p): New arg `name'.
5953 (advice--add-function, advice-member-p): Use it (bug#14202).
5955 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
5957 Reformulate java imenu-generic-expression.
5958 The old expression contained ill formed regexps.
5960 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
5961 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
5962 (cc-imenu-java-method-arg-regexp): New defconsts.
5963 (cc-imenu-java-build-type-args-regex): New defun.
5964 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
5965 handling of spaces in the regexp.
5967 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5969 * textmodes/ispell.el (ispell-command-loop): Remove
5970 flyspell highlight of a word when ispell accepts it (bug #14178).
5972 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
5974 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
5975 uses code from the previous `ange-ftp-run-real-handler'.
5976 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
5977 only in case that function exist. This is needed for proper
5980 2013-04-15 Tassilo Horn <tsdh@gnu.org>
5982 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
5984 * textmodes/reftex.el (reftex-compile-variables): Use it.
5986 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5988 * files.el (normal-mode): Only use default major-mode if no other mode
5991 * emacs-lisp/trace.el (trace-values): New function.
5993 * files.el: Allow : in local variables (bug#14089).
5994 (hack-local-variable-regexp): New var.
5995 (hack-local-variables-prop-line, hack-local-variables): Use it.
5997 2013-04-13 Roland Winkler <winkler@gnu.org>
5999 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
6000 data before it gets modified by bibtex-beginning-of-entry.
6002 2013-04-13 Roland Winkler <winkler@gnu.org>
6004 * textmodes/bibtex.el (bibtex-url): Doc fix.
6006 2013-04-13 Roland Winkler <winkler@gnu.org>
6008 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
6009 does not visit a BibTeX file, exclude it from the list of buffers
6010 returned by bibtex-initialize.
6012 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
6014 * window.el (split-window): Remove interactive form, since as a
6015 command this function is a special case of split-window-below.
6018 2013-04-12 Roland Winkler <winkler@gnu.org>
6020 * faces.el (read-face-name): Do not override value of arg default.
6021 Allow single faces and strings as default values. Remove those
6022 elements from return value that are not faces.
6023 (describe-face): Simplify.
6024 (face-at-point): New optional args thing and multiple so that this
6025 function can provide the same functionality previously provided by
6027 (make-face-bold, make-face-unbold, make-face-italic)
6028 (make-face-unitalic, make-face-bold-italic, invert-face)
6029 (modify-face, read-face-and-attribute): Use face-at-point.
6031 * cus-edit.el (customize-face, customize-face-other-window)
6032 * cus-theme.el (custom-theme-add-face)
6033 * face-remap.el (buffer-face-set)
6034 * facemenu.el (facemenu-set-face): Use face-at-point.
6036 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
6038 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
6040 2013-04-10 Tassilo Horn <tsdh@gnu.org>
6042 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
6043 off leading { and trailing } from field values.
6045 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6047 * emacs-lisp/timer.el (timer--check): New function.
6048 (timer--time, timer-set-function, timer-event-handler): Use it.
6049 (timer-set-idle-time): Simplify.
6050 (timer--activate): CSE.
6051 (timer-event-handler): Give more info in error message.
6052 (internal-timer-start-idle): New function, moved from C.
6054 * mpc.el (mpc-proc): Add `restart' argument.
6055 (mpc-proc-cmd): Use it.
6056 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
6057 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
6060 2013-04-10 Masatake YAMATO <yamato@redhat.com>
6062 * progmodes/sh-script.el: Implement `sh-mode' own
6063 `add-log-current-defun-function' (bug#14112).
6064 (sh-current-defun-name): New function.
6065 (sh-mode): Use the function.
6067 2013-04-09 Bastien Guerry <bzg@gnu.org>
6069 * simple.el (choose-completion-string): Fix docstring (bug#14163).
6071 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
6073 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
6075 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
6078 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
6080 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
6083 2013-04-07 Leo Liu <sdl.web@gmail.com>
6085 * pcmpl-x.el: New file.
6087 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
6089 Do not set x-display-name until X connection is established.
6090 This is needed to prevent from weird situation described at
6091 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
6092 * frame.el (make-frame): Set x-display-name after call to
6093 window system initialization function, not before.
6094 * term/x-win.el (x-initialize-window-system): Add optional
6095 display argument and use it.
6096 * term/w32-win.el (w32-initialize-window-system):
6097 * term/ns-win.el (ns-initialize-window-system):
6098 * term/pc-win.el (msdos-initialize-window-system):
6099 Add compatible optional display argument.
6101 2013-04-06 Eli Zaretskii <eliz@gnu.org>
6103 * files.el (normal-backup-enable-predicate): On MS-Windows and
6104 MS-DOS compare truenames of temporary-file-directory and of the
6105 file, so that 8+3 aliases (usually found in $TEMP on Windows)
6106 don't fail comparison by compare-strings. Also, compare file
6107 names case-insensitively on MS-Windows and MS-DOS.
6109 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6111 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
6112 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
6114 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
6116 * whitespace.el (whitespace-color-on, whitespace-color-off):
6117 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
6119 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
6121 * ispell.el (ispell-set-spellchecker-params):
6122 Really set `ispell-args' for all equivs.
6124 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6126 * ido.el (ido-completions): Use extra elements of ido-decorations
6128 (ido-decorations): Update docstring.
6130 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
6132 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6133 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
6134 nil during initialization, in order not to miss changes since the
6135 file was opened. (Bug#14140)
6137 2013-04-05 Leo Liu <sdl.web@gmail.com>
6139 * kmacro.el (kmacro-call-macro): Fix bug#14135.
6141 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
6143 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
6145 2013-04-04 Glenn Morris <rgm@gnu.org>
6147 * electric.el (electric-pair-inhibit-predicate): Add :version.
6149 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6151 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
6152 when a package is required several times (bug#14082).
6154 2013-04-04 Roland Winkler <winkler@gnu.org>
6156 * faces.el (read-face-name): Behave as promised by the docstring.
6157 Assume that arg default is a list of faces.
6158 (describe-face): Call read-face-name with list of default faces.
6160 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6162 * bookmark.el: Fix deletion of bookmarks (bug#13972).
6163 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
6164 (bookmark-bmenu-execute-deletions): Only skip first line if it's
6166 (bookmark-exit-hook-internal): Save even if list is empty.
6168 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
6170 * emacs-lisp/package.el (package-pinned-packages): New var.
6171 (package--add-to-archive-contents): Obey it (bug#14118).
6173 2013-04-03 Alan Mackenzie <acm@muc.de>
6175 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
6176 Also adapt to the new values of element 7 of a parse state.
6178 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
6179 parameter `not-in-delimiter'. Handle being inside comment opener.
6180 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
6181 character in case we're typing a '*' after a '/'.
6182 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
6183 instead by passing the parameter to c-state-pp-to-literal.
6185 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
6186 for elt. 7 of a parse state.
6188 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
6190 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
6191 * international/latin1-disp.el, international/mule-util.el:
6192 * language/cyril-util.el, language/european.el, language/ind-util.el:
6193 * language/lao-util.el, language/thai.el, language/tibet-util.el:
6194 * language/tibetan.el, language/viet-util.el:
6195 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
6197 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6199 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
6200 (electric-pair-post-self-insert-function): Use it.
6201 (electric-pair-default-inhibit): New function, extracted from
6202 electric-pair-post-self-insert-function.
6204 2013-03-31 Roland Winkler <winkler@gnu.org>
6206 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
6208 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6210 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
6212 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
6214 Un-indent after "pass" and "return" statements (Bug#13888)
6215 * progmodes/python.el (python-indent-block-enders): New var.
6216 (python-indent-calculate-indentation): Use it.
6218 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
6220 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
6221 defun. Defining it as defalias could introduce too eager
6222 byte-compiler optimization. (Bug#14030)
6224 2013-03-30 Chong Yidong <cyd@gnu.org>
6226 * iswitchb.el (iswitchb-read-buffer): Fix typo.
6228 2013-03-30 Leo Liu <sdl.web@gmail.com>
6230 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
6231 (kmacro-execute-from-register): Pass the keyboard macro to
6232 kmacro-call-macro or repeating won't work correctly.
6234 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
6236 * progmodes/subword.el: Back to using `forward-symbol'.
6238 * subr.el (forward-whitespace, forward-symbol)
6239 (forward-same-syntax): Move from thingatpt.el.
6241 2013-03-29 Leo Liu <sdl.web@gmail.com>
6243 * kmacro.el (kmacro-to-register): New command.
6244 (kmacro-execute-from-register): New function.
6245 (kmacro-keymap): Bind to 'x'. (Bug#14071)
6247 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
6249 * mpc.el: Use defvar-local and setq-local.
6250 (mpc--proc-connect): Connection failures are not bugs.
6251 (mpc-mode-map): `follow-link' only applies to the buffer's content.
6252 (mpc-volume-map): Bind to the up-events.
6254 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
6256 * progmodes/subword.el (superword-mode): Use `forward-sexp'
6257 instead of `forward-symbol'.
6259 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
6261 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
6262 (edebug--recursive-edit): Use it.
6263 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
6264 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
6266 2013-03-28 Leo Liu <sdl.web@gmail.com>
6268 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
6270 2013-03-27 Eli Zaretskii <eliz@gnu.org>
6272 * facemenu.el (list-colors-callback): New defvar.
6273 (list-colors-redisplay): New function.
6274 (list-colors-display): Install list-colors-redisplay as the
6275 revert-buffer-function. (Bug#14063)
6277 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
6279 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
6280 and suffixes don't overlap (bug#14061).
6282 * case-table.el: Use lexical-binding.
6283 (case-table-get-table): New function.
6284 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
6286 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
6288 * progmodes/subword.el: Add `superword-mode' to do word motion
6289 over symbol_words (parallels and leverages `subword-mode' which
6290 does word motion inside MixedCaseWords).
6292 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
6294 * eshell/em-unix.el: Move su and sudo to...
6295 * eshell/em-tramp.el: ...Eshell tramp module.
6297 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6299 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
6300 Change return value to be a sexp. Delay `get-buffer' to after
6301 restoring the desktop (bug#13951).
6303 2013-03-26 Leo Liu <sdl.web@gmail.com>
6305 * register.el: Move semantic tag handling back to
6306 cedet/semantic/senator.el. (Bug#14052)
6308 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
6310 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
6311 into the prompt either (bug#13963).
6313 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
6315 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
6316 part of "(error-foo)".
6318 2013-03-24 Juri Linkov <juri@jurta.org>
6320 * replace.el (list-matching-lines-prefix-face): New defcustom.
6321 (occur-1): Pass `list-matching-lines-prefix-face' to the function
6322 `occur-engine' if `face-differs-from-default-p' returns t.
6323 (occur-engine): Add `,' inside backquote construct to evaluate
6324 `prefix-face'. Propertize the prefix with the `prefix-face' face.
6325 Pass `prefix-face' to the functions `occur-context-lines' and
6326 `occur-engine-add-prefix'.
6327 (occur-engine-add-prefix, occur-context-lines): Add optional arg
6328 `prefix-face' and propertize the prefix with `prefix-face'.
6331 2013-03-24 Leo Liu <sdl.web@gmail.com>
6333 * nxml/rng-valid.el (rng-validate-while-idle)
6334 (rng-validate-quick-while-idle): Guard against deleted buffer.
6337 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
6338 is the last entry in kill-buffer-hook.
6340 * files.el (kill-buffer-hook): Doc fix.
6342 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
6344 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
6347 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
6349 2013-03-23 Leo Liu <sdl.web@gmail.com>
6351 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
6354 * nxml/rng-valid.el (rng-validate-mode)
6355 (rng-after-change-function, rng-do-some-validation):
6356 * nxml/rng-maint.el (rng-validate-buffer):
6357 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
6358 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
6359 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
6360 (nxml-extend-after-change-region): Use with-silent-modifications.
6362 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
6365 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
6366 (rng-next-error-1, rng-previous-error-1): Do not let-bind
6367 timer-idle-list. (Bug#13999)
6369 2013-03-23 Juri Linkov <juri@jurta.org>
6371 * info.el (info-index-match): New face.
6372 (Info-index, Info-apropos-matches): Add a nested subgroup to the
6373 main pattern and add text properties with the new face to matches
6374 in index entries relative to the beginning of the index entry.
6377 2013-03-21 Eric Ludlam <zappo@gnu.org>
6379 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
6380 Inhibit read only while inserting objects.
6382 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
6384 * progmodes/cfengine.el: Update docs to mention
6385 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
6386 symbol motion. Remove "_" from the word syntax.
6388 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
6390 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
6391 syntax for both `cfengine2-mode' and `cfengine3-mode'.
6393 2013-03-20 Juri Linkov <juri@jurta.org>
6395 * info.el (Info-next-reference-or-link)
6396 (Info-prev-reference-or-link): New functions.
6397 (Info-next-reference, Info-prev-reference): Use them.
6398 (Info-try-follow-nearest-node): Handle footnote navigation.
6399 (Info-fontify-node): Fontify footnotes. (Bug#13989)
6401 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6403 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
6404 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
6406 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
6408 Suppress unnecessary non-ASCII chatter during build process.
6409 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
6410 (batch-skkdic-convert): Suppress most of the chatter.
6411 It's not needed so much now that machines are faster,
6412 and its non-ASCII component was confusing; see Dmitry Gutov in
6413 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
6415 2013-03-20 Leo Liu <sdl.web@gmail.com>
6417 * ido.el (ido-chop): Fix bug#10994.
6419 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6421 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
6423 (whitespace-color-on, whitespace-color-off):
6424 Use `font-lock-fontify-buffer' (Bug#13817).
6426 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6428 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
6429 remapping in mode-line.
6430 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
6432 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
6434 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
6435 value for `whitespace-line' face (Bug#13875).
6436 (whitespace-font-lock-keywords): Change description.
6437 (whitespace-color-on): Don't save `font-lock-keywords' value, save
6438 the constructed keywords instead.
6439 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
6441 2013-03-19 Leo Liu <sdl.web@gmail.com>
6443 * progmodes/compile.el (compilation-display-error): New command.
6444 (compilation-mode-map, compilation-minor-mode-map): Bind it to
6447 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6449 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
6451 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
6453 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
6455 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
6457 * net/tramp-compat.el (tramp-compat-user-error): New defun.
6459 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6460 * net/tramp-gvfs.el (top):
6461 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
6462 (tramp-handle-shell-command): Use it.
6463 (tramp-dissect-file-name): Raise an error when hostname is a
6464 method name, and neither method nor user is specified.
6466 * net/trampver.el: Update release number.
6468 2013-03-18 Leo Liu <sdl.web@gmail.com>
6470 Make sure eldoc can be turned off properly.
6471 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
6473 (eldoc-display-message-p): Revert last change.
6474 (eldoc-display-message-no-interference-p)
6475 (eldoc-print-current-symbol-info): Tweak.
6477 2013-03-18 Tassilo Horn <tsdh@gnu.org>
6479 * doc-view.el (doc-view-new-window-function): Check the new window
6480 overlay's display property instead the char property of the
6481 buffer's first char. Use `with-selected-window' instead of
6482 `save-window-excursion' with `select-window'.
6483 (doc-view-document->bitmap): Check the current doc-view overlay's
6484 display property instead the char property of the buffer's first char.
6486 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
6488 Automate the build of ja-dic.el (Bug#13984).
6489 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
6490 from the input, rather than assume that it's been done for us by the
6491 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
6492 the current date into a ja-dic.el comment, as that complicates
6495 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6497 * whitespace.el: Fix double evaluation.
6498 (whitespace-space, whitespace-hspace, whitespace-tab)
6499 (whitespace-newline, whitespace-trailing, whitespace-line)
6500 (whitespace-space-before-tab, whitespace-indentation)
6501 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
6503 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
6504 (whitespace-color-on): Use a single font-lock-add-keywords call.
6505 Fix double-evaluation of face variables.
6507 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
6509 * net/tramp-adb.el (tramp-adb-parse-device-names):
6510 Use `start-process' instead of `call-process'. Otherwise, the
6511 function might be blocked under MS Windows. (Bug#13299)
6513 2013-03-17 Leo Liu <sdl.web@gmail.com>
6515 Extend eldoc to display info in the mode-line. (Bug#13978)
6516 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
6517 (eldoc-mode-line-string): New variable.
6518 (eldoc-minibuffer-message): New function.
6519 (eldoc-message-function): New variable.
6520 (eldoc-message): Use it.
6521 (eldoc-display-message-p)
6522 (eldoc-display-message-no-interference-p):
6523 Support eldoc-post-insert-mode.
6525 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
6526 (eval-expression): Run it.
6528 2013-03-17 Roland Winkler <winkler@gnu.org>
6530 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
6531 strings in the list of return values.
6533 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6535 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
6536 radix before checking for HMS forms.
6538 2013-03-16 Leo Liu <sdl.web@gmail.com>
6540 * progmodes/scheme.el: Add indentation and font-locking for λ.
6543 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
6545 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
6546 token before point (bug#13942).
6548 2013-03-16 Leo Liu <sdl.web@gmail.com>
6550 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
6552 2013-03-16 Eli Zaretskii <eliz@gnu.org>
6554 * startup.el (command-line-normalize-file-name): Fix handling of
6555 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
6556 <xfq.free@gmail.com> in
6557 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
6559 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
6561 Sync with Tramp 2.2.7.
6563 * net/trampver.el: Update release number.
6565 2013-03-14 Tassilo Horn <tsdh@gnu.org>
6567 * doc-view.el Fix bug#13887.
6568 (doc-view-insert-image): Don't modify overlay associated to
6569 non-live windows, and implement horizontal centering of image in
6570 case it's smaller than the window.
6571 (doc-view-new-window-function): Force redisplay of new windows on
6574 2013-03-13 Karl Fogel <kfogel@red-bean.com>
6576 * saveplace.el (save-place-alist-to-file): Don't sort
6577 `save-place-alist', just pretty-print it (bug#13882).
6579 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
6581 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6582 Check whether `default-file-name-coding-system' is bound.
6585 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
6587 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
6588 backquotes for `obsolete' (bug#13929).
6590 * international/mule.el (find-auto-coding): Include file name in
6591 obsolescence warning (bug#13922).
6593 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
6595 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
6596 for CFEngine 3-specific indentation.
6597 (cfengine3-indent-line): Use it. Fix up category regex.
6598 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
6600 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6602 * type-break.el (type-break-file-name):
6603 * textmodes/remember.el (remember-data-file):
6604 * strokes.el (strokes-file):
6605 * shadowfile.el (shadow-initialize):
6606 * saveplace.el (save-place-file):
6607 * ps-bdf.el (bdf-cache-file):
6608 * progmodes/idlwave.el (idlwave-config-directory):
6609 * net/quickurl.el (quickurl-url-file):
6610 * international/kkc.el (kkc-init-file-name):
6611 * ido.el (ido-save-directory-list-file):
6612 * emulation/viper.el (viper-custom-file-name):
6613 * emulation/vip.el (vip-startup-file):
6614 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
6615 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
6617 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
6619 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
6620 * language/thai-word.el: Switch to UTF-8.
6622 See ChangeLog.16 for earlier changes.
6628 Copyright (C) 2011-2013 Free Software Foundation, Inc.
6630 This file is part of GNU Emacs.
6632 GNU Emacs is free software: you can redistribute it and/or modify
6633 it under the terms of the GNU General Public License as published by
6634 the Free Software Foundation, either version 3 of the License, or
6635 (at your option) any later version.
6637 GNU Emacs is distributed in the hope that it will be useful,
6638 but WITHOUT ANY WARRANTY; without even the implied warranty of
6639 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6640 GNU General Public License for more details.
6642 You should have received a copy of the GNU General Public License
6643 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.