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