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