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