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