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