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