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