* lisp/emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
7ccae3b1
SM
12013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2
2e7ba2c2
SM
3 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4
7ccae3b1
SM
5 * progmodes/ruby-mode.el: Fix recently added tests.
6 (ruby-smie-grammar): Add - and +.
7 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8 (ruby-smie--backward-id): New functions.
9 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
10 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
11 any more.
12
85698d63
LL
132013-10-07 Leo Liu <sdl.web@gmail.com>
14
15 * register.el (register-preview-delay)
16 (register-preview-functions): New variables.
17 (register-read-with-preview, register-preview)
18 (register-describe-oneline): New functions.
19 (point-to-register, window-configuration-to-register)
20 (frame-configuration-to-register, jump-to-register)
21 (number-to-register, view-register, insert-register)
22 (copy-to-register, append-to-register, prepend-to-register)
23 (copy-rectangle-to-register): Use register-read-with-preview to
24 read register. (Bug#15525)
25
3986af6c
DS
262013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
27
28 * net/network-stream.el (network-stream-open-starttls): Don't add
29 --insecure if it's already present, because that gnutls-cli
30 rejects getting that parameter twice.
31
5cd9cda9
DG
322013-10-06 Dmitry Gutov <dgutov@yandex.ru>
33
34 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
35 keyword, too.
36
da9ea6d9
DG
372013-10-05 Dmitry Gutov <dgutov@yandex.ru>
38
39 * newcomment.el (comment-use-global-state): Change default value
40 to t, mark obsolete (Bug#15251).
41 (comment-beginning): In addition to `comment-to-syntax', check the
42 value of `comment-use-global-state'.
43
34d1a133
SM
442013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
45
46 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
47 (ruby-comment-column): Follow the global default, by default.
48 (ruby-smie-grammar): Add assignment syntax.
49 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
50 open-paren, a comma, or a \.
51 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
52 and line continuations.
53 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
54 followed by implicit semi-colons. Add rule for string concatenation
55 and for indentation at BOB.
56 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
57
58 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
59 calling next-sexp, since next-token may have skipped chars which
60 next-sexp doesn't know should be skipped!
61
6f6ab820
LL
622013-10-05 Leo Liu <sdl.web@gmail.com>
63
34d1a133
SM
64 * progmodes/octave.el (octave-send-region):
65 Call compilation-forget-errors.
6f6ab820 66
34ca0f4c
XF
672013-10-04 Xue Fuqiao <xfq.free@gmail.com>
68
69 * vc/vc-svn.el (vc-svn-find-admin-dir):
70 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
71 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
72 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
73 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
74
a27c1b72
SM
752013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
78
258ab3bc
SM
792013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
80
81 * subr.el (read-passwd): Hide chars even when called within a context
82 where after-change-functions is disabled (bug#15501).
83 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
84 until we removed ourself from overriding-terminal-local-map.
85
939fb29c
LL
862013-10-04 Leo Liu <sdl.web@gmail.com>
87
258ab3bc
SM
88 * progmodes/octave.el (inferior-octave-mode):
89 Call compilation-forget-errors.
939fb29c 90
63bd7f35
XF
912013-10-04 Xue Fuqiao <xfq.free@gmail.com>
92
93 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
94
9e6229fa
MA
952013-10-04 Michael Albinus <michael.albinus@gmx.de>
96
97 * net/secrets.el (secrets-create-collection): Add optional
98 argument ALIAS. Use proper Label keyword. Append ALIAS as
99 dbus-call-method argument. (Bug#15516)
100
1dab32a3
LL
1012013-10-04 Leo Liu <sdl.web@gmail.com>
102
103 * progmodes/octave.el (inferior-octave-error-regexp-alist)
104 (inferior-octave-compilation-font-lock-keywords): New variables.
105 (compilation-error-regexp-alist)
106 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
107 (inferior-octave-mode): Use compilation-shell-minor-mode.
108
6cad7ba3
JS
1092013-10-04 Jorgen Schaefer <forcer@forcix.cx>
110
111 * minibuffer.el (completion--replace): Be careful that `end' might be
112 a marker.
113
acbadd00
DU
1142013-10-03 Daiki Ueno <ueno@gnu.org>
115
116 Add support for package signature checking.
117 * emacs-lisp/package.el (url-http-file-exists-p)
118 (epg-make-context, epg-context-set-home-directory)
119 (epg-verify-string, epg-context-result-for)
120 (epg-signature-status, epg-signature-to-string)
121 (epg-check-configuration, epg-configuration)
122 (epg-import-keys-from-file): Declare.
123 (package-check-signature): New user option.
124 (package-unsigned-archives): New user option.
125 (package-desc): Add `signed' field.
126 (package-load-descriptor): Set `signed' field if .signed file exists.
127 (package--archive-file-exists-p): New function.
128 (package--check-signature): New function.
129 (package-install-from-archive): Check package signature.
130 (package--download-one-archive): Check archive signature.
131 (package-delete): Remove .signed file.
132 (package-import-keyring): New command.
133 (package-refresh-contents): Import default keyring.
134 (package-desc-status): Add "unsigned" status.
135 (describe-package-1, package-menu--print-info)
136 (package-menu-mark-delete, package-menu--find-upgrades)
137 (package-menu--status-predicate): Support "unsigned" status.
138
adf2aa61
SM
1392013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
142 the new compilation scheme using the new byte-codes.
143
144 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
145 (byte-pophandler): New byte codes.
146 (byte-goto-ops): Adjust accordingly.
147 (byte-compile--use-old-handlers): New var.
148 (byte-compile-catch): Use new byte codes depending on
149 byte-compile--use-old-handlers.
150 (byte-compile-condition-case--old): Rename from
151 byte-compile-condition-case.
152 (byte-compile-condition-case--new): New function.
153 (byte-compile-condition-case): New function that dispatches depending
154 on byte-compile--use-old-handlers.
155 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
156 when we can.
157
158 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
159 Optimize under `condition-case' and `catch' if
160 byte-compile--use-old-handlers is nil.
161 (disassemble-offset): Handle new bytecodes.
162
328a8179
SM
1632013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
164
165 * subr.el (error): Use `declare'.
166 (decode-char, encode-char): Use advertised-calling-convention instead
167 of the docstring to discourage use of the `restriction' arg.
168
15a1e936
DU
1692013-10-03 Daiki Ueno <ueno@gnu.org>
170
171 * epg.el (epg-verify-file): Add a comment saying that it does not
172 notify verification error as a return value nor a signal.
173 (epg-verify-string): Ditto.
174
376f862a
KR
1752013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
176
177 * progmodes/compile.el (compilation-start): Try globbing the arg to
178 `cd' (bug#15417).
179
a2f93a5f
MA
1802013-10-02 Michael Albinus <michael.albinus@gmx.de>
181
182 Sync with Tramp 2.2.8.
183
184 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
185 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
186 * net/trampver.el: Update release number.
187
0daa0804
JD
1882013-10-01 Jan Djärv <jan.h.d@swipnet.se>
189
190 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
191 and default-process-coding-system for darwin only.
192
abd1ae34
SM
1932013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
196
be4e325d
MH
1972013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
198
199 * vc/vc-git.el (vc-git-grep): Disable pager.
200
e9155c4a
DG
2012013-10-01 Dmitry Gutov <dgutov@yandex.ru>
202
494e898b
DG
203 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
204 Use :url instead of :homepage, as per
205 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
206
e9155c4a
DG
207 * newcomment.el (comment-beginning): When `comment-use-syntax' is
208 non-nil, use `syntax-ppss' (Bug#15251).
209
481a8e0f
RS
2102013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
211
be4e325d
MH
212 * progmodes/octave.el (inferior-octave-startup-file):
213 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 214
056453c6
DG
2152013-09-29 Dmitry Gutov <dgutov@yandex.ru>
216
be4e325d
MH
217 * emacs-lisp/package.el (package-desc-from-define):
218 Accept additional arguments as plist, convert them to an alist and store
219 them in the `extras' slot.
056453c6
DG
220 (package-generate-description-file): Convert extras alist back to
221 plist and append to the `define-package' form arguments.
222 (package--alist-to-plist): New function.
223 (package--ac-desc): Add `extras' slot.
224 (package--add-to-archive-contents): Check if the archive-contents
225 vector is long enough, and if it is, pass its `extras' slot value
226 to `package-desc-create'.
227 (package-buffer-info): Call `lm-homepage', pass the returned value
228 to `package-desc-from-define'.
229 (describe-package-1): Render the homepage button (Bug#13291).
230
be4e325d
MH
231 * emacs-lisp/package-x.el (package-upload-buffer-internal):
232 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 233
832966e5
JD
2342013-09-29 Jan Djärv <jan.h.d@swipnet.se>
235
236 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
237 and default-process-coding-system to utf-8-unix (Bug#15402).
238
6cfe977d
XF
2392013-09-29 Xue Fuqiao <xfq.free@gmail.com>
240
241 * subr.el (looking-back): Do not recommend using looking-back.
242
38de11bd
AM
2432013-09-28 Alan Mackenzie <acm@muc.de>
244
245 Fix indentation/fontification of Java enum with "implements".
246
247 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
248 regexp which matches "implements", etc., in Java.
249 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
250 specifier clauses coming after "enum".
251 * progmodes/cc-fonts.el (c-font-lock-declarations)
252 (c-font-lock-enum-tail): Check for extra specifier clauses coming
253 after "enum".
254
1610938f
JD
2552013-09-28 Jan Djärv <jan.h.d@swipnet.se>
256
257 * faces.el (region): Change ns_selection_color to
258 ns_selection_fg_color, add ns_selection_bg_color.
259
e090f499
LL
2602013-09-28 Leo Liu <sdl.web@gmail.com>
261
4d2e94d1
LL
262 * progmodes/octave.el (inferior-octave-completion-table)
263 (inferior-octave-completion-at-point): Minor tweaks.
264
e090f499
LL
265 * textmodes/ispell.el (ispell-lookup-words): Rename from
266 lookup-words. (Bug#15460)
267 (lookup-words): Obsolete.
268 (ispell-complete-word, ispell-command-loop): All uses changed.
269
7e138a62
RS
2702013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
271
272 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
273 (octave-mode-menu): Add octave-send-buffer.
274 (octave-send-buffer): New function.
275
5af5ed08
RS
2762013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
277
278 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
279 octave-lookfor.
280 (octave-mode-menu): Add octave-lookfor.
281 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
282 octave-lookfor.
283 (octave-lookfor): New function.
284
3b7b2692
SM
2852013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
286
287 * emacs-lisp/cl-macs.el:
288 (cl--loop-destr-temps): Remove.
289 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
290 its convention.
291 (cl--loop-set-iterator-function): New function.
292 (cl-loop): Adjust accordingly, so as not to use cl-subst.
293 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
294 Bind `it' with `let' instead of substituting it with `cl-subst'.
295 (cl--unused-var-p): New function.
296 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
297 Eliminate some unused variable warnings (bug#15326).
298
529fb53f
TH
2992013-09-27 Tassilo Horn <tsdh@gnu.org>
300
301 * doc-view.el (doc-view-scale-reset): Rename from
302 `doc-view-reset-zoom-level'.
303 (doc-view-scale-adjust): New command.
304 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
305 `doc-view-scale-adjust'.
306
0550c95a
TH
3072013-09-26 Tassilo Horn <tsdh@gnu.org>
308
309 * doc-view.el (doc-view-reset-zoom-level): New command.
310 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
311 zoom commands (bug#15466).
312
6950f152
KH
3132013-09-26 Kenichi Handa <handa@gnu.org>
314
315 * international/quail.el (quail-help): Make it not a command.
316
39587580
LL
3172013-09-26 Leo Liu <sdl.web@gmail.com>
318
319 * minibuffer.el (completion-all-sorted-completions): Make args
320 optional as they are.
321
00578659
DC
3222013-09-25 Daniel Colascione <dancol@dancol.org>
323
324 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
325 specs are and that they're not evaluated.
326
0c173878
SS
3272013-09-24 Sam Steingold <sds@gnu.org>
328
329 * midnight.el (clean-buffer-list-kill-regexps)
330 (clean-buffer-list-kill-buffer-names): Update for the new Man
331 buffer naming which includes the object name.
332
84998447
SM
3332013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * eshell/esh-cmd.el (eshell--sep-terms): New var.
336 (eshell-parse-command, eshell-parse-pipeline): Use it since
337 eshell-separate-commands requires a dynamic scoped var.
338 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
339
33215353
LL
3402013-09-23 Leo Liu <sdl.web@gmail.com>
341
342 * autoinsert.el (auto-insert-alist): Make the value of
343 lexical-binding match its file setting.
344
57b16162
JB
3452013-09-23 Juanma Barranquero <lekktu@gmail.com>
346
c8af4e67
JB
347 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
348
57b16162
JB
349 * autoarg.el (autoarg-kp-digit-argument):
350 * electric.el (Electric-command-loop):
351 * kmacro.el (kmacro-step-edit-insert):
352 Do not set universal-argument-num-events.
353
7186ba60
LL
3542013-09-22 Leo Liu <sdl.web@gmail.com>
355
356 * files.el (interpreter-mode-alist): Add octave.
357
ece15004
AM
3582013-09-21 Alan Mackenzie <acm@muc.de>
359
360 C++: fontify identifier in declaration following "public:" correctly.
361 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
362 to match "public", etc.
363 (c-decl-prefix-re): Add ":" into the C++ value.
364 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
365 bit. Add a check for a ":" preceded by "public", etc.
366
75d83e22
EZ
3672013-09-21 Eli Zaretskii <eliz@gnu.org>
368
369 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
370 recognized by GDB 7.5 and later.
371
d052d3bd
XF
3722013-09-21 Xue Fuqiao <xfq.free@gmail.com>
373
374 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
375
31dca772
R
3762013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
377
378 * subr.el (internal--call-interactively): New const.
379 (called-interactively-p): Use it (bug#3984).
380
98ccf24e
XF
3812013-09-20 Xue Fuqiao <xfq.free@gmail.com>
382
383 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
384 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
385 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 386
c39cc7d1
SM
3872013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
388
389 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
390 (eshell-ls-orig-insert-directory): Remove.
391 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
392 (eshell-ls-use-in-dired): Use advice-add/remove.
393 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
394 Add `orig-fun' arg for use in :around advice.
395 Make it check (redundantly) eshell-ls-use-in-dired.
396
9a0289a2
GM
3972013-09-19 Glenn Morris <rgm@gnu.org>
398
a2c501b8
GM
399 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
400
c440407a
GM
401 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
402
9a0289a2
GM
403 * emacs-lisp/eieio.el (class-parent): Undo previous change.
404
85e05915
MA
4052013-09-19 Michael Albinus <michael.albinus@gmx.de>
406
407 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
408 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
409 (tramp-get-remote-python): New defuns.
410 (tramp-get-remote-uid-with-perl)
411 (tramp-get-remote-gid-with-perl): New defuns. Perl code
412 contributed by yary <not.com@gmail.com> (tiny change).
413 (tramp-get-remote-uid-with-python)
414 (tramp-get-remote-gid-with-python): New defuns. Python code
415 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
416 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
417
ce503312
GM
4182013-09-19 Glenn Morris <rgm@gnu.org>
419
f7544773
GM
420 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
421
72fd2877
GM
422 * eshell/em-unix.el (eshell-remove-entries):
423 Rename argument to avoid name-clash with global `top-level'.
424
336b5a56
GM
425 * eshell/esh-proc.el (eshell-kill-process-function):
426 Remove eshell-reset-after-proc from eshell-kill-hook if present.
427 (eshell-reset-after-proc): Remove unused arg `proc'.
428
57a3a53d
GM
429 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
430 (directory-files-and-attributes): Mark unused arg.
431
3261d4af
GM
432 * eshell/em-unix.el (eshell-remove-entries):
433 Remove unused arg `path'. Update callers.
434
8e51b5d0
GM
435 * eshell/em-hist.el (eshell-hist-parse-arguments):
436 Remove unused arg `silent'. Update callers.
437
ce503312
GM
438 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
439 Fix (f)boundp mix-up.
440
441 * eshell/em-smart.el (eshell-smart-scroll-window)
442 (eshell-disable-after-change):
336b5a56 443 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 444
ee3ce8a7
AM
4452013-09-18 Alan Mackenzie <acm@muc.de>
446
447 Fix fontification of type when followed by "const".
448 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
449 "known" types from fontification.
450
ec9177ba
GM
4512013-09-18 Glenn Morris <rgm@gnu.org>
452
7bb3e768
GM
453 * emacs-lisp/chart.el (x-display-color-cells): Declare.
454 (chart-face-list): Drop Emacsen without display-color-p.
455
5148da15
GM
456 * net/eww.el (libxml-parse-html-region): Declare.
457 (eww-display-html): Explicit error if no libxml2 support.
458
2f68e157
GM
459 * doc-view.el (doc-view-mode): Silence --without-x compilation.
460
9019d095
GM
461 * image.el (image-type-from-buffer, image-multi-frame-p):
462 Remove --without-x warning/error.
67645389 463
5f30349b 464 * mouse.el (mouse-yank-primary):
45069b2e 465 * term.el (term-mouse-paste):
5f30349b
GM
466 Reorder to silence --without-x compilation.
467
cd8edbbe
GM
468 * mpc.el (doc-view-mode): Silence --without-x compilation.
469
8a78544e
GM
470 * mail/rmailmm.el (rmail-mime-set-bulk-data):
471 Silence --without-x compilation.
472
12679bfd
GM
473 * progmodes/gud.el (gud-find-file, gud-mode):
474 Silence --without-x compilation.
475 (tooltip-mode): Declare.
30810a05 476
f0047cb9
GM
477 * wdired.el (dired-backup-overwrite): Remove declaration.
478 (wdired-mode-map): Add doc string.
479
e740f9d2
GM
480 * custom.el (x-get-resource): Declare.
481
92d77c89
GM
482 * eshell/em-glob.el (ange-cache):
483 * eshell/em-unix.el (ange-cache): Declare.
484
76e69577
GM
485 * faces.el (x-display-list, x-open-connection, x-get-resource):
486 Declare.
7e58af4b
GM
487
488 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
489 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
490 Declare.
76e69577 491
4bd4c0af 492 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 493
ffb82dbd
GM
494 * net/gnutls.el (gnutls-log-level): Declare.
495
986ed135
GM
496 * net/shr.el (image-size, image-animate): Declare.
497
e740f9d2
GM
498 * simple.el (font-info): Declare.
499
d2f3e9f8
GM
500 * subr.el (x-popup-dialog): Declare.
501
047a1a4c
GM
502 * term/common-win.el (x-select-enable-primary)
503 (x-last-selected-text-primary, x-last-selected-text-clipboard):
504 Declare.
505
f4a1d572
GM
506 * term/ns-win.el (x-handle-args): Declare.
507
e843de77
GM
508 * term/x-win.el (x-select-enable-clipboard): Declare.
509
5fa89513
GM
510 * term/w32-win.el (create-default-fontset): Declare.
511
38702b5b
GM
512 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
513 Declare.
514
e740f9d2
GM
515 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
516 (fit-frame-to-buffer): Explicit error if --without-x.
517 (mouse-autoselect-window-select): Silence compiler.
518
49a053fc
GM
519 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
520
521 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
522 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
523 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 524 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
525 Remove unused local variables.
526
527 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
528
ec9177ba
GM
529 * textmodes/two-column.el: Make 2C-split work for --without-x.
530 (scroll-bar-columns): Autoload.
531 (top-level): Require fringe when compiling.
532
9f25cb77
LL
5332013-09-18 Leo Liu <sdl.web@gmail.com>
534
535 * subr.el (add-hook): Robustify to handle closure as well.
536
2b42da98
GM
5372013-09-17 Glenn Morris <rgm@gnu.org>
538
539 * simple.el (messages-buffer-mode-map): Unbind "g".
540
e8b66a6a
SM
5412013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
542
9c0ad4f7
SM
543 * help-mode.el (help-mode-finish): Use derived-mode-p.
544 Remove obsolete highlighting.
545
7a806dfb
SM
546 * play/life.el (life-mode): Use define-derived-mode. Derive from
547 special-mode.
548 (life): Let-bind inhibit-read-only.
549 (life-setup): Avoid `setq'. Use `life-mode'.
550
96dbf5a8
SM
551 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
552 which should not be needed any more.
553 (package-menu-refresh, package-menu-describe-package): Use user-error.
554
e8b66a6a
SM
555 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
556 (eshell-post-rewrite-command-hook): Make obsolete.
557 (eshell-parse-command): Simplify.
558 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
559 (eshell--cmd): Declare.
560 (eshell-parse-pipeline): Remove unused var `final-p'.
561 Pass a dynvar to eshell-post-rewrite-command-hook.
562 Implement the new eshell-post-rewrite-command-function.
563 (eshell-invoke-directly): Remove unused arg `input'.
564 * eshell/esh-io.el (eshell-io-initialize):
565 Use eshell-post-rewrite-command-function (bug#15399).
566 (eshell--apply-redirections): Rename from eshell-apply-redirections;
567 adjust to new calling convention.
568 (eshell-create-handles): Rename args to avoid clashing with dynvar
569 `standard-output'.
570
90582f05
GM
5712013-09-17 Glenn Morris <rgm@gnu.org>
572
573 * simple.el (messages-buffer-mode): New major mode.
574 (messages-buffer): New function.
575 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
576 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 577 (ert-run-test): Use `messages-buffer' function.
90582f05 578 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
579 * help.el (view-echo-area-messages): Use `messages-buffer' function.
580 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 581
39eb0cb5 5822013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
583
584 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
585
1f1e06e2
SM
586 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
587
70568a90
SM
5882013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
589
504a0381
SM
590 * icomplete.el (icomplete-in-buffer): New var.
591 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
592 vars and replace them with functions.
593 (icomplete-minibuffer-setup): Adjust accordingly.
594 (icomplete--completion-table, icomplete--completion-predicate)
595 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
596 New functions.
597 (icomplete-forward-completions, icomplete-backward-completions)
598 (icomplete-simple-completing-p, icomplete-exhibit)
599 (icomplete-completions): Use them.
600 (icomplete--in-region-buffer): New var.
601 (icomplete--in-region-setup): New function.
602 (icomplete-mode): Use it.
603
70568a90
SM
604 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
605 (bug#15379).
606 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
607 return args and options.
608 (eshell-eval-using-options): Use the new return value of
609 eshell--do-opts to set the options's vars in their scope.
610 (eshell--set-option): Rename from eshell-set-option.
611 Add arg `opt-vals'.
612 (eshell--process-option): Rename from eshell-process-option.
613 Add arg `opt-vals'.
614 (eshell--process-args): Use an `opt-vals' alist to store the options's
615 values during their processing and return them additionally to the
616 remaining args.
617
578c21bc
DG
6182013-09-15 Dmitry Gutov <dgutov@yandex.ru>
619
620 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
621 continuation character an operator, as far as indentation is
622 concerned (Bug#15369).
623
c089653d
MR
6242013-09-15 Martin Rudalics <rudalics@gmx.at>
625
626 * window.el (window--state-put-2): Don't process buffer state
627 when buffer doesn't exist any more (Bug#15382).
628
1e53bb4b
GM
6292013-09-15 Glenn Morris <rgm@gnu.org>
630
30753242
GM
631 * eshell/em-unix.el (eshell/rm):
632 Make -f ignore missing files. (Bug#15373)
633
1e53bb4b
GM
634 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
635 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
636 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
637
0d8863b3
GM
6382013-09-14 Glenn Morris <rgm@gnu.org>
639
640 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
641
d3fc6549
GM
6422013-09-13 Glenn Morris <rgm@gnu.org>
643
644 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
645 (dired-guess-default): Make `file' available in the env. (Bug#15363)
646
fcd42c11
DA
6472013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
648
649 * frame.el (x-focus-frame): Mark as declared in frame.c.
650
7830899f
SM
6512013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * ls-lisp.el: Use advice-add.
654 (original-insert-directory): Remove.
655 (ls-lisp--insert-directory): Rename from insert-directory; add
656 `orig-fun' argument.
657 (insert-directory): Advise.
658
84387cd2
EZ
6592013-09-13 Eli Zaretskii <eliz@gnu.org>
660
661 * term.el (term-emulate-terminal): Decode the command string
662 before passing it to term-command-hook. (Bug#15337)
663
35ffc6ba
GM
6642013-09-13 Glenn Morris <rgm@gnu.org>
665
5c3f9bcc
GM
666 * eshell/esh-util.el (ange-cache): Move declaration earlier.
667
2ada368a
GM
668 * eshell/esh-ext.el (eshell-search-path): Declare.
669
fcef2e13
GM
670 * eshell/em-prompt.el (eshell/pwd): Autoload it.
671 Otherwise an error occurs if eshell-dirs module not loaded.
672
35ffc6ba
GM
673 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
674
35c3d36e
MA
6752013-09-13 Michael Albinus <michael.albinus@gmx.de>
676
677 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
678 `tramp-check-proper-host'. Check for a valid method name.
679
680 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
681 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
682 * net/tramp-sh.el (tramp-maybe-open-connection):
683 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
684
685 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
686 also for hash values.
687
ae5e4c48
SM
6882013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
689
379add74
SM
690 * term/ns-win.el (parameters): Don't declare as dynamic.
691 (before-make-frame-hook): Don't add ineffective function.
692
ae5e4c48
SM
693 * eshell/*.el: Use lexical-binding (bug#15231).
694
b5623270
KH
6952013-09-12 Kenichi Handa <handa@gnu.org>
696
ae5e4c48 697 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 698
30213927
GM
6992013-09-12 Glenn Morris <rgm@gnu.org>
700
be94d713 701 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 702 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 703
44915370
GM
704 * subr.el (do-after-load-evaluation): Also give compiler warnings
705 when obsolete files are used (except by obsolete files).
706
a6ae021f
GM
707 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
708 in the status output, assume `filename' is the first. (Bug#15322)
709
40e64f0c
GM
710 * vc/vc.el (vc-deduce-fileset): Doc fix.
711
16d9f896
GM
712 * calc/calc-help.el (Info-goto-node):
713 * progmodes/cperl-mode.el (Info-find-node):
714 * vc/ediff.el (Info-goto-node): Update declarations.
715
dea01c6e
GM
716 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
717
759880bf 718 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
719 (vc-bzr-pull): Require vc-dispatcher.
720 * vc/vc-git.el (vc-compilation-mode): Declare.
721 (vc-git-pull): Require vc-dispatcher.
722
08d66420
GM
723 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
724
30b626e9
GM
725 * progmodes/octave.el (help-button-action): Declare.
726
8c05cb10
GM
727 * shell.el (shell-directory-tracker): Output error as a message
728 rather than just returning it as a string.
729 (shell-process-pushd): Remove useless use of message.
730
30213927
GM
731 * dframe.el (dframe-timer-fn):
732 * files.el (dir-locals-read-from-file):
733 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
734 (mpc-format):
735 * reveal.el (reveal-post-command):
736 * saveplace.el (load-save-place-alist-from-file):
737 * shell.el (shell-resync-dirs):
738 * w32-common-fns.el (x-get-selection-value):
739 * emacs-lisp/copyright.el (copyright-find-copyright):
740 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
741 * emulation/tpu-edt.el (tpu-copy-keyfile):
742 * play/bubbles.el (bubbles--mark-neighbourhood):
743 * progmodes/executable.el
744 (executable-make-buffer-file-executable-if-script-p):
745 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
746
d3b049e6
SM
7472013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
748
170266d0
SM
749 Cleanup Eshell to rely less on dynamic scoping.
750 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
751 last-value, and ext-command here. Bind `args' closer to `body'.
752 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
753 (eshell--args): Declare new dynamic var.
754 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
755 last-value, and ext-command. Pass `args' to `body'.
756 (eshell-process-args): Bind eshell--args.
757 (eshell-set-option): Use eshell--args.
758 * eshell/eshell.el (eshell): Use derived-mode-p.
759 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
760 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
761 (eshell-glob-function): Declare.
762 * eshell/esh-util.el: Require cl-lib.
763 (eshell-read-hosts-file): Avoid add-to-list.
764 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
765 `err'.
766 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
767 Declare.
768 (eshell/diff): Remove unused var `err'.
769 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
770 `killflag'.
771 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
772 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
773 first use.
774 * eshell/em-glob.el (eshell-glob-matches, message-shown):
775 Move declaration before first use.
776 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
777 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
778 rely on cl-return.
779
56834f3b
GM
7802013-09-12 Glenn Morris <rgm@gnu.org>
781
782 * term/ns-win.el (global-map): Remove binding for ispell-next,
783 deleted 1999-05-29. (Bug#15357)
784
5c91a2b8
GM
7852013-09-11 Glenn Morris <rgm@gnu.org>
786
da712f22
GM
787 * echistory.el (electric-command-history): Remove call to deleted func.
788
512e4cdc
GM
789 * play/landmark.el (landmark-mode): Fix typos.
790
d3506ca5
GM
791 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
792 Check cvs-sort-ignore-file is bound.
793
5c91a2b8
GM
794 * savehist.el: No need for cl when compiling on Emacs.
795
feeff482
SM
7962013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
797
656bd483
SM
798 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
799 (bug#15338).
d3b049e6
SM
800 (eshell-self-insert-command, eshell-send-invisible):
801 Remove unused argument.
656bd483
SM
802 (eshell-handle-control-codes): Remove unused var `orig'.
803 Avoid delete-backward-char.
804
feeff482
SM
805 * files.el (set-auto-mode): Simplify a bit further.
806
2a08047a
GM
8072013-09-11 Glenn Morris <rgm@gnu.org>
808
809 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
810 (set-auto-mode): Don't regexp-quote elements.
811 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
812 * progmodes/cc-mode.el (interpreter-mode-alist):
813 * progmodes/ruby-mode.el (interpreter-mode-alist):
814 Revert previous change.
815
34675540
SM
8162013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
817
1b3b87df
SM
818 * play/snake.el (snake-mode):
819 * play/mpuz.el (mpuz-mode):
820 * play/landmark.el (lm-mode):
821 * play/blackbox.el (blackbox-mode):
822 * play/5x5.el (5x5-mode):
823 * obsolete/options.el (Edit-options-mode):
824 * net/quickurl.el (quickurl-list-mode):
825 * net/newst-treeview.el (newsticker-treeview-mode):
826 * mail/rmailsum.el (rmail-summary-mode):
827 * mail/mspools.el (mspools-mode):
828 * locate.el (locate-mode):
829 * ibuffer.el (ibuffer-mode):
830 * emulation/ws-mode.el (wordstar-mode):
831 * emacs-lisp/debug.el (debugger-mode):
832 * array.el (array-mode):
833 * net/eudc.el (eudc-mode): Use define-derived-mode.
834 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
835 Move initialization into declaration.
836 (mairix-searches-mode): Use define-derived-mode.
837 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
838 (eudc-edit-hotlist): Use dolist.
839 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
840 (Man-mode): Use define-derived-mode.
841 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
842 (Info-edit-mode): Use define-derived-mode.
843 (Info-cease-edit): Use Info-mode.
844 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
845 into declaration.
846 (eshell-mode): Use define-derived-mode.
847 * chistory.el (command-history-mode-map): Rename from
848 command-history-map.
849 (command-history-mode): Use define-derived-mode.
da712f22 850 (Command-history-setup): Remove function.
1b3b87df
SM
851 * calc/calc.el (calc-trail-mode-map): New var.
852 (calc-trail-mode): Use define-derived-mode.
853 (calc-trail-buffer): Set calc-main-buffer manually.
854 * bookmark.el (bookmark-insert-annotation): New function.
855 (bookmark-edit-annotation): Use it.
856 (bookmark-edit-annotation-mode): Make it a proper major mode.
857 (bookmark-send-edited-annotation): Use derived-mode-p.
858 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
859 closer to its ideal place. Use \' to match EOS.
860
34675540
SM
861 * profiler.el (profiler-calltree-find): Use function-equal.
862
6a5c15d9
GM
8632013-09-10 Glenn Morris <rgm@gnu.org>
864
1af4c220
GM
865 * files.el (interpreter-mode-alist): Convert to regexps.
866 (set-auto-mode): Adapt for this. (Bug#15306)
867 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
868 Comment out unused variable.
869 * progmodes/cc-mode.el (interpreter-mode-alist):
870 * progmodes/python.el (interpreter-mode-alist):
871 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
872 * progmodes/sh-script.el (sh-set-shell):
873 No longer use interpreter-mode-alist to get list of shells.
874
6a5c15d9
GM
875 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
876
8c27f5ff
SM
8772013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
878
02ef6c1a 879 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 880 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
881 Bind switch-frame explicitly. Replace universal-argument-minus with
882 a conditional binding.
883 (universal-argument-num-events, saved-overriding-map): Remove.
884 (restore-overriding-map): Remove.
885 (universal-argument--mode): Rename from save&set-overriding-map,
886 and rewrite.
887 (universal-argument, universal-argument-more, negative-argument)
888 (digit-argument): Adjust accordingly.
889 (universal-argument-minus): Remove.
890 (universal-argument-other-key): Remove.
891
8c27f5ff
SM
892 * subr.el (with-demoted-errors): Add `format' argument.
893
6480194c
MA
8942013-09-10 Michael Albinus <michael.albinus@gmx.de>
895
896 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
897 `tramp-cleanup-connection'.
898
899 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
900 parameters KEEP-DEBUG and KEEP-PASSWORD.
901
902 * net/tramp.el (tramp-file-name-handler):
903 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
904 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
905 (tramp-maybe-open-connection):
8c27f5ff
SM
906 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
907 Use `tramp-cleanup-connection'.
6480194c 908
8c27f5ff
SM
909 * net/tramp-sh.el (tramp-maybe-open-connection):
910 Catch 'uname-changed inside the progress reporter.
6480194c 911
e5e916d8
GM
9122013-09-10 Glenn Morris <rgm@gnu.org>
913
9a2c9b47
GM
914 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
915
e5e916d8
GM
916 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
917 returns "alternate access method" in mode (eg "-rw-r--r--.").
918
144e38fe
GM
9192013-09-08 Glenn Morris <rgm@gnu.org>
920
921 * saveplace.el (load-save-place-alist-from-file):
922 Demote errors. (Bug#15305)
923
af9ff9e8
MA
9242013-09-08 Michael Albinus <michael.albinus@gmx.de>
925
926 Improve compatibility with older Emacsen, and XEmacs.
927
928 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
929 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
930 (with-tramp-progress-reporter): Do not let-bind `result'.
931 This yields to scoping errors in XEmacs.
af9ff9e8
MA
932 (tramp-handle-make-auto-save-file-name): New function, moved from
933 tramp-sh.el.
934
935 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
936 for `make-auto-save-file-name'.
8c27f5ff
SM
937 (tramp-adb--gnu-switches-to-ash):
938 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
939
940 * net/tramp-cache.el (tramp-cache-print): Call
941 `substring-no-properties' only if it is bound. It isn't for XEmacs.
942
943 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
944 bound. It isn't for XEmacs.
945
8c27f5ff
SM
946 * net/tramp-compat.el (tramp-compat-copy-file):
947 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
948 (tramp-compat-replace-regexp-in-string): New defun.
949
950 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
951 for `make-auto-save-file-name'.
952 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
953 `copy-file'.
954 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
955 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
956 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
957
8c27f5ff
SM
958 * net/tramp-gw.el (tramp-gw-open-network-stream):
959 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 960
8c27f5ff
SM
961 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
962 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
963 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
964 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
965 (tramp-sh-file-inotifywait-process-filter):
966 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
967 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
968
969 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
970 for `make-auto-save-file-name'.
8c27f5ff
SM
971 (tramp-smb-handle-copy-directory):
972 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
973 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
974 (tramp-smb-handle-copy-file): Improve error message.
975 (tramp-smb-handle-rename-file): Rename directly only in case
976 `newname' does not exist yet. This is a restriction of smbclient.
977 (tramp-smb-maybe-open-connection): Rerun the function only when
978 `auth-sources' is non-nil.
979
0ca754d0
KH
9802013-09-08 Kenichi Handa <handa@gnu.org>
981
982 * international/characters.el: Set category "^" (Combining) for
983 more characters.
984
e8dd0787
AM
9852013-09-07 Alan Mackenzie <acm@muc.de>
986
987 Correctly fontify Java class constructors.
988 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
989 in Java Mode.
990 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
991 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
992 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
993 "typeless" declaration there.
994
f2f248e7
RW
9952013-09-07 Roland Winkler <winkler@gnu.org>
996
997 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
998 field subtitle for entry type book.
999
67982e2b
SM
10002013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1001
1002 * minibuffer.el: Make minibuffer-complete call completion-in-region
1003 rather than other way around.
1004 (completion--some, completion-pcm--find-all-completions):
1005 Don't delay signals when debugging.
1006 (minibuffer-completion-contents): Beware fields within the
1007 minibuffer contents.
1008 (completion-all-sorted-completions): Use defvar-local.
1009 (completion--do-completion, completion--cache-all-sorted-completions)
1010 (completion-all-sorted-completions, minibuffer-force-complete):
1011 Add args `beg' and `end'.
1012 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1013 (minibuffer-complete): Use completion-in-region.
1014 (completion-complete-and-exit): New fun, extracted from
1015 minibuffer-complete-and-exit.
1016 (minibuffer-complete-and-exit): Use it.
1017 (completion--complete-and-exit): Rename from
1018 minibuffer--complete-and-exit.
1019 (completion-in-region--single-word): New function, extracted from
1020 minibuffer-complete-word.
1021 (minibuffer-complete-word): Use it.
1022 (display-completion-list): Make `common-substring' argument obsolete.
1023 (completion--in-region): Call completion--in-region-1 instead of
1024 minibuffer-complete.
1025 (completion-help-at-point): Pass boundaries to
1026 minibuffer-completion-help as args rather than via an overlay.
1027 (completion-pcm--string->pattern): Use `any-delim'.
1028 (completion-pcm--optimize-pattern): New function.
1029 (completion-pcm--pattern->regex): Handle `any-delim'.
1030 * icomplete.el (icomplete-forward-completions)
1031 (icomplete-backward-completions, icomplete-completions):
1032 Adjust calls to completion-all-sorted-completions and
1033 completion--cache-all-sorted-completions.
1034 (icomplete-with-completion-tables): Default to t.
1035 * emacs-lisp/crm.el (crm--current-element): Rename from
1036 crm--select-current-element. Don't put an overlay but return the
1037 boundaries instead.
1038 (crm--completion-command): Take two new args to bind to the boundaries.
1039 (crm-completion-help): Adjust accordingly.
1040 (crm-complete): Use completion-in-region.
1041 (crm-complete-word): Use completion-in-region--single-word.
1042 (crm-complete-and-exit): Use completion-complete-and-exit.
1043
e17d94a5
SM
10442013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1045
1046 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1047 than dynamically.
1048
96727100
JL
10492013-09-06 Juri Linkov <juri@jurta.org>
1050
1051 * info.el (Info-display-images-node): When image file doesn't exist
1052 display text version of the image if it's provided in the Info file.
1053 Otherwise, display the location of missing image from SRC attribute.
1054 Add help-echo text property from ALT attribute. (Bug#15279)
1055
86cf7329
SM
10562013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1059 (edit-abbrevs-mode): Use define-derived-mode.
1060
1061 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1062 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1063 that it's defined.
1064 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1065 Use define-derived-mode.
1066
1067 * epg.el (epg-start-encrypt): Minor CSE simplification.
1068
816244a2
WX
10692013-09-06 William Xu <william.xwl@gmail.com>
1070
1071 * arc-mode.el: Add support for 7za (bug#15264).
1072 (archive-7z-program): New var.
1073 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1074 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1075 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1076
1486fa31
MA
10772013-09-06 Michael Albinus <michael.albinus@gmx.de>
1078
1079 Remove URL syntax.
1080
1081 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1082 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1083 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1084 (tramp-postfix-host-format, tramp-file-name-regexp)
1085 (tramp-completion-file-name-regexp)
1086 (tramp-completion-dissect-file-name)
1087 (tramp-handle-substitute-in-file-name): Remove 'url case.
1088 (tramp-file-name-regexp-url)
1089 (tramp-completion-file-name-regexp-url): Remove constants.
1090
39785324
GM
10912013-09-06 Glenn Morris <rgm@gnu.org>
1092
1093 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1094
1f896cb7
DG
10952013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1096
1097 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1098 keywords" below "here-doc beginnings" (Bug#15270).
1099
c0458e0b
SM
11002013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1101
1102 * subr.el (pop): Use `car-safe'.
1103 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1104 to detect unused `pop' return value.
1105
1106 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1107 var `block-regexp'.
1108 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1109 (python-fill-string): Remove unused var `marker'.
1110 (python-skeleton-add-menu-items): Remove unused var `items'.
1111
1112 * international/mule-cmds.el: Require CL.
1113 (find-coding-systems-for-charsets): Avoid add-to-list.
1114 (sanitize-coding-system-list): New function, extracted from
1115 select-safe-coding-system-interactively.
1116 (select-safe-coding-system-interactively): Use it.
1117 (read-input-method-name): Accept symbols for `default'.
1118
1119 * emacs-lisp/advice.el (defadvice): Add indent rule.
1120
6c42fc3e
DH
11212013-09-05 Daniel Hackney <dan@haxney.org>
1122
1123 * dired-x.el:
1124 * net/ange-ftp.el:
1125 * net/browse-url.el:
1126 * net/dbus.el:
1127 * net/eudc.el:
1128 * net/eudcb-ldap.el:
1129 * net/eww.el:
1130 * net/imap.el:
1131 * printing.el:
1132 * vc/ediff-diff.el:
1133 * vc/ediff-init.el:
1134 * vc/ediff-merg.el:
1135 * vc/ediff-mult.el:
1136 * vc/ediff-util.el:
1137 * vc/ediff-wind.el:
1138 * vc/ediff.el:
1139 * vc/emerge.el:
1140 * vc/pcvs.el:
1141 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1142 byte compiler. Remove some unused let-bound variables.
1143
4c528aab
SM
11442013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1145
1146 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1147 a "ref-cell", since it gets better optimized (bug#14883).
1148
bd15c390
GM
11492013-09-05 Glenn Morris <rgm@gnu.org>
1150
1151 * progmodes/cc-awk.el (c-forward-sws): Declare.
1152
1c3ac2e5
GM
11532013-09-04 Glenn Morris <rgm@gnu.org>
1154
1155 * generic-x.el [rul-generic-mode]: Require cc-mode.
1156 (c++-mode-syntax-table): Declare.
1157 (rul-generic-mode-syntax-table): Init in the defvar.
1158
52b1cc79
SM
11592013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1160
c828af56
SM
1161 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1162 (vc-do-command, vc-set-async-update):
1163 * vc/vc-mtn.el (vc-mtn-dir-status):
1164 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1165 (vc-hg-pull, vc-hg-merge-branch):
1166 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1167 (vc-git-merge-branch):
1168 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1169 (vc-cvs-dir-status-files):
1170 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1171 (vc-bzr-dir-status-files):
1172 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1173 * vc/vc-annotate.el: Use lexical-binding.
1174 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1175 (vc-sentinel-movepoint): Declare.
1176 (vc-annotate): Don't use `goto-line'.
1177 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1178 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1179 (vc-sentinel-movepoint): Declare.
1180 * vc/vc-svn.el: Use lexical-binding.
1181 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1182 * vc/vc-sccs.el:
1183 * vc/vc-rcs.el: Use lexical-binding.
1184
abae272c
SM
1185 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1186 `deleted'. Don't drop errors silently.
1187
52b1cc79
SM
1188 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1189
63191d9f
XF
11902013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1191
1192 * vc/vc.el (vc-ignore): Rewrite.
1193 (vc-default-ignore): New function.
1194 (vc-default-ignore-completion-table): Use find-ignore-file.
1195
1196 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1197 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1198 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1199 Remove. Most code moved to vc.el.
1200
9d3f707c
SM
12012013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1202
abae272c 1203 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
1204 * net/tramp-smb.el (tramp-smb-get-file-entries):
1205 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1206 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1207
fde38d49
SM
1208 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1209 Update call to it.
1210 (eww-change-select): Remove unused var `properties'.
1211 (eww-make-unique-file-name): Remove unused var `base'.
1212
1213 * finder.el (finder-compile-keywords): Don't mess with windows.
1214
84032db7
SM
1215 * calculator.el (calculator-funcall): Fix typo in last change.
1216
724f5e41
SM
1217 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1218
14b511d4
SM
1219 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1220 <pkg>-autoloads.el file stop us.
1221
9d3f707c 1222 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 1223 warnings, and factor out common code.
9d3f707c 1224
88527bc0
DG
12252013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1226
1227 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1228 two-character operators and whether the character preceding them
1229 changes their meaning (Bug#15208).
1230
96edb677
FEG
12312013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1232
1233 Format code sent to Python shell for robustness.
9d3f707c
SM
1234 * progmodes/python.el (python-shell-buffer-substring):
1235 New function.
96edb677
FEG
1236 (python-shell-send-region, python-shell-send-buffer): Use it.
1237
95beaef3
MA
12382013-09-02 Michael Albinus <michael.albinus@gmx.de>
1239
1240 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1241 * net/tramp.el (tramp-user-error): ... here.
1242 (tramp-find-method, tramp-check-proper-host)
1243 (tramp-dissect-file-name, tramp-debug-message)
1244 (tramp-handle-shell-command):
1245 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1246 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1247
1248 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1249
f167c27b
MR
12502013-09-02 Martin Rudalics <rudalics@gmx.at>
1251
1252 * avoid.el (mouse-avoidance-point-position)
1253 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1254 returns nil.
1255
cd16c5f1
FEG
12562013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1257
1258 * progmodes/python.el (python-shell-completion-get-completions):
1259 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 1260 (python-nav-if-name-main): New command.
cd16c5f1 1261
e73c3a0d
GM
12622013-09-01 Glenn Morris <rgm@gnu.org>
1263
f8ccce03
GM
1264 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1265 Avoid leading space in $wins. Otherwise the sed command used by
1266 eg compile-main ends up containing "/*.el". (Bug#15170)
1267
e73c3a0d
GM
1268 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1269
415f808e
GM
12702013-08-30 Glenn Morris <rgm@gnu.org>
1271
1272 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1273 Fix is-this-a-directory logic. (Bug#15220)
1274
f069bba8
SM
12752013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1276
112798c1
SM
1277 * textmodes/css-mode.el: Use SMIE.
1278 (css-smie-grammar): New var.
1279 (css-smie--forward-token, css-smie--backward-token)
1280 (css-smie-rules): New functions.
1281 (css-mode): Use them.
1282 (css-navigation-syntax-table): Remove var.
1283 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1284 (css-indent-calculate, css-indent-line): Remove functions.
1285
1286 Misc changes to reduce use of `(lambda...); and other cleanups.
1287 * cus-edit.el: Use lexical-binding.
1288 (customize-push-and-save, customize-apropos)
1289 (custom-buffer-create-internal): Use closures.
1290 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1291 * progmodes/ada-xref.el: Use setq.
1292 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1293 * dframe.el: Use lexical-binding.
1294 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1295 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1296 * descr-text.el: Use lexical-binding.
1297 (describe-text-widget, describe-text-sexp, describe-property-list):
1298 Use closures.
1299 * comint.el (comint-history-isearch-push-state): Use a closure.
1300 * calculator.el: Use lexical-binding.
1301 (calculator-number-to-string): Make it work with lexical-binding.
1302 (calculator-funcall): Same and use cl-letf.
1303
2da4c3ab
SM
1304 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1305 (lisp--company-doc-string, lisp--company-location): New functions.
1306 (lisp-completion-at-point): Use them to improve Company support.
1307
f069bba8
SM
1308 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1309 params of lambda expressions.
1310 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1311 (ruby-smie--opening-pipe-p): New function.
1312 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1313 symbols and matched |...| for formal params.
1314 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1315 from being treated as hanging. Handle "rescue".
1316
6758b6a8
GM
13172013-08-29 Glenn Morris <rgm@gnu.org>
1318
1319 * progmodes/cc-engine.el (c-pull-open-brace):
1320 Move definition before use.
1321
e8dfd197
SM
13222013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1323
1324 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1325 are immutable. Don't use `unsafe' any more.
1326 (cl--defsubst-expand): Don't substitute at the same time as keeping
1327 a residual unused let-binding. Don't use `unsafe' any more.
1328
cc585c96
GM
13292013-08-29 Glenn Morris <rgm@gnu.org>
1330
ba579ea6
GM
1331 * calendar/cal-china.el (calendar-chinese-year-cache):
1332 Recenter on 2015.
1333
8201a87e
GM
1334 * nxml/nxml-util.el (nxml-debug-clear-inside):
1335 Use cl-loop rather than loop.
1336
6ee877c7
GM
1337 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1338
cc585c96
GM
1339 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1340
27be8d39
GM
13412013-08-28 Glenn Morris <rgm@gnu.org>
1342
397440a1
GM
1343 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1344
2bb762d4
GM
1345 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1346
27be8d39
GM
1347 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1348
2d69b99e
SM
13492013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1350
f663baa7
SM
1351 * simple.el (repeat-complex-command--called-interactively-skip):
1352 New function.
1353 (repeat-complex-command): Use it (bug#14136).
1354
dd4f8b74
SM
1355 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1356 (c-define-abbrev-table): Add `doc' argument.
1357 (c-mode-abbrev-table, c++-mode-abbrev-table)
1358 (objc-mode-abbrev-table, java-mode-abbrev-table)
1359 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1360 (awk-mode-abbrev-table): Use it.
1361 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1362 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1363 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1364 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1365 Move initialization into the declaration; and remove any
1366 autoload cookie.
1367
b58969f7
SM
1368 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1369 and dynamic let binding.
1370
4021d6a6
SM
1371 * vc/smerge-mode.el: Remove redundant :group args.
1372
2d69b99e
SM
1373 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1374 to load-path.
1375
274919fd
JL
13762013-08-28 Juri Linkov <juri@jurta.org>
1377
1378 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1379 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1380 (isearch-other-meta-char): Handle an undefined shifted printing
1381 character by downshifting it. (Bug#15200)
1382
121f8c95
JL
13832013-08-28 Juri Linkov <juri@jurta.org>
1384
1385 * isearch.el (isearch-search): Change regexp error message for
1386 non-regexp searches. (Bug#15166)
1387
50b13cde
PE
13882013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1389
1390 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1391 for portability to hosts where /bin/sh has problems.
1392
95888bca
SM
13932013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1394
1395 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1396
bbe558f1
JL
13972013-08-27 Juri Linkov <juri@jurta.org>
1398
1399 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1400 in the keyboard macro. (Bug#15126)
1401
26f98a7d
JL
14022013-08-27 Juri Linkov <juri@jurta.org>
1403
1404 * isearch.el (isearch-quote-char): Comment out converting unibyte
1405 to multibyte, thus syncing with its `quoted-insert' counterpart.
1406 (Bug#15166)
1407
7c97d35e
MR
14082013-08-27 Martin Rudalics <rudalics@gmx.at>
1409
1410 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
1411 argument in call of get-largest-window (Bug#15185).
1412 Reported by Stephen Leake.
7c97d35e 1413
a0b5606e 14142013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
1415
1416 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1417
9e89d835
SM
14182013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1419
1420 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1421 from a matcher-function unless there's no more matches (bug#15161).
1422
78fc2530
MA
14232013-08-26 Michael Albinus <michael.albinus@gmx.de>
1424
1425 * minibuffer.el: Revert change from 2013-08-20.
1426
1427 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1428 with text property `tramp-default', if appropriate.
1429 (tramp-check-proper-host): New defun.
1430 (tramp-dissect-file-name): Do not check hostname. Revert change
1431 of 2013-03-18.
1432 (tramp-backtrace): Make VEC-OR-PROC optional.
1433
1434 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1435 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1436 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
1437 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1438 Apply `tramp-check-proper-host'.
78fc2530 1439
edca97cd
TH
14402013-08-26 Tassilo Horn <tsdh@gnu.org>
1441
1442 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1443 lambda expression in order to have `describe-variable' display it.
1444
df54bcbd
MA
14452013-08-26 Michael Albinus <michael.albinus@gmx.de>
1446
1447 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1448 BUF can be optional. (Bug#15186)
1449
eed99101
XF
14502013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1451
1452 * progmodes/flymake.el (flymake-get-real-file-name-function):
1453 Fix broken customization. (Bug#15184)
1454
b5eb9035
AM
14552013-08-25 Alan Mackenzie <acm@muc.de>
1456
8a51e842
AM
1457 Improve indentation of bracelists defined by macros (without "=").
1458
1459 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1460 expansion begins with "{", regard it as bracelist when it doesn't
1461 contain a ";".
1462
869455d4
AM
1463 Parse C++ inher-intro when there's a template split over 2 lines.
1464
1465 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1466 rigorously the search for "class" etc. followed by ":".
1467
1468 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1469 random languages a regexp which never matches rather than nil.
1470
b5eb9035
AM
1471 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1472
1473 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1474 (c-awk-regexp-one-line-possibly-open-char-list-re)
1475 (c-awk-one-line-possibly-open-regexp-re)
1476 (c-awk-one-line-non-syn-ws*-re): Remove.
1477 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1478 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1479 (c-awk-space*-unclosed-regexp-/-re): New constants.
1480 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1481 aren't regexp delimiters.
1482
1483 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1484 handling for a rare situation in AWK Mode involving unterminated
1485 strings/regexps.
1486
61611d54
GM
14872013-08-23 Glenn Morris <rgm@gnu.org>
1488
2d85dc34
GM
1489 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1490
cb8d2612
GM
1491 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1492
bb35f42f
GM
1493 * files.el (create-file-buffer): If the result would begin with
1494 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 1495
b9808e77
SM
14962013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1497
e3a66363
SM
1498 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1499 text-properties (bug#15155).
1500
b9808e77
SM
1501 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1502 exist any more.
1503 (calc-keypad-redraw): Remove unused var `pad'.
1504 (calc-keypad-press): Remove unused var `menu'.
1505
7fd5f65e
MR
15062013-08-23 Martin Rudalics <rudalics@gmx.at>
1507
b9808e77
SM
1508 * window.el (display-buffer-pop-up-frame):
1509 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
1510 use it as the new frame's buffer (Bug#15133).
1511
8352b530
SM
15122013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1513
1514 * calendar/timeclock.el: Minor cleanups.
1515 (timeclock-ask-before-exiting, timeclock-use-display-time):
1516 Use `symbol'.
1517 (timeclock-modeline-display): Define as alias before the
1518 actual definition.
1519 (timeclock-mode-line-display): Use define-minor-mode.
1520 (timeclock-day-list-template): Make it a function, add an argument.
1521 (timeclock-day-list-required, timeclock-day-list-length)
1522 (timeclock-day-list-debt, timeclock-day-list-span)
1523 (timeclock-day-list-break): Adjust calls accordingly.
1524
9f7b1925
SM
15252013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1526
1527 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1528 Use read--expression so that completion works again.
1529
6e50e983
SS
15302013-08-21 Sam Steingold <sds@gnu.org>
1531
1532 Add rudimentary inferior shell interaction
1533 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1534 (sh-set-shell): Reset it.
9f7b1925
SM
1535 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1536 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 1537
dbb0d350
SM
15382013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1539
1540 * align.el: Use lexical-binding.
1541 (align-region): Simplify accordingly.
1542
c88586a9
MA
15432013-08-20 Michael Albinus <michael.albinus@gmx.de>
1544
1545 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1546
1547 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1548 `non-essential' up.
1549
f95527c8
MA
15502013-08-17 Michael Albinus <michael.albinus@gmx.de>
1551
1552 * net/tramp.el:
1553 * net/tramp-adb.el:
1554 * net/tramp-cmds.el:
1555 * net/tramp-ftp.el:
1556 * net/tramp-gvfs.el:
1557 * net/tramp-gw.el:
1558 * net/tramp-sh.el: Don't wrap external variable declarations by
1559 `eval-when-compile'.
1560
4b5fe4ee
LMI
15612013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1562
1563 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1564 now that Emacs supports ImageMagick animations.
1565
13c366c9
MA
15662013-08-16 Michael Albinus <michael.albinus@gmx.de>
1567
1568 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1569 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1570
3dfc5cd6
MR
15712013-08-16 Martin Rudalics <rudalics@gmx.at>
1572
1573 * window.el (mouse-autoselect-window-select): Do autoselect when
1574 mouse pointer is on margin.
1575
4bbb4381
WP
15762013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1577
1578 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1579
3a2ddc2d
GM
15802013-08-16 Glenn Morris <rgm@gnu.org>
1581
e8bedf5a
GM
1582 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1583 Handle "Remote Directory" response of some clients. (Bug#15058)
1584
58c4682f
GM
1585 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1586 Tweak warning. (Bug#14926)
1587
57953f49
GM
1588 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1589 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1590
3a2ddc2d
GM
1591 * image-mode.el (image-mode-map): Add menu items to reverse,
1592 increase, decrease, reset animation speed.
1593 (image--set-speed, image-increase-speed, image-decrease-speed)
1594 (image-reverse-speed, image-reset-speed): New functions.
1595 (image-mode-map): Add bindings for speed commands.
1596
1597 * image.el (image-animate-get-speed, image-animate-set-speed):
1598 New functions.
1599 (image-animate-timeout): Respect image :speed property.
1600
10fa0ed3
SM
16012013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1604 previous line (bug#15101).
1605 (debugger-eval-expression, debugger-record-expression):
1606 Use read--expression (bug#15102).
1607
5d89d9d2
MA
16082013-08-15 Michael Albinus <michael.albinus@gmx.de>
1609
1610 Remove byte compiler warnings, visible when compiling with
1611 `byte-compile-force-lexical-warnings' set to t.
1612
1613 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1614 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1615 (tramp-handle-unhandled-file-name-directory)
1616 (tramp-handle-file-notify-add-watch, tramp-action-login)
1617 (tramp-action-succeed, tramp-action-permission-denied)
1618 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1619 arguments with "_".
1620
1621 * net/tramp-adb.el (tramp-adb-parse-device-names)
1622 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1623 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1624 (tramp-adb-handle-file-truename): Remove unused arguments.
1625
1626 * net/tramp-cache.el (tramp-flush-directory-property)
1627 (tramp-flush-connection-property, tramp-list-connections)
1628 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1629
10fa0ed3
SM
1630 * net/tramp-compat.el (tramp-compat-make-temp-file):
1631 Rename FILENAME to F.
5d89d9d2
MA
1632
1633 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1634 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1635 (tramp-zeroconf-parse-workstation-device-names)
1636 (tramp-zeroconf-parse-webdav-device-names)
1637 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1638
1639 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1640 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1641
1642 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1643 arguments.
1644 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1645 (tramp-sh-handle-insert-file-contents-literally)
1646 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1647 with "_".
1648 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1649 Remove unused variables.
1650
1651 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1652 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1653 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1654
1655 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1656 Make them a defconst.
1657 (tramp-uuencode-region): Remove unused variable.
1658
62f33bae
JB
16592013-08-14 Juanma Barranquero <lekktu@gmail.com>
1660
1661 * frameset.el (frameset--prop-setter): New function.
1662 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
1663 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1664 parameter was already set in FILTERED. Doc fix.
1665 (frameset--record-minibuffer-relationships): Allow saving a
1666 minibufferless frame without its corresponding minibuffer frame.
1667 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1668 frame, if the frame id matches.
1669 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1670 frames before orphaned ones.
1671 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 1672
c660a885
MR
16732013-08-14 Martin Rudalics <rudalics@gmx.at>
1674
1675 * window.el (window-make-atom): Don't overwrite parameter
1676 already present.
1677 (display-buffer-in-atom-window): Handle special case where we
1678 split an already atomic window.
1679 (window--major-non-side-window, display-buffer-in-side-window)
1680 (window--side-check): Ignore minibuffer window when walking
1681 window tree.
1682 (window-deletable-p): Return 'frame only if no other frame uses
1683 our minibuffer window.
1684 (record-window-buffer): Run buffer-list-update-hook.
1685 (split-window): Make sure window--check-frame won't destroy an
1686 existing atomic window in case the new window gets nested
1687 inside.
1688 (display-buffer-at-bottom): Ignore minibuffer window when
1689 walking window tree. Don't split a side window.
1690 (pop-to-buffer): Don't set-buffer here, the select-window call
1691 should do that.
1692 (mouse-autoselect-window-select): Autoselect only if we are in the
1693 text portion of the window.
1694
8259030d
LMI
16952013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1696
21c58ae2
LMI
1697 * net/shr.el (shr-parse-image-data): New function to grab both the
1698 data itself and the Content-Type.
1699 (shr-put-image): Use it.
1700
1701 * net/eww.el (eww-display-image): Ditto.
1702
8259030d
LMI
1703 * image.el (image-content-type-suffixes): New variable.
1704
ad756449
FEG
17052013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1706
1707 * progmodes/python.el (python-imenu--build-tree)
1708 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1709
f73f4ce6
XF
17102013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1711
1712 * simple.el (backward-word): Mention the optional argument.
1713
1f585e65
SM
17142013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1715
1716 * frameset.el (frameset--make): Rename constructor from make-frameset.
1717 (frameset-p, frameset-valid-p): Don't autoload.
1718 (frameset-valid-p): Use normal accessors.
1719
af1c6c84
GM
17202013-08-13 Glenn Morris <rgm@gnu.org>
1721
55e47f95
GM
1722 * progmodes/compile.el (compile-command): Tweak example in doc.
1723 * obsolete/scribe.el (scribe-mode):
1724 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1725
f0024d8c
GM
1726 * mail/feedmail.el (feedmail-confirm-outgoing)
1727 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1728
1729 * cus-start.el (truncate-partial-width-windows): Fix type.
1730
1731 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1732
af1c6c84
GM
1733 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1734
5514cc4c
SM
17352013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1736
1737 * emacs-lisp/timer.el (timer--time-setter): New function.
1738 (timer--time): Use it as gv-setter.
1739
1740 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1741 setter is not a symbol.
1742
7997a2f1
GJ
17432013-08-12 Grégoire Jadi <daimrod@gmail.com>
1744
1745 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1746 if sending fails. This makes debugging easier.
1747
01f1a9ab
JB
17482013-08-12 Juanma Barranquero <lekktu@gmail.com>
1749
1750 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1751 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1752 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1753
594a4307
EZ
17542013-08-12 Eli Zaretskii <eliz@gnu.org>
1755
1756 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1757
7a22490f 17582013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
1759
1760 * format.el (format-annotate-function):
1761 Handle read-only text properties in the source. (Bug#14887)
1762
3e41a054
LMI
17632013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1764
5514cc4c
SM
1765 * net/eww.el (eww-display-html): Ignore coding system errors.
1766 One web site uses "utf-8lias" as the coding system.
3e41a054 1767
7ec326db
JB
17682013-08-11 Juanma Barranquero <lekktu@gmail.com>
1769
1770 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1771
5660113b
JB
17722013-08-10 Juanma Barranquero <lekktu@gmail.com>
1773
9a4ebc74
JB
1774 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1775 (tutorial--detailed-help): Remove unused local variables.
1776 (tutorial--save-tutorial-to): Use ignore-errors.
1777 (help-with-tutorial): Use looking-at-p.
1778
1779 * view.el (view-buffer-other-window, view-buffer-other-frame):
1780 Mark unused arguments.
1781
1782 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1783 (woman-select-symbol-fonts, woman, woman-find-file)
1784 (woman-insert-file-contents, woman-non-underline-faces):
1785 Use string-match-p.
1786 (woman1-unquote): Move declaration.
1787
1788 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1789 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1790 argument. Remove unused local variable.
1791 (xml-parse-elem-type): Use string-match-p.
1792 (xml-substitute-numeric-entities): Use ignore-errors.
1793
45fdb482
JB
1794 * calculator.el (calculator): Mark unused argument.
1795 (calculator-paste, calculator-quit, calculator-integer-p):
1796 Use ignore-errors.
1797 (calculator-string-to-number, calculator-decimal, calculator-exp)
1798 (calculator-op-or-exp): Use string-match-p.
1799
1800 * dired.el (dired-buffer-more-recently-used-p): Declare.
1801 (dired-insert-set-properties, dired-insert-old-subdirs):
1802 Use ignore-errors.
1803
1804 * dired-aux.el (dired-compress): Use ignore-errors.
1805 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1806 (dired-do-async-shell-command, dired-do-shell-command)
1807 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1808 (dired-insert-subdir-validate): Use string-match-p.
1809 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1810 (dired-add-entry): Use string-match-p, looking-at-p.
1811 (dired-insert-subdir-newpos): Remove unused local variable.
1812
1813 * filenotify.el (file-notify-callback): Remove unused local variable.
1814
1815 * filesets.el (filesets-error): Mark unused argument.
1816 (filesets-which-command-p, filesets-filter-dir-names)
1817 (filesets-directory-files, filesets-get-external-viewer)
1818 (filesets-ingroup-get-data): Use string-match-p.
1819
1820 * find-file.el (ff-other-file-name, ff-other-file-name)
1821 (ff-find-the-other-file, ff-cc-hh-converter):
1822 Remove unused local variables.
1823 (ff-get-file-name): Use string-match-p.
1824 (ff-all-dirs-under): Use ignore-errors.
1825
1826 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1827 (follow-select-if-visible): Remove unused local variable.
1828
1829 * forms.el (read-file-filter): Move declaration.
1830 (forms--make-format, forms--make-parser, forms-insert-record):
1831 Quote function with #'.
1832 (forms--update): Use string-match-p. Quote function with #'.
1833
1834 * help-mode.el (help-dir-local-var-def): Mark unused argument.
1835 (help-make-xrefs): Use looking-at-p.
1836 (help-xref-on-pp): Use looking-at-p, ignore-errors.
1837
1838 * ibuffer.el (ibuffer-ext-visible-p): Declare.
1839 (ibuffer-confirm-operation-on): Use string-match-p.
1840
1841 * msb.el (msb-item-handler, msb-dired-item-handler):
1842 Mark unused arguments.
1843
1844 * ses.el (ses-decode-cell-symbol)
1845 (ses-kill-override): Remove unused local variable.
1846 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1847 (ses-load): Use ignore-errors, looking-at-p.
1848 (ses-jump-safe): Use ignore-errors.
1849 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1850
1851 * tabify.el (untabify, tabify): Mark unused arguments.
1852
1853 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1854 Mark unused argument.
1855 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1856 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1857
c880af52
JB
1858 * emacs-lisp/timer.el (timer--time): Define setter with
1859 gv-define-setter to avoid deprecation warning.
1860
5660113b 1861 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 1862 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
1863 (cmpl-statistics-block): Remove (body was commented out).
1864 All callers changed.
1865 (add-completions-from-buffer, load-completions-from-file):
1866 Remove unused variables.
1867
156aab80
JB
18682013-08-09 Juanma Barranquero <lekktu@gmail.com>
1869
5c5dee78
JB
1870 * filecache.el (file-cache-delete-file-list):
1871 Print message only when told so.
1872 (file-cache-files-matching): Use #' in mapconcat argument.
1873
156aab80
JB
1874 * ffap.el (ffap-url-at-point): Fix reference to variable
1875 thing-at-point-default-mail-uri-scheme.
1876
ad9dcd70
SM
18772013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1878
54bd972f
SM
1879 * subr.el (define-error): New function.
1880 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
1881 error-file-not-found and define with define-error.
1882 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
1883 and define with define-error.
1884 * userlock.el (file-locked, file-supersession):
1885 * simple.el (mark-inactive):
1886 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
1887 * progmodes/ada-mode.el (ada-mode-errors):
1888 * play/life.el (life-extinct):
1889 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
1890 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
1891 * nxml/rng-util.el (rng-error):
1892 * nxml/rng-uri.el (rng-uri-error):
1893 * nxml/rng-match.el (rng-compile-error):
1894 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
1895 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
1896 * nxml/nxml-rap.el (nxml-scan-error):
1897 * nxml/nxml-outln.el (nxml-outline-error):
1898 * net/soap-client.el (soap-error):
1899 * net/gnutls.el (gnutls-error):
1900 * net/ange-ftp.el (ftp-error):
1901 * mpc.el (mpc-proc-error):
1902 * json.el (json-error, json-readtable-error, json-unknown-keyword)
1903 (json-number-format, json-string-escape, json-string-format)
1904 (json-key-format, json-object-format):
1905 * jka-compr.el (compression-error):
1906 * international/quail.el (quail-error):
1907 * international/kkc.el (kkc-error):
1908 * emacs-lisp/ert.el (ert-test-failed):
1909 * calc/calc.el (calc-error, inexact-result, math-overflow)
1910 (math-underflow):
1911 * bookmark.el (bookmark-error-no-filename):
1912 * epg.el (epg-error): Define with define-error.
1913
0ea9e53a
SM
1914 * time.el (display-time-event-handler)
1915 (display-time-next-load-average): Don't call sit-for since it seems
1916 unnecessary (bug#15045).
1917
b0429158
SM
1918 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
1919 Use #' instead of ' to quote functions.
1920 (checkdoc-output-mode): Use setq-local.
1921 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
1922 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
1923 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
1924 (checkdoc-ispell, checkdoc-ispell-current-buffer)
1925 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
1926 (checkdoc-ispell-message-text, checkdoc-ispell-start)
1927 (checkdoc-ispell-continue, checkdoc-ispell-comments)
1928 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
1929
ad9dcd70
SM
1930 * ido.el (ido-completion-help): Fix up compiler warning.
1931
77187e6f
JB
19322013-08-09 Juanma Barranquero <lekktu@gmail.com>
1933
1934 * frameset.el (frameset-p): Add autoload cookie.
1935 (frameset--jump-to-register): New function, based on code moved from
1936 register.el.
1937 (frameset-to-register): Move from register.el. Adapt to `registerv'.
1938
1939 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
1940 (frameset-restore, frameset-save, frameset-session-filter-alist):
1941 Remove declarations.
1942 (register-alist): Doc fix.
1943 (frameset-to-register): Move to frameset.el.
1944 (jump-to-register, describe-register-1): Remove frameset-specific code.
1945
9d3aa82c
JB
19462013-08-08 Juanma Barranquero <lekktu@gmail.com>
1947
1948 * allout-widgets.el (allout-widgets-pre-command-business)
1949 (allout-widgets-post-command-business)
1950 (allout-widgets-after-change-handler)
1951 (allout-decorate-item-and-context, allout-set-boundary-marker)
1952 (allout-body-modification-handler)
1953 (allout-graphics-modification-handler): Mark ignored arguments.
1954 (allout-widgets-post-command-business)
1955 (allout-widgets-exposure-change-processor)
1956 (allout-widgets-exposure-undo-processor)
1957 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
1958 (allout-parse-item-at-point, allout-decorate-item-guides)
1959 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
1960 * allout.el (epa-passphrase-callback-function): Declare.
1961 (allout-overlay-insert-in-front-handler)
1962 (allout-overlay-interior-modification-handler)
1963 (allout-isearch-end-handler, allout-chart-siblings)
1964 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
1965 (allout-yank-processing, allout-process-exposed)
1966 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 1967 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
1968 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
1969 (lisp-indent-defform): Mark ignored arguments.
1970 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
1971 (calculate-lisp-indent): Remove unused variables.
1972 * international/characters.el (indian-2-column, arabic-2-column)
1973 (tibetan): Mark ignored arguments.
1974 (use-cjk-char-width-table): Mark ignored arguments.
1975 Remove unused variables.
1976 * international/fontset.el (build-default-fontset-data)
1977 (x-compose-font-name, create-fontset-from-fontset-spec):
1978 Mark ignored arguments.
1979 (fontset-plain-name): Remove unused variables.
1980 * international/mule.el (charset-id, charset-bytes, generic-char-p)
1981 (keyboard-coding-system): Mark ignored arguments.
1982 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
1983 * help.el (resize-temp-buffer-window):
1984 * window.el (display-buffer-in-major-side-window)
1985 (display-buffer-in-side-window, display-buffer-in-previous-window):
1986 Remove unused variables.
1987 * isearch.el (isearch-forward-symbol):
1988 * version.el (emacs-bzr-version-bzr):
1989 * international/mule-cmds.el (current-language-environment):
1990 * term/common-win.el (x-handle-iconic, x-handle-geometry)
1991 (x-handle-display):
1992 * term/pc-win.el (x-list-fonts, x-display-planes)
1993 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
1994 (x-server-version, x-display-screens, x-display-mm-height)
1995 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
1996 (x-selection-owner-p, x-own-selection-internal)
1997 (x-disown-selection-internal, x-get-selection-internal)
1998 (msdos-initialize-window-system):
1999 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2000 * term/x-win.el (x-handle-no-bitmap-icon):
2001 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2002 (vc-default-find-file-hook, vc-default-extra-menu):
2003 Mark ignored arguments.
2004
0ca3f70e
SM
20052013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2006
2007 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2008 break-condition in the context of the debugged code (bug#12685).
2009
74c5d24c
CS
20102013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2011
2012 * comint.el:
2013 Do not use an overlay to highlight the last prompt. (Bug#14744)
2014 (comint-mode): Make comint-last-prompt buffer local.
2015 (comint-last-prompt): New variable.
2016 (comint-last-prompt-overlay): Remove. Superseded by
2017 comint-last-prompt.
0ca3f70e
SM
2018 (comint-snapshot-last-prompt, comint-output-filter):
2019 Use comint-last-prompt.
74c5d24c 2020
c03c02ee
JB
20212013-08-08 Juanma Barranquero <lekktu@gmail.com>
2022
a3738d20 2023 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
2024 (frameset-save): Check validity of the resulting frameset.
2025
04263d23
XF
20262013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2027
2028 * ido.el (ido-record-command): Add doc string.
2029
76c5e5ab
JB
20302013-08-08 Juanma Barranquero <lekktu@gmail.com>
2031
2032 * frameset.el (frameset): Do not disable creation of the default
2033 frameset-p predicate. Doc fix.
2034 (frameset-valid-p): New function, copied from the old predicate-p.
2035 Add additional checks.
2036 (frameset-restore): Check with frameset-valid-p.
2037 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2038 (frameset-name, frameset-description, frameset-properties)
2039 (frameset-states): Add docstring.
f9dbf1cb
JB
2040 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2041 (frameset-filter-alist): Doc fixes.
76c5e5ab 2042
bd0c3c0b
JB
20432013-08-08 Juanma Barranquero <lekktu@gmail.com>
2044
2045 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2046
c735544c
SM
20472013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2050 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2051 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2052 (byte-compile-normal-call): Remove obsolescence check.
2053
2805a651
JB
20542013-08-08 Juanma Barranquero <lekktu@gmail.com>
2055
3677ffeb
JB
2056 * frameset.el (frameset-restore): Doc fix.
2057
2805a651
JB
2058 * register.el (frameset-frame-id, frameset-frame-with-id)
2059 (frameset-p, frameset-restore, frameset-save): Declare.
2060 (register-alist): Document framesets.
2061 (frameset-session-filter-alist): Declare.
2062 (frameset-to-register): New function.
2063 (jump-to-register): Implement jumping to framesets. Doc fix.
2064 (describe-register-1): Describe framesets.
2065
2066 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2067
a912c016
JB
20682013-08-07 Juanma Barranquero <lekktu@gmail.com>
2069
2070 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2071 Use lexical-binding.
2072
2073 * frameset.el (frameset): Use type vector, not list (incompatible
2074 change). Do not declare a new constructor, use the default one.
2075 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2076 `name' and `description', respectively, and add read-only slot
2077 `timestamp'. Doc fixes.
2078 (frameset-copy, frameset-persistent-filter-alist)
2079 (frameset-filter-alist, frameset-switch-to-gui-p)
2080 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2081 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2082 (frameset-filter-iconified, frameset-keep-original-display-p):
2083 Doc fixes.
2084 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2085 Rename from frameset-filter-(save|restore)-param. All callers changed.
2086 Doc fix.
2087 (frameset-p): Adapt to change to vector and be more thorough.
2088 Change arg name to OBJECT. Doc fix.
2089 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2090 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2091 All callers changed.
2092 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2093 All callers changed.
2094 (frameset--record-minibuffer-relationships): Rename from
2095 frameset--process-minibuffer-frames. All callers changed.
2096 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2097 Use new default constructor (again). Doc fix.
2098 (frameset--find-frame-if): Rename from `frameset--find-frame.
2099 All callers changed.
2100 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2101 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2102 Doc fix.
2103 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2104 PARAMETERS and WINDOW-STATE, respectively.
2105 (frameset-restore): Add new keyword argument PREDICATE.
2106 Reset frameset--target-display to nil. Doc fix.
2107
bb41480a
SM
21082013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2109
f001e98e
SM
2110 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2111 (bat-mode): Use it.
2112 (bat-mode-syntax-table): Mark \n as end-of-comment.
2113 (bat-font-lock-keywords): Remove comment rule.
2114
7679edb1
SM
2115 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2116 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2117
bb41480a
SM
2118 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2119 (byte-compile-callargs-warn): Use `push'.
2120 (byte-compile-arglist-warn): Ignore higher-order "calls".
2121 (byte-compile-file-form-autoload): Use `pcase'.
2122 (byte-compile-function-form): If quoting a symbol, check that it exists.
2123
cdc1ebb9
EZ
21242013-08-07 Eli Zaretskii <eliz@gnu.org>
2125
2126 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2127 and add a few popular commands found in batch files.
2128 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2129 (dos-mode): Doc fixes.
2130
312b1740
SM
21312013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2132
2133 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2134 (dos-mode): Use setq-local. Add space after "rem".
2135 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2136 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2137
400a3178
AM
21382013-08-07 Arni Magnusson <arnima@hafro.is>
2139
2140 * progmodes/dos.el: New file.
2141 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2142 dos-mode.
2143
3b5c03d3
GM
21442013-08-06 Glenn Morris <rgm@gnu.org>
2145
2146 * calendar/calendar.el: Add new faces, and day-header-array.
2147 (calendar-weekday-header, calendar-weekend-header)
2148 (calendar-month-header): New faces.
2149 (calendar-day-header-construct): New function.
2150 (calendar-day-header-width): Also :set calendar-day-header-array.
2151 (calendar-american-month-header, calendar-european-month-header)
2152 (calendar-iso-month-header): Use calendar- faces.
2153 (calendar-generate-month):
2154 Use calendar-day-header-array for day headers; apply faces to them.
2155 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2156 (calendar-abbrev-construct): Add optional maxlen argument.
2157 (calendar-day-name-array): Doc fix.
2158 (calendar-day-name-array, calendar-abbrev-length)
2159 (calendar-day-abbrev-array):
2160 Also :set calendar-day-header-array, and maybe redraw.
2161 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 2162 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
2163 (calendar-day-name): Add option to use header array.
2164
ec6a2d7a
LMI
21652013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2166
2167 * net/shr.el (shr-render-td): Remove debugging.
2168 (shr-render-td): Make width computation consistent by defaulting
2169 all zero-width columns to 10 characters. This may not be optimal,
2170 but it's at least consistent.
2122cb6d
LMI
2171 (shr-make-table-1): Redo last change to fix the real problem in
2172 colspan handling.
ec6a2d7a 2173
ed4fd9c5
DA
21742013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2175
0ca3f70e
SM
2176 * files.el (cache-long-line-scans):
2177 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 2178
64e22afe
JB
21792013-08-06 Juanma Barranquero <lekktu@gmail.com>
2180
024b38fc
JB
2181 * frameset.el (frameset, frameset-filter-alist)
2182 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2183 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2184 (frameset-compute-pos): Rename from frameset--compute-pos,
2185 and add docstring.
2186 (frameset-move-onscreen): Use frameset-compute-pos.
2187 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2188
64e22afe
JB
2189 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2190 Fix typos in docstrings.
2191
c8c2aca8
DA
21922013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2193
2194 * frame.el (get-other-frame): Tiny cleanup.
2195
1d237bba
JB
21962013-08-06 Juanma Barranquero <lekktu@gmail.com>
2197
8951efef
JB
2198 * vc/vc.el (vc-default-ignore-completion-table):
2199 Silence byte-compiler warning.
2200
307764cc
JB
2201 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2202 slot , which can indeed be nil.
2203 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2204 Move entry for `left' from persistent to live filter alist.
2205 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2206 Doc fixes.
2207 (frameset-filter-params): When restoring a frame, copy items added to
2208 `filtered', to avoid unwittingly modifying the original parameters.
2209 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2210 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2211
1d237bba
JB
2212 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2213 to use looking-at-p instead of looking-at. (Bug#15028)
2214
dc6c0eda
SM
22152013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2216
2217 Revert introduction of isearch-filter-predicates (bug#14714).
2218 Rely on add-function instead.
2219 * isearch.el (isearch-filter-predicates): Rename it back to
2220 isearch-filter-predicate.
2221 (isearch-message-prefix): Use advice-function-mapc and advice
2222 properties to get the isearch-message-prefix.
2223 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2224 instead of run-hook-with-args-until-failure.
2225 (isearch-filter-visible): Not obsolete any more.
2226 * loadup.el: Preload nadvice.
2227 * replace.el (perform-replace): Revert to funcall
2228 instead of run-hook-with-args-until-failure.
2229 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2230 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2231 dired-isearch-filenames-toggle; make it into a proper minor mode.
2232 Use add/remove-function.
2233 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2234 Call the minor-mode rather than add/remove-hook.
2235 (dired-isearch-filter-filenames):
2236 Remove isearch-message-prefix property.
2237 * info.el (Info--search-loop): New function, extracted from Info-search.
2238 Funcall isearch-filter-predicate instead of
2239 run-hook-with-args-until-failure isearch-filter-predicates.
2240 (Info-search): Use it.
2241 (Info-mode): Use isearch-filter-predicate instead of
2242 isearch-filter-predicates.
2243
290d5b58
DA
22442013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2245
2246 Do not call to `selected-window' where it is assumed by default.
2247 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2248 `window-hscroll', `window-width', `window-height', `window-buffer',
2249 `window-frame', `window-start', `window-point', `next-window'
2250 and `window-display-table'.
2251 * abbrev.el (abbrev--default-expand):
2252 * bs.el (bs--show-with-configuration):
2253 * buff-menu.el (Buffer-menu-mouse-select):
2254 * calc/calc.el (calc):
2255 * calendar/calendar.el (calendar-generate-window):
2256 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2257 (diary-make-entry):
2258 * comint.el (send-invisible, comint-dynamic-complete-filename)
2259 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2260 * completion.el (complete):
2261 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2262 * disp-table.el (describe-current-display-table):
2263 * doc-view.el (doc-view-insert-image):
2264 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2265 * ehelp.el (with-electric-help):
2266 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2267 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2268 * emacs-lisp/helper.el (Helper-help-scroller):
2269 * emulation/cua-base.el (cua--post-command-handler-1):
2270 * eshell/esh-mode.el (eshell-output-filter):
2271 * ffap.el (ffap-gnus-wrapper):
2272 * help-macro.el (make-help-screen):
2273 * hilit-chg.el (highlight-compare-buffers):
2274 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2275 * hl-line.el (global-hl-line-highlight):
2276 * icomplete.el (icomplete-simple-completing-p):
2277 * isearch.el (isearch-done):
2278 * jit-lock.el (jit-lock-stealth-fontify):
2279 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2280 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2281 * mpc.el (mpc-tagbrowser, mpc):
2282 * net/rcirc.el (rcirc-any-buffer):
2283 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2284 * play/landmark.el (landmark-max-width, landmark-max-height):
2285 * play/zone.el (zone):
2286 * progmodes/compile.el (compilation-goto-locus):
2287 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2288 * progmodes/etags.el (find-tag-other-window):
2289 * progmodes/fortran.el (fortran-column-ruler):
2290 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2291 * progmodes/verilog-mode.el (verilog-point-text):
2292 * reposition.el (reposition-window):
2293 * rot13.el (toggle-rot13-mode):
2294 * server.el (server-switch-buffer):
2295 * shell.el (shell-dynamic-complete-command)
2296 (shell-dynamic-complete-environment-variable):
2297 * simple.el (insert-buffer, set-selective-display)
2298 (delete-completion-window):
2299 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2300 (speedbar-recenter):
2301 * startup.el (fancy-splash-head):
2302 * textmodes/ispell.el (ispell-command-loop):
2303 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2304 * tutorial.el (help-with-tutorial):
2305 * vc/add-log.el (add-change-log-entry):
2306 * vc/compare-w.el (compare-windows):
2307 * vc/ediff-help.el (ediff-indent-help-message):
2308 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2309 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2310 (ediff-setup-control-frame):
2311 * vc/emerge.el (emerge-position-region):
2312 * vc/pcvs-util.el (cvs-bury-buffer):
2313 * window.el (walk-windows, mouse-autoselect-window-select):
2314 * winner.el (winner-set-conf, winner-undo): Related users changed.
2315
38276e01
JB
23162013-08-05 Juanma Barranquero <lekktu@gmail.com>
2317
2318 * frameset.el (frameset--set-id): Doc fix.
2319 (frameset-frame-id, frameset-frame-id-equal-p)
2320 (frameset-locate-frame-id): New functions.
2321 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2322 (frameset-restore): Use them.
2323
12b4c0ea
DA
23242013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2325
2326 Do not call to `selected-frame' where it is assumed by default.
2327 Affected functions are `raise-frame', `redraw-frame',
2328 `frame-first-window', `frame-terminal' and `delete-frame'.
2329 * calendar/appt.el (appt-disp-window):
2330 * epg.el (epg-wait-for-completion):
2331 * follow.el (follow-delete-other-windows-and-split)
2332 (follow-avoid-tail-recenter):
2333 * international/mule.el (set-terminal-coding-system):
2334 * mail/rmail.el (rmail-mail-return):
2335 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2336 * progmodes/f90.el (f90-add-imenu-menu):
2337 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2338 * server.el (server-switch-buffer):
2339 * simple.el (delete-completion-window):
2340 * talk.el (talk):
2341 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2342 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2343 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2344 * vc/ediff.el (ediff-documentation): Related users changed.
2345 * frame.el (selected-terminal): Remove the leftover.
2346
17f25e76
GM
23472013-08-05 Glenn Morris <rgm@gnu.org>
2348
2349 * calendar/calendar.el (calendar-generate-month):
2350 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
2351 (calendar-generate-month, calendar-font-lock-keywords):
2352 Fix for calendar-day-header-width > length of any day name.
17f25e76 2353
063233c3
JB
23542013-08-05 Juanma Barranquero <lekktu@gmail.com>
2355
2356 * desktop.el (desktop-clear): Use new name of sort predicate.
2357
2358 * frameset.el (frameset): Add docstring. Move :version property to its
2359 own `version' slot.
2360 (frameset-copy): Rename from copy-frameset.
2361 (frameset-p): Check more thoroughly.
2362 (frameset-prop): Do not check for :version, which is no longer a prop.
2363 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2364 Use new :never value instead of t.
2365 (frameset-filter-alist): Expand and clarify docstring.
2366 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2367 (frameset-filter-minibuffer, frameset-filter-save-param)
2368 (frameset-filter-restore-param, frameset-filter-iconified):
2369 Add pointer to docstring of frameset-filter-alist.
2370 (frameset-filter-params): Rename filter values to be more meaningful:
2371 :never instead of t, and reverse the meanings of :save and :restore.
2372 (frameset--process-minibuffer-frames): Clarify error message.
2373 (frameset-save): Avoid unnecessary and confusing call to framep.
2374 Use new BOA constructor for framesets.
2375 (frameset--reuse-list): Doc fix.
2376 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2377 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2378 (frameset-minibufferless-first-p): Doc fix.
2379 Rename from frameset-sort-frames-for-deletion.
2380 (frameset-restore): Doc fixes. Use new function names.
2381 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2382
d5671a82
JB
23832013-08-04 Juanma Barranquero <lekktu@gmail.com>
2384
2385 * desktop.el (desktop-restore-forces-onscreen)
2386 (desktop-restore-reuses-frames): Document :keyword constant values.
2387 (desktop-filter-parameters-alist): Remove, now identical to
2388 frameset-filter-alist.
2389 (desktop--filter-tty*): Remove, moved to frameset.el.
2390 (desktop-save-frameset, desktop-restore-frameset):
2391 Do not pass :filters argument.
2392
2393 * frameset.el (frameset-live-filter-alist)
2394 (frameset-persistent-filter-alist): New variables.
2395 (frameset-filter-alist): Use them. Add autoload cookie.
2396 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2397 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2398 `frameset--id' (it's supposed to be internal to frameset.el).
2399 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2400 (frameset--initial-params): New function.
2401 (frameset--get-frame): Use it. Doc fix.
2402 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2403 Accept :all, not 'all.
2404 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2405 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2406 with fbound symbols. Fix frame id matching, and remove matching ids if
2407 the frame being restored is deleted. Obey :delete.
2408
671d5c16
SM
24092013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2410
2411 * subr.el (macrop): New function.
2412 (text-clone--maintaining): New var.
2413 (text-clone--maintain): Rename from text-clone-maintain. Use it
2414 instead of inhibit-modification-hooks.
2415
2416 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2417 a proxy, so as handle autoloads and redefinitions of the target.
2418 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2419
2420 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2421 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2422 (pcase--mutually-exclusive-p): New function.
2423 (pcase--split-consp): Use it.
2424 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2425 mutually exclusive with the current predicate.
2426
2427 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2428 (edebug-macrop): Remove. Use `macrop' instead.
2429 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2430 (ad-macro-p):
2431 * eshell/esh-cmd.el (eshell-macrop):
2432 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2433
1d44e9dc
SM
24342013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2435
2436 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2437 (advice-mapc): New function, using it.
2438 (advice-function-member-p): New function.
2439 (advice--normalize): Store the cdr in advice--saved-rewrite since
2440 that's the part that will be changed.
2441 (advice--symbol-function): New function.
2442 (advice-remove): Handle removal before the function is defined.
2443 Adjust to new advice--saved-rewrite.
2444 (advice-member-p): Use advice-function-member-p and
2445 advice--symbol-function.
2446
5414a283
JB
24472013-08-04 Juanma Barranquero <lekktu@gmail.com>
2448
51d30f2c
JB
2449 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2450 (frameset-filter-minibuffer): Doc fix.
2451 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
2452 (frameset--set-id, frameset--process-minibuffer-frames)
2453 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2454 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 2455
5414a283
JB
2456 * desktop.el (desktop-clear): Only delete frames when called
2457 interactively and desktop-restore-frames is non-nil. Doc fix.
2458 (desktop-read): Set desktop-saved-frameset to nil.
2459
ab419665
XF
24602013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2461
2462 * vc/vc.el (vc-ignore): Rewrite.
2463 (vc-default-ignore-completion-table):
2464 (vc--read-lines):
2465 (vc--add-line, vc--remove-regexp): New functions.
2466
2467 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2468 (vc-svn-ignore-completion-table): New function.
2469
2470 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2471 (vc-hg-ignore-completion-table):
2472 (vc-hg-find-ignore-file): New functions.
2473
2474 * vc/vc-git.el (vc-git-ignore): Rewrite.
2475 (vc-git-ignore-completion-table):
2476 (vc-git-find-ignore-file): New functions.
2477
2478 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2479
2480 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2481 (vc-bzr-ignore-completion-table):
2482 (vc-bzr-find-ignore-file): New functions.
2483
2613dea2
JB
24842013-08-03 Juanma Barranquero <lekktu@gmail.com>
2485
2486 * frameset.el (frameset-prop): New function and setter.
2487 (frameset-save): Do not modify frame list passed by the caller.
2488
9c959872
SM
24892013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2492
a104f656
SM
24932013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2494
70122acf
SM
2495 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2496 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2497
a104f656
SM
2498 * custom.el (custom-initialize-default, custom-initialize-set)
2499 (custom-initialize-reset, custom-initialize-changed): Affect the
2500 toplevel-default-value (bug#6275, bug#14586).
2501 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2502 for bug#6275.
2503
f078d570
JB
25042013-08-02 Juanma Barranquero <lekktu@gmail.com>
2505
185e3b5a
JB
2506 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2507 Add cl-def* expressions.
2508
f078d570
JB
2509 * frameset.el (frameset-filter-params): Fix order of arguments.
2510
9421876d
JB
25112013-08-02 Juanma Barranquero <lekktu@gmail.com>
2512
2513 Move code related to saving frames to frameset.el.
2514 * desktop.el: Require frameset.
2515 (desktop-restore-frames): Doc fix.
2516 (desktop-restore-reuses-frames): Rename from
2517 desktop-restoring-reuses-frames.
2518 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2519 (desktop-clear): Clear frames too.
2520 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2521 (desktop--filter-tty*, desktop-save, desktop-read):
2522 Use frameset functions.
2523 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2524 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2525 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2526 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2527 (desktop--process-minibuffer-frames, desktop-save-frames)
2528 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2529 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2530 (desktop--sort-states, desktop-restoring-frames-p)
2531 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2532 (desktop-restoring-frameset-p, desktop-restore-frameset)
2533 (desktop--check-dont-save, desktop-save-frameset): New functions.
2534 (desktop--app-id): New constant.
2535 (desktop-first-buffer, desktop-buffer-ok-count)
2536 (desktop-buffer-fail-count): Move before first use.
2537 * frameset.el: New file.
2538
76dc5996
SM
25392013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * files.el: Use lexical-binding.
2542 (dir-locals-read-from-file): Remove unused `err' variable.
2543 (hack-dir-local-variables--warned-coding): New var.
2544 (hack-dir-local-variables): Use it to avoid repeated warnings.
2545 (make-backup-file-name--default-function): New function.
2546 (make-backup-file-name-function): Use it as default.
2547 (buffer-stale--default-function): New function.
2548 (buffer-stale-function): Use it as default.
2549 (revert-buffer-insert-file-contents--default-function): New function.
2550 (revert-buffer-insert-file-contents-function): Use it as default.
2551 (insert-directory): Avoid add-to-list.
2552
2553 * autorevert.el (auto-revert-handler): Simplify.
2554 Use buffer-stale--default-function.
2555
06d36e2b
TH
25562013-08-01 Tassilo Horn <tsdh@gnu.org>
2557
5f648ab4
TH
2558 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2559
06d36e2b
TH
2560 * whitespace.el (whitespace-ensure-local-variables): New function.
2561 (whitespace-cleanup-region): Call it.
2562 (whitespace-turn-on): Call it.
2563
a43dc424
MA
25642013-08-01 Michael Albinus <michael.albinus@gmx.de>
2565
2566 Complete file name handlers.
2567
2568 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2569 (tramp-handle-verify-visited-file-modtime)
2570 (tramp-handle-file-notify-rm-watch): New functions.
2571 (tramp-call-process): Do not bind `default-directory'.
2572
44e18199
JB
2573 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2574 Order alphabetically.
a43dc424
MA
2575 [access-file, add-name-to-file, dired-call-process]:
2576 [dired-compress-file, file-acl, file-notify-rm-watch]:
2577 [file-ownership-preserved-p, file-selinux-context]:
2578 [make-directory-internal, make-symbolic-link, set-file-acl]:
2579 [set-file-selinux-context, set-visited-file-modtime]:
2580 [verify-visited-file-modtime]: Add handler.
2581 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2582
2583 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2584 [file-notify-add-watch, file-notify-rm-watch]:
2585 [set-file-times, set-visited-file-modtime]:
2586 [verify-visited-file-modtime]: Add handler.
2587 (with-tramp-gvfs-error-message)
2588 (tramp-gvfs-handle-set-visited-file-modtime)
2589 (tramp-gvfs-fuse-file-name): Remove.
2590 (tramp-gvfs-handle-file-notify-add-watch)
2591 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2592 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2593
44e18199
JB
2594 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2595 Order alphabetically.
a43dc424
MA
2596 [file-notify-rm-watch ]: Use default Tramp handler.
2597 [executable-find]: Remove private handler.
2598 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2599 `default-directory'.
2600 (tramp-sh-handle-executable-find)
2601 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2602 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2603 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2604 Do not use `format' in `tramp-message'.
2605
2606 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2607 [file-notify-rm-watch, set-visited-file-modtime]:
2608 [verify-visited-file-modtime]: Add handler.
2609 (tramp-smb-call-winexe): Do not bind `default-directory'.
2610
7188b515
XF
26112013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2612
2613 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2614
2412ee1a
DG
26152013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2616
2617 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2618 use it.
2619 (log-view-diff-changeset): Same.
2620 (log-view-diff-common): Call backend command `previous-revision'
2621 to find out the previous revision, in both cases. Swap the
2622 variables `to' and `fr', so that `fr' usually refers to the
2623 earlier revision (Bug#14989).
2624
5002a754
KRC
26252013-07-31 Kan-Ru Chen <kanru@kanru.info>
2626
2627 * ibuf-ext.el (ibuffer-filter-by-filename):
2628 Make it work with dired buffers too.
2629
44e18199 26302013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
2631
2632 * emacs-lisp/re-builder.el (reb-color-display-p):
2633 * files.el (save-buffers-kill-terminal):
2634 * net/browse-url.el (browse-url):
2635 * server.el (server-save-buffers-kill-terminal):
2636 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2637 Prefer nil to selected-frame for the first arg of frame-parameter.
2638
aeca3fbb
XF
26392013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2640
2641 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2642
158bc55c
SB
26432013-07-30 Stephen Berman <stephen.berman@gmx.net>
2644
2645 * minibuffer.el (completion--twq-all): Try and preserve each
2646 completion's case choice (bug#14907).
2647
d50fceab
LMI
26482013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2649
ac38e731
LMI
2650 * net/network-stream.el (open-network-stream): Mention the new
2651 :nogreeting parameter.
2652 (network-stream-open-starttls): Use the :nogreeting parameter
2653 (bug#14938).
2654
1211de50
LMI
2655 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2656
997798bf
LMI
2657 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2658 more natural than popping.
2659
d50fceab 2660 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 2661 (shr-urlify): Highlight under mouse.
d50fceab 2662
5c09de04
XF
26632013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2664
207d1d04
XF
2665 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2666
2667 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2668
5c09de04
XF
2669 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2670 buffer for output.
2671
3cd51eaa
XF
2672 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2673 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 2674
44e18199 2675 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 2676 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
2677
2678 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2679
2680 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2681 buffer for output.
2682
35a89bdd
EZ
26832013-07-29 Eli Zaretskii <eliz@gnu.org>
2684
2685 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2686 initial frame is minibuffer-less. (Bug#14841)
2687
78822e94
MA
26882013-07-29 Michael Albinus <michael.albinus@gmx.de>
2689
2690 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2691 option.
2692
2693 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2694 (tramp-maybe-open-connection): Use it.
2695
9503c190
JB
26962013-07-28 Juanma Barranquero <lekktu@gmail.com>
2697
2698 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2699 minimal set of parameters passed when creating a frame, because
2700 the minibuffer status of a frame cannot be changed later.
2701
d5a845b4
SB
27022013-07-28 Stephen Berman <stephen.berman@gmx.net>
2703
2704 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2705 replace-regexp-in-string and inadvertent omissions in previous change.
2706 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 2707 name of filtered items buffer.
d5a845b4 2708
ddeffb17
JB
27092013-07-28 Juanma Barranquero <lekktu@gmail.com>
2710
2711 * desktop.el: Optionally force offscreen frames back onscreen.
2712 (desktop-restoring-reuses-frames): New option.
2713 (desktop--compute-pos, desktop--move-onscreen): New functions.
2714 (desktop--make-frame): Use desktop--move-onscreen.
2715
f5950f7a
AM
27162013-07-27 Alan Mackenzie <acm@muc.de>
2717
2718 Fontify a Java generic method as a function.
2719 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2720 value to t.
2721
ae43b66a
SB
27222013-07-27 Stephen Berman <stephen.berman@gmx.net>
2723
2724 * calendar/todo-mode.el: Add command to rename todo files.
2725 (todo-rename-file): New command.
2726 (todo-key-bindings-t): Add key binding for it. Change the
2727 bindings of todo-filter-regexp-items(-multifile) to use `x'
2728 instead of `r', since the latter is better suited to the new
2729 renaming command.
2730
5ab78d3d
AM
27312013-07-27 Alan Mackenzie <acm@muc.de>
2732
2733 Make Java try-with-resources statement parse properly.
2734 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2735 (c-block-stmt-1-2-key): New language constants/variables.
2736 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2737 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2738 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 2739 with c-block-stmt-1-2-key.
5ab78d3d 2740
d85c4d50
JB
27412013-07-27 Juanma Barranquero <lekktu@gmail.com>
2742
2743 * desktop.el (desktop--make-frame): Apply most frame parameters after
2744 creating the frame to force (partially or totally) offscreen frames to
2745 be restored as such.
2746
e4c467f9
XF
27472013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2748
2749 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 2750 (Bug#14948)
e4c467f9 2751
7ced0d04
SM
27522013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2753
2754 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2755 `base' arg of backtrace-frame.
2756
fec92060
EZ
27572013-07-26 Eli Zaretskii <eliz@gnu.org>
2758
2759 * simple.el (list-processes): Doc fix.
2760
d58d31fb
JB
27612013-07-26 Juanma Barranquero <lekktu@gmail.com>
2762
2763 * desktop.el (desktop--select-frame):
d85c4d50 2764 Try harder to reuse existing frames.
d58d31fb 2765
53ff3e77
SM
27662013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2767
2768 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2769 (edebug-eval): Use backtrace-eval.
2770 (edebug--display, edebug--recursive-edit): Don't let-bind the
2771 edebug-outer-* vars that keep track of variables we locally let-bind.
2772 (edebug-outside-excursion): Don't restore outside values of locally
2773 let-bound vars.
2774 (edebug--display): Use user-error.
2775 (cl-lexical-debug, cl-debug-env): Remove.
2776
045f7a53
JB
27772013-07-26 Juanma Barranquero <lekktu@gmail.com>
2778
2779 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2780 are restored to be sure that they are visible before deleting any
2781 remaining ones.
2782
59070b32
MM
27832013-07-26 Matthias Meulien <orontee@gmail.com>
2784
742a3501
XF
2785 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2786 vc-print-root-log. (Bug#14948)
59070b32 2787
b1fb3596
RS
27882013-07-26 Richard Stallman <rms@gnu.org>
2789
2790 Add aliases for encrypting mail.
2791 * epa.el (epa-mail-aliases): New option.
2792 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2793 Bind inhibit-read-only so read-only text doesn't ruin everything.
2794 (epa-mail-default-recipients): New subroutine broken out.
2795 Handle epa-mail-aliases.
2796
56ea7291
SM
27972013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2798
2799 Add support for lexical variables to the debugger's `e' command.
2800 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2801 vars, except for debugger-outer-match-data.
2802 (debugger-frame-number): Move check for "on a function call" from
2803 callers into it. Add `skip-base' argument.
2804 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2805 (debugger-env-macro): Only reset the state stored in non-variables,
2806 i.e. current-buffer and match-data.
2807 (debugger-eval-expression): Rewrite using backtrace-eval.
2808 * subr.el (internal--called-interactively-p--get-frame): Remove.
2809 (called-interactively-p):
2810 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2811 `base' arg of backtrace-frame instead.
2812
15ac32d5
GM
28132013-07-26 Glenn Morris <rgm@gnu.org>
2814
8358a09d
GM
2815 * align.el (align-regexp): Doc fix. (Bug#14857)
2816 (align-region): Explicit error if subexpression missing/does not match.
2817
15ac32d5
GM
2818 * simple.el (global-visual-line-mode):
2819 Do not duplicate the mode lighter. (Bug#14858)
2820
f47ad11b
MR
28212013-07-25 Martin Rudalics <rudalics@gmx.at>
2822
2823 * window.el (display-buffer): In display-buffer bind
2824 split-window-keep-point to t, bug#14829.
2825
02530987
JB
28262013-07-25 Juanma Barranquero <lekktu@gmail.com>
2827
2828 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2829 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2830 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2831 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2832 Change accordingly.
f63ebeb5
JB
2833 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2834 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 2835
6ccb9cab 28362013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 2837
6ccb9cab 2838 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 2839
cb3a56d2
JB
28402013-07-25 Juanma Barranquero <lekktu@gmail.com>
2841
2842 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2843 parameter to modify-frame-parameters if the value has not changed;
2844 this is a workaround for bug#14949.
2845 (desktop--make-frame): On cl-delete-if call, check parameter name,
2846 not full parameter.
2847
7aa7fff0
XF
28482013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2849
2850 * vc/vc.el (vc-ignore): New function.
2851
2852 * vc/vc-svn.el (vc-svn-ignore): New function.
2853
2854 * vc/vc-hg.el (vc-hg-ignore): New function.
2855
2856 * vc/vc-git.el (vc-git-ignore): New function.
2857
2858 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2859 (vc-dir-ignore): New function.
2860
2861 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 2862 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
2863
2864 * vc/vc-bzr.el (vc-bzr-ignore): New function.
2865
2866 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
2867
889acc5c
JB
28682013-07-24 Juanma Barranquero <lekktu@gmail.com>
2869
2870 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
2871 (desktop-restore-frames): Warn when deleting an existing frame failed.
2872
86c40970
GM
28732013-07-24 Glenn Morris <rgm@gnu.org>
2874
2875 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
2876
d5d3c58a
MA
28772013-07-24 Michael Albinus <michael.albinus@gmx.de>
2878
2879 * filenotify.el (file-notify-supported-p):
2880 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2881 Remove functions.
2882
2883 * autorevert.el (auto-revert-use-notify):
2884 (auto-revert-notify-add-watch):
2885 * net/tramp.el (tramp-file-name-for-operation):
2886 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2887 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2888 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2889 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2890 Remove `file-notify-supported-p' entry.
2891
d100084b
GM
28922013-07-24 Glenn Morris <rgm@gnu.org>
2893
2894 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 2895 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 2896
ac93e56b
SM
28972013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2898
249eea30
SM
2899 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
2900 checked with memq (bug#14935).
2901
ac93e56b
SM
2902 * files.el (revert-buffer-function): Use a non-nil default.
2903 (revert-buffer-preserve-modes): Declare var to
2904 provide access to the `preserve-modes' argument.
2905 (revert-buffer): Let-bind it.
2906 (revert-buffer--default): New function, extracted from revert-buffer.
2907
2cdeb903
SM
29082013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2909
2910 * lpr.el: Signal print errors more prominently.
2911 (print-region-function): Don't default to nil.
2912 (lpr-print-region): New function, extracted from print-region-1.
2913 Check lpr's return value and signal an error in case of problem.
2914 (print-region-1): Use it.
2915 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
2916 versions instead.
2917 (ps-printer-name): Default to nil.
2918 (ps-printer-name-option): Default to lpr-printer-switch.
2919 (ps-print-region-function): Don't default to nil.
2920 (ps-postscript-code-directory): Simplify default.
2921 (ps-do-despool): Use lpr-print-region to properly check the outcome.
2922 (ps-string-list, ps-eval-switch, ps-flatten-list)
2923 (ps-flatten-list-1): Remove.
2924 (ps-multibyte-buffer): Avoid setq.
2925 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
2926 (print-region-function, ps-print-region-function): Don't set them here.
2927
73600831
XF
29282013-07-24 Xue Fuqiao <xfq.free@gmail.com>
2929
0e55c076
XF
2930 * ido.el (ido-fractionp):
2931 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
2932 (ido-max-file-prompt-width, ido-unc-hosts-cache)
2933 (ido-max-directory-size, ido-max-dir-file-cache)
2934 (ido-decorations): Doc fix.
2935
73600831
XF
2936 * ansi-color.el: Fix old URL.
2937
3d012865
MM
29382013-07-23 Michael R. Mauger <michael@mauger.com>
2939
2940 * progmodes/sql.el Version 3.3
2941 (sql-product-alist): Improve oracle :prompt-cont-regexp.
2942 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
2943 (sql-interactive-remove-continuation-prompt): Rewrite, use
2944 functions above. Fix continuation prompt and complete output line
2945 handling.
2946 (sql-redirect-one, sql-execute): Use `read-only-mode' on
2947 redirected output buffer.
2948 (sql-mode): Restore deleted code (Bug#13591).
2949
da77a2e2
JB
29502013-07-23 Juanma Barranquero <lekktu@gmail.com>
2951
2952 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
2953
80ff0c71
MA
29542013-07-23 Michael Albinus <michael.albinus@gmx.de>
2955
2956 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
2957
2958 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2959 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2960 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
2961
b61d71e4
JB
29622013-07-23 Juanma Barranquero <lekktu@gmail.com>
2963
2964 * desktop.el (desktop-clear): Simplify; remove useless checks
2965 against invalid buffer names.
2966 (desktop-list*): Use cl-list*.
2967 (desktop-buffer-info, desktop-create-buffer): Simplify.
2968
c3512092
LL
29692013-07-23 Leo Liu <sdl.web@gmail.com>
2970
2971 * bookmark.el (bookmark-make-record): Restore NAME as a default
2972 value. (Bug#14933)
2973
0ac26976
SM
29742013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2975
7d22ce18
SM
2976 * emacs-lisp/autoload.el (autoload--setup-output): New function,
2977 extracted from autoload--insert-text.
2978 (autoload--insert-text): Remove.
2979 (autoload--print-cookie-text): New function, extracted from
2980 autoload--insert-cookie-text.
2981 (autoload--insert-cookie-text): Remove.
2982 (autoload-generate-file-autoloads): Adjust calls accordingly.
2983
9b2607e8
SM
2984 * winner.el (winner-hook-installed-p): Remove.
2985 (winner-mode): Simplify accordingly.
2986
c43a8618
SM
2987 * subr.el (add-to-list): Fix compiler-macro when `append' is
2988 not constant. Don't use `cl-member' for the base case.
2989
0ac26976
SM
2990 * progmodes/subword.el: Fix boundary case (bug#13758).
2991 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
2992 own group.
2993 (subword-backward-regexp): Make it a constant.
2994 (subword-forward-internal): Don't treat a trailing capital as the
2995 beginning of a word.
2996
6874724a
AR
29972013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
2998
2999 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3000 global value of tabulated-list-revert-hook (bug#14930).
3001
70f1b5e8
JB
30022013-07-22 Juanma Barranquero <lekktu@gmail.com>
3003
a1c80d9d
JB
3004 * desktop.el: Require 'cl-lib.
3005 (desktop-before-saving-frames-functions): New hook.
3006 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3007 for frames being saved. Rename from desktop--save-minibuffer-frames.
3008 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
3009 Do not save frames with non-nil `desktop-dont-save' parameter.
3010 Filter out deleted frames.
a1c80d9d
JB
3011 (desktop--find-frame): Use cl-find-if.
3012 (desktop--select-frame): Use cl-(first|second|third) to access values
3013 of desktop-mini.
3014 (desktop--make-frame): Use cl-delete-if.
3015 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3016 (desktop-restore-frames): Use cl-(first|second|third) to access values
3017 of desktop-mini. Look for visible frame at the end, not while
3018 restoring frames.
3019
70f1b5e8
JB
3020 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3021 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3022 Use string-match-p, looking-at-p (bug#14927).
3023
728dc3cc
JB
30242013-07-21 Juanma Barranquero <lekktu@gmail.com>
3025
56bc453c
JB
3026 * desktop.el (desktop-saved-frame-states):
3027 Rename from desktop--saved-states; all users changed.
3028 (desktop-save-frames): Rename from desktop--save-frames.
3029 Do not save state to desktop file.
3030 (desktop-save): Save desktop-saved-frame-states to desktop file
3031 and reset to nil.
3032 (desktop-restoring-frames-p): New function.
3033 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3034 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3035 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3036
728dc3cc
JB
3037 * desktop.el: Correctly restore iconified frames.
3038 (desktop--filter-iconified-position): New function.
3039 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3040
862f1c9c
GM
30412013-07-20 Glenn Morris <rgm@gnu.org>
3042
c4074c9f
GM
3043 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3044 Let `message' do the formatting.
3045 (def-gdb-preempt-display-buffer): Add explicit format.
3046
d828e5f9
GM
3047 * image-dired.el (image-dired-track-original-file):
3048 Use with-current-buffer.
3049 (image-dired-track-thumbnail): Use with-current-buffer.
3050 Avoid changing point of wrong window.
3051
862f1c9c
GM
3052 * image-dired.el (image-dired-track-original-file):
3053 Avoid changing point of wrong window. (Bug#14909)
3054
f0398ec1 30552013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
3056
3057 * progmodes/gdb-mi.el (gdb-done-or-error):
3058 Guard against "%" in gdb output. (Bug#14127)
3059
1451928f
AS
30602013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3061
763a086d
JB
3062 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3063 (Bug#14826)
f7a03897 3064
1451928f
AS
3065 * international/mule.el (coding-system-iso-2022-flags): Fix last
3066 change.
3067
99107004
KH
30682013-07-20 Kenichi Handa <handa@gnu.org>
3069
763a086d
JB
3070 * international/mule.el (coding-system-iso-2022-flags):
3071 Add `8-bit-level-4'. (Bug#8522)
99107004 3072
48494e06
LMI
30732013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3074
8ba8eec5
LMI
3075 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3076 (bug#14815).
3077
dfbc66e3
LMI
3078 * net/eww.el (eww-process-text-input): Allow inputting when the
3079 point is at the start of the line, as the properties aren't
3080 front-sticky.
3081
48494e06
LMI
3082 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3083 degenerate widths.
3084
77c92cb9
RS
30852013-07-19 Richard Stallman <rms@gnu.org>
3086
aec7da77
RS
3087 * epa.el (epa-popup-info-window): Doc fix.
3088
77c92cb9
RS
3089 * subr.el (split-string): New arg TRIM.
3090
945c5bb1
JB
30912013-07-18 Juanma Barranquero <lekktu@gmail.com>
3092
3093 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3094 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3095
e06ec67f
MA
30962013-07-18 Michael Albinus <michael.albinus@gmx.de>
3097
c7064f05 3098 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
3099 `file-notify-support'. Do not autoload. Adapt all uses.
3100 (file-notify-supported-p): New defun.
3101
c7064f05
JB
3102 * autorevert.el (auto-revert-use-notify):
3103 Use `file-notify-supported-p' instead of `file-notify-support'.
3104 Adapt docstring.
e06ec67f
MA
3105 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3106
3107 * net/tramp.el (tramp-file-name-for-operation):
3108 Add `file-notify-supported-p'.
3109
3110 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3111 New defun.
3112 (tramp-sh-file-name-handler-alist): Add it as handler for
3113 `file-notify-supported-p '.
3114
3115 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3116 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3117 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3118 Add `ignore' as handler for `file-notify-*' functions.
3119
5dc8a629
EZ
31202013-07-17 Eli Zaretskii <eliz@gnu.org>
3121
3122 * simple.el (line-move-partial, line-move): Don't start vscroll or
3123 scroll-up if the current line is not taller than the window.
3124 (Bug#14881)
3125
77aea2fb
DG
31262013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3127
3128 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3129 highlight question marks in the method names as strings.
ac72c08d
DG
3130 (ruby-block-beg-keywords): Inline.
3131 (ruby-font-lock-keyword-beg-re): Extract from
3132 `ruby-font-lock-keywords'.
77aea2fb 3133
18c26d81
JD
31342013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3135
3136 * frame.el (blink-cursor-blinks): New defcustom.
3137 (blink-cursor-blinks-done): New defvar.
3138 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3139 (blink-cursor-timer-function): Check if number of blinks has been
3140 done on X and NS.
3141 (blink-cursor-suspend, blink-cursor-check): New defuns.
3142
da48522e
GM
31432013-07-15 Glenn Morris <rgm@gnu.org>
3144
3145 * edmacro.el (edmacro-format-keys): Fix previous change.
3146
0463c1ef
PE
31472013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3148
3149 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3150 The hack didn't work outside English locales anyway.
3151
b43f6451
JB
31522013-07-15 Juanma Barranquero <lekktu@gmail.com>
3153
3154 * simple.el (define-alternatives): Rename from alternatives-define,
3155 per RMS' suggestion.
3156
b958c0ad
JB
31572013-07-14 Juanma Barranquero <lekktu@gmail.com>
3158
3159 * desktop.el (desktop-restore-frames): Change default to t.
3160 (desktop-restore-in-current-display): Now offer more options.
3161 (desktop-restoring-reuses-frames): New customization option.
3162 (desktop--saved-states): Doc fix.
3163 (desktop-filter-parameters-alist): New variable, renamed and expanded
3164 from desktop--excluded-frame-parameters.
3165 (desktop--target-display): New variable.
3166 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3167 (desktop--filter-tty*, desktop--filter-*-color)
3168 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3169 (desktop--filter-save-desktop-parm)
3170 (desktop-restore-in-original-display-p): New functions.
3171 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3172 (desktop--save-minibuffer-frames): New function, inspired by a similar
3173 function from Martin Rudalics.
3174 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3175 (desktop--restore-in-this-display-p): Remove.
3176 (desktop--find-frame): Rename from desktop--find-frame-in-display
3177 and add predicate argument.
3178 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3179 (desktop--reuse-list): New variable.
3180 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3181 New functions.
3182 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3183
f6dd8b36
MA
31842013-07-14 Michael Albinus <michael.albinus@gmx.de>
3185
3186 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3187
2ce3c565
DG
31882013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3189
763a086d
JB
3190 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3191 Highlight conversion methods on Kernel.
2ce3c565 3192
2cdb7698
AM
31932013-07-13 Alan Mackenzie <acm@muc.de>
3194
3195 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3196 and comment it out. This out-commenting enables certain C++
3197 declarations to be parsed correctly.
3198
1a67b811
EZ
31992013-07-13 Eli Zaretskii <eliz@gnu.org>
3200
1b796d6b
EZ
3201 * international/mule.el (define-coding-system): Doc fix.
3202
1a67b811
EZ
3203 * simple.el (default-font-height): Don't call font-info if the
3204 frame's default font didn't change since the frame was created.
3205 (Bug#14838)
3206
58fbe886
LL
32072013-07-13 Leo Liu <sdl.web@gmail.com>
3208
3209 * ido.el (ido-read-file-name): Guard against non-symbol value.
3210
1f0480d4
FEG
32112013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3212
3213 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3214 in nested defuns.
3215
97ead0e5
LL
32162013-07-13 Leo Liu <sdl.web@gmail.com>
3217
3218 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3219 ido-set-matches call. (Bug#6852)
3220
0880a952
DG
32212013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3222
3223 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3224 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3225 Ruby 2.0.
3226 (ruby-font-lock-keywords): Distinguish calls to functions with
3227 module-like names from module references. Highlight character
3228 literals.
3229
a7d8babb
SDJ
32302013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3231
3232 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 3233 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 3234
acfcc8c5
JB
32352013-07-12 Juanma Barranquero <lekktu@gmail.com>
3236
3237 * desktop.el (desktop--v2s): Remove unused local variable.
3238 (desktop-save-buffer): Make defvar-local; adjust docstring.
3239 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3240 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3241
051f2775
AS
32422013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3243
3244 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3245
f24e7572
GM
32462013-07-12 Eli Zaretskii <eliz@gnu.org>
3247
3248 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3249 (Bug#14842)
3250
539a920c
GM
32512013-07-12 Glenn Morris <rgm@gnu.org>
3252
3253 * doc-view.el: Require cl-lib at runtime too.
3254 (doc-view-remove-if): Remove.
3255 (doc-view-search-next-match, doc-view-search-previous-match):
3256 Use cl-remove-if.
3257
3258 * edmacro.el: Require cl-lib at runtime too.
3259 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3260 (edmacro-mismatch, edmacro-subseq): Remove.
3261
3262 * shadowfile.el: Require cl-lib.
3263 (shadow-remove-if): Remove.
3264 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3265 Use cl-remove-if.
3266
3267 * wid-edit.el: Require cl-lib.
3268 (widget-choose): Use cl-remove-if.
3269 (widget-remove-if): Remove.
3270
3271 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3272 (ebrowse-delete-if-not): Remove.
3273 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3274 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3275 Use cl-delete-if-not.
3276
1048af7c
JB
32772013-07-12 Juanma Barranquero <lekktu@gmail.com>
3278
3279 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3280 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3281
6c0674ee
LL
32822013-07-12 Leo Liu <sdl.web@gmail.com>
3283
3284 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3285
a19b3c2d
GM
32862013-07-11 Glenn Morris <rgm@gnu.org>
3287
4582a01c
GM
3288 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3289 (edebug-gensym-index, edebug-gensym):
3290 Remove reimplementation of cl-gensym.
3291 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3292
3293 * thumbs.el: Require cl-lib at run-time too.
3294 (thumbs-gensym-counter, thumbs-gensym):
3295 Remove reimplementation of cl-gensym.
3296 (thumbs-temp-file): Use cl-gensym.
3297
a19b3c2d
GM
3298 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3299 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3300 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3301 (ert--union, ert--gensym-counter, ert--gensym-counter)
3302 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3303 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3304 (ert-make-test-unbound, ert--expand-should-1)
3305 (ert--expand-should, ert--should-error-handle-error)
3306 (should-error, ert--explain-equal-rec)
3307 (ert--plist-difference-explanation, ert-select-tests)
3308 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3309 Use cl-lib functions rather than reimplementations.
3310
88f6a933
MA
33112013-07-11 Michael Albinus <michael.albinus@gmx.de>
3312
3313 * net/tramp.el (tramp-methods): Extend docstring.
3314 (tramp-connection-timeout): New defcustom.
3315 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3316 (with-tramp-progress-reporter): Simplify.
3317 (tramp-process-actions): Improve messages.
3318
3319 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3320 * net/tramp-sh.el (tramp-maybe-open-connection):
3321 Use `tramp-connection-timeout'.
3322 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3323 (Bug#14808)
3324
a43d577e
LL
33252013-07-11 Leo Liu <sdl.web@gmail.com>
3326
3327 * ido.el (ido-read-file-name): Conform to the requirements of
3328 read-file-name. (Bug#11861)
3329 (ido-read-directory-name): Conform to the requirements of
3330 read-directory-name.
3331
d77974bf
JB
33322013-07-11 Juanma Barranquero <lekktu@gmail.com>
3333
3334 * subr.el (delay-warning): New function.
3335
35cb8a3e
EZ
33362013-07-10 Eli Zaretskii <eliz@gnu.org>
3337
3338 * simple.el (default-line-height): New function.
3339 (line-move-partial, line-move): Use it instead of computing the
3340 line height inline.
3341 (line-move-partial): Always compute ROWH. If the last line is
3342 partially-visible, but its text is completely visible, allow
3343 cursor to enter such a partially-visible line.
3344
525c5c77
MA
33452013-07-10 Michael Albinus <michael.albinus@gmx.de>
3346
3347 Improve error messages. (Bug#14808)
3348
3349 * net/tramp.el (tramp-current-connection): New defvar, moved from
3350 tramp-sh.el.
0ac26976 3351 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 3352 needed anymore.
0ac26976
SM
3353 (tramp-error-with-buffer): Show message in minibuffer.
3354 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
3355 (with-tramp-progress-reporter): Improve messages.
3356 (tramp-process-actions): Use progress reporter. Delete process in
3357 case of error. Improve messages.
3358
763a086d
JB
3359 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3360 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 3361 (tramp-current-connection): Remove.
525c5c77
MA
3362 (tramp-maybe-open-connection): The car of
3363 `tramp-current-connection' are the first 3 slots of the vector.
3364
c7a4d368
TZ
33652013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3366
3367 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3368 inside continued strings.
3369
954b166e
PE
33702013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3371
3372 Timestamp fixes for undo (Bug#14824).
3373 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3374
56973319
LL
33752013-07-10 Leo Liu <sdl.web@gmail.com>
3376
3377 * files.el (require-final-newline): Allow safe local value.
3378 (Bug#14834)
3379
5550a72c
LL
33802013-07-09 Leo Liu <sdl.web@gmail.com>
3381
3382 * ido.el (ido-read-directory-name): Handle fallback.
3383 (ido-read-file-name): Update DIR to ido-current-directory.
3384 (Bug#1516)
c28b9050 3385 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 3386
70c46b28
DG
33872013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3388
3389 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3390 "autoload". Remove "warn lower camel case" section, previously
3391 commented out. Highlight negation char. Do not highlight the
3392 target in singleton method definitions.
3393
0b64b838
SM
33942013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3395
7fd72e2c
SM
3396 * faces.el (tty-setup-hook): Declare the hook.
3397
0b64b838
SM
3398 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3399 and detect when a guard/pred depends on local vars (bug#14773).
3400 (pcase--u1): Adjust caller.
3401
ab49d60b
EZ
34022013-07-08 Eli Zaretskii <eliz@gnu.org>
3403
3404 * simple.el (line-move-partial, line-move): Account for
3405 line-spacing.
701d79aa
EZ
3406 (line-move-partial): Avoid setting vscroll when the last
3407 partially-visible line in window is of default height.
ab49d60b 3408
2d756ae0
LMI
34092013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3410
3411 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3412 been used a while.
3413
ed095bd7
JB
34142013-07-07 Juanma Barranquero <lekktu@gmail.com>
3415
3416 * subr.el (read-quoted-char): Remove unused local variable `char'.
3417
f1e6674b
MK
34182013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3419
584ee3fc
GM
3420 * ediff.el (ediff-version): Version update.
3421 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3422 (ediff-merge-with-ancestor-command, ediff-directories-command)
3423 (ediff-directories3-command, ediff-merge-directories-command)
3424 (ediff-merge-directories-with-ancestor-command): New functions.
3425 All are command-line interfaces to ediff: to facilitate calling
3426 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
3427
3428 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3429 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 3430
584ee3fc
GM
3431 * viper.el (viper-version): Version update.
3432 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 3433
584ee3fc
GM
34342013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3435
3436 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3437 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3438 (viper-intercept-ESC-key): Simplify.
3439 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3440 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3441 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3442 (viper-setup-ESC-to-escape): New functions.
3443 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3444 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 3445
9aff9b38
EZ
34462013-07-07 Eli Zaretskii <eliz@gnu.org>
3447
5165d44a
JB
3448 * simple.el (default-font-height, window-screen-lines):
3449 New functions.
9aff9b38
EZ
3450 (line-move, line-move-partial): Use them instead of
3451 frame-char-height and window-text-height. This makes scrolling
3452 text smoother when the buffer's default face uses a font that is
3453 different from the frame's default font.
3454
1afb1d07
JD
34552013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3456
3457 * files.el (write-file): Do not display confirm dialog for NS,
3458 it does its own dialog, which can't be cancelled (Bug#14578).
3459
23de972a
EZ
34602013-07-06 Eli Zaretskii <eliz@gnu.org>
3461
3462 * simple.el (line-move-partial): Adjust the row returned by
3463 posn-at-point for the current window-vscroll. (Bug#14567)
3464
54a42486
MA
34652013-07-06 Michael Albinus <michael.albinus@gmx.de>
3466
3467 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3468 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3469 spaces.
3470
34ada5f4
MR
34712013-07-06 Martin Rudalics <rudalics@gmx.at>
3472
3473 * window.el (window-state-put-stale-windows): New variable.
3474 (window--state-put-2): Save list of windows without matching buffer.
3475 (window-state-put): Remove "bufferless" windows if possible.
3476
11e03d89
JB
34772013-07-06 Juanma Barranquero <lekktu@gmail.com>
3478
3479 * simple.el (alternatives-define): Remove leftover :group keyword.
3480 Tweak docstring.
3481
3504a4be
LL
34822013-07-06 Leo Liu <sdl.web@gmail.com>
3483
3484 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3485 (ido-enable-virtual-buffers): New variable.
3486 (ido-buffer-internal, ido-toggle-virtual-buffers)
3487 (ido-make-buffer-list): Use it.
3488 (ido-exhibit): Support turning on and off virtual buffers
3489 automatically.
3490
61e56e2c
JB
34912013-07-06 Juanma Barranquero <lekktu@gmail.com>
3492
3493 * simple.el (alternatives-define): New macro.
3494
321e1a9c
SM
34952013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3496
3497 * subr.el (read-quoted-char): Use read-key.
3498 (sit-for): Let read-event decode tty input (bug#14782).
3499
d610f6dd
SB
35002013-07-05 Stephen Berman <stephen.berman@gmx.net>
3501
3502 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
3503 mode command and externally. Fix various related bugs.
3504 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
3505 (todo-delete-file): New command.
3506 (todo-check-file): New function.
3507 (todo-show): Handle external deletion of the file we're trying to
3508 show (bug#14688). Replace called-interactively-p by an optional
3509 prefix argument to avoid problematic interaction with catch form
3510 when byte compiled (bug#14702).
3511 (todo-quit): Handle external deletion of the archive's todo file.
3512 Make sure the buffer that was visiting the archive file is still
3513 live before trying to bury it.
3514 (todo-category-completions): Handle external deletion of any
3515 category completion files.
3516 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3517 of todo files, in case of external deletion.
3518 (todo-add-file): Replace unnecessary setq by let-binding.
3519 (todo-find-archive): Check whether there are any archives.
3520 Replace unnecessary setq by let-binding.
3521 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
3522 archive buffer whether or not the archive already exists.
3523 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
3524 check if the archive is new; if it is, update list of archives.
3525 (todo-default-todo-file): Allow nil to be a valid value for when
3526 there are no todo files.
3527 (todo-reevaluate-default-file-defcustom): Use corrected definition
3528 of todo-default-todo-file.
3529 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3530 (todo-delete-category, todo-show-categories-table)
3531 (todo-category-number): Clarify comment.
3532 (todo-filter-items): Clarify documentation string.
3533 (todo-show-current-file, todo-display-as-todo-file)
3534 (todo-reset-and-enable-done-separator): Tweak documentation string.
3535 (todo-done-separator): Make separator length window-width, since
3536 bug#2749 is now fixed.
3537
ddbdfd6f
MA
35382013-07-05 Michael Albinus <michael.albinus@gmx.de>
3539
321e1a9c
SM
3540 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3541 Support both "gvfs-monitor-dir" and "inotifywait".
3542 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
3543 `tramp-sh-file-notify-process-filter'.
3544 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3545 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3546
96eb829a
LL
35472013-07-05 Leo Liu <sdl.web@gmail.com>
3548
3549 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3550
cf13177e
YM
35512013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3552
3553 * frame.el (display-pixel-height, display-pixel-width)
3554 (display-mm-height, display-mm-width): Mention behavior on
3555 multi-monitor setups in docstrings.
3556 (w32-display-monitor-attributes-list): Declare function.
3557 (display-monitor-attributes-list): Use it.
3558
864c58ca
MA
35592013-07-04 Michael Albinus <michael.albinus@gmx.de>
3560
3561 * filenotify.el: New package.
3562
3563 * autorevert.el (top): Require filenotify.el.
3564 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3565 instead.
3566 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3567 (auto-revert-notify-handler): Use `file-notify-*' functions.
3568
3569 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3570
321e1a9c
SM
3571 * net/tramp.el (tramp-file-name-for-operation):
3572 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
3573
3574 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3575 for `file-notify-add-watch' and `file-notify-rm-watch'.
3576 (tramp-process-sentinel): Improve trace.
3577 (tramp-sh-handle-file-notify-add-watch)
3578 (tramp-sh-file-notify-process-filter)
3579 (tramp-sh-handle-file-notify-rm-watch)
3580 (tramp-get-remote-inotifywait): New defuns.
3581
96673afe
JL
35822013-07-03 Juri Linkov <juri@jurta.org>
3583
3584 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3585 call of `occur-read-primary-args' to interactive spec.
3586
3587 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3588 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3589
924494f4
MM
35902013-07-03 Matthias Meulien <orontee@gmail.com>
3591
3592 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3593 `Buffer-menu-multi-occur'. Add it to the menu.
3594 (Buffer-menu-mode): Document it in docstring.
3595 (Buffer-menu-multi-occur): New command. (Bug#14673)
3596
56f75efc
DG
35972013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3598
3599 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3600 keywords and built-ins.
3601
9b057d61
GM
36022013-07-03 Glenn Morris <rgm@gnu.org>
3603
208dee4d
GM
3604 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3605
9b057d61
GM
3606 Make info-xref checks case-sensitive by default
3607 * info.el (Info-find-node, Info-find-in-tag-table)
3608 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3609 Add option for exact case matching of nodes.
3610 * info-xref.el (info-xref): New custom group.
3611 (info-xref-case-fold): New option.
3612 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3613
e01aa29c
LL
36142013-07-03 Leo Liu <sdl.web@gmail.com>
3615
3616 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3617
3086ca2e
DG
36182013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3619
3620 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3621 middle of block statement initially, lower the depth. Remove
3622 FIXME comment, not longer valid. Remove middle of block statement
3623 detection, no need to do that anymore since we've been using
3624 `ruby-parse-region' here.
3625
a3b49114
JD
36262013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3627
3628 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3629
08e5c823 36302013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
3631
3632 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3633
2addf922
JB
36342013-07-01 Juanma Barranquero <lekktu@gmail.com>
3635
3636 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3637 (desktop-restore-in-current-display): New customization option.
3638 (desktop--excluded-frame-parameters): Add `font'.
3639 (desktop--save-frames): Rename from desktop--save-windows.
3640 (desktop--restore-in-this-display-p): New function.
3641 (desktop--make-full-frame): Remove unwanted width/height from
3642 full(width|height) frames.
3643 (desktop--restore-frames): Rename from desktop--restore-windows.
3644 Obey desktop-restore-current-display. Do not delete old frames or
3645 select a new frame unless we were able to restore at least one frame.
3646
ef099a94
MN
36472013-06-30 Michal Nazarewicz <mina86@mina86.com>
3648
3649 * files.el (find-file-noselect): Simplify conditional expression.
3650
3651 * remember.el (remember-append-to-file):
3652 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3653
3654 Add `remember-notes' function to store random notes across Emacs
3655 restarts.
3656 * remember.el (remember-data-file): Add :set callback to affect
3657 notes buffer (if any).
3658 (remember-notes): New command.
3659 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3660 New defcustoms for the `remember-notes' function.
3661 (remember-notes-save-and-bury-buffer): New command.
3662 (remember-notes-mode-map): New variable.
3663 (remember-mode): New minor mode.
3664 (remember-notes--kill-buffer-query): New function.
3665 * startup.el (initial-buffer-choice): Add notes to custom type.
3666
0865d506
EZ
36672013-06-30 Eli Zaretskii <eliz@gnu.org>
3668
0ba54312
EZ
3669 * bindings.el (right-char, left-char): Don't call sit-for, this is
3670 no longer needed. Use arithmetic comparison only for numerical
3671 arguments.
3672
ef099a94
MN
3673 * international/mule-cmds.el (select-safe-coding-system):
3674 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 3675
2fae38e5
LMI
36762013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3677
3678 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3679 progression on degenerate tables.
ef099a94 3680 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 3681
a47cbd64
JB
36822013-06-30 Juanma Barranquero <lekktu@gmail.com>
3683
3684 Some fixes and improvements for desktop frame restoration.
3685 It is still experimental and disabled by default.
3686 * desktop.el (desktop--save-windows): Put the selected frame at
3687 the head of the list.
3688 (desktop--make-full-frame): New function.
3689 (desktop--restore-windows): Try to re-select the frame that was
3690 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
3691 just show an error message and continue. Set up maximized frames
3692 so they have default non-maximized dimensions.
a47cbd64 3693
6dbafa30
DG
36942013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3695
ef099a94
MN
3696 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3697 Don't start heredoc inside a string or comment.
6dbafa30 3698
4c672a0f
EZ
36992013-06-29 Eli Zaretskii <eliz@gnu.org>
3700
3701 * bindings.el (visual-order-cursor-movement): New defcustom.
3702 (right-char, left-char): Provide visual-order cursor motion by
3703 calling move-point-visually. Update the doc strings.
3704
50960f36
KH
37052013-06-28 Kenichi Handa <handa@gnu.org>
3706
3707 * international/mule.el (define-coding-system): New coding system
3708 properties :inhibit-null-byte-detection,
3709 :inhibit-iso-escape-detection, and :prefer-utf-8.
3710 (set-buffer-file-coding-system): If :charset-list property of
3711 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3712 appropriate for setting.
3713
c1ea3abf
JB
3714 * international/mule-cmds.el (select-safe-coding-system):
3715 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3716 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
3717
3718 * international/mule-conf.el (prefer-utf-8): New coding system.
3719 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3720 files.
3721
75dbaf9d
IK
37222013-06-28 Ivan Kanis <ivan@kanis.fr>
3723
eadb6068
IK
3724 * net/shr.el (shr-render-region): New function.
3725
75dbaf9d
IK
3726 * net/eww.el: Autoload `eww-browse-url'.
3727
9ea5cf9f
DG
37282013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3729
c1ea3abf
JB
3730 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3731 Adapt to `package-desc-version' being a list.
3732 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
3733 archive element.
3734
39c0e36f
JB
37352013-06-27 Juanma Barranquero <lekktu@gmail.com>
3736
3737 New experimental feature to save&restore window and frame setup.
3738 * desktop.el (desktop-save-windows): New defcustom.
3739 (desktop--saved-states): New var.
3740 (desktop--excluded-frame-parameters): New defconst.
3741 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3742 (desktop--restore-windows, desktop--save-windows): New functions.
3743 (desktop-save): Call `desktop--save-windows'.
3744 (desktop-read): Call `desktop--restore-windows'.
3745
7f13406b
LMI
37462013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3747
ef099a94 3748 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 3749
1e072639
SB
37502013-06-27 Stephen Berman <stephen.berman@gmx.net>
3751
3752 * info.el (Info-try-follow-nearest-node): Move search for footnote
3753 above search for node name to prevent missing a footnote (bug#14717).
3754
f3e2cbde
SB
37552013-06-27 Stephen Berman <stephen.berman@gmx.net>
3756
3757 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3758
99906aa0
LL
37592013-06-27 Leo Liu <sdl.web@gmail.com>
3760
3761 * net/eww.el (eww-read-bookmarks): Check file size.
3762
539f75f4
SM
37632013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3764
3765 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3766 advice--pending if newdef is nil or an autoload (bug#13820).
3767 (advice-mapc): New function.
3768
843571cb
LMI
37692013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3770
3771 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3772 probably.
23a75d7f 3773 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
3774 (eww-add-bookmark): New command.
3775 (eww-bookmark-mode): New mode and commands.
a285ce99 3776 (eww-add-bookmark): Remove newlines from the title.
47fd571b 3777 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 3778
f2136e1e
GM
37792013-06-26 Glenn Morris <rgm@gnu.org>
3780
eab35f39
GM
3781 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3782 (hfy-size): Handle ttys. (Bug#14668)
3783
f2136e1e
GM
3784 * info-xref.el: Update for Texinfo 5 change in *note format.
3785 (info-xref-node-re, info-xref-note-re): New constants.
3786 (info-xref-check-buffer): Use info-xref-note-re.
3787
a49ff80c
SM
37882013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3789
a343d218
SM
3790 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3791
a49ff80c
SM
3792 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3793 nil terminate the loop (bug#14718).
3794
8308f184
LMI
37952013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3796
3797 * net/eww.el: Rework history traversal. When going forward/back,
3798 put these actions into the history, too, so that they can be
3799 replayed.
26bf2b82 3800 (eww-render): Move the history reset to the correct buffer.
8308f184 3801
ec64c273
JL
38022013-06-25 Juri Linkov <juri@jurta.org>
3803
3804 * files-x.el (modify-dir-local-variable): Change the header comment
3805 in the file with directory local variables. (Bug#14692)
3806
e080a9d7
JL
3807 * files-x.el (read-file-local-variable-value): Add `default'.
3808 (Bug#14710)
3809
bfbc93a1
IK
38102013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3811
3812 * net/eww.el (eww-make-unique-file-name): Create a unique file
3813 name before saving to entering `y' accidentally asynchronously.
3814
38152013-06-25 Ivan Kanis <ivan@kanis.fr>
3816
3817 * net/eww.el (eww-download): New command and keystroke.
3818
16f74f10
LMI
38192013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3820
a49ff80c 3821 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
3822
3823 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3824 be more consistent with Info and dired.
3825
3826 * net/eww.el (eww-mode-map): Ditto.
3827
12059709
SM
38282013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3829
3830 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
3831 packages from archives.
3832 (package-archive-contents): Change format; include obsolete packages.
3833 (package-desc): Use `dir' to mark builtin packages.
3834 (package--from-builtin): Set the `dir' field to `builtin'.
3835 (generated-autoload-file, version-control): Declare.
3836 (package-compute-transaction): Change first arg and return value to be
3837 lists of package-descs. Adjust to new package-archive-contents format.
3838 (package--add-to-archive-contents): Adjust to new
3839 package-archive-contents format.
3840 (package-download-transaction): Arg is now a list of package-descs.
3841 (package-install): If `pkg' is a package name, pass it as
3842 a requirement, so it is subject to the usual (e.g. disabled) checks.
3843 (describe-package): Accept package-desc as well.
3844 (describe-package-1): Describe a specific package-desc. Add links to
3845 other package-descs for the same package name.
3846 (package-menu-describe-package): Pass the actual package-desc.
3847 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3848 works correctly.
3849 (package-desc-status): New function.
3850 (package-menu--refresh): New function, extracted
3851 from package-menu--generate.
3852 (package-menu--generate): Use it.
3853 (package-delete): Update package-alist.
3854 (package-menu-execute): Don't call package-initialize.
3855
3856 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3857 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3858 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3859 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3860 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3861 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3862
8bbdea0f
MR
38632013-06-25 Martin Rudalics <rudalics@gmx.at>
3864
3865 * window.el (window--state-get-1): Workaround for bug#14527.
3866 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
3867
e82b0991
LMI
38682013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3869
3870 * net/eww.el (eww-back-url): Implement the history by stashing all
3871 the data into a list.
d3f0f918 3872 (eww-forward-url): Allow going forward in the history, too.
e82b0991 3873
c763842b
SM
38742013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3875
3876 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
3877 for values and use read--expression for expressions (bug#14710).
3878 (read-file-local-variable): Avoid setq.
3879 (read-file-local-variable-mode): Use minor-mode-list.
3880
bceff189
RW
38812013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3882
864c58ca 3883 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
3884 for DOI URLs.
3885
45f431c6
RW
38862013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3887
864c58ca 3888 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
3889 Update imenu-support when dialect changes.
3890
f42d8237
LL
38912013-06-25 Leo Liu <sdl.web@gmail.com>
3892
3893 * ido.el (ido-read-internal): Allow forward slash on windows.
3894
be549ce6
LMI
38952013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3896
3897 * net/eww.el (eww): Start of strings is \\`, not ^.
3898
71d4c19d
IK
38992013-06-24 Ivan Kanis <ivan@kanis.fr>
3900
5196f88a
IK
3901 * net/shr.el (shr-browse-url): Fix interactive spec.
3902
71d4c19d
IK
3903 * net/eww.el (eww): Add a trailing slash to domain names.
3904
ae36ca55
JB
39052013-06-24 Juanma Barranquero <lekktu@gmail.com>
3906
3907 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
3908
0ebd92a3
LMI
39092013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3910
bdaa086b
LMI
3911 * net/shr.el (shr-browse-url): Use an external browser if given a
3912 prefix.
3913
c763842b 3914 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 3915
b89fc156
IK
39162013-06-24 Ivan Kanis <ivan@kanis.fr>
3917
3918 * net/eww.el (eww): Work more correctly for file: URLs.
3919 (eww-detect-charset): Allow quoted charsets.
3920 (eww-yank-page-url): New command and keystroke.
3921
18eb4bca
DU
39222013-06-24 Daiki Ueno <ueno@gnu.org>
3923
3924 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
3925 file name of gpg executable.
3926 (epg-context-program): New function.
3927 (epg-context-home-directory): New function.
3928 (epg-context-set-program): New function.
3929 (epg-context-set-home-directory): New function.
3930 (epg--start): Use `epg-context-program' instead of
3931 'epg-gpg-program'.
3932 (epg--list-keys-1): Likewise.
3933
6c6268c8
LL
39342013-06-24 Leo Liu <sdl.web@gmail.com>
3935
3936 * ido.el (ido-read-internal): Fix bug#14620.
3937
5e400cb3
JB
39382013-06-23 Juanma Barranquero <lekktu@gmail.com>
3939
3940 * faces.el (face-documentation): Simplify.
3941 (read-face-attribute, tty-find-type, x-resolve-font-name):
3942 Use `string-match-p'.
3943 (list-faces-display): Use `string-match-p'. Simplify.
3944 (face-spec-recalc): Check face to avoid face alias loops.
3945 (read-color): Use `string-match-p' and non-capturing parenthesis.
3946
f3f9606c
LMI
39472013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3948
3949 * net/shr.el (shr-rescale-image): Use the new
3950 :max-width/:max-height functionality.
3951
a3ca09b9
IK
39522013-06-23 Ivan Kanis <ivan@kanis.fr>
3953
3954 * net/eww.el (eww-search-prefix): New variable.
3955 (eww): Use it.
f865b474
IK
3956 (eww-external-browser): New variable.
3957 (eww-mode-map): New keystroke.
3958 (eww-browse-with-external-browser): New command.
a3ca09b9 3959
e854cfc7
IK
3960 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
3961
18bb9e21
JB
39622013-06-23 Juanma Barranquero <lekktu@gmail.com>
3963
3964 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3965 Don't skip aligning the next header field when padding is 0;
3966 otherwise, field width is not respected unless the title is as
3967 wide as the field.
3968
5b165ade
SM
39692013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3970
3971 * emacs-lisp/package.el (package-el-version): Remove.
3972 (package-process-define-package): Fix inf-loop.
3973 (package-install): Allow symbols as arguments again.
3974
12adebe9
DG
39752013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3976
3977 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
3978 add some more keyword-like methods.
3979 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
3980
388573ee
JB
39812013-06-22 Juanma Barranquero <lekktu@gmail.com>
3982
3983 * bs.el (bs-buffer-show-mark): Make defvar-local.
3984 (bs-mode): Use setq-local.
3985
3986 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
3987 (emacs-lock--try-unlocking): Make defvar-local.
3988
4582a01c 39892013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 3990
2663dd23
GM
3991 * play/cookie1.el (cookie-apropos): Minor simplification.
3992
3d94f3ad
GM
3993 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
3994
f72e2fdb
DG
39952013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3996
3997 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
3998 `regexp-opt', it breaks the build during dumping.
3999
73eab938
DG
40002013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4001
c763842b
SM
4002 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4003 Highlight keyword-like methods on Kernel and Module with
73eab938 4004 font-lock-builtin-face.
5cf8176d
DG
4005 (auto-mode-alist): Consolidate different entries into one regexp
4006 and add more *file-s.
73eab938 4007
d26255f6
SB
40082013-06-21 Stephen Berman <stephen.berman@gmx.net>
4009
4010 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4011
4012 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4013 (diary-entry): Use it in the action of this button type instead of
4014 diary-goto-entry.
4015
4016 * calendar/todo-mode.el: New version.
4017 (todo-add-category): Append new category to end of file and give
4018 it the highest number, instead of putting it at the beginning and
4019 giving it 0. Incorporate noninteractive functionality.
4020 (todo-forward-category): Adapt to 1-based category numbering.
4021 Allow skipping over archived categories.
4022 (todo-backward-category): Derive from todo-forward-category.
4023 (todo-backward-item, todo-forward-item): Make noninteractive and
4024 delegate interactive part to new commands. Make sensitive to done items.
4025 (todo-categories): Make value an alist of category names and
4026 vectors of item counts.
4027 (todo-category-beg): Make a defconst.
4028 (todo-category-number): Use 1 instead of 0 as initial value.
4029 (todo-category-select): Make sensitive to overlays, optional item
4030 highlighting and done items.
4031 (todo-delete-item): Make sensitive to overlays and marked and done items.
4032 (todo-edit-item): Make sensitive to overlays and editing of
4033 date/time header optional. Add format checks.
4034 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4035 no-op if point is not on an item. Advertise using todo-edit-quit.
4036 (todo-edit-mode): Make sensitive to new format, font-locking, and
4037 multiple todo files.
4038 (todo-insert-item, todo-insert-item-here): Derive from
4039 todo-basic-insert-item and extend functionality.
4040 (todo-item-end, todo-item-start): Make sensitive to done items.
4041 (todo-item-string): Don't return text properties. Restore point.
4042 (todo-jump-to-category): Make sensitive to multiple todo files and
4043 todo archives. Use extended category completion.
4044 (todo-lower-item, todo-raise-item): Rename to *-priority and
4045 derive from todo-set-item-priority.
4046 (todo-mode): Derive from special-mode. Make sensitive to new
4047 format, font-locking and multiple todo files. Make read-only.
4048 (todo-mode-map): Don't suppress digit keys, so they can supply
4049 prefix arguments. Add many new key bindings.
4050 (todo-prefix): Insert as an overlay instead of file text.
4051 Change semantics from diary date expression to purely visual mark.
4052 (todo-print): Rename to todo-print-buffer. Make buffer display
4053 features printable. Remove option to restrict number of items
4054 printed. Add option to print to file.
4055 (todo-print-function): Rename to todo-print-buffer-function.
4056 (todo-quit): Extend to handle exiting new todo modes.
4057 (todo-remove-item): Make sensitive to overlays.
4058 (todo-save): Extend to buffers of filtered items.
4059 (todo-show): Make sensitive to done items, multiple todo files and
4060 new todo modes. Offer to convert legacy todo file before creating
4061 first new todo file.
4062 (todo-show-priorities): Rename to todo-top-priorities.
4063 Change semantics of value 0.
4064 (todo-top-priorities): Rename to todo-filter-top-priorities,
4065 derive from todo-filter-items and extend functionality.
4066 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4067 and extend functionality to other types of filtered items.
4068 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4069 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4070 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4071 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4072 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4073 (todo-edit-mode-hook, todo-entry-prefix-function)
4074 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4075 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4076 (todo-initials, todo-insert-threshold, todo-item-string-start)
4077 (todo-line-string, todo-menu, todo-mode-hook)
4078 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4079 (todo-print-priorities, todo-remove-separator)
4080 (todo-save-top-priorities-too, todo-string-count-lines)
4081 (todo-string-multiline-p, todo-time-string-format)
4082 (todo-tmp-buffer-name): Remove.
4083 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4084 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4085 (todo-edit-category-diary-inclusion)
4086 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4087 (todo-edit-file, todo-edit-item-date-day)
4088 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4089 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4090 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4091 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4092 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4093 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4094 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4095 (todo-filter-top-priorities-multifile, todo-find-archive)
4096 (todo-find-filtered-items-file, todo-go-to-source-item)
4097 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4098 (todo-jump-to-archive-category, todo-lower-category)
4099 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4100 (todo-move-category, todo-move-item, todo-next-button)
4101 (todo-next-item, todo-padded-string, todo-powerset)
4102 (todo-previous-button, todo-previous-item)
4103 (todo-print-buffer-to-file, todo-raise-category)
4104 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4105 (todo-set-category-number, todo-set-item-priority)
4106 (todo-set-top-priorities-in-category)
4107 (todo-set-top-priorities-in-file, todo-show-categories-table)
4108 (todo-sort-categories-alphabetically-or-numerically)
4109 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4110 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4111 (todo-toggle-item-header, todo-toggle-item-highlighting)
4112 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4113 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4114 (todo-unarchive-items, todo-unmark-category): New commands.
4115 (todo-absolute-file-name, todo-add-to-buffer-list)
4116 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4117 (todo-basic-insert-item, todo-category-completions)
4118 (todo-category-number, todo-category-string-matcher-1)
4119 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4120 (todo-check-format, todo-clear-matches)
4121 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4122 (todo-current-category, todo-date-string-matcher)
4123 (todo-define-insertion-command, todo-diary-expired-matcher)
4124 (todo-diary-goto-entry, todo-diary-item-p)
4125 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4126 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4127 (todo-done-item-section-p, todo-done-separator)
4128 (todo-done-string-matcher, todo-files, todo-filter-items)
4129 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4130 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4131 (todo-insert-category-line, todo-insert-item-from-calendar)
4132 (todo-insert-sort-button, todo-insert-with-overlays)
4133 (todo-insertion-command-name, todo-insertion-key-bindings)
4134 (todo-label-to-key, todo-longest-category-name-length)
4135 (todo-make-categories-list, todo-mode-external-set)
4136 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4137 (todo-modes-set-3, todo-multiple-filter-files)
4138 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4139 (todo-read-category, todo-read-date, todo-read-dayname)
4140 (todo-read-file-name, todo-read-time)
4141 (todo-reevaluate-category-completions-files-defcustom)
4142 (todo-reevaluate-default-file-defcustom)
4143 (todo-reevaluate-filelist-defcustoms)
4144 (todo-reevaluate-filter-files-defcustom)
4145 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4146 (todo-reset-done-separator, todo-reset-done-separator-string)
4147 (todo-reset-done-string, todo-reset-global-current-todo-file)
4148 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4149 (todo-reset-prefix, todo-set-categories)
4150 (todo-set-date-from-calendar, todo-set-show-current-file)
4151 (todo-set-top-priorities, todo-short-file-name)
4152 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4153 (todo-total-item-counts, todo-update-buffer-list)
4154 (todo-update-categories-display, todo-update-categories-sexp)
4155 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4156 New functions.
4157 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4158 New major modes.
4159 (todo-categories, todo-display, todo-edit, todo-faces)
4160 (todo-filtered): New defgroups.
4161 (todo-archived-only, todo-button, todo-category-string, todo-date)
4162 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4163 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4164 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4165 (todo-add-item-if-new-category, todo-always-add-time-string)
4166 (todo-categories-align, todo-categories-archived-label)
4167 (todo-categories-category-label, todo-categories-diary-label)
4168 (todo-categories-done-label, todo-categories-number-separator)
4169 (todo-categories-todo-label, todo-categories-totals-label)
4170 (todo-category-completions-files, todo-completion-ignore-case)
4171 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4172 (todo-done-separator-string, todo-done-string)
4173 (todo-files-function, todo-filter-done-items, todo-filter-files)
4174 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4175 (todo-initial-category, todo-initial-file, todo-item-mark)
4176 (todo-legacy-date-time-regexp, todo-mode-line-function)
4177 (todo-nondiary-marker, todo-number-prefix)
4178 (todo-print-buffer-function, todo-show-current-file)
4179 (todo-show-done-only, todo-show-first, todo-show-with-done)
4180 (todo-skip-archived-categories, todo-top-priorities-overrides)
4181 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4182 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4183 New defcustoms.
4184 (todo-category-done, todo-date-pattern, todo-date-string-start)
4185 (todo-diary-items-buffer, todo-done-string-start)
4186 (todo-filtered-items-buffer, todo-item-start)
4187 (todo-month-abbrev-array, todo-month-name-array)
4188 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4189 (todo-top-priorities-buffer): New defconsts.
4190 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4191 (todo-categories-with-marks, todo-category-string-face)
4192 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4193 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4194 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4195 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4196 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4197 (todo-font-lock-keywords, todo-global-current-todo-file)
4198 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4199 (todo-insertion-commands-args)
4200 (todo-insertion-commands-args-genlist)
4201 (todo-insertion-commands-names, todo-insertion-map)
4202 (todo-key-bindings-t, todo-key-bindings-t+a)
4203 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4204 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4205 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4206 (todo-visited): New variables.
4207
cad5d1cb
GM
42082013-06-21 Glenn Morris <rgm@gnu.org>
4209
4210 * play/cookie1.el (cookie-apropos): Add optional display argument.
4211 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4212 (psychoanalyze-pinhead): Use cookie-doctor.
4213
9e277302
JB
42142013-06-21 Juanma Barranquero <lekktu@gmail.com>
4215
4216 * emacs-lisp/package.el (tar-get-file-descriptor)
4217 (tar--extract): Declare.
4218
c5b0993e
EW
42192013-06-21 Eduard Wiebe <usenet@pusto.de>
4220
4221 Extend flymake's warning predicate to be a function (bug#14217).
4222 * progmodes/flymake.el (flymake-warning-predicate): New.
4223 (flymake-parse-line): Use it.
4224 (flymake-warning-re): Make obsolete alias to
4225 `flymake-warning-predicate'.
4226
a7d2d465
SM
42272013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4228
4229 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4230 (package-obsolete-list): Remove.
4231 (package-activate): Remove min-version argument. Add `force' argument.
4232 Adjust to new package-alist format.
4233 (package-mark-obsolete): Remove.
4234 (package-unpack): Force reload of the package's autoloads.
4235 (package-installed-p): Check builtins if the installed package is not
4236 recent enough.
4237 (package-initialize): Don't reset package-obsolete-list.
4238 Don't specify which package version to activate.
4239 (package-process-define-package, describe-package-1)
4240 (package-menu--generate): Adjust to new package-alist format.
4241
cedf5c9d
JB
42422013-06-21 Juanma Barranquero <lekktu@gmail.com>
4243
4244 * allout-widgets.el (allout-widgets-mode-off)
4245 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4246 (allout-widgets-post-command-business)
4247 (allout-widgets-after-copy-or-kill-function)
4248 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4249 (allout-decorate-item-and-context)
4250 (allout-graphics-modification-handler): Fix typos in docstrings.
4251 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4252
4253 * cmuscheme.el (scheme-start-file): Doc fix.
4254 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4255 (scheme-input-filter): Use `string-match-p'.
4256
4257 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4258
4259 * dired-x.el: Use Dired consistently in docstrings.
4260
4261 * dired.el: Use Dired consistently in docstrings.
4262 (dired-readin, dired-mode): Use `setq-local'.
4263 (dired-switches-alist): Make defvar-local.
4264 (dired-buffers-for-dir): Use `zerop'.
4265 (dired-safe-switches-p, dired-switches-escape-p)
4266 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4267 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4268 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4269 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4270 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4271 (dired-toggle-marks, dired-mark-files-containing-regexp)
4272 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4273 (dired-flag-auto-save-files, dired-flag-backup-files):
4274 Use `looking-at-p'.
4275 (dired-mark-files-regexp, dired-build-subdir-alist):
4276 Use `string-match-p', `looking-at-p'.
4277
4278 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4279 (direct-print-region-helper): Use `string-match-p'.
4280
aed838b5
LL
42812013-06-21 Leo Liu <sdl.web@gmail.com>
4282
cedf5c9d
JB
4283 * comint.el (comint-redirect-results-list-from-process):
4284 Fix infinite loop.
aed838b5 4285
d80a808f
LMI
42862013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4287
4288 * net/eww.el (eww-update-header-line-format): Quote % characters.
4289
e7a526e3
GM
42902013-06-21 Glenn Morris <rgm@gnu.org>
4291
4292 * play/cookie1.el (cookie): New custom group.
4293 (cookie-file): New option.
4294 (cookie-check-file): New function.
4295 (cookie): Make it interactive. Make start and end messages optional.
4296 Interactively, display the result. Default to cookie-file.
4297 (cookie-insert): Default to cookie-file.
4298 (cookie-snarf): Make start and end messages optional.
4299 Default to cookie-file. Use with-temp-buffer.
4300 (cookie-read): Rename from read-cookie.
4301 Make start and end messages optional. Default to cookie-file.
4302 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 4303 Do not autoload it.
e7a526e3
GM
4304 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4305 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4306
62efb35e
LL
43072013-06-21 Leo Liu <sdl.web@gmail.com>
4308
4309 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4310
21e3f963
GM
43112013-06-21 Glenn Morris <rgm@gnu.org>
4312
4313 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4314
fd846ab4
SM
43152013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4316 Daniel Hackney <dan@haxney.org>
4317
4318 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4319 Consolidate the single-file vs tarball code.
4320 (package-desc-suffix): New function.
4321 (package-desc-full-name): Don't bother inlining it.
4322 (package-load-descriptor): Return the new package-desc.
4323 (package-mark-obsolete): Remove unused arg `package'.
4324 (package-unpack): Make it work for single files as well.
4325 Make it update package-alist.
4326 (package--make-autoloads-and-stuff): Rename from
4327 package--make-autoloads-and-compile. Don't compile any more.
4328 (package--compile): New function.
4329 (package-generate-description-file): New function, extracted from
4330 package-unpack-single.
4331 (package-unpack-single): Remove.
4332 (package--with-work-buffer): Add indentation and debugging info.
4333 (package-download-single): Remove.
4334 (package-install-from-archive): Rename from package-download-tar, make
4335 it take a pkg-desc, and make it work for single files as well.
4336 (package-download-transaction): Simplify.
4337 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4338 external tar program.
4339 (package-install-from-buffer): Remove `pkg-desc' argument.
4340 Use package-tar-file-info for tar-mode buffers.
4341 (package-install-file): Simplify accordingly.
4342 (package-archive-base): Change to take a pkg-desc.
4343 * tar-mode.el (tar--check-descriptor): New function, extracted from
4344 tar-get-descriptor.
4345 (tar-get-descriptor): Use it.
4346 (tar-get-file-descriptor): New function.
4347 (tar--extract): New function, extracted from tar-extract.
4348 (tar--extract): Use it.
4349 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4350 case the summary uses non-ascii. Adjust to new calling convention of
4351 package-tar-file-info.
4352
b7deae5e
LL
43532013-06-21 Leo Liu <sdl.web@gmail.com>
4354
fd846ab4
SM
4355 * comint.el (comint-redirect-results-list-from-process):
4356 Fix random delay. (Bug#14681)
b7deae5e 4357
7a65a0b2
JB
43582013-06-21 Juanma Barranquero <lekktu@gmail.com>
4359
4360 * profiler.el (profiler-format-number): Use log, not log10.
4361
1493c2af
JB
43622013-06-20 Juanma Barranquero <lekktu@gmail.com>
4363
4364 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4365
aff6371e
SM
43662013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4367
4368 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4369 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4370 yet available.
4371 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4372 (AUTOGENEL): ... here.
4373 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4374 (cl--defsubst-expand): Use it.
4375
89561f72
PE
43762013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4377
4378 * subr.el (log10): Move here from C code, and declare as obsolete.
4379 All uses of (log10 X) replaced with (log X 10).
4380
47199123
JB
43812013-06-20 Juanma Barranquero <lekktu@gmail.com>
4382
4383 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4384 Declare with `defvar-local'.
4385 (tabulated-list-use-header-line, tabulated-list-entries)
4386 (tabulated-list-padding, tabulated-list-printer)
4387 (tabulated-list-sort-key): Declare with `defvar-local'.
4388 (tabulated-list-init-header, tabulated-list-print-fake-header):
4389 Use `setq-local'.
4390
4a172eab
MA
43912013-06-20 Michael Albinus <michael.albinus@gmx.de>
4392
47199123
JB
4393 * arc-mode.el (archive-mode): Add `archive-write-file' to
4394 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 4395
5fc0acc0
JB
43962013-06-20 Juanma Barranquero <lekktu@gmail.com>
4397
d5b27848
JB
4398 * cus-edit.el (custom-commands): Fix typos.
4399 (custom-display): Fix tooltip text.
4400 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4401 Fix typos in docstrings.
4402 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4403 (custom-unlispify-menu-entry, custom-magic-value-create)
4404 (custom-add-see-also, custom-group-value-create): Use ?\s.
4405 (custom-guess-type, customize-apropos, editable-field)
4406 (custom-face-value-create): Use `string-match-p'.
4407 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4408
4409 * custom.el (custom-load-symbol): Use `string-match-p'.
4410
a5c581d8
JB
4411 * ansi-color.el: Convert to lexical binding.
4412 (ansi-colors): Fix URL.
4413 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4414 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4415 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4416
970ad972
G
44172013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4418
4419 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4420
4421 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4422
44232013-06-19 Tom Tromey <tromey@redhat.com>
4424
4425 * net/eww.el (eww-top-url): Remove.
4426 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4427 (eww-render): Set new variables. Don't set eww-top-url.
4428 (eww-handle-link): Handle "prev", "home", and "contents".
4429 Downcase the rel text.
4430 (eww-top-url): Choose best top URL.
4431
44322013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4433
4434 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4435 relying in widget.el. Using widget.el leads to too many
4436 user interface inconsistencies.
4437 (eww-self-insert): Implement entering commands in text fields.
4438 (eww-process-text-input): New function to make text input field editing
4439 work.
4440 (eww-submit): Rewrite to use the new-style form methods.
4441 (eww-select-display): Display the correct selected item.
4442 (eww-change-select): Implement changing the select value.
4443 (eww-toggle-checkbox): Implement radio/checkboxes.
4444 (eww-update-field): Fix compilation error.
4445 (eww-tag-textarea): Implement <textarea>.
4446
4447 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4448 we don't shadow mode-specific bindings.
4449
4450 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4451 nothing to push.
4452
4453 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4454
4582a01c 44552013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
4456
4457 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4458
15b263dc
MA
44592013-06-19 Michael Albinus <michael.albinus@gmx.de>
4460
4461 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4462 not needed.
4463
4464 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4465
8f5297f7
LMI
44662013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4467
4468 * net/browse-url.el (browse-url-browser-function):
4469 `eww-browse-url' has the right calling signature, `eww' does not.
4470
011c4552
GM
44712013-06-19 Glenn Morris <rgm@gnu.org>
4472
2285bd27
GM
4473 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4474 Only eval autoloaded macros.
4475 (byte-compile-autoload): Only give the macro warning for macros.
4476
1d653303
GM
4477 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4478 (ps-underlined-faces): Declare.
4479
bdd779ec
GM
4480 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4481 (speedbar-add-supported-extension): Declare.
4482
011c4552
GM
4483 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4484 Don't include a date stamp in the header of the generated file;
4485 it leads to needless differences between output files.
4486
e59dfb0e
MA
44872013-06-19 Michael Albinus <michael.albinus@gmx.de>
4488
c763842b
SM
4489 * net/secrets.el (secrets-struct-secret-content-type):
4490 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 4491 Some servers do not offer introspection.
e59dfb0e 4492
102626e2
SM
44932013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4494
4495 * electric.el (electric-pair-mode): Improve interaction with
4496 electric-layout-mode.
4497 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4498 (electric-pair-syntax): Use text-mode-syntax-table in comments
4499 and strings.
4500 (electric-pair--insert): New function.
4501 (electric-pair-post-self-insert-function): Use it and
4502 electric--after-char-pos.
4503
ad528125
LL
45042013-06-19 Leo Liu <sdl.web@gmail.com>
4505
4506 * progmodes/octave.el (octave-help): Fix regexp.
4507
924d6997
G
45082013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4509
4510 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4511 (shr-table-horizontal-line): Allow nil as a value, and change the
4512 default.
4513 (shr-insert-table-ruler): Respect the nil value.
4514
45152013-06-18 Tom Tromey <tromey@barimba>
4516
4517 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4518 New defvars.
4519 (eww-open-file): New defun.
4520 (eww-render): Initialize new variables.
4521 (eww-display-html): Handle "link" and "a".
4522 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4523 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4524 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
4525 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4526 New defuns.
924d6997 4527
d1bbba4f
DG
45282013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4529
4530 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4531 Distinguish ternary operator tokens from slash symbol and slash
4532 char literal.
4533
14dd22d2
JB
45342013-06-18 Juanma Barranquero <lekktu@gmail.com>
4535
4536 Convert symbol prettification into minor mode and global minor mode.
4537
4538 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4539 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4540 (prettify-symbols--keywords): Rename from
4541 `prog-prettify-symbols-alist' and make a local defvar.
4542 (prettify-symbols--compose-symbol): Rename from
4543 `prog--prettify-font-lock-compose-symbol'.
4544 (prettify-symbols--make-keywords): Rename from
4545 `prog-prettify-font-lock-symbols-keywords' and simplify.
4546 (prog-prettify-install): Remove.
4547 (prettify-symbols-mode): New minor mode, based on
4548 `prog-prettify-install'.
4549 (turn-on-prettify-symbols-mode): New function.
4550 (global-prettify-symbols-mode): New globalized minor mode.
4551
4552 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4553 * progmodes/cfengine.el (cfengine3-mode):
4554 * progmodes/perl-mode.el (perl-mode): Don't call
4555 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4556
292c880c
JL
45572013-06-18 Juri Linkov <juri@jurta.org>
4558
4559 * files-x.el (modify-file-local-variable-message): New function.
4560 (modify-file-local-variable)
4561 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4562 and call `modify-file-local-variable-message' when it's non-nil.
4563 (add-file-local-variable, delete-file-local-variable)
4564 (add-file-local-variable-prop-line)
4565 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4566 and use it. (Bug#9820)
4567
0950aa27
JL
45682013-06-18 Juri Linkov <juri@jurta.org>
4569
4570 * emulation/vi.el (vi-shell-op):
4571 * emulation/vip.el (vip-execute-com, ex-command):
4572 * emulation/viper-cmd.el (viper-exec-bang):
4573 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4574 the call of `shell-command-on-region'. (Bug#14637)
4575
4576 * simple.el (shell-command-on-region): Doc fix.
4577
8fbcca16
SM
45782013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4579
4580 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4581 (bug#14633).
4582
dd7426ea
GM
45832013-06-18 Glenn Morris <rgm@gnu.org>
4584
4ba54f7d
GM
4585 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4586
dd7426ea
GM
4587 * newcomment.el (comment-search-forward, comment-search-backward):
4588 Doc fix. (Bug#14376)
4589
58aa805b
JB
45902013-06-18 Juanma Barranquero <lekktu@gmail.com>
4591
4592 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4593 (buffer-face-mode-invoke): Doc fix.
4594
9a08a617
MM
45952013-06-18 Matthias Meulien <orontee@gmail.com>
4596
4597 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 4598 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 4599
f2f426ca
GM
46002013-06-18 Glenn Morris <rgm@gnu.org>
4601
9445f99b
GM
4602 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4603 Replace obsolete function generic-make-keywords with its expansion.
4604
e0df2d14
GM
4605 * progmodes/python.el (ffap-alist): Declare.
4606
f2f426ca
GM
4607 * textmodes/reftex.el (bibtex-mode-map): Declare.
4608
f7f9a720
SM
46092013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4612 (package-unpack, package-unpack-single): Return the pkg-dir.
4613 (package-download-transaction): Use it to update package-alist.
4614
57ff04e0
LMI
46152013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4616
4617 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4618 possible choice.
4619
c048c022
JL
46202013-06-17 Juri Linkov <juri@jurta.org>
4621
4622 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4623
b5bcaee5
DG
46242013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4625
a020afb9
JB
4626 * emacs-lisp/package.el (package-load-descriptor):
4627 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
4628 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4629
551e07e5
JB
46302013-06-17 Juanma Barranquero <lekktu@gmail.com>
4631
4632 * startup.el (command-line): Expand package name returned by
4633 `package--description-file' (bug#14639).
4634
d363bffb
DG
46352013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4636
4637 * emacs-lisp/package.el (package-load-descriptor): Do not call
4638 `emacs-lisp-mode', just use its syntax table.
4639
f612933b
JB
46402013-06-17 Juanma Barranquero <lekktu@gmail.com>
4641
4642 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4643 `font-lock-extra-managed-props' if any prettifying keyword is added.
4644 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4645 (prog-mode): Use `setq-local'.
4646
db3b7db5
SM
46472013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4648
4649 * international/characters.el (standard-case-table): Set syntax of ?»
4650 and ?« to punctuation.
4651
f3d674df
JB
46522013-06-16 Juanma Barranquero <lekktu@gmail.com>
4653
4654 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4655 Save relevant match data before calling `syntax-ppss' (bug#14595).
4656
31489a32
JL
46572013-06-15 Juri Linkov <juri@jurta.org>
4658
4659 * files-x.el (modify-file-local-variable-prop-line): Add local
4660 variables to the end of the existing comment on the first line.
4661 Use `file-auto-mode-skip' to skip interpreter magic line,
4662 and also skip XML declaration.
4663
66bd25ab
SM
46642013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4665
4666 * startup.el (package--builtin-versions): New var.
4667 (package-subdirectory-regexp): Remove.
4668 (package--description-file): Hard code its value instead.
4669
4670 * emacs-lisp/package.el: Don't activate packages older than builtin.
4671 (package-obsolete-list): Rename from package-obsolete-alist, and make
4672 it into a simple list of package-desc.
4673 (package-strip-version): Remove.
4674 (package-built-in-p): Use package--builtin-versions.
4675 (package-mark-obsolete): Simplify.
4676 (package-process-define-package): Mark it obsolete if older than the
4677 builtin version.
4678 (package-handle-response): Use line-end-position.
4679 (package-read-archive-contents, package--download-one-archive):
4680 Simplify.
4681 (package--add-to-archive-contents): Skip if older than the builtin or
4682 installed version.
4683 (package-menu-describe-package): Fix last change.
4684 (package-list-unversioned): New var.
4685 (package-menu--generate): Use it.
4686
4687 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4688 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4689 (autoload-builtin-package-versions): New variable.
4690 (autoload-generate-file-autoloads): Use them.
4691 Remove the list of autoloaded functions/macros from the
4692 (autoload...) comments.
4693
4694 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4695
9583ec36
EZ
46962013-06-15 Eli Zaretskii <eliz@gnu.org>
4697
4698 * simple.el (line-move-partial): Don't jump to the next screen
4699 line as soon as it becomes visible. Instead, continue enlarging
4700 the vscroll until the portion of a tall screen line that's left on
4701 display is about the height of the frame's default font.
4702 (Bug#14567)
4703
f0100d8a
GM
47042013-06-15 Glenn Morris <rgm@gnu.org>
4705
b86a85ca
GM
4706 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4707 compilation-error-regexp-alist void, or local while let-bound.
4708
f0100d8a
GM
4709 * progmodes/make-mode.el (makefile-mode-syntax-table):
4710 Treat "=" as punctuation. (Bug#14614)
4711
05e7ce90
JB
47122013-06-15 Juanma Barranquero <lekktu@gmail.com>
4713
4714 * help-fns.el (describe-variable):
4715 Add extra line for permanent-local variables.
4716
12e5e86e
SH
47172013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4718
4719 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4720 Add export, import, library. (Bug#9164)
4721 (library): Set indent function.
4722
230dcbaf
GM
47232013-06-14 Glenn Morris <rgm@gnu.org>
4724
4725 * term/xterm.el (xterm--query):
4726 Stop after first matching handler. (Bug#14615)
4727
e36b2d20 47282013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
4729
4730 Add support for dired in saveplace.
4731 * dired.el (dired-initial-position-hook): New variable.
4732 (dired-initial-position): Call hook to place cursor position.
4733 * saveplace.el (save-place-to-alist): Add dired position.
4734 (save-place-dired-hook): New function.
4735
0b31660d
SM
47362013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4737
bf1e6ae8
SM
4738 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4739 through a symbol rather than letrec.
4740
1b8dff23
SM
4741 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4742 (package-desc): Add `dir' field.
4743 (package-desc-full-name): New function.
4744 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4745 (package-maybe-load-descriptor): Remove.
4746 (package-load-all-descriptors): Just call package-load-descriptor.
4747 (package--disabled-p): New function.
4748 (package-desc-vers, package-desc-doc): Remove aliases.
4749 (package--dir): Remove function.
4750 (package-activate): Check if a package is disabled.
4751 (package-process-define-package): New function, extracted from
4752 define-package.
4753 (define-package): Turn into a place holder.
4754 (package-unpack-single, package-tar-file-info):
4755 Use package--description-file.
4756 (package-compute-transaction): Use package--disabled-p.
4757 (package-download-transaction): Don't call
4758 package-maybe-load-descriptor since they're all loaded anyway.
4759 (package-install): Change argument to be a pkg-desc.
4760 (package-delete): Use a single pkg-desc argument.
4761 (describe-package-1): Use package-desc-dir instead of package--dir.
4762 Use package-desc property instead of package-symbol.
4763 (package-install-button-action): Adjust accordingly.
4764 (package--push): Rewrite.
4765 (package-menu--print-info): Adjust accordingly. Change the ID format
4766 to be a pkg-desc.
4767 (package-menu-describe-package, package-menu-get-status)
4768 (package-menu--find-upgrades, package-menu-mark-upgrades)
4769 (package-menu-execute, package-menu--name-predicate):
4770 Adjust accordingly.
4771 * startup.el (package--description-file): New function.
4772 (command-line): Use it.
4773 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4774 Use package-desc-version.
4775
0b31660d
SM
4776 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4777 (byte-compile-preprocess): Use it.
4778 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4779 can't quite recognize.
4780 (byte-compile-add-to-list): Remove.
4781 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4782 (cconv-closure-convert): Add assertion.
4783
4784 * emacs-lisp/map-ynp.el: Use lexical-binding.
4785 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4786 Factor out some repeated code.
4787
de0503df
SM
47882013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4789
4790 * subr.el (with-eval-after-load): New macro.
4791 (eval-after-load): Allow form to be a function.
4792 take advantage of lexical-binding.
4793 (do-after-load-evaluation): Use dolist and adjust to new format.
4794 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4795
bc5c8c5a
JL
47962013-06-13 Juri Linkov <juri@jurta.org>
4797
4798 * replace.el (perform-replace): Display "symbol " and other search
4799 modes from `isearch-message-prefix' in the *Help* buffer.
4800
4801 * isearch.el (isearch-query-replace): Add " symbol" and other
4802 possible search modes from `isearch-message-prefix' to the prompt.
4803 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4804 when reading a regexp to collect.
4805
a22289f7
JL
48062013-06-13 Juri Linkov <juri@jurta.org>
4807
4808 * isearch.el (word-search-regexp): Match whitespace if the search
4809 string begins or ends in whitespace. The LAX arg is applied to
4810 both ends of the search string. Use `regexp-quote' and explicit
4811 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4812 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4813 boundaries are replaced with symbol boundaries, and characters
4814 between symbols match non-word non-symbol syntax. (Bug#14602)
4815
cb89acab
JL
48162013-06-13 Juri Linkov <juri@jurta.org>
4817
4818 * isearch.el (isearch-del-char): Don't exceed the length of
4819 `isearch-string' by the prefix arg. (Bug#14563)
4820
6e8cfc81
JL
48212013-06-13 Juri Linkov <juri@jurta.org>
4822
4823 * isearch.el (isearch-yank-word, isearch-yank-line)
4824 (isearch-char-by-name, isearch-quote-char)
4825 (isearch-printing-char, isearch-process-search-char):
4826 Add optional count prefix arg. (Bug#14563)
4827
4828 * international/isearch-x.el
4829 (isearch-process-search-multibyte-characters):
4830 Add optional count prefix arg.
4831
c23d55f4
VS
48322013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4833
4834 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4835 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4836 lexical-binding.
4837
48382013-06-13 Vitalie Spinu <spinuvit@gmail.com>
4839
4840 * subr.el (set-temporary-overlay-map): Add on-exit argument.
4841
ba947bc4
GM
48422013-06-13 Glenn Morris <rgm@gnu.org>
4843
8baeb37a
GM
4844 * startup.el (tty-handle-args):
4845 Don't just discard "--" and anything after. (Bug#14608)
4846
ba947bc4
GM
4847 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4848
9abefce4
MA
48492013-06-13 Michael Albinus <michael.albinus@gmx.de>
4850
4851 Implement changes in Secret Service API. Make it backward compatible.
4852 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4853 (secrets-create-item): Use it. Prefix properties with interface.
4854
5755011f
MH
48552013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
4856
4857 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
4858 (term-emulate-terminal): Respect term-suppress-hard-newline.
4859
1261d2da
S
48602013-06-13 E Sabof <esabof@gmail.com> (tiny change)
4861
4862 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4863 Only remove a `thumb-file' overlay. (Bug#14548)
4864
868490bb
GJ
48652013-06-12 Grégoire Jadi <daimrod@gmail.com>
4866
4867 * mail/reporter.el (reporter-submit-bug-report):
4868 Handle missing package-name. (Bug#14600)
4869
79d7167f
TH
48702013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4871
4872 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
4873 (reftex-citation-prompt, reftex-default-bibliography)
4874 (reftex-bib-or-thebib, reftex-get-bibfile-list)
4875 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4876 (reftex-bib-sort-author, reftex-bib-sort-year)
4877 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
4878 (reftex-extract-bib-entries-from-thebibliography)
4879 (reftex-get-bibkey-default, reftex-get-bib-names)
4880 (reftex-parse-bibtex-entry, reftex-get-bib-field)
4881 (reftex-format-bib-entry, reftex-parse-bibitem)
4882 (reftex-format-bibitem, reftex-do-citation)
4883 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
4884 (reftex-restrict-bib-matches, reftex-extract-bib-file)
4885 (reftex-insert-bib-matches, reftex-format-citation)
4886 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
4887 (reftex-create-bibtex-file): Add docstrings, mostly by converting
4888 existing comments into docstrings.
4889
5f9dbd7a
XF
48902013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4891
4892 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
4893
94df41ab
AS
48942013-06-12 Andreas Schwab <schwab@suse.de>
4895
4896 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
4897 for auto-save files.
4898
a7f3fecc
GM
48992013-06-12 Glenn Morris <rgm@gnu.org>
4900
001809f6
GM
4901 * ido.el (ido-delete-ignored-files): Remove.
4902 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
4903 Go back to calling ido-ignore-item-p directly.
a7f3fecc 4904
834b5ded
EL
49052013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
4906
08c73ed2
EL
4907 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
4908
834b5ded
EL
4909 * ido.el (ido-delete-ignored-files): New function,
4910 split from ido-make-file-list-1.
4911 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
4912 (ido-make-file-list-1): Use ido-delete-ignored-files.
4913
daabf15a
LL
49142013-06-12 Leo Liu <sdl.web@gmail.com>
4915
4916 * progmodes/octave.el (inferior-octave-startup)
4917 (inferior-octave-completion-table)
4918 (inferior-octave-track-window-width-change)
4919 (octave-eldoc-function-signatures, octave-help)
4920 (octave-find-definition): Use single quoted strings.
4921 (inferior-octave-startup-args): Change default value.
4922 (inferior-octave-startup): Do not hard code "-i" and
4923 "--no-line-editing".
4924 (inferior-octave-resync-dirs): Add optional arg NOERROR.
4925 (inferior-octave-directory-tracker): Use it.
4926 (octave-goto-function-definition): Robustify.
4927 (octave-help): Support highlighting operators in 'See also'.
4928 (octave-find-definition): Find subfunctions only in Octave mode.
4929
cf4e5178
SM
49302013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4931
4932 * help-fns.el (help-fns--compiler-macro): If the handler function is
4933 named, then put a link to it.
4934 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
4935 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
4936 (cl-typep): Use it.
4937 (cl-eval-when): Simplify debug spec.
4938 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
4939 compiler-macro function instead of setting `compiler-macro-file'.
4940
99c81280 49412013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
4942
4943 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
4944 * vc/vc-hooks.el (vc-stay-local): Doc fix.
4945
f56be016
SM
49462013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4947 Daniel Hackney <dan@haxney.org>
4948
4949 First part of Daniel Hackney's patch to package.el.
4950 * emacs-lisp/package.el: Use defstruct.
4951 (package-desc): New, main struct.
4952 (package--bi-desc, package--ac-desc): New structs, used to describe the
4953 format in external files.
4954 (package-desc-vers): Replace with package-desc-version accessor.
4955 (package-desc-doc): Replace with package-desc-summary accessor.
4956 (package-activate-1): Remove `package' arg since the pkg-vec now
4957 includes the name.
4958 (define-package): Use package-desc-from-define.
4959 (package-unpack-single): Change file-name arg to be a symbol.
4960 (package--add-to-archive-contents): Use package-desc-create and new
4961 accessor functions to package--ac-desc.
4962 (package-buffer-info, package-tar-file-info): Return a package-desc.
4963 (package-install-from-buffer): Remove `type' argument. Change pkg-info
4964 arg to be a package-desc.
4965 (package-install-file): Adjust accordingly. Use \' to match EOS.
4966 (package--from-builtin): New function.
4967 (describe-package-1, package-menu--generate): Use it.
4968 (package--make-autoloads-and-compile): Change name arg to be a symbol.
4969 (package-generate-autoloads): Idem and return the name of the file.
4970 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4971 Change pkg-info arg to be a package-desc.
4972 Use package-make-ac-desc.
4973 (package-upload-file): Use \' to match EOS.
4974 * finder.el (finder-compile-keywords): Use package-make-builtin.
4975
31119d63
SM
49762013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4977
931a2762
SM
4978 * vc/vc.el (vc-deduce-fileset): Change error message.
4979 (vc-read-backend): New function.
4980 (vc-next-action): Use it.
4981
5a3eb0c6
SM
4982 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
4983
e3eb1bb7
SM
4984 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
4985 (prolog-font-lock-keywords): Use regexp-opt instead.
4986 Don't manually highlight strings.
4987 (prolog-mode-variables): Simplify comment-start-skip.
4988 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
4989
31119d63
SM
4990 * emacs-lisp/generic.el (generic--normalise-comments)
4991 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
4992 (generic-mode-set-comments): Use them.
4993 (generic-bracket-support): Use setq-local.
4994 (generic-make-keywords-list): Declare obsolete.
4995
7de135d0
GM
49962013-06-11 Glenn Morris <rgm@gnu.org>
4997
4998 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4999 Prettify after setting font-lock-defaults. (Bug#14574)
5000
fa6bc6fd
JB
50012013-06-11 Juanma Barranquero <lekktu@gmail.com>
5002
5003 * replace.el (query-replace, occur-read-regexp-defaults-function)
5004 (replace-search):
5005 * subr.el (declare-function, number-sequence, local-set-key)
5006 (substitute-key-definition, locate-user-emacs-file)
5007 (with-silent-modifications, split-string, eval-after-load):
5008 Fix typos, remove unneeded backslashes and reflow some docstrings.
5009
cf1f9b9a
SM
50102013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5011
5012 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5013 default for Elisp files.
5014
56602a4b
GM
50152013-06-11 Glenn Morris <rgm@gnu.org>
5016
5017 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5018 although define-derived-mode was doing this anyway. (Bug#14583)
5019
30ae0b2c
JB
50202013-06-10 Juanma Barranquero <lekktu@gmail.com>
5021
5022 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5023 Fix make-variable-buffer-local call to refer to the correct variable.
5024
fa472906
AG
50252013-06-10 Aidan Gauland <aidalgol@amuri.net>
5026
5027 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
5028 (eshell-visual-subcommands, eshell-visual-options):
5029 Add summary line to docstrings. Add cross-references.
fa472906 5030
ff4871b9
GM
50312013-06-10 Glenn Morris <rgm@gnu.org>
5032
5033 * epa.el (epa-read-file-name): New function. (Bug#14510)
5034 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5035
04fcf1b0
AG
50362013-06-09 Aidan Gauland <aidalgol@amuri.net>
5037
5038 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5039 output redirection to be ignored with visual commands.
5040
88b00caa
AG
50412013-06-09 Aidan Gauland <aidalgol@amuri.net>
5042
5043 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
5044 (eshell-term-initialize): Move long lambda to separate function
5045 eshell-visual-command-p.
e7b41c4c
JB
5046 * eshell/em-dirs.el (eshell-dirs-initialise):
5047 * eshell/em-script.el (eshell-script-initialize):
5048 Add missing #' to lambda.
88b00caa 5049
fda74125
LL
50502013-06-08 Leo Liu <sdl.web@gmail.com>
5051
5052 * progmodes/octave.el (octave-add-log-current-defun): New function.
5053 (octave-mode): Set add-log-current-defun-function.
5054 (octave-goto-function-definition): Do not move point if not found.
5055 (octave-find-definition): Enhance to try subfunctions first.
5056
467f3b33
GM
50572013-06-08 Glenn Morris <rgm@gnu.org>
5058
5059 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5060 (byte-compile-backward-char, byte-compile-backward-word):
5061 Improve previous change, to handle non-explicit nil.
5062
544badc3
SM
50632013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5064
5065 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5066 (smie--opener/closer-at-point): New function.
5067 (smie--matching-block-data): Use it. Don't match from right after an
5068 opener or right before a closer. Obey smie-blink-matching-inners.
5069 Don't signal a mismatch for repeated inners like "switch..case..case".
5070
a175bf33
LL
50712013-06-07 Leo Liu <sdl.web@gmail.com>
5072
5073 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5074 to t. (Bug#14303)
ce8209d4
LL
5075 (octave-function-header-regexp): Fix. (Bug#14570)
5076 (octave-help-mode-finish-hook, octave-help-mode-finish):
5077 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
5078
5079 * newcomment.el (comment-search-backward): Revert last change.
5080 (Bug#14434)
5081
5082 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5083
a822acff
EZ
50842013-06-07 Eli Zaretskii <eliz@gnu.org>
5085
5086 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5087 through xargs, to avoid failure due to MS-Windows limitations on
5088 command-line length.
5089
961166f5
GM
50902013-06-06 Glenn Morris <rgm@gnu.org>
5091
d0341459
GM
5092 * font-lock.el (lisp-font-lock-keywords-2):
5093 Treat user-error like error.
5094
961166f5
GM
5095 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5096 (byte-compile-backward-char, byte-compile-backward-word):
5097 Handle explicit nil arguments. (Bug#14565)
5098
80fa505f
AM
50992013-06-05 Alan Mackenzie <acm@muc.de>
5100
5101 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 5102 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 5103 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 5104 (Bug#9706)
80fa505f 5105
fccdc796
SM
51062013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5107
5108 * autorevert.el (auto-revert-notify-handler): Use memq.
5109 Hide assertion failure.
5110
5111 * skeleton.el: Use cl-lib.
5112 (skeleton-further-elements): Use defvar-local.
5113 (skeleton-insert): Use cl-progv.
5114
9bfff84b
TZ
51152013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5116
5117 * progmodes/prog-mode.el (prog-prettify-symbols)
5118 (prog-prettify-install): Update docstrings.
5119
55577e7c
SM
51202013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5121
5122 * simple.el: Move all the prog-mode code to prog-mode.el.
5123 * progmodes/prog-mode.el: New file.
5124 * loadup.el: Add prog-mode.el.
5125
8fc57765
TZ
51262013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5127
5128 * simple.el (prog-prettify-symbols): Add version.
5129 (prog-prettify-install): Add convenience function to prettify symbols.
5130
5131 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5132 (perl--augmented-font-lock-keywords-1)
5133 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5134 variables and use it.
5135
5136 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5137 (cfengine3-mode): Remove unneeded variable and use it.
5138
5139 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5140 (lisp--augmented-font-lock-keywords-1)
5141 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5142 Remove unneeded variables and use it.
5143
650645d5 51442013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
5145
5146 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 5147 to point when opening the connection. (Bug#14380)
28f5da6d 5148
781b4af6
SM
51492013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 * subr.el (load-history-regexp, load-history-filename-element)
5152 (eval-after-load, after-load-functions, do-after-load-evaluation)
5153 (eval-next-after-load, display-delayed-warnings)
5154 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5155 definition of save-match-data.
5156 (overriding-local-map): Remove accidental obsolescence declaration.
5157
5158 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5159
3ca0d0b4
TZ
51602013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5161
5162 Generalize symbol prettify support to prog-mode and implement it
5163 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5164 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5165 (prog--prettify-font-lock-compose-symbol)
5166 (prog-prettify-font-lock-symbols-keywords): New variables and
5167 functions to support symbol prettification.
5168 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5169 (lisp--augmented-font-lock-keywords-1)
5170 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5171 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5172 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
5173 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5174 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
5175 * progmodes/perl-mode.el (perl-prettify-symbols)
5176 (perl--font-lock-compose-symbol)
5177 (perl--font-lock-symbols-keywords): Move to prog-mode.
5178 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5179 (perl-font-lock-keywords-1)
5180 (perl-font-lock-keywords-2): Remove explicit prettify support.
5181 (perl--augmented-font-lock-keywords)
5182 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
5183 (perl--augmented-font-lock-keywords-2, perl-mode):
5184 Implement prettify support.
3ca0d0b4 5185
976cb066
LL
51862013-06-05 Leo Liu <sdl.web@gmail.com>
5187
5188 Re-implement smie matching block highlight using
5189 show-paren-data-function. (Bug#14395)
5190 * emacs-lisp/smie.el (smie-matching-block-highlight)
5191 (smie--highlight-matching-block-overlay)
5192 (smie--highlight-matching-block-lastpos)
5193 (smie-highlight-matching-block)
5194 (smie-highlight-matching-block-mode): Remove.
5195 (smie--matching-block-data-cache): New variable.
5196 (smie--matching-block-data): New function.
5197 (smie-setup): Use smie--matching-block-data for
5198 show-paren-data-function.
5199
5200 * progmodes/octave.el (octave-mode-menu): Fix.
5201 (octave-find-definition): Skip garbage lines.
5202
208d0342
SM
52032013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5204
5205 Fix compilation error with simultaneous dynamic+lexical scoping.
5206 Add warning when a defvar appears after the first let-binding.
5207 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5208 (byte-compile-close-variables): Initialize it.
5209 (byte-compile--declare-var): New function.
5210 (byte-compile-file-form-defvar)
5211 (byte-compile-file-form-define-abbrev-table)
5212 (byte-compile-file-form-custom-declare-variable): Use it.
5213 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5214 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5215 (byte-compile-bind): Handle dynamic bindings that shadow
5216 lexical bindings.
5217 (byte-compile-unbind): Make arg non-optional.
5218 (byte-compile-let): Simplify.
5219 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5220 (cconv--analyse-function, cconv-analyse-form): Populate it.
5221 Protect byte-compile-bound-variables to limit the scope of defvars.
5222 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5223 Remove unneeded rule for `declare'.
5224
5225 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5226 so as to avoid depending on cl-adjoin at run-time.
5227 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5228
5229 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5230 (macroexp--warn-and-return): Use it.
5231
2587b005
LL
52322013-06-05 Leo Liu <sdl.web@gmail.com>
5233
5234 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5235
f1da3c88
LL
52362013-06-04 Leo Liu <sdl.web@gmail.com>
5237
5238 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5239 (compilation-auto-jump): Suppress the "Mark set" message to give
5240 way to exit message.
5241
3caa391f
AM
52422013-06-04 Alan Mackenzie <acm@muc.de>
5243
5244 Remove faulty optimisation from indentation calculation.
5245 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5246 search limit based on 2000 characters back from indent-point.
5247
068922a2
TH
52482013-06-03 Tassilo Horn <tsdh@gnu.org>
5249
5250 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5251
1f8fdd53
SM
52522013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5253
bbcc4d97
SM
5254 * emacs-lisp/lisp.el: Use lexical-binding.
5255 (lisp--local-variables-1, lisp--local-variables): New functions.
5256 (lisp--local-variables-completion-table): New var.
208d0342 5257 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 5258
1f8fdd53
SM
5259 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5260 eagerly (bug#14422).
5261
c9628c79
MA
52622013-06-03 Michael Albinus <michael.albinus@gmx.de>
5263
5264 * autorevert.el (auto-revert-notify-enabled)
5265 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5266 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5267 (auto-revert-notify-handler): Handle also gfilenotify.
5268
e7b41c4c 5269 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 5270 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 5271 Remove.
c9628c79 5272
e5e4a942
JL
52732013-06-03 Juri Linkov <juri@jurta.org>
5274
5275 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5276 `M-s h .'. (Bug#14427)
5277
5278 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5279 command `hi-lock-face-symbol-at-point'.
5280 (hi-lock-face-symbol-at-point): New command.
5281 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5282 (hi-lock-menu): Add `highlight-symbol-at-point'.
5283 (hi-lock-mode): Doc fix.
5284
5285 * isearch.el (isearch-forward-symbol-at-point): New command.
5286 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5287 (isearch-highlight-regexp): Add a regexp which matches
5288 words/symbols for word/symbol mode.
5289
5290 * subr.el (find-tag-default-bounds): New function with the body
5291 mostly moved from `find-tag-default'.
5292 (find-tag-default): Move most code to `find-tag-default-bounds',
5293 call it and apply `buffer-substring-no-properties' afterwards.
5294
26b3353a
TH
52952013-06-03 Tassilo Horn <tsdh@gnu.org>
5296
781b4af6
SM
5297 * eshell/em-term.el (eshell-term-initialize):
5298 Use `cl-intersection' rather than `intersection'.
26b3353a 5299
51b60f53
XF
53002013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5301
fe054b63 5302 * vc/log-view.el: Doc fix.
d3ffe17c 5303 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 5304
a0eb10b3 53052013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
5306
5307 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5308 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5309 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5310 (eieio-unbound, eieio-default-superclass)
5311 (eieio--define-field-accessors, method-static, method-before)
5312 (method-primary, method-after, method-num-lists)
5313 (method-generic-before, method-generic-primary)
5314 (method-generic-after, method-num-slots)
5315 (eieio-specialized-key-to-generic-key)
5316 (eieio--check-type, class-v, class-p)
5317 (eieio-class-name, define-obsolete-function-alias)
5318 (eieio-class-parents-fast, eieio-class-children-fast)
5319 (same-class-fast-p, class-constructor, generic-p)
5320 (generic-primary-only-p, generic-primary-only-one-p)
5321 (class-option-assoc, class-option, eieio-object-p)
5322 (class-abstract-p, class-method-invocation-order)
5323 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5324 (eieio-class-un-autoload, eieio-defclass)
5325 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5326 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5327 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5328 (eieio-defgeneric-reset-generic-form)
5329 (eieio-defgeneric-form-primary-only)
5330 (eieio-defgeneric-reset-generic-form-primary-only)
5331 (eieio-defgeneric-form-primary-only-one)
5332 (eieio-defgeneric-reset-generic-form-primary-only-one)
5333 (eieio-unbind-method-implementations)
5334 (eieio--defmethod, eieio--typep)
5335 (eieio-perform-slot-validation, eieio-validate-slot-value)
5336 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5337 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5338 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5339 (eieio-slot-name-index, eieio-class-slot-name-index)
5340 (eieio-set-defaults, eieio-initarg-to-attribute)
5341 (eieio-attribute-to-initarg, eieio-c3-candidate)
5342 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5343 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5344 (eieio-class-precedence-list, eieio-generic-call-methodname)
5345 (eieio-generic-call-arglst, eieio-generic-call-key)
5346 (eieio-generic-call-next-method-list)
5347 (eieio-pre-method-execution-functions, eieio-generic-call)
5348 (eieio-generic-call-primary-only, eieiomt-method-list)
5349 (eieiomt-optimizing-obarray, eieiomt-install)
5350 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5351 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 5352 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
5353 (defclass): Remove `eval-and-compile' from macro.
5354 (call-next-method, shared-initialize): Instead of using
5355 `scoped-class' variable, use new eieio--scoped-class, and
5356 eieio--with-scoped-class.
5357 (initialize-instance): Rename local variable 'scoped-class' to
5358 'this-class' to remove ambiguitity from old global.
5359
5360 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5361 eieio.el.
4f405069
JB
5362 (eieio--scoped-class-stack): New variable.
5363 (eieio--scoped-class): New fcn.
890f7890
DE
5364 (eieio--with-scoped-class): New scoping macro.
5365 (eieio-defclass): Use pushnew instead of add-to-list.
5366 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5367 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5368 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5369 `scoped-class' variable, use new eieio--scoped-class, and
5370 eieio--with-scoped-class.
5371
5372 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5373
d105b0e2
TH
53742013-06-02 Tassilo Horn <tsdh@gnu.org>
5375
5376 * eshell/esh-ext.el (eshell-external-command): Pass args to
5377 `eshell-find-interpreter'.
5378 (eshell-find-interpreter): Add new second parameter ARGS.
5379
5380 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 5381 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5382
5383 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 5384 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5385
5386 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5387 (eshell-visual-options): New defcustom.
5388 (eshell-escape-control-x): Adapt docstring.
5389 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5390 `eshell-visual-options' in addition to `eshell-visual-commands'.
5391 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5392
f46305c8 53932013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
5394
5395 * progmodes/python.el (python-indent-block-enders): Add break,
5396 continue and raise keywords.
5397
d870df21
GM
53982013-06-01 Glenn Morris <rgm@gnu.org>
5399
9133b82e
GM
5400 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5401
02c992ec 5402 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
5403 * progmodes/cc-cmds.el (delete-forward-p):
5404 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5405 * progmodes/cc-engine.el (buffer-syntactic-context):
5406 * progmodes/cc-fonts.el (face-property-instance):
5407 * progmodes/cc-mode.el (set-keymap-parents):
5408 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5409 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5410 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
5411 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5412 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 5413
31e7b090
GM
5414 * progmodes/cc-vars.el (other): Emacs has this widget since
5415 at least 21.1, so don't (re)define it.
5416
d870df21
GM
5417 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5418 Replace the obsolete alias pcomplete-arg-quote-list.
5419
c75c93c7
LL
54202013-06-01 Leo Liu <sdl.web@gmail.com>
5421
5422 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5423 punctuation syntax.
5424 (inferior-octave-minimal-columns)
5425 (inferior-octave-last-column-width): New variables.
5426 (inferior-octave-track-window-width-change): New function.
5427 (inferior-octave-mode): Adjust column width so that Octave output,
5428 for example from 'ls', can fit into the window nicely.
5429
973d1e12
DG
54302013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5431
5432 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5433 Highlight expansions inside regexp literals.
5434
0888c286
GM
54352013-05-31 Glenn Morris <rgm@gnu.org>
5436
e26aac1f
GM
5437 * obsolete/sym-comp.el (symbol-complete):
5438 Replace obsolete completion-annotate-function.
5439
0888c286
GM
5440 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5441
19bb8e62
DG
54422013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5443
781b4af6
SM
5444 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5445 New function, checks if point is inside a literal that allows
19bb8e62
DG
5446 expression expansion.
5447 (ruby-syntax-propertize-expansion): Use it.
5448 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5449 around the body.
5450
01dea85f
JL
54512013-05-30 Juri Linkov <juri@jurta.org>
5452
5453 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5454 to "\M-si".
5455 (isearch-invisible): New variable.
5456 (isearch-forward): Doc fix.
5457 (isearch-mode): Set `isearch-invisible'
5458 to the value of `search-invisible'.
5459 (isearch-toggle-case-fold): Doc fix.
5460 (isearch-toggle-invisible): New command.
5461 (isearch-query-replace): Let-bind `search-invisible'
5462 to the value of `isearch-invisible'.
5463 (isearch-search): Use `isearch-invisible' instead of
5464 `search-invisible'. Let-bind `search-invisible'
5465 to the value of `isearch-invisible'. (Bug#11378)
5466
ab1bdce5
JL
54672013-05-30 Juri Linkov <juri@jurta.org>
5468
5469 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5470 call when `query-flag' is nil and `search-invisible' is non-nil.
5471 (Bug#11746)
5472
d6d236e2
GM
54732013-05-30 Glenn Morris <rgm@gnu.org>
5474
8accd027
GM
5475 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5476
2a8bed1c
GM
5477 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5478 (cc-require): Suppress spurious "noruntime" warnings.
5479 (cc-require-when-compile): Use fboundp, for sake of compiler.
5480
d6d236e2
GM
5481 * progmodes/cc-mode.el: Move load of cc-vars before that of
5482 cc-langs (which in turn loads cc-vars), to quieten compiler.
5483
9190b35b
SM
54842013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5485
5486 * paren.el: Simplify the code.
5487 (show-paren-mode): Always start the timer.
5488 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5489 (show-paren--overlay, show-paren--overlay-1): Rename from
5490 show-paren-overlay and show-paren-overlay-1, and initialize to an
5491 overlay rather than to nil.
5492 (show-paren-function): Misc cleanup and simplifications.
5493
4f8d1cf6
SM
54942013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5495
5496 * paren.el (show-paren-data-function): New hook.
5497 (show-paren--default): New function, extracted from show-paren-function.
5498 (show-paren-function): Use show-paren-data-function.
5499
02d844b5
GM
55002013-05-30 Glenn Morris <rgm@gnu.org>
5501
d209d4a9
GM
5502 * ielm.el (ielm-map, ielm-complete-symbol):
5503 Use completion-at-point rather than obsolete functions.
5504 (inferior-emacs-lisp-mode): Doc fix.
5505 Set completion-at-point-functions, rather than
5506 comint-dynamic-complete-functions.
5507
2082faa6
GM
5508 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5509 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5510 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5511
dd8620de
GM
5512 * image.el (image-animated-p): Tweak definition.
5513
ceca95b1
GM
5514 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5515 (rlogin-process-connection-type): Tweak default. Add set-after.
5516 (rlogin-host): Doc fix.
5517 (rlogin): Tweak prompt.
5518 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5519
ee9f1acc
GM
5520 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5521 * progmodes/tcl.el (inferior-tcl-mode-map):
5522 Use completion-at-point rather than obsolete alias.
5523
45ce222e
GM
5524 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5525
02d844b5
GM
5526 * minibuffer.el (read-file-name-completion-ignore-case):
5527 Move before completion--in-region, for eager macro expansion.
5528
ac44d6c1
JL
55292013-05-29 Juri Linkov <juri@jurta.org>
5530
5531 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5532 for total count of matching lines. Add `global-matches' for total
5533 count of matches. Rename `matches' to `lines' for count of
5534 matching lines. Add `matches' for count of matches.
5535 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5536 to `prev-line' for line number of prev match endpt.
5537 Increment `matches' for every match. Print the number of
5538 matching lines in the header.
5539 (occur-context-lines): Rename `lines' to `curr-line'.
5540 Rename `prev-lines' to `prev-line'. (Bug#14017)
5541
3c9c9d38
JL
55422013-05-29 Juri Linkov <juri@jurta.org>
5543
5544 * replace.el (perform-replace): Add `skip-read-only-count',
5545 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5546 Increment them for corresponding conditions and report the number
5547 of skipped occurrences in the final message. (Bug#11746)
5548 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5549 (replace-string, replace-regexp): Doc fix.
5550
33e249a2
SM
55512013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5552
8e399682
SM
5553 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5554
33e249a2 5555 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 5556 prog-mode-map (bug#14504).
33e249a2 5557
f236dd84
LL
55582013-05-29 Leo Liu <sdl.web@gmail.com>
5559
5560 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5561 (octave-help): Small simplification.
5562
5563 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5564 off the highlight first.
5565
3694d13f
GM
55662013-05-29 Glenn Morris <rgm@gnu.org>
5567
03983bdc
GM
5568 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5569 Handle idlwave-last-system-routine-info-cons-cell being nil.
5570
bc74a74a
GM
5571 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5572 (idlwave-write-paths): Simplify via with-temp-buffer.
5573
8b394200
GM
5574 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5575 * emulation/cua-rect.el: Also load cua-base at run time.
5576
3694d13f
GM
5577 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5578 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5579 (cperl-imenu-on-info): Require imenu.
5580
336d7284
AM
55812013-05-28 Alan Mackenzie <acm@muc.de>
5582
5583 Handle "capitalised keywords" correctly.
33e249a2 5584 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 5585
cb29c582
AG
55862013-05-28 Aidan Gauland <aidalgol@amuri.net>
5587
781b4af6 5588 * eshell/em-unix.el: Add -r option to cp.
cb29c582 5589
690e44b2
GM
55902013-05-28 Glenn Morris <rgm@gnu.org>
5591
e658d75c
GM
5592 * vc/vc-arch.el (vc-exec-after): Declare.
5593 (vc-switches): Autoload.
5594 * vc/vc-bzr.el: No need to require vc when compiling.
5595 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5596 (vc-resynch-buffer, vc-dir-refresh): Declare.
5597 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
5598 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5599 (vc-resynch-buffer): Declare.
5600 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 5601 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
5602 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5603 (grep-read-regexp, grep-read-files, grep-expand-template)
5604 (vc-dir-refresh): Declare.
5605 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5606 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5607 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
5608 * vc/vc-mtn.el (vc-exec-after): Declare.
5609 (vc-switches): Autoload.
5610 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5611 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5612 (vc-file-tree-walk): Declare.
712b9732
GM
5613 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5614 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5615 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
5616 * vc/vc-svn.el (vc-exec-after): Declare.
5617 (vc-switches, vc-setup-buffer): Autoload.
5618 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5619 Autoload.
5620 (vc-resynch-buffer): Declare.
5621
98e87fb3
GM
5622 * obsolete/fast-lock.el (byte-compile-warnings):
5623 Don't warn about obsolete features in this obsolete file.
5624
f5379553
GM
5625 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5626 Move definition before use.
5627
7a20ef83
GM
5628 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5629 (dun-unix-verbs): Remove dun-zippy.
5630 (dun-zippy): Remove function.
5631
690e44b2
GM
5632 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5633
3a52ccf7
JL
56342013-05-27 Juri Linkov <juri@jurta.org>
5635
5636 * replace.el (replace-search): New function with code moved out
5637 from `perform-replace'.
5638 (replace-highlight, replace-dehighlight): Move function definitions
5639 up closer to `replace-search'. (Bug#11746)
5640
d289938a
JL
56412013-05-27 Juri Linkov <juri@jurta.org>
5642
5643 * replace.el (perform-replace): Ignore invisible matches.
5644 In addition to checking `query-replace-skip-read-only', also
5645 filter out matches by calling `run-hook-with-args-until-failure'
5646 on `isearch-filter-predicates', and also check `search-invisible'
5647 for t or call `isearch-range-invisible'.
5648 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5649
66fc57e3
JL
56502013-05-27 Juri Linkov <juri@jurta.org>
5651
5652 * isearch.el (isearch-filter-predicates): Rename from
5653 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5654 (isearch-message-prefix): Display text from the property
5655 `isearch-message-prefix' of the currently active filters.
5656 (isearch-search): Don't compare `isearch-filter-predicate' with
5657 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5658 on `isearch-filter-predicates'. Also check `search-invisible' for t
5659 or call `isearch-range-invisible'.
5660 (isearch-filter-visible): Make obsolete.
5661 (isearch-lazy-highlight-search):
5662 Call `run-hook-with-args-until-failure' on
5663 `isearch-filter-predicates' and use `isearch-range-invisible'.
5664
5665 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5666 `isearch-filter-predicates' instead of `funcall'ing
5667 `isearch-filter-predicate'.
5668 (Info-mode): Set `Info-isearch-filter' to
5669 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5670
5671 * dired-aux.el (dired-isearch-filter-predicate-orig):
5672 Remove variable.
5673 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5674 (dired-isearch-filenames-end): Add and remove
5675 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5676 instead of changing the value of `isearch-filter-predicate'.
5677 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5678 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5679 Put property `isearch-message-prefix' to "filename " on
5680 `dired-isearch-filter-filenames'.
5681
5682 * wdired.el (wdired-change-to-wdired-mode):
5683 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5684 locally instead of changing `isearch-filter-predicate'.
5685 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5686
f1a60a0f
DG
56872013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5688
5689 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5690 return the commit hash (Bug#14459). Also set the
5691 `vc-git-detached' property.
5692 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5693 (vc-git-mode-line-string): Use the same help-echo format whether
5694 in detached mode or not, because we know the actual revision now.
5695 When in detached mode, shorten the revision to 7 chars.
5696
7f17cc40
SM
56972013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5698
5699 * emacs-lisp/easy-mmode.el (define-minor-mode):
5700 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5701 mode hook and provide a docstring.
5702
25c8401c
AM
57032013-05-27 Alan Mackenzie <acm@muc.de>
5704
5705 Remove spurious syntax-table text properties inserted by C-y.
5706 * progmodes/cc-mode.el (c-after-change): Also clear hard
5707 syntax-table property with value nil.
5708
dde84790
MA
57092013-05-27 Michael Albinus <michael.albinus@gmx.de>
5710
5711 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5712 when reading the events; the buffer layout shall not be changed.
5713
837fd9af
LL
57142013-05-27 Leo Liu <sdl.web@gmail.com>
5715
5716 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5717 New variable.
5718 (inferior-octave-directory-tracker): Automatically re-sync
5719 default-directory.
5720 (octave-help): Improve handling of 'See also'.
5721
4fd996b3
SM
57222013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5723
416f1802
SM
5724 * doc-view.el: Minor naming convention tweaks.
5725 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5726
4fd996b3
SM
5727 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5728 even if there's no `display' property yet (bug#14435).
5729
a052ef3b
EZ
57302013-05-25 Eli Zaretskii <eliz@gnu.org>
5731
4fd996b3 5732 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
5733
5734 * Makefile.in (custom-deps, finder-data, autoloads)
5735 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5736 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5737 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5738
c9023370
SM
57392013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5740
5741 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5742 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 5743 Don't burp at EOB.
c9023370 5744
24d699fa
LL
57452013-05-25 Leo Liu <sdl.web@gmail.com>
5746
5747 * comint.el (comint-previous-matching-input): Do not flood the
5748 *Messages* buffer with trivial messages.
5749
17e5c0cc
SM
57502013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5751
5752 * progmodes/flymake.el (flymake-nop): Don't return a string.
5753 (flymake-set-at): Fix typo.
5754
5755 * simple.el (read--expression): New function, extracted from
5756 eval-expression. Set completion-at-point-functions (bug#14465).
5757 (eval-expression, eval-minibuffer): Use it.
5758
5d028165
XF
57592013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5760
5761 * progmodes/flymake.el (flymake-save-buffer-in-file)
5762 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5763 (flymake-selected-frame, flymake-log, flymake-ins-after)
5764 (flymake-set-at, flymake-get-buildfile-from-cache)
5765 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5766 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5767 Refine the doc string.
5768 (flymake-get-file-name-mode-and-masks): Reformat.
5769 (flymake-get-real-file-name-function): Fix a minor bug.
5770
7a1d7ba7
JL
57712013-05-24 Juri Linkov <juri@jurta.org>
5772
5773 * progmodes/grep.el (grep-mode-font-lock-keywords):
5774 Support =linenumber= format used by git-grep for lines with
5775 function names. (Bug#13549)
5776
650cff3d
SM
57772013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5778
5779 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5780 0 after a semi-colon; it works better for smie-auto-fill.
5781 (octave--indent-new-comment-line): New function.
5782 (octave-indent-new-comment-line): Use it (indirectly).
5783 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5784 modify comment-line-break-function.
5785
5786 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5787 (smie-setup): Use add-function to set it.
5788
9631677d
SS
57892013-05-24 Sam Steingold <sds@gnu.org>
5790
5791 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5792 argument (before the `interactive' argument).
5793
50105835
SM
57942013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5795
5796 * image-mode.el (image-mode-winprops): Add winprops to
5797 image-mode-winprops-alist before running
5798 image-mode-new-window-functions.
5799 * doc-view.el (doc-view-new-window-function): Don't delay
5800 doc-view-goto-page via timers (bug#14435).
5801
57b9823e
TH
58022013-05-24 Tassilo Horn <tsdh@gnu.org>
5803
5804 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5805 (doc-view-desktop-save-buffer): New function.
5806 (doc-view-restore-desktop-buffer): New function.
50105835
SM
5807 (desktop-buffer-mode-handlers):
5808 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
5809 handler.
5810 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5811 `desktop-save-buffer' function.
5812
91aafa16
MA
58132013-05-24 Michael Albinus <michael.albinus@gmx.de>
5814
5815 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5816 (tramp-gvfs-file-name-handler): Raise a user error when
5817 `tramp-gvfs-enabled' is nil.
5818 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5819 Do not raise a user error when loading package. (Bug#14447)
5820
ec076379
MA
5821 * net/xesam.el: Move to obsolete/.
5822
db785726
GM
58232013-05-24 Glenn Morris <rgm@gnu.org>
5824
af5c7606
GM
5825 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5826
e5d1916a
GM
5827 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5828
ded62b08
GM
5829 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5830 (Info-find-node, Man-getpage-in-background): Declare.
5831
9e614a3f
GM
5832 * mail/unrmail.el (unrmail):
5833 Replace obsolete detect-coding-with-priority.
5834
892f8ca3
GM
5835 * net/socks.el (socks-split-string): Use this rather than split-string.
5836 (socks-nslookup-host): Update for above change.
5837 (dynamic-choice, s5-dynamic-choice-match)
5838 (s5-dynamic-choice-match-inline, s5-widget-value-create):
5839 Comment out unused code.
5840
3c291973
GM
5841 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5842 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5843 (gud-tooltip-echo-area): Make obsolete.
5844 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5845
43cc956b
GM
5846 * progmodes/js.el (js--optimize-arglist): Declare.
5847
dab49a3b
GM
5848 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5849
36b9d085
GM
5850 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5851 (ediff-window-C): Declare.
5852
e354ae76
GM
5853 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5854 Tweak requires to silence compiler.
5855
b8e57bf4
GM
5856 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5857 (he-search-string, he-tried-table, he-expand-list)
5858 (he-init-string, he-string-member, he-substitute-string)
5859 (he-reset-string): Declare.
5860
db785726
GM
5861 * obsolete/options.el (list-options): Use custom-variable-p,
5862 rather than obsolete alias.
5863
b3531901
SS
58642013-05-23 Sam Steingold <sds@gnu.org>
5865
5866 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 5867 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
5868 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
5869
bdda4c66
SM
58702013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5871
5872 * emacs-lisp/smie.el (smie-indent-forward-token)
5873 (smie-indent-backward-token): Handle string tokens (bug#14381).
5874
c43d45f9
TH
58752013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5876
fe1eb856
RS
5877 * ielm.el (ielm-menu): New menu.
5878 (inferior-emacs-lisp-mode): Set comment-start.
96172128 5879
fe1eb856
RS
58802013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5881
5882 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
5883 Fix deactivate action.
5884
5885 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
5886 Add cleveref macros.
074dd971 5887
c43d45f9
TH
5888 * lisp/textmodes/reftex-parse.el
5889 (reftex-locate-bibliography-files): Accept options for
5890 bibliography commands.
5891 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
5892 Add addbibresource. Basic Biblatex support.
5893
7764286e
MA
58942013-05-23 Michael Albinus <michael.albinus@gmx.de>
5895
5896 * net/tramp-gvfs.el (top):
5897 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
5898 when loading package. (Bug#14447)
5899
d361bc10
GM
59002013-05-23 Glenn Morris <rgm@gnu.org>
5901
8fa23984
GM
5902 * progmodes/js.el: No need to load comint when compiling.
5903 (ring-insert, comint-send-string, comint-send-input)
5904 (comint-last-input-end, ido-chop): Declare.
5905
a5c7df1a
GM
5906 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
5907 * vc/ediff-mult.el: Adjust requires.
5908 (ediff-directories-internal, ediff-directory-revisions-internal)
5909 (ediff-patch-file-internal): Declare.
5910 * vc/ediff-ptch.el: Adjust requires.
5911 (ediff-use-last-dir, ediff-buffers-internal): Declare.
5912 (ediff-find-file): Autoload.
5913 * vc/ediff-util.el: No need to load ediff when compiling.
5914 (ediff-regions-internal): Declare.
5915 * vc/ediff-wind.el: Adjust requires.
5916 (ediff-compute-toolbar-width): Define when compiling.
5917 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
5918 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
5919 (dired-get-filename, dired-get-marked-files)
5920 (ediff-last-dir-patch, ediff-patch-default-directory)
5921 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
5922 (ediff-patch-buffer-internal): Declare.
5923
e2aec513
GM
5924 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
5925 (ispell-process, ispell-buffer-local-words, lm-summary)
5926 (lm-section-start, lm-section-end): Declare.
5927 (checkdoc-ispell-init): Simplify.
5928
e68bbd7c
GM
5929 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
5930 (he-string-member, he-reset-string, he-substitute-string): Declare.
5931
7efe0991
GM
5932 * eshell/em-ls.el: Adjust requires.
5933 (eshell-glob-regexp): Declare.
f87b1284
GM
5934 * eshell/em-tramp.el: Adjust requires.
5935 (eshell-parse-command): Autoload.
5936 * eshell/em-xtra.el: Adjust requires.
5937 (eshell-parse-command): Autoload.
5938 * eshell/esh-ext.el: Adjust requires.
5939 (eshell-parse-command, eshell-close-handles): Autoload.
5940 * eshell/esh-io.el: Adjust requires.
5941 (eshell-output-filter): Autoload.
5942 * eshell/esh-util.el: No need to load tramp when compiling.
5943 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
5944 Declare.
5945 (eshell-parse-ange-ls): Require ange-ftp and tramp.
5946 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5947 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
5948 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
5949 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
5950 * eshell/esh-opt.el, eshell/esh-proc.el:
5951 * eshell/esh-var.el: Adjust requires.
5952 * eshell/eshell.el: Do not require esh-util twice.
5953 (eshell-add-input-to-history): Declare.
5954 (eshell-command): Check history module is active before using it.
5955
d361bc10
GM
5956 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
5957
85d090a9
LL
59582013-05-22 Leo Liu <sdl.web@gmail.com>
5959
5960 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
5961
5d0acd9d
MA
59622013-05-22 Michael Albinus <michael.albinus@gmx.de>
5963
5964 * autorevert.el (auto-revert-notify-add-watch)
5965 (auto-revert-notify-handler): Add `attrib' for the inotify case,
5966 it indicates changes in file modification time.
5967
0cdffd7d
GM
59682013-05-22 Glenn Morris <rgm@gnu.org>
5969
ca5995ec
GM
5970 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5971 Always delete the autoloaded function from the noruntime and
5972 unresolved functions lists.
5973
6450907e
GM
5974 * allout.el: No need to load epa, epg, overlay when compiling.
5975 (epg-context-set-passphrase-callback, epg-list-keys)
5976 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
5977 (epg-key-user-id-list): Declare.
5978
9c6906f6
GM
5979 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5980 (viper-set-parsing-style-toggling-macro)
5981 (viper-set-emacs-state-searchstyle-macros):
5982 Use called-interactively-p on Emacs.
5983 (viper-looking-back): Make it an obsolete alias. Update callers.
5984 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
5985 Use looking-back rather than viper-looking-back.
5986 (viper-tmp-insert-at-eob, viper-enlarge-region)
5987 (viper-read-string-with-history, viper-register-to-point)
5988 (viper-append-to-register, viper-change-state-to-vi)
5989 (viper-backward-char-carefully, viper-forward-char-carefully)
5990 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
5991 (viper-change-state-to-emacs): Declare.
5992 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
5993 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
5994 * emulation/viper-mous.el: Do not load viper-cmd.
5995 (viper-backward-char-carefully, viper-forward-char-carefully)
5996 (viper-forward-word, viper-adjust-window): Declare.
5997
5f70c169
GM
5998 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
5999
b1b7f300
GM
6000 * progmodes/idlw-help.el (idlwave-help-fontify):
6001 Use called-interactively-p.
6002
f6ebbb46
GM
6003 * term/w32console.el (w32-get-console-codepage)
6004 (w32-get-console-output-codepage): Declare.
6005
0cdffd7d
GM
6006 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6007 Remove unnecessary declarations.
6008 (dframe-message): Doc fix.
6009
6010 * info.el (dframe-select-attached-frame, dframe-current-frame):
6011 Declare.
6012
6013 * speedbar.el (speedbar-message): Make it an obsolete alias.
6014 Update all callers.
6015 (speedbar-with-attached-buffer)
6016 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6017 (speedbar-with-writable): Use backquote.
6018 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6019 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6020 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6021 rather than speedbar- aliases.
6022 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6023 (speedbar-make-specialized-keymap, speedbar-insert-button)
6024 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6025 (speedbar-do-function-pointer): Declare.
6026 (rmail-speedbar-button, rmail-speedbar-find-file)
6027 (rmail-speedbar-move-message):
6028 Use dframe-with-attached-buffer rather than speedbar- alias.
6029 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6030 (dframe-message, speedbar-make-specialized-keymap)
6031 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6032 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6033 (speedbar-insert-button, dframe-select-attached-frame)
6034 (dframe-maybee-jump-to-attached-frame)
6035 (speedbar-change-initial-expansion-list)
6036 (speedbar-previously-used-expansion-list-name): Declare.
6037 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6038 Use dframe-message, dframe-with-attached-buffer rather than
6039 speedbar- aliases.
6040 (gud-sentinel): Silence compiler.
6041 * progmodes/vhdl-mode.el (speedbar-refresh)
6042 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6043 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6044 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6045 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6046 (speedbar-file-lists, speedbar-make-tag-line)
6047 (speedbar-line-directory, speedbar-goto-this-file)
6048 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6049 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6050 (speedbar-make-button, speedbar-reset-scanners)
6051 (speedbar-files-item-info, speedbar-line-text)
6052 (speedbar-find-file-in-frame, speedbar-set-timer)
6053 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6054 (speedbar-with-writable): Do not (re)define it.
6055 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6056 rather than speedbar- alias.
6057
ee44b62a
LL
60582013-05-21 Leo Liu <sdl.web@gmail.com>
6059
6060 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6061 menu items.
6062 (octave-mode): Tweak fill-nobreak-predicate.
6063 (inferior-octave-startup): Check process to avoid infinite loop.
6064 (inferior-octave): Pop to buffer first to show abornmal process
6065 exit information.
6066
640f050f
GM
60672013-05-21 Glenn Morris <rgm@gnu.org>
6068
79458038
GM
6069 * printing.el (pr-menu-bar): Define when compiling.
6070
9cc3e83f
LL
60712013-05-21 Leo Liu <sdl.web@gmail.com>
6072
6073 * progmodes/octave.el (octave-auto-fill): Remove.
6074 (octave-indent-new-comment-line): Improve.
6075 (octave-mode): Use auto fill mode through
4f405069 6076 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 6077 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 6078 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
6079 (octave-help): Show parent directory.
6080
f440830d
GM
60812013-05-21 Glenn Morris <rgm@gnu.org>
6082
6083 * files.el (dired-unmark):
6084 * progmodes/gud.el (gdb-input): Update declarations.
6085
6086 * calculator.el (electric, ehelp): No need to load when compiling.
6087 (Electric-command-loop, electric-describe-mode): Declare.
6088
6089 * doc-view.el (doc-view-current-converter-processes): Move before use.
6090
6091 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6092 Move MODE-set-explicitly definition before use.
6093
6094 * international/mule-diag.el (mule-diag):
6095 Don't use obsolete window-system-version.
6096
6097 * mail/feedmail.el (smtpmail): No need to load when compiling.
6098 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6099
6100 * mail/mail-utils.el (rfc822): No need to load when compiling.
6101 (rfc822-addresses): Autoload it.
6102 (mail-strip-quoted-names): Trivial simplification.
6103
6104 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6105 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6106
6107 * net/snmp-mode.el (tempo): Don't duplicate requires.
6108
6109 * progmodes/prolog.el (info): No need to load when compiling.
6110 (comint): Require before shell requires it.
6111 (Info-goto-node): Autoload it.
6112 (Info-follow-nearest-node): Declare.
6113 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6114
6115 * textmodes/artist.el (picture-mode-exit): Declare.
6116
6117 * textmodes/reftex-parse.el (reftex-parse-from-file):
6118 Trivial rewrite so the compiler can parse it better.
6119
b4da2cbb
LL
61202013-05-20 Leo Liu <sdl.web@gmail.com>
6121
6122 * progmodes/octave.el (octave-help-mode-map)
6123 (octave-help-mode-finish-hook): New variables.
6124 (octave-help-mode, octave-help-mode-finish): New functions.
6125 (octave-help): Use octave-help-mode.
6126
33c0f65b
GM
61272013-05-20 Glenn Morris <rgm@gnu.org>
6128
6129 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6130
1a0a0a8a
DG
61312013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6132
6133 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6134 start at point, so that expansion starting right after opening
6135 slash in a regexp is recognized.
6136 (ruby-syntax-before-regexp-re): New defvar, extracted from
6137 ruby-syntax-propertize-function. Since the value of this regexp
6138 is looked up at runtime now, we should be able to turn
6139 `ruby-syntax-methods-before-regexp' into a defcustom later.
6140 (ruby-syntax-propertize-function): Split regexp matching into two
6141 parts, for opening and closing slashes. That allows us to skip
6142 over string interpolations and support multiline regexps.
6143 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6144 for them, which calls `ruby-syntax-propertize-expansion'.
6145 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6146 call to `ruby-syntax-propertize-function'.
6147 (ruby-syntax-propertize-expansion): Extracted from
6148 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
6149 (ruby-syntax-propertize-percent-literal): Leave point right after
6150 the percent symbol, so that the expression expansion rule can
6151 propertize the contents.
462388b6
DG
6152 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6153 heredoc openers.
6154 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 6155
c1a6c0a4
JL
61562013-05-18 Juri Linkov <juri@jurta.org>
6157
6158 * man.el (Man-default-man-entry): Remove `-' from the end
6159 of the default value. (Bug#14400)
6160
8051fccd
GM
61612013-05-18 Glenn Morris <rgm@gnu.org>
6162
6163 * comint.el (comint-password-prompt-regexp):
6164 Allow "password for XXX" where XXX contains colons (eg https://...).
6165
5e80b74f
LL
61662013-05-18 Leo Liu <sdl.web@gmail.com>
6167
6168 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 6169 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
6170 (octave-source-directories): Don't check process.
6171 (octave-source-directories, octave-find-definition): Doc fix.
6172
521a54c5
GM
61732013-05-18 Glenn Morris <rgm@gnu.org>
6174
86a94b05
GM
6175 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6176 Remove backspace/delete bindings. (Bug#14392)
6177
521a54c5
GM
6178 * cus-dep.el (custom-make-dependencies): Sort the output.
6179 (custom-versions-load-alist): Convert comment to doc.
6180
42caeb89
LL
61812013-05-17 Leo Liu <sdl.web@gmail.com>
6182
6183 * newcomment.el (comment-search-backward): Stricter in finding
6184 comment start. (Bug#14303)
6185
6186 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6187 (octave-comment-start-skip): Properly anchored.
6188
e219dd97
LL
61892013-05-17 Leo Liu <sdl.web@gmail.com>
6190
fe1eb856
RS
6191 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6192 Clean up when turned off. (Bug#14395)
e219dd97
LL
6193 (smie--highlight-matching-block-overlay): No longer buffer-local.
6194 (smie-highlight-matching-block): Adjust.
6195
dc5dcb4b
PE
61962013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6197
6198 Doc string fix for "nanoseconds" (Bug#14406).
6199 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6200 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6201
1db165f0
JB
62022013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6203
6204 * calc/calc-units.el (math-extract-units): Preserve powers
6205 of units.
6206
c7a8fcac
LL
62072013-05-17 Leo Liu <sdl.web@gmail.com>
6208
6209 * subr.el (delete-consecutive-dups): New function.
6210 * ido.el (ido-set-matches-1): Use it.
6211 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6212 * ido.el (ido-remove-consecutive-dups): Remove.
6213
f678b18a
SM
62142013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6215
6216 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6217 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6218 regexp-opt's `words'.
6219
ebfe68e8
LL
62202013-05-16 Leo Liu <sdl.web@gmail.com>
6221
6222 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6223 (smie--highlight-matching-block-overlay)
6224 (smie--highlight-matching-block-lastpos)
6225 (smie--highlight-matching-block-timer): New variables.
6226 (smie-highlight-matching-block): New function.
6227 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6228 (smie-setup): Conditionally enable smie-blink-matching-open.
6229
bc8bc17d
WS
62302013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6231
6232 Sync with upstream verilog-mode r840.
6233 * progmodes/verilog-mode.el (verilog-mode-version)
6234 (verilog-mode-release-date): Update.
6235 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6236 (verilog-sig-tieoff): Fix string error on
6237 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6238 (verilog-read-decls): Fix parameters confusing
6239 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6240
df065a0b
EZ
62412013-05-16 Eli Zaretskii <eliz@gnu.org>
6242
6243 * subr.el (reveal-filename): New function.
6244
6245 * loadup.el: Compute Emacs executable versions on MS-Windows,
6246 where executables have the .exe extension. Add a hard link
6247 emacs-XX.YY.ZZ.exe on MS-Windows.
6248
6249 * Makefile.in (XARGS_LIMIT): New variable.
6250 (custom-deps, finder-data, autoloads)
6251 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6252 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6253 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6254 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6255
2d4bf34b
LL
62562013-05-16 Leo Liu <sdl.web@gmail.com>
6257
6258 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6259 (octave-mode-menu, octave-mode-map): Remove its uses.
6260
6b9c2d85
RZ
62612013-05-16 Reto Zimmermann <reto@gnu.org>
6262
6263 Sync with upstream vhdl mode v3.34.2.
6264 * progmodes/vhdl-mode.el: Use `push' throughout.
6265 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6266 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6267 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6268 (vhdl-actual-generic-name): New option to derive actual generic name.
6269 (vhdl-port-paste-signals): Replace formal by actual generics.
6270 (vhdl-beautify): New name for old group vhdl-align. Update users.
6271 (vhdl-beautify-options): New option.
6272 (vhdl-last-input-event): New compat alias. Use throughout.
6273 (vhdl-goto-line): Replace user level function `goto-line'.
6274 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6275 vhdl-fix-statement-buffer.
6276 (vhdl-create-mode-menu): Add some entries.
6277 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6278 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6279 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6280 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6281 to force statements on one line.
6282 (vhdl-remove-trailing-spaces-region):
6283 New, split from vhdl-remove-trailing-spaces.
6284 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6285 Respect vhdl-beautify-options.
6286 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6287 (vhdl-update-sensitivity-list): Not add with index if exists without.
6288 Not include array index with signal. Ignore keywords in comments.
6289 (vhdl-get-visible-signals): Regexp tweaks.
6290 (vhdl-template-component-inst): Handle empty library.
6291 (vhdl-template-type): Add template for 'enum' type.
6292 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6293 Use vhdl-replace-string.
6294 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6295 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6296 (vhdl-speedbar-initialize): Update for above name change.
6297 (vhdl-compose-wire-components): Fix in handling of constants.
6298 (vhdl-error-regexp-emacs-alist): New variable.
6299 (vhdl-error-regexp-add-emacs): New function;
6300 adds support for new compile.el (Emacs 22+)
6301 (vhdl-generate-makefile-1): Change target order for single lib. units.
6302 Allow use of absolute file names.
6303
9df4ec5e
LL
63042013-05-16 Leo Liu <sdl.web@gmail.com>
6305
6306 * simple.el (prog-indent-sexp): Indent enclosing defun.
6307
f5ba00a6
GM
63082013-05-15 Glenn Morris <rgm@gnu.org>
6309
ed8be7ff
GM
6310 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6311 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6312 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6313 (whitespace-highlight): Move to whitespace group.
6314
6315 * comint.el (comint-source):
6316 * pcmpl-linux.el (pcmpl-linux):
6317 * shell.el (shell-faces):
6318 * eshell/esh-opt.el (eshell-opt):
6319 * international/ccl.el (ccl): Remove empty custom groups.
6320
6321 * completion.el (dynamic-completion-mode):
6322 * jit-lock.el (jit-lock-debug-mode):
6323 * minibuffer.el (completion-in-region-mode):
6324 * type-break.el (type-break-mode-line-message-mode)
6325 (type-break-query-mode):
6326 * emulation/tpu-edt.el (tpu-edt-mode):
6327 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6328 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6329 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6330
6331 * term/xterm.el (xterm): Change parent group to terminals.
6332
6333 * master.el (master): Remove empty custom group.
6334 (master-mode): Remove unused :group argument.
6335 * textmodes/refill.el (refill): Remove empty custom group.
6336 (refill-mode): Remove unused :group argument.
6337
6338 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6339
82a7c41b
GM
6340 * cus-dep.el: Provide a feature.
6341 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
6342 Don't mistakenly ignore files whose basenames match a basename
6343 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 6344 Add a fallback method for getting :group.
f5ba00a6 6345
6d65486d
JL
63462013-05-15 Juri Linkov <juri@jurta.org>
6347
da547b32
JL
6348 * isearch.el (isearch-char-by-name): Rename from
6349 `isearch-insert-char-by-name'. Doc fix.
6350 (isearch-forward): Mention `isearch-char-by-name' in
6351 the docstring. (Bug#13348)
6352
6d65486d
JL
6353 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6354 `exit-minibuffer' instead of
6355 `isearch-nonincremental-exit-minibuffer'.
6356 (isearch-edit-string): Remove mention of
6357 `isearch-nonincremental-exit-minibuffer' from docstring.
6358 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6359 (isearch-forward-exit-minibuffer)
6360 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6361
c9990474
SM
63622013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6363
6e911150
SM
6364 * loadup.el: Just use unversioned DOC.
6365
c9990474
SM
6366 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6367 literals as extending to EOB.
6368 (nxml-last-fontify-end): Remove unused variable.
6369 (nxml-after-change1): Use with-silent-modifications.
6370 (nxml-extend-after-change-region): Simplify.
6371 (nxml-extend-after-change-region1): Remove function.
6372 (nxml-after-change1): Don't adjust for dependent regions.
6373 (nxml-fontify-matcher): Simplify.
6374 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6375 (xmltok-add-dependent): Remove function.
6376 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6377 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6378 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6379 unclosed <[[, <?, comment, and other literals as extending to EOB.
6380 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6381 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6382 Remove functions.
6383 (rng-do-some-validation-1): Don't mark dependent regions.
6384 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6385 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6386 (nxml-clear-dependent-regions): Remove functions.
6387 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6388 (nxml-ensure-scan-up-to-date):
6389 Don't clear&mark dependent regions.
6390
e3772e98
LL
63912013-05-15 Leo Liu <sdl.web@gmail.com>
6392
c9990474
SM
6393 * progmodes/octave.el (octave-goto-function-definition):
6394 Improve and fix callers.
e3772e98 6395
5ac2eb34
SM
63962013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6397
c46c57b0
SM
6398 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6399 the setter (bug#14387).
6400
5ac2eb34
SM
6401 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6402 surrounding group (bug#14402).
6403
180ed218
JL
64042013-05-14 Juri Linkov <juri@jurta.org>
6405
6406 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6407 (Bug#14390)
6408
0ac0fecb
GM
64092013-05-14 Glenn Morris <rgm@gnu.org>
6410
6411 * progmodes/f90.el (f90-imenu-generic-expression):
6412 Fix typo in 2013-05-08 change. (Bug#14402)
6413
2e78e6a7
JPG
64142013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6415
5ac2eb34
SM
6416 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6417 Remove signals for which replies are never received.
2e78e6a7 6418
53267cca
JPG
64192013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6420
6421 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6422 (gdb-handler-alist, gdb-handler-number): Remove variables.
6423 (gdb-handler-list): New variable.
6424 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6425 (gdb-pending-handler-p, gdb-handle-reply)
6426 (gdb-remove-all-pending-triggers): New functions.
6427 (gdb-discard-unordered-replies): New defcustom.
6428 (gdb-handler): New defstruct.
6429 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6430 instead of gdb-pending-triggers. Update docstring.
6431 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6432 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6433 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6434 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6435 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6436 (gdb-frame-handler): Pending triggers are now automatically managed.
6437 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6438 Remove argument.
6439 (gdb-input): Automatically handles pending triggers. Update docstring.
6440 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6441 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6442 Update comments.
6443 (gdb-done-or-error): Now use gdb-handle-reply.
6444
d04ce803
JPG
64452013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6446
6447 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6448 gdb-debug-log.
6449
0114073a
GM
64502013-05-14 Glenn Morris <rgm@gnu.org>
6451
6452 * subr.el (user-emacs-directory-warning): New option.
6453 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6454
4d25fd7e
LL
64552013-05-14 Leo Liu <sdl.web@gmail.com>
6456
6457 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6458 during redisplay.
6459 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
6460 (octave-font-lock-texinfo-comment): Fix invalid search bound
6461 error: wrong side of point.
4d25fd7e 6462
27c8b6eb
GM
64632013-05-14 Glenn Morris <rgm@gnu.org>
6464
61aaeb01
GM
6465 * progmodes/flymake.el (flymake-xml-program): New option.
6466 (flymake-xml-init): Use it.
6467
5bf90bc5
GM
6468 * term/xterm.el: Provide a feature.
6469
6470 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 6471
f4c7dfd2
GM
64722013-05-13 Glenn Morris <rgm@gnu.org>
6473
6474 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6475 Add compat aliases as a hack workaround. (Bug#14384)
6476
2aeb3a1d
LL
64772013-05-13 Leo Liu <sdl.web@gmail.com>
6478
b0e069c2
LL
6479 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6480 ###, and %!.
f5a9432f
LL
6481 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6482 C-M-q.
b0e069c2
LL
6483 (octave-comment-start-skip): Include %!.
6484 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 6485
30ea8374
LL
64862013-05-12 Leo Liu <sdl.web@gmail.com>
6487
6488 * progmodes/octave.el (inferior-octave-startup): Store the value
6489 of __octave_srcdir__ for octave-source-directories.
6490 (inferior-octave-check-process): New function refactored out of
6491 inferior-octave-send-list-and-digest.
6492 (octave-source-directories)
6493 (octave-find-definition-filename-function): New variables.
6494 (octave-source-directories)
6495 (octave-find-definition-default-filename): New functions.
6496 (octave-find-definition): Improve to find functions implemented in C++.
6497
472a3834
GM
64982013-05-12 Glenn Morris <rgm@gnu.org>
6499
6500 * calendar/diary-lib.el (diary-outlook-format-1):
6501 Don't include dayname in the output. (Bug#14349)
6502
3191b52f
GM
65032013-05-11 Glenn Morris <rgm@gnu.org>
6504
0060ac73
GM
6505 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6506
3191b52f
GM
6507 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6508 Treat cc-provide like provide.
6509
e065ba74
KR
65102013-05-11 Kevin Ryde <user42@zip.com.au>
6511
6512 * cus-dep.el (custom-make-dependencies):
6513 Use generated-autoload-load-name for the sake of files such
6514 such cedet/semantic/bovine/c.el, where the base file name
6515 is not in load-path. (Bug#5277)
6516
36f84c37
GM
65172013-05-11 Glenn Morris <rgm@gnu.org>
6518
6519 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6520 Provide features.
6521
c8730c3a
LL
65222013-05-11 Leo Liu <sdl.web@gmail.com>
6523
6524 * progmodes/octave.el (octave-indent-comment): Improve.
6525 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
6526 (octave-eldoc-function-signatures, octave-eldoc-function):
6527 New functions.
c8730c3a
LL
6528 (octave-mode, inferior-octave-mode): Add eldoc support.
6529
212e29f2
RS
65302013-05-11 Richard Stallman <rms@gnu.org>
6531
6532 * epa.el (epa-decrypt-file): Take output file name as argument
6533 and read it using `interactive'.
6534
083fe0d7
LL
65352013-05-11 Leo Liu <sdl.web@gmail.com>
6536
6537 * progmodes/octave.el (octave-beginning-of-line)
6538 (octave-end-of-line): Check before using up-list because it jumps
6539 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
6540 (octave-indent-comment): New function.
6541 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
6542 (octave-begin-keywords, octave-end-keywords)
6543 (octave-reserved-words, octave-smie-bnf-table)
6544 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 6545
8582e4c4
GM
65462013-05-11 Glenn Morris <rgm@gnu.org>
6547
f20def1f
GM
6548 * faces.el (internal-face-x-get-resource):
6549 * frame.el (ns-display-monitor-attributes-list):
d78abe37 6550 * calc/calc-aent.el (math-to-radians-2):
f20def1f 6551 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 6552 Fix declarations.
f20def1f 6553
445f95e2
GM
6554 * calc/calc-menu.el: Make it loadable in isolation.
6555
6556 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6557 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6558 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6559 (eudc-bbdb-query-internal): Require 'bbdb.
6560
99fb2756
GM
6561 * lpr.el (lpr-headers-switches):
6562 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6563
6564 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6565
0da7ad96
GM
6566 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6567
8582e4c4
GM
6568 * term.el (term-set-escape-char): Make it idempotent.
6569
f71c50d0
LL
65702013-05-10 Leo Liu <sdl.web@gmail.com>
6571
5ac2eb34
SM
6572 * progmodes/octave.el (inferior-octave-completion-table):
6573 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
6574 completion due to bug#11906.
6575 (octave-beginning-of-defun): Re-write to be more general.
6576
d5837773
GM
65772013-05-10 Glenn Morris <rgm@gnu.org>
6578
6579 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6580
027c0f75
SM
65812013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6582
6583 * comint.el (comint-redirect-send-command-to-process): Use :around
6584 rather than :override for comint-redirect-filter.
6585 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6586 Call it instead of comint-redirect-original-filter-function (which
6587 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6588
4465bfb4
JD
65892013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6590
6591 * frame.el (display-monitor-attributes-list): Add NS case.
6592 (ns-display-monitor-attributes-list): Declare.
6593
2d809ffa 65942013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
6595
6596 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6597
e54eeb9b
GM
65982013-05-09 Glenn Morris <rgm@gnu.org>
6599
56cd351d
GM
6600 * international/fontset.el (vertical-centering-font-regexp):
6601 Set standard-value.
6602
d84b6108
GM
6603 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6604
a931698a
GM
6605 * bookmark.el (bookmark-search-delay):
6606 * cus-start.el (vertical-centering-font-regexp):
6607 * ps-mule.el (ps-mule-font-info-database-default):
6608 * ps-print.el (ps-default-fg, ps-default-bg):
6609 * type-break.el (type-break-good-break-interval):
6610 * whitespace.el (whitespace-indentation-regexp)
6611 (whitespace-space-after-tab-regexp):
6612 * emacs-lisp/testcover.el (testcover-1value-functions)
6613 (testcover-noreturn-functions, testcover-progn-functions)
6614 (testcover-prog1-functions):
6615 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6616 * eshell/em-glob.el (eshell-glob-translate-alist):
6617 * play/tetris.el (tetris-tty-colors):
6618 * progmodes/cpp.el (cpp-face-default-list):
6619 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6620 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6621 (idlwave-help-browser-generic-args):
6622 * progmodes/make-mode.el (makefile-special-targets-list):
6623 * progmodes/python.el (python-shell-virtualenv-path):
6624 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6625 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6626 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6627 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6628 * textmodes/reftex-vars.el (reftex-format-label-function):
6629 * textmodes/remember.el (remember-diary-file): Fix custom types.
6630
e54eeb9b
GM
6631 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6632 Add :version.
6633
455851dd
LL
66342013-05-09 Leo Liu <sdl.web@gmail.com>
6635
6636 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 6637 Restore file completion. (Bug#14300)
455851dd
LL
6638 (inferior-octave-startup): Fix incorrect highlighting for the
6639 first prompt.
6640
a9e4425b
SM
66412013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * progmodes/ruby-mode.el: First cut at SMIE support.
6644 (ruby-use-smie): New var.
6645 (ruby-smie-grammar): New constant.
6646 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6647 (ruby-smie--forward-token, ruby-smie--backward-token)
6648 (ruby-smie-rules): New functions.
6649 (ruby-mode-variables): Setup SMIE if applicable.
6650
060ca408
EZ
66512013-05-08 Eli Zaretskii <eliz@gnu.org>
6652
6653 * simple.el (line-move-visual): Signal beginning/end of buffer
6654 only if vertical-motion moved less than it was requested. Avoids
6655 silly incorrect error messages when there are display strings with
6656 multiple newlines at EOL.
6657
1d5963cc
SM
66582013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6659
6660 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6661 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6662 (prolog-char-quote-workaround):
6663 * progmodes/cperl-mode.el (cperl-under-as-char):
6664 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
6665 Mark as obsolete.
6666 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
6667 their declaration.
6668 (vhdl-mode-syntax-table-init): Remove.
6669
c9990474
SM
6670 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6671 last change.
1d5963cc
SM
6672
6673 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6674 syntax for "_".
6675 (ld-script-font-lock-keywords):
6676 Change regexps to use things like \_< and \_>.
6677
6678 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6679 Change all regexps to use things like \_< and \_>.
6680
6681 * progmodes/autoconf.el (autoconf-definition-regexp)
6682 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6683 Handle a _ with symbol syntax.
6684 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6685
c9990474
SM
6686 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6687 Consolidate declaration.
1d5963cc
SM
6688 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6689 the declaration.
6690 (ada-create-syntax-table): Remove.
6691 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6692 already has the right syntax nowadays.
6693 (ada-goto-next-word): Don't change the syntax of "_".
6694
6695 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6696 with-wrapper-hook.
6697
72d3cfca
SS
66982013-05-08 Sam Steingold <sds@gnu.org>
6699
6700 * thingatpt.el (thing-at-point): Accept optional second argument
6701 NO-PROPERTIES to strip the text properties from the return value.
6702 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6703 to `thing-at-point' instead of stripping the properties ourselves.
6704 Also, when `thing-at-point' fails to find a url, prepend "http://"
6705 to the filename at point on the assumption that the user is
6706 pointing at something like gnu.org/gnu.
6707
5cb15713
JB
67082013-05-08 Juanma Barranquero <lekktu@gmail.com>
6709
6710 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6711 * faces.el (crm-separator):
6712 Silence byte-compiler.
6713
6714 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6715 (tool-bar-map): Remove unneeded defvars.
6716
ea78b95b
LL
67172013-05-08 Leo Liu <sdl.web@gmail.com>
6718
6719 Re-work a fix for bug#10994 based on Le Wang's patch.
6720 * ido.el (ido-remove-consecutive-dups): New helper.
6721 (ido-completing-read): Use it.
6722 (ido-chop): Revert fix for bug#10994.
6723
dc7466df
AS
67242013-05-08 Adam Spiers <emacs@adamspiers.org>
6725
6726 * cus-edit.el (custom-save-variables):
6727 Pretty-print long values. (Bug#14187)
6728
9ecf672a
GM
67292013-05-08 Glenn Morris <rgm@gnu.org>
6730
6731 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6732 (m4-mode-syntax-table): Init in the defvar.
6733 (m4-mode-abbrev-table): Let define-derived-mode define it.
6734
3f555be8
TT
67352013-05-08 Tom Tromey <tromey@redhat.com>
6736
6737 * progmodes/m4-mode.el (m4-mode-syntax-table):
6738 Do not treat "_" as word constituent. (Bug#14167)
6739
7cc8ae06
GM
67402013-05-07 Glenn Morris <rgm@gnu.org>
6741
4f58bc06
GM
6742 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6743 Remove explicit eshell-isearch-cancel-map.
6744
7cc8ae06
GM
6745 * progmodes/f90.el (f90-smart-end-names): New option.
6746 (f90-smart-end): Doc fix.
6747 (f90-end-block-optional-name): New constant.
6748 (f90-block-match): Respect f90-smart-end-names.
6749
ceb57e59
SM
67502013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6751
6752 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6753 about implicit semi-colons (bug#14218).
6754
4e3f9230
YM
67552013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6756
6757 * frame.el (display-monitor-attributes-list)
6758 (frame-monitor-attributes): New functions.
6759
203a5572
LL
67602013-05-06 Leo Liu <sdl.web@gmail.com>
6761
6762 * progmodes/octave.el (octave-syntax-propertize-function): Change
6763 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6764 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 6765 (octave-completion-at-point): Rename from
203a5572
LL
6766 octave-completion-at-point-function.
6767 (inferior-octave-directory-tracker): Robustify.
6768 (octave-text-functions): Remove and fix its uses. No such things
6769 any more.
6770
ee6cff99
SM
67712013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6772
6773 * emacs-lisp/trace.el (trace--display-buffer): New function.
6774 (trace-make-advice): Use it.
6775
32985194
JL
67762013-05-06 Juri Linkov <juri@jurta.org>
6777
6778 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6779 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6780 Doc fix.
6781 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6782 in the help string. (Bug#12985)
6783
a1c700de
KD
67842013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6785
6786 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6787
c67c0839
SM
67882013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6789
323885fd
SM
6790 * progmodes/perl-mode.el: Add support for here documents.
6791 (perl-syntax-propertize-function): Match here-doc markers.
6792 (perl-syntax-propertize-special-constructs): Find their end.
6793 (perl-imenu-generic-expression): Use [:alnum:].
6794
c67c0839
SM
6795 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6796 (advice--add-function): Refresh the advice if already present
6797 (bug#14317).
6798
d491e7a8
IA
67992013-05-06 Ivan Andrus <darthandrus@gmail.com>
6800
6801 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6802
ddf9925e
GM
68032013-05-06 Glenn Morris <rgm@gnu.org>
6804
7cc3af27
GM
6805 * w32-fns.el (w32-charset-info-alist): Declare.
6806
16e343d6
GM
6807 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6808 of its defcustom properties.
6809 (eshell-cmpl-initialize): No need to load pcomplete.
6810
7d889a47
GM
6811 * generic-x.el: No need to require comint when compiling.
6812
ddf9925e
GM
6813 * net/eudc-export.el: Make it loadable without bbdb.
6814 (top-level): Use require rather than load-library.
6815 (eudc-create-bbdb-record, eudc-bbdbify-phone)
6816 (eudc-batch-export-records-to-bbdb)
6817 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6818 Require bbdb.
6819
1e2c18df
SM
68202013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6821
6822 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6823 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6824 some tweaks, instead.
6825
02502a5f
LL
68262013-05-05 Leo Liu <sdl.web@gmail.com>
6827
6828 * progmodes/octave.el (octave-font-lock-keywords)
6829 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6830 (inferior-octave-send-list-and-digest): Improve error message.
6831 (octave-mode, inferior-octave-mode): Use setq-local.
6832 (octave-help): Set info-lookup-mode.
6833
0dc04f42
RS
68342013-05-05 Richard Stallman <rms@gnu.org>
6835
6c54491c
RS
6836 * vc/compare-w.el (compare-windows-whitespace):
6837 Treat no-break space as whitespace.
6838
0dc04f42
RS
6839 * mail/rmailsum.el (rmail-summary-rmail-update):
6840 Detect empty summary and don't change selected message.
6841 (rmail-summary-goto-msg): Likewise.
6842
df8f35df
RS
6843 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6844 Doc fixes, rename args.
6845
5356e1a3
AM
68462013-05-05 Alan Mackenzie <acm@muc.de>
6847
6848 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6849
d44014cb
JL
68502013-05-05 Juri Linkov <juri@jurta.org>
6851
6852 * info.el (Info-read-subfile): Use (point-min) instead of (point)
6853 to not add the length of the summary segment to the return value.
6854 (Bug#14125)
6855
c129b51f
LL
68562013-05-05 Leo Liu <sdl.web@gmail.com>
6857
6858 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6859 (inferior-octave-output-filter): Remove.
6860 (octave-send-region, inferior-octave-startup): Fix callers.
6861 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6862 (octave-binary-file-extensions): New user variable.
6863 (octave-find-definition): Confirm if opening binary files.
6864 (octave-help-file): Use octave-find-definition to get the binary
6865 confirmation.
6866 (octave-help): Adjust for octave-help-file change.
6867
aa7dab97
SM
68682013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6869
6870 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
6871 Merge the two entries that handle function definitions.
6872 (pascal--syntax-propertize): New const.
6873 (pascal-mode): Use it. Use setq-local.
6874
fd3a9a6b
GM
68752013-05-04 Glenn Morris <rgm@gnu.org>
6876
6877 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
6878 (diary-from-outlook): Respect diary-from-outlook-function.
6879
30c7e542
SM
68802013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
6883 Move the declaration from C.
6884 (read-minibuffer, eval-minibuffer): Move from C.
6885 (completion-setup-function): Avoid minibuffer-completion-contents.
6886
b54f978b
LL
68872013-05-03 Leo Liu <sdl.web@gmail.com>
6888
6889 * progmodes/octave.el (octave-font-lock-keywords): Do not
6890 dehighlight 'end' in comments or strings.
30c7e542
SM
6891 (octave-completing-read, octave-goto-function-definition):
6892 New helpers.
d4d0f9b3
LL
6893 (octave-help-buffer): New user variable.
6894 (octave-help-file, octave-help-function): New button types.
6895 (octave-help): New command and bind it to C-h ;.
6896 (octave-find-definition): New command and bind it to M-.
d74a1581 6897 (user-error): Alias to error if not defined.
b54f978b 6898
27135018
LL
68992013-05-02 Leo Liu <sdl.web@gmail.com>
6900
6901 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
6902 for \. (bug#14332)
6903 (octave-font-lock-keywords): Include [ and {.
6904
0d634d3a
LL
69052013-05-02 Leo Liu <sdl.web@gmail.com>
6906
6907 * progmodes/octave.el (inferior-octave-startup-file): Change default.
6908 (inferior-octave): Remove calling comint-mode and return the buffer.
6909 (inferior-octave-startup): Cosmetic changes.
6910
b4c8295e
LL
69112013-05-02 Leo Liu <sdl.web@gmail.com>
6912
30c7e542
SM
6913 * progmodes/octave.el (octave-syntax-propertize-function):
6914 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 6915
f12ad6ec
GM
69162013-05-02 Glenn Morris <rgm@gnu.org>
6917
6918 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
6919 * desktop.el (vc-dir-mode): Just autoload it here.
6920
30cac1e0
AM
69212013-05-02 Alan Mackenzie <acm@muc.de>
6922
6923 Eliminate variable c-standard-font-lock-fontify-region-function.
6924 * progmodes/cc-mode.el
6925 (c-standard-font-lock-fontify-region-function): Remove.
6926 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
6927
d8ef28b1
LL
69282013-05-01 Leo Liu <sdl.web@gmail.com>
6929
2640d52e 6930 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 6931 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 6932 variables were removed from Octave in 2007.
d8ef28b1
LL
6933 (inferior-octave-startup): Fix uses.
6934 (comint-line-beginning-position): Remove compatibility code for
6935 emacs 21.
6936
ac63ec89
JL
69372013-05-01 Juri Linkov <juri@jurta.org>
6938
6939 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
6940
9e9be37c
JL
69412013-05-01 Juri Linkov <juri@jurta.org>
6942
6943 * comint.el (comint-previous-matching-input): Don't print message
6944 "History item: %d" when `isearch-mode' is active.
6945 (comint-history-isearch-message): Print message "History item: %d"
6946 when `comint-input-ring-index' is not empty and this function is
6947 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
6948
9b92c13b
LL
69492013-05-01 Leo Liu <sdl.web@gmail.com>
6950
6951 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
6952 definitions. Use completion-at-point to insert keywords.
6953 (octave-abbrev-start): Remove.
6954 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
6955
b12d33d7
LL
69562013-04-30 Leo Liu <sdl.web@gmail.com>
6957
6958 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
6959 change.
6960
3d1c39fa
AM
69612013-04-30 Alan Mackenzie <acm@muc.de>
6962
6963 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
6964 * progmodes/cc-engine.el (c-back-over-member-initializers):
6965 new function.
3d1c39fa
AM
6966 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
6967 (most) member init lists.
6968
5147fc17
RS
69692013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6970
6971 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
6972 variable.
6973
5b78d7fc
LL
69742013-04-30 Leo Liu <sdl.web@gmail.com>
6975
6976 * progmodes/octave.el (octave-variables): Remove. No builtin
6977 variables any more. All converted to functions.
6978 (octave-font-lock-keywords, octave-completion-at-point-function):
6979 Fix uses.
6980 (octave-font-lock-texinfo-comment): New user variable.
6981 (octave-texinfo-font-lock-keywords): New variable for texinfo
6982 comment block.
6983 (octave-function-comment-block): New face.
6984 (octave-font-lock-texinfo-comment): New function.
6985 (octave-mode): Font lock texinfo comment block.
6986
38d8527b
LL
69872013-04-29 Leo Liu <sdl.web@gmail.com>
6988
6989 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
6990 indexing expression.
6991 (octave-continuation-string): Do not use \.
6992 (inferior-octave-complete-impossible): Remove.
6993 (inferior-octave-completion-table)
6994 (inferior-octave-completion-at-point): Remove its uses.
6995 (inferior-octave-startup): completion_matches was introduced to
6996 Octave in 1996 so safe to assume it.
6997 (octave-function-file-comment): Improve to follow how Octave does it.
6998 (octave-update-function-file-comment): Tweak.
6999
2ec12cb0
LL
70002013-04-29 Leo Liu <sdl.web@gmail.com>
7001
7002 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7003 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7004 (octave-function-file-comment): Fix typo.
7005 (octave-sync-function-file-names): Use read-char-choice.
7006
6eaed048
JB
70072013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7008
7009 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7010 to t for the less important warnings.
7011
3ffa2d4f
DH
70122013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7013
7014 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7015
685c9501
GM
70162013-04-27 Glenn Morris <rgm@gnu.org>
7017
7018 * vc/log-view.el (log-view-current-entry):
7019 Treat "---" separator lines as part of the following rev. (Bug#14169)
7020
0208ede7
JL
70212013-04-27 Juri Linkov <juri@jurta.org>
7022
7023 * subr.el (read-number): Doc fix about using it by interactive
7024 code letter `n'. (Bug#14254)
7025
5db9dace
JL
70262013-04-27 Juri Linkov <juri@jurta.org>
7027
7028 * desktop.el (desktop-auto-save-timeout): New option.
7029 (desktop-file-checksum): New variable.
7030 (desktop-save): Add optional arg `auto-save' and don't auto-save
7031 if nothing changed.
7032 (desktop-auto-save-timer): New variable.
7033 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7034 (after-init-hook): Call `desktop-auto-save-set-timer'.
7035 Suggested by Reuben Thomas <rrt@sc3d.org> in
7036 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7037
b7260dd4
LL
70382013-04-27 Leo Liu <sdl.web@gmail.com>
7039
7040 * progmodes/octave.el (octave-function-file-p)
7041 (octave-skip-comment-forward, octave-function-file-comment)
7042 (octave-update-function-file-comment): New functions.
7043 (octave-mode-map): Bind C-c ; to
7044 octave-update-function-file-comment.
7045 (octave-mode-menu): Add octave-update-function-file-comment.
7046 (octave-mode, inferior-octave-mode): Fix doc-string.
7047 (octave-insert-defun): Conform to Octave's coding convention.
7048 (Bug#14285)
7049
7050 * files.el (basic-save-buffer): Don't let errors in
7051 before-save-hook prevent saving buffer.
7052
c46da669
RW
70532013-04-20 Roland Winkler <winkler@gnu.org>
7054
7055 * faces.el (read-face-name): Use completing-read if arg multiple
7056 is nil.
7057
a81ee1eb
IL
70582013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7059
7060 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
7061 displayed, move point to after the totals line.
7062 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
7063 for the details.
7064
4fac34ce
SM
70652013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7068 Add current dir to the load-path.
7069 (package-generate-autoloads): Don't rely on
7070 autoload-ensure-default-file.
7071
f6bfc063
RT
70722013-04-26 Reuben Thomas <rrt@sc3d.org>
7073
d40ab5cf
BG
7074 * textmodes/remember.el (remember-store-in-files): Document that
7075 the file name format is passed to `format-time-string'.
f6bfc063 7076
e55d3b04
LL
70772013-04-26 Leo Liu <sdl.web@gmail.com>
7078
7079 * progmodes/octave.el (octave-sync-function-file-names): New function.
7080 (octave-mode): Use it in before-save-hook.
7081
e53052d3
SM
70822013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7083
140ef50c
SM
7084 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7085 (bug#14274).
7086
e53052d3
SM
7087 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7088 \n and comment, even if it's not an implicit ; (bug#14218).
7089
af80458d 70902013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
7091
7092 * subr.el (read-number): Once more use `read' rather than
7093 `string-to-number', to trap non-numeric input. (Bug#14254)
7094
af80458d 70952013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
7096
7097 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7098 Use `syntax-multiline' text property consistently instead of
8a621d53 7099 `font-lock-multiline'. (Bug#14237)
70203c2e 7100
e6ea1f6c
GM
71012013-04-26 Glenn Morris <rgm@gnu.org>
7102
7103 * emacs-lisp/shadow.el (list-load-path-shadows):
7104 No longer necessary to check for duplicate simple.el, since
7105 2012-07-07 change to init_lread to not include installation lisp
7106 directories in load-path when running uninstalled. (Bug#14270)
7107
070ccca4
LL
71082013-04-26 Leo Liu <sdl.web@gmail.com>
7109
7110 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7111 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 7112 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
7113 octave-in-string-or-comment-p.
7114 (octave-in-comment-p, octave-in-string-p)
7115 (octave-in-string-or-comment-p): Replace defsubst with defun.
7116
9d1c5fb6
PE
71172013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7118
7119 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7120
c034abda
BG
71212013-04-25 Bastien Guerry <bzg@gnu.org>
7122
7123 * textmodes/remember.el (remember-data-directory)
7124 (remember-directory-file-name-format): Fix custom types.
7125
584ea277
LL
71262013-04-25 Leo Liu <sdl.web@gmail.com>
7127
e53052d3
SM
7128 * progmodes/octave.el (octave-completion-at-point-function):
7129 Make use of inferior octave process.
584ea277
LL
7130 (octave-initialize-completions): Remove.
7131 (inferior-octave-completion-table): New function.
7132 (inferior-octave-completion-at-point): Use it.
7133 (octave-completion-alist): Remove.
7134
1693b06a
SM
71352013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7136
7137 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7138 (opascal-mode-syntax-table): New var.
7139 (opascal-literal-kind, opascal-is-literal-end)
7140 (opascal-literal-token-at): Rewrite.
7141 (opascal--literal-start-re, opascal-font-lock-keywords)
7142 (opascal--syntax-propertize): New constants.
7143 (opascal-font-lock-defaults): Adjust.
7144 (opascal-mode): Use them. Set comment-<foo> variables as well.
7145 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7146 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7147 (delphi-other-face, opascal-other-face): Remove face variables.
7148 (opascal-save-state): Remove macro.
7149 (opascal-fontifying-progress-step): Remove constant.
7150 (opascal--ignore-changes): Remove var.
7151 (opascal-set-token-property, opascal-parse-next-literal)
7152 (opascal-is-stable-literal, opascal-complete-literal)
7153 (opascal-is-literal-start, opascal-face-of)
7154 (opascal-parse-region, opascal-parse-region-until-stable)
7155 (opascal-fontify-region, opascal-after-change)
7156 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7157 (opascal-debug-parse-region, opascal-debug-parse-window)
7158 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7159 (opascal-debug-fontify-buffer): Remove.
7160 (opascal-debug-mode-map): Adjust accordingly.
7161
be64c05d
LL
71622013-04-25 Leo Liu <sdl.web@gmail.com>
7163
7164 Merge octave-mod.el and octave-inf.el into octave.el with some
7165 cleanups.
7166 * progmodes/octave.el: New file renamed from octave-mod.el.
7167 * progmodes/octave-inf.el: Merged into octave.el.
7168 * progmodes/octave-mod.el: Renamed to octave.el.
7169
d79d37bd
TH
71702013-04-25 Tassilo Horn <tsdh@gnu.org>
7171
7172 * textmodes/reftex-vars.el
7173 (reftex-label-ignored-macros-and-environments): New defcustom.
7174
7175 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7176
ced3fc5d
SM
71772013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7178
7179 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7180 (smie-indent-keyword): Improve the check to ensure that the next
7181 comment is really on the same line.
7182 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7183
7184 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7185 semi-colons if the line is not otherwise empty (bug#14218).
7186
1c141dad
GM
71872013-04-25 Glenn Morris <rgm@gnu.org>
7188
7189 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7190
5058062a
SM
71912013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7192
7193 * progmodes/opascal.el (opascal-set-token-property): Rename from
7194 opascal-set-text-properties and only set `token' (bug#14134).
7195 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7196 (opascal-literal-text-properties): Remove.
7197 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7198 Adjust callers.
7199
5db9dace 72002013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
7201
7202 * textmodes/remember.el (remember-handler-functions): Add an
7203 option for a new handler `remember-store-in-files'.
7204 (remember-data-directory, remember-directory-file-name-format):
7205 New options.
7206 (remember-store-in-files): New function to store remember notes
7207 as separate files within a directory.
7208
4391916c
MH
72092013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7210
7211 * progmodes/compile.el (compilation-next-error-function):
7212 Pass "formats" to compilation-find-file (bug#11777).
7213
bb7cdf58
GM
72142013-04-24 Glenn Morris <rgm@gnu.org>
7215
3b8fe752 7216 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
7217 * vc/vc-hg.el (vc-hg-print-log):
7218 * vc/vc-svn.el (vc-svn-print-log):
7219 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7220
bb7cdf58
GM
7221 * vc/vc-bzr.el (vc-bzr-print-log):
7222 * vc/vc-cvs.el (vc-cvs-print-log):
7223 * vc/vc-git.el (vc-git-print-log):
7224 * vc/vc-hg.el (vc-hg-print-log):
7225 * vc/vc-mtn.el (vc-mtn-print-log):
7226 * vc/vc-rcs.el (vc-rcs-print-log):
7227 * vc/vc-sccs.el (vc-sccs-print-log):
7228 * vc/vc-svn.el (vc-svn-print-log):
7229 * vc/vc.el (vc-print-log-internal): Doc fixes.
7230
b46a056e
GM
72312013-04-23 Glenn Morris <rgm@gnu.org>
7232
7233 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7234 Remove venerable code attempting to avoid substitute-command-keys.
7235
0aecf718
TH
72362013-04-23 Tassilo Horn <tsdh@gnu.org>
7237
4391916c
MH
7238 * textmodes/reftex-vars.el (reftex-label-regexps):
7239 Call `reftex-compile-variables' after changes to this variable.
0aecf718 7240
117f94cf
SM
72412013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7242
4391916c 7243 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
7244 Use lexical-binding.
7245 (jit-lock-force-redisplay): Use markers, check buffer's continued
7246 existence and beware narrowed buffers.
7247 (jit-lock-fontify-now): Adjust call accordingly.
7248
1d829c64
SM
72492013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7250
7251 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7252 to avoid misleading the user.
7253
72d548a9
LL
72542013-04-22 Leo Liu <sdl.web@gmail.com>
7255
7256 * info-look.el: Prefer latex2e.info. (Bug#14240)
7257
d0853629
MA
72582013-04-22 Michael Albinus <michael.albinus@gmx.de>
7259
7260 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7261
7262 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 7263 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
7264 (tramp-set-completion-function, tramp-parse-putty):
7265 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7266 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7267 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7268 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7269 (tramp-call-local-coding-command): Use `tramp-call-process'
7270 instead of `tramp-compat-call-process'.
7271
7272 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7273 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7274 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 7275 (tramp-find-inline-compress): Improve traces.
d0853629
MA
7276 (tramp-maybe-send-script): Check for Perl binary.
7277 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7278
38cc0210
DU
72792013-04-22 Daiki Ueno <ueno@gnu.org>
7280
7281 * epg.el (epg-context-pinentry-mode): New function.
7282 (epg-context-set-pinentry-mode): New function.
7283 (epg--start): Pass --pinentry-mode option to gpg command.
7284
cc641ee1
XF
72852013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7286
02d844b5 7287 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 7288 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 7289 `completion-at-point'. (Bug#13774)
5d4e5c31 7290
cc641ee1
XF
7291 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7292 default key binding for `describe-distribution' has been moved to
7293 `C-h C-o'. (Bug#13970)
7294
1b42ee43
GM
72952013-04-21 Glenn Morris <rgm@gnu.org>
7296
7297 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7298 Add doc strings.
7299 (vc-print-log): Clarify interactive prompt.
7300
a6d63d97
GM
73012013-04-20 Glenn Morris <rgm@gnu.org>
7302
7303 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7304 No longer include timestamp etc information.
7305
d7f5c16f
RW
73062013-04-20 Roland Winkler <winkler@gnu.org>
7307
7308 * faces.el (read-face-name): Bug fix, return just one face if arg
7309 multiple is nil. (Bug#14209)
7310
bcd7a0a4
SM
73112013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7312
7313 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7314 (remove-function): Autoload.
7315
7316 * comint.el (comint-redirect-original-filter-function): Remove.
7317 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
7318 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7319 (vc-cvs-annotate-command):
bcd7a0a4
SM
7320 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7321 * progmodes/prolog.el (prolog-consult-compile):
7322 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7323 Use add/remove-function instead.
7324 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7325 (gud-tooltip-process-output, gud-tooltip-tips):
7326 Use add/remove-function instead.
7327 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7328 (scheme-interaction-mode, exit-scheme-interaction-mode):
7329 Use add/remove-function instead.
7330
7331 * vc/vc-dispatcher.el: Use lexical-binding.
7332 (vc--process-sentinel): Rename from vc-process-sentinel.
7333 Change last arg to be the code to run. Don't use vc-previous-sentinel
7334 and vc-sentinel-commands any more.
7335 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7336 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7337
e36b2d20 73382013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 7339
bcd7a0a4 7340 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 7341 Handle function names with a single character. (Bug#14111)
4d3268ba 7342
781b4af6 73432013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
7344
7345 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7346 for subroutines defined in an eval (bug#14182).
7347
7d688336
TV
73482013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7349
7350 * bookmark.el (bookmark-completing-read): Improve handling of empty
7351 string (bug#14176).
7352
31dcede0
SM
73532013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7356
adc31213
FEG
73572013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7358
7359 New faster Imenu implementation (bug#14058).
7360 * progmodes/python.el:
7361 (python-imenu-prev-index-position):
7362 (python-imenu-format-item-label-function)
7363 (python-imenu-format-parent-item-label-function)
7364 (python-imenu-format-parent-item-jump-label-function):
7365 New vars.
7366 (python-imenu-format-item-label)
7367 (python-imenu-format-parent-item-label)
7368 (python-imenu-format-parent-item-jump-label)
7369 (python-imenu--put-parent, python-imenu--build-tree)
7370 (python-imenu-create-index, python-imenu-create-flat-index)
7371 (python-util-popn): New functions.
7372 (python-mode): Set imenu-create-index-function to
7373 python-imenu-create-index.
7374
cdca8255
SM
73752013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7376
7377 * winner.el (winner-active-region): Use region-active-p, activate-mark
7378 and deactivate-mark (bug#14225).
7379
7380 * simple.el (deactivate-mark): Don't inline it.
7381
beb42340
MA
73822013-04-18 Michael Albinus <michael.albinus@gmx.de>
7383
7384 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7385
fc7f4d7e
TH
73862013-04-18 Tassilo Horn <tsdh@gnu.org>
7387
7388 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7389 file extensions from the archive-mode entry in order to prefer
7390 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7391
29f47822
LL
73922013-04-18 Leo Liu <sdl.web@gmail.com>
7393
7394 * bindings.el (help-event-list): Add ?\?.
7395
d36ed1c8
SM
73962013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7397
7398 * subr.el (with-wrapper-hook): Declare obsolete.
7399 * simple.el (filter-buffer-substring-function): New hook.
7400 (filter-buffer-substring): Use it.
7401 (filter-buffer-substring-functions): Mark obsolete.
7402 * minibuffer.el (completion-in-region-function): New hook.
7403 (completion-in-region): Use it.
7404 (completion-in-region-functions): Mark obsolete.
7405 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7406 * abbrev.el (abbrev-expand-function): New hook.
7407 (expand-abbrev): Use it.
7408 (abbrev-expand-functions): Mark obsolete.
7409 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7410 and :filter-return.
7411
04754d36
FEG
74122013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7413
7414 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7415 and do not care about match data.
7416
dd8791e9
SM
74172013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7418
7419 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7420 completion tables when completing error conditions and
7421 `declare' arguments.
7422 (lisp-complete-symbol, field-complete): Mark as obsolete.
7423 (check-parens): Unmatched parens are user errors.
7424 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7425
ffe54a13
AM
74262013-04-17 Michal Nazarewicz <mina86@mina86.com>
7427
dd8791e9
SM
7428 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7429 command changed buffer (ie. `flyspell-pre-buffer' is not current
7430 buffer), which prevents making decisions based on invalid value of
7431 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7432 cause an error when `flyspell-pre-point' was nil after switching
7433 buffers.
7434 (flyspell-post-command-hook): No longer needs to change buffers when
7435 checking pre-word. While at it remove unnecessary progn.
ffe54a13 7436
ec7e39f2
AM
74372013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7438
7439 * textmodes/ispell.el (ispell-add-per-file-word-list):
7440 Fix `flyspell-correct-word-before-point' error when accepting
7441 words and `coment-padding' is an integer by using
7442 `comment-normalize-vars' (Bug #14214).
7443
083850a6
FEG
74442013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7445
7446 New defun movement commands.
7447 * progmodes/python.el (python-nav--syntactically)
7448 (python-nav--forward-defun, python-nav-backward-defun)
7449 (python-nav-forward-defun): New functions.
7450
619ed6e1
FEG
74512013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7452
7453 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7454 (python-syntax-context): Use named compiler-macro for backwards
7455 compatibility with Emacs 24.x.
7456
7a1beb6c
LL
74572013-04-17 Leo Liu <sdl.web@gmail.com>
7458
7459 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7460 octave-hide-process-buffer.
7461
2d3fa3e5
SM
74622013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7464 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7465 (bug#14216).
7466
7ce5be54
JPG
74672013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7468
7469 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7470 Fix adjustment of offset when receiving incomplete responses from GDB
7471 (bug#14129).
7472
351edece
SM
74732013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7474
7475 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7476 python-mode-abbrev-table.
7477 (python-skeleton-define): Adjust accordingly.
7478 (python-mode-abbrev-table): New table that inherits from it so that
7479 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7480
7481 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7482 (abbrev-symbol): Use it.
7483 (abbrev--before-point): Use it since we already handle inheritance.
7484
613f9481
LL
74852013-04-16 Leo Liu <sdl.web@gmail.com>
7486
7487 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7488 binding to info-lookup-symbol.
7489
51646b62
JB
74902013-04-16 Juanma Barranquero <lekktu@gmail.com>
7491
7492 * minibuffer.el (completion--twq-all):
7493 * term/ns-win.el (ns-initialize-window-system):
7494 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7495
efb3f01d
SM
74962013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7497
36c0a301
SM
7498 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7499 global bindings.
7500
efb3f01d
SM
7501 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7502
fb549d64
DG
75032013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7504
7505 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7506 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7507 to nil.
7508 (ruby-end-of-defun): Remove the unused arg, change the docstring
7509 to reflect that this function is only used as the value of
7510 `end-of-defun-function'.
7511 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7512 to reflect an earlier change that beginning/end-of-defun functions
7513 jump between methods in a class definition, as well as top-level
7514 functions.
7515
21e8fe2f
SM
75162013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7517
7518 * minibuffer.el (minibuffer-complete): Don't just scroll
7519 a *Completions* that's been iconified.
7520 (minibuffer-force-complete): Make sure repetitions do cycle when going
7521 through completion-in-region -> minibuffer-complete.
7522
20e527d0
AM
75232013-04-15 Alan Mackenzie <acm@muc.de>
7524
7525 Correct the placement of c-cpp-delimiters when there're #s not at
7526 col 0.
7527
7528 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7529 place a submatch around the #.
21e8fe2f
SM
7530 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7531 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
7532 on the #, not BOL.
7533
dabefae5
SM
75342013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7537 (advice--member-p): New arg `name'.
7538 (advice--add-function, advice-member-p): Use it (bug#14202).
7539
85c9ab64
AM
75402013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7541
7542 Reformulate java imenu-generic-expression.
7543 The old expression contained ill formed regexps.
7544
7545 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7546 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7547 (cc-imenu-java-method-arg-regexp): New defconsts.
7548 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 7549 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
7550 handling of spaces in the regexp.
7551
0f821d99
AM
75522013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7553
7554 * textmodes/ispell.el (ispell-command-loop): Remove
7555 flyspell highlight of a word when ispell accepts it (bug #14178).
7556
eb922adf
MA
75572013-04-15 Michael Albinus <michael.albinus@gmx.de>
7558
7559 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7560 uses code from the previous `ange-ftp-run-real-handler'.
7561 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7562 only in case that function exist. This is needed for proper
7563 unloading of Tramp.
7564
4d9a0979
TH
75652013-04-15 Tassilo Horn <tsdh@gnu.org>
7566
7567 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7568
7569 * textmodes/reftex.el (reftex-compile-variables): Use it.
7570
a829b0dc
SM
75712013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7572
91e8293c
SM
7573 * files.el (normal-mode): Only use default major-mode if no other mode
7574 was specified.
7575
830aed4d
SM
7576 * emacs-lisp/trace.el (trace-values): New function.
7577
a829b0dc
SM
7578 * files.el: Allow : in local variables (bug#14089).
7579 (hack-local-variable-regexp): New var.
7580 (hack-local-variables-prop-line, hack-local-variables): Use it.
7581
7ae9f0fb
RW
75822013-04-13 Roland Winkler <winkler@gnu.org>
7583
7584 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7585 data before it gets modified by bibtex-beginning-of-entry.
7586
6646e848
RW
75872013-04-13 Roland Winkler <winkler@gnu.org>
7588
7589 * textmodes/bibtex.el (bibtex-url): Doc fix.
7590
75912013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
7592
7593 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7594 does not visit a BibTeX file, exclude it from the list of buffers
7595 returned by bibtex-initialize.
7596
0aa3616e
SB
75972013-04-13 Stephen Berman <stephen.berman@gmx.net>
7598
7599 * window.el (split-window): Remove interactive form, since as a
7600 command this function is a special case of split-window-below.
7601 Correct doc string.
7602
011cddd6
RW
76032013-04-12 Roland Winkler <winkler@gnu.org>
7604
7605 * faces.el (read-face-name): Do not override value of arg default.
7606 Allow single faces and strings as default values. Remove those
7607 elements from return value that are not faces.
7608 (describe-face): Simplify.
7609 (face-at-point): New optional args thing and multiple so that this
7610 function can provide the same functionality previously provided by
7611 read-face-name.
7612 (make-face-bold, make-face-unbold, make-face-italic)
7613 (make-face-unitalic, make-face-bold-italic, invert-face)
7614 (modify-face, read-face-and-attribute): Use face-at-point.
7615
7616 * cus-edit.el (customize-face, customize-face-other-window)
7617 * cus-theme.el (custom-theme-add-face)
7618 * face-remap.el (buffer-face-set)
7619 * facemenu.el (facemenu-set-face): Use face-at-point.
7620
f24e0036
MA
76212013-04-12 Michael Albinus <michael.albinus@gmx.de>
7622
7623 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7624
da3cda2d
TH
76252013-04-10 Tassilo Horn <tsdh@gnu.org>
7626
7627 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7628 off leading { and trailing } from field values.
7629
15e54145
SM
76302013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7631
78ce603d
SM
7632 * emacs-lisp/timer.el (timer--check): New function.
7633 (timer--time, timer-set-function, timer-event-handler): Use it.
7634 (timer-set-idle-time): Simplify.
7635 (timer--activate): CSE.
7636 (timer-event-handler): Give more info in error message.
7637 (internal-timer-start-idle): New function, moved from C.
7638
15e54145
SM
7639 * mpc.el (mpc-proc): Add `restart' argument.
7640 (mpc-proc-cmd): Use it.
7641 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7642 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7643 less often.
7644
7144c627
MY
76452013-04-10 Masatake YAMATO <yamato@redhat.com>
7646
7647 * progmodes/sh-script.el: Implement `sh-mode' own
7648 `add-log-current-defun-function' (bug#14112).
7649 (sh-current-defun-name): New function.
7650 (sh-mode): Use the function.
7651
b39792eb
BG
76522013-04-09 Bastien Guerry <bzg@gnu.org>
7653
7654 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7655
8acdeb71
SM
76562013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7657
6fcdab68
SM
7658 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7659
8acdeb71
SM
7660 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7661 timer (bug#14156).
7662
e3e7b504
NF
76632013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7664
7665 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7666 declaration.
7667
201bb296
LL
76682013-04-07 Leo Liu <sdl.web@gmail.com>
7669
7670 * pcmpl-x.el: New file.
7671
ebb19708
DA
76722013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7673
7674 Do not set x-display-name until X connection is established.
7675 This is needed to prevent from weird situation described at
7676 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7677 * frame.el (make-frame): Set x-display-name after call to
7678 window system initialization function, not before.
7679 * term/x-win.el (x-initialize-window-system): Add optional
7680 display argument and use it.
7681 * term/w32-win.el (w32-initialize-window-system):
7682 * term/ns-win.el (ns-initialize-window-system):
7683 * term/pc-win.el (msdos-initialize-window-system):
7684 Add compatible optional display argument.
7685
33bb237a
EZ
76862013-04-06 Eli Zaretskii <eliz@gnu.org>
7687
7688 * files.el (normal-backup-enable-predicate): On MS-Windows and
7689 MS-DOS compare truenames of temporary-file-directory and of the
7690 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7691 don't fail comparison by compare-strings. Also, compare file
7692 names case-insensitively on MS-Windows and MS-DOS.
7693
134abf1f
SM
76942013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7695
7696 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7697 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7698
d695cb94
DG
76992013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7700
e3e7b504
NF
7701 * whitespace.el (whitespace-color-on, whitespace-color-off):
7702 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 7703
f4ad7ea1 77042013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
7705
7706 * ispell.el (ispell-set-spellchecker-params):
7707 Really set `ispell-args' for all equivs.
7708
632556e4
SM
77092013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 * ido.el (ido-completions): Use extra elements of ido-decorations
7712 (bug#14143).
7713 (ido-decorations): Update docstring.
7714
2a417372
MA
77152013-04-05 Michael Albinus <michael.albinus@gmx.de>
7716
7717 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7718 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7719 nil during initialization, in order not to miss changes since the
7720 file was opened. (Bug#14140)
7721
fc164b0c
LL
77222013-04-05 Leo Liu <sdl.web@gmail.com>
7723
7724 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7725
0ccecc08
JB
77262013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7727
7728 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7729
51af1aa2
GM
77302013-04-04 Glenn Morris <rgm@gnu.org>
7731
7732 * electric.el (electric-pair-inhibit-predicate): Add :version.
7733
b208ebc6
SM
77342013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7735
7736 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7737 when a package is required several times (bug#14082).
7738
f3d3eaf0
RW
77392013-04-04 Roland Winkler <winkler@gnu.org>
7740
7741 * faces.el (read-face-name): Behave as promised by the docstring.
7742 Assume that arg default is a list of faces.
7743 (describe-face): Call read-face-name with list of default faces.
7744
2575da50
TV
77452013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7746
7747 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7748 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7749 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7750 the header.
7751 (bookmark-exit-hook-internal): Save even if list is empty.
7752
397703b4
YH
77532013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7754
7755 * emacs-lisp/package.el (package-pinned-packages): New var.
7756 (package--add-to-archive-contents): Obey it (bug#14118).
7757
691e26ae
AM
77582013-04-03 Alan Mackenzie <acm@muc.de>
7759
8a621d53
JB
7760 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7761 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
7762
7763 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7764 parameter `not-in-delimiter'. Handle being inside comment opener.
7765 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7766 character in case we're typing a '*' after a '/'.
7767 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7768 instead by passing the parameter to c-state-pp-to-literal.
7769
7770 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7771 for elt. 7 of a parse state.
7772
4b725a70
PE
77732013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7774
7775 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7776 * international/latin1-disp.el, international/mule-util.el:
7777 * language/cyril-util.el, language/european.el, language/ind-util.el:
7778 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7779 * language/tibetan.el, language/viet-util.el:
7780 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7781
15c579f0
SM
77822013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7783
7784 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7785 (electric-pair-post-self-insert-function): Use it.
7786 (electric-pair-default-inhibit): New function, extracted from
7787 electric-pair-post-self-insert-function.
7788
a77e2924
RW
77892013-03-31 Roland Winkler <winkler@gnu.org>
7790
7791 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7792
2bd8a4a8
SM
77932013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7794
7795 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7796
8d3655be 77972013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
7798
7799 Un-indent after "pass" and "return" statements (Bug#13888)
7800 * progmodes/python.el (python-indent-block-enders): New var.
7801 (python-indent-calculate-indentation): Use it.
7802
8d3655be 78032013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
7804
7805 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7806 defun. Defining it as defalias could introduce too eager
7807 byte-compiler optimization. (Bug#14030)
7808
8d3655be 78092013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
7810
7811 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7812
0b1619da
LL
78132013-03-30 Leo Liu <sdl.web@gmail.com>
7814
7815 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7816 (kmacro-execute-from-register): Pass the keyboard macro to
7817 kmacro-call-macro or repeating won't work correctly.
7818
0b938190
TZ
78192013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
7820
7821 * progmodes/subword.el: Back to using `forward-symbol'.
7822
7823 * subr.el (forward-whitespace, forward-symbol)
7824 (forward-same-syntax): Move from thingatpt.el.
7825
35710234
LL
78262013-03-29 Leo Liu <sdl.web@gmail.com>
7827
7828 * kmacro.el (kmacro-to-register): New command.
7829 (kmacro-execute-from-register): New function.
7830 (kmacro-keymap): Bind to 'x'. (Bug#14071)
7831
efc0bb73
SM
78322013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * mpc.el: Use defvar-local and setq-local.
7835 (mpc--proc-connect): Connection failures are not bugs.
7836 (mpc-mode-map): `follow-link' only applies to the buffer's content.
7837 (mpc-volume-map): Bind to the up-events.
7838
75a2f981
TZ
78392013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
7840
7841 * progmodes/subword.el (superword-mode): Use `forward-sexp'
7842 instead of `forward-symbol'.
7843
17c781d1
SM
78442013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7845
7846 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7847 (edebug--recursive-edit): Use it.
7848 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7849 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7850
f67bfbcf
LL
78512013-03-28 Leo Liu <sdl.web@gmail.com>
7852
7853 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
7854
b59f639d
EZ
78552013-03-27 Eli Zaretskii <eliz@gnu.org>
7856
7857 * facemenu.el (list-colors-callback): New defvar.
7858 (list-colors-redisplay): New function.
7859 (list-colors-display): Install list-colors-redisplay as the
7860 revert-buffer-function. (Bug#14063)
7861
f557c1b1
SM
78622013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7863
b1da2957
SM
7864 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
7865 and suffixes don't overlap (bug#14061).
7866
f557c1b1
SM
7867 * case-table.el: Use lexical-binding.
7868 (case-table-get-table): New function.
7869 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
7870
002668e1
TZ
78712013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
7872
7873 * progmodes/subword.el: Add `superword-mode' to do word motion
7874 over symbol_words (parallels and leverages `subword-mode' which
7875 does word motion inside MixedCaseWords).
7876
73572c72
AG
78772013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
7878
78b8f320 7879 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 7880 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 7881
69b2c07e
SM
78822013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7883
7884 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
7885 Change return value to be a sexp. Delay `get-buffer' to after
7886 restoring the desktop (bug#13951).
7887
08bb5ee2
LL
78882013-03-26 Leo Liu <sdl.web@gmail.com>
7889
7890 * register.el: Move semantic tag handling back to
7891 cedet/semantic/senator.el. (Bug#14052)
7892
8d4c974e
SM
78932013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7894
7895 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
7896 into the prompt either (bug#13963).
7897
b234d92c
SM
78982013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7899
7900 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
7901 part of "(error-foo)".
7902
ddfa3cb4
JL
79032013-03-24 Juri Linkov <juri@jurta.org>
7904
7905 * replace.el (list-matching-lines-prefix-face): New defcustom.
7906 (occur-1): Pass `list-matching-lines-prefix-face' to the function
7907 `occur-engine' if `face-differs-from-default-p' returns t.
7908 (occur-engine): Add `,' inside backquote construct to evaluate
7909 `prefix-face'. Propertize the prefix with the `prefix-face' face.
7910 Pass `prefix-face' to the functions `occur-context-lines' and
7911 `occur-engine-add-prefix'.
7912 (occur-engine-add-prefix, occur-context-lines): Add optional arg
7913 `prefix-face' and propertize the prefix with `prefix-face'.
7914 (Bug#14017)
7915
7b0e2f85
LL
79162013-03-24 Leo Liu <sdl.web@gmail.com>
7917
7918 * nxml/rng-valid.el (rng-validate-while-idle)
7919 (rng-validate-quick-while-idle): Guard against deleted buffer.
7920 (Bug#13999)
7921
7922 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
7923 is the last entry in kill-buffer-hook.
7924
7925 * files.el (kill-buffer-hook): Doc fix.
7926
b3082f49
DG
79272013-03-23 Dmitry Gutov <dgutov@yandex.ru>
7928
b234d92c
SM
7929 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
7930 Make it safe-local.
bde73d27 7931
b3082f49
DG
7932 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
7933
a320a2db
LL
79342013-03-23 Leo Liu <sdl.web@gmail.com>
7935
7e74b0fb
LL
7936 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
7937 Remove.
7938
7939 * nxml/rng-valid.el (rng-validate-mode)
7940 (rng-after-change-function, rng-do-some-validation):
7941 * nxml/rng-maint.el (rng-validate-buffer):
7942 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
7943 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
7944 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
7945 (nxml-extend-after-change-region): Use with-silent-modifications.
7946
a320a2db
LL
7947 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
7948 timer-idle-list.
7949
7950 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
7951 (rng-next-error-1, rng-previous-error-1): Do not let-bind
7952 timer-idle-list. (Bug#13999)
7953
e38e6780
JL
79542013-03-23 Juri Linkov <juri@jurta.org>
7955
7956 * info.el (info-index-match): New face.
7957 (Info-index, Info-apropos-matches): Add a nested subgroup to the
7958 main pattern and add text properties with the new face to matches
7959 in index entries relative to the beginning of the index entry.
7960 (Bug#14015)
7961
e8cc7880
DE
79622013-03-21 Eric Ludlam <zappo@gnu.org>
7963
7964 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
7965 Inhibit read only while inserting objects.
7966
9bb0d822
TZ
79672013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
7968
7969 * progmodes/cfengine.el: Update docs to mention
7970 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
7971 symbol motion. Remove "_" from the word syntax.
7972
aa703640
TZ
79732013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
7974
7975 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
7976 syntax for both `cfengine2-mode' and `cfengine3-mode'.
7977
afff09d0
JL
79782013-03-20 Juri Linkov <juri@jurta.org>
7979
7980 * info.el (Info-next-reference-or-link)
7981 (Info-prev-reference-or-link): New functions.
7982 (Info-next-reference, Info-prev-reference): Use them.
7983 (Info-try-follow-nearest-node): Handle footnote navigation.
7984 (Info-fontify-node): Fontify footnotes. (Bug#13989)
7985
9a1ff164
SM
79862013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7987
7988 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
7989 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
7990
2667d15d
PE
79912013-03-20 Paul Eggert <eggert@cs.ucla.edu>
7992
7993 Suppress unnecessary non-ASCII chatter during build process.
7994 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
7995 (batch-skkdic-convert): Suppress most of the chatter.
7996 It's not needed so much now that machines are faster,
7997 and its non-ASCII component was confusing; see Dmitry Gutov in
7998 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
7999
438b0579
LL
80002013-03-20 Leo Liu <sdl.web@gmail.com>
8001
8002 * ido.el (ido-chop): Fix bug#10994.
8003
c128ab07
DG
80042013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8005
8006 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8007 Remove vars.
9a1ff164
SM
8008 (whitespace-color-on, whitespace-color-off):
8009 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 8010
0e6008c5
SM
80112013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8012
8013 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8014 remapping in mode-line.
8015 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8016
627b52b0
DG
80172013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8018
8019 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8020 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
8021 (whitespace-font-lock-keywords): Change description.
8022 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8023 the constructed keywords instead.
8024 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 8025
50c3a20b
LL
80262013-03-19 Leo Liu <sdl.web@gmail.com>
8027
8028 * progmodes/compile.el (compilation-display-error): New command.
8029 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8030 C-o. (Bug#13992)
8031
2aa2157b
PE
80322013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8033
8034 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8035
e477dbfa
JD
80362013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8037
8038 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8039
64ab82d1
MA
80402013-03-18 Michael Albinus <michael.albinus@gmx.de>
8041
8042 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8043
8044 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8045 * net/tramp-gvfs.el (top):
8046 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8047 (tramp-handle-shell-command): Use it.
8048 (tramp-dissect-file-name): Raise an error when hostname is a
8049 method name, and neither method nor user is specified.
8050
8051 * net/trampver.el: Update release number.
8052
33cef733
LL
80532013-03-18 Leo Liu <sdl.web@gmail.com>
8054
8055 Make sure eldoc can be turned off properly.
8056 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8057 eldoc-mode.
8058 (eldoc-display-message-p): Revert last change.
8059 (eldoc-display-message-no-interference-p)
8060 (eldoc-print-current-symbol-info): Tweak.
8061
2167b7b2
TH
80622013-03-18 Tassilo Horn <tsdh@gnu.org>
8063
8064 * doc-view.el (doc-view-new-window-function): Check the new window
8065 overlay's display property instead the char property of the
8066 buffer's first char. Use `with-selected-window' instead of
8067 `save-window-excursion' with `select-window'.
8068 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 8069 display property instead the char property of the buffer's first char.
2167b7b2 8070
982efbcd
PE
80712013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8072
8073 Automate the build of ja-dic.el (Bug#13984).
8074 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8075 from the input, rather than assume that it's been done for us by the
8076 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8077 the current date into a ja-dic.el comment, as that complicates
8078 regression testing.
8079
2fcc7665
SM
80802013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8081
8082 * whitespace.el: Fix double evaluation.
8083 (whitespace-space, whitespace-hspace, whitespace-tab)
8084 (whitespace-newline, whitespace-trailing, whitespace-line)
8085 (whitespace-space-before-tab, whitespace-indentation)
8086 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8087 obsolete defvars.
8088 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8089 (whitespace-color-on): Use a single font-lock-add-keywords call.
8090 Fix double-evaluation of face variables.
8091
67c0a6e6
MA
80922013-03-17 Michael Albinus <michael.albinus@gmx.de>
8093
2fcc7665
SM
8094 * net/tramp-adb.el (tramp-adb-parse-device-names):
8095 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 8096 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 8097
69489f1d
LL
80982013-03-17 Leo Liu <sdl.web@gmail.com>
8099
8100 Extend eldoc to display info in the mode-line. (Bug#13978)
8101 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8102 (eldoc-mode-line-string): New variable.
8103 (eldoc-minibuffer-message): New function.
8104 (eldoc-message-function): New variable.
8105 (eldoc-message): Use it.
8106 (eldoc-display-message-p)
2fcc7665
SM
8107 (eldoc-display-message-no-interference-p):
8108 Support eldoc-post-insert-mode.
69489f1d
LL
8109
8110 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8111 (eval-expression): Run it.
8112
9c44569e
RW
81132013-03-17 Roland Winkler <winkler@gnu.org>
8114
8115 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8116 strings in the list of return values.
8117
327f1f6f
JB
81182013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8119
8120 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8121 radix before checking for HMS forms.
8122
67ed8fcd
LL
81232013-03-16 Leo Liu <sdl.web@gmail.com>
8124
8125 * progmodes/scheme.el: Add indentation and font-locking for λ.
8126 (Bug#13975)
8127
78be8b64 81282013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
8129
8130 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8131 token before point (bug#13942).
8132
78be8b64 81332013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 8134
95b43468 8135 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 8136
98e775e6
EZ
81372013-03-16 Eli Zaretskii <eliz@gnu.org>
8138
8139 * startup.el (command-line-normalize-file-name): Fix handling of
8140 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8141 <xfq.free@gmail.com> in
8142 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8143
2edd6029
MA
81442013-03-15 Michael Albinus <michael.albinus@gmx.de>
8145
8146 Sync with Tramp 2.2.7.
8147
8148 * net/trampver.el: Update release number.
8149
d35f5864
TH
81502013-03-14 Tassilo Horn <tsdh@gnu.org>
8151
f35ffe5e
TH
8152 * doc-view.el Fix bug#13887.
8153 (doc-view-insert-image): Don't modify overlay associated to
8154 non-live windows, and implement horizontal centering of image in
8155 case it's smaller than the window.
8156 (doc-view-new-window-function): Force redisplay of new windows on
8157 doc-view buffers.
d35f5864 8158
1c4a85ed
KF
81592013-03-13 Karl Fogel <kfogel@red-bean.com>
8160
8161 * saveplace.el (save-place-alist-to-file): Don't sort
8162 `save-place-alist', just pretty-print it (bug#13882).
8163
85b66a21
MA
81642013-03-13 Michael Albinus <michael.albinus@gmx.de>
8165
a020afb9
JB
8166 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8167 Check whether `default-file-name-coding-system' is bound.
8168 It isn't in XEmacs.
85b66a21 8169
175600da
SM
81702013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8171
e7f7cb1a
SM
8172 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8173 backquotes for `obsolete' (bug#13929).
8174
175600da
SM
8175 * international/mule.el (find-auto-coding): Include file name in
8176 obsolescence warning (bug#13922).
8177
ca68a22e
TZ
81782013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8179
8180 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8181 for CFEngine 3-specific indentation.
8182 (cfengine3-indent-line): Use it. Fix up category regex.
8183 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8184
940e5099
SM
81852013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8186
8187 * type-break.el (type-break-file-name):
8188 * textmodes/remember.el (remember-data-file):
8189 * strokes.el (strokes-file):
8190 * shadowfile.el (shadow-initialize):
8191 * saveplace.el (save-place-file):
8192 * ps-bdf.el (bdf-cache-file):
8193 * progmodes/idlwave.el (idlwave-config-directory):
8194 * net/quickurl.el (quickurl-url-file):
8195 * international/kkc.el (kkc-init-file-name):
8196 * ido.el (ido-save-directory-list-file):
8197 * emulation/viper.el (viper-custom-file-name):
8198 * emulation/vip.el (vip-startup-file):
8199 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8200 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8201
cc725808
PE
82022013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8203
8204 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8205 * language/thai-word.el: Switch to UTF-8.
8206
a020afb9 8207See ChangeLog.16 for earlier changes.
e3d51b27
MR
8208
8209;; Local Variables:
8210;; coding: utf-8
e3d51b27
MR
8211;; End:
8212
ab422c4d 8213 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
8214
8215 This file is part of GNU Emacs.
8216
8217 GNU Emacs is free software: you can redistribute it and/or modify
8218 it under the terms of the GNU General Public License as published by
8219 the Free Software Foundation, either version 3 of the License, or
8220 (at your option) any later version.
8221
8222 GNU Emacs is distributed in the hope that it will be useful,
8223 but WITHOUT ANY WARRANTY; without even the implied warranty of
8224 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8225 GNU General Public License for more details.
8226
8227 You should have received a copy of the GNU General Public License
8228 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.