Get Ruby's SMIE code to pass the test suite.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
34d1a133
SM
12013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4 (ruby-comment-column): Follow the global default, by default.
5 (ruby-smie-grammar): Add assignment syntax.
6 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7 open-paren, a comma, or a \.
8 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
9 and line continuations.
10 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
11 followed by implicit semi-colons. Add rule for string concatenation
12 and for indentation at BOB.
13 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
14
15 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
16 calling next-sexp, since next-token may have skipped chars which
17 next-sexp doesn't know should be skipped!
18
6f6ab820
LL
192013-10-05 Leo Liu <sdl.web@gmail.com>
20
34d1a133
SM
21 * progmodes/octave.el (octave-send-region):
22 Call compilation-forget-errors.
6f6ab820 23
34ca0f4c
XF
242013-10-04 Xue Fuqiao <xfq.free@gmail.com>
25
26 * vc/vc-svn.el (vc-svn-find-admin-dir):
27 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
28 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
29 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
30 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
31
a27c1b72
SM
322013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
35
258ab3bc
SM
362013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
37
38 * subr.el (read-passwd): Hide chars even when called within a context
39 where after-change-functions is disabled (bug#15501).
40 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
41 until we removed ourself from overriding-terminal-local-map.
42
939fb29c
LL
432013-10-04 Leo Liu <sdl.web@gmail.com>
44
258ab3bc
SM
45 * progmodes/octave.el (inferior-octave-mode):
46 Call compilation-forget-errors.
939fb29c 47
63bd7f35
XF
482013-10-04 Xue Fuqiao <xfq.free@gmail.com>
49
50 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
51
9e6229fa
MA
522013-10-04 Michael Albinus <michael.albinus@gmx.de>
53
54 * net/secrets.el (secrets-create-collection): Add optional
55 argument ALIAS. Use proper Label keyword. Append ALIAS as
56 dbus-call-method argument. (Bug#15516)
57
1dab32a3
LL
582013-10-04 Leo Liu <sdl.web@gmail.com>
59
60 * progmodes/octave.el (inferior-octave-error-regexp-alist)
61 (inferior-octave-compilation-font-lock-keywords): New variables.
62 (compilation-error-regexp-alist)
63 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
64 (inferior-octave-mode): Use compilation-shell-minor-mode.
65
6cad7ba3
JS
662013-10-04 Jorgen Schaefer <forcer@forcix.cx>
67
68 * minibuffer.el (completion--replace): Be careful that `end' might be
69 a marker.
70
acbadd00
DU
712013-10-03 Daiki Ueno <ueno@gnu.org>
72
73 Add support for package signature checking.
74 * emacs-lisp/package.el (url-http-file-exists-p)
75 (epg-make-context, epg-context-set-home-directory)
76 (epg-verify-string, epg-context-result-for)
77 (epg-signature-status, epg-signature-to-string)
78 (epg-check-configuration, epg-configuration)
79 (epg-import-keys-from-file): Declare.
80 (package-check-signature): New user option.
81 (package-unsigned-archives): New user option.
82 (package-desc): Add `signed' field.
83 (package-load-descriptor): Set `signed' field if .signed file exists.
84 (package--archive-file-exists-p): New function.
85 (package--check-signature): New function.
86 (package-install-from-archive): Check package signature.
87 (package--download-one-archive): Check archive signature.
88 (package-delete): Remove .signed file.
89 (package-import-keyring): New command.
90 (package-refresh-contents): Import default keyring.
91 (package-desc-status): Add "unsigned" status.
92 (describe-package-1, package-menu--print-info)
93 (package-menu-mark-delete, package-menu--find-upgrades)
94 (package-menu--status-predicate): Support "unsigned" status.
95
adf2aa61
SM
962013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
97
98 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
99 the new compilation scheme using the new byte-codes.
100
101 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
102 (byte-pophandler): New byte codes.
103 (byte-goto-ops): Adjust accordingly.
104 (byte-compile--use-old-handlers): New var.
105 (byte-compile-catch): Use new byte codes depending on
106 byte-compile--use-old-handlers.
107 (byte-compile-condition-case--old): Rename from
108 byte-compile-condition-case.
109 (byte-compile-condition-case--new): New function.
110 (byte-compile-condition-case): New function that dispatches depending
111 on byte-compile--use-old-handlers.
112 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
113 when we can.
114
115 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
116 Optimize under `condition-case' and `catch' if
117 byte-compile--use-old-handlers is nil.
118 (disassemble-offset): Handle new bytecodes.
119
328a8179
SM
1202013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
121
122 * subr.el (error): Use `declare'.
123 (decode-char, encode-char): Use advertised-calling-convention instead
124 of the docstring to discourage use of the `restriction' arg.
125
15a1e936
DU
1262013-10-03 Daiki Ueno <ueno@gnu.org>
127
128 * epg.el (epg-verify-file): Add a comment saying that it does not
129 notify verification error as a return value nor a signal.
130 (epg-verify-string): Ditto.
131
376f862a
KR
1322013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
133
134 * progmodes/compile.el (compilation-start): Try globbing the arg to
135 `cd' (bug#15417).
136
a2f93a5f
MA
1372013-10-02 Michael Albinus <michael.albinus@gmx.de>
138
139 Sync with Tramp 2.2.8.
140
141 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
142 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
143 * net/trampver.el: Update release number.
144
0daa0804
JD
1452013-10-01 Jan Djärv <jan.h.d@swipnet.se>
146
147 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
148 and default-process-coding-system for darwin only.
149
abd1ae34
SM
1502013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
151
152 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
153
be4e325d
MH
1542013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
155
156 * vc/vc-git.el (vc-git-grep): Disable pager.
157
e9155c4a
DG
1582013-10-01 Dmitry Gutov <dgutov@yandex.ru>
159
494e898b
DG
160 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
161 Use :url instead of :homepage, as per
162 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
163
e9155c4a
DG
164 * newcomment.el (comment-beginning): When `comment-use-syntax' is
165 non-nil, use `syntax-ppss' (Bug#15251).
166
481a8e0f
RS
1672013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
168
be4e325d
MH
169 * progmodes/octave.el (inferior-octave-startup-file):
170 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 171
056453c6
DG
1722013-09-29 Dmitry Gutov <dgutov@yandex.ru>
173
be4e325d
MH
174 * emacs-lisp/package.el (package-desc-from-define):
175 Accept additional arguments as plist, convert them to an alist and store
176 them in the `extras' slot.
056453c6
DG
177 (package-generate-description-file): Convert extras alist back to
178 plist and append to the `define-package' form arguments.
179 (package--alist-to-plist): New function.
180 (package--ac-desc): Add `extras' slot.
181 (package--add-to-archive-contents): Check if the archive-contents
182 vector is long enough, and if it is, pass its `extras' slot value
183 to `package-desc-create'.
184 (package-buffer-info): Call `lm-homepage', pass the returned value
185 to `package-desc-from-define'.
186 (describe-package-1): Render the homepage button (Bug#13291).
187
be4e325d
MH
188 * emacs-lisp/package-x.el (package-upload-buffer-internal):
189 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 190
832966e5
JD
1912013-09-29 Jan Djärv <jan.h.d@swipnet.se>
192
193 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
194 and default-process-coding-system to utf-8-unix (Bug#15402).
195
6cfe977d
XF
1962013-09-29 Xue Fuqiao <xfq.free@gmail.com>
197
198 * subr.el (looking-back): Do not recommend using looking-back.
199
38de11bd
AM
2002013-09-28 Alan Mackenzie <acm@muc.de>
201
202 Fix indentation/fontification of Java enum with "implements".
203
204 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
205 regexp which matches "implements", etc., in Java.
206 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
207 specifier clauses coming after "enum".
208 * progmodes/cc-fonts.el (c-font-lock-declarations)
209 (c-font-lock-enum-tail): Check for extra specifier clauses coming
210 after "enum".
211
1610938f
JD
2122013-09-28 Jan Djärv <jan.h.d@swipnet.se>
213
214 * faces.el (region): Change ns_selection_color to
215 ns_selection_fg_color, add ns_selection_bg_color.
216
e090f499
LL
2172013-09-28 Leo Liu <sdl.web@gmail.com>
218
4d2e94d1
LL
219 * progmodes/octave.el (inferior-octave-completion-table)
220 (inferior-octave-completion-at-point): Minor tweaks.
221
e090f499
LL
222 * textmodes/ispell.el (ispell-lookup-words): Rename from
223 lookup-words. (Bug#15460)
224 (lookup-words): Obsolete.
225 (ispell-complete-word, ispell-command-loop): All uses changed.
226
7e138a62
RS
2272013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
228
229 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
230 (octave-mode-menu): Add octave-send-buffer.
231 (octave-send-buffer): New function.
232
5af5ed08
RS
2332013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
234
235 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
236 octave-lookfor.
237 (octave-mode-menu): Add octave-lookfor.
238 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
239 octave-lookfor.
240 (octave-lookfor): New function.
241
3b7b2692
SM
2422013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
243
244 * emacs-lisp/cl-macs.el:
245 (cl--loop-destr-temps): Remove.
246 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
247 its convention.
248 (cl--loop-set-iterator-function): New function.
249 (cl-loop): Adjust accordingly, so as not to use cl-subst.
250 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
251 Bind `it' with `let' instead of substituting it with `cl-subst'.
252 (cl--unused-var-p): New function.
253 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
254 Eliminate some unused variable warnings (bug#15326).
255
529fb53f
TH
2562013-09-27 Tassilo Horn <tsdh@gnu.org>
257
258 * doc-view.el (doc-view-scale-reset): Rename from
259 `doc-view-reset-zoom-level'.
260 (doc-view-scale-adjust): New command.
261 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
262 `doc-view-scale-adjust'.
263
0550c95a
TH
2642013-09-26 Tassilo Horn <tsdh@gnu.org>
265
266 * doc-view.el (doc-view-reset-zoom-level): New command.
267 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
268 zoom commands (bug#15466).
269
6950f152
KH
2702013-09-26 Kenichi Handa <handa@gnu.org>
271
272 * international/quail.el (quail-help): Make it not a command.
273
39587580
LL
2742013-09-26 Leo Liu <sdl.web@gmail.com>
275
276 * minibuffer.el (completion-all-sorted-completions): Make args
277 optional as they are.
278
00578659
DC
2792013-09-25 Daniel Colascione <dancol@dancol.org>
280
281 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
282 specs are and that they're not evaluated.
283
0c173878
SS
2842013-09-24 Sam Steingold <sds@gnu.org>
285
286 * midnight.el (clean-buffer-list-kill-regexps)
287 (clean-buffer-list-kill-buffer-names): Update for the new Man
288 buffer naming which includes the object name.
289
84998447
SM
2902013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * eshell/esh-cmd.el (eshell--sep-terms): New var.
293 (eshell-parse-command, eshell-parse-pipeline): Use it since
294 eshell-separate-commands requires a dynamic scoped var.
295 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
296
33215353
LL
2972013-09-23 Leo Liu <sdl.web@gmail.com>
298
299 * autoinsert.el (auto-insert-alist): Make the value of
300 lexical-binding match its file setting.
301
57b16162
JB
3022013-09-23 Juanma Barranquero <lekktu@gmail.com>
303
c8af4e67
JB
304 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
305
57b16162
JB
306 * autoarg.el (autoarg-kp-digit-argument):
307 * electric.el (Electric-command-loop):
308 * kmacro.el (kmacro-step-edit-insert):
309 Do not set universal-argument-num-events.
310
7186ba60
LL
3112013-09-22 Leo Liu <sdl.web@gmail.com>
312
313 * files.el (interpreter-mode-alist): Add octave.
314
ece15004
AM
3152013-09-21 Alan Mackenzie <acm@muc.de>
316
317 C++: fontify identifier in declaration following "public:" correctly.
318 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
319 to match "public", etc.
320 (c-decl-prefix-re): Add ":" into the C++ value.
321 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
322 bit. Add a check for a ":" preceded by "public", etc.
323
75d83e22
EZ
3242013-09-21 Eli Zaretskii <eliz@gnu.org>
325
326 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
327 recognized by GDB 7.5 and later.
328
d052d3bd
XF
3292013-09-21 Xue Fuqiao <xfq.free@gmail.com>
330
331 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
332
31dca772
R
3332013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * subr.el (internal--call-interactively): New const.
336 (called-interactively-p): Use it (bug#3984).
337
98ccf24e
XF
3382013-09-20 Xue Fuqiao <xfq.free@gmail.com>
339
340 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
341 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
342 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 343
c39cc7d1
SM
3442013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
347 (eshell-ls-orig-insert-directory): Remove.
348 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
349 (eshell-ls-use-in-dired): Use advice-add/remove.
350 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
351 Add `orig-fun' arg for use in :around advice.
352 Make it check (redundantly) eshell-ls-use-in-dired.
353
9a0289a2
GM
3542013-09-19 Glenn Morris <rgm@gnu.org>
355
a2c501b8
GM
356 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
357
c440407a
GM
358 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
359
9a0289a2
GM
360 * emacs-lisp/eieio.el (class-parent): Undo previous change.
361
85e05915
MA
3622013-09-19 Michael Albinus <michael.albinus@gmx.de>
363
364 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
365 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
366 (tramp-get-remote-python): New defuns.
367 (tramp-get-remote-uid-with-perl)
368 (tramp-get-remote-gid-with-perl): New defuns. Perl code
369 contributed by yary <not.com@gmail.com> (tiny change).
370 (tramp-get-remote-uid-with-python)
371 (tramp-get-remote-gid-with-python): New defuns. Python code
372 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
373 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
374
ce503312
GM
3752013-09-19 Glenn Morris <rgm@gnu.org>
376
f7544773
GM
377 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
378
72fd2877
GM
379 * eshell/em-unix.el (eshell-remove-entries):
380 Rename argument to avoid name-clash with global `top-level'.
381
336b5a56
GM
382 * eshell/esh-proc.el (eshell-kill-process-function):
383 Remove eshell-reset-after-proc from eshell-kill-hook if present.
384 (eshell-reset-after-proc): Remove unused arg `proc'.
385
57a3a53d
GM
386 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
387 (directory-files-and-attributes): Mark unused arg.
388
3261d4af
GM
389 * eshell/em-unix.el (eshell-remove-entries):
390 Remove unused arg `path'. Update callers.
391
8e51b5d0
GM
392 * eshell/em-hist.el (eshell-hist-parse-arguments):
393 Remove unused arg `silent'. Update callers.
394
ce503312
GM
395 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
396 Fix (f)boundp mix-up.
397
398 * eshell/em-smart.el (eshell-smart-scroll-window)
399 (eshell-disable-after-change):
336b5a56 400 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 401
ee3ce8a7
AM
4022013-09-18 Alan Mackenzie <acm@muc.de>
403
404 Fix fontification of type when followed by "const".
405 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
406 "known" types from fontification.
407
ec9177ba
GM
4082013-09-18 Glenn Morris <rgm@gnu.org>
409
7bb3e768
GM
410 * emacs-lisp/chart.el (x-display-color-cells): Declare.
411 (chart-face-list): Drop Emacsen without display-color-p.
412
5148da15
GM
413 * net/eww.el (libxml-parse-html-region): Declare.
414 (eww-display-html): Explicit error if no libxml2 support.
415
2f68e157
GM
416 * doc-view.el (doc-view-mode): Silence --without-x compilation.
417
9019d095
GM
418 * image.el (image-type-from-buffer, image-multi-frame-p):
419 Remove --without-x warning/error.
67645389 420
5f30349b 421 * mouse.el (mouse-yank-primary):
45069b2e 422 * term.el (term-mouse-paste):
5f30349b
GM
423 Reorder to silence --without-x compilation.
424
cd8edbbe
GM
425 * mpc.el (doc-view-mode): Silence --without-x compilation.
426
8a78544e
GM
427 * mail/rmailmm.el (rmail-mime-set-bulk-data):
428 Silence --without-x compilation.
429
12679bfd
GM
430 * progmodes/gud.el (gud-find-file, gud-mode):
431 Silence --without-x compilation.
432 (tooltip-mode): Declare.
30810a05 433
f0047cb9
GM
434 * wdired.el (dired-backup-overwrite): Remove declaration.
435 (wdired-mode-map): Add doc string.
436
e740f9d2
GM
437 * custom.el (x-get-resource): Declare.
438
92d77c89
GM
439 * eshell/em-glob.el (ange-cache):
440 * eshell/em-unix.el (ange-cache): Declare.
441
76e69577
GM
442 * faces.el (x-display-list, x-open-connection, x-get-resource):
443 Declare.
7e58af4b
GM
444
445 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
446 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
447 Declare.
76e69577 448
4bd4c0af 449 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 450
ffb82dbd
GM
451 * net/gnutls.el (gnutls-log-level): Declare.
452
986ed135
GM
453 * net/shr.el (image-size, image-animate): Declare.
454
e740f9d2
GM
455 * simple.el (font-info): Declare.
456
d2f3e9f8
GM
457 * subr.el (x-popup-dialog): Declare.
458
047a1a4c
GM
459 * term/common-win.el (x-select-enable-primary)
460 (x-last-selected-text-primary, x-last-selected-text-clipboard):
461 Declare.
462
f4a1d572
GM
463 * term/ns-win.el (x-handle-args): Declare.
464
e843de77
GM
465 * term/x-win.el (x-select-enable-clipboard): Declare.
466
5fa89513
GM
467 * term/w32-win.el (create-default-fontset): Declare.
468
38702b5b
GM
469 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
470 Declare.
471
e740f9d2
GM
472 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
473 (fit-frame-to-buffer): Explicit error if --without-x.
474 (mouse-autoselect-window-select): Silence compiler.
475
49a053fc
GM
476 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
477
478 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
479 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
480 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 481 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
482 Remove unused local variables.
483
484 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
485
ec9177ba
GM
486 * textmodes/two-column.el: Make 2C-split work for --without-x.
487 (scroll-bar-columns): Autoload.
488 (top-level): Require fringe when compiling.
489
9f25cb77
LL
4902013-09-18 Leo Liu <sdl.web@gmail.com>
491
492 * subr.el (add-hook): Robustify to handle closure as well.
493
2b42da98
GM
4942013-09-17 Glenn Morris <rgm@gnu.org>
495
496 * simple.el (messages-buffer-mode-map): Unbind "g".
497
e8b66a6a
SM
4982013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
499
9c0ad4f7
SM
500 * help-mode.el (help-mode-finish): Use derived-mode-p.
501 Remove obsolete highlighting.
502
7a806dfb
SM
503 * play/life.el (life-mode): Use define-derived-mode. Derive from
504 special-mode.
505 (life): Let-bind inhibit-read-only.
506 (life-setup): Avoid `setq'. Use `life-mode'.
507
96dbf5a8
SM
508 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
509 which should not be needed any more.
510 (package-menu-refresh, package-menu-describe-package): Use user-error.
511
e8b66a6a
SM
512 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
513 (eshell-post-rewrite-command-hook): Make obsolete.
514 (eshell-parse-command): Simplify.
515 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
516 (eshell--cmd): Declare.
517 (eshell-parse-pipeline): Remove unused var `final-p'.
518 Pass a dynvar to eshell-post-rewrite-command-hook.
519 Implement the new eshell-post-rewrite-command-function.
520 (eshell-invoke-directly): Remove unused arg `input'.
521 * eshell/esh-io.el (eshell-io-initialize):
522 Use eshell-post-rewrite-command-function (bug#15399).
523 (eshell--apply-redirections): Rename from eshell-apply-redirections;
524 adjust to new calling convention.
525 (eshell-create-handles): Rename args to avoid clashing with dynvar
526 `standard-output'.
527
90582f05
GM
5282013-09-17 Glenn Morris <rgm@gnu.org>
529
530 * simple.el (messages-buffer-mode): New major mode.
531 (messages-buffer): New function.
532 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
533 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 534 (ert-run-test): Use `messages-buffer' function.
90582f05 535 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
536 * help.el (view-echo-area-messages): Use `messages-buffer' function.
537 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 538
39eb0cb5 5392013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
540
541 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
542
1f1e06e2
SM
543 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
544
70568a90
SM
5452013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
546
504a0381
SM
547 * icomplete.el (icomplete-in-buffer): New var.
548 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
549 vars and replace them with functions.
550 (icomplete-minibuffer-setup): Adjust accordingly.
551 (icomplete--completion-table, icomplete--completion-predicate)
552 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
553 New functions.
554 (icomplete-forward-completions, icomplete-backward-completions)
555 (icomplete-simple-completing-p, icomplete-exhibit)
556 (icomplete-completions): Use them.
557 (icomplete--in-region-buffer): New var.
558 (icomplete--in-region-setup): New function.
559 (icomplete-mode): Use it.
560
70568a90
SM
561 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
562 (bug#15379).
563 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
564 return args and options.
565 (eshell-eval-using-options): Use the new return value of
566 eshell--do-opts to set the options's vars in their scope.
567 (eshell--set-option): Rename from eshell-set-option.
568 Add arg `opt-vals'.
569 (eshell--process-option): Rename from eshell-process-option.
570 Add arg `opt-vals'.
571 (eshell--process-args): Use an `opt-vals' alist to store the options's
572 values during their processing and return them additionally to the
573 remaining args.
574
578c21bc
DG
5752013-09-15 Dmitry Gutov <dgutov@yandex.ru>
576
577 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
578 continuation character an operator, as far as indentation is
579 concerned (Bug#15369).
580
c089653d
MR
5812013-09-15 Martin Rudalics <rudalics@gmx.at>
582
583 * window.el (window--state-put-2): Don't process buffer state
584 when buffer doesn't exist any more (Bug#15382).
585
1e53bb4b
GM
5862013-09-15 Glenn Morris <rgm@gnu.org>
587
30753242
GM
588 * eshell/em-unix.el (eshell/rm):
589 Make -f ignore missing files. (Bug#15373)
590
1e53bb4b
GM
591 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
592 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
593 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
594
0d8863b3
GM
5952013-09-14 Glenn Morris <rgm@gnu.org>
596
597 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
598
d3fc6549
GM
5992013-09-13 Glenn Morris <rgm@gnu.org>
600
601 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
602 (dired-guess-default): Make `file' available in the env. (Bug#15363)
603
fcd42c11
DA
6042013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
605
606 * frame.el (x-focus-frame): Mark as declared in frame.c.
607
7830899f
SM
6082013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
609
610 * ls-lisp.el: Use advice-add.
611 (original-insert-directory): Remove.
612 (ls-lisp--insert-directory): Rename from insert-directory; add
613 `orig-fun' argument.
614 (insert-directory): Advise.
615
84387cd2
EZ
6162013-09-13 Eli Zaretskii <eliz@gnu.org>
617
618 * term.el (term-emulate-terminal): Decode the command string
619 before passing it to term-command-hook. (Bug#15337)
620
35ffc6ba
GM
6212013-09-13 Glenn Morris <rgm@gnu.org>
622
5c3f9bcc
GM
623 * eshell/esh-util.el (ange-cache): Move declaration earlier.
624
2ada368a
GM
625 * eshell/esh-ext.el (eshell-search-path): Declare.
626
fcef2e13
GM
627 * eshell/em-prompt.el (eshell/pwd): Autoload it.
628 Otherwise an error occurs if eshell-dirs module not loaded.
629
35ffc6ba
GM
630 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
631
35c3d36e
MA
6322013-09-13 Michael Albinus <michael.albinus@gmx.de>
633
634 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
635 `tramp-check-proper-host'. Check for a valid method name.
636
637 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
638 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
639 * net/tramp-sh.el (tramp-maybe-open-connection):
640 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
641
642 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
643 also for hash values.
644
ae5e4c48
SM
6452013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
646
379add74
SM
647 * term/ns-win.el (parameters): Don't declare as dynamic.
648 (before-make-frame-hook): Don't add ineffective function.
649
ae5e4c48
SM
650 * eshell/*.el: Use lexical-binding (bug#15231).
651
b5623270
KH
6522013-09-12 Kenichi Handa <handa@gnu.org>
653
ae5e4c48 654 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 655
30213927
GM
6562013-09-12 Glenn Morris <rgm@gnu.org>
657
be94d713 658 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 659 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 660
44915370
GM
661 * subr.el (do-after-load-evaluation): Also give compiler warnings
662 when obsolete files are used (except by obsolete files).
663
a6ae021f
GM
664 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
665 in the status output, assume `filename' is the first. (Bug#15322)
666
40e64f0c
GM
667 * vc/vc.el (vc-deduce-fileset): Doc fix.
668
16d9f896
GM
669 * calc/calc-help.el (Info-goto-node):
670 * progmodes/cperl-mode.el (Info-find-node):
671 * vc/ediff.el (Info-goto-node): Update declarations.
672
dea01c6e
GM
673 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
674
759880bf 675 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
676 (vc-bzr-pull): Require vc-dispatcher.
677 * vc/vc-git.el (vc-compilation-mode): Declare.
678 (vc-git-pull): Require vc-dispatcher.
679
08d66420
GM
680 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
681
30b626e9
GM
682 * progmodes/octave.el (help-button-action): Declare.
683
8c05cb10
GM
684 * shell.el (shell-directory-tracker): Output error as a message
685 rather than just returning it as a string.
686 (shell-process-pushd): Remove useless use of message.
687
30213927
GM
688 * dframe.el (dframe-timer-fn):
689 * files.el (dir-locals-read-from-file):
690 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
691 (mpc-format):
692 * reveal.el (reveal-post-command):
693 * saveplace.el (load-save-place-alist-from-file):
694 * shell.el (shell-resync-dirs):
695 * w32-common-fns.el (x-get-selection-value):
696 * emacs-lisp/copyright.el (copyright-find-copyright):
697 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
698 * emulation/tpu-edt.el (tpu-copy-keyfile):
699 * play/bubbles.el (bubbles--mark-neighbourhood):
700 * progmodes/executable.el
701 (executable-make-buffer-file-executable-if-script-p):
702 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
703
d3b049e6
SM
7042013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
705
170266d0
SM
706 Cleanup Eshell to rely less on dynamic scoping.
707 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
708 last-value, and ext-command here. Bind `args' closer to `body'.
709 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
710 (eshell--args): Declare new dynamic var.
711 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
712 last-value, and ext-command. Pass `args' to `body'.
713 (eshell-process-args): Bind eshell--args.
714 (eshell-set-option): Use eshell--args.
715 * eshell/eshell.el (eshell): Use derived-mode-p.
716 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
717 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
718 (eshell-glob-function): Declare.
719 * eshell/esh-util.el: Require cl-lib.
720 (eshell-read-hosts-file): Avoid add-to-list.
721 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
722 `err'.
723 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
724 Declare.
725 (eshell/diff): Remove unused var `err'.
726 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
727 `killflag'.
728 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
729 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
730 first use.
731 * eshell/em-glob.el (eshell-glob-matches, message-shown):
732 Move declaration before first use.
733 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
734 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
735 rely on cl-return.
736
56834f3b
GM
7372013-09-12 Glenn Morris <rgm@gnu.org>
738
739 * term/ns-win.el (global-map): Remove binding for ispell-next,
740 deleted 1999-05-29. (Bug#15357)
741
5c91a2b8
GM
7422013-09-11 Glenn Morris <rgm@gnu.org>
743
da712f22
GM
744 * echistory.el (electric-command-history): Remove call to deleted func.
745
512e4cdc
GM
746 * play/landmark.el (landmark-mode): Fix typos.
747
d3506ca5
GM
748 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
749 Check cvs-sort-ignore-file is bound.
750
5c91a2b8
GM
751 * savehist.el: No need for cl when compiling on Emacs.
752
feeff482
SM
7532013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
754
656bd483
SM
755 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
756 (bug#15338).
d3b049e6
SM
757 (eshell-self-insert-command, eshell-send-invisible):
758 Remove unused argument.
656bd483
SM
759 (eshell-handle-control-codes): Remove unused var `orig'.
760 Avoid delete-backward-char.
761
feeff482
SM
762 * files.el (set-auto-mode): Simplify a bit further.
763
2a08047a
GM
7642013-09-11 Glenn Morris <rgm@gnu.org>
765
766 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
767 (set-auto-mode): Don't regexp-quote elements.
768 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
769 * progmodes/cc-mode.el (interpreter-mode-alist):
770 * progmodes/ruby-mode.el (interpreter-mode-alist):
771 Revert previous change.
772
34675540
SM
7732013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
774
1b3b87df
SM
775 * play/snake.el (snake-mode):
776 * play/mpuz.el (mpuz-mode):
777 * play/landmark.el (lm-mode):
778 * play/blackbox.el (blackbox-mode):
779 * play/5x5.el (5x5-mode):
780 * obsolete/options.el (Edit-options-mode):
781 * net/quickurl.el (quickurl-list-mode):
782 * net/newst-treeview.el (newsticker-treeview-mode):
783 * mail/rmailsum.el (rmail-summary-mode):
784 * mail/mspools.el (mspools-mode):
785 * locate.el (locate-mode):
786 * ibuffer.el (ibuffer-mode):
787 * emulation/ws-mode.el (wordstar-mode):
788 * emacs-lisp/debug.el (debugger-mode):
789 * array.el (array-mode):
790 * net/eudc.el (eudc-mode): Use define-derived-mode.
791 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
792 Move initialization into declaration.
793 (mairix-searches-mode): Use define-derived-mode.
794 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
795 (eudc-edit-hotlist): Use dolist.
796 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
797 (Man-mode): Use define-derived-mode.
798 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
799 (Info-edit-mode): Use define-derived-mode.
800 (Info-cease-edit): Use Info-mode.
801 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
802 into declaration.
803 (eshell-mode): Use define-derived-mode.
804 * chistory.el (command-history-mode-map): Rename from
805 command-history-map.
806 (command-history-mode): Use define-derived-mode.
da712f22 807 (Command-history-setup): Remove function.
1b3b87df
SM
808 * calc/calc.el (calc-trail-mode-map): New var.
809 (calc-trail-mode): Use define-derived-mode.
810 (calc-trail-buffer): Set calc-main-buffer manually.
811 * bookmark.el (bookmark-insert-annotation): New function.
812 (bookmark-edit-annotation): Use it.
813 (bookmark-edit-annotation-mode): Make it a proper major mode.
814 (bookmark-send-edited-annotation): Use derived-mode-p.
815 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
816 closer to its ideal place. Use \' to match EOS.
817
34675540
SM
818 * profiler.el (profiler-calltree-find): Use function-equal.
819
6a5c15d9
GM
8202013-09-10 Glenn Morris <rgm@gnu.org>
821
1af4c220
GM
822 * files.el (interpreter-mode-alist): Convert to regexps.
823 (set-auto-mode): Adapt for this. (Bug#15306)
824 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
825 Comment out unused variable.
826 * progmodes/cc-mode.el (interpreter-mode-alist):
827 * progmodes/python.el (interpreter-mode-alist):
828 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
829 * progmodes/sh-script.el (sh-set-shell):
830 No longer use interpreter-mode-alist to get list of shells.
831
6a5c15d9
GM
832 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
833
8c27f5ff
SM
8342013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
835
02ef6c1a 836 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 837 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
838 Bind switch-frame explicitly. Replace universal-argument-minus with
839 a conditional binding.
840 (universal-argument-num-events, saved-overriding-map): Remove.
841 (restore-overriding-map): Remove.
842 (universal-argument--mode): Rename from save&set-overriding-map,
843 and rewrite.
844 (universal-argument, universal-argument-more, negative-argument)
845 (digit-argument): Adjust accordingly.
846 (universal-argument-minus): Remove.
847 (universal-argument-other-key): Remove.
848
8c27f5ff
SM
849 * subr.el (with-demoted-errors): Add `format' argument.
850
6480194c
MA
8512013-09-10 Michael Albinus <michael.albinus@gmx.de>
852
853 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
854 `tramp-cleanup-connection'.
855
856 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
857 parameters KEEP-DEBUG and KEEP-PASSWORD.
858
859 * net/tramp.el (tramp-file-name-handler):
860 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
861 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
862 (tramp-maybe-open-connection):
8c27f5ff
SM
863 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
864 Use `tramp-cleanup-connection'.
6480194c 865
8c27f5ff
SM
866 * net/tramp-sh.el (tramp-maybe-open-connection):
867 Catch 'uname-changed inside the progress reporter.
6480194c 868
e5e916d8
GM
8692013-09-10 Glenn Morris <rgm@gnu.org>
870
9a2c9b47
GM
871 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
872
e5e916d8
GM
873 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
874 returns "alternate access method" in mode (eg "-rw-r--r--.").
875
144e38fe
GM
8762013-09-08 Glenn Morris <rgm@gnu.org>
877
878 * saveplace.el (load-save-place-alist-from-file):
879 Demote errors. (Bug#15305)
880
af9ff9e8
MA
8812013-09-08 Michael Albinus <michael.albinus@gmx.de>
882
883 Improve compatibility with older Emacsen, and XEmacs.
884
885 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
886 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
887 (with-tramp-progress-reporter): Do not let-bind `result'.
888 This yields to scoping errors in XEmacs.
af9ff9e8
MA
889 (tramp-handle-make-auto-save-file-name): New function, moved from
890 tramp-sh.el.
891
892 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
893 for `make-auto-save-file-name'.
8c27f5ff
SM
894 (tramp-adb--gnu-switches-to-ash):
895 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
896
897 * net/tramp-cache.el (tramp-cache-print): Call
898 `substring-no-properties' only if it is bound. It isn't for XEmacs.
899
900 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
901 bound. It isn't for XEmacs.
902
8c27f5ff
SM
903 * net/tramp-compat.el (tramp-compat-copy-file):
904 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
905 (tramp-compat-replace-regexp-in-string): New defun.
906
907 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
908 for `make-auto-save-file-name'.
909 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
910 `copy-file'.
911 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
912 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
913 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
914
8c27f5ff
SM
915 * net/tramp-gw.el (tramp-gw-open-network-stream):
916 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 917
8c27f5ff
SM
918 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
919 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
920 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
921 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
922 (tramp-sh-file-inotifywait-process-filter):
923 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
924 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
925
926 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
927 for `make-auto-save-file-name'.
8c27f5ff
SM
928 (tramp-smb-handle-copy-directory):
929 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
930 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
931 (tramp-smb-handle-copy-file): Improve error message.
932 (tramp-smb-handle-rename-file): Rename directly only in case
933 `newname' does not exist yet. This is a restriction of smbclient.
934 (tramp-smb-maybe-open-connection): Rerun the function only when
935 `auth-sources' is non-nil.
936
0ca754d0
KH
9372013-09-08 Kenichi Handa <handa@gnu.org>
938
939 * international/characters.el: Set category "^" (Combining) for
940 more characters.
941
e8dd0787
AM
9422013-09-07 Alan Mackenzie <acm@muc.de>
943
944 Correctly fontify Java class constructors.
945 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
946 in Java Mode.
947 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
948 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
949 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
950 "typeless" declaration there.
951
f2f248e7
RW
9522013-09-07 Roland Winkler <winkler@gnu.org>
953
954 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
955 field subtitle for entry type book.
956
67982e2b
SM
9572013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
958
959 * minibuffer.el: Make minibuffer-complete call completion-in-region
960 rather than other way around.
961 (completion--some, completion-pcm--find-all-completions):
962 Don't delay signals when debugging.
963 (minibuffer-completion-contents): Beware fields within the
964 minibuffer contents.
965 (completion-all-sorted-completions): Use defvar-local.
966 (completion--do-completion, completion--cache-all-sorted-completions)
967 (completion-all-sorted-completions, minibuffer-force-complete):
968 Add args `beg' and `end'.
969 (completion--in-region-1): New fun, extracted from minibuffer-complete.
970 (minibuffer-complete): Use completion-in-region.
971 (completion-complete-and-exit): New fun, extracted from
972 minibuffer-complete-and-exit.
973 (minibuffer-complete-and-exit): Use it.
974 (completion--complete-and-exit): Rename from
975 minibuffer--complete-and-exit.
976 (completion-in-region--single-word): New function, extracted from
977 minibuffer-complete-word.
978 (minibuffer-complete-word): Use it.
979 (display-completion-list): Make `common-substring' argument obsolete.
980 (completion--in-region): Call completion--in-region-1 instead of
981 minibuffer-complete.
982 (completion-help-at-point): Pass boundaries to
983 minibuffer-completion-help as args rather than via an overlay.
984 (completion-pcm--string->pattern): Use `any-delim'.
985 (completion-pcm--optimize-pattern): New function.
986 (completion-pcm--pattern->regex): Handle `any-delim'.
987 * icomplete.el (icomplete-forward-completions)
988 (icomplete-backward-completions, icomplete-completions):
989 Adjust calls to completion-all-sorted-completions and
990 completion--cache-all-sorted-completions.
991 (icomplete-with-completion-tables): Default to t.
992 * emacs-lisp/crm.el (crm--current-element): Rename from
993 crm--select-current-element. Don't put an overlay but return the
994 boundaries instead.
995 (crm--completion-command): Take two new args to bind to the boundaries.
996 (crm-completion-help): Adjust accordingly.
997 (crm-complete): Use completion-in-region.
998 (crm-complete-word): Use completion-in-region--single-word.
999 (crm-complete-and-exit): Use completion-complete-and-exit.
1000
e17d94a5
SM
10012013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1002
1003 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1004 than dynamically.
1005
96727100
JL
10062013-09-06 Juri Linkov <juri@jurta.org>
1007
1008 * info.el (Info-display-images-node): When image file doesn't exist
1009 display text version of the image if it's provided in the Info file.
1010 Otherwise, display the location of missing image from SRC attribute.
1011 Add help-echo text property from ALT attribute. (Bug#15279)
1012
86cf7329
SM
10132013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1016 (edit-abbrevs-mode): Use define-derived-mode.
1017
1018 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1019 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1020 that it's defined.
1021 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1022 Use define-derived-mode.
1023
1024 * epg.el (epg-start-encrypt): Minor CSE simplification.
1025
816244a2
WX
10262013-09-06 William Xu <william.xwl@gmail.com>
1027
1028 * arc-mode.el: Add support for 7za (bug#15264).
1029 (archive-7z-program): New var.
1030 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1031 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1032 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1033
1486fa31
MA
10342013-09-06 Michael Albinus <michael.albinus@gmx.de>
1035
1036 Remove URL syntax.
1037
1038 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1039 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1040 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1041 (tramp-postfix-host-format, tramp-file-name-regexp)
1042 (tramp-completion-file-name-regexp)
1043 (tramp-completion-dissect-file-name)
1044 (tramp-handle-substitute-in-file-name): Remove 'url case.
1045 (tramp-file-name-regexp-url)
1046 (tramp-completion-file-name-regexp-url): Remove constants.
1047
39785324
GM
10482013-09-06 Glenn Morris <rgm@gnu.org>
1049
1050 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1051
1f896cb7
DG
10522013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1053
1054 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1055 keywords" below "here-doc beginnings" (Bug#15270).
1056
c0458e0b
SM
10572013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * subr.el (pop): Use `car-safe'.
1060 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1061 to detect unused `pop' return value.
1062
1063 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1064 var `block-regexp'.
1065 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1066 (python-fill-string): Remove unused var `marker'.
1067 (python-skeleton-add-menu-items): Remove unused var `items'.
1068
1069 * international/mule-cmds.el: Require CL.
1070 (find-coding-systems-for-charsets): Avoid add-to-list.
1071 (sanitize-coding-system-list): New function, extracted from
1072 select-safe-coding-system-interactively.
1073 (select-safe-coding-system-interactively): Use it.
1074 (read-input-method-name): Accept symbols for `default'.
1075
1076 * emacs-lisp/advice.el (defadvice): Add indent rule.
1077
6c42fc3e
DH
10782013-09-05 Daniel Hackney <dan@haxney.org>
1079
1080 * dired-x.el:
1081 * net/ange-ftp.el:
1082 * net/browse-url.el:
1083 * net/dbus.el:
1084 * net/eudc.el:
1085 * net/eudcb-ldap.el:
1086 * net/eww.el:
1087 * net/imap.el:
1088 * printing.el:
1089 * vc/ediff-diff.el:
1090 * vc/ediff-init.el:
1091 * vc/ediff-merg.el:
1092 * vc/ediff-mult.el:
1093 * vc/ediff-util.el:
1094 * vc/ediff-wind.el:
1095 * vc/ediff.el:
1096 * vc/emerge.el:
1097 * vc/pcvs.el:
1098 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1099 byte compiler. Remove some unused let-bound variables.
1100
4c528aab
SM
11012013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1102
1103 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1104 a "ref-cell", since it gets better optimized (bug#14883).
1105
bd15c390
GM
11062013-09-05 Glenn Morris <rgm@gnu.org>
1107
1108 * progmodes/cc-awk.el (c-forward-sws): Declare.
1109
1c3ac2e5
GM
11102013-09-04 Glenn Morris <rgm@gnu.org>
1111
1112 * generic-x.el [rul-generic-mode]: Require cc-mode.
1113 (c++-mode-syntax-table): Declare.
1114 (rul-generic-mode-syntax-table): Init in the defvar.
1115
52b1cc79
SM
11162013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1117
c828af56
SM
1118 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1119 (vc-do-command, vc-set-async-update):
1120 * vc/vc-mtn.el (vc-mtn-dir-status):
1121 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1122 (vc-hg-pull, vc-hg-merge-branch):
1123 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1124 (vc-git-merge-branch):
1125 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1126 (vc-cvs-dir-status-files):
1127 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1128 (vc-bzr-dir-status-files):
1129 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1130 * vc/vc-annotate.el: Use lexical-binding.
1131 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1132 (vc-sentinel-movepoint): Declare.
1133 (vc-annotate): Don't use `goto-line'.
1134 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1135 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1136 (vc-sentinel-movepoint): Declare.
1137 * vc/vc-svn.el: Use lexical-binding.
1138 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1139 * vc/vc-sccs.el:
1140 * vc/vc-rcs.el: Use lexical-binding.
1141
abae272c
SM
1142 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1143 `deleted'. Don't drop errors silently.
1144
52b1cc79
SM
1145 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1146
63191d9f
XF
11472013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1148
1149 * vc/vc.el (vc-ignore): Rewrite.
1150 (vc-default-ignore): New function.
1151 (vc-default-ignore-completion-table): Use find-ignore-file.
1152
1153 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1154 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1155 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1156 Remove. Most code moved to vc.el.
1157
9d3f707c
SM
11582013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1159
abae272c 1160 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
1161 * net/tramp-smb.el (tramp-smb-get-file-entries):
1162 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1163 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1164
fde38d49
SM
1165 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1166 Update call to it.
1167 (eww-change-select): Remove unused var `properties'.
1168 (eww-make-unique-file-name): Remove unused var `base'.
1169
1170 * finder.el (finder-compile-keywords): Don't mess with windows.
1171
84032db7
SM
1172 * calculator.el (calculator-funcall): Fix typo in last change.
1173
724f5e41
SM
1174 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1175
14b511d4
SM
1176 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1177 <pkg>-autoloads.el file stop us.
1178
9d3f707c 1179 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 1180 warnings, and factor out common code.
9d3f707c 1181
88527bc0
DG
11822013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1183
1184 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1185 two-character operators and whether the character preceding them
1186 changes their meaning (Bug#15208).
1187
96edb677
FEG
11882013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1189
1190 Format code sent to Python shell for robustness.
9d3f707c
SM
1191 * progmodes/python.el (python-shell-buffer-substring):
1192 New function.
96edb677
FEG
1193 (python-shell-send-region, python-shell-send-buffer): Use it.
1194
95beaef3
MA
11952013-09-02 Michael Albinus <michael.albinus@gmx.de>
1196
1197 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1198 * net/tramp.el (tramp-user-error): ... here.
1199 (tramp-find-method, tramp-check-proper-host)
1200 (tramp-dissect-file-name, tramp-debug-message)
1201 (tramp-handle-shell-command):
1202 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1203 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1204
1205 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1206
f167c27b
MR
12072013-09-02 Martin Rudalics <rudalics@gmx.at>
1208
1209 * avoid.el (mouse-avoidance-point-position)
1210 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1211 returns nil.
1212
cd16c5f1
FEG
12132013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1214
1215 * progmodes/python.el (python-shell-completion-get-completions):
1216 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 1217 (python-nav-if-name-main): New command.
cd16c5f1 1218
e73c3a0d
GM
12192013-09-01 Glenn Morris <rgm@gnu.org>
1220
f8ccce03
GM
1221 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1222 Avoid leading space in $wins. Otherwise the sed command used by
1223 eg compile-main ends up containing "/*.el". (Bug#15170)
1224
e73c3a0d
GM
1225 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1226
415f808e
GM
12272013-08-30 Glenn Morris <rgm@gnu.org>
1228
1229 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1230 Fix is-this-a-directory logic. (Bug#15220)
1231
f069bba8
SM
12322013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1233
112798c1
SM
1234 * textmodes/css-mode.el: Use SMIE.
1235 (css-smie-grammar): New var.
1236 (css-smie--forward-token, css-smie--backward-token)
1237 (css-smie-rules): New functions.
1238 (css-mode): Use them.
1239 (css-navigation-syntax-table): Remove var.
1240 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1241 (css-indent-calculate, css-indent-line): Remove functions.
1242
1243 Misc changes to reduce use of `(lambda...); and other cleanups.
1244 * cus-edit.el: Use lexical-binding.
1245 (customize-push-and-save, customize-apropos)
1246 (custom-buffer-create-internal): Use closures.
1247 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1248 * progmodes/ada-xref.el: Use setq.
1249 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1250 * dframe.el: Use lexical-binding.
1251 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1252 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1253 * descr-text.el: Use lexical-binding.
1254 (describe-text-widget, describe-text-sexp, describe-property-list):
1255 Use closures.
1256 * comint.el (comint-history-isearch-push-state): Use a closure.
1257 * calculator.el: Use lexical-binding.
1258 (calculator-number-to-string): Make it work with lexical-binding.
1259 (calculator-funcall): Same and use cl-letf.
1260
2da4c3ab
SM
1261 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1262 (lisp--company-doc-string, lisp--company-location): New functions.
1263 (lisp-completion-at-point): Use them to improve Company support.
1264
f069bba8
SM
1265 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1266 params of lambda expressions.
1267 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1268 (ruby-smie--opening-pipe-p): New function.
1269 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1270 symbols and matched |...| for formal params.
1271 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1272 from being treated as hanging. Handle "rescue".
1273
6758b6a8
GM
12742013-08-29 Glenn Morris <rgm@gnu.org>
1275
1276 * progmodes/cc-engine.el (c-pull-open-brace):
1277 Move definition before use.
1278
e8dfd197
SM
12792013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1282 are immutable. Don't use `unsafe' any more.
1283 (cl--defsubst-expand): Don't substitute at the same time as keeping
1284 a residual unused let-binding. Don't use `unsafe' any more.
1285
cc585c96
GM
12862013-08-29 Glenn Morris <rgm@gnu.org>
1287
ba579ea6
GM
1288 * calendar/cal-china.el (calendar-chinese-year-cache):
1289 Recenter on 2015.
1290
8201a87e
GM
1291 * nxml/nxml-util.el (nxml-debug-clear-inside):
1292 Use cl-loop rather than loop.
1293
6ee877c7
GM
1294 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1295
cc585c96
GM
1296 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1297
27be8d39
GM
12982013-08-28 Glenn Morris <rgm@gnu.org>
1299
397440a1
GM
1300 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1301
2bb762d4
GM
1302 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1303
27be8d39
GM
1304 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1305
2d69b99e
SM
13062013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1307
f663baa7
SM
1308 * simple.el (repeat-complex-command--called-interactively-skip):
1309 New function.
1310 (repeat-complex-command): Use it (bug#14136).
1311
dd4f8b74
SM
1312 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1313 (c-define-abbrev-table): Add `doc' argument.
1314 (c-mode-abbrev-table, c++-mode-abbrev-table)
1315 (objc-mode-abbrev-table, java-mode-abbrev-table)
1316 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1317 (awk-mode-abbrev-table): Use it.
1318 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1319 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1320 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1321 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1322 Move initialization into the declaration; and remove any
1323 autoload cookie.
1324
b58969f7
SM
1325 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1326 and dynamic let binding.
1327
4021d6a6
SM
1328 * vc/smerge-mode.el: Remove redundant :group args.
1329
2d69b99e
SM
1330 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1331 to load-path.
1332
274919fd
JL
13332013-08-28 Juri Linkov <juri@jurta.org>
1334
1335 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1336 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1337 (isearch-other-meta-char): Handle an undefined shifted printing
1338 character by downshifting it. (Bug#15200)
1339
121f8c95
JL
13402013-08-28 Juri Linkov <juri@jurta.org>
1341
1342 * isearch.el (isearch-search): Change regexp error message for
1343 non-regexp searches. (Bug#15166)
1344
50b13cde
PE
13452013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1346
1347 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1348 for portability to hosts where /bin/sh has problems.
1349
95888bca
SM
13502013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1351
1352 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1353
bbe558f1
JL
13542013-08-27 Juri Linkov <juri@jurta.org>
1355
1356 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1357 in the keyboard macro. (Bug#15126)
1358
26f98a7d
JL
13592013-08-27 Juri Linkov <juri@jurta.org>
1360
1361 * isearch.el (isearch-quote-char): Comment out converting unibyte
1362 to multibyte, thus syncing with its `quoted-insert' counterpart.
1363 (Bug#15166)
1364
7c97d35e
MR
13652013-08-27 Martin Rudalics <rudalics@gmx.at>
1366
1367 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
1368 argument in call of get-largest-window (Bug#15185).
1369 Reported by Stephen Leake.
7c97d35e 1370
a0b5606e 13712013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
1372
1373 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1374
9e89d835
SM
13752013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1376
1377 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1378 from a matcher-function unless there's no more matches (bug#15161).
1379
78fc2530
MA
13802013-08-26 Michael Albinus <michael.albinus@gmx.de>
1381
1382 * minibuffer.el: Revert change from 2013-08-20.
1383
1384 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1385 with text property `tramp-default', if appropriate.
1386 (tramp-check-proper-host): New defun.
1387 (tramp-dissect-file-name): Do not check hostname. Revert change
1388 of 2013-03-18.
1389 (tramp-backtrace): Make VEC-OR-PROC optional.
1390
1391 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1392 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1393 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
1394 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1395 Apply `tramp-check-proper-host'.
78fc2530 1396
edca97cd
TH
13972013-08-26 Tassilo Horn <tsdh@gnu.org>
1398
1399 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1400 lambda expression in order to have `describe-variable' display it.
1401
df54bcbd
MA
14022013-08-26 Michael Albinus <michael.albinus@gmx.de>
1403
1404 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1405 BUF can be optional. (Bug#15186)
1406
eed99101
XF
14072013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1408
1409 * progmodes/flymake.el (flymake-get-real-file-name-function):
1410 Fix broken customization. (Bug#15184)
1411
b5eb9035
AM
14122013-08-25 Alan Mackenzie <acm@muc.de>
1413
8a51e842
AM
1414 Improve indentation of bracelists defined by macros (without "=").
1415
1416 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1417 expansion begins with "{", regard it as bracelist when it doesn't
1418 contain a ";".
1419
869455d4
AM
1420 Parse C++ inher-intro when there's a template split over 2 lines.
1421
1422 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1423 rigorously the search for "class" etc. followed by ":".
1424
1425 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1426 random languages a regexp which never matches rather than nil.
1427
b5eb9035
AM
1428 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1429
1430 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1431 (c-awk-regexp-one-line-possibly-open-char-list-re)
1432 (c-awk-one-line-possibly-open-regexp-re)
1433 (c-awk-one-line-non-syn-ws*-re): Remove.
1434 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1435 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1436 (c-awk-space*-unclosed-regexp-/-re): New constants.
1437 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1438 aren't regexp delimiters.
1439
1440 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1441 handling for a rare situation in AWK Mode involving unterminated
1442 strings/regexps.
1443
61611d54
GM
14442013-08-23 Glenn Morris <rgm@gnu.org>
1445
2d85dc34
GM
1446 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1447
cb8d2612
GM
1448 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1449
bb35f42f
GM
1450 * files.el (create-file-buffer): If the result would begin with
1451 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 1452
b9808e77
SM
14532013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1454
e3a66363
SM
1455 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1456 text-properties (bug#15155).
1457
b9808e77
SM
1458 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1459 exist any more.
1460 (calc-keypad-redraw): Remove unused var `pad'.
1461 (calc-keypad-press): Remove unused var `menu'.
1462
7fd5f65e
MR
14632013-08-23 Martin Rudalics <rudalics@gmx.at>
1464
b9808e77
SM
1465 * window.el (display-buffer-pop-up-frame):
1466 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
1467 use it as the new frame's buffer (Bug#15133).
1468
8352b530
SM
14692013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1470
1471 * calendar/timeclock.el: Minor cleanups.
1472 (timeclock-ask-before-exiting, timeclock-use-display-time):
1473 Use `symbol'.
1474 (timeclock-modeline-display): Define as alias before the
1475 actual definition.
1476 (timeclock-mode-line-display): Use define-minor-mode.
1477 (timeclock-day-list-template): Make it a function, add an argument.
1478 (timeclock-day-list-required, timeclock-day-list-length)
1479 (timeclock-day-list-debt, timeclock-day-list-span)
1480 (timeclock-day-list-break): Adjust calls accordingly.
1481
9f7b1925
SM
14822013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1483
1484 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1485 Use read--expression so that completion works again.
1486
6e50e983
SS
14872013-08-21 Sam Steingold <sds@gnu.org>
1488
1489 Add rudimentary inferior shell interaction
1490 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1491 (sh-set-shell): Reset it.
9f7b1925
SM
1492 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1493 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 1494
dbb0d350
SM
14952013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1496
1497 * align.el: Use lexical-binding.
1498 (align-region): Simplify accordingly.
1499
c88586a9
MA
15002013-08-20 Michael Albinus <michael.albinus@gmx.de>
1501
1502 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1503
1504 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1505 `non-essential' up.
1506
f95527c8
MA
15072013-08-17 Michael Albinus <michael.albinus@gmx.de>
1508
1509 * net/tramp.el:
1510 * net/tramp-adb.el:
1511 * net/tramp-cmds.el:
1512 * net/tramp-ftp.el:
1513 * net/tramp-gvfs.el:
1514 * net/tramp-gw.el:
1515 * net/tramp-sh.el: Don't wrap external variable declarations by
1516 `eval-when-compile'.
1517
4b5fe4ee
LMI
15182013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1519
1520 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1521 now that Emacs supports ImageMagick animations.
1522
13c366c9
MA
15232013-08-16 Michael Albinus <michael.albinus@gmx.de>
1524
1525 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1526 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1527
3dfc5cd6
MR
15282013-08-16 Martin Rudalics <rudalics@gmx.at>
1529
1530 * window.el (mouse-autoselect-window-select): Do autoselect when
1531 mouse pointer is on margin.
1532
4bbb4381
WP
15332013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1534
1535 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1536
3a2ddc2d
GM
15372013-08-16 Glenn Morris <rgm@gnu.org>
1538
e8bedf5a
GM
1539 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1540 Handle "Remote Directory" response of some clients. (Bug#15058)
1541
58c4682f
GM
1542 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1543 Tweak warning. (Bug#14926)
1544
57953f49
GM
1545 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1546 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1547
3a2ddc2d
GM
1548 * image-mode.el (image-mode-map): Add menu items to reverse,
1549 increase, decrease, reset animation speed.
1550 (image--set-speed, image-increase-speed, image-decrease-speed)
1551 (image-reverse-speed, image-reset-speed): New functions.
1552 (image-mode-map): Add bindings for speed commands.
1553
1554 * image.el (image-animate-get-speed, image-animate-set-speed):
1555 New functions.
1556 (image-animate-timeout): Respect image :speed property.
1557
10fa0ed3
SM
15582013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1561 previous line (bug#15101).
1562 (debugger-eval-expression, debugger-record-expression):
1563 Use read--expression (bug#15102).
1564
5d89d9d2
MA
15652013-08-15 Michael Albinus <michael.albinus@gmx.de>
1566
1567 Remove byte compiler warnings, visible when compiling with
1568 `byte-compile-force-lexical-warnings' set to t.
1569
1570 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1571 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1572 (tramp-handle-unhandled-file-name-directory)
1573 (tramp-handle-file-notify-add-watch, tramp-action-login)
1574 (tramp-action-succeed, tramp-action-permission-denied)
1575 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1576 arguments with "_".
1577
1578 * net/tramp-adb.el (tramp-adb-parse-device-names)
1579 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1580 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1581 (tramp-adb-handle-file-truename): Remove unused arguments.
1582
1583 * net/tramp-cache.el (tramp-flush-directory-property)
1584 (tramp-flush-connection-property, tramp-list-connections)
1585 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1586
10fa0ed3
SM
1587 * net/tramp-compat.el (tramp-compat-make-temp-file):
1588 Rename FILENAME to F.
5d89d9d2
MA
1589
1590 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1591 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1592 (tramp-zeroconf-parse-workstation-device-names)
1593 (tramp-zeroconf-parse-webdav-device-names)
1594 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1595
1596 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1597 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1598
1599 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1600 arguments.
1601 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1602 (tramp-sh-handle-insert-file-contents-literally)
1603 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1604 with "_".
1605 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1606 Remove unused variables.
1607
1608 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1609 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1610 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1611
1612 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1613 Make them a defconst.
1614 (tramp-uuencode-region): Remove unused variable.
1615
62f33bae
JB
16162013-08-14 Juanma Barranquero <lekktu@gmail.com>
1617
1618 * frameset.el (frameset--prop-setter): New function.
1619 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
1620 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1621 parameter was already set in FILTERED. Doc fix.
1622 (frameset--record-minibuffer-relationships): Allow saving a
1623 minibufferless frame without its corresponding minibuffer frame.
1624 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1625 frame, if the frame id matches.
1626 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1627 frames before orphaned ones.
1628 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 1629
c660a885
MR
16302013-08-14 Martin Rudalics <rudalics@gmx.at>
1631
1632 * window.el (window-make-atom): Don't overwrite parameter
1633 already present.
1634 (display-buffer-in-atom-window): Handle special case where we
1635 split an already atomic window.
1636 (window--major-non-side-window, display-buffer-in-side-window)
1637 (window--side-check): Ignore minibuffer window when walking
1638 window tree.
1639 (window-deletable-p): Return 'frame only if no other frame uses
1640 our minibuffer window.
1641 (record-window-buffer): Run buffer-list-update-hook.
1642 (split-window): Make sure window--check-frame won't destroy an
1643 existing atomic window in case the new window gets nested
1644 inside.
1645 (display-buffer-at-bottom): Ignore minibuffer window when
1646 walking window tree. Don't split a side window.
1647 (pop-to-buffer): Don't set-buffer here, the select-window call
1648 should do that.
1649 (mouse-autoselect-window-select): Autoselect only if we are in the
1650 text portion of the window.
1651
8259030d
LMI
16522013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1653
21c58ae2
LMI
1654 * net/shr.el (shr-parse-image-data): New function to grab both the
1655 data itself and the Content-Type.
1656 (shr-put-image): Use it.
1657
1658 * net/eww.el (eww-display-image): Ditto.
1659
8259030d
LMI
1660 * image.el (image-content-type-suffixes): New variable.
1661
ad756449
FEG
16622013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1663
1664 * progmodes/python.el (python-imenu--build-tree)
1665 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1666
f73f4ce6
XF
16672013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1668
1669 * simple.el (backward-word): Mention the optional argument.
1670
1f585e65
SM
16712013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1672
1673 * frameset.el (frameset--make): Rename constructor from make-frameset.
1674 (frameset-p, frameset-valid-p): Don't autoload.
1675 (frameset-valid-p): Use normal accessors.
1676
af1c6c84
GM
16772013-08-13 Glenn Morris <rgm@gnu.org>
1678
55e47f95
GM
1679 * progmodes/compile.el (compile-command): Tweak example in doc.
1680 * obsolete/scribe.el (scribe-mode):
1681 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1682
f0024d8c
GM
1683 * mail/feedmail.el (feedmail-confirm-outgoing)
1684 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1685
1686 * cus-start.el (truncate-partial-width-windows): Fix type.
1687
1688 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1689
af1c6c84
GM
1690 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1691
5514cc4c
SM
16922013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1693
1694 * emacs-lisp/timer.el (timer--time-setter): New function.
1695 (timer--time): Use it as gv-setter.
1696
1697 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1698 setter is not a symbol.
1699
7997a2f1
GJ
17002013-08-12 Grégoire Jadi <daimrod@gmail.com>
1701
1702 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1703 if sending fails. This makes debugging easier.
1704
01f1a9ab
JB
17052013-08-12 Juanma Barranquero <lekktu@gmail.com>
1706
1707 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1708 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1709 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1710
594a4307
EZ
17112013-08-12 Eli Zaretskii <eliz@gnu.org>
1712
1713 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1714
7a22490f 17152013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
1716
1717 * format.el (format-annotate-function):
1718 Handle read-only text properties in the source. (Bug#14887)
1719
3e41a054
LMI
17202013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1721
5514cc4c
SM
1722 * net/eww.el (eww-display-html): Ignore coding system errors.
1723 One web site uses "utf-8lias" as the coding system.
3e41a054 1724
7ec326db
JB
17252013-08-11 Juanma Barranquero <lekktu@gmail.com>
1726
1727 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1728
5660113b
JB
17292013-08-10 Juanma Barranquero <lekktu@gmail.com>
1730
9a4ebc74
JB
1731 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1732 (tutorial--detailed-help): Remove unused local variables.
1733 (tutorial--save-tutorial-to): Use ignore-errors.
1734 (help-with-tutorial): Use looking-at-p.
1735
1736 * view.el (view-buffer-other-window, view-buffer-other-frame):
1737 Mark unused arguments.
1738
1739 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1740 (woman-select-symbol-fonts, woman, woman-find-file)
1741 (woman-insert-file-contents, woman-non-underline-faces):
1742 Use string-match-p.
1743 (woman1-unquote): Move declaration.
1744
1745 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1746 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1747 argument. Remove unused local variable.
1748 (xml-parse-elem-type): Use string-match-p.
1749 (xml-substitute-numeric-entities): Use ignore-errors.
1750
45fdb482
JB
1751 * calculator.el (calculator): Mark unused argument.
1752 (calculator-paste, calculator-quit, calculator-integer-p):
1753 Use ignore-errors.
1754 (calculator-string-to-number, calculator-decimal, calculator-exp)
1755 (calculator-op-or-exp): Use string-match-p.
1756
1757 * dired.el (dired-buffer-more-recently-used-p): Declare.
1758 (dired-insert-set-properties, dired-insert-old-subdirs):
1759 Use ignore-errors.
1760
1761 * dired-aux.el (dired-compress): Use ignore-errors.
1762 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1763 (dired-do-async-shell-command, dired-do-shell-command)
1764 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1765 (dired-insert-subdir-validate): Use string-match-p.
1766 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1767 (dired-add-entry): Use string-match-p, looking-at-p.
1768 (dired-insert-subdir-newpos): Remove unused local variable.
1769
1770 * filenotify.el (file-notify-callback): Remove unused local variable.
1771
1772 * filesets.el (filesets-error): Mark unused argument.
1773 (filesets-which-command-p, filesets-filter-dir-names)
1774 (filesets-directory-files, filesets-get-external-viewer)
1775 (filesets-ingroup-get-data): Use string-match-p.
1776
1777 * find-file.el (ff-other-file-name, ff-other-file-name)
1778 (ff-find-the-other-file, ff-cc-hh-converter):
1779 Remove unused local variables.
1780 (ff-get-file-name): Use string-match-p.
1781 (ff-all-dirs-under): Use ignore-errors.
1782
1783 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1784 (follow-select-if-visible): Remove unused local variable.
1785
1786 * forms.el (read-file-filter): Move declaration.
1787 (forms--make-format, forms--make-parser, forms-insert-record):
1788 Quote function with #'.
1789 (forms--update): Use string-match-p. Quote function with #'.
1790
1791 * help-mode.el (help-dir-local-var-def): Mark unused argument.
1792 (help-make-xrefs): Use looking-at-p.
1793 (help-xref-on-pp): Use looking-at-p, ignore-errors.
1794
1795 * ibuffer.el (ibuffer-ext-visible-p): Declare.
1796 (ibuffer-confirm-operation-on): Use string-match-p.
1797
1798 * msb.el (msb-item-handler, msb-dired-item-handler):
1799 Mark unused arguments.
1800
1801 * ses.el (ses-decode-cell-symbol)
1802 (ses-kill-override): Remove unused local variable.
1803 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1804 (ses-load): Use ignore-errors, looking-at-p.
1805 (ses-jump-safe): Use ignore-errors.
1806 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1807
1808 * tabify.el (untabify, tabify): Mark unused arguments.
1809
1810 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1811 Mark unused argument.
1812 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1813 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1814
c880af52
JB
1815 * emacs-lisp/timer.el (timer--time): Define setter with
1816 gv-define-setter to avoid deprecation warning.
1817
5660113b 1818 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 1819 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
1820 (cmpl-statistics-block): Remove (body was commented out).
1821 All callers changed.
1822 (add-completions-from-buffer, load-completions-from-file):
1823 Remove unused variables.
1824
156aab80
JB
18252013-08-09 Juanma Barranquero <lekktu@gmail.com>
1826
5c5dee78
JB
1827 * filecache.el (file-cache-delete-file-list):
1828 Print message only when told so.
1829 (file-cache-files-matching): Use #' in mapconcat argument.
1830
156aab80
JB
1831 * ffap.el (ffap-url-at-point): Fix reference to variable
1832 thing-at-point-default-mail-uri-scheme.
1833
ad9dcd70
SM
18342013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1835
54bd972f
SM
1836 * subr.el (define-error): New function.
1837 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
1838 error-file-not-found and define with define-error.
1839 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
1840 and define with define-error.
1841 * userlock.el (file-locked, file-supersession):
1842 * simple.el (mark-inactive):
1843 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
1844 * progmodes/ada-mode.el (ada-mode-errors):
1845 * play/life.el (life-extinct):
1846 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
1847 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
1848 * nxml/rng-util.el (rng-error):
1849 * nxml/rng-uri.el (rng-uri-error):
1850 * nxml/rng-match.el (rng-compile-error):
1851 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
1852 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
1853 * nxml/nxml-rap.el (nxml-scan-error):
1854 * nxml/nxml-outln.el (nxml-outline-error):
1855 * net/soap-client.el (soap-error):
1856 * net/gnutls.el (gnutls-error):
1857 * net/ange-ftp.el (ftp-error):
1858 * mpc.el (mpc-proc-error):
1859 * json.el (json-error, json-readtable-error, json-unknown-keyword)
1860 (json-number-format, json-string-escape, json-string-format)
1861 (json-key-format, json-object-format):
1862 * jka-compr.el (compression-error):
1863 * international/quail.el (quail-error):
1864 * international/kkc.el (kkc-error):
1865 * emacs-lisp/ert.el (ert-test-failed):
1866 * calc/calc.el (calc-error, inexact-result, math-overflow)
1867 (math-underflow):
1868 * bookmark.el (bookmark-error-no-filename):
1869 * epg.el (epg-error): Define with define-error.
1870
0ea9e53a
SM
1871 * time.el (display-time-event-handler)
1872 (display-time-next-load-average): Don't call sit-for since it seems
1873 unnecessary (bug#15045).
1874
b0429158
SM
1875 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
1876 Use #' instead of ' to quote functions.
1877 (checkdoc-output-mode): Use setq-local.
1878 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
1879 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
1880 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
1881 (checkdoc-ispell, checkdoc-ispell-current-buffer)
1882 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
1883 (checkdoc-ispell-message-text, checkdoc-ispell-start)
1884 (checkdoc-ispell-continue, checkdoc-ispell-comments)
1885 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
1886
ad9dcd70
SM
1887 * ido.el (ido-completion-help): Fix up compiler warning.
1888
77187e6f
JB
18892013-08-09 Juanma Barranquero <lekktu@gmail.com>
1890
1891 * frameset.el (frameset-p): Add autoload cookie.
1892 (frameset--jump-to-register): New function, based on code moved from
1893 register.el.
1894 (frameset-to-register): Move from register.el. Adapt to `registerv'.
1895
1896 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
1897 (frameset-restore, frameset-save, frameset-session-filter-alist):
1898 Remove declarations.
1899 (register-alist): Doc fix.
1900 (frameset-to-register): Move to frameset.el.
1901 (jump-to-register, describe-register-1): Remove frameset-specific code.
1902
9d3aa82c
JB
19032013-08-08 Juanma Barranquero <lekktu@gmail.com>
1904
1905 * allout-widgets.el (allout-widgets-pre-command-business)
1906 (allout-widgets-post-command-business)
1907 (allout-widgets-after-change-handler)
1908 (allout-decorate-item-and-context, allout-set-boundary-marker)
1909 (allout-body-modification-handler)
1910 (allout-graphics-modification-handler): Mark ignored arguments.
1911 (allout-widgets-post-command-business)
1912 (allout-widgets-exposure-change-processor)
1913 (allout-widgets-exposure-undo-processor)
1914 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
1915 (allout-parse-item-at-point, allout-decorate-item-guides)
1916 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
1917 * allout.el (epa-passphrase-callback-function): Declare.
1918 (allout-overlay-insert-in-front-handler)
1919 (allout-overlay-interior-modification-handler)
1920 (allout-isearch-end-handler, allout-chart-siblings)
1921 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
1922 (allout-yank-processing, allout-process-exposed)
1923 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 1924 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
1925 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
1926 (lisp-indent-defform): Mark ignored arguments.
1927 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
1928 (calculate-lisp-indent): Remove unused variables.
1929 * international/characters.el (indian-2-column, arabic-2-column)
1930 (tibetan): Mark ignored arguments.
1931 (use-cjk-char-width-table): Mark ignored arguments.
1932 Remove unused variables.
1933 * international/fontset.el (build-default-fontset-data)
1934 (x-compose-font-name, create-fontset-from-fontset-spec):
1935 Mark ignored arguments.
1936 (fontset-plain-name): Remove unused variables.
1937 * international/mule.el (charset-id, charset-bytes, generic-char-p)
1938 (keyboard-coding-system): Mark ignored arguments.
1939 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
1940 * help.el (resize-temp-buffer-window):
1941 * window.el (display-buffer-in-major-side-window)
1942 (display-buffer-in-side-window, display-buffer-in-previous-window):
1943 Remove unused variables.
1944 * isearch.el (isearch-forward-symbol):
1945 * version.el (emacs-bzr-version-bzr):
1946 * international/mule-cmds.el (current-language-environment):
1947 * term/common-win.el (x-handle-iconic, x-handle-geometry)
1948 (x-handle-display):
1949 * term/pc-win.el (x-list-fonts, x-display-planes)
1950 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
1951 (x-server-version, x-display-screens, x-display-mm-height)
1952 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
1953 (x-selection-owner-p, x-own-selection-internal)
1954 (x-disown-selection-internal, x-get-selection-internal)
1955 (msdos-initialize-window-system):
1956 * term/tty-colors.el (tty-color-alist, tty-color-clear):
1957 * term/x-win.el (x-handle-no-bitmap-icon):
1958 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
1959 (vc-default-find-file-hook, vc-default-extra-menu):
1960 Mark ignored arguments.
1961
0ca3f70e
SM
19622013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
1965 break-condition in the context of the debugged code (bug#12685).
1966
74c5d24c
CS
19672013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
1968
1969 * comint.el:
1970 Do not use an overlay to highlight the last prompt. (Bug#14744)
1971 (comint-mode): Make comint-last-prompt buffer local.
1972 (comint-last-prompt): New variable.
1973 (comint-last-prompt-overlay): Remove. Superseded by
1974 comint-last-prompt.
0ca3f70e
SM
1975 (comint-snapshot-last-prompt, comint-output-filter):
1976 Use comint-last-prompt.
74c5d24c 1977
c03c02ee
JB
19782013-08-08 Juanma Barranquero <lekktu@gmail.com>
1979
a3738d20 1980 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
1981 (frameset-save): Check validity of the resulting frameset.
1982
04263d23
XF
19832013-08-08 Xue Fuqiao <xfq.free@gmail.com>
1984
1985 * ido.el (ido-record-command): Add doc string.
1986
76c5e5ab
JB
19872013-08-08 Juanma Barranquero <lekktu@gmail.com>
1988
1989 * frameset.el (frameset): Do not disable creation of the default
1990 frameset-p predicate. Doc fix.
1991 (frameset-valid-p): New function, copied from the old predicate-p.
1992 Add additional checks.
1993 (frameset-restore): Check with frameset-valid-p.
1994 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
1995 (frameset-name, frameset-description, frameset-properties)
1996 (frameset-states): Add docstring.
f9dbf1cb
JB
1997 (frameset-session-filter-alist, frameset-persistent-filter-alist)
1998 (frameset-filter-alist): Doc fixes.
76c5e5ab 1999
bd0c3c0b
JB
20002013-08-08 Juanma Barranquero <lekktu@gmail.com>
2001
2002 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2003
c735544c
SM
20042013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2007 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2008 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2009 (byte-compile-normal-call): Remove obsolescence check.
2010
2805a651
JB
20112013-08-08 Juanma Barranquero <lekktu@gmail.com>
2012
3677ffeb
JB
2013 * frameset.el (frameset-restore): Doc fix.
2014
2805a651
JB
2015 * register.el (frameset-frame-id, frameset-frame-with-id)
2016 (frameset-p, frameset-restore, frameset-save): Declare.
2017 (register-alist): Document framesets.
2018 (frameset-session-filter-alist): Declare.
2019 (frameset-to-register): New function.
2020 (jump-to-register): Implement jumping to framesets. Doc fix.
2021 (describe-register-1): Describe framesets.
2022
2023 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2024
a912c016
JB
20252013-08-07 Juanma Barranquero <lekktu@gmail.com>
2026
2027 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2028 Use lexical-binding.
2029
2030 * frameset.el (frameset): Use type vector, not list (incompatible
2031 change). Do not declare a new constructor, use the default one.
2032 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2033 `name' and `description', respectively, and add read-only slot
2034 `timestamp'. Doc fixes.
2035 (frameset-copy, frameset-persistent-filter-alist)
2036 (frameset-filter-alist, frameset-switch-to-gui-p)
2037 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2038 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2039 (frameset-filter-iconified, frameset-keep-original-display-p):
2040 Doc fixes.
2041 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2042 Rename from frameset-filter-(save|restore)-param. All callers changed.
2043 Doc fix.
2044 (frameset-p): Adapt to change to vector and be more thorough.
2045 Change arg name to OBJECT. Doc fix.
2046 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2047 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2048 All callers changed.
2049 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2050 All callers changed.
2051 (frameset--record-minibuffer-relationships): Rename from
2052 frameset--process-minibuffer-frames. All callers changed.
2053 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2054 Use new default constructor (again). Doc fix.
2055 (frameset--find-frame-if): Rename from `frameset--find-frame.
2056 All callers changed.
2057 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2058 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2059 Doc fix.
2060 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2061 PARAMETERS and WINDOW-STATE, respectively.
2062 (frameset-restore): Add new keyword argument PREDICATE.
2063 Reset frameset--target-display to nil. Doc fix.
2064
bb41480a
SM
20652013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2066
f001e98e
SM
2067 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2068 (bat-mode): Use it.
2069 (bat-mode-syntax-table): Mark \n as end-of-comment.
2070 (bat-font-lock-keywords): Remove comment rule.
2071
7679edb1
SM
2072 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2073 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2074
bb41480a
SM
2075 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2076 (byte-compile-callargs-warn): Use `push'.
2077 (byte-compile-arglist-warn): Ignore higher-order "calls".
2078 (byte-compile-file-form-autoload): Use `pcase'.
2079 (byte-compile-function-form): If quoting a symbol, check that it exists.
2080
cdc1ebb9
EZ
20812013-08-07 Eli Zaretskii <eliz@gnu.org>
2082
2083 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2084 and add a few popular commands found in batch files.
2085 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2086 (dos-mode): Doc fixes.
2087
312b1740
SM
20882013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2089
2090 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2091 (dos-mode): Use setq-local. Add space after "rem".
2092 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2093 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2094
400a3178
AM
20952013-08-07 Arni Magnusson <arnima@hafro.is>
2096
2097 * progmodes/dos.el: New file.
2098 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2099 dos-mode.
2100
3b5c03d3
GM
21012013-08-06 Glenn Morris <rgm@gnu.org>
2102
2103 * calendar/calendar.el: Add new faces, and day-header-array.
2104 (calendar-weekday-header, calendar-weekend-header)
2105 (calendar-month-header): New faces.
2106 (calendar-day-header-construct): New function.
2107 (calendar-day-header-width): Also :set calendar-day-header-array.
2108 (calendar-american-month-header, calendar-european-month-header)
2109 (calendar-iso-month-header): Use calendar- faces.
2110 (calendar-generate-month):
2111 Use calendar-day-header-array for day headers; apply faces to them.
2112 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2113 (calendar-abbrev-construct): Add optional maxlen argument.
2114 (calendar-day-name-array): Doc fix.
2115 (calendar-day-name-array, calendar-abbrev-length)
2116 (calendar-day-abbrev-array):
2117 Also :set calendar-day-header-array, and maybe redraw.
2118 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 2119 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
2120 (calendar-day-name): Add option to use header array.
2121
ec6a2d7a
LMI
21222013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2123
2124 * net/shr.el (shr-render-td): Remove debugging.
2125 (shr-render-td): Make width computation consistent by defaulting
2126 all zero-width columns to 10 characters. This may not be optimal,
2127 but it's at least consistent.
2122cb6d
LMI
2128 (shr-make-table-1): Redo last change to fix the real problem in
2129 colspan handling.
ec6a2d7a 2130
ed4fd9c5
DA
21312013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2132
0ca3f70e
SM
2133 * files.el (cache-long-line-scans):
2134 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 2135
64e22afe
JB
21362013-08-06 Juanma Barranquero <lekktu@gmail.com>
2137
024b38fc
JB
2138 * frameset.el (frameset, frameset-filter-alist)
2139 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2140 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2141 (frameset-compute-pos): Rename from frameset--compute-pos,
2142 and add docstring.
2143 (frameset-move-onscreen): Use frameset-compute-pos.
2144 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2145
64e22afe
JB
2146 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2147 Fix typos in docstrings.
2148
c8c2aca8
DA
21492013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2150
2151 * frame.el (get-other-frame): Tiny cleanup.
2152
1d237bba
JB
21532013-08-06 Juanma Barranquero <lekktu@gmail.com>
2154
8951efef
JB
2155 * vc/vc.el (vc-default-ignore-completion-table):
2156 Silence byte-compiler warning.
2157
307764cc
JB
2158 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2159 slot , which can indeed be nil.
2160 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2161 Move entry for `left' from persistent to live filter alist.
2162 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2163 Doc fixes.
2164 (frameset-filter-params): When restoring a frame, copy items added to
2165 `filtered', to avoid unwittingly modifying the original parameters.
2166 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2167 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2168
1d237bba
JB
2169 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2170 to use looking-at-p instead of looking-at. (Bug#15028)
2171
dc6c0eda
SM
21722013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2173
2174 Revert introduction of isearch-filter-predicates (bug#14714).
2175 Rely on add-function instead.
2176 * isearch.el (isearch-filter-predicates): Rename it back to
2177 isearch-filter-predicate.
2178 (isearch-message-prefix): Use advice-function-mapc and advice
2179 properties to get the isearch-message-prefix.
2180 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2181 instead of run-hook-with-args-until-failure.
2182 (isearch-filter-visible): Not obsolete any more.
2183 * loadup.el: Preload nadvice.
2184 * replace.el (perform-replace): Revert to funcall
2185 instead of run-hook-with-args-until-failure.
2186 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2187 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2188 dired-isearch-filenames-toggle; make it into a proper minor mode.
2189 Use add/remove-function.
2190 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2191 Call the minor-mode rather than add/remove-hook.
2192 (dired-isearch-filter-filenames):
2193 Remove isearch-message-prefix property.
2194 * info.el (Info--search-loop): New function, extracted from Info-search.
2195 Funcall isearch-filter-predicate instead of
2196 run-hook-with-args-until-failure isearch-filter-predicates.
2197 (Info-search): Use it.
2198 (Info-mode): Use isearch-filter-predicate instead of
2199 isearch-filter-predicates.
2200
290d5b58
DA
22012013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2202
2203 Do not call to `selected-window' where it is assumed by default.
2204 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2205 `window-hscroll', `window-width', `window-height', `window-buffer',
2206 `window-frame', `window-start', `window-point', `next-window'
2207 and `window-display-table'.
2208 * abbrev.el (abbrev--default-expand):
2209 * bs.el (bs--show-with-configuration):
2210 * buff-menu.el (Buffer-menu-mouse-select):
2211 * calc/calc.el (calc):
2212 * calendar/calendar.el (calendar-generate-window):
2213 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2214 (diary-make-entry):
2215 * comint.el (send-invisible, comint-dynamic-complete-filename)
2216 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2217 * completion.el (complete):
2218 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2219 * disp-table.el (describe-current-display-table):
2220 * doc-view.el (doc-view-insert-image):
2221 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2222 * ehelp.el (with-electric-help):
2223 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2224 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2225 * emacs-lisp/helper.el (Helper-help-scroller):
2226 * emulation/cua-base.el (cua--post-command-handler-1):
2227 * eshell/esh-mode.el (eshell-output-filter):
2228 * ffap.el (ffap-gnus-wrapper):
2229 * help-macro.el (make-help-screen):
2230 * hilit-chg.el (highlight-compare-buffers):
2231 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2232 * hl-line.el (global-hl-line-highlight):
2233 * icomplete.el (icomplete-simple-completing-p):
2234 * isearch.el (isearch-done):
2235 * jit-lock.el (jit-lock-stealth-fontify):
2236 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2237 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2238 * mpc.el (mpc-tagbrowser, mpc):
2239 * net/rcirc.el (rcirc-any-buffer):
2240 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2241 * play/landmark.el (landmark-max-width, landmark-max-height):
2242 * play/zone.el (zone):
2243 * progmodes/compile.el (compilation-goto-locus):
2244 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2245 * progmodes/etags.el (find-tag-other-window):
2246 * progmodes/fortran.el (fortran-column-ruler):
2247 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2248 * progmodes/verilog-mode.el (verilog-point-text):
2249 * reposition.el (reposition-window):
2250 * rot13.el (toggle-rot13-mode):
2251 * server.el (server-switch-buffer):
2252 * shell.el (shell-dynamic-complete-command)
2253 (shell-dynamic-complete-environment-variable):
2254 * simple.el (insert-buffer, set-selective-display)
2255 (delete-completion-window):
2256 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2257 (speedbar-recenter):
2258 * startup.el (fancy-splash-head):
2259 * textmodes/ispell.el (ispell-command-loop):
2260 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2261 * tutorial.el (help-with-tutorial):
2262 * vc/add-log.el (add-change-log-entry):
2263 * vc/compare-w.el (compare-windows):
2264 * vc/ediff-help.el (ediff-indent-help-message):
2265 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2266 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2267 (ediff-setup-control-frame):
2268 * vc/emerge.el (emerge-position-region):
2269 * vc/pcvs-util.el (cvs-bury-buffer):
2270 * window.el (walk-windows, mouse-autoselect-window-select):
2271 * winner.el (winner-set-conf, winner-undo): Related users changed.
2272
38276e01
JB
22732013-08-05 Juanma Barranquero <lekktu@gmail.com>
2274
2275 * frameset.el (frameset--set-id): Doc fix.
2276 (frameset-frame-id, frameset-frame-id-equal-p)
2277 (frameset-locate-frame-id): New functions.
2278 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2279 (frameset-restore): Use them.
2280
12b4c0ea
DA
22812013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2282
2283 Do not call to `selected-frame' where it is assumed by default.
2284 Affected functions are `raise-frame', `redraw-frame',
2285 `frame-first-window', `frame-terminal' and `delete-frame'.
2286 * calendar/appt.el (appt-disp-window):
2287 * epg.el (epg-wait-for-completion):
2288 * follow.el (follow-delete-other-windows-and-split)
2289 (follow-avoid-tail-recenter):
2290 * international/mule.el (set-terminal-coding-system):
2291 * mail/rmail.el (rmail-mail-return):
2292 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2293 * progmodes/f90.el (f90-add-imenu-menu):
2294 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2295 * server.el (server-switch-buffer):
2296 * simple.el (delete-completion-window):
2297 * talk.el (talk):
2298 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2299 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2300 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2301 * vc/ediff.el (ediff-documentation): Related users changed.
2302 * frame.el (selected-terminal): Remove the leftover.
2303
17f25e76
GM
23042013-08-05 Glenn Morris <rgm@gnu.org>
2305
2306 * calendar/calendar.el (calendar-generate-month):
2307 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
2308 (calendar-generate-month, calendar-font-lock-keywords):
2309 Fix for calendar-day-header-width > length of any day name.
17f25e76 2310
063233c3
JB
23112013-08-05 Juanma Barranquero <lekktu@gmail.com>
2312
2313 * desktop.el (desktop-clear): Use new name of sort predicate.
2314
2315 * frameset.el (frameset): Add docstring. Move :version property to its
2316 own `version' slot.
2317 (frameset-copy): Rename from copy-frameset.
2318 (frameset-p): Check more thoroughly.
2319 (frameset-prop): Do not check for :version, which is no longer a prop.
2320 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2321 Use new :never value instead of t.
2322 (frameset-filter-alist): Expand and clarify docstring.
2323 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2324 (frameset-filter-minibuffer, frameset-filter-save-param)
2325 (frameset-filter-restore-param, frameset-filter-iconified):
2326 Add pointer to docstring of frameset-filter-alist.
2327 (frameset-filter-params): Rename filter values to be more meaningful:
2328 :never instead of t, and reverse the meanings of :save and :restore.
2329 (frameset--process-minibuffer-frames): Clarify error message.
2330 (frameset-save): Avoid unnecessary and confusing call to framep.
2331 Use new BOA constructor for framesets.
2332 (frameset--reuse-list): Doc fix.
2333 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2334 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2335 (frameset-minibufferless-first-p): Doc fix.
2336 Rename from frameset-sort-frames-for-deletion.
2337 (frameset-restore): Doc fixes. Use new function names.
2338 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2339
d5671a82
JB
23402013-08-04 Juanma Barranquero <lekktu@gmail.com>
2341
2342 * desktop.el (desktop-restore-forces-onscreen)
2343 (desktop-restore-reuses-frames): Document :keyword constant values.
2344 (desktop-filter-parameters-alist): Remove, now identical to
2345 frameset-filter-alist.
2346 (desktop--filter-tty*): Remove, moved to frameset.el.
2347 (desktop-save-frameset, desktop-restore-frameset):
2348 Do not pass :filters argument.
2349
2350 * frameset.el (frameset-live-filter-alist)
2351 (frameset-persistent-filter-alist): New variables.
2352 (frameset-filter-alist): Use them. Add autoload cookie.
2353 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2354 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2355 `frameset--id' (it's supposed to be internal to frameset.el).
2356 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2357 (frameset--initial-params): New function.
2358 (frameset--get-frame): Use it. Doc fix.
2359 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2360 Accept :all, not 'all.
2361 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2362 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2363 with fbound symbols. Fix frame id matching, and remove matching ids if
2364 the frame being restored is deleted. Obey :delete.
2365
671d5c16
SM
23662013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2367
2368 * subr.el (macrop): New function.
2369 (text-clone--maintaining): New var.
2370 (text-clone--maintain): Rename from text-clone-maintain. Use it
2371 instead of inhibit-modification-hooks.
2372
2373 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2374 a proxy, so as handle autoloads and redefinitions of the target.
2375 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2376
2377 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2378 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2379 (pcase--mutually-exclusive-p): New function.
2380 (pcase--split-consp): Use it.
2381 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2382 mutually exclusive with the current predicate.
2383
2384 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2385 (edebug-macrop): Remove. Use `macrop' instead.
2386 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2387 (ad-macro-p):
2388 * eshell/esh-cmd.el (eshell-macrop):
2389 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2390
1d44e9dc
SM
23912013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2392
2393 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2394 (advice-mapc): New function, using it.
2395 (advice-function-member-p): New function.
2396 (advice--normalize): Store the cdr in advice--saved-rewrite since
2397 that's the part that will be changed.
2398 (advice--symbol-function): New function.
2399 (advice-remove): Handle removal before the function is defined.
2400 Adjust to new advice--saved-rewrite.
2401 (advice-member-p): Use advice-function-member-p and
2402 advice--symbol-function.
2403
5414a283
JB
24042013-08-04 Juanma Barranquero <lekktu@gmail.com>
2405
51d30f2c
JB
2406 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2407 (frameset-filter-minibuffer): Doc fix.
2408 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
2409 (frameset--set-id, frameset--process-minibuffer-frames)
2410 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2411 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 2412
5414a283
JB
2413 * desktop.el (desktop-clear): Only delete frames when called
2414 interactively and desktop-restore-frames is non-nil. Doc fix.
2415 (desktop-read): Set desktop-saved-frameset to nil.
2416
ab419665
XF
24172013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2418
2419 * vc/vc.el (vc-ignore): Rewrite.
2420 (vc-default-ignore-completion-table):
2421 (vc--read-lines):
2422 (vc--add-line, vc--remove-regexp): New functions.
2423
2424 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2425 (vc-svn-ignore-completion-table): New function.
2426
2427 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2428 (vc-hg-ignore-completion-table):
2429 (vc-hg-find-ignore-file): New functions.
2430
2431 * vc/vc-git.el (vc-git-ignore): Rewrite.
2432 (vc-git-ignore-completion-table):
2433 (vc-git-find-ignore-file): New functions.
2434
2435 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2436
2437 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2438 (vc-bzr-ignore-completion-table):
2439 (vc-bzr-find-ignore-file): New functions.
2440
2613dea2
JB
24412013-08-03 Juanma Barranquero <lekktu@gmail.com>
2442
2443 * frameset.el (frameset-prop): New function and setter.
2444 (frameset-save): Do not modify frame list passed by the caller.
2445
9c959872
SM
24462013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2447
2448 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2449
a104f656
SM
24502013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2451
70122acf
SM
2452 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2453 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2454
a104f656
SM
2455 * custom.el (custom-initialize-default, custom-initialize-set)
2456 (custom-initialize-reset, custom-initialize-changed): Affect the
2457 toplevel-default-value (bug#6275, bug#14586).
2458 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2459 for bug#6275.
2460
f078d570
JB
24612013-08-02 Juanma Barranquero <lekktu@gmail.com>
2462
185e3b5a
JB
2463 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2464 Add cl-def* expressions.
2465
f078d570
JB
2466 * frameset.el (frameset-filter-params): Fix order of arguments.
2467
9421876d
JB
24682013-08-02 Juanma Barranquero <lekktu@gmail.com>
2469
2470 Move code related to saving frames to frameset.el.
2471 * desktop.el: Require frameset.
2472 (desktop-restore-frames): Doc fix.
2473 (desktop-restore-reuses-frames): Rename from
2474 desktop-restoring-reuses-frames.
2475 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2476 (desktop-clear): Clear frames too.
2477 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2478 (desktop--filter-tty*, desktop-save, desktop-read):
2479 Use frameset functions.
2480 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2481 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2482 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2483 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2484 (desktop--process-minibuffer-frames, desktop-save-frames)
2485 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2486 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2487 (desktop--sort-states, desktop-restoring-frames-p)
2488 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2489 (desktop-restoring-frameset-p, desktop-restore-frameset)
2490 (desktop--check-dont-save, desktop-save-frameset): New functions.
2491 (desktop--app-id): New constant.
2492 (desktop-first-buffer, desktop-buffer-ok-count)
2493 (desktop-buffer-fail-count): Move before first use.
2494 * frameset.el: New file.
2495
76dc5996
SM
24962013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2497
2498 * files.el: Use lexical-binding.
2499 (dir-locals-read-from-file): Remove unused `err' variable.
2500 (hack-dir-local-variables--warned-coding): New var.
2501 (hack-dir-local-variables): Use it to avoid repeated warnings.
2502 (make-backup-file-name--default-function): New function.
2503 (make-backup-file-name-function): Use it as default.
2504 (buffer-stale--default-function): New function.
2505 (buffer-stale-function): Use it as default.
2506 (revert-buffer-insert-file-contents--default-function): New function.
2507 (revert-buffer-insert-file-contents-function): Use it as default.
2508 (insert-directory): Avoid add-to-list.
2509
2510 * autorevert.el (auto-revert-handler): Simplify.
2511 Use buffer-stale--default-function.
2512
06d36e2b
TH
25132013-08-01 Tassilo Horn <tsdh@gnu.org>
2514
5f648ab4
TH
2515 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2516
06d36e2b
TH
2517 * whitespace.el (whitespace-ensure-local-variables): New function.
2518 (whitespace-cleanup-region): Call it.
2519 (whitespace-turn-on): Call it.
2520
a43dc424
MA
25212013-08-01 Michael Albinus <michael.albinus@gmx.de>
2522
2523 Complete file name handlers.
2524
2525 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2526 (tramp-handle-verify-visited-file-modtime)
2527 (tramp-handle-file-notify-rm-watch): New functions.
2528 (tramp-call-process): Do not bind `default-directory'.
2529
44e18199
JB
2530 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2531 Order alphabetically.
a43dc424
MA
2532 [access-file, add-name-to-file, dired-call-process]:
2533 [dired-compress-file, file-acl, file-notify-rm-watch]:
2534 [file-ownership-preserved-p, file-selinux-context]:
2535 [make-directory-internal, make-symbolic-link, set-file-acl]:
2536 [set-file-selinux-context, set-visited-file-modtime]:
2537 [verify-visited-file-modtime]: Add handler.
2538 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2539
2540 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2541 [file-notify-add-watch, file-notify-rm-watch]:
2542 [set-file-times, set-visited-file-modtime]:
2543 [verify-visited-file-modtime]: Add handler.
2544 (with-tramp-gvfs-error-message)
2545 (tramp-gvfs-handle-set-visited-file-modtime)
2546 (tramp-gvfs-fuse-file-name): Remove.
2547 (tramp-gvfs-handle-file-notify-add-watch)
2548 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2549 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2550
44e18199
JB
2551 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2552 Order alphabetically.
a43dc424
MA
2553 [file-notify-rm-watch ]: Use default Tramp handler.
2554 [executable-find]: Remove private handler.
2555 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2556 `default-directory'.
2557 (tramp-sh-handle-executable-find)
2558 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2559 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2560 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2561 Do not use `format' in `tramp-message'.
2562
2563 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2564 [file-notify-rm-watch, set-visited-file-modtime]:
2565 [verify-visited-file-modtime]: Add handler.
2566 (tramp-smb-call-winexe): Do not bind `default-directory'.
2567
7188b515
XF
25682013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2569
2570 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2571
2412ee1a
DG
25722013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2573
2574 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2575 use it.
2576 (log-view-diff-changeset): Same.
2577 (log-view-diff-common): Call backend command `previous-revision'
2578 to find out the previous revision, in both cases. Swap the
2579 variables `to' and `fr', so that `fr' usually refers to the
2580 earlier revision (Bug#14989).
2581
5002a754
KRC
25822013-07-31 Kan-Ru Chen <kanru@kanru.info>
2583
2584 * ibuf-ext.el (ibuffer-filter-by-filename):
2585 Make it work with dired buffers too.
2586
44e18199 25872013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
2588
2589 * emacs-lisp/re-builder.el (reb-color-display-p):
2590 * files.el (save-buffers-kill-terminal):
2591 * net/browse-url.el (browse-url):
2592 * server.el (server-save-buffers-kill-terminal):
2593 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2594 Prefer nil to selected-frame for the first arg of frame-parameter.
2595
aeca3fbb
XF
25962013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2597
2598 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2599
158bc55c
SB
26002013-07-30 Stephen Berman <stephen.berman@gmx.net>
2601
2602 * minibuffer.el (completion--twq-all): Try and preserve each
2603 completion's case choice (bug#14907).
2604
d50fceab
LMI
26052013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2606
ac38e731
LMI
2607 * net/network-stream.el (open-network-stream): Mention the new
2608 :nogreeting parameter.
2609 (network-stream-open-starttls): Use the :nogreeting parameter
2610 (bug#14938).
2611
1211de50
LMI
2612 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2613
997798bf
LMI
2614 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2615 more natural than popping.
2616
d50fceab 2617 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 2618 (shr-urlify): Highlight under mouse.
d50fceab 2619
5c09de04
XF
26202013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2621
207d1d04
XF
2622 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2623
2624 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2625
5c09de04
XF
2626 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2627 buffer for output.
2628
3cd51eaa
XF
2629 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2630 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 2631
44e18199 2632 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 2633 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
2634
2635 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2636
2637 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2638 buffer for output.
2639
35a89bdd
EZ
26402013-07-29 Eli Zaretskii <eliz@gnu.org>
2641
2642 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2643 initial frame is minibuffer-less. (Bug#14841)
2644
78822e94
MA
26452013-07-29 Michael Albinus <michael.albinus@gmx.de>
2646
2647 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2648 option.
2649
2650 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2651 (tramp-maybe-open-connection): Use it.
2652
9503c190
JB
26532013-07-28 Juanma Barranquero <lekktu@gmail.com>
2654
2655 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2656 minimal set of parameters passed when creating a frame, because
2657 the minibuffer status of a frame cannot be changed later.
2658
d5a845b4
SB
26592013-07-28 Stephen Berman <stephen.berman@gmx.net>
2660
2661 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2662 replace-regexp-in-string and inadvertent omissions in previous change.
2663 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 2664 name of filtered items buffer.
d5a845b4 2665
ddeffb17
JB
26662013-07-28 Juanma Barranquero <lekktu@gmail.com>
2667
2668 * desktop.el: Optionally force offscreen frames back onscreen.
2669 (desktop-restoring-reuses-frames): New option.
2670 (desktop--compute-pos, desktop--move-onscreen): New functions.
2671 (desktop--make-frame): Use desktop--move-onscreen.
2672
f5950f7a
AM
26732013-07-27 Alan Mackenzie <acm@muc.de>
2674
2675 Fontify a Java generic method as a function.
2676 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2677 value to t.
2678
ae43b66a
SB
26792013-07-27 Stephen Berman <stephen.berman@gmx.net>
2680
2681 * calendar/todo-mode.el: Add command to rename todo files.
2682 (todo-rename-file): New command.
2683 (todo-key-bindings-t): Add key binding for it. Change the
2684 bindings of todo-filter-regexp-items(-multifile) to use `x'
2685 instead of `r', since the latter is better suited to the new
2686 renaming command.
2687
5ab78d3d
AM
26882013-07-27 Alan Mackenzie <acm@muc.de>
2689
2690 Make Java try-with-resources statement parse properly.
2691 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2692 (c-block-stmt-1-2-key): New language constants/variables.
2693 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2694 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2695 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 2696 with c-block-stmt-1-2-key.
5ab78d3d 2697
d85c4d50
JB
26982013-07-27 Juanma Barranquero <lekktu@gmail.com>
2699
2700 * desktop.el (desktop--make-frame): Apply most frame parameters after
2701 creating the frame to force (partially or totally) offscreen frames to
2702 be restored as such.
2703
e4c467f9
XF
27042013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2705
2706 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 2707 (Bug#14948)
e4c467f9 2708
7ced0d04
SM
27092013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2710
2711 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2712 `base' arg of backtrace-frame.
2713
fec92060
EZ
27142013-07-26 Eli Zaretskii <eliz@gnu.org>
2715
2716 * simple.el (list-processes): Doc fix.
2717
d58d31fb
JB
27182013-07-26 Juanma Barranquero <lekktu@gmail.com>
2719
2720 * desktop.el (desktop--select-frame):
d85c4d50 2721 Try harder to reuse existing frames.
d58d31fb 2722
53ff3e77
SM
27232013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2724
2725 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2726 (edebug-eval): Use backtrace-eval.
2727 (edebug--display, edebug--recursive-edit): Don't let-bind the
2728 edebug-outer-* vars that keep track of variables we locally let-bind.
2729 (edebug-outside-excursion): Don't restore outside values of locally
2730 let-bound vars.
2731 (edebug--display): Use user-error.
2732 (cl-lexical-debug, cl-debug-env): Remove.
2733
045f7a53
JB
27342013-07-26 Juanma Barranquero <lekktu@gmail.com>
2735
2736 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2737 are restored to be sure that they are visible before deleting any
2738 remaining ones.
2739
59070b32
MM
27402013-07-26 Matthias Meulien <orontee@gmail.com>
2741
742a3501
XF
2742 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2743 vc-print-root-log. (Bug#14948)
59070b32 2744
b1fb3596
RS
27452013-07-26 Richard Stallman <rms@gnu.org>
2746
2747 Add aliases for encrypting mail.
2748 * epa.el (epa-mail-aliases): New option.
2749 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2750 Bind inhibit-read-only so read-only text doesn't ruin everything.
2751 (epa-mail-default-recipients): New subroutine broken out.
2752 Handle epa-mail-aliases.
2753
56ea7291
SM
27542013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2755
2756 Add support for lexical variables to the debugger's `e' command.
2757 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2758 vars, except for debugger-outer-match-data.
2759 (debugger-frame-number): Move check for "on a function call" from
2760 callers into it. Add `skip-base' argument.
2761 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2762 (debugger-env-macro): Only reset the state stored in non-variables,
2763 i.e. current-buffer and match-data.
2764 (debugger-eval-expression): Rewrite using backtrace-eval.
2765 * subr.el (internal--called-interactively-p--get-frame): Remove.
2766 (called-interactively-p):
2767 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2768 `base' arg of backtrace-frame instead.
2769
15ac32d5
GM
27702013-07-26 Glenn Morris <rgm@gnu.org>
2771
8358a09d
GM
2772 * align.el (align-regexp): Doc fix. (Bug#14857)
2773 (align-region): Explicit error if subexpression missing/does not match.
2774
15ac32d5
GM
2775 * simple.el (global-visual-line-mode):
2776 Do not duplicate the mode lighter. (Bug#14858)
2777
f47ad11b
MR
27782013-07-25 Martin Rudalics <rudalics@gmx.at>
2779
2780 * window.el (display-buffer): In display-buffer bind
2781 split-window-keep-point to t, bug#14829.
2782
02530987
JB
27832013-07-25 Juanma Barranquero <lekktu@gmail.com>
2784
2785 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2786 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2787 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2788 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2789 Change accordingly.
f63ebeb5
JB
2790 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2791 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 2792
6ccb9cab 27932013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 2794
6ccb9cab 2795 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 2796
cb3a56d2
JB
27972013-07-25 Juanma Barranquero <lekktu@gmail.com>
2798
2799 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2800 parameter to modify-frame-parameters if the value has not changed;
2801 this is a workaround for bug#14949.
2802 (desktop--make-frame): On cl-delete-if call, check parameter name,
2803 not full parameter.
2804
7aa7fff0
XF
28052013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2806
2807 * vc/vc.el (vc-ignore): New function.
2808
2809 * vc/vc-svn.el (vc-svn-ignore): New function.
2810
2811 * vc/vc-hg.el (vc-hg-ignore): New function.
2812
2813 * vc/vc-git.el (vc-git-ignore): New function.
2814
2815 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2816 (vc-dir-ignore): New function.
2817
2818 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 2819 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
2820
2821 * vc/vc-bzr.el (vc-bzr-ignore): New function.
2822
2823 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
2824
889acc5c
JB
28252013-07-24 Juanma Barranquero <lekktu@gmail.com>
2826
2827 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
2828 (desktop-restore-frames): Warn when deleting an existing frame failed.
2829
86c40970
GM
28302013-07-24 Glenn Morris <rgm@gnu.org>
2831
2832 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
2833
d5d3c58a
MA
28342013-07-24 Michael Albinus <michael.albinus@gmx.de>
2835
2836 * filenotify.el (file-notify-supported-p):
2837 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2838 Remove functions.
2839
2840 * autorevert.el (auto-revert-use-notify):
2841 (auto-revert-notify-add-watch):
2842 * net/tramp.el (tramp-file-name-for-operation):
2843 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2844 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2845 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2846 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2847 Remove `file-notify-supported-p' entry.
2848
d100084b
GM
28492013-07-24 Glenn Morris <rgm@gnu.org>
2850
2851 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 2852 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 2853
ac93e56b
SM
28542013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2855
249eea30
SM
2856 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
2857 checked with memq (bug#14935).
2858
ac93e56b
SM
2859 * files.el (revert-buffer-function): Use a non-nil default.
2860 (revert-buffer-preserve-modes): Declare var to
2861 provide access to the `preserve-modes' argument.
2862 (revert-buffer): Let-bind it.
2863 (revert-buffer--default): New function, extracted from revert-buffer.
2864
2cdeb903
SM
28652013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * lpr.el: Signal print errors more prominently.
2868 (print-region-function): Don't default to nil.
2869 (lpr-print-region): New function, extracted from print-region-1.
2870 Check lpr's return value and signal an error in case of problem.
2871 (print-region-1): Use it.
2872 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
2873 versions instead.
2874 (ps-printer-name): Default to nil.
2875 (ps-printer-name-option): Default to lpr-printer-switch.
2876 (ps-print-region-function): Don't default to nil.
2877 (ps-postscript-code-directory): Simplify default.
2878 (ps-do-despool): Use lpr-print-region to properly check the outcome.
2879 (ps-string-list, ps-eval-switch, ps-flatten-list)
2880 (ps-flatten-list-1): Remove.
2881 (ps-multibyte-buffer): Avoid setq.
2882 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
2883 (print-region-function, ps-print-region-function): Don't set them here.
2884
73600831
XF
28852013-07-24 Xue Fuqiao <xfq.free@gmail.com>
2886
0e55c076
XF
2887 * ido.el (ido-fractionp):
2888 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
2889 (ido-max-file-prompt-width, ido-unc-hosts-cache)
2890 (ido-max-directory-size, ido-max-dir-file-cache)
2891 (ido-decorations): Doc fix.
2892
73600831
XF
2893 * ansi-color.el: Fix old URL.
2894
3d012865
MM
28952013-07-23 Michael R. Mauger <michael@mauger.com>
2896
2897 * progmodes/sql.el Version 3.3
2898 (sql-product-alist): Improve oracle :prompt-cont-regexp.
2899 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
2900 (sql-interactive-remove-continuation-prompt): Rewrite, use
2901 functions above. Fix continuation prompt and complete output line
2902 handling.
2903 (sql-redirect-one, sql-execute): Use `read-only-mode' on
2904 redirected output buffer.
2905 (sql-mode): Restore deleted code (Bug#13591).
2906
da77a2e2
JB
29072013-07-23 Juanma Barranquero <lekktu@gmail.com>
2908
2909 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
2910
80ff0c71
MA
29112013-07-23 Michael Albinus <michael.albinus@gmx.de>
2912
2913 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
2914
2915 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2916 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2917 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
2918
b61d71e4
JB
29192013-07-23 Juanma Barranquero <lekktu@gmail.com>
2920
2921 * desktop.el (desktop-clear): Simplify; remove useless checks
2922 against invalid buffer names.
2923 (desktop-list*): Use cl-list*.
2924 (desktop-buffer-info, desktop-create-buffer): Simplify.
2925
c3512092
LL
29262013-07-23 Leo Liu <sdl.web@gmail.com>
2927
2928 * bookmark.el (bookmark-make-record): Restore NAME as a default
2929 value. (Bug#14933)
2930
0ac26976
SM
29312013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2932
7d22ce18
SM
2933 * emacs-lisp/autoload.el (autoload--setup-output): New function,
2934 extracted from autoload--insert-text.
2935 (autoload--insert-text): Remove.
2936 (autoload--print-cookie-text): New function, extracted from
2937 autoload--insert-cookie-text.
2938 (autoload--insert-cookie-text): Remove.
2939 (autoload-generate-file-autoloads): Adjust calls accordingly.
2940
9b2607e8
SM
2941 * winner.el (winner-hook-installed-p): Remove.
2942 (winner-mode): Simplify accordingly.
2943
c43a8618
SM
2944 * subr.el (add-to-list): Fix compiler-macro when `append' is
2945 not constant. Don't use `cl-member' for the base case.
2946
0ac26976
SM
2947 * progmodes/subword.el: Fix boundary case (bug#13758).
2948 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
2949 own group.
2950 (subword-backward-regexp): Make it a constant.
2951 (subword-forward-internal): Don't treat a trailing capital as the
2952 beginning of a word.
2953
6874724a
AR
29542013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
2955
2956 * emacs-lisp/package.el (package-menu-mode): Don't modify the
2957 global value of tabulated-list-revert-hook (bug#14930).
2958
70f1b5e8
JB
29592013-07-22 Juanma Barranquero <lekktu@gmail.com>
2960
a1c80d9d
JB
2961 * desktop.el: Require 'cl-lib.
2962 (desktop-before-saving-frames-functions): New hook.
2963 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
2964 for frames being saved. Rename from desktop--save-minibuffer-frames.
2965 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
2966 Do not save frames with non-nil `desktop-dont-save' parameter.
2967 Filter out deleted frames.
a1c80d9d
JB
2968 (desktop--find-frame): Use cl-find-if.
2969 (desktop--select-frame): Use cl-(first|second|third) to access values
2970 of desktop-mini.
2971 (desktop--make-frame): Use cl-delete-if.
2972 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
2973 (desktop-restore-frames): Use cl-(first|second|third) to access values
2974 of desktop-mini. Look for visible frame at the end, not while
2975 restoring frames.
2976
70f1b5e8
JB
2977 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
2978 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
2979 Use string-match-p, looking-at-p (bug#14927).
2980
728dc3cc
JB
29812013-07-21 Juanma Barranquero <lekktu@gmail.com>
2982
56bc453c
JB
2983 * desktop.el (desktop-saved-frame-states):
2984 Rename from desktop--saved-states; all users changed.
2985 (desktop-save-frames): Rename from desktop--save-frames.
2986 Do not save state to desktop file.
2987 (desktop-save): Save desktop-saved-frame-states to desktop file
2988 and reset to nil.
2989 (desktop-restoring-frames-p): New function.
2990 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
2991 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
2992 buffer-lists when restoring frames. Suggested by Martin Rudalics.
2993
728dc3cc
JB
2994 * desktop.el: Correctly restore iconified frames.
2995 (desktop--filter-iconified-position): New function.
2996 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
2997
862f1c9c
GM
29982013-07-20 Glenn Morris <rgm@gnu.org>
2999
c4074c9f
GM
3000 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3001 Let `message' do the formatting.
3002 (def-gdb-preempt-display-buffer): Add explicit format.
3003
d828e5f9
GM
3004 * image-dired.el (image-dired-track-original-file):
3005 Use with-current-buffer.
3006 (image-dired-track-thumbnail): Use with-current-buffer.
3007 Avoid changing point of wrong window.
3008
862f1c9c
GM
3009 * image-dired.el (image-dired-track-original-file):
3010 Avoid changing point of wrong window. (Bug#14909)
3011
f0398ec1 30122013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
3013
3014 * progmodes/gdb-mi.el (gdb-done-or-error):
3015 Guard against "%" in gdb output. (Bug#14127)
3016
1451928f
AS
30172013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3018
763a086d
JB
3019 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3020 (Bug#14826)
f7a03897 3021
1451928f
AS
3022 * international/mule.el (coding-system-iso-2022-flags): Fix last
3023 change.
3024
99107004
KH
30252013-07-20 Kenichi Handa <handa@gnu.org>
3026
763a086d
JB
3027 * international/mule.el (coding-system-iso-2022-flags):
3028 Add `8-bit-level-4'. (Bug#8522)
99107004 3029
48494e06
LMI
30302013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3031
8ba8eec5
LMI
3032 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3033 (bug#14815).
3034
dfbc66e3
LMI
3035 * net/eww.el (eww-process-text-input): Allow inputting when the
3036 point is at the start of the line, as the properties aren't
3037 front-sticky.
3038
48494e06
LMI
3039 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3040 degenerate widths.
3041
77c92cb9
RS
30422013-07-19 Richard Stallman <rms@gnu.org>
3043
aec7da77
RS
3044 * epa.el (epa-popup-info-window): Doc fix.
3045
77c92cb9
RS
3046 * subr.el (split-string): New arg TRIM.
3047
945c5bb1
JB
30482013-07-18 Juanma Barranquero <lekktu@gmail.com>
3049
3050 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3051 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3052
e06ec67f
MA
30532013-07-18 Michael Albinus <michael.albinus@gmx.de>
3054
c7064f05 3055 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
3056 `file-notify-support'. Do not autoload. Adapt all uses.
3057 (file-notify-supported-p): New defun.
3058
c7064f05
JB
3059 * autorevert.el (auto-revert-use-notify):
3060 Use `file-notify-supported-p' instead of `file-notify-support'.
3061 Adapt docstring.
e06ec67f
MA
3062 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3063
3064 * net/tramp.el (tramp-file-name-for-operation):
3065 Add `file-notify-supported-p'.
3066
3067 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3068 New defun.
3069 (tramp-sh-file-name-handler-alist): Add it as handler for
3070 `file-notify-supported-p '.
3071
3072 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3073 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3074 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3075 Add `ignore' as handler for `file-notify-*' functions.
3076
5dc8a629
EZ
30772013-07-17 Eli Zaretskii <eliz@gnu.org>
3078
3079 * simple.el (line-move-partial, line-move): Don't start vscroll or
3080 scroll-up if the current line is not taller than the window.
3081 (Bug#14881)
3082
77aea2fb
DG
30832013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3084
3085 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3086 highlight question marks in the method names as strings.
ac72c08d
DG
3087 (ruby-block-beg-keywords): Inline.
3088 (ruby-font-lock-keyword-beg-re): Extract from
3089 `ruby-font-lock-keywords'.
77aea2fb 3090
18c26d81
JD
30912013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3092
3093 * frame.el (blink-cursor-blinks): New defcustom.
3094 (blink-cursor-blinks-done): New defvar.
3095 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3096 (blink-cursor-timer-function): Check if number of blinks has been
3097 done on X and NS.
3098 (blink-cursor-suspend, blink-cursor-check): New defuns.
3099
da48522e
GM
31002013-07-15 Glenn Morris <rgm@gnu.org>
3101
3102 * edmacro.el (edmacro-format-keys): Fix previous change.
3103
0463c1ef
PE
31042013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3105
3106 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3107 The hack didn't work outside English locales anyway.
3108
b43f6451
JB
31092013-07-15 Juanma Barranquero <lekktu@gmail.com>
3110
3111 * simple.el (define-alternatives): Rename from alternatives-define,
3112 per RMS' suggestion.
3113
b958c0ad
JB
31142013-07-14 Juanma Barranquero <lekktu@gmail.com>
3115
3116 * desktop.el (desktop-restore-frames): Change default to t.
3117 (desktop-restore-in-current-display): Now offer more options.
3118 (desktop-restoring-reuses-frames): New customization option.
3119 (desktop--saved-states): Doc fix.
3120 (desktop-filter-parameters-alist): New variable, renamed and expanded
3121 from desktop--excluded-frame-parameters.
3122 (desktop--target-display): New variable.
3123 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3124 (desktop--filter-tty*, desktop--filter-*-color)
3125 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3126 (desktop--filter-save-desktop-parm)
3127 (desktop-restore-in-original-display-p): New functions.
3128 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3129 (desktop--save-minibuffer-frames): New function, inspired by a similar
3130 function from Martin Rudalics.
3131 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3132 (desktop--restore-in-this-display-p): Remove.
3133 (desktop--find-frame): Rename from desktop--find-frame-in-display
3134 and add predicate argument.
3135 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3136 (desktop--reuse-list): New variable.
3137 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3138 New functions.
3139 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3140
f6dd8b36
MA
31412013-07-14 Michael Albinus <michael.albinus@gmx.de>
3142
3143 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3144
2ce3c565
DG
31452013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3146
763a086d
JB
3147 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3148 Highlight conversion methods on Kernel.
2ce3c565 3149
2cdb7698
AM
31502013-07-13 Alan Mackenzie <acm@muc.de>
3151
3152 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3153 and comment it out. This out-commenting enables certain C++
3154 declarations to be parsed correctly.
3155
1a67b811
EZ
31562013-07-13 Eli Zaretskii <eliz@gnu.org>
3157
1b796d6b
EZ
3158 * international/mule.el (define-coding-system): Doc fix.
3159
1a67b811
EZ
3160 * simple.el (default-font-height): Don't call font-info if the
3161 frame's default font didn't change since the frame was created.
3162 (Bug#14838)
3163
58fbe886
LL
31642013-07-13 Leo Liu <sdl.web@gmail.com>
3165
3166 * ido.el (ido-read-file-name): Guard against non-symbol value.
3167
1f0480d4
FEG
31682013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3169
3170 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3171 in nested defuns.
3172
97ead0e5
LL
31732013-07-13 Leo Liu <sdl.web@gmail.com>
3174
3175 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3176 ido-set-matches call. (Bug#6852)
3177
0880a952
DG
31782013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3179
3180 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3181 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3182 Ruby 2.0.
3183 (ruby-font-lock-keywords): Distinguish calls to functions with
3184 module-like names from module references. Highlight character
3185 literals.
3186
a7d8babb
SDJ
31872013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3188
3189 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 3190 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 3191
acfcc8c5
JB
31922013-07-12 Juanma Barranquero <lekktu@gmail.com>
3193
3194 * desktop.el (desktop--v2s): Remove unused local variable.
3195 (desktop-save-buffer): Make defvar-local; adjust docstring.
3196 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3197 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3198
051f2775
AS
31992013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3200
3201 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3202
f24e7572
GM
32032013-07-12 Eli Zaretskii <eliz@gnu.org>
3204
3205 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3206 (Bug#14842)
3207
539a920c
GM
32082013-07-12 Glenn Morris <rgm@gnu.org>
3209
3210 * doc-view.el: Require cl-lib at runtime too.
3211 (doc-view-remove-if): Remove.
3212 (doc-view-search-next-match, doc-view-search-previous-match):
3213 Use cl-remove-if.
3214
3215 * edmacro.el: Require cl-lib at runtime too.
3216 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3217 (edmacro-mismatch, edmacro-subseq): Remove.
3218
3219 * shadowfile.el: Require cl-lib.
3220 (shadow-remove-if): Remove.
3221 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3222 Use cl-remove-if.
3223
3224 * wid-edit.el: Require cl-lib.
3225 (widget-choose): Use cl-remove-if.
3226 (widget-remove-if): Remove.
3227
3228 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3229 (ebrowse-delete-if-not): Remove.
3230 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3231 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3232 Use cl-delete-if-not.
3233
1048af7c
JB
32342013-07-12 Juanma Barranquero <lekktu@gmail.com>
3235
3236 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3237 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3238
6c0674ee
LL
32392013-07-12 Leo Liu <sdl.web@gmail.com>
3240
3241 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3242
a19b3c2d
GM
32432013-07-11 Glenn Morris <rgm@gnu.org>
3244
4582a01c
GM
3245 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3246 (edebug-gensym-index, edebug-gensym):
3247 Remove reimplementation of cl-gensym.
3248 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3249
3250 * thumbs.el: Require cl-lib at run-time too.
3251 (thumbs-gensym-counter, thumbs-gensym):
3252 Remove reimplementation of cl-gensym.
3253 (thumbs-temp-file): Use cl-gensym.
3254
a19b3c2d
GM
3255 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3256 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3257 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3258 (ert--union, ert--gensym-counter, ert--gensym-counter)
3259 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3260 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3261 (ert-make-test-unbound, ert--expand-should-1)
3262 (ert--expand-should, ert--should-error-handle-error)
3263 (should-error, ert--explain-equal-rec)
3264 (ert--plist-difference-explanation, ert-select-tests)
3265 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3266 Use cl-lib functions rather than reimplementations.
3267
88f6a933
MA
32682013-07-11 Michael Albinus <michael.albinus@gmx.de>
3269
3270 * net/tramp.el (tramp-methods): Extend docstring.
3271 (tramp-connection-timeout): New defcustom.
3272 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3273 (with-tramp-progress-reporter): Simplify.
3274 (tramp-process-actions): Improve messages.
3275
3276 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3277 * net/tramp-sh.el (tramp-maybe-open-connection):
3278 Use `tramp-connection-timeout'.
3279 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3280 (Bug#14808)
3281
a43d577e
LL
32822013-07-11 Leo Liu <sdl.web@gmail.com>
3283
3284 * ido.el (ido-read-file-name): Conform to the requirements of
3285 read-file-name. (Bug#11861)
3286 (ido-read-directory-name): Conform to the requirements of
3287 read-directory-name.
3288
d77974bf
JB
32892013-07-11 Juanma Barranquero <lekktu@gmail.com>
3290
3291 * subr.el (delay-warning): New function.
3292
35cb8a3e
EZ
32932013-07-10 Eli Zaretskii <eliz@gnu.org>
3294
3295 * simple.el (default-line-height): New function.
3296 (line-move-partial, line-move): Use it instead of computing the
3297 line height inline.
3298 (line-move-partial): Always compute ROWH. If the last line is
3299 partially-visible, but its text is completely visible, allow
3300 cursor to enter such a partially-visible line.
3301
525c5c77
MA
33022013-07-10 Michael Albinus <michael.albinus@gmx.de>
3303
3304 Improve error messages. (Bug#14808)
3305
3306 * net/tramp.el (tramp-current-connection): New defvar, moved from
3307 tramp-sh.el.
0ac26976 3308 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 3309 needed anymore.
0ac26976
SM
3310 (tramp-error-with-buffer): Show message in minibuffer.
3311 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
3312 (with-tramp-progress-reporter): Improve messages.
3313 (tramp-process-actions): Use progress reporter. Delete process in
3314 case of error. Improve messages.
3315
763a086d
JB
3316 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3317 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 3318 (tramp-current-connection): Remove.
525c5c77
MA
3319 (tramp-maybe-open-connection): The car of
3320 `tramp-current-connection' are the first 3 slots of the vector.
3321
c7a4d368
TZ
33222013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3323
3324 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3325 inside continued strings.
3326
954b166e
PE
33272013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3328
3329 Timestamp fixes for undo (Bug#14824).
3330 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3331
56973319
LL
33322013-07-10 Leo Liu <sdl.web@gmail.com>
3333
3334 * files.el (require-final-newline): Allow safe local value.
3335 (Bug#14834)
3336
5550a72c
LL
33372013-07-09 Leo Liu <sdl.web@gmail.com>
3338
3339 * ido.el (ido-read-directory-name): Handle fallback.
3340 (ido-read-file-name): Update DIR to ido-current-directory.
3341 (Bug#1516)
c28b9050 3342 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 3343
70c46b28
DG
33442013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3345
3346 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3347 "autoload". Remove "warn lower camel case" section, previously
3348 commented out. Highlight negation char. Do not highlight the
3349 target in singleton method definitions.
3350
0b64b838
SM
33512013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3352
7fd72e2c
SM
3353 * faces.el (tty-setup-hook): Declare the hook.
3354
0b64b838
SM
3355 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3356 and detect when a guard/pred depends on local vars (bug#14773).
3357 (pcase--u1): Adjust caller.
3358
ab49d60b
EZ
33592013-07-08 Eli Zaretskii <eliz@gnu.org>
3360
3361 * simple.el (line-move-partial, line-move): Account for
3362 line-spacing.
701d79aa
EZ
3363 (line-move-partial): Avoid setting vscroll when the last
3364 partially-visible line in window is of default height.
ab49d60b 3365
2d756ae0
LMI
33662013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3367
3368 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3369 been used a while.
3370
ed095bd7
JB
33712013-07-07 Juanma Barranquero <lekktu@gmail.com>
3372
3373 * subr.el (read-quoted-char): Remove unused local variable `char'.
3374
f1e6674b
MK
33752013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3376
584ee3fc
GM
3377 * ediff.el (ediff-version): Version update.
3378 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3379 (ediff-merge-with-ancestor-command, ediff-directories-command)
3380 (ediff-directories3-command, ediff-merge-directories-command)
3381 (ediff-merge-directories-with-ancestor-command): New functions.
3382 All are command-line interfaces to ediff: to facilitate calling
3383 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
3384
3385 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3386 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 3387
584ee3fc
GM
3388 * viper.el (viper-version): Version update.
3389 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 3390
584ee3fc
GM
33912013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3394 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3395 (viper-intercept-ESC-key): Simplify.
3396 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3397 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3398 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3399 (viper-setup-ESC-to-escape): New functions.
3400 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3401 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 3402
9aff9b38
EZ
34032013-07-07 Eli Zaretskii <eliz@gnu.org>
3404
5165d44a
JB
3405 * simple.el (default-font-height, window-screen-lines):
3406 New functions.
9aff9b38
EZ
3407 (line-move, line-move-partial): Use them instead of
3408 frame-char-height and window-text-height. This makes scrolling
3409 text smoother when the buffer's default face uses a font that is
3410 different from the frame's default font.
3411
1afb1d07
JD
34122013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3413
3414 * files.el (write-file): Do not display confirm dialog for NS,
3415 it does its own dialog, which can't be cancelled (Bug#14578).
3416
23de972a
EZ
34172013-07-06 Eli Zaretskii <eliz@gnu.org>
3418
3419 * simple.el (line-move-partial): Adjust the row returned by
3420 posn-at-point for the current window-vscroll. (Bug#14567)
3421
54a42486
MA
34222013-07-06 Michael Albinus <michael.albinus@gmx.de>
3423
3424 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3425 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3426 spaces.
3427
34ada5f4
MR
34282013-07-06 Martin Rudalics <rudalics@gmx.at>
3429
3430 * window.el (window-state-put-stale-windows): New variable.
3431 (window--state-put-2): Save list of windows without matching buffer.
3432 (window-state-put): Remove "bufferless" windows if possible.
3433
11e03d89
JB
34342013-07-06 Juanma Barranquero <lekktu@gmail.com>
3435
3436 * simple.el (alternatives-define): Remove leftover :group keyword.
3437 Tweak docstring.
3438
3504a4be
LL
34392013-07-06 Leo Liu <sdl.web@gmail.com>
3440
3441 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3442 (ido-enable-virtual-buffers): New variable.
3443 (ido-buffer-internal, ido-toggle-virtual-buffers)
3444 (ido-make-buffer-list): Use it.
3445 (ido-exhibit): Support turning on and off virtual buffers
3446 automatically.
3447
61e56e2c
JB
34482013-07-06 Juanma Barranquero <lekktu@gmail.com>
3449
3450 * simple.el (alternatives-define): New macro.
3451
321e1a9c
SM
34522013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3453
3454 * subr.el (read-quoted-char): Use read-key.
3455 (sit-for): Let read-event decode tty input (bug#14782).
3456
d610f6dd
SB
34572013-07-05 Stephen Berman <stephen.berman@gmx.net>
3458
3459 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
3460 mode command and externally. Fix various related bugs.
3461 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
3462 (todo-delete-file): New command.
3463 (todo-check-file): New function.
3464 (todo-show): Handle external deletion of the file we're trying to
3465 show (bug#14688). Replace called-interactively-p by an optional
3466 prefix argument to avoid problematic interaction with catch form
3467 when byte compiled (bug#14702).
3468 (todo-quit): Handle external deletion of the archive's todo file.
3469 Make sure the buffer that was visiting the archive file is still
3470 live before trying to bury it.
3471 (todo-category-completions): Handle external deletion of any
3472 category completion files.
3473 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3474 of todo files, in case of external deletion.
3475 (todo-add-file): Replace unnecessary setq by let-binding.
3476 (todo-find-archive): Check whether there are any archives.
3477 Replace unnecessary setq by let-binding.
3478 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
3479 archive buffer whether or not the archive already exists.
3480 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
3481 check if the archive is new; if it is, update list of archives.
3482 (todo-default-todo-file): Allow nil to be a valid value for when
3483 there are no todo files.
3484 (todo-reevaluate-default-file-defcustom): Use corrected definition
3485 of todo-default-todo-file.
3486 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3487 (todo-delete-category, todo-show-categories-table)
3488 (todo-category-number): Clarify comment.
3489 (todo-filter-items): Clarify documentation string.
3490 (todo-show-current-file, todo-display-as-todo-file)
3491 (todo-reset-and-enable-done-separator): Tweak documentation string.
3492 (todo-done-separator): Make separator length window-width, since
3493 bug#2749 is now fixed.
3494
ddbdfd6f
MA
34952013-07-05 Michael Albinus <michael.albinus@gmx.de>
3496
321e1a9c
SM
3497 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3498 Support both "gvfs-monitor-dir" and "inotifywait".
3499 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
3500 `tramp-sh-file-notify-process-filter'.
3501 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3502 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3503
96eb829a
LL
35042013-07-05 Leo Liu <sdl.web@gmail.com>
3505
3506 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3507
cf13177e
YM
35082013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3509
3510 * frame.el (display-pixel-height, display-pixel-width)
3511 (display-mm-height, display-mm-width): Mention behavior on
3512 multi-monitor setups in docstrings.
3513 (w32-display-monitor-attributes-list): Declare function.
3514 (display-monitor-attributes-list): Use it.
3515
864c58ca
MA
35162013-07-04 Michael Albinus <michael.albinus@gmx.de>
3517
3518 * filenotify.el: New package.
3519
3520 * autorevert.el (top): Require filenotify.el.
3521 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3522 instead.
3523 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3524 (auto-revert-notify-handler): Use `file-notify-*' functions.
3525
3526 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3527
321e1a9c
SM
3528 * net/tramp.el (tramp-file-name-for-operation):
3529 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
3530
3531 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3532 for `file-notify-add-watch' and `file-notify-rm-watch'.
3533 (tramp-process-sentinel): Improve trace.
3534 (tramp-sh-handle-file-notify-add-watch)
3535 (tramp-sh-file-notify-process-filter)
3536 (tramp-sh-handle-file-notify-rm-watch)
3537 (tramp-get-remote-inotifywait): New defuns.
3538
96673afe
JL
35392013-07-03 Juri Linkov <juri@jurta.org>
3540
3541 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3542 call of `occur-read-primary-args' to interactive spec.
3543
3544 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3545 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3546
924494f4
MM
35472013-07-03 Matthias Meulien <orontee@gmail.com>
3548
3549 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3550 `Buffer-menu-multi-occur'. Add it to the menu.
3551 (Buffer-menu-mode): Document it in docstring.
3552 (Buffer-menu-multi-occur): New command. (Bug#14673)
3553
56f75efc
DG
35542013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3555
3556 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3557 keywords and built-ins.
3558
9b057d61
GM
35592013-07-03 Glenn Morris <rgm@gnu.org>
3560
208dee4d
GM
3561 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3562
9b057d61
GM
3563 Make info-xref checks case-sensitive by default
3564 * info.el (Info-find-node, Info-find-in-tag-table)
3565 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3566 Add option for exact case matching of nodes.
3567 * info-xref.el (info-xref): New custom group.
3568 (info-xref-case-fold): New option.
3569 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3570
e01aa29c
LL
35712013-07-03 Leo Liu <sdl.web@gmail.com>
3572
3573 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3574
3086ca2e
DG
35752013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3576
3577 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3578 middle of block statement initially, lower the depth. Remove
3579 FIXME comment, not longer valid. Remove middle of block statement
3580 detection, no need to do that anymore since we've been using
3581 `ruby-parse-region' here.
3582
a3b49114
JD
35832013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3584
3585 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3586
08e5c823 35872013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
3588
3589 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3590
2addf922
JB
35912013-07-01 Juanma Barranquero <lekktu@gmail.com>
3592
3593 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3594 (desktop-restore-in-current-display): New customization option.
3595 (desktop--excluded-frame-parameters): Add `font'.
3596 (desktop--save-frames): Rename from desktop--save-windows.
3597 (desktop--restore-in-this-display-p): New function.
3598 (desktop--make-full-frame): Remove unwanted width/height from
3599 full(width|height) frames.
3600 (desktop--restore-frames): Rename from desktop--restore-windows.
3601 Obey desktop-restore-current-display. Do not delete old frames or
3602 select a new frame unless we were able to restore at least one frame.
3603
ef099a94
MN
36042013-06-30 Michal Nazarewicz <mina86@mina86.com>
3605
3606 * files.el (find-file-noselect): Simplify conditional expression.
3607
3608 * remember.el (remember-append-to-file):
3609 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3610
3611 Add `remember-notes' function to store random notes across Emacs
3612 restarts.
3613 * remember.el (remember-data-file): Add :set callback to affect
3614 notes buffer (if any).
3615 (remember-notes): New command.
3616 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3617 New defcustoms for the `remember-notes' function.
3618 (remember-notes-save-and-bury-buffer): New command.
3619 (remember-notes-mode-map): New variable.
3620 (remember-mode): New minor mode.
3621 (remember-notes--kill-buffer-query): New function.
3622 * startup.el (initial-buffer-choice): Add notes to custom type.
3623
0865d506
EZ
36242013-06-30 Eli Zaretskii <eliz@gnu.org>
3625
0ba54312
EZ
3626 * bindings.el (right-char, left-char): Don't call sit-for, this is
3627 no longer needed. Use arithmetic comparison only for numerical
3628 arguments.
3629
ef099a94
MN
3630 * international/mule-cmds.el (select-safe-coding-system):
3631 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 3632
2fae38e5
LMI
36332013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3634
3635 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3636 progression on degenerate tables.
ef099a94 3637 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 3638
a47cbd64
JB
36392013-06-30 Juanma Barranquero <lekktu@gmail.com>
3640
3641 Some fixes and improvements for desktop frame restoration.
3642 It is still experimental and disabled by default.
3643 * desktop.el (desktop--save-windows): Put the selected frame at
3644 the head of the list.
3645 (desktop--make-full-frame): New function.
3646 (desktop--restore-windows): Try to re-select the frame that was
3647 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
3648 just show an error message and continue. Set up maximized frames
3649 so they have default non-maximized dimensions.
a47cbd64 3650
6dbafa30
DG
36512013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3652
ef099a94
MN
3653 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3654 Don't start heredoc inside a string or comment.
6dbafa30 3655
4c672a0f
EZ
36562013-06-29 Eli Zaretskii <eliz@gnu.org>
3657
3658 * bindings.el (visual-order-cursor-movement): New defcustom.
3659 (right-char, left-char): Provide visual-order cursor motion by
3660 calling move-point-visually. Update the doc strings.
3661
50960f36
KH
36622013-06-28 Kenichi Handa <handa@gnu.org>
3663
3664 * international/mule.el (define-coding-system): New coding system
3665 properties :inhibit-null-byte-detection,
3666 :inhibit-iso-escape-detection, and :prefer-utf-8.
3667 (set-buffer-file-coding-system): If :charset-list property of
3668 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3669 appropriate for setting.
3670
c1ea3abf
JB
3671 * international/mule-cmds.el (select-safe-coding-system):
3672 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3673 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
3674
3675 * international/mule-conf.el (prefer-utf-8): New coding system.
3676 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3677 files.
3678
75dbaf9d
IK
36792013-06-28 Ivan Kanis <ivan@kanis.fr>
3680
eadb6068
IK
3681 * net/shr.el (shr-render-region): New function.
3682
75dbaf9d
IK
3683 * net/eww.el: Autoload `eww-browse-url'.
3684
9ea5cf9f
DG
36852013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3686
c1ea3abf
JB
3687 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3688 Adapt to `package-desc-version' being a list.
3689 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
3690 archive element.
3691
39c0e36f
JB
36922013-06-27 Juanma Barranquero <lekktu@gmail.com>
3693
3694 New experimental feature to save&restore window and frame setup.
3695 * desktop.el (desktop-save-windows): New defcustom.
3696 (desktop--saved-states): New var.
3697 (desktop--excluded-frame-parameters): New defconst.
3698 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3699 (desktop--restore-windows, desktop--save-windows): New functions.
3700 (desktop-save): Call `desktop--save-windows'.
3701 (desktop-read): Call `desktop--restore-windows'.
3702
7f13406b
LMI
37032013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3704
ef099a94 3705 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 3706
1e072639
SB
37072013-06-27 Stephen Berman <stephen.berman@gmx.net>
3708
3709 * info.el (Info-try-follow-nearest-node): Move search for footnote
3710 above search for node name to prevent missing a footnote (bug#14717).
3711
f3e2cbde
SB
37122013-06-27 Stephen Berman <stephen.berman@gmx.net>
3713
3714 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3715
99906aa0
LL
37162013-06-27 Leo Liu <sdl.web@gmail.com>
3717
3718 * net/eww.el (eww-read-bookmarks): Check file size.
3719
539f75f4
SM
37202013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3721
3722 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3723 advice--pending if newdef is nil or an autoload (bug#13820).
3724 (advice-mapc): New function.
3725
843571cb
LMI
37262013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3727
3728 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3729 probably.
23a75d7f 3730 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
3731 (eww-add-bookmark): New command.
3732 (eww-bookmark-mode): New mode and commands.
a285ce99 3733 (eww-add-bookmark): Remove newlines from the title.
47fd571b 3734 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 3735
f2136e1e
GM
37362013-06-26 Glenn Morris <rgm@gnu.org>
3737
eab35f39
GM
3738 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3739 (hfy-size): Handle ttys. (Bug#14668)
3740
f2136e1e
GM
3741 * info-xref.el: Update for Texinfo 5 change in *note format.
3742 (info-xref-node-re, info-xref-note-re): New constants.
3743 (info-xref-check-buffer): Use info-xref-note-re.
3744
a49ff80c
SM
37452013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3746
a343d218
SM
3747 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3748
a49ff80c
SM
3749 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3750 nil terminate the loop (bug#14718).
3751
8308f184
LMI
37522013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3753
3754 * net/eww.el: Rework history traversal. When going forward/back,
3755 put these actions into the history, too, so that they can be
3756 replayed.
26bf2b82 3757 (eww-render): Move the history reset to the correct buffer.
8308f184 3758
ec64c273
JL
37592013-06-25 Juri Linkov <juri@jurta.org>
3760
3761 * files-x.el (modify-dir-local-variable): Change the header comment
3762 in the file with directory local variables. (Bug#14692)
3763
e080a9d7
JL
3764 * files-x.el (read-file-local-variable-value): Add `default'.
3765 (Bug#14710)
3766
bfbc93a1
IK
37672013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3768
3769 * net/eww.el (eww-make-unique-file-name): Create a unique file
3770 name before saving to entering `y' accidentally asynchronously.
3771
37722013-06-25 Ivan Kanis <ivan@kanis.fr>
3773
3774 * net/eww.el (eww-download): New command and keystroke.
3775
16f74f10
LMI
37762013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3777
a49ff80c 3778 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
3779
3780 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3781 be more consistent with Info and dired.
3782
3783 * net/eww.el (eww-mode-map): Ditto.
3784
12059709
SM
37852013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3786
3787 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
3788 packages from archives.
3789 (package-archive-contents): Change format; include obsolete packages.
3790 (package-desc): Use `dir' to mark builtin packages.
3791 (package--from-builtin): Set the `dir' field to `builtin'.
3792 (generated-autoload-file, version-control): Declare.
3793 (package-compute-transaction): Change first arg and return value to be
3794 lists of package-descs. Adjust to new package-archive-contents format.
3795 (package--add-to-archive-contents): Adjust to new
3796 package-archive-contents format.
3797 (package-download-transaction): Arg is now a list of package-descs.
3798 (package-install): If `pkg' is a package name, pass it as
3799 a requirement, so it is subject to the usual (e.g. disabled) checks.
3800 (describe-package): Accept package-desc as well.
3801 (describe-package-1): Describe a specific package-desc. Add links to
3802 other package-descs for the same package name.
3803 (package-menu-describe-package): Pass the actual package-desc.
3804 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3805 works correctly.
3806 (package-desc-status): New function.
3807 (package-menu--refresh): New function, extracted
3808 from package-menu--generate.
3809 (package-menu--generate): Use it.
3810 (package-delete): Update package-alist.
3811 (package-menu-execute): Don't call package-initialize.
3812
3813 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3814 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3815 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3816 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3817 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3818 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3819
8bbdea0f
MR
38202013-06-25 Martin Rudalics <rudalics@gmx.at>
3821
3822 * window.el (window--state-get-1): Workaround for bug#14527.
3823 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
3824
e82b0991
LMI
38252013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3826
3827 * net/eww.el (eww-back-url): Implement the history by stashing all
3828 the data into a list.
d3f0f918 3829 (eww-forward-url): Allow going forward in the history, too.
e82b0991 3830
c763842b
SM
38312013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3832
3833 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
3834 for values and use read--expression for expressions (bug#14710).
3835 (read-file-local-variable): Avoid setq.
3836 (read-file-local-variable-mode): Use minor-mode-list.
3837
bceff189
RW
38382013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3839
864c58ca 3840 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
3841 for DOI URLs.
3842
45f431c6
RW
38432013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3844
864c58ca 3845 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
3846 Update imenu-support when dialect changes.
3847
f42d8237
LL
38482013-06-25 Leo Liu <sdl.web@gmail.com>
3849
3850 * ido.el (ido-read-internal): Allow forward slash on windows.
3851
be549ce6
LMI
38522013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3853
3854 * net/eww.el (eww): Start of strings is \\`, not ^.
3855
71d4c19d
IK
38562013-06-24 Ivan Kanis <ivan@kanis.fr>
3857
5196f88a
IK
3858 * net/shr.el (shr-browse-url): Fix interactive spec.
3859
71d4c19d
IK
3860 * net/eww.el (eww): Add a trailing slash to domain names.
3861
ae36ca55
JB
38622013-06-24 Juanma Barranquero <lekktu@gmail.com>
3863
3864 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
3865
0ebd92a3
LMI
38662013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3867
bdaa086b
LMI
3868 * net/shr.el (shr-browse-url): Use an external browser if given a
3869 prefix.
3870
c763842b 3871 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 3872
b89fc156
IK
38732013-06-24 Ivan Kanis <ivan@kanis.fr>
3874
3875 * net/eww.el (eww): Work more correctly for file: URLs.
3876 (eww-detect-charset): Allow quoted charsets.
3877 (eww-yank-page-url): New command and keystroke.
3878
18eb4bca
DU
38792013-06-24 Daiki Ueno <ueno@gnu.org>
3880
3881 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
3882 file name of gpg executable.
3883 (epg-context-program): New function.
3884 (epg-context-home-directory): New function.
3885 (epg-context-set-program): New function.
3886 (epg-context-set-home-directory): New function.
3887 (epg--start): Use `epg-context-program' instead of
3888 'epg-gpg-program'.
3889 (epg--list-keys-1): Likewise.
3890
6c6268c8
LL
38912013-06-24 Leo Liu <sdl.web@gmail.com>
3892
3893 * ido.el (ido-read-internal): Fix bug#14620.
3894
5e400cb3
JB
38952013-06-23 Juanma Barranquero <lekktu@gmail.com>
3896
3897 * faces.el (face-documentation): Simplify.
3898 (read-face-attribute, tty-find-type, x-resolve-font-name):
3899 Use `string-match-p'.
3900 (list-faces-display): Use `string-match-p'. Simplify.
3901 (face-spec-recalc): Check face to avoid face alias loops.
3902 (read-color): Use `string-match-p' and non-capturing parenthesis.
3903
f3f9606c
LMI
39042013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3905
3906 * net/shr.el (shr-rescale-image): Use the new
3907 :max-width/:max-height functionality.
3908
a3ca09b9
IK
39092013-06-23 Ivan Kanis <ivan@kanis.fr>
3910
3911 * net/eww.el (eww-search-prefix): New variable.
3912 (eww): Use it.
f865b474
IK
3913 (eww-external-browser): New variable.
3914 (eww-mode-map): New keystroke.
3915 (eww-browse-with-external-browser): New command.
a3ca09b9 3916
e854cfc7
IK
3917 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
3918
18bb9e21
JB
39192013-06-23 Juanma Barranquero <lekktu@gmail.com>
3920
3921 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3922 Don't skip aligning the next header field when padding is 0;
3923 otherwise, field width is not respected unless the title is as
3924 wide as the field.
3925
5b165ade
SM
39262013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3927
3928 * emacs-lisp/package.el (package-el-version): Remove.
3929 (package-process-define-package): Fix inf-loop.
3930 (package-install): Allow symbols as arguments again.
3931
12adebe9
DG
39322013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3933
3934 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
3935 add some more keyword-like methods.
3936 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
3937
388573ee
JB
39382013-06-22 Juanma Barranquero <lekktu@gmail.com>
3939
3940 * bs.el (bs-buffer-show-mark): Make defvar-local.
3941 (bs-mode): Use setq-local.
3942
3943 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
3944 (emacs-lock--try-unlocking): Make defvar-local.
3945
4582a01c 39462013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 3947
2663dd23
GM
3948 * play/cookie1.el (cookie-apropos): Minor simplification.
3949
3d94f3ad
GM
3950 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
3951
f72e2fdb
DG
39522013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3953
3954 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
3955 `regexp-opt', it breaks the build during dumping.
3956
73eab938
DG
39572013-06-21 Dmitry Gutov <dgutov@yandex.ru>
3958
c763842b
SM
3959 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3960 Highlight keyword-like methods on Kernel and Module with
73eab938 3961 font-lock-builtin-face.
5cf8176d
DG
3962 (auto-mode-alist): Consolidate different entries into one regexp
3963 and add more *file-s.
73eab938 3964
d26255f6
SB
39652013-06-21 Stephen Berman <stephen.berman@gmx.net>
3966
3967 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
3968
3969 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
3970 (diary-entry): Use it in the action of this button type instead of
3971 diary-goto-entry.
3972
3973 * calendar/todo-mode.el: New version.
3974 (todo-add-category): Append new category to end of file and give
3975 it the highest number, instead of putting it at the beginning and
3976 giving it 0. Incorporate noninteractive functionality.
3977 (todo-forward-category): Adapt to 1-based category numbering.
3978 Allow skipping over archived categories.
3979 (todo-backward-category): Derive from todo-forward-category.
3980 (todo-backward-item, todo-forward-item): Make noninteractive and
3981 delegate interactive part to new commands. Make sensitive to done items.
3982 (todo-categories): Make value an alist of category names and
3983 vectors of item counts.
3984 (todo-category-beg): Make a defconst.
3985 (todo-category-number): Use 1 instead of 0 as initial value.
3986 (todo-category-select): Make sensitive to overlays, optional item
3987 highlighting and done items.
3988 (todo-delete-item): Make sensitive to overlays and marked and done items.
3989 (todo-edit-item): Make sensitive to overlays and editing of
3990 date/time header optional. Add format checks.
3991 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
3992 no-op if point is not on an item. Advertise using todo-edit-quit.
3993 (todo-edit-mode): Make sensitive to new format, font-locking, and
3994 multiple todo files.
3995 (todo-insert-item, todo-insert-item-here): Derive from
3996 todo-basic-insert-item and extend functionality.
3997 (todo-item-end, todo-item-start): Make sensitive to done items.
3998 (todo-item-string): Don't return text properties. Restore point.
3999 (todo-jump-to-category): Make sensitive to multiple todo files and
4000 todo archives. Use extended category completion.
4001 (todo-lower-item, todo-raise-item): Rename to *-priority and
4002 derive from todo-set-item-priority.
4003 (todo-mode): Derive from special-mode. Make sensitive to new
4004 format, font-locking and multiple todo files. Make read-only.
4005 (todo-mode-map): Don't suppress digit keys, so they can supply
4006 prefix arguments. Add many new key bindings.
4007 (todo-prefix): Insert as an overlay instead of file text.
4008 Change semantics from diary date expression to purely visual mark.
4009 (todo-print): Rename to todo-print-buffer. Make buffer display
4010 features printable. Remove option to restrict number of items
4011 printed. Add option to print to file.
4012 (todo-print-function): Rename to todo-print-buffer-function.
4013 (todo-quit): Extend to handle exiting new todo modes.
4014 (todo-remove-item): Make sensitive to overlays.
4015 (todo-save): Extend to buffers of filtered items.
4016 (todo-show): Make sensitive to done items, multiple todo files and
4017 new todo modes. Offer to convert legacy todo file before creating
4018 first new todo file.
4019 (todo-show-priorities): Rename to todo-top-priorities.
4020 Change semantics of value 0.
4021 (todo-top-priorities): Rename to todo-filter-top-priorities,
4022 derive from todo-filter-items and extend functionality.
4023 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4024 and extend functionality to other types of filtered items.
4025 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4026 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4027 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4028 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4029 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4030 (todo-edit-mode-hook, todo-entry-prefix-function)
4031 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4032 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4033 (todo-initials, todo-insert-threshold, todo-item-string-start)
4034 (todo-line-string, todo-menu, todo-mode-hook)
4035 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4036 (todo-print-priorities, todo-remove-separator)
4037 (todo-save-top-priorities-too, todo-string-count-lines)
4038 (todo-string-multiline-p, todo-time-string-format)
4039 (todo-tmp-buffer-name): Remove.
4040 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4041 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4042 (todo-edit-category-diary-inclusion)
4043 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4044 (todo-edit-file, todo-edit-item-date-day)
4045 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4046 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4047 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4048 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4049 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4050 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4051 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4052 (todo-filter-top-priorities-multifile, todo-find-archive)
4053 (todo-find-filtered-items-file, todo-go-to-source-item)
4054 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4055 (todo-jump-to-archive-category, todo-lower-category)
4056 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4057 (todo-move-category, todo-move-item, todo-next-button)
4058 (todo-next-item, todo-padded-string, todo-powerset)
4059 (todo-previous-button, todo-previous-item)
4060 (todo-print-buffer-to-file, todo-raise-category)
4061 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4062 (todo-set-category-number, todo-set-item-priority)
4063 (todo-set-top-priorities-in-category)
4064 (todo-set-top-priorities-in-file, todo-show-categories-table)
4065 (todo-sort-categories-alphabetically-or-numerically)
4066 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4067 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4068 (todo-toggle-item-header, todo-toggle-item-highlighting)
4069 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4070 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4071 (todo-unarchive-items, todo-unmark-category): New commands.
4072 (todo-absolute-file-name, todo-add-to-buffer-list)
4073 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4074 (todo-basic-insert-item, todo-category-completions)
4075 (todo-category-number, todo-category-string-matcher-1)
4076 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4077 (todo-check-format, todo-clear-matches)
4078 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4079 (todo-current-category, todo-date-string-matcher)
4080 (todo-define-insertion-command, todo-diary-expired-matcher)
4081 (todo-diary-goto-entry, todo-diary-item-p)
4082 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4083 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4084 (todo-done-item-section-p, todo-done-separator)
4085 (todo-done-string-matcher, todo-files, todo-filter-items)
4086 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4087 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4088 (todo-insert-category-line, todo-insert-item-from-calendar)
4089 (todo-insert-sort-button, todo-insert-with-overlays)
4090 (todo-insertion-command-name, todo-insertion-key-bindings)
4091 (todo-label-to-key, todo-longest-category-name-length)
4092 (todo-make-categories-list, todo-mode-external-set)
4093 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4094 (todo-modes-set-3, todo-multiple-filter-files)
4095 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4096 (todo-read-category, todo-read-date, todo-read-dayname)
4097 (todo-read-file-name, todo-read-time)
4098 (todo-reevaluate-category-completions-files-defcustom)
4099 (todo-reevaluate-default-file-defcustom)
4100 (todo-reevaluate-filelist-defcustoms)
4101 (todo-reevaluate-filter-files-defcustom)
4102 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4103 (todo-reset-done-separator, todo-reset-done-separator-string)
4104 (todo-reset-done-string, todo-reset-global-current-todo-file)
4105 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4106 (todo-reset-prefix, todo-set-categories)
4107 (todo-set-date-from-calendar, todo-set-show-current-file)
4108 (todo-set-top-priorities, todo-short-file-name)
4109 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4110 (todo-total-item-counts, todo-update-buffer-list)
4111 (todo-update-categories-display, todo-update-categories-sexp)
4112 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4113 New functions.
4114 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4115 New major modes.
4116 (todo-categories, todo-display, todo-edit, todo-faces)
4117 (todo-filtered): New defgroups.
4118 (todo-archived-only, todo-button, todo-category-string, todo-date)
4119 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4120 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4121 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4122 (todo-add-item-if-new-category, todo-always-add-time-string)
4123 (todo-categories-align, todo-categories-archived-label)
4124 (todo-categories-category-label, todo-categories-diary-label)
4125 (todo-categories-done-label, todo-categories-number-separator)
4126 (todo-categories-todo-label, todo-categories-totals-label)
4127 (todo-category-completions-files, todo-completion-ignore-case)
4128 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4129 (todo-done-separator-string, todo-done-string)
4130 (todo-files-function, todo-filter-done-items, todo-filter-files)
4131 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4132 (todo-initial-category, todo-initial-file, todo-item-mark)
4133 (todo-legacy-date-time-regexp, todo-mode-line-function)
4134 (todo-nondiary-marker, todo-number-prefix)
4135 (todo-print-buffer-function, todo-show-current-file)
4136 (todo-show-done-only, todo-show-first, todo-show-with-done)
4137 (todo-skip-archived-categories, todo-top-priorities-overrides)
4138 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4139 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4140 New defcustoms.
4141 (todo-category-done, todo-date-pattern, todo-date-string-start)
4142 (todo-diary-items-buffer, todo-done-string-start)
4143 (todo-filtered-items-buffer, todo-item-start)
4144 (todo-month-abbrev-array, todo-month-name-array)
4145 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4146 (todo-top-priorities-buffer): New defconsts.
4147 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4148 (todo-categories-with-marks, todo-category-string-face)
4149 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4150 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4151 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4152 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4153 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4154 (todo-font-lock-keywords, todo-global-current-todo-file)
4155 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4156 (todo-insertion-commands-args)
4157 (todo-insertion-commands-args-genlist)
4158 (todo-insertion-commands-names, todo-insertion-map)
4159 (todo-key-bindings-t, todo-key-bindings-t+a)
4160 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4161 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4162 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4163 (todo-visited): New variables.
4164
cad5d1cb
GM
41652013-06-21 Glenn Morris <rgm@gnu.org>
4166
4167 * play/cookie1.el (cookie-apropos): Add optional display argument.
4168 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4169 (psychoanalyze-pinhead): Use cookie-doctor.
4170
9e277302
JB
41712013-06-21 Juanma Barranquero <lekktu@gmail.com>
4172
4173 * emacs-lisp/package.el (tar-get-file-descriptor)
4174 (tar--extract): Declare.
4175
c5b0993e
EW
41762013-06-21 Eduard Wiebe <usenet@pusto.de>
4177
4178 Extend flymake's warning predicate to be a function (bug#14217).
4179 * progmodes/flymake.el (flymake-warning-predicate): New.
4180 (flymake-parse-line): Use it.
4181 (flymake-warning-re): Make obsolete alias to
4182 `flymake-warning-predicate'.
4183
a7d2d465
SM
41842013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4187 (package-obsolete-list): Remove.
4188 (package-activate): Remove min-version argument. Add `force' argument.
4189 Adjust to new package-alist format.
4190 (package-mark-obsolete): Remove.
4191 (package-unpack): Force reload of the package's autoloads.
4192 (package-installed-p): Check builtins if the installed package is not
4193 recent enough.
4194 (package-initialize): Don't reset package-obsolete-list.
4195 Don't specify which package version to activate.
4196 (package-process-define-package, describe-package-1)
4197 (package-menu--generate): Adjust to new package-alist format.
4198
cedf5c9d
JB
41992013-06-21 Juanma Barranquero <lekktu@gmail.com>
4200
4201 * allout-widgets.el (allout-widgets-mode-off)
4202 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4203 (allout-widgets-post-command-business)
4204 (allout-widgets-after-copy-or-kill-function)
4205 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4206 (allout-decorate-item-and-context)
4207 (allout-graphics-modification-handler): Fix typos in docstrings.
4208 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4209
4210 * cmuscheme.el (scheme-start-file): Doc fix.
4211 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4212 (scheme-input-filter): Use `string-match-p'.
4213
4214 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4215
4216 * dired-x.el: Use Dired consistently in docstrings.
4217
4218 * dired.el: Use Dired consistently in docstrings.
4219 (dired-readin, dired-mode): Use `setq-local'.
4220 (dired-switches-alist): Make defvar-local.
4221 (dired-buffers-for-dir): Use `zerop'.
4222 (dired-safe-switches-p, dired-switches-escape-p)
4223 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4224 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4225 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4226 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4227 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4228 (dired-toggle-marks, dired-mark-files-containing-regexp)
4229 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4230 (dired-flag-auto-save-files, dired-flag-backup-files):
4231 Use `looking-at-p'.
4232 (dired-mark-files-regexp, dired-build-subdir-alist):
4233 Use `string-match-p', `looking-at-p'.
4234
4235 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4236 (direct-print-region-helper): Use `string-match-p'.
4237
aed838b5
LL
42382013-06-21 Leo Liu <sdl.web@gmail.com>
4239
cedf5c9d
JB
4240 * comint.el (comint-redirect-results-list-from-process):
4241 Fix infinite loop.
aed838b5 4242
d80a808f
LMI
42432013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4244
4245 * net/eww.el (eww-update-header-line-format): Quote % characters.
4246
e7a526e3
GM
42472013-06-21 Glenn Morris <rgm@gnu.org>
4248
4249 * play/cookie1.el (cookie): New custom group.
4250 (cookie-file): New option.
4251 (cookie-check-file): New function.
4252 (cookie): Make it interactive. Make start and end messages optional.
4253 Interactively, display the result. Default to cookie-file.
4254 (cookie-insert): Default to cookie-file.
4255 (cookie-snarf): Make start and end messages optional.
4256 Default to cookie-file. Use with-temp-buffer.
4257 (cookie-read): Rename from read-cookie.
4258 Make start and end messages optional. Default to cookie-file.
4259 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 4260 Do not autoload it.
e7a526e3
GM
4261 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4262 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4263
62efb35e
LL
42642013-06-21 Leo Liu <sdl.web@gmail.com>
4265
4266 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4267
21e3f963
GM
42682013-06-21 Glenn Morris <rgm@gnu.org>
4269
4270 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4271
fd846ab4
SM
42722013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4273 Daniel Hackney <dan@haxney.org>
4274
4275 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4276 Consolidate the single-file vs tarball code.
4277 (package-desc-suffix): New function.
4278 (package-desc-full-name): Don't bother inlining it.
4279 (package-load-descriptor): Return the new package-desc.
4280 (package-mark-obsolete): Remove unused arg `package'.
4281 (package-unpack): Make it work for single files as well.
4282 Make it update package-alist.
4283 (package--make-autoloads-and-stuff): Rename from
4284 package--make-autoloads-and-compile. Don't compile any more.
4285 (package--compile): New function.
4286 (package-generate-description-file): New function, extracted from
4287 package-unpack-single.
4288 (package-unpack-single): Remove.
4289 (package--with-work-buffer): Add indentation and debugging info.
4290 (package-download-single): Remove.
4291 (package-install-from-archive): Rename from package-download-tar, make
4292 it take a pkg-desc, and make it work for single files as well.
4293 (package-download-transaction): Simplify.
4294 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4295 external tar program.
4296 (package-install-from-buffer): Remove `pkg-desc' argument.
4297 Use package-tar-file-info for tar-mode buffers.
4298 (package-install-file): Simplify accordingly.
4299 (package-archive-base): Change to take a pkg-desc.
4300 * tar-mode.el (tar--check-descriptor): New function, extracted from
4301 tar-get-descriptor.
4302 (tar-get-descriptor): Use it.
4303 (tar-get-file-descriptor): New function.
4304 (tar--extract): New function, extracted from tar-extract.
4305 (tar--extract): Use it.
4306 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4307 case the summary uses non-ascii. Adjust to new calling convention of
4308 package-tar-file-info.
4309
b7deae5e
LL
43102013-06-21 Leo Liu <sdl.web@gmail.com>
4311
fd846ab4
SM
4312 * comint.el (comint-redirect-results-list-from-process):
4313 Fix random delay. (Bug#14681)
b7deae5e 4314
7a65a0b2
JB
43152013-06-21 Juanma Barranquero <lekktu@gmail.com>
4316
4317 * profiler.el (profiler-format-number): Use log, not log10.
4318
1493c2af
JB
43192013-06-20 Juanma Barranquero <lekktu@gmail.com>
4320
4321 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4322
aff6371e
SM
43232013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4324
4325 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4326 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4327 yet available.
4328 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4329 (AUTOGENEL): ... here.
4330 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4331 (cl--defsubst-expand): Use it.
4332
89561f72
PE
43332013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4334
4335 * subr.el (log10): Move here from C code, and declare as obsolete.
4336 All uses of (log10 X) replaced with (log X 10).
4337
47199123
JB
43382013-06-20 Juanma Barranquero <lekktu@gmail.com>
4339
4340 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4341 Declare with `defvar-local'.
4342 (tabulated-list-use-header-line, tabulated-list-entries)
4343 (tabulated-list-padding, tabulated-list-printer)
4344 (tabulated-list-sort-key): Declare with `defvar-local'.
4345 (tabulated-list-init-header, tabulated-list-print-fake-header):
4346 Use `setq-local'.
4347
4a172eab
MA
43482013-06-20 Michael Albinus <michael.albinus@gmx.de>
4349
47199123
JB
4350 * arc-mode.el (archive-mode): Add `archive-write-file' to
4351 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 4352
5fc0acc0
JB
43532013-06-20 Juanma Barranquero <lekktu@gmail.com>
4354
d5b27848
JB
4355 * cus-edit.el (custom-commands): Fix typos.
4356 (custom-display): Fix tooltip text.
4357 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4358 Fix typos in docstrings.
4359 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4360 (custom-unlispify-menu-entry, custom-magic-value-create)
4361 (custom-add-see-also, custom-group-value-create): Use ?\s.
4362 (custom-guess-type, customize-apropos, editable-field)
4363 (custom-face-value-create): Use `string-match-p'.
4364 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4365
4366 * custom.el (custom-load-symbol): Use `string-match-p'.
4367
a5c581d8
JB
4368 * ansi-color.el: Convert to lexical binding.
4369 (ansi-colors): Fix URL.
4370 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4371 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4372 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4373
970ad972
G
43742013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4375
4376 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4377
4378 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4379
43802013-06-19 Tom Tromey <tromey@redhat.com>
4381
4382 * net/eww.el (eww-top-url): Remove.
4383 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4384 (eww-render): Set new variables. Don't set eww-top-url.
4385 (eww-handle-link): Handle "prev", "home", and "contents".
4386 Downcase the rel text.
4387 (eww-top-url): Choose best top URL.
4388
43892013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4390
4391 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4392 relying in widget.el. Using widget.el leads to too many
4393 user interface inconsistencies.
4394 (eww-self-insert): Implement entering commands in text fields.
4395 (eww-process-text-input): New function to make text input field editing
4396 work.
4397 (eww-submit): Rewrite to use the new-style form methods.
4398 (eww-select-display): Display the correct selected item.
4399 (eww-change-select): Implement changing the select value.
4400 (eww-toggle-checkbox): Implement radio/checkboxes.
4401 (eww-update-field): Fix compilation error.
4402 (eww-tag-textarea): Implement <textarea>.
4403
4404 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4405 we don't shadow mode-specific bindings.
4406
4407 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4408 nothing to push.
4409
4410 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4411
4582a01c 44122013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
4413
4414 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4415
15b263dc
MA
44162013-06-19 Michael Albinus <michael.albinus@gmx.de>
4417
4418 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4419 not needed.
4420
4421 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4422
8f5297f7
LMI
44232013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4424
4425 * net/browse-url.el (browse-url-browser-function):
4426 `eww-browse-url' has the right calling signature, `eww' does not.
4427
011c4552
GM
44282013-06-19 Glenn Morris <rgm@gnu.org>
4429
2285bd27
GM
4430 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4431 Only eval autoloaded macros.
4432 (byte-compile-autoload): Only give the macro warning for macros.
4433
1d653303
GM
4434 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4435 (ps-underlined-faces): Declare.
4436
bdd779ec
GM
4437 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4438 (speedbar-add-supported-extension): Declare.
4439
011c4552
GM
4440 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4441 Don't include a date stamp in the header of the generated file;
4442 it leads to needless differences between output files.
4443
e59dfb0e
MA
44442013-06-19 Michael Albinus <michael.albinus@gmx.de>
4445
c763842b
SM
4446 * net/secrets.el (secrets-struct-secret-content-type):
4447 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 4448 Some servers do not offer introspection.
e59dfb0e 4449
102626e2
SM
44502013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * electric.el (electric-pair-mode): Improve interaction with
4453 electric-layout-mode.
4454 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4455 (electric-pair-syntax): Use text-mode-syntax-table in comments
4456 and strings.
4457 (electric-pair--insert): New function.
4458 (electric-pair-post-self-insert-function): Use it and
4459 electric--after-char-pos.
4460
ad528125
LL
44612013-06-19 Leo Liu <sdl.web@gmail.com>
4462
4463 * progmodes/octave.el (octave-help): Fix regexp.
4464
924d6997
G
44652013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4466
4467 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4468 (shr-table-horizontal-line): Allow nil as a value, and change the
4469 default.
4470 (shr-insert-table-ruler): Respect the nil value.
4471
44722013-06-18 Tom Tromey <tromey@barimba>
4473
4474 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4475 New defvars.
4476 (eww-open-file): New defun.
4477 (eww-render): Initialize new variables.
4478 (eww-display-html): Handle "link" and "a".
4479 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4480 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4481 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
4482 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4483 New defuns.
924d6997 4484
d1bbba4f
DG
44852013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4486
4487 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4488 Distinguish ternary operator tokens from slash symbol and slash
4489 char literal.
4490
14dd22d2
JB
44912013-06-18 Juanma Barranquero <lekktu@gmail.com>
4492
4493 Convert symbol prettification into minor mode and global minor mode.
4494
4495 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4496 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4497 (prettify-symbols--keywords): Rename from
4498 `prog-prettify-symbols-alist' and make a local defvar.
4499 (prettify-symbols--compose-symbol): Rename from
4500 `prog--prettify-font-lock-compose-symbol'.
4501 (prettify-symbols--make-keywords): Rename from
4502 `prog-prettify-font-lock-symbols-keywords' and simplify.
4503 (prog-prettify-install): Remove.
4504 (prettify-symbols-mode): New minor mode, based on
4505 `prog-prettify-install'.
4506 (turn-on-prettify-symbols-mode): New function.
4507 (global-prettify-symbols-mode): New globalized minor mode.
4508
4509 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4510 * progmodes/cfengine.el (cfengine3-mode):
4511 * progmodes/perl-mode.el (perl-mode): Don't call
4512 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4513
292c880c
JL
45142013-06-18 Juri Linkov <juri@jurta.org>
4515
4516 * files-x.el (modify-file-local-variable-message): New function.
4517 (modify-file-local-variable)
4518 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4519 and call `modify-file-local-variable-message' when it's non-nil.
4520 (add-file-local-variable, delete-file-local-variable)
4521 (add-file-local-variable-prop-line)
4522 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4523 and use it. (Bug#9820)
4524
0950aa27
JL
45252013-06-18 Juri Linkov <juri@jurta.org>
4526
4527 * emulation/vi.el (vi-shell-op):
4528 * emulation/vip.el (vip-execute-com, ex-command):
4529 * emulation/viper-cmd.el (viper-exec-bang):
4530 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4531 the call of `shell-command-on-region'. (Bug#14637)
4532
4533 * simple.el (shell-command-on-region): Doc fix.
4534
8fbcca16
SM
45352013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4536
4537 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4538 (bug#14633).
4539
dd7426ea
GM
45402013-06-18 Glenn Morris <rgm@gnu.org>
4541
4ba54f7d
GM
4542 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4543
dd7426ea
GM
4544 * newcomment.el (comment-search-forward, comment-search-backward):
4545 Doc fix. (Bug#14376)
4546
58aa805b
JB
45472013-06-18 Juanma Barranquero <lekktu@gmail.com>
4548
4549 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4550 (buffer-face-mode-invoke): Doc fix.
4551
9a08a617
MM
45522013-06-18 Matthias Meulien <orontee@gmail.com>
4553
4554 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 4555 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 4556
f2f426ca
GM
45572013-06-18 Glenn Morris <rgm@gnu.org>
4558
9445f99b
GM
4559 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4560 Replace obsolete function generic-make-keywords with its expansion.
4561
e0df2d14
GM
4562 * progmodes/python.el (ffap-alist): Declare.
4563
f2f426ca
GM
4564 * textmodes/reftex.el (bibtex-mode-map): Declare.
4565
f7f9a720
SM
45662013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4567
4568 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4569 (package-unpack, package-unpack-single): Return the pkg-dir.
4570 (package-download-transaction): Use it to update package-alist.
4571
57ff04e0
LMI
45722013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4573
4574 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4575 possible choice.
4576
c048c022
JL
45772013-06-17 Juri Linkov <juri@jurta.org>
4578
4579 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4580
b5bcaee5
DG
45812013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4582
a020afb9
JB
4583 * emacs-lisp/package.el (package-load-descriptor):
4584 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
4585 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4586
551e07e5
JB
45872013-06-17 Juanma Barranquero <lekktu@gmail.com>
4588
4589 * startup.el (command-line): Expand package name returned by
4590 `package--description-file' (bug#14639).
4591
d363bffb
DG
45922013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4593
4594 * emacs-lisp/package.el (package-load-descriptor): Do not call
4595 `emacs-lisp-mode', just use its syntax table.
4596
f612933b
JB
45972013-06-17 Juanma Barranquero <lekktu@gmail.com>
4598
4599 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4600 `font-lock-extra-managed-props' if any prettifying keyword is added.
4601 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4602 (prog-mode): Use `setq-local'.
4603
db3b7db5
SM
46042013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4605
4606 * international/characters.el (standard-case-table): Set syntax of ?»
4607 and ?« to punctuation.
4608
f3d674df
JB
46092013-06-16 Juanma Barranquero <lekktu@gmail.com>
4610
4611 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4612 Save relevant match data before calling `syntax-ppss' (bug#14595).
4613
31489a32
JL
46142013-06-15 Juri Linkov <juri@jurta.org>
4615
4616 * files-x.el (modify-file-local-variable-prop-line): Add local
4617 variables to the end of the existing comment on the first line.
4618 Use `file-auto-mode-skip' to skip interpreter magic line,
4619 and also skip XML declaration.
4620
66bd25ab
SM
46212013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4622
4623 * startup.el (package--builtin-versions): New var.
4624 (package-subdirectory-regexp): Remove.
4625 (package--description-file): Hard code its value instead.
4626
4627 * emacs-lisp/package.el: Don't activate packages older than builtin.
4628 (package-obsolete-list): Rename from package-obsolete-alist, and make
4629 it into a simple list of package-desc.
4630 (package-strip-version): Remove.
4631 (package-built-in-p): Use package--builtin-versions.
4632 (package-mark-obsolete): Simplify.
4633 (package-process-define-package): Mark it obsolete if older than the
4634 builtin version.
4635 (package-handle-response): Use line-end-position.
4636 (package-read-archive-contents, package--download-one-archive):
4637 Simplify.
4638 (package--add-to-archive-contents): Skip if older than the builtin or
4639 installed version.
4640 (package-menu-describe-package): Fix last change.
4641 (package-list-unversioned): New var.
4642 (package-menu--generate): Use it.
4643
4644 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4645 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4646 (autoload-builtin-package-versions): New variable.
4647 (autoload-generate-file-autoloads): Use them.
4648 Remove the list of autoloaded functions/macros from the
4649 (autoload...) comments.
4650
4651 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4652
9583ec36
EZ
46532013-06-15 Eli Zaretskii <eliz@gnu.org>
4654
4655 * simple.el (line-move-partial): Don't jump to the next screen
4656 line as soon as it becomes visible. Instead, continue enlarging
4657 the vscroll until the portion of a tall screen line that's left on
4658 display is about the height of the frame's default font.
4659 (Bug#14567)
4660
f0100d8a
GM
46612013-06-15 Glenn Morris <rgm@gnu.org>
4662
b86a85ca
GM
4663 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4664 compilation-error-regexp-alist void, or local while let-bound.
4665
f0100d8a
GM
4666 * progmodes/make-mode.el (makefile-mode-syntax-table):
4667 Treat "=" as punctuation. (Bug#14614)
4668
05e7ce90
JB
46692013-06-15 Juanma Barranquero <lekktu@gmail.com>
4670
4671 * help-fns.el (describe-variable):
4672 Add extra line for permanent-local variables.
4673
12e5e86e
SH
46742013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4675
4676 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4677 Add export, import, library. (Bug#9164)
4678 (library): Set indent function.
4679
230dcbaf
GM
46802013-06-14 Glenn Morris <rgm@gnu.org>
4681
4682 * term/xterm.el (xterm--query):
4683 Stop after first matching handler. (Bug#14615)
4684
e36b2d20 46852013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
4686
4687 Add support for dired in saveplace.
4688 * dired.el (dired-initial-position-hook): New variable.
4689 (dired-initial-position): Call hook to place cursor position.
4690 * saveplace.el (save-place-to-alist): Add dired position.
4691 (save-place-dired-hook): New function.
4692
0b31660d
SM
46932013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4694
bf1e6ae8
SM
4695 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4696 through a symbol rather than letrec.
4697
1b8dff23
SM
4698 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4699 (package-desc): Add `dir' field.
4700 (package-desc-full-name): New function.
4701 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4702 (package-maybe-load-descriptor): Remove.
4703 (package-load-all-descriptors): Just call package-load-descriptor.
4704 (package--disabled-p): New function.
4705 (package-desc-vers, package-desc-doc): Remove aliases.
4706 (package--dir): Remove function.
4707 (package-activate): Check if a package is disabled.
4708 (package-process-define-package): New function, extracted from
4709 define-package.
4710 (define-package): Turn into a place holder.
4711 (package-unpack-single, package-tar-file-info):
4712 Use package--description-file.
4713 (package-compute-transaction): Use package--disabled-p.
4714 (package-download-transaction): Don't call
4715 package-maybe-load-descriptor since they're all loaded anyway.
4716 (package-install): Change argument to be a pkg-desc.
4717 (package-delete): Use a single pkg-desc argument.
4718 (describe-package-1): Use package-desc-dir instead of package--dir.
4719 Use package-desc property instead of package-symbol.
4720 (package-install-button-action): Adjust accordingly.
4721 (package--push): Rewrite.
4722 (package-menu--print-info): Adjust accordingly. Change the ID format
4723 to be a pkg-desc.
4724 (package-menu-describe-package, package-menu-get-status)
4725 (package-menu--find-upgrades, package-menu-mark-upgrades)
4726 (package-menu-execute, package-menu--name-predicate):
4727 Adjust accordingly.
4728 * startup.el (package--description-file): New function.
4729 (command-line): Use it.
4730 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4731 Use package-desc-version.
4732
0b31660d
SM
4733 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4734 (byte-compile-preprocess): Use it.
4735 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4736 can't quite recognize.
4737 (byte-compile-add-to-list): Remove.
4738 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4739 (cconv-closure-convert): Add assertion.
4740
4741 * emacs-lisp/map-ynp.el: Use lexical-binding.
4742 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4743 Factor out some repeated code.
4744
de0503df
SM
47452013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4746
4747 * subr.el (with-eval-after-load): New macro.
4748 (eval-after-load): Allow form to be a function.
4749 take advantage of lexical-binding.
4750 (do-after-load-evaluation): Use dolist and adjust to new format.
4751 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4752
bc5c8c5a
JL
47532013-06-13 Juri Linkov <juri@jurta.org>
4754
4755 * replace.el (perform-replace): Display "symbol " and other search
4756 modes from `isearch-message-prefix' in the *Help* buffer.
4757
4758 * isearch.el (isearch-query-replace): Add " symbol" and other
4759 possible search modes from `isearch-message-prefix' to the prompt.
4760 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4761 when reading a regexp to collect.
4762
a22289f7
JL
47632013-06-13 Juri Linkov <juri@jurta.org>
4764
4765 * isearch.el (word-search-regexp): Match whitespace if the search
4766 string begins or ends in whitespace. The LAX arg is applied to
4767 both ends of the search string. Use `regexp-quote' and explicit
4768 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4769 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4770 boundaries are replaced with symbol boundaries, and characters
4771 between symbols match non-word non-symbol syntax. (Bug#14602)
4772
cb89acab
JL
47732013-06-13 Juri Linkov <juri@jurta.org>
4774
4775 * isearch.el (isearch-del-char): Don't exceed the length of
4776 `isearch-string' by the prefix arg. (Bug#14563)
4777
6e8cfc81
JL
47782013-06-13 Juri Linkov <juri@jurta.org>
4779
4780 * isearch.el (isearch-yank-word, isearch-yank-line)
4781 (isearch-char-by-name, isearch-quote-char)
4782 (isearch-printing-char, isearch-process-search-char):
4783 Add optional count prefix arg. (Bug#14563)
4784
4785 * international/isearch-x.el
4786 (isearch-process-search-multibyte-characters):
4787 Add optional count prefix arg.
4788
c23d55f4
VS
47892013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4790
4791 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4792 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4793 lexical-binding.
4794
47952013-06-13 Vitalie Spinu <spinuvit@gmail.com>
4796
4797 * subr.el (set-temporary-overlay-map): Add on-exit argument.
4798
ba947bc4
GM
47992013-06-13 Glenn Morris <rgm@gnu.org>
4800
8baeb37a
GM
4801 * startup.el (tty-handle-args):
4802 Don't just discard "--" and anything after. (Bug#14608)
4803
ba947bc4
GM
4804 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4805
9abefce4
MA
48062013-06-13 Michael Albinus <michael.albinus@gmx.de>
4807
4808 Implement changes in Secret Service API. Make it backward compatible.
4809 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4810 (secrets-create-item): Use it. Prefix properties with interface.
4811
5755011f
MH
48122013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
4813
4814 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
4815 (term-emulate-terminal): Respect term-suppress-hard-newline.
4816
1261d2da
S
48172013-06-13 E Sabof <esabof@gmail.com> (tiny change)
4818
4819 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4820 Only remove a `thumb-file' overlay. (Bug#14548)
4821
868490bb
GJ
48222013-06-12 Grégoire Jadi <daimrod@gmail.com>
4823
4824 * mail/reporter.el (reporter-submit-bug-report):
4825 Handle missing package-name. (Bug#14600)
4826
79d7167f
TH
48272013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4828
4829 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
4830 (reftex-citation-prompt, reftex-default-bibliography)
4831 (reftex-bib-or-thebib, reftex-get-bibfile-list)
4832 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4833 (reftex-bib-sort-author, reftex-bib-sort-year)
4834 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
4835 (reftex-extract-bib-entries-from-thebibliography)
4836 (reftex-get-bibkey-default, reftex-get-bib-names)
4837 (reftex-parse-bibtex-entry, reftex-get-bib-field)
4838 (reftex-format-bib-entry, reftex-parse-bibitem)
4839 (reftex-format-bibitem, reftex-do-citation)
4840 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
4841 (reftex-restrict-bib-matches, reftex-extract-bib-file)
4842 (reftex-insert-bib-matches, reftex-format-citation)
4843 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
4844 (reftex-create-bibtex-file): Add docstrings, mostly by converting
4845 existing comments into docstrings.
4846
5f9dbd7a
XF
48472013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4848
4849 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
4850
94df41ab
AS
48512013-06-12 Andreas Schwab <schwab@suse.de>
4852
4853 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
4854 for auto-save files.
4855
a7f3fecc
GM
48562013-06-12 Glenn Morris <rgm@gnu.org>
4857
001809f6
GM
4858 * ido.el (ido-delete-ignored-files): Remove.
4859 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
4860 Go back to calling ido-ignore-item-p directly.
a7f3fecc 4861
834b5ded
EL
48622013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
4863
08c73ed2
EL
4864 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
4865
834b5ded
EL
4866 * ido.el (ido-delete-ignored-files): New function,
4867 split from ido-make-file-list-1.
4868 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
4869 (ido-make-file-list-1): Use ido-delete-ignored-files.
4870
daabf15a
LL
48712013-06-12 Leo Liu <sdl.web@gmail.com>
4872
4873 * progmodes/octave.el (inferior-octave-startup)
4874 (inferior-octave-completion-table)
4875 (inferior-octave-track-window-width-change)
4876 (octave-eldoc-function-signatures, octave-help)
4877 (octave-find-definition): Use single quoted strings.
4878 (inferior-octave-startup-args): Change default value.
4879 (inferior-octave-startup): Do not hard code "-i" and
4880 "--no-line-editing".
4881 (inferior-octave-resync-dirs): Add optional arg NOERROR.
4882 (inferior-octave-directory-tracker): Use it.
4883 (octave-goto-function-definition): Robustify.
4884 (octave-help): Support highlighting operators in 'See also'.
4885 (octave-find-definition): Find subfunctions only in Octave mode.
4886
cf4e5178
SM
48872013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4888
4889 * help-fns.el (help-fns--compiler-macro): If the handler function is
4890 named, then put a link to it.
4891 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
4892 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
4893 (cl-typep): Use it.
4894 (cl-eval-when): Simplify debug spec.
4895 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
4896 compiler-macro function instead of setting `compiler-macro-file'.
4897
99c81280 48982013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
4899
4900 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
4901 * vc/vc-hooks.el (vc-stay-local): Doc fix.
4902
f56be016
SM
49032013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4904 Daniel Hackney <dan@haxney.org>
4905
4906 First part of Daniel Hackney's patch to package.el.
4907 * emacs-lisp/package.el: Use defstruct.
4908 (package-desc): New, main struct.
4909 (package--bi-desc, package--ac-desc): New structs, used to describe the
4910 format in external files.
4911 (package-desc-vers): Replace with package-desc-version accessor.
4912 (package-desc-doc): Replace with package-desc-summary accessor.
4913 (package-activate-1): Remove `package' arg since the pkg-vec now
4914 includes the name.
4915 (define-package): Use package-desc-from-define.
4916 (package-unpack-single): Change file-name arg to be a symbol.
4917 (package--add-to-archive-contents): Use package-desc-create and new
4918 accessor functions to package--ac-desc.
4919 (package-buffer-info, package-tar-file-info): Return a package-desc.
4920 (package-install-from-buffer): Remove `type' argument. Change pkg-info
4921 arg to be a package-desc.
4922 (package-install-file): Adjust accordingly. Use \' to match EOS.
4923 (package--from-builtin): New function.
4924 (describe-package-1, package-menu--generate): Use it.
4925 (package--make-autoloads-and-compile): Change name arg to be a symbol.
4926 (package-generate-autoloads): Idem and return the name of the file.
4927 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4928 Change pkg-info arg to be a package-desc.
4929 Use package-make-ac-desc.
4930 (package-upload-file): Use \' to match EOS.
4931 * finder.el (finder-compile-keywords): Use package-make-builtin.
4932
31119d63
SM
49332013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4934
931a2762
SM
4935 * vc/vc.el (vc-deduce-fileset): Change error message.
4936 (vc-read-backend): New function.
4937 (vc-next-action): Use it.
4938
5a3eb0c6
SM
4939 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
4940
e3eb1bb7
SM
4941 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
4942 (prolog-font-lock-keywords): Use regexp-opt instead.
4943 Don't manually highlight strings.
4944 (prolog-mode-variables): Simplify comment-start-skip.
4945 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
4946
31119d63
SM
4947 * emacs-lisp/generic.el (generic--normalise-comments)
4948 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
4949 (generic-mode-set-comments): Use them.
4950 (generic-bracket-support): Use setq-local.
4951 (generic-make-keywords-list): Declare obsolete.
4952
7de135d0
GM
49532013-06-11 Glenn Morris <rgm@gnu.org>
4954
4955 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4956 Prettify after setting font-lock-defaults. (Bug#14574)
4957
fa6bc6fd
JB
49582013-06-11 Juanma Barranquero <lekktu@gmail.com>
4959
4960 * replace.el (query-replace, occur-read-regexp-defaults-function)
4961 (replace-search):
4962 * subr.el (declare-function, number-sequence, local-set-key)
4963 (substitute-key-definition, locate-user-emacs-file)
4964 (with-silent-modifications, split-string, eval-after-load):
4965 Fix typos, remove unneeded backslashes and reflow some docstrings.
4966
cf1f9b9a
SM
49672013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4968
4969 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
4970 default for Elisp files.
4971
56602a4b
GM
49722013-06-11 Glenn Morris <rgm@gnu.org>
4973
4974 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
4975 although define-derived-mode was doing this anyway. (Bug#14583)
4976
30ae0b2c
JB
49772013-06-10 Juanma Barranquero <lekktu@gmail.com>
4978
4979 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4980 Fix make-variable-buffer-local call to refer to the correct variable.
4981
fa472906
AG
49822013-06-10 Aidan Gauland <aidalgol@amuri.net>
4983
4984 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
4985 (eshell-visual-subcommands, eshell-visual-options):
4986 Add summary line to docstrings. Add cross-references.
fa472906 4987
ff4871b9
GM
49882013-06-10 Glenn Morris <rgm@gnu.org>
4989
4990 * epa.el (epa-read-file-name): New function. (Bug#14510)
4991 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
4992
04fcf1b0
AG
49932013-06-09 Aidan Gauland <aidalgol@amuri.net>
4994
4995 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
4996 output redirection to be ignored with visual commands.
4997
88b00caa
AG
49982013-06-09 Aidan Gauland <aidalgol@amuri.net>
4999
5000 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
5001 (eshell-term-initialize): Move long lambda to separate function
5002 eshell-visual-command-p.
e7b41c4c
JB
5003 * eshell/em-dirs.el (eshell-dirs-initialise):
5004 * eshell/em-script.el (eshell-script-initialize):
5005 Add missing #' to lambda.
88b00caa 5006
fda74125
LL
50072013-06-08 Leo Liu <sdl.web@gmail.com>
5008
5009 * progmodes/octave.el (octave-add-log-current-defun): New function.
5010 (octave-mode): Set add-log-current-defun-function.
5011 (octave-goto-function-definition): Do not move point if not found.
5012 (octave-find-definition): Enhance to try subfunctions first.
5013
467f3b33
GM
50142013-06-08 Glenn Morris <rgm@gnu.org>
5015
5016 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5017 (byte-compile-backward-char, byte-compile-backward-word):
5018 Improve previous change, to handle non-explicit nil.
5019
544badc3
SM
50202013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5021
5022 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5023 (smie--opener/closer-at-point): New function.
5024 (smie--matching-block-data): Use it. Don't match from right after an
5025 opener or right before a closer. Obey smie-blink-matching-inners.
5026 Don't signal a mismatch for repeated inners like "switch..case..case".
5027
a175bf33
LL
50282013-06-07 Leo Liu <sdl.web@gmail.com>
5029
5030 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5031 to t. (Bug#14303)
ce8209d4
LL
5032 (octave-function-header-regexp): Fix. (Bug#14570)
5033 (octave-help-mode-finish-hook, octave-help-mode-finish):
5034 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
5035
5036 * newcomment.el (comment-search-backward): Revert last change.
5037 (Bug#14434)
5038
5039 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5040
a822acff
EZ
50412013-06-07 Eli Zaretskii <eliz@gnu.org>
5042
5043 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5044 through xargs, to avoid failure due to MS-Windows limitations on
5045 command-line length.
5046
961166f5
GM
50472013-06-06 Glenn Morris <rgm@gnu.org>
5048
d0341459
GM
5049 * font-lock.el (lisp-font-lock-keywords-2):
5050 Treat user-error like error.
5051
961166f5
GM
5052 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5053 (byte-compile-backward-char, byte-compile-backward-word):
5054 Handle explicit nil arguments. (Bug#14565)
5055
80fa505f
AM
50562013-06-05 Alan Mackenzie <acm@muc.de>
5057
5058 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 5059 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 5060 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 5061 (Bug#9706)
80fa505f 5062
fccdc796
SM
50632013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5064
5065 * autorevert.el (auto-revert-notify-handler): Use memq.
5066 Hide assertion failure.
5067
5068 * skeleton.el: Use cl-lib.
5069 (skeleton-further-elements): Use defvar-local.
5070 (skeleton-insert): Use cl-progv.
5071
9bfff84b
TZ
50722013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5073
5074 * progmodes/prog-mode.el (prog-prettify-symbols)
5075 (prog-prettify-install): Update docstrings.
5076
55577e7c
SM
50772013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5078
5079 * simple.el: Move all the prog-mode code to prog-mode.el.
5080 * progmodes/prog-mode.el: New file.
5081 * loadup.el: Add prog-mode.el.
5082
8fc57765
TZ
50832013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5084
5085 * simple.el (prog-prettify-symbols): Add version.
5086 (prog-prettify-install): Add convenience function to prettify symbols.
5087
5088 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5089 (perl--augmented-font-lock-keywords-1)
5090 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5091 variables and use it.
5092
5093 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5094 (cfengine3-mode): Remove unneeded variable and use it.
5095
5096 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5097 (lisp--augmented-font-lock-keywords-1)
5098 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5099 Remove unneeded variables and use it.
5100
650645d5 51012013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
5102
5103 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 5104 to point when opening the connection. (Bug#14380)
28f5da6d 5105
781b4af6
SM
51062013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5107
5108 * subr.el (load-history-regexp, load-history-filename-element)
5109 (eval-after-load, after-load-functions, do-after-load-evaluation)
5110 (eval-next-after-load, display-delayed-warnings)
5111 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5112 definition of save-match-data.
5113 (overriding-local-map): Remove accidental obsolescence declaration.
5114
5115 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5116
3ca0d0b4
TZ
51172013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5118
5119 Generalize symbol prettify support to prog-mode and implement it
5120 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5121 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5122 (prog--prettify-font-lock-compose-symbol)
5123 (prog-prettify-font-lock-symbols-keywords): New variables and
5124 functions to support symbol prettification.
5125 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5126 (lisp--augmented-font-lock-keywords-1)
5127 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5128 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5129 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
5130 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5131 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
5132 * progmodes/perl-mode.el (perl-prettify-symbols)
5133 (perl--font-lock-compose-symbol)
5134 (perl--font-lock-symbols-keywords): Move to prog-mode.
5135 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5136 (perl-font-lock-keywords-1)
5137 (perl-font-lock-keywords-2): Remove explicit prettify support.
5138 (perl--augmented-font-lock-keywords)
5139 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
5140 (perl--augmented-font-lock-keywords-2, perl-mode):
5141 Implement prettify support.
3ca0d0b4 5142
976cb066
LL
51432013-06-05 Leo Liu <sdl.web@gmail.com>
5144
5145 Re-implement smie matching block highlight using
5146 show-paren-data-function. (Bug#14395)
5147 * emacs-lisp/smie.el (smie-matching-block-highlight)
5148 (smie--highlight-matching-block-overlay)
5149 (smie--highlight-matching-block-lastpos)
5150 (smie-highlight-matching-block)
5151 (smie-highlight-matching-block-mode): Remove.
5152 (smie--matching-block-data-cache): New variable.
5153 (smie--matching-block-data): New function.
5154 (smie-setup): Use smie--matching-block-data for
5155 show-paren-data-function.
5156
5157 * progmodes/octave.el (octave-mode-menu): Fix.
5158 (octave-find-definition): Skip garbage lines.
5159
208d0342
SM
51602013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 Fix compilation error with simultaneous dynamic+lexical scoping.
5163 Add warning when a defvar appears after the first let-binding.
5164 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5165 (byte-compile-close-variables): Initialize it.
5166 (byte-compile--declare-var): New function.
5167 (byte-compile-file-form-defvar)
5168 (byte-compile-file-form-define-abbrev-table)
5169 (byte-compile-file-form-custom-declare-variable): Use it.
5170 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5171 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5172 (byte-compile-bind): Handle dynamic bindings that shadow
5173 lexical bindings.
5174 (byte-compile-unbind): Make arg non-optional.
5175 (byte-compile-let): Simplify.
5176 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5177 (cconv--analyse-function, cconv-analyse-form): Populate it.
5178 Protect byte-compile-bound-variables to limit the scope of defvars.
5179 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5180 Remove unneeded rule for `declare'.
5181
5182 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5183 so as to avoid depending on cl-adjoin at run-time.
5184 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5185
5186 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5187 (macroexp--warn-and-return): Use it.
5188
2587b005
LL
51892013-06-05 Leo Liu <sdl.web@gmail.com>
5190
5191 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5192
f1da3c88
LL
51932013-06-04 Leo Liu <sdl.web@gmail.com>
5194
5195 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5196 (compilation-auto-jump): Suppress the "Mark set" message to give
5197 way to exit message.
5198
3caa391f
AM
51992013-06-04 Alan Mackenzie <acm@muc.de>
5200
5201 Remove faulty optimisation from indentation calculation.
5202 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5203 search limit based on 2000 characters back from indent-point.
5204
068922a2
TH
52052013-06-03 Tassilo Horn <tsdh@gnu.org>
5206
5207 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5208
1f8fdd53
SM
52092013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5210
bbcc4d97
SM
5211 * emacs-lisp/lisp.el: Use lexical-binding.
5212 (lisp--local-variables-1, lisp--local-variables): New functions.
5213 (lisp--local-variables-completion-table): New var.
208d0342 5214 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 5215
1f8fdd53
SM
5216 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5217 eagerly (bug#14422).
5218
c9628c79
MA
52192013-06-03 Michael Albinus <michael.albinus@gmx.de>
5220
5221 * autorevert.el (auto-revert-notify-enabled)
5222 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5223 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5224 (auto-revert-notify-handler): Handle also gfilenotify.
5225
e7b41c4c 5226 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 5227 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 5228 Remove.
c9628c79 5229
e5e4a942
JL
52302013-06-03 Juri Linkov <juri@jurta.org>
5231
5232 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5233 `M-s h .'. (Bug#14427)
5234
5235 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5236 command `hi-lock-face-symbol-at-point'.
5237 (hi-lock-face-symbol-at-point): New command.
5238 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5239 (hi-lock-menu): Add `highlight-symbol-at-point'.
5240 (hi-lock-mode): Doc fix.
5241
5242 * isearch.el (isearch-forward-symbol-at-point): New command.
5243 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5244 (isearch-highlight-regexp): Add a regexp which matches
5245 words/symbols for word/symbol mode.
5246
5247 * subr.el (find-tag-default-bounds): New function with the body
5248 mostly moved from `find-tag-default'.
5249 (find-tag-default): Move most code to `find-tag-default-bounds',
5250 call it and apply `buffer-substring-no-properties' afterwards.
5251
26b3353a
TH
52522013-06-03 Tassilo Horn <tsdh@gnu.org>
5253
781b4af6
SM
5254 * eshell/em-term.el (eshell-term-initialize):
5255 Use `cl-intersection' rather than `intersection'.
26b3353a 5256
51b60f53
XF
52572013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5258
fe054b63 5259 * vc/log-view.el: Doc fix.
d3ffe17c 5260 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 5261
a0eb10b3 52622013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
5263
5264 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5265 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5266 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5267 (eieio-unbound, eieio-default-superclass)
5268 (eieio--define-field-accessors, method-static, method-before)
5269 (method-primary, method-after, method-num-lists)
5270 (method-generic-before, method-generic-primary)
5271 (method-generic-after, method-num-slots)
5272 (eieio-specialized-key-to-generic-key)
5273 (eieio--check-type, class-v, class-p)
5274 (eieio-class-name, define-obsolete-function-alias)
5275 (eieio-class-parents-fast, eieio-class-children-fast)
5276 (same-class-fast-p, class-constructor, generic-p)
5277 (generic-primary-only-p, generic-primary-only-one-p)
5278 (class-option-assoc, class-option, eieio-object-p)
5279 (class-abstract-p, class-method-invocation-order)
5280 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5281 (eieio-class-un-autoload, eieio-defclass)
5282 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5283 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5284 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5285 (eieio-defgeneric-reset-generic-form)
5286 (eieio-defgeneric-form-primary-only)
5287 (eieio-defgeneric-reset-generic-form-primary-only)
5288 (eieio-defgeneric-form-primary-only-one)
5289 (eieio-defgeneric-reset-generic-form-primary-only-one)
5290 (eieio-unbind-method-implementations)
5291 (eieio--defmethod, eieio--typep)
5292 (eieio-perform-slot-validation, eieio-validate-slot-value)
5293 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5294 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5295 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5296 (eieio-slot-name-index, eieio-class-slot-name-index)
5297 (eieio-set-defaults, eieio-initarg-to-attribute)
5298 (eieio-attribute-to-initarg, eieio-c3-candidate)
5299 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5300 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5301 (eieio-class-precedence-list, eieio-generic-call-methodname)
5302 (eieio-generic-call-arglst, eieio-generic-call-key)
5303 (eieio-generic-call-next-method-list)
5304 (eieio-pre-method-execution-functions, eieio-generic-call)
5305 (eieio-generic-call-primary-only, eieiomt-method-list)
5306 (eieiomt-optimizing-obarray, eieiomt-install)
5307 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5308 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 5309 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
5310 (defclass): Remove `eval-and-compile' from macro.
5311 (call-next-method, shared-initialize): Instead of using
5312 `scoped-class' variable, use new eieio--scoped-class, and
5313 eieio--with-scoped-class.
5314 (initialize-instance): Rename local variable 'scoped-class' to
5315 'this-class' to remove ambiguitity from old global.
5316
5317 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5318 eieio.el.
4f405069
JB
5319 (eieio--scoped-class-stack): New variable.
5320 (eieio--scoped-class): New fcn.
890f7890
DE
5321 (eieio--with-scoped-class): New scoping macro.
5322 (eieio-defclass): Use pushnew instead of add-to-list.
5323 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5324 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5325 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5326 `scoped-class' variable, use new eieio--scoped-class, and
5327 eieio--with-scoped-class.
5328
5329 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5330
d105b0e2
TH
53312013-06-02 Tassilo Horn <tsdh@gnu.org>
5332
5333 * eshell/esh-ext.el (eshell-external-command): Pass args to
5334 `eshell-find-interpreter'.
5335 (eshell-find-interpreter): Add new second parameter ARGS.
5336
5337 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 5338 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5339
5340 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 5341 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5342
5343 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5344 (eshell-visual-options): New defcustom.
5345 (eshell-escape-control-x): Adapt docstring.
5346 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5347 `eshell-visual-options' in addition to `eshell-visual-commands'.
5348 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5349
f46305c8 53502013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
5351
5352 * progmodes/python.el (python-indent-block-enders): Add break,
5353 continue and raise keywords.
5354
d870df21
GM
53552013-06-01 Glenn Morris <rgm@gnu.org>
5356
9133b82e
GM
5357 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5358
02c992ec 5359 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
5360 * progmodes/cc-cmds.el (delete-forward-p):
5361 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5362 * progmodes/cc-engine.el (buffer-syntactic-context):
5363 * progmodes/cc-fonts.el (face-property-instance):
5364 * progmodes/cc-mode.el (set-keymap-parents):
5365 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5366 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5367 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
5368 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5369 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 5370
31e7b090
GM
5371 * progmodes/cc-vars.el (other): Emacs has this widget since
5372 at least 21.1, so don't (re)define it.
5373
d870df21
GM
5374 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5375 Replace the obsolete alias pcomplete-arg-quote-list.
5376
c75c93c7
LL
53772013-06-01 Leo Liu <sdl.web@gmail.com>
5378
5379 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5380 punctuation syntax.
5381 (inferior-octave-minimal-columns)
5382 (inferior-octave-last-column-width): New variables.
5383 (inferior-octave-track-window-width-change): New function.
5384 (inferior-octave-mode): Adjust column width so that Octave output,
5385 for example from 'ls', can fit into the window nicely.
5386
973d1e12
DG
53872013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5388
5389 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5390 Highlight expansions inside regexp literals.
5391
0888c286
GM
53922013-05-31 Glenn Morris <rgm@gnu.org>
5393
e26aac1f
GM
5394 * obsolete/sym-comp.el (symbol-complete):
5395 Replace obsolete completion-annotate-function.
5396
0888c286
GM
5397 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5398
19bb8e62
DG
53992013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5400
781b4af6
SM
5401 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5402 New function, checks if point is inside a literal that allows
19bb8e62
DG
5403 expression expansion.
5404 (ruby-syntax-propertize-expansion): Use it.
5405 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5406 around the body.
5407
01dea85f
JL
54082013-05-30 Juri Linkov <juri@jurta.org>
5409
5410 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5411 to "\M-si".
5412 (isearch-invisible): New variable.
5413 (isearch-forward): Doc fix.
5414 (isearch-mode): Set `isearch-invisible'
5415 to the value of `search-invisible'.
5416 (isearch-toggle-case-fold): Doc fix.
5417 (isearch-toggle-invisible): New command.
5418 (isearch-query-replace): Let-bind `search-invisible'
5419 to the value of `isearch-invisible'.
5420 (isearch-search): Use `isearch-invisible' instead of
5421 `search-invisible'. Let-bind `search-invisible'
5422 to the value of `isearch-invisible'. (Bug#11378)
5423
ab1bdce5
JL
54242013-05-30 Juri Linkov <juri@jurta.org>
5425
5426 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5427 call when `query-flag' is nil and `search-invisible' is non-nil.
5428 (Bug#11746)
5429
d6d236e2
GM
54302013-05-30 Glenn Morris <rgm@gnu.org>
5431
8accd027
GM
5432 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5433
2a8bed1c
GM
5434 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5435 (cc-require): Suppress spurious "noruntime" warnings.
5436 (cc-require-when-compile): Use fboundp, for sake of compiler.
5437
d6d236e2
GM
5438 * progmodes/cc-mode.el: Move load of cc-vars before that of
5439 cc-langs (which in turn loads cc-vars), to quieten compiler.
5440
9190b35b
SM
54412013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5442
5443 * paren.el: Simplify the code.
5444 (show-paren-mode): Always start the timer.
5445 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5446 (show-paren--overlay, show-paren--overlay-1): Rename from
5447 show-paren-overlay and show-paren-overlay-1, and initialize to an
5448 overlay rather than to nil.
5449 (show-paren-function): Misc cleanup and simplifications.
5450
4f8d1cf6
SM
54512013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5452
5453 * paren.el (show-paren-data-function): New hook.
5454 (show-paren--default): New function, extracted from show-paren-function.
5455 (show-paren-function): Use show-paren-data-function.
5456
02d844b5
GM
54572013-05-30 Glenn Morris <rgm@gnu.org>
5458
d209d4a9
GM
5459 * ielm.el (ielm-map, ielm-complete-symbol):
5460 Use completion-at-point rather than obsolete functions.
5461 (inferior-emacs-lisp-mode): Doc fix.
5462 Set completion-at-point-functions, rather than
5463 comint-dynamic-complete-functions.
5464
2082faa6
GM
5465 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5466 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5467 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5468
dd8620de
GM
5469 * image.el (image-animated-p): Tweak definition.
5470
ceca95b1
GM
5471 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5472 (rlogin-process-connection-type): Tweak default. Add set-after.
5473 (rlogin-host): Doc fix.
5474 (rlogin): Tweak prompt.
5475 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5476
ee9f1acc
GM
5477 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5478 * progmodes/tcl.el (inferior-tcl-mode-map):
5479 Use completion-at-point rather than obsolete alias.
5480
45ce222e
GM
5481 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5482
02d844b5
GM
5483 * minibuffer.el (read-file-name-completion-ignore-case):
5484 Move before completion--in-region, for eager macro expansion.
5485
ac44d6c1
JL
54862013-05-29 Juri Linkov <juri@jurta.org>
5487
5488 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5489 for total count of matching lines. Add `global-matches' for total
5490 count of matches. Rename `matches' to `lines' for count of
5491 matching lines. Add `matches' for count of matches.
5492 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5493 to `prev-line' for line number of prev match endpt.
5494 Increment `matches' for every match. Print the number of
5495 matching lines in the header.
5496 (occur-context-lines): Rename `lines' to `curr-line'.
5497 Rename `prev-lines' to `prev-line'. (Bug#14017)
5498
3c9c9d38
JL
54992013-05-29 Juri Linkov <juri@jurta.org>
5500
5501 * replace.el (perform-replace): Add `skip-read-only-count',
5502 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5503 Increment them for corresponding conditions and report the number
5504 of skipped occurrences in the final message. (Bug#11746)
5505 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5506 (replace-string, replace-regexp): Doc fix.
5507
33e249a2
SM
55082013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5509
8e399682
SM
5510 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5511
33e249a2 5512 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 5513 prog-mode-map (bug#14504).
33e249a2 5514
f236dd84
LL
55152013-05-29 Leo Liu <sdl.web@gmail.com>
5516
5517 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5518 (octave-help): Small simplification.
5519
5520 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5521 off the highlight first.
5522
3694d13f
GM
55232013-05-29 Glenn Morris <rgm@gnu.org>
5524
03983bdc
GM
5525 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5526 Handle idlwave-last-system-routine-info-cons-cell being nil.
5527
bc74a74a
GM
5528 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5529 (idlwave-write-paths): Simplify via with-temp-buffer.
5530
8b394200
GM
5531 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5532 * emulation/cua-rect.el: Also load cua-base at run time.
5533
3694d13f
GM
5534 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5535 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5536 (cperl-imenu-on-info): Require imenu.
5537
336d7284
AM
55382013-05-28 Alan Mackenzie <acm@muc.de>
5539
5540 Handle "capitalised keywords" correctly.
33e249a2 5541 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 5542
cb29c582
AG
55432013-05-28 Aidan Gauland <aidalgol@amuri.net>
5544
781b4af6 5545 * eshell/em-unix.el: Add -r option to cp.
cb29c582 5546
690e44b2
GM
55472013-05-28 Glenn Morris <rgm@gnu.org>
5548
e658d75c
GM
5549 * vc/vc-arch.el (vc-exec-after): Declare.
5550 (vc-switches): Autoload.
5551 * vc/vc-bzr.el: No need to require vc when compiling.
5552 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5553 (vc-resynch-buffer, vc-dir-refresh): Declare.
5554 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
5555 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5556 (vc-resynch-buffer): Declare.
5557 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 5558 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
5559 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5560 (grep-read-regexp, grep-read-files, grep-expand-template)
5561 (vc-dir-refresh): Declare.
5562 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5563 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5564 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
5565 * vc/vc-mtn.el (vc-exec-after): Declare.
5566 (vc-switches): Autoload.
5567 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5568 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5569 (vc-file-tree-walk): Declare.
712b9732
GM
5570 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5571 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5572 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
5573 * vc/vc-svn.el (vc-exec-after): Declare.
5574 (vc-switches, vc-setup-buffer): Autoload.
5575 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5576 Autoload.
5577 (vc-resynch-buffer): Declare.
5578
98e87fb3
GM
5579 * obsolete/fast-lock.el (byte-compile-warnings):
5580 Don't warn about obsolete features in this obsolete file.
5581
f5379553
GM
5582 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5583 Move definition before use.
5584
7a20ef83
GM
5585 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5586 (dun-unix-verbs): Remove dun-zippy.
5587 (dun-zippy): Remove function.
5588
690e44b2
GM
5589 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5590
3a52ccf7
JL
55912013-05-27 Juri Linkov <juri@jurta.org>
5592
5593 * replace.el (replace-search): New function with code moved out
5594 from `perform-replace'.
5595 (replace-highlight, replace-dehighlight): Move function definitions
5596 up closer to `replace-search'. (Bug#11746)
5597
d289938a
JL
55982013-05-27 Juri Linkov <juri@jurta.org>
5599
5600 * replace.el (perform-replace): Ignore invisible matches.
5601 In addition to checking `query-replace-skip-read-only', also
5602 filter out matches by calling `run-hook-with-args-until-failure'
5603 on `isearch-filter-predicates', and also check `search-invisible'
5604 for t or call `isearch-range-invisible'.
5605 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5606
66fc57e3
JL
56072013-05-27 Juri Linkov <juri@jurta.org>
5608
5609 * isearch.el (isearch-filter-predicates): Rename from
5610 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5611 (isearch-message-prefix): Display text from the property
5612 `isearch-message-prefix' of the currently active filters.
5613 (isearch-search): Don't compare `isearch-filter-predicate' with
5614 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5615 on `isearch-filter-predicates'. Also check `search-invisible' for t
5616 or call `isearch-range-invisible'.
5617 (isearch-filter-visible): Make obsolete.
5618 (isearch-lazy-highlight-search):
5619 Call `run-hook-with-args-until-failure' on
5620 `isearch-filter-predicates' and use `isearch-range-invisible'.
5621
5622 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5623 `isearch-filter-predicates' instead of `funcall'ing
5624 `isearch-filter-predicate'.
5625 (Info-mode): Set `Info-isearch-filter' to
5626 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5627
5628 * dired-aux.el (dired-isearch-filter-predicate-orig):
5629 Remove variable.
5630 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5631 (dired-isearch-filenames-end): Add and remove
5632 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5633 instead of changing the value of `isearch-filter-predicate'.
5634 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5635 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5636 Put property `isearch-message-prefix' to "filename " on
5637 `dired-isearch-filter-filenames'.
5638
5639 * wdired.el (wdired-change-to-wdired-mode):
5640 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5641 locally instead of changing `isearch-filter-predicate'.
5642 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5643
f1a60a0f
DG
56442013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5645
5646 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5647 return the commit hash (Bug#14459). Also set the
5648 `vc-git-detached' property.
5649 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5650 (vc-git-mode-line-string): Use the same help-echo format whether
5651 in detached mode or not, because we know the actual revision now.
5652 When in detached mode, shorten the revision to 7 chars.
5653
7f17cc40
SM
56542013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * emacs-lisp/easy-mmode.el (define-minor-mode):
5657 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5658 mode hook and provide a docstring.
5659
25c8401c
AM
56602013-05-27 Alan Mackenzie <acm@muc.de>
5661
5662 Remove spurious syntax-table text properties inserted by C-y.
5663 * progmodes/cc-mode.el (c-after-change): Also clear hard
5664 syntax-table property with value nil.
5665
dde84790
MA
56662013-05-27 Michael Albinus <michael.albinus@gmx.de>
5667
5668 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5669 when reading the events; the buffer layout shall not be changed.
5670
837fd9af
LL
56712013-05-27 Leo Liu <sdl.web@gmail.com>
5672
5673 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5674 New variable.
5675 (inferior-octave-directory-tracker): Automatically re-sync
5676 default-directory.
5677 (octave-help): Improve handling of 'See also'.
5678
4fd996b3
SM
56792013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5680
416f1802
SM
5681 * doc-view.el: Minor naming convention tweaks.
5682 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5683
4fd996b3
SM
5684 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5685 even if there's no `display' property yet (bug#14435).
5686
a052ef3b
EZ
56872013-05-25 Eli Zaretskii <eliz@gnu.org>
5688
4fd996b3 5689 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
5690
5691 * Makefile.in (custom-deps, finder-data, autoloads)
5692 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5693 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5694 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5695
c9023370
SM
56962013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5697
5698 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5699 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 5700 Don't burp at EOB.
c9023370 5701
24d699fa
LL
57022013-05-25 Leo Liu <sdl.web@gmail.com>
5703
5704 * comint.el (comint-previous-matching-input): Do not flood the
5705 *Messages* buffer with trivial messages.
5706
17e5c0cc
SM
57072013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5708
5709 * progmodes/flymake.el (flymake-nop): Don't return a string.
5710 (flymake-set-at): Fix typo.
5711
5712 * simple.el (read--expression): New function, extracted from
5713 eval-expression. Set completion-at-point-functions (bug#14465).
5714 (eval-expression, eval-minibuffer): Use it.
5715
5d028165
XF
57162013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5717
5718 * progmodes/flymake.el (flymake-save-buffer-in-file)
5719 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5720 (flymake-selected-frame, flymake-log, flymake-ins-after)
5721 (flymake-set-at, flymake-get-buildfile-from-cache)
5722 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5723 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5724 Refine the doc string.
5725 (flymake-get-file-name-mode-and-masks): Reformat.
5726 (flymake-get-real-file-name-function): Fix a minor bug.
5727
7a1d7ba7
JL
57282013-05-24 Juri Linkov <juri@jurta.org>
5729
5730 * progmodes/grep.el (grep-mode-font-lock-keywords):
5731 Support =linenumber= format used by git-grep for lines with
5732 function names. (Bug#13549)
5733
650cff3d
SM
57342013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5735
5736 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5737 0 after a semi-colon; it works better for smie-auto-fill.
5738 (octave--indent-new-comment-line): New function.
5739 (octave-indent-new-comment-line): Use it (indirectly).
5740 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5741 modify comment-line-break-function.
5742
5743 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5744 (smie-setup): Use add-function to set it.
5745
9631677d
SS
57462013-05-24 Sam Steingold <sds@gnu.org>
5747
5748 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5749 argument (before the `interactive' argument).
5750
50105835
SM
57512013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5752
5753 * image-mode.el (image-mode-winprops): Add winprops to
5754 image-mode-winprops-alist before running
5755 image-mode-new-window-functions.
5756 * doc-view.el (doc-view-new-window-function): Don't delay
5757 doc-view-goto-page via timers (bug#14435).
5758
57b9823e
TH
57592013-05-24 Tassilo Horn <tsdh@gnu.org>
5760
5761 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5762 (doc-view-desktop-save-buffer): New function.
5763 (doc-view-restore-desktop-buffer): New function.
50105835
SM
5764 (desktop-buffer-mode-handlers):
5765 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
5766 handler.
5767 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5768 `desktop-save-buffer' function.
5769
91aafa16
MA
57702013-05-24 Michael Albinus <michael.albinus@gmx.de>
5771
5772 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5773 (tramp-gvfs-file-name-handler): Raise a user error when
5774 `tramp-gvfs-enabled' is nil.
5775 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5776 Do not raise a user error when loading package. (Bug#14447)
5777
ec076379
MA
5778 * net/xesam.el: Move to obsolete/.
5779
db785726
GM
57802013-05-24 Glenn Morris <rgm@gnu.org>
5781
af5c7606
GM
5782 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5783
e5d1916a
GM
5784 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5785
ded62b08
GM
5786 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5787 (Info-find-node, Man-getpage-in-background): Declare.
5788
9e614a3f
GM
5789 * mail/unrmail.el (unrmail):
5790 Replace obsolete detect-coding-with-priority.
5791
892f8ca3
GM
5792 * net/socks.el (socks-split-string): Use this rather than split-string.
5793 (socks-nslookup-host): Update for above change.
5794 (dynamic-choice, s5-dynamic-choice-match)
5795 (s5-dynamic-choice-match-inline, s5-widget-value-create):
5796 Comment out unused code.
5797
3c291973
GM
5798 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5799 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5800 (gud-tooltip-echo-area): Make obsolete.
5801 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5802
43cc956b
GM
5803 * progmodes/js.el (js--optimize-arglist): Declare.
5804
dab49a3b
GM
5805 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5806
36b9d085
GM
5807 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5808 (ediff-window-C): Declare.
5809
e354ae76
GM
5810 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5811 Tweak requires to silence compiler.
5812
b8e57bf4
GM
5813 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5814 (he-search-string, he-tried-table, he-expand-list)
5815 (he-init-string, he-string-member, he-substitute-string)
5816 (he-reset-string): Declare.
5817
db785726
GM
5818 * obsolete/options.el (list-options): Use custom-variable-p,
5819 rather than obsolete alias.
5820
b3531901
SS
58212013-05-23 Sam Steingold <sds@gnu.org>
5822
5823 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 5824 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
5825 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
5826
bdda4c66
SM
58272013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * emacs-lisp/smie.el (smie-indent-forward-token)
5830 (smie-indent-backward-token): Handle string tokens (bug#14381).
5831
c43d45f9
TH
58322013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5833
fe1eb856
RS
5834 * ielm.el (ielm-menu): New menu.
5835 (inferior-emacs-lisp-mode): Set comment-start.
96172128 5836
fe1eb856
RS
58372013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5838
5839 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
5840 Fix deactivate action.
5841
5842 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
5843 Add cleveref macros.
074dd971 5844
c43d45f9
TH
5845 * lisp/textmodes/reftex-parse.el
5846 (reftex-locate-bibliography-files): Accept options for
5847 bibliography commands.
5848 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
5849 Add addbibresource. Basic Biblatex support.
5850
7764286e
MA
58512013-05-23 Michael Albinus <michael.albinus@gmx.de>
5852
5853 * net/tramp-gvfs.el (top):
5854 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
5855 when loading package. (Bug#14447)
5856
d361bc10
GM
58572013-05-23 Glenn Morris <rgm@gnu.org>
5858
8fa23984
GM
5859 * progmodes/js.el: No need to load comint when compiling.
5860 (ring-insert, comint-send-string, comint-send-input)
5861 (comint-last-input-end, ido-chop): Declare.
5862
a5c7df1a
GM
5863 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
5864 * vc/ediff-mult.el: Adjust requires.
5865 (ediff-directories-internal, ediff-directory-revisions-internal)
5866 (ediff-patch-file-internal): Declare.
5867 * vc/ediff-ptch.el: Adjust requires.
5868 (ediff-use-last-dir, ediff-buffers-internal): Declare.
5869 (ediff-find-file): Autoload.
5870 * vc/ediff-util.el: No need to load ediff when compiling.
5871 (ediff-regions-internal): Declare.
5872 * vc/ediff-wind.el: Adjust requires.
5873 (ediff-compute-toolbar-width): Define when compiling.
5874 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
5875 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
5876 (dired-get-filename, dired-get-marked-files)
5877 (ediff-last-dir-patch, ediff-patch-default-directory)
5878 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
5879 (ediff-patch-buffer-internal): Declare.
5880
e2aec513
GM
5881 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
5882 (ispell-process, ispell-buffer-local-words, lm-summary)
5883 (lm-section-start, lm-section-end): Declare.
5884 (checkdoc-ispell-init): Simplify.
5885
e68bbd7c
GM
5886 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
5887 (he-string-member, he-reset-string, he-substitute-string): Declare.
5888
7efe0991
GM
5889 * eshell/em-ls.el: Adjust requires.
5890 (eshell-glob-regexp): Declare.
f87b1284
GM
5891 * eshell/em-tramp.el: Adjust requires.
5892 (eshell-parse-command): Autoload.
5893 * eshell/em-xtra.el: Adjust requires.
5894 (eshell-parse-command): Autoload.
5895 * eshell/esh-ext.el: Adjust requires.
5896 (eshell-parse-command, eshell-close-handles): Autoload.
5897 * eshell/esh-io.el: Adjust requires.
5898 (eshell-output-filter): Autoload.
5899 * eshell/esh-util.el: No need to load tramp when compiling.
5900 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
5901 Declare.
5902 (eshell-parse-ange-ls): Require ange-ftp and tramp.
5903 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5904 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
5905 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
5906 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
5907 * eshell/esh-opt.el, eshell/esh-proc.el:
5908 * eshell/esh-var.el: Adjust requires.
5909 * eshell/eshell.el: Do not require esh-util twice.
5910 (eshell-add-input-to-history): Declare.
5911 (eshell-command): Check history module is active before using it.
5912
d361bc10
GM
5913 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
5914
85d090a9
LL
59152013-05-22 Leo Liu <sdl.web@gmail.com>
5916
5917 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
5918
5d0acd9d
MA
59192013-05-22 Michael Albinus <michael.albinus@gmx.de>
5920
5921 * autorevert.el (auto-revert-notify-add-watch)
5922 (auto-revert-notify-handler): Add `attrib' for the inotify case,
5923 it indicates changes in file modification time.
5924
0cdffd7d
GM
59252013-05-22 Glenn Morris <rgm@gnu.org>
5926
ca5995ec
GM
5927 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5928 Always delete the autoloaded function from the noruntime and
5929 unresolved functions lists.
5930
6450907e
GM
5931 * allout.el: No need to load epa, epg, overlay when compiling.
5932 (epg-context-set-passphrase-callback, epg-list-keys)
5933 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
5934 (epg-key-user-id-list): Declare.
5935
9c6906f6
GM
5936 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5937 (viper-set-parsing-style-toggling-macro)
5938 (viper-set-emacs-state-searchstyle-macros):
5939 Use called-interactively-p on Emacs.
5940 (viper-looking-back): Make it an obsolete alias. Update callers.
5941 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
5942 Use looking-back rather than viper-looking-back.
5943 (viper-tmp-insert-at-eob, viper-enlarge-region)
5944 (viper-read-string-with-history, viper-register-to-point)
5945 (viper-append-to-register, viper-change-state-to-vi)
5946 (viper-backward-char-carefully, viper-forward-char-carefully)
5947 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
5948 (viper-change-state-to-emacs): Declare.
5949 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
5950 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
5951 * emulation/viper-mous.el: Do not load viper-cmd.
5952 (viper-backward-char-carefully, viper-forward-char-carefully)
5953 (viper-forward-word, viper-adjust-window): Declare.
5954
5f70c169
GM
5955 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
5956
b1b7f300
GM
5957 * progmodes/idlw-help.el (idlwave-help-fontify):
5958 Use called-interactively-p.
5959
f6ebbb46
GM
5960 * term/w32console.el (w32-get-console-codepage)
5961 (w32-get-console-output-codepage): Declare.
5962
0cdffd7d
GM
5963 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
5964 Remove unnecessary declarations.
5965 (dframe-message): Doc fix.
5966
5967 * info.el (dframe-select-attached-frame, dframe-current-frame):
5968 Declare.
5969
5970 * speedbar.el (speedbar-message): Make it an obsolete alias.
5971 Update all callers.
5972 (speedbar-with-attached-buffer)
5973 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
5974 (speedbar-with-writable): Use backquote.
5975 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
5976 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5977 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
5978 rather than speedbar- aliases.
5979 * mail/rmail.el: Load dframe rather than speedbar when compiling.
5980 (speedbar-make-specialized-keymap, speedbar-insert-button)
5981 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
5982 (speedbar-do-function-pointer): Declare.
5983 (rmail-speedbar-button, rmail-speedbar-find-file)
5984 (rmail-speedbar-move-message):
5985 Use dframe-with-attached-buffer rather than speedbar- alias.
5986 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
5987 (dframe-message, speedbar-make-specialized-keymap)
5988 (speedbar-add-expansion-list, speedbar-mode-functions-list)
5989 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
5990 (speedbar-insert-button, dframe-select-attached-frame)
5991 (dframe-maybee-jump-to-attached-frame)
5992 (speedbar-change-initial-expansion-list)
5993 (speedbar-previously-used-expansion-list-name): Declare.
5994 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
5995 Use dframe-message, dframe-with-attached-buffer rather than
5996 speedbar- aliases.
5997 (gud-sentinel): Silence compiler.
5998 * progmodes/vhdl-mode.el (speedbar-refresh)
5999 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6000 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6001 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6002 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6003 (speedbar-file-lists, speedbar-make-tag-line)
6004 (speedbar-line-directory, speedbar-goto-this-file)
6005 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6006 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6007 (speedbar-make-button, speedbar-reset-scanners)
6008 (speedbar-files-item-info, speedbar-line-text)
6009 (speedbar-find-file-in-frame, speedbar-set-timer)
6010 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6011 (speedbar-with-writable): Do not (re)define it.
6012 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6013 rather than speedbar- alias.
6014
ee44b62a
LL
60152013-05-21 Leo Liu <sdl.web@gmail.com>
6016
6017 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6018 menu items.
6019 (octave-mode): Tweak fill-nobreak-predicate.
6020 (inferior-octave-startup): Check process to avoid infinite loop.
6021 (inferior-octave): Pop to buffer first to show abornmal process
6022 exit information.
6023
640f050f
GM
60242013-05-21 Glenn Morris <rgm@gnu.org>
6025
79458038
GM
6026 * printing.el (pr-menu-bar): Define when compiling.
6027
9cc3e83f
LL
60282013-05-21 Leo Liu <sdl.web@gmail.com>
6029
6030 * progmodes/octave.el (octave-auto-fill): Remove.
6031 (octave-indent-new-comment-line): Improve.
6032 (octave-mode): Use auto fill mode through
4f405069 6033 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 6034 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 6035 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
6036 (octave-help): Show parent directory.
6037
f440830d
GM
60382013-05-21 Glenn Morris <rgm@gnu.org>
6039
6040 * files.el (dired-unmark):
6041 * progmodes/gud.el (gdb-input): Update declarations.
6042
6043 * calculator.el (electric, ehelp): No need to load when compiling.
6044 (Electric-command-loop, electric-describe-mode): Declare.
6045
6046 * doc-view.el (doc-view-current-converter-processes): Move before use.
6047
6048 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6049 Move MODE-set-explicitly definition before use.
6050
6051 * international/mule-diag.el (mule-diag):
6052 Don't use obsolete window-system-version.
6053
6054 * mail/feedmail.el (smtpmail): No need to load when compiling.
6055 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6056
6057 * mail/mail-utils.el (rfc822): No need to load when compiling.
6058 (rfc822-addresses): Autoload it.
6059 (mail-strip-quoted-names): Trivial simplification.
6060
6061 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6062 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6063
6064 * net/snmp-mode.el (tempo): Don't duplicate requires.
6065
6066 * progmodes/prolog.el (info): No need to load when compiling.
6067 (comint): Require before shell requires it.
6068 (Info-goto-node): Autoload it.
6069 (Info-follow-nearest-node): Declare.
6070 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6071
6072 * textmodes/artist.el (picture-mode-exit): Declare.
6073
6074 * textmodes/reftex-parse.el (reftex-parse-from-file):
6075 Trivial rewrite so the compiler can parse it better.
6076
b4da2cbb
LL
60772013-05-20 Leo Liu <sdl.web@gmail.com>
6078
6079 * progmodes/octave.el (octave-help-mode-map)
6080 (octave-help-mode-finish-hook): New variables.
6081 (octave-help-mode, octave-help-mode-finish): New functions.
6082 (octave-help): Use octave-help-mode.
6083
33c0f65b
GM
60842013-05-20 Glenn Morris <rgm@gnu.org>
6085
6086 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6087
1a0a0a8a
DG
60882013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6089
6090 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6091 start at point, so that expansion starting right after opening
6092 slash in a regexp is recognized.
6093 (ruby-syntax-before-regexp-re): New defvar, extracted from
6094 ruby-syntax-propertize-function. Since the value of this regexp
6095 is looked up at runtime now, we should be able to turn
6096 `ruby-syntax-methods-before-regexp' into a defcustom later.
6097 (ruby-syntax-propertize-function): Split regexp matching into two
6098 parts, for opening and closing slashes. That allows us to skip
6099 over string interpolations and support multiline regexps.
6100 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6101 for them, which calls `ruby-syntax-propertize-expansion'.
6102 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6103 call to `ruby-syntax-propertize-function'.
6104 (ruby-syntax-propertize-expansion): Extracted from
6105 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
6106 (ruby-syntax-propertize-percent-literal): Leave point right after
6107 the percent symbol, so that the expression expansion rule can
6108 propertize the contents.
462388b6
DG
6109 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6110 heredoc openers.
6111 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 6112
c1a6c0a4
JL
61132013-05-18 Juri Linkov <juri@jurta.org>
6114
6115 * man.el (Man-default-man-entry): Remove `-' from the end
6116 of the default value. (Bug#14400)
6117
8051fccd
GM
61182013-05-18 Glenn Morris <rgm@gnu.org>
6119
6120 * comint.el (comint-password-prompt-regexp):
6121 Allow "password for XXX" where XXX contains colons (eg https://...).
6122
5e80b74f
LL
61232013-05-18 Leo Liu <sdl.web@gmail.com>
6124
6125 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 6126 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
6127 (octave-source-directories): Don't check process.
6128 (octave-source-directories, octave-find-definition): Doc fix.
6129
521a54c5
GM
61302013-05-18 Glenn Morris <rgm@gnu.org>
6131
86a94b05
GM
6132 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6133 Remove backspace/delete bindings. (Bug#14392)
6134
521a54c5
GM
6135 * cus-dep.el (custom-make-dependencies): Sort the output.
6136 (custom-versions-load-alist): Convert comment to doc.
6137
42caeb89
LL
61382013-05-17 Leo Liu <sdl.web@gmail.com>
6139
6140 * newcomment.el (comment-search-backward): Stricter in finding
6141 comment start. (Bug#14303)
6142
6143 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6144 (octave-comment-start-skip): Properly anchored.
6145
e219dd97
LL
61462013-05-17 Leo Liu <sdl.web@gmail.com>
6147
fe1eb856
RS
6148 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6149 Clean up when turned off. (Bug#14395)
e219dd97
LL
6150 (smie--highlight-matching-block-overlay): No longer buffer-local.
6151 (smie-highlight-matching-block): Adjust.
6152
dc5dcb4b
PE
61532013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6154
6155 Doc string fix for "nanoseconds" (Bug#14406).
6156 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6157 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6158
1db165f0
JB
61592013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6160
6161 * calc/calc-units.el (math-extract-units): Preserve powers
6162 of units.
6163
c7a8fcac
LL
61642013-05-17 Leo Liu <sdl.web@gmail.com>
6165
6166 * subr.el (delete-consecutive-dups): New function.
6167 * ido.el (ido-set-matches-1): Use it.
6168 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6169 * ido.el (ido-remove-consecutive-dups): Remove.
6170
f678b18a
SM
61712013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6172
6173 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6174 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6175 regexp-opt's `words'.
6176
ebfe68e8
LL
61772013-05-16 Leo Liu <sdl.web@gmail.com>
6178
6179 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6180 (smie--highlight-matching-block-overlay)
6181 (smie--highlight-matching-block-lastpos)
6182 (smie--highlight-matching-block-timer): New variables.
6183 (smie-highlight-matching-block): New function.
6184 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6185 (smie-setup): Conditionally enable smie-blink-matching-open.
6186
bc8bc17d
WS
61872013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6188
6189 Sync with upstream verilog-mode r840.
6190 * progmodes/verilog-mode.el (verilog-mode-version)
6191 (verilog-mode-release-date): Update.
6192 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6193 (verilog-sig-tieoff): Fix string error on
6194 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6195 (verilog-read-decls): Fix parameters confusing
6196 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6197
df065a0b
EZ
61982013-05-16 Eli Zaretskii <eliz@gnu.org>
6199
6200 * subr.el (reveal-filename): New function.
6201
6202 * loadup.el: Compute Emacs executable versions on MS-Windows,
6203 where executables have the .exe extension. Add a hard link
6204 emacs-XX.YY.ZZ.exe on MS-Windows.
6205
6206 * Makefile.in (XARGS_LIMIT): New variable.
6207 (custom-deps, finder-data, autoloads)
6208 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6209 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6210 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6211 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6212
2d4bf34b
LL
62132013-05-16 Leo Liu <sdl.web@gmail.com>
6214
6215 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6216 (octave-mode-menu, octave-mode-map): Remove its uses.
6217
6b9c2d85
RZ
62182013-05-16 Reto Zimmermann <reto@gnu.org>
6219
6220 Sync with upstream vhdl mode v3.34.2.
6221 * progmodes/vhdl-mode.el: Use `push' throughout.
6222 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6223 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6224 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6225 (vhdl-actual-generic-name): New option to derive actual generic name.
6226 (vhdl-port-paste-signals): Replace formal by actual generics.
6227 (vhdl-beautify): New name for old group vhdl-align. Update users.
6228 (vhdl-beautify-options): New option.
6229 (vhdl-last-input-event): New compat alias. Use throughout.
6230 (vhdl-goto-line): Replace user level function `goto-line'.
6231 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6232 vhdl-fix-statement-buffer.
6233 (vhdl-create-mode-menu): Add some entries.
6234 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6235 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6236 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6237 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6238 to force statements on one line.
6239 (vhdl-remove-trailing-spaces-region):
6240 New, split from vhdl-remove-trailing-spaces.
6241 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6242 Respect vhdl-beautify-options.
6243 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6244 (vhdl-update-sensitivity-list): Not add with index if exists without.
6245 Not include array index with signal. Ignore keywords in comments.
6246 (vhdl-get-visible-signals): Regexp tweaks.
6247 (vhdl-template-component-inst): Handle empty library.
6248 (vhdl-template-type): Add template for 'enum' type.
6249 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6250 Use vhdl-replace-string.
6251 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6252 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6253 (vhdl-speedbar-initialize): Update for above name change.
6254 (vhdl-compose-wire-components): Fix in handling of constants.
6255 (vhdl-error-regexp-emacs-alist): New variable.
6256 (vhdl-error-regexp-add-emacs): New function;
6257 adds support for new compile.el (Emacs 22+)
6258 (vhdl-generate-makefile-1): Change target order for single lib. units.
6259 Allow use of absolute file names.
6260
9df4ec5e
LL
62612013-05-16 Leo Liu <sdl.web@gmail.com>
6262
6263 * simple.el (prog-indent-sexp): Indent enclosing defun.
6264
f5ba00a6
GM
62652013-05-15 Glenn Morris <rgm@gnu.org>
6266
ed8be7ff
GM
6267 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6268 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6269 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6270 (whitespace-highlight): Move to whitespace group.
6271
6272 * comint.el (comint-source):
6273 * pcmpl-linux.el (pcmpl-linux):
6274 * shell.el (shell-faces):
6275 * eshell/esh-opt.el (eshell-opt):
6276 * international/ccl.el (ccl): Remove empty custom groups.
6277
6278 * completion.el (dynamic-completion-mode):
6279 * jit-lock.el (jit-lock-debug-mode):
6280 * minibuffer.el (completion-in-region-mode):
6281 * type-break.el (type-break-mode-line-message-mode)
6282 (type-break-query-mode):
6283 * emulation/tpu-edt.el (tpu-edt-mode):
6284 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6285 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6286 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6287
6288 * term/xterm.el (xterm): Change parent group to terminals.
6289
6290 * master.el (master): Remove empty custom group.
6291 (master-mode): Remove unused :group argument.
6292 * textmodes/refill.el (refill): Remove empty custom group.
6293 (refill-mode): Remove unused :group argument.
6294
6295 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6296
82a7c41b
GM
6297 * cus-dep.el: Provide a feature.
6298 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
6299 Don't mistakenly ignore files whose basenames match a basename
6300 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 6301 Add a fallback method for getting :group.
f5ba00a6 6302
6d65486d
JL
63032013-05-15 Juri Linkov <juri@jurta.org>
6304
da547b32
JL
6305 * isearch.el (isearch-char-by-name): Rename from
6306 `isearch-insert-char-by-name'. Doc fix.
6307 (isearch-forward): Mention `isearch-char-by-name' in
6308 the docstring. (Bug#13348)
6309
6d65486d
JL
6310 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6311 `exit-minibuffer' instead of
6312 `isearch-nonincremental-exit-minibuffer'.
6313 (isearch-edit-string): Remove mention of
6314 `isearch-nonincremental-exit-minibuffer' from docstring.
6315 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6316 (isearch-forward-exit-minibuffer)
6317 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6318
c9990474
SM
63192013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6320
6e911150
SM
6321 * loadup.el: Just use unversioned DOC.
6322
c9990474
SM
6323 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6324 literals as extending to EOB.
6325 (nxml-last-fontify-end): Remove unused variable.
6326 (nxml-after-change1): Use with-silent-modifications.
6327 (nxml-extend-after-change-region): Simplify.
6328 (nxml-extend-after-change-region1): Remove function.
6329 (nxml-after-change1): Don't adjust for dependent regions.
6330 (nxml-fontify-matcher): Simplify.
6331 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6332 (xmltok-add-dependent): Remove function.
6333 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6334 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6335 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6336 unclosed <[[, <?, comment, and other literals as extending to EOB.
6337 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6338 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6339 Remove functions.
6340 (rng-do-some-validation-1): Don't mark dependent regions.
6341 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6342 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6343 (nxml-clear-dependent-regions): Remove functions.
6344 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6345 (nxml-ensure-scan-up-to-date):
6346 Don't clear&mark dependent regions.
6347
e3772e98
LL
63482013-05-15 Leo Liu <sdl.web@gmail.com>
6349
c9990474
SM
6350 * progmodes/octave.el (octave-goto-function-definition):
6351 Improve and fix callers.
e3772e98 6352
5ac2eb34
SM
63532013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6354
c46c57b0
SM
6355 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6356 the setter (bug#14387).
6357
5ac2eb34
SM
6358 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6359 surrounding group (bug#14402).
6360
180ed218
JL
63612013-05-14 Juri Linkov <juri@jurta.org>
6362
6363 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6364 (Bug#14390)
6365
0ac0fecb
GM
63662013-05-14 Glenn Morris <rgm@gnu.org>
6367
6368 * progmodes/f90.el (f90-imenu-generic-expression):
6369 Fix typo in 2013-05-08 change. (Bug#14402)
6370
2e78e6a7
JPG
63712013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6372
5ac2eb34
SM
6373 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6374 Remove signals for which replies are never received.
2e78e6a7 6375
53267cca
JPG
63762013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6377
6378 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6379 (gdb-handler-alist, gdb-handler-number): Remove variables.
6380 (gdb-handler-list): New variable.
6381 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6382 (gdb-pending-handler-p, gdb-handle-reply)
6383 (gdb-remove-all-pending-triggers): New functions.
6384 (gdb-discard-unordered-replies): New defcustom.
6385 (gdb-handler): New defstruct.
6386 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6387 instead of gdb-pending-triggers. Update docstring.
6388 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6389 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6390 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6391 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6392 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6393 (gdb-frame-handler): Pending triggers are now automatically managed.
6394 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6395 Remove argument.
6396 (gdb-input): Automatically handles pending triggers. Update docstring.
6397 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6398 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6399 Update comments.
6400 (gdb-done-or-error): Now use gdb-handle-reply.
6401
d04ce803
JPG
64022013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6403
6404 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6405 gdb-debug-log.
6406
0114073a
GM
64072013-05-14 Glenn Morris <rgm@gnu.org>
6408
6409 * subr.el (user-emacs-directory-warning): New option.
6410 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6411
4d25fd7e
LL
64122013-05-14 Leo Liu <sdl.web@gmail.com>
6413
6414 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6415 during redisplay.
6416 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
6417 (octave-font-lock-texinfo-comment): Fix invalid search bound
6418 error: wrong side of point.
4d25fd7e 6419
27c8b6eb
GM
64202013-05-14 Glenn Morris <rgm@gnu.org>
6421
61aaeb01
GM
6422 * progmodes/flymake.el (flymake-xml-program): New option.
6423 (flymake-xml-init): Use it.
6424
5bf90bc5
GM
6425 * term/xterm.el: Provide a feature.
6426
6427 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 6428
f4c7dfd2
GM
64292013-05-13 Glenn Morris <rgm@gnu.org>
6430
6431 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6432 Add compat aliases as a hack workaround. (Bug#14384)
6433
2aeb3a1d
LL
64342013-05-13 Leo Liu <sdl.web@gmail.com>
6435
b0e069c2
LL
6436 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6437 ###, and %!.
f5a9432f
LL
6438 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6439 C-M-q.
b0e069c2
LL
6440 (octave-comment-start-skip): Include %!.
6441 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 6442
30ea8374
LL
64432013-05-12 Leo Liu <sdl.web@gmail.com>
6444
6445 * progmodes/octave.el (inferior-octave-startup): Store the value
6446 of __octave_srcdir__ for octave-source-directories.
6447 (inferior-octave-check-process): New function refactored out of
6448 inferior-octave-send-list-and-digest.
6449 (octave-source-directories)
6450 (octave-find-definition-filename-function): New variables.
6451 (octave-source-directories)
6452 (octave-find-definition-default-filename): New functions.
6453 (octave-find-definition): Improve to find functions implemented in C++.
6454
472a3834
GM
64552013-05-12 Glenn Morris <rgm@gnu.org>
6456
6457 * calendar/diary-lib.el (diary-outlook-format-1):
6458 Don't include dayname in the output. (Bug#14349)
6459
3191b52f
GM
64602013-05-11 Glenn Morris <rgm@gnu.org>
6461
0060ac73
GM
6462 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6463
3191b52f
GM
6464 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6465 Treat cc-provide like provide.
6466
e065ba74
KR
64672013-05-11 Kevin Ryde <user42@zip.com.au>
6468
6469 * cus-dep.el (custom-make-dependencies):
6470 Use generated-autoload-load-name for the sake of files such
6471 such cedet/semantic/bovine/c.el, where the base file name
6472 is not in load-path. (Bug#5277)
6473
36f84c37
GM
64742013-05-11 Glenn Morris <rgm@gnu.org>
6475
6476 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6477 Provide features.
6478
c8730c3a
LL
64792013-05-11 Leo Liu <sdl.web@gmail.com>
6480
6481 * progmodes/octave.el (octave-indent-comment): Improve.
6482 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
6483 (octave-eldoc-function-signatures, octave-eldoc-function):
6484 New functions.
c8730c3a
LL
6485 (octave-mode, inferior-octave-mode): Add eldoc support.
6486
212e29f2
RS
64872013-05-11 Richard Stallman <rms@gnu.org>
6488
6489 * epa.el (epa-decrypt-file): Take output file name as argument
6490 and read it using `interactive'.
6491
083fe0d7
LL
64922013-05-11 Leo Liu <sdl.web@gmail.com>
6493
6494 * progmodes/octave.el (octave-beginning-of-line)
6495 (octave-end-of-line): Check before using up-list because it jumps
6496 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
6497 (octave-indent-comment): New function.
6498 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
6499 (octave-begin-keywords, octave-end-keywords)
6500 (octave-reserved-words, octave-smie-bnf-table)
6501 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 6502
8582e4c4
GM
65032013-05-11 Glenn Morris <rgm@gnu.org>
6504
f20def1f
GM
6505 * faces.el (internal-face-x-get-resource):
6506 * frame.el (ns-display-monitor-attributes-list):
d78abe37 6507 * calc/calc-aent.el (math-to-radians-2):
f20def1f 6508 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 6509 Fix declarations.
f20def1f 6510
445f95e2
GM
6511 * calc/calc-menu.el: Make it loadable in isolation.
6512
6513 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6514 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6515 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6516 (eudc-bbdb-query-internal): Require 'bbdb.
6517
99fb2756
GM
6518 * lpr.el (lpr-headers-switches):
6519 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6520
6521 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6522
0da7ad96
GM
6523 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6524
8582e4c4
GM
6525 * term.el (term-set-escape-char): Make it idempotent.
6526
f71c50d0
LL
65272013-05-10 Leo Liu <sdl.web@gmail.com>
6528
5ac2eb34
SM
6529 * progmodes/octave.el (inferior-octave-completion-table):
6530 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
6531 completion due to bug#11906.
6532 (octave-beginning-of-defun): Re-write to be more general.
6533
d5837773
GM
65342013-05-10 Glenn Morris <rgm@gnu.org>
6535
6536 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6537
027c0f75
SM
65382013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * comint.el (comint-redirect-send-command-to-process): Use :around
6541 rather than :override for comint-redirect-filter.
6542 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6543 Call it instead of comint-redirect-original-filter-function (which
6544 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6545
4465bfb4
JD
65462013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6547
6548 * frame.el (display-monitor-attributes-list): Add NS case.
6549 (ns-display-monitor-attributes-list): Declare.
6550
2d809ffa 65512013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
6552
6553 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6554
e54eeb9b
GM
65552013-05-09 Glenn Morris <rgm@gnu.org>
6556
56cd351d
GM
6557 * international/fontset.el (vertical-centering-font-regexp):
6558 Set standard-value.
6559
d84b6108
GM
6560 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6561
a931698a
GM
6562 * bookmark.el (bookmark-search-delay):
6563 * cus-start.el (vertical-centering-font-regexp):
6564 * ps-mule.el (ps-mule-font-info-database-default):
6565 * ps-print.el (ps-default-fg, ps-default-bg):
6566 * type-break.el (type-break-good-break-interval):
6567 * whitespace.el (whitespace-indentation-regexp)
6568 (whitespace-space-after-tab-regexp):
6569 * emacs-lisp/testcover.el (testcover-1value-functions)
6570 (testcover-noreturn-functions, testcover-progn-functions)
6571 (testcover-prog1-functions):
6572 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6573 * eshell/em-glob.el (eshell-glob-translate-alist):
6574 * play/tetris.el (tetris-tty-colors):
6575 * progmodes/cpp.el (cpp-face-default-list):
6576 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6577 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6578 (idlwave-help-browser-generic-args):
6579 * progmodes/make-mode.el (makefile-special-targets-list):
6580 * progmodes/python.el (python-shell-virtualenv-path):
6581 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6582 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6583 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6584 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6585 * textmodes/reftex-vars.el (reftex-format-label-function):
6586 * textmodes/remember.el (remember-diary-file): Fix custom types.
6587
e54eeb9b
GM
6588 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6589 Add :version.
6590
455851dd
LL
65912013-05-09 Leo Liu <sdl.web@gmail.com>
6592
6593 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 6594 Restore file completion. (Bug#14300)
455851dd
LL
6595 (inferior-octave-startup): Fix incorrect highlighting for the
6596 first prompt.
6597
a9e4425b
SM
65982013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6599
6600 * progmodes/ruby-mode.el: First cut at SMIE support.
6601 (ruby-use-smie): New var.
6602 (ruby-smie-grammar): New constant.
6603 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6604 (ruby-smie--forward-token, ruby-smie--backward-token)
6605 (ruby-smie-rules): New functions.
6606 (ruby-mode-variables): Setup SMIE if applicable.
6607
060ca408
EZ
66082013-05-08 Eli Zaretskii <eliz@gnu.org>
6609
6610 * simple.el (line-move-visual): Signal beginning/end of buffer
6611 only if vertical-motion moved less than it was requested. Avoids
6612 silly incorrect error messages when there are display strings with
6613 multiple newlines at EOL.
6614
1d5963cc
SM
66152013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6616
6617 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6618 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6619 (prolog-char-quote-workaround):
6620 * progmodes/cperl-mode.el (cperl-under-as-char):
6621 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
6622 Mark as obsolete.
6623 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
6624 their declaration.
6625 (vhdl-mode-syntax-table-init): Remove.
6626
c9990474
SM
6627 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6628 last change.
1d5963cc
SM
6629
6630 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6631 syntax for "_".
6632 (ld-script-font-lock-keywords):
6633 Change regexps to use things like \_< and \_>.
6634
6635 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6636 Change all regexps to use things like \_< and \_>.
6637
6638 * progmodes/autoconf.el (autoconf-definition-regexp)
6639 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6640 Handle a _ with symbol syntax.
6641 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6642
c9990474
SM
6643 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6644 Consolidate declaration.
1d5963cc
SM
6645 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6646 the declaration.
6647 (ada-create-syntax-table): Remove.
6648 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6649 already has the right syntax nowadays.
6650 (ada-goto-next-word): Don't change the syntax of "_".
6651
6652 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6653 with-wrapper-hook.
6654
72d3cfca
SS
66552013-05-08 Sam Steingold <sds@gnu.org>
6656
6657 * thingatpt.el (thing-at-point): Accept optional second argument
6658 NO-PROPERTIES to strip the text properties from the return value.
6659 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6660 to `thing-at-point' instead of stripping the properties ourselves.
6661 Also, when `thing-at-point' fails to find a url, prepend "http://"
6662 to the filename at point on the assumption that the user is
6663 pointing at something like gnu.org/gnu.
6664
5cb15713
JB
66652013-05-08 Juanma Barranquero <lekktu@gmail.com>
6666
6667 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6668 * faces.el (crm-separator):
6669 Silence byte-compiler.
6670
6671 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6672 (tool-bar-map): Remove unneeded defvars.
6673
ea78b95b
LL
66742013-05-08 Leo Liu <sdl.web@gmail.com>
6675
6676 Re-work a fix for bug#10994 based on Le Wang's patch.
6677 * ido.el (ido-remove-consecutive-dups): New helper.
6678 (ido-completing-read): Use it.
6679 (ido-chop): Revert fix for bug#10994.
6680
dc7466df
AS
66812013-05-08 Adam Spiers <emacs@adamspiers.org>
6682
6683 * cus-edit.el (custom-save-variables):
6684 Pretty-print long values. (Bug#14187)
6685
9ecf672a
GM
66862013-05-08 Glenn Morris <rgm@gnu.org>
6687
6688 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6689 (m4-mode-syntax-table): Init in the defvar.
6690 (m4-mode-abbrev-table): Let define-derived-mode define it.
6691
3f555be8
TT
66922013-05-08 Tom Tromey <tromey@redhat.com>
6693
6694 * progmodes/m4-mode.el (m4-mode-syntax-table):
6695 Do not treat "_" as word constituent. (Bug#14167)
6696
7cc8ae06
GM
66972013-05-07 Glenn Morris <rgm@gnu.org>
6698
4f58bc06
GM
6699 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6700 Remove explicit eshell-isearch-cancel-map.
6701
7cc8ae06
GM
6702 * progmodes/f90.el (f90-smart-end-names): New option.
6703 (f90-smart-end): Doc fix.
6704 (f90-end-block-optional-name): New constant.
6705 (f90-block-match): Respect f90-smart-end-names.
6706
ceb57e59
SM
67072013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6708
6709 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6710 about implicit semi-colons (bug#14218).
6711
4e3f9230
YM
67122013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6713
6714 * frame.el (display-monitor-attributes-list)
6715 (frame-monitor-attributes): New functions.
6716
203a5572
LL
67172013-05-06 Leo Liu <sdl.web@gmail.com>
6718
6719 * progmodes/octave.el (octave-syntax-propertize-function): Change
6720 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6721 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 6722 (octave-completion-at-point): Rename from
203a5572
LL
6723 octave-completion-at-point-function.
6724 (inferior-octave-directory-tracker): Robustify.
6725 (octave-text-functions): Remove and fix its uses. No such things
6726 any more.
6727
ee6cff99
SM
67282013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6729
6730 * emacs-lisp/trace.el (trace--display-buffer): New function.
6731 (trace-make-advice): Use it.
6732
32985194
JL
67332013-05-06 Juri Linkov <juri@jurta.org>
6734
6735 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6736 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6737 Doc fix.
6738 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6739 in the help string. (Bug#12985)
6740
a1c700de
KD
67412013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6742
6743 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6744
c67c0839
SM
67452013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6746
323885fd
SM
6747 * progmodes/perl-mode.el: Add support for here documents.
6748 (perl-syntax-propertize-function): Match here-doc markers.
6749 (perl-syntax-propertize-special-constructs): Find their end.
6750 (perl-imenu-generic-expression): Use [:alnum:].
6751
c67c0839
SM
6752 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6753 (advice--add-function): Refresh the advice if already present
6754 (bug#14317).
6755
d491e7a8
IA
67562013-05-06 Ivan Andrus <darthandrus@gmail.com>
6757
6758 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6759
ddf9925e
GM
67602013-05-06 Glenn Morris <rgm@gnu.org>
6761
7cc3af27
GM
6762 * w32-fns.el (w32-charset-info-alist): Declare.
6763
16e343d6
GM
6764 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6765 of its defcustom properties.
6766 (eshell-cmpl-initialize): No need to load pcomplete.
6767
7d889a47
GM
6768 * generic-x.el: No need to require comint when compiling.
6769
ddf9925e
GM
6770 * net/eudc-export.el: Make it loadable without bbdb.
6771 (top-level): Use require rather than load-library.
6772 (eudc-create-bbdb-record, eudc-bbdbify-phone)
6773 (eudc-batch-export-records-to-bbdb)
6774 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6775 Require bbdb.
6776
1e2c18df
SM
67772013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6778
6779 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6780 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6781 some tweaks, instead.
6782
02502a5f
LL
67832013-05-05 Leo Liu <sdl.web@gmail.com>
6784
6785 * progmodes/octave.el (octave-font-lock-keywords)
6786 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6787 (inferior-octave-send-list-and-digest): Improve error message.
6788 (octave-mode, inferior-octave-mode): Use setq-local.
6789 (octave-help): Set info-lookup-mode.
6790
0dc04f42
RS
67912013-05-05 Richard Stallman <rms@gnu.org>
6792
6c54491c
RS
6793 * vc/compare-w.el (compare-windows-whitespace):
6794 Treat no-break space as whitespace.
6795
0dc04f42
RS
6796 * mail/rmailsum.el (rmail-summary-rmail-update):
6797 Detect empty summary and don't change selected message.
6798 (rmail-summary-goto-msg): Likewise.
6799
df8f35df
RS
6800 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6801 Doc fixes, rename args.
6802
5356e1a3
AM
68032013-05-05 Alan Mackenzie <acm@muc.de>
6804
6805 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6806
d44014cb
JL
68072013-05-05 Juri Linkov <juri@jurta.org>
6808
6809 * info.el (Info-read-subfile): Use (point-min) instead of (point)
6810 to not add the length of the summary segment to the return value.
6811 (Bug#14125)
6812
c129b51f
LL
68132013-05-05 Leo Liu <sdl.web@gmail.com>
6814
6815 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6816 (inferior-octave-output-filter): Remove.
6817 (octave-send-region, inferior-octave-startup): Fix callers.
6818 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6819 (octave-binary-file-extensions): New user variable.
6820 (octave-find-definition): Confirm if opening binary files.
6821 (octave-help-file): Use octave-find-definition to get the binary
6822 confirmation.
6823 (octave-help): Adjust for octave-help-file change.
6824
aa7dab97
SM
68252013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6826
6827 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
6828 Merge the two entries that handle function definitions.
6829 (pascal--syntax-propertize): New const.
6830 (pascal-mode): Use it. Use setq-local.
6831
fd3a9a6b
GM
68322013-05-04 Glenn Morris <rgm@gnu.org>
6833
6834 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
6835 (diary-from-outlook): Respect diary-from-outlook-function.
6836
30c7e542
SM
68372013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6838
6839 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
6840 Move the declaration from C.
6841 (read-minibuffer, eval-minibuffer): Move from C.
6842 (completion-setup-function): Avoid minibuffer-completion-contents.
6843
b54f978b
LL
68442013-05-03 Leo Liu <sdl.web@gmail.com>
6845
6846 * progmodes/octave.el (octave-font-lock-keywords): Do not
6847 dehighlight 'end' in comments or strings.
30c7e542
SM
6848 (octave-completing-read, octave-goto-function-definition):
6849 New helpers.
d4d0f9b3
LL
6850 (octave-help-buffer): New user variable.
6851 (octave-help-file, octave-help-function): New button types.
6852 (octave-help): New command and bind it to C-h ;.
6853 (octave-find-definition): New command and bind it to M-.
d74a1581 6854 (user-error): Alias to error if not defined.
b54f978b 6855
27135018
LL
68562013-05-02 Leo Liu <sdl.web@gmail.com>
6857
6858 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
6859 for \. (bug#14332)
6860 (octave-font-lock-keywords): Include [ and {.
6861
0d634d3a
LL
68622013-05-02 Leo Liu <sdl.web@gmail.com>
6863
6864 * progmodes/octave.el (inferior-octave-startup-file): Change default.
6865 (inferior-octave): Remove calling comint-mode and return the buffer.
6866 (inferior-octave-startup): Cosmetic changes.
6867
b4c8295e
LL
68682013-05-02 Leo Liu <sdl.web@gmail.com>
6869
30c7e542
SM
6870 * progmodes/octave.el (octave-syntax-propertize-function):
6871 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 6872
f12ad6ec
GM
68732013-05-02 Glenn Morris <rgm@gnu.org>
6874
6875 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
6876 * desktop.el (vc-dir-mode): Just autoload it here.
6877
30cac1e0
AM
68782013-05-02 Alan Mackenzie <acm@muc.de>
6879
6880 Eliminate variable c-standard-font-lock-fontify-region-function.
6881 * progmodes/cc-mode.el
6882 (c-standard-font-lock-fontify-region-function): Remove.
6883 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
6884
d8ef28b1
LL
68852013-05-01 Leo Liu <sdl.web@gmail.com>
6886
2640d52e 6887 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 6888 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 6889 variables were removed from Octave in 2007.
d8ef28b1
LL
6890 (inferior-octave-startup): Fix uses.
6891 (comint-line-beginning-position): Remove compatibility code for
6892 emacs 21.
6893
ac63ec89
JL
68942013-05-01 Juri Linkov <juri@jurta.org>
6895
6896 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
6897
9e9be37c
JL
68982013-05-01 Juri Linkov <juri@jurta.org>
6899
6900 * comint.el (comint-previous-matching-input): Don't print message
6901 "History item: %d" when `isearch-mode' is active.
6902 (comint-history-isearch-message): Print message "History item: %d"
6903 when `comint-input-ring-index' is not empty and this function is
6904 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
6905
9b92c13b
LL
69062013-05-01 Leo Liu <sdl.web@gmail.com>
6907
6908 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
6909 definitions. Use completion-at-point to insert keywords.
6910 (octave-abbrev-start): Remove.
6911 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
6912
b12d33d7
LL
69132013-04-30 Leo Liu <sdl.web@gmail.com>
6914
6915 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
6916 change.
6917
3d1c39fa
AM
69182013-04-30 Alan Mackenzie <acm@muc.de>
6919
6920 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
6921 * progmodes/cc-engine.el (c-back-over-member-initializers):
6922 new function.
3d1c39fa
AM
6923 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
6924 (most) member init lists.
6925
5147fc17
RS
69262013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6927
6928 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
6929 variable.
6930
5b78d7fc
LL
69312013-04-30 Leo Liu <sdl.web@gmail.com>
6932
6933 * progmodes/octave.el (octave-variables): Remove. No builtin
6934 variables any more. All converted to functions.
6935 (octave-font-lock-keywords, octave-completion-at-point-function):
6936 Fix uses.
6937 (octave-font-lock-texinfo-comment): New user variable.
6938 (octave-texinfo-font-lock-keywords): New variable for texinfo
6939 comment block.
6940 (octave-function-comment-block): New face.
6941 (octave-font-lock-texinfo-comment): New function.
6942 (octave-mode): Font lock texinfo comment block.
6943
38d8527b
LL
69442013-04-29 Leo Liu <sdl.web@gmail.com>
6945
6946 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
6947 indexing expression.
6948 (octave-continuation-string): Do not use \.
6949 (inferior-octave-complete-impossible): Remove.
6950 (inferior-octave-completion-table)
6951 (inferior-octave-completion-at-point): Remove its uses.
6952 (inferior-octave-startup): completion_matches was introduced to
6953 Octave in 1996 so safe to assume it.
6954 (octave-function-file-comment): Improve to follow how Octave does it.
6955 (octave-update-function-file-comment): Tweak.
6956
2ec12cb0
LL
69572013-04-29 Leo Liu <sdl.web@gmail.com>
6958
6959 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
6960 (inferior-octave-startup): Remove inferior-octave-startup-hook.
6961 (octave-function-file-comment): Fix typo.
6962 (octave-sync-function-file-names): Use read-char-choice.
6963
6eaed048
JB
69642013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
6965
6966 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
6967 to t for the less important warnings.
6968
3ffa2d4f
DH
69692013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
6970
6971 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
6972
685c9501
GM
69732013-04-27 Glenn Morris <rgm@gnu.org>
6974
6975 * vc/log-view.el (log-view-current-entry):
6976 Treat "---" separator lines as part of the following rev. (Bug#14169)
6977
0208ede7
JL
69782013-04-27 Juri Linkov <juri@jurta.org>
6979
6980 * subr.el (read-number): Doc fix about using it by interactive
6981 code letter `n'. (Bug#14254)
6982
5db9dace
JL
69832013-04-27 Juri Linkov <juri@jurta.org>
6984
6985 * desktop.el (desktop-auto-save-timeout): New option.
6986 (desktop-file-checksum): New variable.
6987 (desktop-save): Add optional arg `auto-save' and don't auto-save
6988 if nothing changed.
6989 (desktop-auto-save-timer): New variable.
6990 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
6991 (after-init-hook): Call `desktop-auto-save-set-timer'.
6992 Suggested by Reuben Thomas <rrt@sc3d.org> in
6993 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
6994
b7260dd4
LL
69952013-04-27 Leo Liu <sdl.web@gmail.com>
6996
6997 * progmodes/octave.el (octave-function-file-p)
6998 (octave-skip-comment-forward, octave-function-file-comment)
6999 (octave-update-function-file-comment): New functions.
7000 (octave-mode-map): Bind C-c ; to
7001 octave-update-function-file-comment.
7002 (octave-mode-menu): Add octave-update-function-file-comment.
7003 (octave-mode, inferior-octave-mode): Fix doc-string.
7004 (octave-insert-defun): Conform to Octave's coding convention.
7005 (Bug#14285)
7006
7007 * files.el (basic-save-buffer): Don't let errors in
7008 before-save-hook prevent saving buffer.
7009
c46da669
RW
70102013-04-20 Roland Winkler <winkler@gnu.org>
7011
7012 * faces.el (read-face-name): Use completing-read if arg multiple
7013 is nil.
7014
a81ee1eb
IL
70152013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7016
7017 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
7018 displayed, move point to after the totals line.
7019 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
7020 for the details.
7021
4fac34ce
SM
70222013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7023
7024 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7025 Add current dir to the load-path.
7026 (package-generate-autoloads): Don't rely on
7027 autoload-ensure-default-file.
7028
f6bfc063
RT
70292013-04-26 Reuben Thomas <rrt@sc3d.org>
7030
d40ab5cf
BG
7031 * textmodes/remember.el (remember-store-in-files): Document that
7032 the file name format is passed to `format-time-string'.
f6bfc063 7033
e55d3b04
LL
70342013-04-26 Leo Liu <sdl.web@gmail.com>
7035
7036 * progmodes/octave.el (octave-sync-function-file-names): New function.
7037 (octave-mode): Use it in before-save-hook.
7038
e53052d3
SM
70392013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7040
140ef50c
SM
7041 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7042 (bug#14274).
7043
e53052d3
SM
7044 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7045 \n and comment, even if it's not an implicit ; (bug#14218).
7046
af80458d 70472013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
7048
7049 * subr.el (read-number): Once more use `read' rather than
7050 `string-to-number', to trap non-numeric input. (Bug#14254)
7051
af80458d 70522013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
7053
7054 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7055 Use `syntax-multiline' text property consistently instead of
8a621d53 7056 `font-lock-multiline'. (Bug#14237)
70203c2e 7057
e6ea1f6c
GM
70582013-04-26 Glenn Morris <rgm@gnu.org>
7059
7060 * emacs-lisp/shadow.el (list-load-path-shadows):
7061 No longer necessary to check for duplicate simple.el, since
7062 2012-07-07 change to init_lread to not include installation lisp
7063 directories in load-path when running uninstalled. (Bug#14270)
7064
070ccca4
LL
70652013-04-26 Leo Liu <sdl.web@gmail.com>
7066
7067 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7068 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 7069 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
7070 octave-in-string-or-comment-p.
7071 (octave-in-comment-p, octave-in-string-p)
7072 (octave-in-string-or-comment-p): Replace defsubst with defun.
7073
9d1c5fb6
PE
70742013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7075
7076 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7077
c034abda
BG
70782013-04-25 Bastien Guerry <bzg@gnu.org>
7079
7080 * textmodes/remember.el (remember-data-directory)
7081 (remember-directory-file-name-format): Fix custom types.
7082
584ea277
LL
70832013-04-25 Leo Liu <sdl.web@gmail.com>
7084
e53052d3
SM
7085 * progmodes/octave.el (octave-completion-at-point-function):
7086 Make use of inferior octave process.
584ea277
LL
7087 (octave-initialize-completions): Remove.
7088 (inferior-octave-completion-table): New function.
7089 (inferior-octave-completion-at-point): Use it.
7090 (octave-completion-alist): Remove.
7091
1693b06a
SM
70922013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7093
7094 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7095 (opascal-mode-syntax-table): New var.
7096 (opascal-literal-kind, opascal-is-literal-end)
7097 (opascal-literal-token-at): Rewrite.
7098 (opascal--literal-start-re, opascal-font-lock-keywords)
7099 (opascal--syntax-propertize): New constants.
7100 (opascal-font-lock-defaults): Adjust.
7101 (opascal-mode): Use them. Set comment-<foo> variables as well.
7102 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7103 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7104 (delphi-other-face, opascal-other-face): Remove face variables.
7105 (opascal-save-state): Remove macro.
7106 (opascal-fontifying-progress-step): Remove constant.
7107 (opascal--ignore-changes): Remove var.
7108 (opascal-set-token-property, opascal-parse-next-literal)
7109 (opascal-is-stable-literal, opascal-complete-literal)
7110 (opascal-is-literal-start, opascal-face-of)
7111 (opascal-parse-region, opascal-parse-region-until-stable)
7112 (opascal-fontify-region, opascal-after-change)
7113 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7114 (opascal-debug-parse-region, opascal-debug-parse-window)
7115 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7116 (opascal-debug-fontify-buffer): Remove.
7117 (opascal-debug-mode-map): Adjust accordingly.
7118
be64c05d
LL
71192013-04-25 Leo Liu <sdl.web@gmail.com>
7120
7121 Merge octave-mod.el and octave-inf.el into octave.el with some
7122 cleanups.
7123 * progmodes/octave.el: New file renamed from octave-mod.el.
7124 * progmodes/octave-inf.el: Merged into octave.el.
7125 * progmodes/octave-mod.el: Renamed to octave.el.
7126
d79d37bd
TH
71272013-04-25 Tassilo Horn <tsdh@gnu.org>
7128
7129 * textmodes/reftex-vars.el
7130 (reftex-label-ignored-macros-and-environments): New defcustom.
7131
7132 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7133
ced3fc5d
SM
71342013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7135
7136 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7137 (smie-indent-keyword): Improve the check to ensure that the next
7138 comment is really on the same line.
7139 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7140
7141 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7142 semi-colons if the line is not otherwise empty (bug#14218).
7143
1c141dad
GM
71442013-04-25 Glenn Morris <rgm@gnu.org>
7145
7146 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7147
5058062a
SM
71482013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7149
7150 * progmodes/opascal.el (opascal-set-token-property): Rename from
7151 opascal-set-text-properties and only set `token' (bug#14134).
7152 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7153 (opascal-literal-text-properties): Remove.
7154 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7155 Adjust callers.
7156
5db9dace 71572013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
7158
7159 * textmodes/remember.el (remember-handler-functions): Add an
7160 option for a new handler `remember-store-in-files'.
7161 (remember-data-directory, remember-directory-file-name-format):
7162 New options.
7163 (remember-store-in-files): New function to store remember notes
7164 as separate files within a directory.
7165
4391916c
MH
71662013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7167
7168 * progmodes/compile.el (compilation-next-error-function):
7169 Pass "formats" to compilation-find-file (bug#11777).
7170
bb7cdf58
GM
71712013-04-24 Glenn Morris <rgm@gnu.org>
7172
3b8fe752 7173 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
7174 * vc/vc-hg.el (vc-hg-print-log):
7175 * vc/vc-svn.el (vc-svn-print-log):
7176 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7177
bb7cdf58
GM
7178 * vc/vc-bzr.el (vc-bzr-print-log):
7179 * vc/vc-cvs.el (vc-cvs-print-log):
7180 * vc/vc-git.el (vc-git-print-log):
7181 * vc/vc-hg.el (vc-hg-print-log):
7182 * vc/vc-mtn.el (vc-mtn-print-log):
7183 * vc/vc-rcs.el (vc-rcs-print-log):
7184 * vc/vc-sccs.el (vc-sccs-print-log):
7185 * vc/vc-svn.el (vc-svn-print-log):
7186 * vc/vc.el (vc-print-log-internal): Doc fixes.
7187
b46a056e
GM
71882013-04-23 Glenn Morris <rgm@gnu.org>
7189
7190 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7191 Remove venerable code attempting to avoid substitute-command-keys.
7192
0aecf718
TH
71932013-04-23 Tassilo Horn <tsdh@gnu.org>
7194
4391916c
MH
7195 * textmodes/reftex-vars.el (reftex-label-regexps):
7196 Call `reftex-compile-variables' after changes to this variable.
0aecf718 7197
117f94cf
SM
71982013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7199
4391916c 7200 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
7201 Use lexical-binding.
7202 (jit-lock-force-redisplay): Use markers, check buffer's continued
7203 existence and beware narrowed buffers.
7204 (jit-lock-fontify-now): Adjust call accordingly.
7205
1d829c64
SM
72062013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7207
7208 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7209 to avoid misleading the user.
7210
72d548a9
LL
72112013-04-22 Leo Liu <sdl.web@gmail.com>
7212
7213 * info-look.el: Prefer latex2e.info. (Bug#14240)
7214
d0853629
MA
72152013-04-22 Michael Albinus <michael.albinus@gmx.de>
7216
7217 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7218
7219 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 7220 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
7221 (tramp-set-completion-function, tramp-parse-putty):
7222 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7223 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7224 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7225 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7226 (tramp-call-local-coding-command): Use `tramp-call-process'
7227 instead of `tramp-compat-call-process'.
7228
7229 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7230 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7231 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 7232 (tramp-find-inline-compress): Improve traces.
d0853629
MA
7233 (tramp-maybe-send-script): Check for Perl binary.
7234 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7235
38cc0210
DU
72362013-04-22 Daiki Ueno <ueno@gnu.org>
7237
7238 * epg.el (epg-context-pinentry-mode): New function.
7239 (epg-context-set-pinentry-mode): New function.
7240 (epg--start): Pass --pinentry-mode option to gpg command.
7241
cc641ee1
XF
72422013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7243
02d844b5 7244 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 7245 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 7246 `completion-at-point'. (Bug#13774)
5d4e5c31 7247
cc641ee1
XF
7248 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7249 default key binding for `describe-distribution' has been moved to
7250 `C-h C-o'. (Bug#13970)
7251
1b42ee43
GM
72522013-04-21 Glenn Morris <rgm@gnu.org>
7253
7254 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7255 Add doc strings.
7256 (vc-print-log): Clarify interactive prompt.
7257
a6d63d97
GM
72582013-04-20 Glenn Morris <rgm@gnu.org>
7259
7260 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7261 No longer include timestamp etc information.
7262
d7f5c16f
RW
72632013-04-20 Roland Winkler <winkler@gnu.org>
7264
7265 * faces.el (read-face-name): Bug fix, return just one face if arg
7266 multiple is nil. (Bug#14209)
7267
bcd7a0a4
SM
72682013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7269
7270 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7271 (remove-function): Autoload.
7272
7273 * comint.el (comint-redirect-original-filter-function): Remove.
7274 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
7275 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7276 (vc-cvs-annotate-command):
bcd7a0a4
SM
7277 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7278 * progmodes/prolog.el (prolog-consult-compile):
7279 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7280 Use add/remove-function instead.
7281 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7282 (gud-tooltip-process-output, gud-tooltip-tips):
7283 Use add/remove-function instead.
7284 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7285 (scheme-interaction-mode, exit-scheme-interaction-mode):
7286 Use add/remove-function instead.
7287
7288 * vc/vc-dispatcher.el: Use lexical-binding.
7289 (vc--process-sentinel): Rename from vc-process-sentinel.
7290 Change last arg to be the code to run. Don't use vc-previous-sentinel
7291 and vc-sentinel-commands any more.
7292 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7293 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7294
e36b2d20 72952013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 7296
bcd7a0a4 7297 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 7298 Handle function names with a single character. (Bug#14111)
4d3268ba 7299
781b4af6 73002013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
7301
7302 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7303 for subroutines defined in an eval (bug#14182).
7304
7d688336
TV
73052013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7306
7307 * bookmark.el (bookmark-completing-read): Improve handling of empty
7308 string (bug#14176).
7309
31dcede0
SM
73102013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7311
7312 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7313
adc31213
FEG
73142013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7315
7316 New faster Imenu implementation (bug#14058).
7317 * progmodes/python.el:
7318 (python-imenu-prev-index-position):
7319 (python-imenu-format-item-label-function)
7320 (python-imenu-format-parent-item-label-function)
7321 (python-imenu-format-parent-item-jump-label-function):
7322 New vars.
7323 (python-imenu-format-item-label)
7324 (python-imenu-format-parent-item-label)
7325 (python-imenu-format-parent-item-jump-label)
7326 (python-imenu--put-parent, python-imenu--build-tree)
7327 (python-imenu-create-index, python-imenu-create-flat-index)
7328 (python-util-popn): New functions.
7329 (python-mode): Set imenu-create-index-function to
7330 python-imenu-create-index.
7331
cdca8255
SM
73322013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7333
7334 * winner.el (winner-active-region): Use region-active-p, activate-mark
7335 and deactivate-mark (bug#14225).
7336
7337 * simple.el (deactivate-mark): Don't inline it.
7338
beb42340
MA
73392013-04-18 Michael Albinus <michael.albinus@gmx.de>
7340
7341 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7342
fc7f4d7e
TH
73432013-04-18 Tassilo Horn <tsdh@gnu.org>
7344
7345 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7346 file extensions from the archive-mode entry in order to prefer
7347 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7348
29f47822
LL
73492013-04-18 Leo Liu <sdl.web@gmail.com>
7350
7351 * bindings.el (help-event-list): Add ?\?.
7352
d36ed1c8
SM
73532013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * subr.el (with-wrapper-hook): Declare obsolete.
7356 * simple.el (filter-buffer-substring-function): New hook.
7357 (filter-buffer-substring): Use it.
7358 (filter-buffer-substring-functions): Mark obsolete.
7359 * minibuffer.el (completion-in-region-function): New hook.
7360 (completion-in-region): Use it.
7361 (completion-in-region-functions): Mark obsolete.
7362 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7363 * abbrev.el (abbrev-expand-function): New hook.
7364 (expand-abbrev): Use it.
7365 (abbrev-expand-functions): Mark obsolete.
7366 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7367 and :filter-return.
7368
04754d36
FEG
73692013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7370
7371 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7372 and do not care about match data.
7373
dd8791e9
SM
73742013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7375
7376 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7377 completion tables when completing error conditions and
7378 `declare' arguments.
7379 (lisp-complete-symbol, field-complete): Mark as obsolete.
7380 (check-parens): Unmatched parens are user errors.
7381 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7382
ffe54a13
AM
73832013-04-17 Michal Nazarewicz <mina86@mina86.com>
7384
dd8791e9
SM
7385 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7386 command changed buffer (ie. `flyspell-pre-buffer' is not current
7387 buffer), which prevents making decisions based on invalid value of
7388 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7389 cause an error when `flyspell-pre-point' was nil after switching
7390 buffers.
7391 (flyspell-post-command-hook): No longer needs to change buffers when
7392 checking pre-word. While at it remove unnecessary progn.
ffe54a13 7393
ec7e39f2
AM
73942013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7395
7396 * textmodes/ispell.el (ispell-add-per-file-word-list):
7397 Fix `flyspell-correct-word-before-point' error when accepting
7398 words and `coment-padding' is an integer by using
7399 `comment-normalize-vars' (Bug #14214).
7400
083850a6
FEG
74012013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7402
7403 New defun movement commands.
7404 * progmodes/python.el (python-nav--syntactically)
7405 (python-nav--forward-defun, python-nav-backward-defun)
7406 (python-nav-forward-defun): New functions.
7407
619ed6e1
FEG
74082013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7409
7410 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7411 (python-syntax-context): Use named compiler-macro for backwards
7412 compatibility with Emacs 24.x.
7413
7a1beb6c
LL
74142013-04-17 Leo Liu <sdl.web@gmail.com>
7415
7416 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7417 octave-hide-process-buffer.
7418
2d3fa3e5
SM
74192013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7420
7421 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7422 (bug#14216).
7423
7ce5be54
JPG
74242013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7425
7426 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7427 Fix adjustment of offset when receiving incomplete responses from GDB
7428 (bug#14129).
7429
351edece
SM
74302013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7431
7432 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7433 python-mode-abbrev-table.
7434 (python-skeleton-define): Adjust accordingly.
7435 (python-mode-abbrev-table): New table that inherits from it so that
7436 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7437
7438 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7439 (abbrev-symbol): Use it.
7440 (abbrev--before-point): Use it since we already handle inheritance.
7441
613f9481
LL
74422013-04-16 Leo Liu <sdl.web@gmail.com>
7443
7444 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7445 binding to info-lookup-symbol.
7446
51646b62
JB
74472013-04-16 Juanma Barranquero <lekktu@gmail.com>
7448
7449 * minibuffer.el (completion--twq-all):
7450 * term/ns-win.el (ns-initialize-window-system):
7451 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7452
efb3f01d
SM
74532013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7454
36c0a301
SM
7455 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7456 global bindings.
7457
efb3f01d
SM
7458 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7459
fb549d64
DG
74602013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7461
7462 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7463 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7464 to nil.
7465 (ruby-end-of-defun): Remove the unused arg, change the docstring
7466 to reflect that this function is only used as the value of
7467 `end-of-defun-function'.
7468 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7469 to reflect an earlier change that beginning/end-of-defun functions
7470 jump between methods in a class definition, as well as top-level
7471 functions.
7472
21e8fe2f
SM
74732013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7474
7475 * minibuffer.el (minibuffer-complete): Don't just scroll
7476 a *Completions* that's been iconified.
7477 (minibuffer-force-complete): Make sure repetitions do cycle when going
7478 through completion-in-region -> minibuffer-complete.
7479
20e527d0
AM
74802013-04-15 Alan Mackenzie <acm@muc.de>
7481
7482 Correct the placement of c-cpp-delimiters when there're #s not at
7483 col 0.
7484
7485 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7486 place a submatch around the #.
21e8fe2f
SM
7487 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7488 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
7489 on the #, not BOL.
7490
dabefae5
SM
74912013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7492
7493 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7494 (advice--member-p): New arg `name'.
7495 (advice--add-function, advice-member-p): Use it (bug#14202).
7496
85c9ab64
AM
74972013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7498
7499 Reformulate java imenu-generic-expression.
7500 The old expression contained ill formed regexps.
7501
7502 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7503 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7504 (cc-imenu-java-method-arg-regexp): New defconsts.
7505 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 7506 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
7507 handling of spaces in the regexp.
7508
0f821d99
AM
75092013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7510
7511 * textmodes/ispell.el (ispell-command-loop): Remove
7512 flyspell highlight of a word when ispell accepts it (bug #14178).
7513
eb922adf
MA
75142013-04-15 Michael Albinus <michael.albinus@gmx.de>
7515
7516 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7517 uses code from the previous `ange-ftp-run-real-handler'.
7518 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7519 only in case that function exist. This is needed for proper
7520 unloading of Tramp.
7521
4d9a0979
TH
75222013-04-15 Tassilo Horn <tsdh@gnu.org>
7523
7524 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7525
7526 * textmodes/reftex.el (reftex-compile-variables): Use it.
7527
a829b0dc
SM
75282013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7529
91e8293c
SM
7530 * files.el (normal-mode): Only use default major-mode if no other mode
7531 was specified.
7532
830aed4d
SM
7533 * emacs-lisp/trace.el (trace-values): New function.
7534
a829b0dc
SM
7535 * files.el: Allow : in local variables (bug#14089).
7536 (hack-local-variable-regexp): New var.
7537 (hack-local-variables-prop-line, hack-local-variables): Use it.
7538
7ae9f0fb
RW
75392013-04-13 Roland Winkler <winkler@gnu.org>
7540
7541 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7542 data before it gets modified by bibtex-beginning-of-entry.
7543
6646e848
RW
75442013-04-13 Roland Winkler <winkler@gnu.org>
7545
7546 * textmodes/bibtex.el (bibtex-url): Doc fix.
7547
75482013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
7549
7550 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7551 does not visit a BibTeX file, exclude it from the list of buffers
7552 returned by bibtex-initialize.
7553
0aa3616e
SB
75542013-04-13 Stephen Berman <stephen.berman@gmx.net>
7555
7556 * window.el (split-window): Remove interactive form, since as a
7557 command this function is a special case of split-window-below.
7558 Correct doc string.
7559
011cddd6
RW
75602013-04-12 Roland Winkler <winkler@gnu.org>
7561
7562 * faces.el (read-face-name): Do not override value of arg default.
7563 Allow single faces and strings as default values. Remove those
7564 elements from return value that are not faces.
7565 (describe-face): Simplify.
7566 (face-at-point): New optional args thing and multiple so that this
7567 function can provide the same functionality previously provided by
7568 read-face-name.
7569 (make-face-bold, make-face-unbold, make-face-italic)
7570 (make-face-unitalic, make-face-bold-italic, invert-face)
7571 (modify-face, read-face-and-attribute): Use face-at-point.
7572
7573 * cus-edit.el (customize-face, customize-face-other-window)
7574 * cus-theme.el (custom-theme-add-face)
7575 * face-remap.el (buffer-face-set)
7576 * facemenu.el (facemenu-set-face): Use face-at-point.
7577
f24e0036
MA
75782013-04-12 Michael Albinus <michael.albinus@gmx.de>
7579
7580 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7581
da3cda2d
TH
75822013-04-10 Tassilo Horn <tsdh@gnu.org>
7583
7584 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7585 off leading { and trailing } from field values.
7586
15e54145
SM
75872013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7588
78ce603d
SM
7589 * emacs-lisp/timer.el (timer--check): New function.
7590 (timer--time, timer-set-function, timer-event-handler): Use it.
7591 (timer-set-idle-time): Simplify.
7592 (timer--activate): CSE.
7593 (timer-event-handler): Give more info in error message.
7594 (internal-timer-start-idle): New function, moved from C.
7595
15e54145
SM
7596 * mpc.el (mpc-proc): Add `restart' argument.
7597 (mpc-proc-cmd): Use it.
7598 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7599 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7600 less often.
7601
7144c627
MY
76022013-04-10 Masatake YAMATO <yamato@redhat.com>
7603
7604 * progmodes/sh-script.el: Implement `sh-mode' own
7605 `add-log-current-defun-function' (bug#14112).
7606 (sh-current-defun-name): New function.
7607 (sh-mode): Use the function.
7608
b39792eb
BG
76092013-04-09 Bastien Guerry <bzg@gnu.org>
7610
7611 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7612
8acdeb71
SM
76132013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7614
6fcdab68
SM
7615 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7616
8acdeb71
SM
7617 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7618 timer (bug#14156).
7619
e3e7b504
NF
76202013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7621
7622 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7623 declaration.
7624
201bb296
LL
76252013-04-07 Leo Liu <sdl.web@gmail.com>
7626
7627 * pcmpl-x.el: New file.
7628
ebb19708
DA
76292013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7630
7631 Do not set x-display-name until X connection is established.
7632 This is needed to prevent from weird situation described at
7633 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7634 * frame.el (make-frame): Set x-display-name after call to
7635 window system initialization function, not before.
7636 * term/x-win.el (x-initialize-window-system): Add optional
7637 display argument and use it.
7638 * term/w32-win.el (w32-initialize-window-system):
7639 * term/ns-win.el (ns-initialize-window-system):
7640 * term/pc-win.el (msdos-initialize-window-system):
7641 Add compatible optional display argument.
7642
33bb237a
EZ
76432013-04-06 Eli Zaretskii <eliz@gnu.org>
7644
7645 * files.el (normal-backup-enable-predicate): On MS-Windows and
7646 MS-DOS compare truenames of temporary-file-directory and of the
7647 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7648 don't fail comparison by compare-strings. Also, compare file
7649 names case-insensitively on MS-Windows and MS-DOS.
7650
134abf1f
SM
76512013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7652
7653 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7654 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7655
d695cb94
DG
76562013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7657
e3e7b504
NF
7658 * whitespace.el (whitespace-color-on, whitespace-color-off):
7659 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 7660
f4ad7ea1 76612013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
7662
7663 * ispell.el (ispell-set-spellchecker-params):
7664 Really set `ispell-args' for all equivs.
7665
632556e4
SM
76662013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * ido.el (ido-completions): Use extra elements of ido-decorations
7669 (bug#14143).
7670 (ido-decorations): Update docstring.
7671
2a417372
MA
76722013-04-05 Michael Albinus <michael.albinus@gmx.de>
7673
7674 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7675 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7676 nil during initialization, in order not to miss changes since the
7677 file was opened. (Bug#14140)
7678
fc164b0c
LL
76792013-04-05 Leo Liu <sdl.web@gmail.com>
7680
7681 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7682
0ccecc08
JB
76832013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7684
7685 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7686
51af1aa2
GM
76872013-04-04 Glenn Morris <rgm@gnu.org>
7688
7689 * electric.el (electric-pair-inhibit-predicate): Add :version.
7690
b208ebc6
SM
76912013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7692
7693 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7694 when a package is required several times (bug#14082).
7695
f3d3eaf0
RW
76962013-04-04 Roland Winkler <winkler@gnu.org>
7697
7698 * faces.el (read-face-name): Behave as promised by the docstring.
7699 Assume that arg default is a list of faces.
7700 (describe-face): Call read-face-name with list of default faces.
7701
2575da50
TV
77022013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7703
7704 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7705 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7706 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7707 the header.
7708 (bookmark-exit-hook-internal): Save even if list is empty.
7709
397703b4
YH
77102013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7711
7712 * emacs-lisp/package.el (package-pinned-packages): New var.
7713 (package--add-to-archive-contents): Obey it (bug#14118).
7714
691e26ae
AM
77152013-04-03 Alan Mackenzie <acm@muc.de>
7716
8a621d53
JB
7717 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7718 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
7719
7720 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7721 parameter `not-in-delimiter'. Handle being inside comment opener.
7722 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7723 character in case we're typing a '*' after a '/'.
7724 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7725 instead by passing the parameter to c-state-pp-to-literal.
7726
7727 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7728 for elt. 7 of a parse state.
7729
4b725a70
PE
77302013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7731
7732 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7733 * international/latin1-disp.el, international/mule-util.el:
7734 * language/cyril-util.el, language/european.el, language/ind-util.el:
7735 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7736 * language/tibetan.el, language/viet-util.el:
7737 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7738
15c579f0
SM
77392013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7740
7741 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7742 (electric-pair-post-self-insert-function): Use it.
7743 (electric-pair-default-inhibit): New function, extracted from
7744 electric-pair-post-self-insert-function.
7745
a77e2924
RW
77462013-03-31 Roland Winkler <winkler@gnu.org>
7747
7748 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7749
2bd8a4a8
SM
77502013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7751
7752 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7753
8d3655be 77542013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
7755
7756 Un-indent after "pass" and "return" statements (Bug#13888)
7757 * progmodes/python.el (python-indent-block-enders): New var.
7758 (python-indent-calculate-indentation): Use it.
7759
8d3655be 77602013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
7761
7762 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7763 defun. Defining it as defalias could introduce too eager
7764 byte-compiler optimization. (Bug#14030)
7765
8d3655be 77662013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
7767
7768 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7769
0b1619da
LL
77702013-03-30 Leo Liu <sdl.web@gmail.com>
7771
7772 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7773 (kmacro-execute-from-register): Pass the keyboard macro to
7774 kmacro-call-macro or repeating won't work correctly.
7775
0b938190
TZ
77762013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
7777
7778 * progmodes/subword.el: Back to using `forward-symbol'.
7779
7780 * subr.el (forward-whitespace, forward-symbol)
7781 (forward-same-syntax): Move from thingatpt.el.
7782
35710234
LL
77832013-03-29 Leo Liu <sdl.web@gmail.com>
7784
7785 * kmacro.el (kmacro-to-register): New command.
7786 (kmacro-execute-from-register): New function.
7787 (kmacro-keymap): Bind to 'x'. (Bug#14071)
7788
efc0bb73
SM
77892013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 * mpc.el: Use defvar-local and setq-local.
7792 (mpc--proc-connect): Connection failures are not bugs.
7793 (mpc-mode-map): `follow-link' only applies to the buffer's content.
7794 (mpc-volume-map): Bind to the up-events.
7795
75a2f981
TZ
77962013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
7797
7798 * progmodes/subword.el (superword-mode): Use `forward-sexp'
7799 instead of `forward-symbol'.
7800
17c781d1
SM
78012013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7802
7803 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7804 (edebug--recursive-edit): Use it.
7805 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7806 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7807
f67bfbcf
LL
78082013-03-28 Leo Liu <sdl.web@gmail.com>
7809
7810 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
7811
b59f639d
EZ
78122013-03-27 Eli Zaretskii <eliz@gnu.org>
7813
7814 * facemenu.el (list-colors-callback): New defvar.
7815 (list-colors-redisplay): New function.
7816 (list-colors-display): Install list-colors-redisplay as the
7817 revert-buffer-function. (Bug#14063)
7818
f557c1b1
SM
78192013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7820
b1da2957
SM
7821 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
7822 and suffixes don't overlap (bug#14061).
7823
f557c1b1
SM
7824 * case-table.el: Use lexical-binding.
7825 (case-table-get-table): New function.
7826 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
7827
002668e1
TZ
78282013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
7829
7830 * progmodes/subword.el: Add `superword-mode' to do word motion
7831 over symbol_words (parallels and leverages `subword-mode' which
7832 does word motion inside MixedCaseWords).
7833
73572c72
AG
78342013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
7835
78b8f320 7836 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 7837 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 7838
69b2c07e
SM
78392013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7840
7841 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
7842 Change return value to be a sexp. Delay `get-buffer' to after
7843 restoring the desktop (bug#13951).
7844
08bb5ee2
LL
78452013-03-26 Leo Liu <sdl.web@gmail.com>
7846
7847 * register.el: Move semantic tag handling back to
7848 cedet/semantic/senator.el. (Bug#14052)
7849
8d4c974e
SM
78502013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7851
7852 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
7853 into the prompt either (bug#13963).
7854
b234d92c
SM
78552013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7856
7857 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
7858 part of "(error-foo)".
7859
ddfa3cb4
JL
78602013-03-24 Juri Linkov <juri@jurta.org>
7861
7862 * replace.el (list-matching-lines-prefix-face): New defcustom.
7863 (occur-1): Pass `list-matching-lines-prefix-face' to the function
7864 `occur-engine' if `face-differs-from-default-p' returns t.
7865 (occur-engine): Add `,' inside backquote construct to evaluate
7866 `prefix-face'. Propertize the prefix with the `prefix-face' face.
7867 Pass `prefix-face' to the functions `occur-context-lines' and
7868 `occur-engine-add-prefix'.
7869 (occur-engine-add-prefix, occur-context-lines): Add optional arg
7870 `prefix-face' and propertize the prefix with `prefix-face'.
7871 (Bug#14017)
7872
7b0e2f85
LL
78732013-03-24 Leo Liu <sdl.web@gmail.com>
7874
7875 * nxml/rng-valid.el (rng-validate-while-idle)
7876 (rng-validate-quick-while-idle): Guard against deleted buffer.
7877 (Bug#13999)
7878
7879 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
7880 is the last entry in kill-buffer-hook.
7881
7882 * files.el (kill-buffer-hook): Doc fix.
7883
b3082f49
DG
78842013-03-23 Dmitry Gutov <dgutov@yandex.ru>
7885
b234d92c
SM
7886 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
7887 Make it safe-local.
bde73d27 7888
b3082f49
DG
7889 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
7890
a320a2db
LL
78912013-03-23 Leo Liu <sdl.web@gmail.com>
7892
7e74b0fb
LL
7893 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
7894 Remove.
7895
7896 * nxml/rng-valid.el (rng-validate-mode)
7897 (rng-after-change-function, rng-do-some-validation):
7898 * nxml/rng-maint.el (rng-validate-buffer):
7899 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
7900 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
7901 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
7902 (nxml-extend-after-change-region): Use with-silent-modifications.
7903
a320a2db
LL
7904 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
7905 timer-idle-list.
7906
7907 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
7908 (rng-next-error-1, rng-previous-error-1): Do not let-bind
7909 timer-idle-list. (Bug#13999)
7910
e38e6780
JL
79112013-03-23 Juri Linkov <juri@jurta.org>
7912
7913 * info.el (info-index-match): New face.
7914 (Info-index, Info-apropos-matches): Add a nested subgroup to the
7915 main pattern and add text properties with the new face to matches
7916 in index entries relative to the beginning of the index entry.
7917 (Bug#14015)
7918
e8cc7880
DE
79192013-03-21 Eric Ludlam <zappo@gnu.org>
7920
7921 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
7922 Inhibit read only while inserting objects.
7923
9bb0d822
TZ
79242013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
7925
7926 * progmodes/cfengine.el: Update docs to mention
7927 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
7928 symbol motion. Remove "_" from the word syntax.
7929
aa703640
TZ
79302013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
7931
7932 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
7933 syntax for both `cfengine2-mode' and `cfengine3-mode'.
7934
afff09d0
JL
79352013-03-20 Juri Linkov <juri@jurta.org>
7936
7937 * info.el (Info-next-reference-or-link)
7938 (Info-prev-reference-or-link): New functions.
7939 (Info-next-reference, Info-prev-reference): Use them.
7940 (Info-try-follow-nearest-node): Handle footnote navigation.
7941 (Info-fontify-node): Fontify footnotes. (Bug#13989)
7942
9a1ff164
SM
79432013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7944
7945 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
7946 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
7947
2667d15d
PE
79482013-03-20 Paul Eggert <eggert@cs.ucla.edu>
7949
7950 Suppress unnecessary non-ASCII chatter during build process.
7951 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
7952 (batch-skkdic-convert): Suppress most of the chatter.
7953 It's not needed so much now that machines are faster,
7954 and its non-ASCII component was confusing; see Dmitry Gutov in
7955 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
7956
438b0579
LL
79572013-03-20 Leo Liu <sdl.web@gmail.com>
7958
7959 * ido.el (ido-chop): Fix bug#10994.
7960
c128ab07
DG
79612013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7962
7963 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
7964 Remove vars.
9a1ff164
SM
7965 (whitespace-color-on, whitespace-color-off):
7966 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 7967
0e6008c5
SM
79682013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7969
7970 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
7971 remapping in mode-line.
7972 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
7973
627b52b0
DG
79742013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7975
7976 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
7977 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
7978 (whitespace-font-lock-keywords): Change description.
7979 (whitespace-color-on): Don't save `font-lock-keywords' value, save
7980 the constructed keywords instead.
7981 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 7982
50c3a20b
LL
79832013-03-19 Leo Liu <sdl.web@gmail.com>
7984
7985 * progmodes/compile.el (compilation-display-error): New command.
7986 (compilation-mode-map, compilation-minor-mode-map): Bind it to
7987 C-o. (Bug#13992)
7988
2aa2157b
PE
79892013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7990
7991 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
7992
e477dbfa
JD
79932013-03-18 Jan Djärv <jan.h.d@swipnet.se>
7994
7995 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
7996
64ab82d1
MA
79972013-03-18 Michael Albinus <michael.albinus@gmx.de>
7998
7999 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8000
8001 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8002 * net/tramp-gvfs.el (top):
8003 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8004 (tramp-handle-shell-command): Use it.
8005 (tramp-dissect-file-name): Raise an error when hostname is a
8006 method name, and neither method nor user is specified.
8007
8008 * net/trampver.el: Update release number.
8009
33cef733
LL
80102013-03-18 Leo Liu <sdl.web@gmail.com>
8011
8012 Make sure eldoc can be turned off properly.
8013 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8014 eldoc-mode.
8015 (eldoc-display-message-p): Revert last change.
8016 (eldoc-display-message-no-interference-p)
8017 (eldoc-print-current-symbol-info): Tweak.
8018
2167b7b2
TH
80192013-03-18 Tassilo Horn <tsdh@gnu.org>
8020
8021 * doc-view.el (doc-view-new-window-function): Check the new window
8022 overlay's display property instead the char property of the
8023 buffer's first char. Use `with-selected-window' instead of
8024 `save-window-excursion' with `select-window'.
8025 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 8026 display property instead the char property of the buffer's first char.
2167b7b2 8027
982efbcd
PE
80282013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8029
8030 Automate the build of ja-dic.el (Bug#13984).
8031 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8032 from the input, rather than assume that it's been done for us by the
8033 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8034 the current date into a ja-dic.el comment, as that complicates
8035 regression testing.
8036
2fcc7665
SM
80372013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8038
8039 * whitespace.el: Fix double evaluation.
8040 (whitespace-space, whitespace-hspace, whitespace-tab)
8041 (whitespace-newline, whitespace-trailing, whitespace-line)
8042 (whitespace-space-before-tab, whitespace-indentation)
8043 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8044 obsolete defvars.
8045 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8046 (whitespace-color-on): Use a single font-lock-add-keywords call.
8047 Fix double-evaluation of face variables.
8048
67c0a6e6
MA
80492013-03-17 Michael Albinus <michael.albinus@gmx.de>
8050
2fcc7665
SM
8051 * net/tramp-adb.el (tramp-adb-parse-device-names):
8052 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 8053 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 8054
69489f1d
LL
80552013-03-17 Leo Liu <sdl.web@gmail.com>
8056
8057 Extend eldoc to display info in the mode-line. (Bug#13978)
8058 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8059 (eldoc-mode-line-string): New variable.
8060 (eldoc-minibuffer-message): New function.
8061 (eldoc-message-function): New variable.
8062 (eldoc-message): Use it.
8063 (eldoc-display-message-p)
2fcc7665
SM
8064 (eldoc-display-message-no-interference-p):
8065 Support eldoc-post-insert-mode.
69489f1d
LL
8066
8067 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8068 (eval-expression): Run it.
8069
9c44569e
RW
80702013-03-17 Roland Winkler <winkler@gnu.org>
8071
8072 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8073 strings in the list of return values.
8074
327f1f6f
JB
80752013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8076
8077 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8078 radix before checking for HMS forms.
8079
67ed8fcd
LL
80802013-03-16 Leo Liu <sdl.web@gmail.com>
8081
8082 * progmodes/scheme.el: Add indentation and font-locking for λ.
8083 (Bug#13975)
8084
78be8b64 80852013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
8086
8087 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8088 token before point (bug#13942).
8089
78be8b64 80902013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 8091
95b43468 8092 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 8093
98e775e6
EZ
80942013-03-16 Eli Zaretskii <eliz@gnu.org>
8095
8096 * startup.el (command-line-normalize-file-name): Fix handling of
8097 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8098 <xfq.free@gmail.com> in
8099 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8100
2edd6029
MA
81012013-03-15 Michael Albinus <michael.albinus@gmx.de>
8102
8103 Sync with Tramp 2.2.7.
8104
8105 * net/trampver.el: Update release number.
8106
d35f5864
TH
81072013-03-14 Tassilo Horn <tsdh@gnu.org>
8108
f35ffe5e
TH
8109 * doc-view.el Fix bug#13887.
8110 (doc-view-insert-image): Don't modify overlay associated to
8111 non-live windows, and implement horizontal centering of image in
8112 case it's smaller than the window.
8113 (doc-view-new-window-function): Force redisplay of new windows on
8114 doc-view buffers.
d35f5864 8115
1c4a85ed
KF
81162013-03-13 Karl Fogel <kfogel@red-bean.com>
8117
8118 * saveplace.el (save-place-alist-to-file): Don't sort
8119 `save-place-alist', just pretty-print it (bug#13882).
8120
85b66a21
MA
81212013-03-13 Michael Albinus <michael.albinus@gmx.de>
8122
a020afb9
JB
8123 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8124 Check whether `default-file-name-coding-system' is bound.
8125 It isn't in XEmacs.
85b66a21 8126
175600da
SM
81272013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8128
e7f7cb1a
SM
8129 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8130 backquotes for `obsolete' (bug#13929).
8131
175600da
SM
8132 * international/mule.el (find-auto-coding): Include file name in
8133 obsolescence warning (bug#13922).
8134
ca68a22e
TZ
81352013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8136
8137 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8138 for CFEngine 3-specific indentation.
8139 (cfengine3-indent-line): Use it. Fix up category regex.
8140 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8141
940e5099
SM
81422013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8143
8144 * type-break.el (type-break-file-name):
8145 * textmodes/remember.el (remember-data-file):
8146 * strokes.el (strokes-file):
8147 * shadowfile.el (shadow-initialize):
8148 * saveplace.el (save-place-file):
8149 * ps-bdf.el (bdf-cache-file):
8150 * progmodes/idlwave.el (idlwave-config-directory):
8151 * net/quickurl.el (quickurl-url-file):
8152 * international/kkc.el (kkc-init-file-name):
8153 * ido.el (ido-save-directory-list-file):
8154 * emulation/viper.el (viper-custom-file-name):
8155 * emulation/vip.el (vip-startup-file):
8156 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8157 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8158
cc725808
PE
81592013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8160
8161 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8162 * language/thai-word.el: Switch to UTF-8.
8163
a020afb9 8164See ChangeLog.16 for earlier changes.
e3d51b27
MR
8165
8166;; Local Variables:
8167;; coding: utf-8
e3d51b27
MR
8168;; End:
8169
ab422c4d 8170 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
8171
8172 This file is part of GNU Emacs.
8173
8174 GNU Emacs is free software: you can redistribute it and/or modify
8175 it under the terms of the GNU General Public License as published by
8176 the Free Software Foundation, either version 3 of the License, or
8177 (at your option) any later version.
8178
8179 GNU Emacs is distributed in the hope that it will be useful,
8180 but WITHOUT ANY WARRANTY; without even the implied warranty of
8181 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8182 GNU General Public License for more details.
8183
8184 You should have received a copy of the GNU General Public License
8185 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.