Fix minor problems found by static checking.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4ed77415
EZ
12013-10-08 Eli Zaretskii <eliz@gnu.org>
2
3 Support menus on text-mode terminals.
4 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5 functionality.
6
7 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8
9 * menu-bar.el (popup-menu, popup-menu-normalize-position): Moved
10 here from mouse.el.
11 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
12 and arrow keys.
13 (tty-menu-navigation-map): New map for TTY menu navigation.
14
15 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
16
17 * frame.el (display-mouse-p): Report text-mode mouse as available
18 on w32.
19 (display-popup-menus-p): Report availability if mouse is
20 available; don't condition on window-system.
21
22 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
23 (tty-menu-selected-face): New faces.
24
b7d5bd82
TL
252013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
26
06286513
SM
27 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
28 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
29 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
30 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
31 New constants.
32 (lisp-mode-variables): New `elisp' argument.
33 (emacs-lisp-mode): Use it.
34 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
35 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
36
b7d5bd82
TL
37 * indent.el: Use lexical-binding.
38 (indent-region): Add progress reporter.
39 (tab-stop-list): Make it implicitly extend to infinity by repeating the
40 last step.
41 (indent--next-tab-stop): New function to implement this behavior.
42 (tab-to-tab-stop, move-to-tab-stop): Use it.
43
442013-10-08 Teemu Likonen <tlikonen@iki.fi>
45
46 * indent.el (indent-rigidly--current-indentation): New function.
47 (indent-rigidly-map): New var.
48 (indent-rigidly): Use it to provide interactive mode (bug#8196).
49
5ea75d23
BG
502013-10-08 Bastien Guerry <bzg@gnu.org>
51
52 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
53
cc5da1ec
SM
542013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
55
8ffa1a0b
SM
56 * progmodes/perl-mode.el: Use lexical-binding.
57 Remove redundant :group args.
58 (perl-nochange): Change default to be closer to other major modes's
59 standard behavior.
60 (perl-indent-line): Don't consider text on current line as a
61 valid beginning of function from which to indent.
62
f2223371
SM
63 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
64 with more than one argument (bug#15538).
65
44256060
SM
66 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
67
cc5da1ec
SM
68 * vc/pcvs.el: Use lexical-binding.
69 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
70 environment of `eval'.
71 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
72 than a list of expressions. Adjust callers.
73 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
74
0ea1599d
DG
752013-10-07 Dmitry Gutov <dgutov@yandex.ru>
76
77 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 78 case of the dot in a chained method call being on the following line.
0ea1599d 79
da3e5ebb
SM
802013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
81
2abb4e65
SM
82 * electric.el (electric-indent-inhibit): New var.
83 (electric-indent-post-self-insert-function): Use it.
84 * progmodes/python.el (python-mode): Set it.
85
d2e0e795
SM
86 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
87 open braces.
88
89 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
90
bdc6b4c8
SM
91 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
92 (css-mode): Use electric-indent-chars.
93
da3e5ebb
SM
94 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
95 (font-lock-beg, font-lock-end): Move before first use.
96 (nxml-mode): Use syntax-propertize-function.
97 (nxml-after-change, nxml-after-change1): Adjust accordingly.
98 (nxml-extend-after-change-region): Remove.
99 * nxml/xmltok.el: Use lexical-binding.
100 (xmltok-save): Use `declare'.
101 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
102 * nxml/nxml-util.el: Use lexical-binding.
103 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
104 Use `declare'.
105 * nxml/nxml-ns.el: Use lexical-binding.
106 (nxml-ns-save): Use `declare'.
107 (nxml-ns-prefixes-for): Avoid add-to-list.
108 * nxml/rng-match.el: Use lexical-binding.
109 (rng--ipattern): Use cl-defstruct.
110 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
111 (rng-cons-group-after, rng-subst-group-after)
112 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
113 Use closures instead of `(lambda...).
114
f8f91d5d
MA
1152013-10-07 Michael Albinus <michael.albinus@gmx.de>
116
117 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
118 of BEG and END.
119
da3e5ebb
SM
120 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
121 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
122 (tramp-gvfs-handle-insert-file-contents): Remove function.
123
da3e5ebb
SM
124 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
125 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
126
127 * net/trampver.el: Update release number.
128
7ccae3b1
SM
1292013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
130
55ca2c0d
SM
131 * progmodes/compile.el (compilation-parse-errors):
132 Use compilation--put-prop.
133 (compilation--ensure-parse): Check compilation-multiline.
134
731fc3ae
SM
135 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
136
da3e5ebb
SM
137 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
138 lexical-binding.
a5833280 139
2e7ba2c2
SM
140 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
141
7ccae3b1
SM
142 * progmodes/ruby-mode.el: Fix recently added tests.
143 (ruby-smie-grammar): Add - and +.
144 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
145 (ruby-smie--backward-id): New functions.
146 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
147 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
148 any more.
149
85698d63
LL
1502013-10-07 Leo Liu <sdl.web@gmail.com>
151
152 * register.el (register-preview-delay)
153 (register-preview-functions): New variables.
154 (register-read-with-preview, register-preview)
155 (register-describe-oneline): New functions.
156 (point-to-register, window-configuration-to-register)
157 (frame-configuration-to-register, jump-to-register)
158 (number-to-register, view-register, insert-register)
159 (copy-to-register, append-to-register, prepend-to-register)
160 (copy-rectangle-to-register): Use register-read-with-preview to
161 read register. (Bug#15525)
162
3986af6c
DS
1632013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
164
165 * net/network-stream.el (network-stream-open-starttls): Don't add
166 --insecure if it's already present, because that gnutls-cli
167 rejects getting that parameter twice.
168
5cd9cda9
DG
1692013-10-06 Dmitry Gutov <dgutov@yandex.ru>
170
171 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
172 keyword, too.
173
da9ea6d9
DG
1742013-10-05 Dmitry Gutov <dgutov@yandex.ru>
175
176 * newcomment.el (comment-use-global-state): Change default value
177 to t, mark obsolete (Bug#15251).
178 (comment-beginning): In addition to `comment-to-syntax', check the
179 value of `comment-use-global-state'.
180
34d1a133
SM
1812013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
184 (ruby-comment-column): Follow the global default, by default.
185 (ruby-smie-grammar): Add assignment syntax.
186 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
187 open-paren, a comma, or a \.
188 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
189 and line continuations.
190 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
191 followed by implicit semi-colons. Add rule for string concatenation
192 and for indentation at BOB.
193 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
194
195 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
196 calling next-sexp, since next-token may have skipped chars which
197 next-sexp doesn't know should be skipped!
198
6f6ab820
LL
1992013-10-05 Leo Liu <sdl.web@gmail.com>
200
34d1a133
SM
201 * progmodes/octave.el (octave-send-region):
202 Call compilation-forget-errors.
6f6ab820 203
34ca0f4c
XF
2042013-10-04 Xue Fuqiao <xfq.free@gmail.com>
205
206 * vc/vc-svn.el (vc-svn-find-admin-dir):
207 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
208 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
209 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
210 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
211
a27c1b72
SM
2122013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
213
214 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
215
258ab3bc
SM
2162013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * subr.el (read-passwd): Hide chars even when called within a context
219 where after-change-functions is disabled (bug#15501).
220 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
221 until we removed ourself from overriding-terminal-local-map.
222
939fb29c
LL
2232013-10-04 Leo Liu <sdl.web@gmail.com>
224
258ab3bc
SM
225 * progmodes/octave.el (inferior-octave-mode):
226 Call compilation-forget-errors.
939fb29c 227
63bd7f35
XF
2282013-10-04 Xue Fuqiao <xfq.free@gmail.com>
229
230 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
231
9e6229fa
MA
2322013-10-04 Michael Albinus <michael.albinus@gmx.de>
233
234 * net/secrets.el (secrets-create-collection): Add optional
235 argument ALIAS. Use proper Label keyword. Append ALIAS as
236 dbus-call-method argument. (Bug#15516)
237
1dab32a3
LL
2382013-10-04 Leo Liu <sdl.web@gmail.com>
239
240 * progmodes/octave.el (inferior-octave-error-regexp-alist)
241 (inferior-octave-compilation-font-lock-keywords): New variables.
242 (compilation-error-regexp-alist)
243 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
244 (inferior-octave-mode): Use compilation-shell-minor-mode.
245
6cad7ba3
JS
2462013-10-04 Jorgen Schaefer <forcer@forcix.cx>
247
248 * minibuffer.el (completion--replace): Be careful that `end' might be
249 a marker.
250
acbadd00
DU
2512013-10-03 Daiki Ueno <ueno@gnu.org>
252
253 Add support for package signature checking.
254 * emacs-lisp/package.el (url-http-file-exists-p)
255 (epg-make-context, epg-context-set-home-directory)
256 (epg-verify-string, epg-context-result-for)
257 (epg-signature-status, epg-signature-to-string)
258 (epg-check-configuration, epg-configuration)
259 (epg-import-keys-from-file): Declare.
260 (package-check-signature): New user option.
261 (package-unsigned-archives): New user option.
262 (package-desc): Add `signed' field.
263 (package-load-descriptor): Set `signed' field if .signed file exists.
264 (package--archive-file-exists-p): New function.
265 (package--check-signature): New function.
266 (package-install-from-archive): Check package signature.
267 (package--download-one-archive): Check archive signature.
268 (package-delete): Remove .signed file.
269 (package-import-keyring): New command.
270 (package-refresh-contents): Import default keyring.
271 (package-desc-status): Add "unsigned" status.
272 (describe-package-1, package-menu--print-info)
273 (package-menu-mark-delete, package-menu--find-upgrades)
274 (package-menu--status-predicate): Support "unsigned" status.
275
adf2aa61
SM
2762013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
279 the new compilation scheme using the new byte-codes.
280
281 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
282 (byte-pophandler): New byte codes.
283 (byte-goto-ops): Adjust accordingly.
284 (byte-compile--use-old-handlers): New var.
285 (byte-compile-catch): Use new byte codes depending on
286 byte-compile--use-old-handlers.
287 (byte-compile-condition-case--old): Rename from
288 byte-compile-condition-case.
289 (byte-compile-condition-case--new): New function.
290 (byte-compile-condition-case): New function that dispatches depending
291 on byte-compile--use-old-handlers.
292 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
293 when we can.
294
295 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
296 Optimize under `condition-case' and `catch' if
297 byte-compile--use-old-handlers is nil.
298 (disassemble-offset): Handle new bytecodes.
299
328a8179
SM
3002013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
301
302 * subr.el (error): Use `declare'.
303 (decode-char, encode-char): Use advertised-calling-convention instead
304 of the docstring to discourage use of the `restriction' arg.
305
15a1e936
DU
3062013-10-03 Daiki Ueno <ueno@gnu.org>
307
308 * epg.el (epg-verify-file): Add a comment saying that it does not
309 notify verification error as a return value nor a signal.
310 (epg-verify-string): Ditto.
311
376f862a
KR
3122013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
313
314 * progmodes/compile.el (compilation-start): Try globbing the arg to
315 `cd' (bug#15417).
316
a2f93a5f
MA
3172013-10-02 Michael Albinus <michael.albinus@gmx.de>
318
319 Sync with Tramp 2.2.8.
320
321 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
322 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
323 * net/trampver.el: Update release number.
324
0daa0804
JD
3252013-10-01 Jan Djärv <jan.h.d@swipnet.se>
326
327 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
328 and default-process-coding-system for darwin only.
329
abd1ae34
SM
3302013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
331
332 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
333
be4e325d
MH
3342013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
335
336 * vc/vc-git.el (vc-git-grep): Disable pager.
337
e9155c4a
DG
3382013-10-01 Dmitry Gutov <dgutov@yandex.ru>
339
494e898b
DG
340 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
341 Use :url instead of :homepage, as per
342 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
343
e9155c4a
DG
344 * newcomment.el (comment-beginning): When `comment-use-syntax' is
345 non-nil, use `syntax-ppss' (Bug#15251).
346
481a8e0f
RS
3472013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
348
be4e325d
MH
349 * progmodes/octave.el (inferior-octave-startup-file):
350 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 351
056453c6
DG
3522013-09-29 Dmitry Gutov <dgutov@yandex.ru>
353
be4e325d
MH
354 * emacs-lisp/package.el (package-desc-from-define):
355 Accept additional arguments as plist, convert them to an alist and store
356 them in the `extras' slot.
056453c6
DG
357 (package-generate-description-file): Convert extras alist back to
358 plist and append to the `define-package' form arguments.
359 (package--alist-to-plist): New function.
360 (package--ac-desc): Add `extras' slot.
361 (package--add-to-archive-contents): Check if the archive-contents
362 vector is long enough, and if it is, pass its `extras' slot value
363 to `package-desc-create'.
364 (package-buffer-info): Call `lm-homepage', pass the returned value
365 to `package-desc-from-define'.
366 (describe-package-1): Render the homepage button (Bug#13291).
367
be4e325d
MH
368 * emacs-lisp/package-x.el (package-upload-buffer-internal):
369 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 370
832966e5
JD
3712013-09-29 Jan Djärv <jan.h.d@swipnet.se>
372
373 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
374 and default-process-coding-system to utf-8-unix (Bug#15402).
375
6cfe977d
XF
3762013-09-29 Xue Fuqiao <xfq.free@gmail.com>
377
378 * subr.el (looking-back): Do not recommend using looking-back.
379
38de11bd
AM
3802013-09-28 Alan Mackenzie <acm@muc.de>
381
382 Fix indentation/fontification of Java enum with "implements".
383
384 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
385 regexp which matches "implements", etc., in Java.
386 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
387 specifier clauses coming after "enum".
388 * progmodes/cc-fonts.el (c-font-lock-declarations)
389 (c-font-lock-enum-tail): Check for extra specifier clauses coming
390 after "enum".
391
1610938f
JD
3922013-09-28 Jan Djärv <jan.h.d@swipnet.se>
393
394 * faces.el (region): Change ns_selection_color to
395 ns_selection_fg_color, add ns_selection_bg_color.
396
e090f499
LL
3972013-09-28 Leo Liu <sdl.web@gmail.com>
398
4d2e94d1
LL
399 * progmodes/octave.el (inferior-octave-completion-table)
400 (inferior-octave-completion-at-point): Minor tweaks.
401
e090f499
LL
402 * textmodes/ispell.el (ispell-lookup-words): Rename from
403 lookup-words. (Bug#15460)
404 (lookup-words): Obsolete.
405 (ispell-complete-word, ispell-command-loop): All uses changed.
406
7e138a62
RS
4072013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
408
409 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
410 (octave-mode-menu): Add octave-send-buffer.
411 (octave-send-buffer): New function.
412
5af5ed08
RS
4132013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
414
415 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
416 octave-lookfor.
417 (octave-mode-menu): Add octave-lookfor.
418 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
419 octave-lookfor.
420 (octave-lookfor): New function.
421
3b7b2692
SM
4222013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * emacs-lisp/cl-macs.el:
425 (cl--loop-destr-temps): Remove.
426 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
427 its convention.
428 (cl--loop-set-iterator-function): New function.
429 (cl-loop): Adjust accordingly, so as not to use cl-subst.
430 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
431 Bind `it' with `let' instead of substituting it with `cl-subst'.
432 (cl--unused-var-p): New function.
433 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
434 Eliminate some unused variable warnings (bug#15326).
435
529fb53f
TH
4362013-09-27 Tassilo Horn <tsdh@gnu.org>
437
438 * doc-view.el (doc-view-scale-reset): Rename from
439 `doc-view-reset-zoom-level'.
440 (doc-view-scale-adjust): New command.
441 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
442 `doc-view-scale-adjust'.
443
0550c95a
TH
4442013-09-26 Tassilo Horn <tsdh@gnu.org>
445
446 * doc-view.el (doc-view-reset-zoom-level): New command.
447 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
448 zoom commands (bug#15466).
449
6950f152
KH
4502013-09-26 Kenichi Handa <handa@gnu.org>
451
452 * international/quail.el (quail-help): Make it not a command.
453
39587580
LL
4542013-09-26 Leo Liu <sdl.web@gmail.com>
455
456 * minibuffer.el (completion-all-sorted-completions): Make args
457 optional as they are.
458
00578659
DC
4592013-09-25 Daniel Colascione <dancol@dancol.org>
460
461 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
462 specs are and that they're not evaluated.
463
0c173878
SS
4642013-09-24 Sam Steingold <sds@gnu.org>
465
466 * midnight.el (clean-buffer-list-kill-regexps)
467 (clean-buffer-list-kill-buffer-names): Update for the new Man
468 buffer naming which includes the object name.
469
84998447
SM
4702013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
471
472 * eshell/esh-cmd.el (eshell--sep-terms): New var.
473 (eshell-parse-command, eshell-parse-pipeline): Use it since
474 eshell-separate-commands requires a dynamic scoped var.
475 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
476
33215353
LL
4772013-09-23 Leo Liu <sdl.web@gmail.com>
478
479 * autoinsert.el (auto-insert-alist): Make the value of
480 lexical-binding match its file setting.
481
57b16162
JB
4822013-09-23 Juanma Barranquero <lekktu@gmail.com>
483
c8af4e67
JB
484 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
485
57b16162
JB
486 * autoarg.el (autoarg-kp-digit-argument):
487 * electric.el (Electric-command-loop):
488 * kmacro.el (kmacro-step-edit-insert):
489 Do not set universal-argument-num-events.
490
7186ba60
LL
4912013-09-22 Leo Liu <sdl.web@gmail.com>
492
493 * files.el (interpreter-mode-alist): Add octave.
494
ece15004
AM
4952013-09-21 Alan Mackenzie <acm@muc.de>
496
497 C++: fontify identifier in declaration following "public:" correctly.
498 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
499 to match "public", etc.
500 (c-decl-prefix-re): Add ":" into the C++ value.
501 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
502 bit. Add a check for a ":" preceded by "public", etc.
503
75d83e22
EZ
5042013-09-21 Eli Zaretskii <eliz@gnu.org>
505
506 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
507 recognized by GDB 7.5 and later.
508
d052d3bd
XF
5092013-09-21 Xue Fuqiao <xfq.free@gmail.com>
510
511 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
512
31dca772
R
5132013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
514
515 * subr.el (internal--call-interactively): New const.
516 (called-interactively-p): Use it (bug#3984).
517
98ccf24e
XF
5182013-09-20 Xue Fuqiao <xfq.free@gmail.com>
519
520 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
521 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
522 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 523
c39cc7d1
SM
5242013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
527 (eshell-ls-orig-insert-directory): Remove.
528 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
529 (eshell-ls-use-in-dired): Use advice-add/remove.
530 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
531 Add `orig-fun' arg for use in :around advice.
532 Make it check (redundantly) eshell-ls-use-in-dired.
533
9a0289a2
GM
5342013-09-19 Glenn Morris <rgm@gnu.org>
535
a2c501b8
GM
536 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
537
c440407a
GM
538 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
539
9a0289a2
GM
540 * emacs-lisp/eieio.el (class-parent): Undo previous change.
541
85e05915
MA
5422013-09-19 Michael Albinus <michael.albinus@gmx.de>
543
544 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
545 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
546 (tramp-get-remote-python): New defuns.
547 (tramp-get-remote-uid-with-perl)
548 (tramp-get-remote-gid-with-perl): New defuns. Perl code
549 contributed by yary <not.com@gmail.com> (tiny change).
550 (tramp-get-remote-uid-with-python)
551 (tramp-get-remote-gid-with-python): New defuns. Python code
552 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
553 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
554
ce503312
GM
5552013-09-19 Glenn Morris <rgm@gnu.org>
556
f7544773
GM
557 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
558
72fd2877
GM
559 * eshell/em-unix.el (eshell-remove-entries):
560 Rename argument to avoid name-clash with global `top-level'.
561
336b5a56
GM
562 * eshell/esh-proc.el (eshell-kill-process-function):
563 Remove eshell-reset-after-proc from eshell-kill-hook if present.
564 (eshell-reset-after-proc): Remove unused arg `proc'.
565
57a3a53d
GM
566 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
567 (directory-files-and-attributes): Mark unused arg.
568
3261d4af
GM
569 * eshell/em-unix.el (eshell-remove-entries):
570 Remove unused arg `path'. Update callers.
571
8e51b5d0
GM
572 * eshell/em-hist.el (eshell-hist-parse-arguments):
573 Remove unused arg `silent'. Update callers.
574
ce503312
GM
575 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
576 Fix (f)boundp mix-up.
577
578 * eshell/em-smart.el (eshell-smart-scroll-window)
579 (eshell-disable-after-change):
336b5a56 580 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 581
ee3ce8a7
AM
5822013-09-18 Alan Mackenzie <acm@muc.de>
583
584 Fix fontification of type when followed by "const".
585 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
586 "known" types from fontification.
587
ec9177ba
GM
5882013-09-18 Glenn Morris <rgm@gnu.org>
589
7bb3e768
GM
590 * emacs-lisp/chart.el (x-display-color-cells): Declare.
591 (chart-face-list): Drop Emacsen without display-color-p.
592
5148da15
GM
593 * net/eww.el (libxml-parse-html-region): Declare.
594 (eww-display-html): Explicit error if no libxml2 support.
595
2f68e157
GM
596 * doc-view.el (doc-view-mode): Silence --without-x compilation.
597
9019d095
GM
598 * image.el (image-type-from-buffer, image-multi-frame-p):
599 Remove --without-x warning/error.
67645389 600
5f30349b 601 * mouse.el (mouse-yank-primary):
45069b2e 602 * term.el (term-mouse-paste):
5f30349b
GM
603 Reorder to silence --without-x compilation.
604
cd8edbbe
GM
605 * mpc.el (doc-view-mode): Silence --without-x compilation.
606
8a78544e
GM
607 * mail/rmailmm.el (rmail-mime-set-bulk-data):
608 Silence --without-x compilation.
609
12679bfd
GM
610 * progmodes/gud.el (gud-find-file, gud-mode):
611 Silence --without-x compilation.
612 (tooltip-mode): Declare.
30810a05 613
f0047cb9
GM
614 * wdired.el (dired-backup-overwrite): Remove declaration.
615 (wdired-mode-map): Add doc string.
616
e740f9d2
GM
617 * custom.el (x-get-resource): Declare.
618
92d77c89
GM
619 * eshell/em-glob.el (ange-cache):
620 * eshell/em-unix.el (ange-cache): Declare.
621
76e69577
GM
622 * faces.el (x-display-list, x-open-connection, x-get-resource):
623 Declare.
7e58af4b
GM
624
625 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
626 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
627 Declare.
76e69577 628
4bd4c0af 629 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 630
ffb82dbd
GM
631 * net/gnutls.el (gnutls-log-level): Declare.
632
986ed135
GM
633 * net/shr.el (image-size, image-animate): Declare.
634
e740f9d2
GM
635 * simple.el (font-info): Declare.
636
d2f3e9f8
GM
637 * subr.el (x-popup-dialog): Declare.
638
047a1a4c
GM
639 * term/common-win.el (x-select-enable-primary)
640 (x-last-selected-text-primary, x-last-selected-text-clipboard):
641 Declare.
642
f4a1d572
GM
643 * term/ns-win.el (x-handle-args): Declare.
644
e843de77
GM
645 * term/x-win.el (x-select-enable-clipboard): Declare.
646
5fa89513
GM
647 * term/w32-win.el (create-default-fontset): Declare.
648
38702b5b
GM
649 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
650 Declare.
651
e740f9d2
GM
652 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
653 (fit-frame-to-buffer): Explicit error if --without-x.
654 (mouse-autoselect-window-select): Silence compiler.
655
49a053fc
GM
656 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
657
658 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
659 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
660 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 661 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
662 Remove unused local variables.
663
664 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
665
ec9177ba
GM
666 * textmodes/two-column.el: Make 2C-split work for --without-x.
667 (scroll-bar-columns): Autoload.
668 (top-level): Require fringe when compiling.
669
9f25cb77
LL
6702013-09-18 Leo Liu <sdl.web@gmail.com>
671
672 * subr.el (add-hook): Robustify to handle closure as well.
673
2b42da98
GM
6742013-09-17 Glenn Morris <rgm@gnu.org>
675
676 * simple.el (messages-buffer-mode-map): Unbind "g".
677
e8b66a6a
SM
6782013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
679
9c0ad4f7
SM
680 * help-mode.el (help-mode-finish): Use derived-mode-p.
681 Remove obsolete highlighting.
682
7a806dfb
SM
683 * play/life.el (life-mode): Use define-derived-mode. Derive from
684 special-mode.
685 (life): Let-bind inhibit-read-only.
686 (life-setup): Avoid `setq'. Use `life-mode'.
687
96dbf5a8
SM
688 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
689 which should not be needed any more.
690 (package-menu-refresh, package-menu-describe-package): Use user-error.
691
e8b66a6a
SM
692 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
693 (eshell-post-rewrite-command-hook): Make obsolete.
694 (eshell-parse-command): Simplify.
695 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
696 (eshell--cmd): Declare.
697 (eshell-parse-pipeline): Remove unused var `final-p'.
698 Pass a dynvar to eshell-post-rewrite-command-hook.
699 Implement the new eshell-post-rewrite-command-function.
700 (eshell-invoke-directly): Remove unused arg `input'.
701 * eshell/esh-io.el (eshell-io-initialize):
702 Use eshell-post-rewrite-command-function (bug#15399).
703 (eshell--apply-redirections): Rename from eshell-apply-redirections;
704 adjust to new calling convention.
705 (eshell-create-handles): Rename args to avoid clashing with dynvar
706 `standard-output'.
707
90582f05
GM
7082013-09-17 Glenn Morris <rgm@gnu.org>
709
710 * simple.el (messages-buffer-mode): New major mode.
711 (messages-buffer): New function.
712 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
713 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 714 (ert-run-test): Use `messages-buffer' function.
90582f05 715 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
716 * help.el (view-echo-area-messages): Use `messages-buffer' function.
717 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 718
39eb0cb5 7192013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
720
721 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
722
1f1e06e2
SM
723 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
724
70568a90
SM
7252013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
726
504a0381
SM
727 * icomplete.el (icomplete-in-buffer): New var.
728 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
729 vars and replace them with functions.
730 (icomplete-minibuffer-setup): Adjust accordingly.
731 (icomplete--completion-table, icomplete--completion-predicate)
732 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
733 New functions.
734 (icomplete-forward-completions, icomplete-backward-completions)
735 (icomplete-simple-completing-p, icomplete-exhibit)
736 (icomplete-completions): Use them.
737 (icomplete--in-region-buffer): New var.
738 (icomplete--in-region-setup): New function.
739 (icomplete-mode): Use it.
740
70568a90
SM
741 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
742 (bug#15379).
743 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
744 return args and options.
745 (eshell-eval-using-options): Use the new return value of
746 eshell--do-opts to set the options's vars in their scope.
747 (eshell--set-option): Rename from eshell-set-option.
748 Add arg `opt-vals'.
749 (eshell--process-option): Rename from eshell-process-option.
750 Add arg `opt-vals'.
751 (eshell--process-args): Use an `opt-vals' alist to store the options's
752 values during their processing and return them additionally to the
753 remaining args.
754
578c21bc
DG
7552013-09-15 Dmitry Gutov <dgutov@yandex.ru>
756
757 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
758 continuation character an operator, as far as indentation is
759 concerned (Bug#15369).
760
c089653d
MR
7612013-09-15 Martin Rudalics <rudalics@gmx.at>
762
763 * window.el (window--state-put-2): Don't process buffer state
764 when buffer doesn't exist any more (Bug#15382).
765
1e53bb4b
GM
7662013-09-15 Glenn Morris <rgm@gnu.org>
767
30753242
GM
768 * eshell/em-unix.el (eshell/rm):
769 Make -f ignore missing files. (Bug#15373)
770
1e53bb4b
GM
771 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
772 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
773 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
774
0d8863b3
GM
7752013-09-14 Glenn Morris <rgm@gnu.org>
776
777 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
778
d3fc6549
GM
7792013-09-13 Glenn Morris <rgm@gnu.org>
780
781 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
782 (dired-guess-default): Make `file' available in the env. (Bug#15363)
783
fcd42c11
DA
7842013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
785
786 * frame.el (x-focus-frame): Mark as declared in frame.c.
787
7830899f
SM
7882013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 * ls-lisp.el: Use advice-add.
791 (original-insert-directory): Remove.
792 (ls-lisp--insert-directory): Rename from insert-directory; add
793 `orig-fun' argument.
794 (insert-directory): Advise.
795
84387cd2
EZ
7962013-09-13 Eli Zaretskii <eliz@gnu.org>
797
798 * term.el (term-emulate-terminal): Decode the command string
799 before passing it to term-command-hook. (Bug#15337)
800
35ffc6ba
GM
8012013-09-13 Glenn Morris <rgm@gnu.org>
802
5c3f9bcc
GM
803 * eshell/esh-util.el (ange-cache): Move declaration earlier.
804
2ada368a
GM
805 * eshell/esh-ext.el (eshell-search-path): Declare.
806
fcef2e13
GM
807 * eshell/em-prompt.el (eshell/pwd): Autoload it.
808 Otherwise an error occurs if eshell-dirs module not loaded.
809
35ffc6ba
GM
810 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
811
35c3d36e
MA
8122013-09-13 Michael Albinus <michael.albinus@gmx.de>
813
814 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
815 `tramp-check-proper-host'. Check for a valid method name.
816
817 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
818 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
819 * net/tramp-sh.el (tramp-maybe-open-connection):
820 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
821
822 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
823 also for hash values.
824
ae5e4c48
SM
8252013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
826
379add74
SM
827 * term/ns-win.el (parameters): Don't declare as dynamic.
828 (before-make-frame-hook): Don't add ineffective function.
829
ae5e4c48
SM
830 * eshell/*.el: Use lexical-binding (bug#15231).
831
b5623270
KH
8322013-09-12 Kenichi Handa <handa@gnu.org>
833
ae5e4c48 834 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 835
30213927
GM
8362013-09-12 Glenn Morris <rgm@gnu.org>
837
be94d713 838 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 839 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 840
44915370
GM
841 * subr.el (do-after-load-evaluation): Also give compiler warnings
842 when obsolete files are used (except by obsolete files).
843
a6ae021f
GM
844 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
845 in the status output, assume `filename' is the first. (Bug#15322)
846
40e64f0c
GM
847 * vc/vc.el (vc-deduce-fileset): Doc fix.
848
16d9f896
GM
849 * calc/calc-help.el (Info-goto-node):
850 * progmodes/cperl-mode.el (Info-find-node):
851 * vc/ediff.el (Info-goto-node): Update declarations.
852
dea01c6e
GM
853 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
854
759880bf 855 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
856 (vc-bzr-pull): Require vc-dispatcher.
857 * vc/vc-git.el (vc-compilation-mode): Declare.
858 (vc-git-pull): Require vc-dispatcher.
859
08d66420
GM
860 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
861
30b626e9
GM
862 * progmodes/octave.el (help-button-action): Declare.
863
8c05cb10
GM
864 * shell.el (shell-directory-tracker): Output error as a message
865 rather than just returning it as a string.
866 (shell-process-pushd): Remove useless use of message.
867
30213927
GM
868 * dframe.el (dframe-timer-fn):
869 * files.el (dir-locals-read-from-file):
870 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
871 (mpc-format):
872 * reveal.el (reveal-post-command):
873 * saveplace.el (load-save-place-alist-from-file):
874 * shell.el (shell-resync-dirs):
875 * w32-common-fns.el (x-get-selection-value):
876 * emacs-lisp/copyright.el (copyright-find-copyright):
877 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
878 * emulation/tpu-edt.el (tpu-copy-keyfile):
879 * play/bubbles.el (bubbles--mark-neighbourhood):
880 * progmodes/executable.el
881 (executable-make-buffer-file-executable-if-script-p):
882 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
883
d3b049e6
SM
8842013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
885
170266d0
SM
886 Cleanup Eshell to rely less on dynamic scoping.
887 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
888 last-value, and ext-command here. Bind `args' closer to `body'.
889 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
890 (eshell--args): Declare new dynamic var.
891 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
892 last-value, and ext-command. Pass `args' to `body'.
893 (eshell-process-args): Bind eshell--args.
894 (eshell-set-option): Use eshell--args.
895 * eshell/eshell.el (eshell): Use derived-mode-p.
896 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
897 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
898 (eshell-glob-function): Declare.
899 * eshell/esh-util.el: Require cl-lib.
900 (eshell-read-hosts-file): Avoid add-to-list.
901 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
902 `err'.
903 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
904 Declare.
905 (eshell/diff): Remove unused var `err'.
906 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
907 `killflag'.
908 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
909 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
910 first use.
911 * eshell/em-glob.el (eshell-glob-matches, message-shown):
912 Move declaration before first use.
913 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
914 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
915 rely on cl-return.
916
56834f3b
GM
9172013-09-12 Glenn Morris <rgm@gnu.org>
918
919 * term/ns-win.el (global-map): Remove binding for ispell-next,
920 deleted 1999-05-29. (Bug#15357)
921
5c91a2b8
GM
9222013-09-11 Glenn Morris <rgm@gnu.org>
923
da712f22
GM
924 * echistory.el (electric-command-history): Remove call to deleted func.
925
512e4cdc
GM
926 * play/landmark.el (landmark-mode): Fix typos.
927
d3506ca5
GM
928 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
929 Check cvs-sort-ignore-file is bound.
930
5c91a2b8
GM
931 * savehist.el: No need for cl when compiling on Emacs.
932
feeff482
SM
9332013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
934
656bd483
SM
935 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
936 (bug#15338).
d3b049e6
SM
937 (eshell-self-insert-command, eshell-send-invisible):
938 Remove unused argument.
656bd483
SM
939 (eshell-handle-control-codes): Remove unused var `orig'.
940 Avoid delete-backward-char.
941
feeff482
SM
942 * files.el (set-auto-mode): Simplify a bit further.
943
2a08047a
GM
9442013-09-11 Glenn Morris <rgm@gnu.org>
945
946 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
947 (set-auto-mode): Don't regexp-quote elements.
948 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
949 * progmodes/cc-mode.el (interpreter-mode-alist):
950 * progmodes/ruby-mode.el (interpreter-mode-alist):
951 Revert previous change.
952
34675540
SM
9532013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
954
1b3b87df
SM
955 * play/snake.el (snake-mode):
956 * play/mpuz.el (mpuz-mode):
957 * play/landmark.el (lm-mode):
958 * play/blackbox.el (blackbox-mode):
959 * play/5x5.el (5x5-mode):
960 * obsolete/options.el (Edit-options-mode):
961 * net/quickurl.el (quickurl-list-mode):
962 * net/newst-treeview.el (newsticker-treeview-mode):
963 * mail/rmailsum.el (rmail-summary-mode):
964 * mail/mspools.el (mspools-mode):
965 * locate.el (locate-mode):
966 * ibuffer.el (ibuffer-mode):
967 * emulation/ws-mode.el (wordstar-mode):
968 * emacs-lisp/debug.el (debugger-mode):
969 * array.el (array-mode):
970 * net/eudc.el (eudc-mode): Use define-derived-mode.
971 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
972 Move initialization into declaration.
973 (mairix-searches-mode): Use define-derived-mode.
974 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
975 (eudc-edit-hotlist): Use dolist.
976 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
977 (Man-mode): Use define-derived-mode.
978 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
979 (Info-edit-mode): Use define-derived-mode.
980 (Info-cease-edit): Use Info-mode.
981 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
982 into declaration.
983 (eshell-mode): Use define-derived-mode.
984 * chistory.el (command-history-mode-map): Rename from
985 command-history-map.
986 (command-history-mode): Use define-derived-mode.
da712f22 987 (Command-history-setup): Remove function.
1b3b87df
SM
988 * calc/calc.el (calc-trail-mode-map): New var.
989 (calc-trail-mode): Use define-derived-mode.
990 (calc-trail-buffer): Set calc-main-buffer manually.
991 * bookmark.el (bookmark-insert-annotation): New function.
992 (bookmark-edit-annotation): Use it.
993 (bookmark-edit-annotation-mode): Make it a proper major mode.
994 (bookmark-send-edited-annotation): Use derived-mode-p.
995 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
996 closer to its ideal place. Use \' to match EOS.
997
34675540
SM
998 * profiler.el (profiler-calltree-find): Use function-equal.
999
6a5c15d9
GM
10002013-09-10 Glenn Morris <rgm@gnu.org>
1001
1af4c220
GM
1002 * files.el (interpreter-mode-alist): Convert to regexps.
1003 (set-auto-mode): Adapt for this. (Bug#15306)
1004 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1005 Comment out unused variable.
1006 * progmodes/cc-mode.el (interpreter-mode-alist):
1007 * progmodes/python.el (interpreter-mode-alist):
1008 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1009 * progmodes/sh-script.el (sh-set-shell):
1010 No longer use interpreter-mode-alist to get list of shells.
1011
6a5c15d9
GM
1012 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1013
8c27f5ff
SM
10142013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1015
02ef6c1a 1016 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 1017 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
1018 Bind switch-frame explicitly. Replace universal-argument-minus with
1019 a conditional binding.
1020 (universal-argument-num-events, saved-overriding-map): Remove.
1021 (restore-overriding-map): Remove.
1022 (universal-argument--mode): Rename from save&set-overriding-map,
1023 and rewrite.
1024 (universal-argument, universal-argument-more, negative-argument)
1025 (digit-argument): Adjust accordingly.
1026 (universal-argument-minus): Remove.
1027 (universal-argument-other-key): Remove.
1028
8c27f5ff
SM
1029 * subr.el (with-demoted-errors): Add `format' argument.
1030
6480194c
MA
10312013-09-10 Michael Albinus <michael.albinus@gmx.de>
1032
1033 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1034 `tramp-cleanup-connection'.
1035
1036 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1037 parameters KEEP-DEBUG and KEEP-PASSWORD.
1038
1039 * net/tramp.el (tramp-file-name-handler):
1040 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1041 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1042 (tramp-maybe-open-connection):
8c27f5ff
SM
1043 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1044 Use `tramp-cleanup-connection'.
6480194c 1045
8c27f5ff
SM
1046 * net/tramp-sh.el (tramp-maybe-open-connection):
1047 Catch 'uname-changed inside the progress reporter.
6480194c 1048
e5e916d8
GM
10492013-09-10 Glenn Morris <rgm@gnu.org>
1050
9a2c9b47
GM
1051 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1052
e5e916d8
GM
1053 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1054 returns "alternate access method" in mode (eg "-rw-r--r--.").
1055
144e38fe
GM
10562013-09-08 Glenn Morris <rgm@gnu.org>
1057
1058 * saveplace.el (load-save-place-alist-from-file):
1059 Demote errors. (Bug#15305)
1060
af9ff9e8
MA
10612013-09-08 Michael Albinus <michael.albinus@gmx.de>
1062
1063 Improve compatibility with older Emacsen, and XEmacs.
1064
1065 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1066 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
1067 (with-tramp-progress-reporter): Do not let-bind `result'.
1068 This yields to scoping errors in XEmacs.
af9ff9e8
MA
1069 (tramp-handle-make-auto-save-file-name): New function, moved from
1070 tramp-sh.el.
1071
1072 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1073 for `make-auto-save-file-name'.
8c27f5ff
SM
1074 (tramp-adb--gnu-switches-to-ash):
1075 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1076
1077 * net/tramp-cache.el (tramp-cache-print): Call
1078 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1079
1080 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1081 bound. It isn't for XEmacs.
1082
8c27f5ff
SM
1083 * net/tramp-compat.el (tramp-compat-copy-file):
1084 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
1085 (tramp-compat-replace-regexp-in-string): New defun.
1086
1087 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1088 for `make-auto-save-file-name'.
1089 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1090 `copy-file'.
1091 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1092 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1093 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1094
8c27f5ff
SM
1095 * net/tramp-gw.el (tramp-gw-open-network-stream):
1096 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 1097
8c27f5ff
SM
1098 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1099 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
1100 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1101 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
1102 (tramp-sh-file-inotifywait-process-filter):
1103 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1104 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1105
1106 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1107 for `make-auto-save-file-name'.
8c27f5ff
SM
1108 (tramp-smb-handle-copy-directory):
1109 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1110 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1111 (tramp-smb-handle-copy-file): Improve error message.
1112 (tramp-smb-handle-rename-file): Rename directly only in case
1113 `newname' does not exist yet. This is a restriction of smbclient.
1114 (tramp-smb-maybe-open-connection): Rerun the function only when
1115 `auth-sources' is non-nil.
1116
0ca754d0
KH
11172013-09-08 Kenichi Handa <handa@gnu.org>
1118
1119 * international/characters.el: Set category "^" (Combining) for
1120 more characters.
1121
e8dd0787
AM
11222013-09-07 Alan Mackenzie <acm@muc.de>
1123
1124 Correctly fontify Java class constructors.
1125 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1126 in Java Mode.
1127 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
1128 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1129 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
1130 "typeless" declaration there.
1131
f2f248e7
RW
11322013-09-07 Roland Winkler <winkler@gnu.org>
1133
1134 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1135 field subtitle for entry type book.
1136
67982e2b
SM
11372013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1138
1139 * minibuffer.el: Make minibuffer-complete call completion-in-region
1140 rather than other way around.
1141 (completion--some, completion-pcm--find-all-completions):
1142 Don't delay signals when debugging.
1143 (minibuffer-completion-contents): Beware fields within the
1144 minibuffer contents.
1145 (completion-all-sorted-completions): Use defvar-local.
1146 (completion--do-completion, completion--cache-all-sorted-completions)
1147 (completion-all-sorted-completions, minibuffer-force-complete):
1148 Add args `beg' and `end'.
1149 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1150 (minibuffer-complete): Use completion-in-region.
1151 (completion-complete-and-exit): New fun, extracted from
1152 minibuffer-complete-and-exit.
1153 (minibuffer-complete-and-exit): Use it.
1154 (completion--complete-and-exit): Rename from
1155 minibuffer--complete-and-exit.
1156 (completion-in-region--single-word): New function, extracted from
1157 minibuffer-complete-word.
1158 (minibuffer-complete-word): Use it.
1159 (display-completion-list): Make `common-substring' argument obsolete.
1160 (completion--in-region): Call completion--in-region-1 instead of
1161 minibuffer-complete.
1162 (completion-help-at-point): Pass boundaries to
1163 minibuffer-completion-help as args rather than via an overlay.
1164 (completion-pcm--string->pattern): Use `any-delim'.
1165 (completion-pcm--optimize-pattern): New function.
1166 (completion-pcm--pattern->regex): Handle `any-delim'.
1167 * icomplete.el (icomplete-forward-completions)
1168 (icomplete-backward-completions, icomplete-completions):
1169 Adjust calls to completion-all-sorted-completions and
1170 completion--cache-all-sorted-completions.
1171 (icomplete-with-completion-tables): Default to t.
1172 * emacs-lisp/crm.el (crm--current-element): Rename from
1173 crm--select-current-element. Don't put an overlay but return the
1174 boundaries instead.
1175 (crm--completion-command): Take two new args to bind to the boundaries.
1176 (crm-completion-help): Adjust accordingly.
1177 (crm-complete): Use completion-in-region.
1178 (crm-complete-word): Use completion-in-region--single-word.
1179 (crm-complete-and-exit): Use completion-complete-and-exit.
1180
e17d94a5
SM
11812013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1184 than dynamically.
1185
96727100
JL
11862013-09-06 Juri Linkov <juri@jurta.org>
1187
1188 * info.el (Info-display-images-node): When image file doesn't exist
1189 display text version of the image if it's provided in the Info file.
1190 Otherwise, display the location of missing image from SRC attribute.
1191 Add help-echo text property from ALT attribute. (Bug#15279)
1192
86cf7329
SM
11932013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1194
1195 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1196 (edit-abbrevs-mode): Use define-derived-mode.
1197
1198 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1199 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1200 that it's defined.
1201 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1202 Use define-derived-mode.
1203
1204 * epg.el (epg-start-encrypt): Minor CSE simplification.
1205
816244a2
WX
12062013-09-06 William Xu <william.xwl@gmail.com>
1207
1208 * arc-mode.el: Add support for 7za (bug#15264).
1209 (archive-7z-program): New var.
1210 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1211 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1212 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1213
1486fa31
MA
12142013-09-06 Michael Albinus <michael.albinus@gmx.de>
1215
1216 Remove URL syntax.
1217
1218 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1219 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1220 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1221 (tramp-postfix-host-format, tramp-file-name-regexp)
1222 (tramp-completion-file-name-regexp)
1223 (tramp-completion-dissect-file-name)
1224 (tramp-handle-substitute-in-file-name): Remove 'url case.
1225 (tramp-file-name-regexp-url)
1226 (tramp-completion-file-name-regexp-url): Remove constants.
1227
39785324
GM
12282013-09-06 Glenn Morris <rgm@gnu.org>
1229
1230 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1231
1f896cb7
DG
12322013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1233
1234 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1235 keywords" below "here-doc beginnings" (Bug#15270).
1236
c0458e0b
SM
12372013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 * subr.el (pop): Use `car-safe'.
1240 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1241 to detect unused `pop' return value.
1242
1243 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1244 var `block-regexp'.
1245 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1246 (python-fill-string): Remove unused var `marker'.
1247 (python-skeleton-add-menu-items): Remove unused var `items'.
1248
1249 * international/mule-cmds.el: Require CL.
1250 (find-coding-systems-for-charsets): Avoid add-to-list.
1251 (sanitize-coding-system-list): New function, extracted from
1252 select-safe-coding-system-interactively.
1253 (select-safe-coding-system-interactively): Use it.
1254 (read-input-method-name): Accept symbols for `default'.
1255
1256 * emacs-lisp/advice.el (defadvice): Add indent rule.
1257
6c42fc3e
DH
12582013-09-05 Daniel Hackney <dan@haxney.org>
1259
1260 * dired-x.el:
1261 * net/ange-ftp.el:
1262 * net/browse-url.el:
1263 * net/dbus.el:
1264 * net/eudc.el:
1265 * net/eudcb-ldap.el:
1266 * net/eww.el:
1267 * net/imap.el:
1268 * printing.el:
1269 * vc/ediff-diff.el:
1270 * vc/ediff-init.el:
1271 * vc/ediff-merg.el:
1272 * vc/ediff-mult.el:
1273 * vc/ediff-util.el:
1274 * vc/ediff-wind.el:
1275 * vc/ediff.el:
1276 * vc/emerge.el:
1277 * vc/pcvs.el:
1278 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1279 byte compiler. Remove some unused let-bound variables.
1280
4c528aab
SM
12812013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1284 a "ref-cell", since it gets better optimized (bug#14883).
1285
bd15c390
GM
12862013-09-05 Glenn Morris <rgm@gnu.org>
1287
1288 * progmodes/cc-awk.el (c-forward-sws): Declare.
1289
1c3ac2e5
GM
12902013-09-04 Glenn Morris <rgm@gnu.org>
1291
1292 * generic-x.el [rul-generic-mode]: Require cc-mode.
1293 (c++-mode-syntax-table): Declare.
1294 (rul-generic-mode-syntax-table): Init in the defvar.
1295
52b1cc79
SM
12962013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1297
c828af56
SM
1298 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1299 (vc-do-command, vc-set-async-update):
1300 * vc/vc-mtn.el (vc-mtn-dir-status):
1301 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1302 (vc-hg-pull, vc-hg-merge-branch):
1303 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1304 (vc-git-merge-branch):
1305 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1306 (vc-cvs-dir-status-files):
1307 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1308 (vc-bzr-dir-status-files):
1309 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1310 * vc/vc-annotate.el: Use lexical-binding.
1311 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1312 (vc-sentinel-movepoint): Declare.
1313 (vc-annotate): Don't use `goto-line'.
1314 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1315 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1316 (vc-sentinel-movepoint): Declare.
1317 * vc/vc-svn.el: Use lexical-binding.
1318 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1319 * vc/vc-sccs.el:
1320 * vc/vc-rcs.el: Use lexical-binding.
1321
abae272c
SM
1322 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1323 `deleted'. Don't drop errors silently.
1324
52b1cc79
SM
1325 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1326
63191d9f
XF
13272013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1328
1329 * vc/vc.el (vc-ignore): Rewrite.
1330 (vc-default-ignore): New function.
1331 (vc-default-ignore-completion-table): Use find-ignore-file.
1332
1333 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1334 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1335 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1336 Remove. Most code moved to vc.el.
1337
9d3f707c
SM
13382013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1339
abae272c 1340 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
1341 * net/tramp-smb.el (tramp-smb-get-file-entries):
1342 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1343 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1344
fde38d49
SM
1345 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1346 Update call to it.
1347 (eww-change-select): Remove unused var `properties'.
1348 (eww-make-unique-file-name): Remove unused var `base'.
1349
1350 * finder.el (finder-compile-keywords): Don't mess with windows.
1351
84032db7
SM
1352 * calculator.el (calculator-funcall): Fix typo in last change.
1353
724f5e41
SM
1354 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1355
14b511d4
SM
1356 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1357 <pkg>-autoloads.el file stop us.
1358
9d3f707c 1359 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 1360 warnings, and factor out common code.
9d3f707c 1361
88527bc0
DG
13622013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1363
1364 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1365 two-character operators and whether the character preceding them
1366 changes their meaning (Bug#15208).
1367
96edb677
FEG
13682013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1369
1370 Format code sent to Python shell for robustness.
9d3f707c
SM
1371 * progmodes/python.el (python-shell-buffer-substring):
1372 New function.
96edb677
FEG
1373 (python-shell-send-region, python-shell-send-buffer): Use it.
1374
95beaef3
MA
13752013-09-02 Michael Albinus <michael.albinus@gmx.de>
1376
1377 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1378 * net/tramp.el (tramp-user-error): ... here.
1379 (tramp-find-method, tramp-check-proper-host)
1380 (tramp-dissect-file-name, tramp-debug-message)
1381 (tramp-handle-shell-command):
1382 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1383 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1384
1385 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1386
f167c27b
MR
13872013-09-02 Martin Rudalics <rudalics@gmx.at>
1388
1389 * avoid.el (mouse-avoidance-point-position)
1390 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1391 returns nil.
1392
cd16c5f1
FEG
13932013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1394
1395 * progmodes/python.el (python-shell-completion-get-completions):
1396 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 1397 (python-nav-if-name-main): New command.
cd16c5f1 1398
e73c3a0d
GM
13992013-09-01 Glenn Morris <rgm@gnu.org>
1400
f8ccce03
GM
1401 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1402 Avoid leading space in $wins. Otherwise the sed command used by
1403 eg compile-main ends up containing "/*.el". (Bug#15170)
1404
e73c3a0d
GM
1405 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1406
415f808e
GM
14072013-08-30 Glenn Morris <rgm@gnu.org>
1408
1409 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1410 Fix is-this-a-directory logic. (Bug#15220)
1411
f069bba8
SM
14122013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1413
112798c1
SM
1414 * textmodes/css-mode.el: Use SMIE.
1415 (css-smie-grammar): New var.
1416 (css-smie--forward-token, css-smie--backward-token)
1417 (css-smie-rules): New functions.
1418 (css-mode): Use them.
1419 (css-navigation-syntax-table): Remove var.
1420 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1421 (css-indent-calculate, css-indent-line): Remove functions.
1422
1423 Misc changes to reduce use of `(lambda...); and other cleanups.
1424 * cus-edit.el: Use lexical-binding.
1425 (customize-push-and-save, customize-apropos)
1426 (custom-buffer-create-internal): Use closures.
1427 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1428 * progmodes/ada-xref.el: Use setq.
1429 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1430 * dframe.el: Use lexical-binding.
1431 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1432 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1433 * descr-text.el: Use lexical-binding.
1434 (describe-text-widget, describe-text-sexp, describe-property-list):
1435 Use closures.
1436 * comint.el (comint-history-isearch-push-state): Use a closure.
1437 * calculator.el: Use lexical-binding.
1438 (calculator-number-to-string): Make it work with lexical-binding.
1439 (calculator-funcall): Same and use cl-letf.
1440
2da4c3ab
SM
1441 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1442 (lisp--company-doc-string, lisp--company-location): New functions.
1443 (lisp-completion-at-point): Use them to improve Company support.
1444
f069bba8
SM
1445 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1446 params of lambda expressions.
1447 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1448 (ruby-smie--opening-pipe-p): New function.
1449 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1450 symbols and matched |...| for formal params.
1451 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1452 from being treated as hanging. Handle "rescue".
1453
6758b6a8
GM
14542013-08-29 Glenn Morris <rgm@gnu.org>
1455
1456 * progmodes/cc-engine.el (c-pull-open-brace):
1457 Move definition before use.
1458
e8dfd197
SM
14592013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1460
1461 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1462 are immutable. Don't use `unsafe' any more.
1463 (cl--defsubst-expand): Don't substitute at the same time as keeping
1464 a residual unused let-binding. Don't use `unsafe' any more.
1465
cc585c96
GM
14662013-08-29 Glenn Morris <rgm@gnu.org>
1467
ba579ea6
GM
1468 * calendar/cal-china.el (calendar-chinese-year-cache):
1469 Recenter on 2015.
1470
8201a87e
GM
1471 * nxml/nxml-util.el (nxml-debug-clear-inside):
1472 Use cl-loop rather than loop.
1473
6ee877c7
GM
1474 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1475
cc585c96
GM
1476 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1477
27be8d39
GM
14782013-08-28 Glenn Morris <rgm@gnu.org>
1479
397440a1
GM
1480 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1481
2bb762d4
GM
1482 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1483
27be8d39
GM
1484 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1485
2d69b99e
SM
14862013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1487
f663baa7
SM
1488 * simple.el (repeat-complex-command--called-interactively-skip):
1489 New function.
1490 (repeat-complex-command): Use it (bug#14136).
1491
dd4f8b74
SM
1492 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1493 (c-define-abbrev-table): Add `doc' argument.
1494 (c-mode-abbrev-table, c++-mode-abbrev-table)
1495 (objc-mode-abbrev-table, java-mode-abbrev-table)
1496 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1497 (awk-mode-abbrev-table): Use it.
1498 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1499 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1500 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
1501 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
1502 Move initialization into the declaration; and remove any
1503 autoload cookie.
1504
b58969f7
SM
1505 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
1506 and dynamic let binding.
1507
4021d6a6
SM
1508 * vc/smerge-mode.el: Remove redundant :group args.
1509
2d69b99e
SM
1510 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
1511 to load-path.
1512
274919fd
JL
15132013-08-28 Juri Linkov <juri@jurta.org>
1514
1515 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
1516 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
1517 (isearch-other-meta-char): Handle an undefined shifted printing
1518 character by downshifting it. (Bug#15200)
1519
121f8c95
JL
15202013-08-28 Juri Linkov <juri@jurta.org>
1521
1522 * isearch.el (isearch-search): Change regexp error message for
1523 non-regexp searches. (Bug#15166)
1524
50b13cde
PE
15252013-08-28 Paul Eggert <eggert@cs.ucla.edu>
1526
1527 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
1528 for portability to hosts where /bin/sh has problems.
1529
95888bca
SM
15302013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1531
1532 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
1533
bbe558f1
JL
15342013-08-27 Juri Linkov <juri@jurta.org>
1535
1536 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
1537 in the keyboard macro. (Bug#15126)
1538
26f98a7d
JL
15392013-08-27 Juri Linkov <juri@jurta.org>
1540
1541 * isearch.el (isearch-quote-char): Comment out converting unibyte
1542 to multibyte, thus syncing with its `quoted-insert' counterpart.
1543 (Bug#15166)
1544
7c97d35e
MR
15452013-08-27 Martin Rudalics <rudalics@gmx.at>
1546
1547 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
1548 argument in call of get-largest-window (Bug#15185).
1549 Reported by Stephen Leake.
7c97d35e 1550
a0b5606e 15512013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
1552
1553 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
1554
9e89d835
SM
15552013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * progmodes/python.el (python-font-lock-keywords): Don't return nil
1558 from a matcher-function unless there's no more matches (bug#15161).
1559
78fc2530
MA
15602013-08-26 Michael Albinus <michael.albinus@gmx.de>
1561
1562 * minibuffer.el: Revert change from 2013-08-20.
1563
1564 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
1565 with text property `tramp-default', if appropriate.
1566 (tramp-check-proper-host): New defun.
1567 (tramp-dissect-file-name): Do not check hostname. Revert change
1568 of 2013-03-18.
1569 (tramp-backtrace): Make VEC-OR-PROC optional.
1570
1571 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1572 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1573 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
1574 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1575 Apply `tramp-check-proper-host'.
78fc2530 1576
edca97cd
TH
15772013-08-26 Tassilo Horn <tsdh@gnu.org>
1578
1579 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1580 lambda expression in order to have `describe-variable' display it.
1581
df54bcbd
MA
15822013-08-26 Michael Albinus <michael.albinus@gmx.de>
1583
1584 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1585 BUF can be optional. (Bug#15186)
1586
eed99101
XF
15872013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1588
1589 * progmodes/flymake.el (flymake-get-real-file-name-function):
1590 Fix broken customization. (Bug#15184)
1591
b5eb9035
AM
15922013-08-25 Alan Mackenzie <acm@muc.de>
1593
8a51e842
AM
1594 Improve indentation of bracelists defined by macros (without "=").
1595
1596 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1597 expansion begins with "{", regard it as bracelist when it doesn't
1598 contain a ";".
1599
869455d4
AM
1600 Parse C++ inher-intro when there's a template split over 2 lines.
1601
1602 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1603 rigorously the search for "class" etc. followed by ":".
1604
1605 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1606 random languages a regexp which never matches rather than nil.
1607
b5eb9035
AM
1608 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1609
1610 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1611 (c-awk-regexp-one-line-possibly-open-char-list-re)
1612 (c-awk-one-line-possibly-open-regexp-re)
1613 (c-awk-one-line-non-syn-ws*-re): Remove.
1614 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1615 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1616 (c-awk-space*-unclosed-regexp-/-re): New constants.
1617 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1618 aren't regexp delimiters.
1619
1620 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1621 handling for a rare situation in AWK Mode involving unterminated
1622 strings/regexps.
1623
61611d54
GM
16242013-08-23 Glenn Morris <rgm@gnu.org>
1625
2d85dc34
GM
1626 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1627
cb8d2612
GM
1628 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1629
bb35f42f
GM
1630 * files.el (create-file-buffer): If the result would begin with
1631 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 1632
b9808e77
SM
16332013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1634
e3a66363
SM
1635 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1636 text-properties (bug#15155).
1637
b9808e77
SM
1638 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1639 exist any more.
1640 (calc-keypad-redraw): Remove unused var `pad'.
1641 (calc-keypad-press): Remove unused var `menu'.
1642
7fd5f65e
MR
16432013-08-23 Martin Rudalics <rudalics@gmx.at>
1644
b9808e77
SM
1645 * window.el (display-buffer-pop-up-frame):
1646 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
1647 use it as the new frame's buffer (Bug#15133).
1648
8352b530
SM
16492013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1650
1651 * calendar/timeclock.el: Minor cleanups.
1652 (timeclock-ask-before-exiting, timeclock-use-display-time):
1653 Use `symbol'.
1654 (timeclock-modeline-display): Define as alias before the
1655 actual definition.
1656 (timeclock-mode-line-display): Use define-minor-mode.
1657 (timeclock-day-list-template): Make it a function, add an argument.
1658 (timeclock-day-list-required, timeclock-day-list-length)
1659 (timeclock-day-list-debt, timeclock-day-list-span)
1660 (timeclock-day-list-break): Adjust calls accordingly.
1661
9f7b1925
SM
16622013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1663
1664 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1665 Use read--expression so that completion works again.
1666
6e50e983
SS
16672013-08-21 Sam Steingold <sds@gnu.org>
1668
1669 Add rudimentary inferior shell interaction
1670 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1671 (sh-set-shell): Reset it.
9f7b1925
SM
1672 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1673 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 1674
dbb0d350
SM
16752013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1676
1677 * align.el: Use lexical-binding.
1678 (align-region): Simplify accordingly.
1679
c88586a9
MA
16802013-08-20 Michael Albinus <michael.albinus@gmx.de>
1681
1682 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1683
1684 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1685 `non-essential' up.
1686
f95527c8
MA
16872013-08-17 Michael Albinus <michael.albinus@gmx.de>
1688
1689 * net/tramp.el:
1690 * net/tramp-adb.el:
1691 * net/tramp-cmds.el:
1692 * net/tramp-ftp.el:
1693 * net/tramp-gvfs.el:
1694 * net/tramp-gw.el:
1695 * net/tramp-sh.el: Don't wrap external variable declarations by
1696 `eval-when-compile'.
1697
4b5fe4ee
LMI
16982013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1699
1700 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1701 now that Emacs supports ImageMagick animations.
1702
13c366c9
MA
17032013-08-16 Michael Albinus <michael.albinus@gmx.de>
1704
1705 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1706 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1707
3dfc5cd6
MR
17082013-08-16 Martin Rudalics <rudalics@gmx.at>
1709
1710 * window.el (mouse-autoselect-window-select): Do autoselect when
1711 mouse pointer is on margin.
1712
4bbb4381
WP
17132013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1714
1715 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1716
3a2ddc2d
GM
17172013-08-16 Glenn Morris <rgm@gnu.org>
1718
e8bedf5a
GM
1719 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1720 Handle "Remote Directory" response of some clients. (Bug#15058)
1721
58c4682f
GM
1722 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1723 Tweak warning. (Bug#14926)
1724
57953f49
GM
1725 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1726 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1727
3a2ddc2d
GM
1728 * image-mode.el (image-mode-map): Add menu items to reverse,
1729 increase, decrease, reset animation speed.
1730 (image--set-speed, image-increase-speed, image-decrease-speed)
1731 (image-reverse-speed, image-reset-speed): New functions.
1732 (image-mode-map): Add bindings for speed commands.
1733
1734 * image.el (image-animate-get-speed, image-animate-set-speed):
1735 New functions.
1736 (image-animate-timeout): Respect image :speed property.
1737
10fa0ed3
SM
17382013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1739
1740 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1741 previous line (bug#15101).
1742 (debugger-eval-expression, debugger-record-expression):
1743 Use read--expression (bug#15102).
1744
5d89d9d2
MA
17452013-08-15 Michael Albinus <michael.albinus@gmx.de>
1746
1747 Remove byte compiler warnings, visible when compiling with
1748 `byte-compile-force-lexical-warnings' set to t.
1749
1750 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1751 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1752 (tramp-handle-unhandled-file-name-directory)
1753 (tramp-handle-file-notify-add-watch, tramp-action-login)
1754 (tramp-action-succeed, tramp-action-permission-denied)
1755 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1756 arguments with "_".
1757
1758 * net/tramp-adb.el (tramp-adb-parse-device-names)
1759 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1760 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1761 (tramp-adb-handle-file-truename): Remove unused arguments.
1762
1763 * net/tramp-cache.el (tramp-flush-directory-property)
1764 (tramp-flush-connection-property, tramp-list-connections)
1765 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1766
10fa0ed3
SM
1767 * net/tramp-compat.el (tramp-compat-make-temp-file):
1768 Rename FILENAME to F.
5d89d9d2
MA
1769
1770 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1771 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1772 (tramp-zeroconf-parse-workstation-device-names)
1773 (tramp-zeroconf-parse-webdav-device-names)
1774 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1775
1776 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1777 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1778
1779 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1780 arguments.
1781 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1782 (tramp-sh-handle-insert-file-contents-literally)
1783 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1784 with "_".
1785 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1786 Remove unused variables.
1787
1788 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1789 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1790 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1791
1792 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1793 Make them a defconst.
1794 (tramp-uuencode-region): Remove unused variable.
1795
62f33bae
JB
17962013-08-14 Juanma Barranquero <lekktu@gmail.com>
1797
1798 * frameset.el (frameset--prop-setter): New function.
1799 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
1800 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1801 parameter was already set in FILTERED. Doc fix.
1802 (frameset--record-minibuffer-relationships): Allow saving a
1803 minibufferless frame without its corresponding minibuffer frame.
1804 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1805 frame, if the frame id matches.
1806 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1807 frames before orphaned ones.
1808 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 1809
c660a885
MR
18102013-08-14 Martin Rudalics <rudalics@gmx.at>
1811
1812 * window.el (window-make-atom): Don't overwrite parameter
1813 already present.
1814 (display-buffer-in-atom-window): Handle special case where we
1815 split an already atomic window.
1816 (window--major-non-side-window, display-buffer-in-side-window)
1817 (window--side-check): Ignore minibuffer window when walking
1818 window tree.
1819 (window-deletable-p): Return 'frame only if no other frame uses
1820 our minibuffer window.
1821 (record-window-buffer): Run buffer-list-update-hook.
1822 (split-window): Make sure window--check-frame won't destroy an
1823 existing atomic window in case the new window gets nested
1824 inside.
1825 (display-buffer-at-bottom): Ignore minibuffer window when
1826 walking window tree. Don't split a side window.
1827 (pop-to-buffer): Don't set-buffer here, the select-window call
1828 should do that.
1829 (mouse-autoselect-window-select): Autoselect only if we are in the
1830 text portion of the window.
1831
8259030d
LMI
18322013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1833
21c58ae2
LMI
1834 * net/shr.el (shr-parse-image-data): New function to grab both the
1835 data itself and the Content-Type.
1836 (shr-put-image): Use it.
1837
1838 * net/eww.el (eww-display-image): Ditto.
1839
8259030d
LMI
1840 * image.el (image-content-type-suffixes): New variable.
1841
ad756449
FEG
18422013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1843
1844 * progmodes/python.el (python-imenu--build-tree)
1845 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1846
f73f4ce6
XF
18472013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1848
1849 * simple.el (backward-word): Mention the optional argument.
1850
1f585e65
SM
18512013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * frameset.el (frameset--make): Rename constructor from make-frameset.
1854 (frameset-p, frameset-valid-p): Don't autoload.
1855 (frameset-valid-p): Use normal accessors.
1856
af1c6c84
GM
18572013-08-13 Glenn Morris <rgm@gnu.org>
1858
55e47f95
GM
1859 * progmodes/compile.el (compile-command): Tweak example in doc.
1860 * obsolete/scribe.el (scribe-mode):
1861 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1862
f0024d8c
GM
1863 * mail/feedmail.el (feedmail-confirm-outgoing)
1864 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1865
1866 * cus-start.el (truncate-partial-width-windows): Fix type.
1867
1868 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1869
af1c6c84
GM
1870 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1871
5514cc4c
SM
18722013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1873
1874 * emacs-lisp/timer.el (timer--time-setter): New function.
1875 (timer--time): Use it as gv-setter.
1876
1877 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1878 setter is not a symbol.
1879
7997a2f1
GJ
18802013-08-12 Grégoire Jadi <daimrod@gmail.com>
1881
1882 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1883 if sending fails. This makes debugging easier.
1884
01f1a9ab
JB
18852013-08-12 Juanma Barranquero <lekktu@gmail.com>
1886
1887 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1888 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1889 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1890
594a4307
EZ
18912013-08-12 Eli Zaretskii <eliz@gnu.org>
1892
1893 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1894
7a22490f 18952013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
1896
1897 * format.el (format-annotate-function):
1898 Handle read-only text properties in the source. (Bug#14887)
1899
3e41a054
LMI
19002013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1901
5514cc4c
SM
1902 * net/eww.el (eww-display-html): Ignore coding system errors.
1903 One web site uses "utf-8lias" as the coding system.
3e41a054 1904
7ec326db
JB
19052013-08-11 Juanma Barranquero <lekktu@gmail.com>
1906
1907 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1908
5660113b
JB
19092013-08-10 Juanma Barranquero <lekktu@gmail.com>
1910
9a4ebc74
JB
1911 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1912 (tutorial--detailed-help): Remove unused local variables.
1913 (tutorial--save-tutorial-to): Use ignore-errors.
1914 (help-with-tutorial): Use looking-at-p.
1915
1916 * view.el (view-buffer-other-window, view-buffer-other-frame):
1917 Mark unused arguments.
1918
1919 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1920 (woman-select-symbol-fonts, woman, woman-find-file)
1921 (woman-insert-file-contents, woman-non-underline-faces):
1922 Use string-match-p.
1923 (woman1-unquote): Move declaration.
1924
1925 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1926 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1927 argument. Remove unused local variable.
1928 (xml-parse-elem-type): Use string-match-p.
1929 (xml-substitute-numeric-entities): Use ignore-errors.
1930
45fdb482
JB
1931 * calculator.el (calculator): Mark unused argument.
1932 (calculator-paste, calculator-quit, calculator-integer-p):
1933 Use ignore-errors.
1934 (calculator-string-to-number, calculator-decimal, calculator-exp)
1935 (calculator-op-or-exp): Use string-match-p.
1936
1937 * dired.el (dired-buffer-more-recently-used-p): Declare.
1938 (dired-insert-set-properties, dired-insert-old-subdirs):
1939 Use ignore-errors.
1940
1941 * dired-aux.el (dired-compress): Use ignore-errors.
1942 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1943 (dired-do-async-shell-command, dired-do-shell-command)
1944 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1945 (dired-insert-subdir-validate): Use string-match-p.
1946 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1947 (dired-add-entry): Use string-match-p, looking-at-p.
1948 (dired-insert-subdir-newpos): Remove unused local variable.
1949
1950 * filenotify.el (file-notify-callback): Remove unused local variable.
1951
1952 * filesets.el (filesets-error): Mark unused argument.
1953 (filesets-which-command-p, filesets-filter-dir-names)
1954 (filesets-directory-files, filesets-get-external-viewer)
1955 (filesets-ingroup-get-data): Use string-match-p.
1956
1957 * find-file.el (ff-other-file-name, ff-other-file-name)
1958 (ff-find-the-other-file, ff-cc-hh-converter):
1959 Remove unused local variables.
1960 (ff-get-file-name): Use string-match-p.
1961 (ff-all-dirs-under): Use ignore-errors.
1962
1963 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1964 (follow-select-if-visible): Remove unused local variable.
1965
1966 * forms.el (read-file-filter): Move declaration.
1967 (forms--make-format, forms--make-parser, forms-insert-record):
1968 Quote function with #'.
1969 (forms--update): Use string-match-p. Quote function with #'.
1970
1971 * help-mode.el (help-dir-local-var-def): Mark unused argument.
1972 (help-make-xrefs): Use looking-at-p.
1973 (help-xref-on-pp): Use looking-at-p, ignore-errors.
1974
1975 * ibuffer.el (ibuffer-ext-visible-p): Declare.
1976 (ibuffer-confirm-operation-on): Use string-match-p.
1977
1978 * msb.el (msb-item-handler, msb-dired-item-handler):
1979 Mark unused arguments.
1980
1981 * ses.el (ses-decode-cell-symbol)
1982 (ses-kill-override): Remove unused local variable.
1983 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1984 (ses-load): Use ignore-errors, looking-at-p.
1985 (ses-jump-safe): Use ignore-errors.
1986 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1987
1988 * tabify.el (untabify, tabify): Mark unused arguments.
1989
1990 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1991 Mark unused argument.
1992 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1993 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1994
c880af52
JB
1995 * emacs-lisp/timer.el (timer--time): Define setter with
1996 gv-define-setter to avoid deprecation warning.
1997
5660113b 1998 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 1999 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
2000 (cmpl-statistics-block): Remove (body was commented out).
2001 All callers changed.
2002 (add-completions-from-buffer, load-completions-from-file):
2003 Remove unused variables.
2004
156aab80
JB
20052013-08-09 Juanma Barranquero <lekktu@gmail.com>
2006
5c5dee78
JB
2007 * filecache.el (file-cache-delete-file-list):
2008 Print message only when told so.
2009 (file-cache-files-matching): Use #' in mapconcat argument.
2010
156aab80
JB
2011 * ffap.el (ffap-url-at-point): Fix reference to variable
2012 thing-at-point-default-mail-uri-scheme.
2013
ad9dcd70
SM
20142013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2015
54bd972f
SM
2016 * subr.el (define-error): New function.
2017 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2018 error-file-not-found and define with define-error.
2019 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2020 and define with define-error.
2021 * userlock.el (file-locked, file-supersession):
2022 * simple.el (mark-inactive):
2023 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2024 * progmodes/ada-mode.el (ada-mode-errors):
2025 * play/life.el (life-extinct):
2026 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2027 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2028 * nxml/rng-util.el (rng-error):
2029 * nxml/rng-uri.el (rng-uri-error):
2030 * nxml/rng-match.el (rng-compile-error):
2031 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2032 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2033 * nxml/nxml-rap.el (nxml-scan-error):
2034 * nxml/nxml-outln.el (nxml-outline-error):
2035 * net/soap-client.el (soap-error):
2036 * net/gnutls.el (gnutls-error):
2037 * net/ange-ftp.el (ftp-error):
2038 * mpc.el (mpc-proc-error):
2039 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2040 (json-number-format, json-string-escape, json-string-format)
2041 (json-key-format, json-object-format):
2042 * jka-compr.el (compression-error):
2043 * international/quail.el (quail-error):
2044 * international/kkc.el (kkc-error):
2045 * emacs-lisp/ert.el (ert-test-failed):
2046 * calc/calc.el (calc-error, inexact-result, math-overflow)
2047 (math-underflow):
2048 * bookmark.el (bookmark-error-no-filename):
2049 * epg.el (epg-error): Define with define-error.
2050
0ea9e53a
SM
2051 * time.el (display-time-event-handler)
2052 (display-time-next-load-average): Don't call sit-for since it seems
2053 unnecessary (bug#15045).
2054
b0429158
SM
2055 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2056 Use #' instead of ' to quote functions.
2057 (checkdoc-output-mode): Use setq-local.
2058 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2059 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2060 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2061 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2062 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2063 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2064 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2065 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2066
ad9dcd70
SM
2067 * ido.el (ido-completion-help): Fix up compiler warning.
2068
77187e6f
JB
20692013-08-09 Juanma Barranquero <lekktu@gmail.com>
2070
2071 * frameset.el (frameset-p): Add autoload cookie.
2072 (frameset--jump-to-register): New function, based on code moved from
2073 register.el.
2074 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2075
2076 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2077 (frameset-restore, frameset-save, frameset-session-filter-alist):
2078 Remove declarations.
2079 (register-alist): Doc fix.
2080 (frameset-to-register): Move to frameset.el.
2081 (jump-to-register, describe-register-1): Remove frameset-specific code.
2082
9d3aa82c
JB
20832013-08-08 Juanma Barranquero <lekktu@gmail.com>
2084
2085 * allout-widgets.el (allout-widgets-pre-command-business)
2086 (allout-widgets-post-command-business)
2087 (allout-widgets-after-change-handler)
2088 (allout-decorate-item-and-context, allout-set-boundary-marker)
2089 (allout-body-modification-handler)
2090 (allout-graphics-modification-handler): Mark ignored arguments.
2091 (allout-widgets-post-command-business)
2092 (allout-widgets-exposure-change-processor)
2093 (allout-widgets-exposure-undo-processor)
2094 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2095 (allout-parse-item-at-point, allout-decorate-item-guides)
2096 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2097 * allout.el (epa-passphrase-callback-function): Declare.
2098 (allout-overlay-insert-in-front-handler)
2099 (allout-overlay-interior-modification-handler)
2100 (allout-isearch-end-handler, allout-chart-siblings)
2101 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2102 (allout-yank-processing, allout-process-exposed)
2103 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 2104 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
2105 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2106 (lisp-indent-defform): Mark ignored arguments.
2107 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2108 (calculate-lisp-indent): Remove unused variables.
2109 * international/characters.el (indian-2-column, arabic-2-column)
2110 (tibetan): Mark ignored arguments.
2111 (use-cjk-char-width-table): Mark ignored arguments.
2112 Remove unused variables.
2113 * international/fontset.el (build-default-fontset-data)
2114 (x-compose-font-name, create-fontset-from-fontset-spec):
2115 Mark ignored arguments.
2116 (fontset-plain-name): Remove unused variables.
2117 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2118 (keyboard-coding-system): Mark ignored arguments.
2119 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2120 * help.el (resize-temp-buffer-window):
2121 * window.el (display-buffer-in-major-side-window)
2122 (display-buffer-in-side-window, display-buffer-in-previous-window):
2123 Remove unused variables.
2124 * isearch.el (isearch-forward-symbol):
2125 * version.el (emacs-bzr-version-bzr):
2126 * international/mule-cmds.el (current-language-environment):
2127 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2128 (x-handle-display):
2129 * term/pc-win.el (x-list-fonts, x-display-planes)
2130 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2131 (x-server-version, x-display-screens, x-display-mm-height)
2132 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2133 (x-selection-owner-p, x-own-selection-internal)
2134 (x-disown-selection-internal, x-get-selection-internal)
2135 (msdos-initialize-window-system):
2136 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2137 * term/x-win.el (x-handle-no-bitmap-icon):
2138 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2139 (vc-default-find-file-hook, vc-default-extra-menu):
2140 Mark ignored arguments.
2141
0ca3f70e
SM
21422013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2143
2144 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2145 break-condition in the context of the debugged code (bug#12685).
2146
74c5d24c
CS
21472013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2148
2149 * comint.el:
2150 Do not use an overlay to highlight the last prompt. (Bug#14744)
2151 (comint-mode): Make comint-last-prompt buffer local.
2152 (comint-last-prompt): New variable.
2153 (comint-last-prompt-overlay): Remove. Superseded by
2154 comint-last-prompt.
0ca3f70e
SM
2155 (comint-snapshot-last-prompt, comint-output-filter):
2156 Use comint-last-prompt.
74c5d24c 2157
c03c02ee
JB
21582013-08-08 Juanma Barranquero <lekktu@gmail.com>
2159
a3738d20 2160 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
2161 (frameset-save): Check validity of the resulting frameset.
2162
04263d23
XF
21632013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2164
2165 * ido.el (ido-record-command): Add doc string.
2166
76c5e5ab
JB
21672013-08-08 Juanma Barranquero <lekktu@gmail.com>
2168
2169 * frameset.el (frameset): Do not disable creation of the default
2170 frameset-p predicate. Doc fix.
2171 (frameset-valid-p): New function, copied from the old predicate-p.
2172 Add additional checks.
2173 (frameset-restore): Check with frameset-valid-p.
2174 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2175 (frameset-name, frameset-description, frameset-properties)
2176 (frameset-states): Add docstring.
f9dbf1cb
JB
2177 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2178 (frameset-filter-alist): Doc fixes.
76c5e5ab 2179
bd0c3c0b
JB
21802013-08-08 Juanma Barranquero <lekktu@gmail.com>
2181
2182 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2183
c735544c
SM
21842013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2185
2186 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2187 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2188 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2189 (byte-compile-normal-call): Remove obsolescence check.
2190
2805a651
JB
21912013-08-08 Juanma Barranquero <lekktu@gmail.com>
2192
3677ffeb
JB
2193 * frameset.el (frameset-restore): Doc fix.
2194
2805a651
JB
2195 * register.el (frameset-frame-id, frameset-frame-with-id)
2196 (frameset-p, frameset-restore, frameset-save): Declare.
2197 (register-alist): Document framesets.
2198 (frameset-session-filter-alist): Declare.
2199 (frameset-to-register): New function.
2200 (jump-to-register): Implement jumping to framesets. Doc fix.
2201 (describe-register-1): Describe framesets.
2202
2203 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2204
a912c016
JB
22052013-08-07 Juanma Barranquero <lekktu@gmail.com>
2206
2207 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2208 Use lexical-binding.
2209
2210 * frameset.el (frameset): Use type vector, not list (incompatible
2211 change). Do not declare a new constructor, use the default one.
2212 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2213 `name' and `description', respectively, and add read-only slot
2214 `timestamp'. Doc fixes.
2215 (frameset-copy, frameset-persistent-filter-alist)
2216 (frameset-filter-alist, frameset-switch-to-gui-p)
2217 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2218 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2219 (frameset-filter-iconified, frameset-keep-original-display-p):
2220 Doc fixes.
2221 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2222 Rename from frameset-filter-(save|restore)-param. All callers changed.
2223 Doc fix.
2224 (frameset-p): Adapt to change to vector and be more thorough.
2225 Change arg name to OBJECT. Doc fix.
2226 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2227 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2228 All callers changed.
2229 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2230 All callers changed.
2231 (frameset--record-minibuffer-relationships): Rename from
2232 frameset--process-minibuffer-frames. All callers changed.
2233 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2234 Use new default constructor (again). Doc fix.
2235 (frameset--find-frame-if): Rename from `frameset--find-frame.
2236 All callers changed.
2237 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2238 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2239 Doc fix.
2240 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2241 PARAMETERS and WINDOW-STATE, respectively.
2242 (frameset-restore): Add new keyword argument PREDICATE.
2243 Reset frameset--target-display to nil. Doc fix.
2244
bb41480a
SM
22452013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2246
f001e98e
SM
2247 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2248 (bat-mode): Use it.
2249 (bat-mode-syntax-table): Mark \n as end-of-comment.
2250 (bat-font-lock-keywords): Remove comment rule.
2251
7679edb1
SM
2252 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2253 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2254
bb41480a
SM
2255 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2256 (byte-compile-callargs-warn): Use `push'.
2257 (byte-compile-arglist-warn): Ignore higher-order "calls".
2258 (byte-compile-file-form-autoload): Use `pcase'.
2259 (byte-compile-function-form): If quoting a symbol, check that it exists.
2260
cdc1ebb9
EZ
22612013-08-07 Eli Zaretskii <eliz@gnu.org>
2262
2263 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2264 and add a few popular commands found in batch files.
2265 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2266 (dos-mode): Doc fixes.
2267
312b1740
SM
22682013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2269
2270 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2271 (dos-mode): Use setq-local. Add space after "rem".
2272 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2273 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2274
400a3178
AM
22752013-08-07 Arni Magnusson <arnima@hafro.is>
2276
2277 * progmodes/dos.el: New file.
2278 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2279 dos-mode.
2280
3b5c03d3
GM
22812013-08-06 Glenn Morris <rgm@gnu.org>
2282
2283 * calendar/calendar.el: Add new faces, and day-header-array.
2284 (calendar-weekday-header, calendar-weekend-header)
2285 (calendar-month-header): New faces.
2286 (calendar-day-header-construct): New function.
2287 (calendar-day-header-width): Also :set calendar-day-header-array.
2288 (calendar-american-month-header, calendar-european-month-header)
2289 (calendar-iso-month-header): Use calendar- faces.
2290 (calendar-generate-month):
2291 Use calendar-day-header-array for day headers; apply faces to them.
2292 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2293 (calendar-abbrev-construct): Add optional maxlen argument.
2294 (calendar-day-name-array): Doc fix.
2295 (calendar-day-name-array, calendar-abbrev-length)
2296 (calendar-day-abbrev-array):
2297 Also :set calendar-day-header-array, and maybe redraw.
2298 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 2299 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
2300 (calendar-day-name): Add option to use header array.
2301
ec6a2d7a
LMI
23022013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2303
2304 * net/shr.el (shr-render-td): Remove debugging.
2305 (shr-render-td): Make width computation consistent by defaulting
2306 all zero-width columns to 10 characters. This may not be optimal,
2307 but it's at least consistent.
2122cb6d
LMI
2308 (shr-make-table-1): Redo last change to fix the real problem in
2309 colspan handling.
ec6a2d7a 2310
ed4fd9c5
DA
23112013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2312
0ca3f70e
SM
2313 * files.el (cache-long-line-scans):
2314 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 2315
64e22afe
JB
23162013-08-06 Juanma Barranquero <lekktu@gmail.com>
2317
024b38fc
JB
2318 * frameset.el (frameset, frameset-filter-alist)
2319 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2320 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2321 (frameset-compute-pos): Rename from frameset--compute-pos,
2322 and add docstring.
2323 (frameset-move-onscreen): Use frameset-compute-pos.
2324 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2325
64e22afe
JB
2326 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2327 Fix typos in docstrings.
2328
c8c2aca8
DA
23292013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2330
2331 * frame.el (get-other-frame): Tiny cleanup.
2332
1d237bba
JB
23332013-08-06 Juanma Barranquero <lekktu@gmail.com>
2334
8951efef
JB
2335 * vc/vc.el (vc-default-ignore-completion-table):
2336 Silence byte-compiler warning.
2337
307764cc
JB
2338 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2339 slot , which can indeed be nil.
2340 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2341 Move entry for `left' from persistent to live filter alist.
2342 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2343 Doc fixes.
2344 (frameset-filter-params): When restoring a frame, copy items added to
2345 `filtered', to avoid unwittingly modifying the original parameters.
2346 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2347 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2348
1d237bba
JB
2349 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2350 to use looking-at-p instead of looking-at. (Bug#15028)
2351
dc6c0eda
SM
23522013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2353
2354 Revert introduction of isearch-filter-predicates (bug#14714).
2355 Rely on add-function instead.
2356 * isearch.el (isearch-filter-predicates): Rename it back to
2357 isearch-filter-predicate.
2358 (isearch-message-prefix): Use advice-function-mapc and advice
2359 properties to get the isearch-message-prefix.
2360 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2361 instead of run-hook-with-args-until-failure.
2362 (isearch-filter-visible): Not obsolete any more.
2363 * loadup.el: Preload nadvice.
2364 * replace.el (perform-replace): Revert to funcall
2365 instead of run-hook-with-args-until-failure.
2366 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2367 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2368 dired-isearch-filenames-toggle; make it into a proper minor mode.
2369 Use add/remove-function.
2370 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2371 Call the minor-mode rather than add/remove-hook.
2372 (dired-isearch-filter-filenames):
2373 Remove isearch-message-prefix property.
2374 * info.el (Info--search-loop): New function, extracted from Info-search.
2375 Funcall isearch-filter-predicate instead of
2376 run-hook-with-args-until-failure isearch-filter-predicates.
2377 (Info-search): Use it.
2378 (Info-mode): Use isearch-filter-predicate instead of
2379 isearch-filter-predicates.
2380
290d5b58
DA
23812013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2382
2383 Do not call to `selected-window' where it is assumed by default.
2384 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2385 `window-hscroll', `window-width', `window-height', `window-buffer',
2386 `window-frame', `window-start', `window-point', `next-window'
2387 and `window-display-table'.
2388 * abbrev.el (abbrev--default-expand):
2389 * bs.el (bs--show-with-configuration):
2390 * buff-menu.el (Buffer-menu-mouse-select):
2391 * calc/calc.el (calc):
2392 * calendar/calendar.el (calendar-generate-window):
2393 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2394 (diary-make-entry):
2395 * comint.el (send-invisible, comint-dynamic-complete-filename)
2396 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2397 * completion.el (complete):
2398 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2399 * disp-table.el (describe-current-display-table):
2400 * doc-view.el (doc-view-insert-image):
2401 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2402 * ehelp.el (with-electric-help):
2403 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2404 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2405 * emacs-lisp/helper.el (Helper-help-scroller):
2406 * emulation/cua-base.el (cua--post-command-handler-1):
2407 * eshell/esh-mode.el (eshell-output-filter):
2408 * ffap.el (ffap-gnus-wrapper):
2409 * help-macro.el (make-help-screen):
2410 * hilit-chg.el (highlight-compare-buffers):
2411 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2412 * hl-line.el (global-hl-line-highlight):
2413 * icomplete.el (icomplete-simple-completing-p):
2414 * isearch.el (isearch-done):
2415 * jit-lock.el (jit-lock-stealth-fontify):
2416 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2417 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2418 * mpc.el (mpc-tagbrowser, mpc):
2419 * net/rcirc.el (rcirc-any-buffer):
2420 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2421 * play/landmark.el (landmark-max-width, landmark-max-height):
2422 * play/zone.el (zone):
2423 * progmodes/compile.el (compilation-goto-locus):
2424 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2425 * progmodes/etags.el (find-tag-other-window):
2426 * progmodes/fortran.el (fortran-column-ruler):
2427 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2428 * progmodes/verilog-mode.el (verilog-point-text):
2429 * reposition.el (reposition-window):
2430 * rot13.el (toggle-rot13-mode):
2431 * server.el (server-switch-buffer):
2432 * shell.el (shell-dynamic-complete-command)
2433 (shell-dynamic-complete-environment-variable):
2434 * simple.el (insert-buffer, set-selective-display)
2435 (delete-completion-window):
2436 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2437 (speedbar-recenter):
2438 * startup.el (fancy-splash-head):
2439 * textmodes/ispell.el (ispell-command-loop):
2440 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2441 * tutorial.el (help-with-tutorial):
2442 * vc/add-log.el (add-change-log-entry):
2443 * vc/compare-w.el (compare-windows):
2444 * vc/ediff-help.el (ediff-indent-help-message):
2445 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2446 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2447 (ediff-setup-control-frame):
2448 * vc/emerge.el (emerge-position-region):
2449 * vc/pcvs-util.el (cvs-bury-buffer):
2450 * window.el (walk-windows, mouse-autoselect-window-select):
2451 * winner.el (winner-set-conf, winner-undo): Related users changed.
2452
38276e01
JB
24532013-08-05 Juanma Barranquero <lekktu@gmail.com>
2454
2455 * frameset.el (frameset--set-id): Doc fix.
2456 (frameset-frame-id, frameset-frame-id-equal-p)
2457 (frameset-locate-frame-id): New functions.
2458 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2459 (frameset-restore): Use them.
2460
12b4c0ea
DA
24612013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2462
2463 Do not call to `selected-frame' where it is assumed by default.
2464 Affected functions are `raise-frame', `redraw-frame',
2465 `frame-first-window', `frame-terminal' and `delete-frame'.
2466 * calendar/appt.el (appt-disp-window):
2467 * epg.el (epg-wait-for-completion):
2468 * follow.el (follow-delete-other-windows-and-split)
2469 (follow-avoid-tail-recenter):
2470 * international/mule.el (set-terminal-coding-system):
2471 * mail/rmail.el (rmail-mail-return):
2472 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2473 * progmodes/f90.el (f90-add-imenu-menu):
2474 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2475 * server.el (server-switch-buffer):
2476 * simple.el (delete-completion-window):
2477 * talk.el (talk):
2478 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2479 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2480 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2481 * vc/ediff.el (ediff-documentation): Related users changed.
2482 * frame.el (selected-terminal): Remove the leftover.
2483
17f25e76
GM
24842013-08-05 Glenn Morris <rgm@gnu.org>
2485
2486 * calendar/calendar.el (calendar-generate-month):
2487 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
2488 (calendar-generate-month, calendar-font-lock-keywords):
2489 Fix for calendar-day-header-width > length of any day name.
17f25e76 2490
063233c3
JB
24912013-08-05 Juanma Barranquero <lekktu@gmail.com>
2492
2493 * desktop.el (desktop-clear): Use new name of sort predicate.
2494
2495 * frameset.el (frameset): Add docstring. Move :version property to its
2496 own `version' slot.
2497 (frameset-copy): Rename from copy-frameset.
2498 (frameset-p): Check more thoroughly.
2499 (frameset-prop): Do not check for :version, which is no longer a prop.
2500 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2501 Use new :never value instead of t.
2502 (frameset-filter-alist): Expand and clarify docstring.
2503 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
2504 (frameset-filter-minibuffer, frameset-filter-save-param)
2505 (frameset-filter-restore-param, frameset-filter-iconified):
2506 Add pointer to docstring of frameset-filter-alist.
2507 (frameset-filter-params): Rename filter values to be more meaningful:
2508 :never instead of t, and reverse the meanings of :save and :restore.
2509 (frameset--process-minibuffer-frames): Clarify error message.
2510 (frameset-save): Avoid unnecessary and confusing call to framep.
2511 Use new BOA constructor for framesets.
2512 (frameset--reuse-list): Doc fix.
2513 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
2514 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
2515 (frameset-minibufferless-first-p): Doc fix.
2516 Rename from frameset-sort-frames-for-deletion.
2517 (frameset-restore): Doc fixes. Use new function names.
2518 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2519
d5671a82
JB
25202013-08-04 Juanma Barranquero <lekktu@gmail.com>
2521
2522 * desktop.el (desktop-restore-forces-onscreen)
2523 (desktop-restore-reuses-frames): Document :keyword constant values.
2524 (desktop-filter-parameters-alist): Remove, now identical to
2525 frameset-filter-alist.
2526 (desktop--filter-tty*): Remove, moved to frameset.el.
2527 (desktop-save-frameset, desktop-restore-frameset):
2528 Do not pass :filters argument.
2529
2530 * frameset.el (frameset-live-filter-alist)
2531 (frameset-persistent-filter-alist): New variables.
2532 (frameset-filter-alist): Use them. Add autoload cookie.
2533 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
2534 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
2535 `frameset--id' (it's supposed to be internal to frameset.el).
2536 (frameset--process-minibuffer-frames): Ditto. Doc fix.
2537 (frameset--initial-params): New function.
2538 (frameset--get-frame): Use it. Doc fix.
2539 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
2540 Accept :all, not 'all.
2541 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
2542 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
2543 with fbound symbols. Fix frame id matching, and remove matching ids if
2544 the frame being restored is deleted. Obey :delete.
2545
671d5c16
SM
25462013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2547
2548 * subr.el (macrop): New function.
2549 (text-clone--maintaining): New var.
2550 (text-clone--maintain): Rename from text-clone-maintain. Use it
2551 instead of inhibit-modification-hooks.
2552
2553 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
2554 a proxy, so as handle autoloads and redefinitions of the target.
2555 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
2556
2557 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
2558 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
2559 (pcase--mutually-exclusive-p): New function.
2560 (pcase--split-consp): Use it.
2561 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
2562 mutually exclusive with the current predicate.
2563
2564 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
2565 (edebug-macrop): Remove. Use `macrop' instead.
2566 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
2567 (ad-macro-p):
2568 * eshell/esh-cmd.el (eshell-macrop):
2569 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2570
1d44e9dc
SM
25712013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2572
2573 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2574 (advice-mapc): New function, using it.
2575 (advice-function-member-p): New function.
2576 (advice--normalize): Store the cdr in advice--saved-rewrite since
2577 that's the part that will be changed.
2578 (advice--symbol-function): New function.
2579 (advice-remove): Handle removal before the function is defined.
2580 Adjust to new advice--saved-rewrite.
2581 (advice-member-p): Use advice-function-member-p and
2582 advice--symbol-function.
2583
5414a283
JB
25842013-08-04 Juanma Barranquero <lekktu@gmail.com>
2585
51d30f2c
JB
2586 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2587 (frameset-filter-minibuffer): Doc fix.
2588 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
2589 (frameset--set-id, frameset--process-minibuffer-frames)
2590 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2591 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 2592
5414a283
JB
2593 * desktop.el (desktop-clear): Only delete frames when called
2594 interactively and desktop-restore-frames is non-nil. Doc fix.
2595 (desktop-read): Set desktop-saved-frameset to nil.
2596
ab419665
XF
25972013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2598
2599 * vc/vc.el (vc-ignore): Rewrite.
2600 (vc-default-ignore-completion-table):
2601 (vc--read-lines):
2602 (vc--add-line, vc--remove-regexp): New functions.
2603
2604 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2605 (vc-svn-ignore-completion-table): New function.
2606
2607 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2608 (vc-hg-ignore-completion-table):
2609 (vc-hg-find-ignore-file): New functions.
2610
2611 * vc/vc-git.el (vc-git-ignore): Rewrite.
2612 (vc-git-ignore-completion-table):
2613 (vc-git-find-ignore-file): New functions.
2614
2615 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2616
2617 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2618 (vc-bzr-ignore-completion-table):
2619 (vc-bzr-find-ignore-file): New functions.
2620
2613dea2
JB
26212013-08-03 Juanma Barranquero <lekktu@gmail.com>
2622
2623 * frameset.el (frameset-prop): New function and setter.
2624 (frameset-save): Do not modify frame list passed by the caller.
2625
9c959872
SM
26262013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2627
2628 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2629
a104f656
SM
26302013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2631
70122acf
SM
2632 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2633 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2634
a104f656
SM
2635 * custom.el (custom-initialize-default, custom-initialize-set)
2636 (custom-initialize-reset, custom-initialize-changed): Affect the
2637 toplevel-default-value (bug#6275, bug#14586).
2638 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2639 for bug#6275.
2640
f078d570
JB
26412013-08-02 Juanma Barranquero <lekktu@gmail.com>
2642
185e3b5a
JB
2643 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2644 Add cl-def* expressions.
2645
f078d570
JB
2646 * frameset.el (frameset-filter-params): Fix order of arguments.
2647
9421876d
JB
26482013-08-02 Juanma Barranquero <lekktu@gmail.com>
2649
2650 Move code related to saving frames to frameset.el.
2651 * desktop.el: Require frameset.
2652 (desktop-restore-frames): Doc fix.
2653 (desktop-restore-reuses-frames): Rename from
2654 desktop-restoring-reuses-frames.
2655 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2656 (desktop-clear): Clear frames too.
2657 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2658 (desktop--filter-tty*, desktop-save, desktop-read):
2659 Use frameset functions.
2660 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2661 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2662 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2663 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2664 (desktop--process-minibuffer-frames, desktop-save-frames)
2665 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2666 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2667 (desktop--sort-states, desktop-restoring-frames-p)
2668 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2669 (desktop-restoring-frameset-p, desktop-restore-frameset)
2670 (desktop--check-dont-save, desktop-save-frameset): New functions.
2671 (desktop--app-id): New constant.
2672 (desktop-first-buffer, desktop-buffer-ok-count)
2673 (desktop-buffer-fail-count): Move before first use.
2674 * frameset.el: New file.
2675
76dc5996
SM
26762013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2677
2678 * files.el: Use lexical-binding.
2679 (dir-locals-read-from-file): Remove unused `err' variable.
2680 (hack-dir-local-variables--warned-coding): New var.
2681 (hack-dir-local-variables): Use it to avoid repeated warnings.
2682 (make-backup-file-name--default-function): New function.
2683 (make-backup-file-name-function): Use it as default.
2684 (buffer-stale--default-function): New function.
2685 (buffer-stale-function): Use it as default.
2686 (revert-buffer-insert-file-contents--default-function): New function.
2687 (revert-buffer-insert-file-contents-function): Use it as default.
2688 (insert-directory): Avoid add-to-list.
2689
2690 * autorevert.el (auto-revert-handler): Simplify.
2691 Use buffer-stale--default-function.
2692
06d36e2b
TH
26932013-08-01 Tassilo Horn <tsdh@gnu.org>
2694
5f648ab4
TH
2695 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2696
06d36e2b
TH
2697 * whitespace.el (whitespace-ensure-local-variables): New function.
2698 (whitespace-cleanup-region): Call it.
2699 (whitespace-turn-on): Call it.
2700
a43dc424
MA
27012013-08-01 Michael Albinus <michael.albinus@gmx.de>
2702
2703 Complete file name handlers.
2704
2705 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2706 (tramp-handle-verify-visited-file-modtime)
2707 (tramp-handle-file-notify-rm-watch): New functions.
2708 (tramp-call-process): Do not bind `default-directory'.
2709
44e18199
JB
2710 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2711 Order alphabetically.
a43dc424
MA
2712 [access-file, add-name-to-file, dired-call-process]:
2713 [dired-compress-file, file-acl, file-notify-rm-watch]:
2714 [file-ownership-preserved-p, file-selinux-context]:
2715 [make-directory-internal, make-symbolic-link, set-file-acl]:
2716 [set-file-selinux-context, set-visited-file-modtime]:
2717 [verify-visited-file-modtime]: Add handler.
2718 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2719
2720 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2721 [file-notify-add-watch, file-notify-rm-watch]:
2722 [set-file-times, set-visited-file-modtime]:
2723 [verify-visited-file-modtime]: Add handler.
2724 (with-tramp-gvfs-error-message)
2725 (tramp-gvfs-handle-set-visited-file-modtime)
2726 (tramp-gvfs-fuse-file-name): Remove.
2727 (tramp-gvfs-handle-file-notify-add-watch)
2728 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2729 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2730
44e18199
JB
2731 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2732 Order alphabetically.
a43dc424
MA
2733 [file-notify-rm-watch ]: Use default Tramp handler.
2734 [executable-find]: Remove private handler.
2735 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2736 `default-directory'.
2737 (tramp-sh-handle-executable-find)
2738 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2739 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2740 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2741 Do not use `format' in `tramp-message'.
2742
2743 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2744 [file-notify-rm-watch, set-visited-file-modtime]:
2745 [verify-visited-file-modtime]: Add handler.
2746 (tramp-smb-call-winexe): Do not bind `default-directory'.
2747
7188b515
XF
27482013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2749
2750 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2751
2412ee1a
DG
27522013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2753
2754 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2755 use it.
2756 (log-view-diff-changeset): Same.
2757 (log-view-diff-common): Call backend command `previous-revision'
2758 to find out the previous revision, in both cases. Swap the
2759 variables `to' and `fr', so that `fr' usually refers to the
2760 earlier revision (Bug#14989).
2761
5002a754
KRC
27622013-07-31 Kan-Ru Chen <kanru@kanru.info>
2763
2764 * ibuf-ext.el (ibuffer-filter-by-filename):
2765 Make it work with dired buffers too.
2766
44e18199 27672013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
2768
2769 * emacs-lisp/re-builder.el (reb-color-display-p):
2770 * files.el (save-buffers-kill-terminal):
2771 * net/browse-url.el (browse-url):
2772 * server.el (server-save-buffers-kill-terminal):
2773 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2774 Prefer nil to selected-frame for the first arg of frame-parameter.
2775
aeca3fbb
XF
27762013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2777
2778 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2779
158bc55c
SB
27802013-07-30 Stephen Berman <stephen.berman@gmx.net>
2781
2782 * minibuffer.el (completion--twq-all): Try and preserve each
2783 completion's case choice (bug#14907).
2784
d50fceab
LMI
27852013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2786
ac38e731
LMI
2787 * net/network-stream.el (open-network-stream): Mention the new
2788 :nogreeting parameter.
2789 (network-stream-open-starttls): Use the :nogreeting parameter
2790 (bug#14938).
2791
1211de50
LMI
2792 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2793
997798bf
LMI
2794 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2795 more natural than popping.
2796
d50fceab 2797 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 2798 (shr-urlify): Highlight under mouse.
d50fceab 2799
5c09de04
XF
28002013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2801
207d1d04
XF
2802 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2803
2804 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2805
5c09de04
XF
2806 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2807 buffer for output.
2808
3cd51eaa
XF
2809 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2810 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 2811
44e18199 2812 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 2813 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
2814
2815 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2816
2817 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2818 buffer for output.
2819
35a89bdd
EZ
28202013-07-29 Eli Zaretskii <eliz@gnu.org>
2821
2822 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2823 initial frame is minibuffer-less. (Bug#14841)
2824
78822e94
MA
28252013-07-29 Michael Albinus <michael.albinus@gmx.de>
2826
2827 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2828 option.
2829
2830 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2831 (tramp-maybe-open-connection): Use it.
2832
9503c190
JB
28332013-07-28 Juanma Barranquero <lekktu@gmail.com>
2834
2835 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2836 minimal set of parameters passed when creating a frame, because
2837 the minibuffer status of a frame cannot be changed later.
2838
d5a845b4
SB
28392013-07-28 Stephen Berman <stephen.berman@gmx.net>
2840
2841 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2842 replace-regexp-in-string and inadvertent omissions in previous change.
2843 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 2844 name of filtered items buffer.
d5a845b4 2845
ddeffb17
JB
28462013-07-28 Juanma Barranquero <lekktu@gmail.com>
2847
2848 * desktop.el: Optionally force offscreen frames back onscreen.
2849 (desktop-restoring-reuses-frames): New option.
2850 (desktop--compute-pos, desktop--move-onscreen): New functions.
2851 (desktop--make-frame): Use desktop--move-onscreen.
2852
f5950f7a
AM
28532013-07-27 Alan Mackenzie <acm@muc.de>
2854
2855 Fontify a Java generic method as a function.
2856 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2857 value to t.
2858
ae43b66a
SB
28592013-07-27 Stephen Berman <stephen.berman@gmx.net>
2860
2861 * calendar/todo-mode.el: Add command to rename todo files.
2862 (todo-rename-file): New command.
2863 (todo-key-bindings-t): Add key binding for it. Change the
2864 bindings of todo-filter-regexp-items(-multifile) to use `x'
2865 instead of `r', since the latter is better suited to the new
2866 renaming command.
2867
5ab78d3d
AM
28682013-07-27 Alan Mackenzie <acm@muc.de>
2869
2870 Make Java try-with-resources statement parse properly.
2871 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2872 (c-block-stmt-1-2-key): New language constants/variables.
2873 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2874 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2875 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 2876 with c-block-stmt-1-2-key.
5ab78d3d 2877
d85c4d50
JB
28782013-07-27 Juanma Barranquero <lekktu@gmail.com>
2879
2880 * desktop.el (desktop--make-frame): Apply most frame parameters after
2881 creating the frame to force (partially or totally) offscreen frames to
2882 be restored as such.
2883
e4c467f9
XF
28842013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2885
2886 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 2887 (Bug#14948)
e4c467f9 2888
7ced0d04
SM
28892013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2890
2891 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2892 `base' arg of backtrace-frame.
2893
fec92060
EZ
28942013-07-26 Eli Zaretskii <eliz@gnu.org>
2895
2896 * simple.el (list-processes): Doc fix.
2897
d58d31fb
JB
28982013-07-26 Juanma Barranquero <lekktu@gmail.com>
2899
2900 * desktop.el (desktop--select-frame):
d85c4d50 2901 Try harder to reuse existing frames.
d58d31fb 2902
53ff3e77
SM
29032013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2904
2905 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2906 (edebug-eval): Use backtrace-eval.
2907 (edebug--display, edebug--recursive-edit): Don't let-bind the
2908 edebug-outer-* vars that keep track of variables we locally let-bind.
2909 (edebug-outside-excursion): Don't restore outside values of locally
2910 let-bound vars.
2911 (edebug--display): Use user-error.
2912 (cl-lexical-debug, cl-debug-env): Remove.
2913
045f7a53
JB
29142013-07-26 Juanma Barranquero <lekktu@gmail.com>
2915
2916 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2917 are restored to be sure that they are visible before deleting any
2918 remaining ones.
2919
59070b32
MM
29202013-07-26 Matthias Meulien <orontee@gmail.com>
2921
742a3501
XF
2922 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2923 vc-print-root-log. (Bug#14948)
59070b32 2924
b1fb3596
RS
29252013-07-26 Richard Stallman <rms@gnu.org>
2926
2927 Add aliases for encrypting mail.
2928 * epa.el (epa-mail-aliases): New option.
2929 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2930 Bind inhibit-read-only so read-only text doesn't ruin everything.
2931 (epa-mail-default-recipients): New subroutine broken out.
2932 Handle epa-mail-aliases.
2933
56ea7291
SM
29342013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2935
2936 Add support for lexical variables to the debugger's `e' command.
2937 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2938 vars, except for debugger-outer-match-data.
2939 (debugger-frame-number): Move check for "on a function call" from
2940 callers into it. Add `skip-base' argument.
2941 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2942 (debugger-env-macro): Only reset the state stored in non-variables,
2943 i.e. current-buffer and match-data.
2944 (debugger-eval-expression): Rewrite using backtrace-eval.
2945 * subr.el (internal--called-interactively-p--get-frame): Remove.
2946 (called-interactively-p):
2947 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2948 `base' arg of backtrace-frame instead.
2949
15ac32d5
GM
29502013-07-26 Glenn Morris <rgm@gnu.org>
2951
8358a09d
GM
2952 * align.el (align-regexp): Doc fix. (Bug#14857)
2953 (align-region): Explicit error if subexpression missing/does not match.
2954
15ac32d5
GM
2955 * simple.el (global-visual-line-mode):
2956 Do not duplicate the mode lighter. (Bug#14858)
2957
f47ad11b
MR
29582013-07-25 Martin Rudalics <rudalics@gmx.at>
2959
2960 * window.el (display-buffer): In display-buffer bind
2961 split-window-keep-point to t, bug#14829.
2962
02530987
JB
29632013-07-25 Juanma Barranquero <lekktu@gmail.com>
2964
2965 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2966 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2967 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2968 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2969 Change accordingly.
f63ebeb5
JB
2970 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2971 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 2972
6ccb9cab 29732013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 2974
6ccb9cab 2975 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 2976
cb3a56d2
JB
29772013-07-25 Juanma Barranquero <lekktu@gmail.com>
2978
2979 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2980 parameter to modify-frame-parameters if the value has not changed;
2981 this is a workaround for bug#14949.
2982 (desktop--make-frame): On cl-delete-if call, check parameter name,
2983 not full parameter.
2984
7aa7fff0
XF
29852013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2986
2987 * vc/vc.el (vc-ignore): New function.
2988
2989 * vc/vc-svn.el (vc-svn-ignore): New function.
2990
2991 * vc/vc-hg.el (vc-hg-ignore): New function.
2992
2993 * vc/vc-git.el (vc-git-ignore): New function.
2994
2995 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2996 (vc-dir-ignore): New function.
2997
2998 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 2999 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
3000
3001 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3002
3003 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3004
889acc5c
JB
30052013-07-24 Juanma Barranquero <lekktu@gmail.com>
3006
3007 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3008 (desktop-restore-frames): Warn when deleting an existing frame failed.
3009
86c40970
GM
30102013-07-24 Glenn Morris <rgm@gnu.org>
3011
3012 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3013
d5d3c58a
MA
30142013-07-24 Michael Albinus <michael.albinus@gmx.de>
3015
3016 * filenotify.el (file-notify-supported-p):
3017 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3018 Remove functions.
3019
3020 * autorevert.el (auto-revert-use-notify):
3021 (auto-revert-notify-add-watch):
3022 * net/tramp.el (tramp-file-name-for-operation):
3023 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3024 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3025 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3026 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3027 Remove `file-notify-supported-p' entry.
3028
d100084b
GM
30292013-07-24 Glenn Morris <rgm@gnu.org>
3030
3031 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 3032 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 3033
ac93e56b
SM
30342013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3035
249eea30
SM
3036 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3037 checked with memq (bug#14935).
3038
ac93e56b
SM
3039 * files.el (revert-buffer-function): Use a non-nil default.
3040 (revert-buffer-preserve-modes): Declare var to
3041 provide access to the `preserve-modes' argument.
3042 (revert-buffer): Let-bind it.
3043 (revert-buffer--default): New function, extracted from revert-buffer.
3044
2cdeb903
SM
30452013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3046
3047 * lpr.el: Signal print errors more prominently.
3048 (print-region-function): Don't default to nil.
3049 (lpr-print-region): New function, extracted from print-region-1.
3050 Check lpr's return value and signal an error in case of problem.
3051 (print-region-1): Use it.
3052 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3053 versions instead.
3054 (ps-printer-name): Default to nil.
3055 (ps-printer-name-option): Default to lpr-printer-switch.
3056 (ps-print-region-function): Don't default to nil.
3057 (ps-postscript-code-directory): Simplify default.
3058 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3059 (ps-string-list, ps-eval-switch, ps-flatten-list)
3060 (ps-flatten-list-1): Remove.
3061 (ps-multibyte-buffer): Avoid setq.
3062 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3063 (print-region-function, ps-print-region-function): Don't set them here.
3064
73600831
XF
30652013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3066
0e55c076
XF
3067 * ido.el (ido-fractionp):
3068 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3069 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3070 (ido-max-directory-size, ido-max-dir-file-cache)
3071 (ido-decorations): Doc fix.
3072
73600831
XF
3073 * ansi-color.el: Fix old URL.
3074
3d012865
MM
30752013-07-23 Michael R. Mauger <michael@mauger.com>
3076
3077 * progmodes/sql.el Version 3.3
3078 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3079 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3080 (sql-interactive-remove-continuation-prompt): Rewrite, use
3081 functions above. Fix continuation prompt and complete output line
3082 handling.
3083 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3084 redirected output buffer.
3085 (sql-mode): Restore deleted code (Bug#13591).
3086
da77a2e2
JB
30872013-07-23 Juanma Barranquero <lekktu@gmail.com>
3088
3089 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3090
80ff0c71
MA
30912013-07-23 Michael Albinus <michael.albinus@gmx.de>
3092
3093 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3094
3095 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3096 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3097 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3098
b61d71e4
JB
30992013-07-23 Juanma Barranquero <lekktu@gmail.com>
3100
3101 * desktop.el (desktop-clear): Simplify; remove useless checks
3102 against invalid buffer names.
3103 (desktop-list*): Use cl-list*.
3104 (desktop-buffer-info, desktop-create-buffer): Simplify.
3105
c3512092
LL
31062013-07-23 Leo Liu <sdl.web@gmail.com>
3107
3108 * bookmark.el (bookmark-make-record): Restore NAME as a default
3109 value. (Bug#14933)
3110
0ac26976
SM
31112013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3112
7d22ce18
SM
3113 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3114 extracted from autoload--insert-text.
3115 (autoload--insert-text): Remove.
3116 (autoload--print-cookie-text): New function, extracted from
3117 autoload--insert-cookie-text.
3118 (autoload--insert-cookie-text): Remove.
3119 (autoload-generate-file-autoloads): Adjust calls accordingly.
3120
9b2607e8
SM
3121 * winner.el (winner-hook-installed-p): Remove.
3122 (winner-mode): Simplify accordingly.
3123
c43a8618
SM
3124 * subr.el (add-to-list): Fix compiler-macro when `append' is
3125 not constant. Don't use `cl-member' for the base case.
3126
0ac26976
SM
3127 * progmodes/subword.el: Fix boundary case (bug#13758).
3128 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3129 own group.
3130 (subword-backward-regexp): Make it a constant.
3131 (subword-forward-internal): Don't treat a trailing capital as the
3132 beginning of a word.
3133
6874724a
AR
31342013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3135
3136 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3137 global value of tabulated-list-revert-hook (bug#14930).
3138
70f1b5e8
JB
31392013-07-22 Juanma Barranquero <lekktu@gmail.com>
3140
a1c80d9d
JB
3141 * desktop.el: Require 'cl-lib.
3142 (desktop-before-saving-frames-functions): New hook.
3143 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3144 for frames being saved. Rename from desktop--save-minibuffer-frames.
3145 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
3146 Do not save frames with non-nil `desktop-dont-save' parameter.
3147 Filter out deleted frames.
a1c80d9d
JB
3148 (desktop--find-frame): Use cl-find-if.
3149 (desktop--select-frame): Use cl-(first|second|third) to access values
3150 of desktop-mini.
3151 (desktop--make-frame): Use cl-delete-if.
3152 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3153 (desktop-restore-frames): Use cl-(first|second|third) to access values
3154 of desktop-mini. Look for visible frame at the end, not while
3155 restoring frames.
3156
70f1b5e8
JB
3157 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3158 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3159 Use string-match-p, looking-at-p (bug#14927).
3160
728dc3cc
JB
31612013-07-21 Juanma Barranquero <lekktu@gmail.com>
3162
56bc453c
JB
3163 * desktop.el (desktop-saved-frame-states):
3164 Rename from desktop--saved-states; all users changed.
3165 (desktop-save-frames): Rename from desktop--save-frames.
3166 Do not save state to desktop file.
3167 (desktop-save): Save desktop-saved-frame-states to desktop file
3168 and reset to nil.
3169 (desktop-restoring-frames-p): New function.
3170 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3171 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3172 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3173
728dc3cc
JB
3174 * desktop.el: Correctly restore iconified frames.
3175 (desktop--filter-iconified-position): New function.
3176 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3177
862f1c9c
GM
31782013-07-20 Glenn Morris <rgm@gnu.org>
3179
c4074c9f
GM
3180 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3181 Let `message' do the formatting.
3182 (def-gdb-preempt-display-buffer): Add explicit format.
3183
d828e5f9
GM
3184 * image-dired.el (image-dired-track-original-file):
3185 Use with-current-buffer.
3186 (image-dired-track-thumbnail): Use with-current-buffer.
3187 Avoid changing point of wrong window.
3188
862f1c9c
GM
3189 * image-dired.el (image-dired-track-original-file):
3190 Avoid changing point of wrong window. (Bug#14909)
3191
f0398ec1 31922013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
3193
3194 * progmodes/gdb-mi.el (gdb-done-or-error):
3195 Guard against "%" in gdb output. (Bug#14127)
3196
1451928f
AS
31972013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3198
763a086d
JB
3199 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3200 (Bug#14826)
f7a03897 3201
1451928f
AS
3202 * international/mule.el (coding-system-iso-2022-flags): Fix last
3203 change.
3204
99107004
KH
32052013-07-20 Kenichi Handa <handa@gnu.org>
3206
763a086d
JB
3207 * international/mule.el (coding-system-iso-2022-flags):
3208 Add `8-bit-level-4'. (Bug#8522)
99107004 3209
48494e06
LMI
32102013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3211
8ba8eec5
LMI
3212 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3213 (bug#14815).
3214
dfbc66e3
LMI
3215 * net/eww.el (eww-process-text-input): Allow inputting when the
3216 point is at the start of the line, as the properties aren't
3217 front-sticky.
3218
48494e06
LMI
3219 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3220 degenerate widths.
3221
77c92cb9
RS
32222013-07-19 Richard Stallman <rms@gnu.org>
3223
aec7da77
RS
3224 * epa.el (epa-popup-info-window): Doc fix.
3225
77c92cb9
RS
3226 * subr.el (split-string): New arg TRIM.
3227
945c5bb1
JB
32282013-07-18 Juanma Barranquero <lekktu@gmail.com>
3229
3230 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3231 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3232
e06ec67f
MA
32332013-07-18 Michael Albinus <michael.albinus@gmx.de>
3234
c7064f05 3235 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
3236 `file-notify-support'. Do not autoload. Adapt all uses.
3237 (file-notify-supported-p): New defun.
3238
c7064f05
JB
3239 * autorevert.el (auto-revert-use-notify):
3240 Use `file-notify-supported-p' instead of `file-notify-support'.
3241 Adapt docstring.
e06ec67f
MA
3242 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3243
3244 * net/tramp.el (tramp-file-name-for-operation):
3245 Add `file-notify-supported-p'.
3246
3247 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3248 New defun.
3249 (tramp-sh-file-name-handler-alist): Add it as handler for
3250 `file-notify-supported-p '.
3251
3252 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3253 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3254 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3255 Add `ignore' as handler for `file-notify-*' functions.
3256
5dc8a629
EZ
32572013-07-17 Eli Zaretskii <eliz@gnu.org>
3258
3259 * simple.el (line-move-partial, line-move): Don't start vscroll or
3260 scroll-up if the current line is not taller than the window.
3261 (Bug#14881)
3262
77aea2fb
DG
32632013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3264
3265 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3266 highlight question marks in the method names as strings.
ac72c08d
DG
3267 (ruby-block-beg-keywords): Inline.
3268 (ruby-font-lock-keyword-beg-re): Extract from
3269 `ruby-font-lock-keywords'.
77aea2fb 3270
18c26d81
JD
32712013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3272
3273 * frame.el (blink-cursor-blinks): New defcustom.
3274 (blink-cursor-blinks-done): New defvar.
3275 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3276 (blink-cursor-timer-function): Check if number of blinks has been
3277 done on X and NS.
3278 (blink-cursor-suspend, blink-cursor-check): New defuns.
3279
da48522e
GM
32802013-07-15 Glenn Morris <rgm@gnu.org>
3281
3282 * edmacro.el (edmacro-format-keys): Fix previous change.
3283
0463c1ef
PE
32842013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3285
3286 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3287 The hack didn't work outside English locales anyway.
3288
b43f6451
JB
32892013-07-15 Juanma Barranquero <lekktu@gmail.com>
3290
3291 * simple.el (define-alternatives): Rename from alternatives-define,
3292 per RMS' suggestion.
3293
b958c0ad
JB
32942013-07-14 Juanma Barranquero <lekktu@gmail.com>
3295
3296 * desktop.el (desktop-restore-frames): Change default to t.
3297 (desktop-restore-in-current-display): Now offer more options.
3298 (desktop-restoring-reuses-frames): New customization option.
3299 (desktop--saved-states): Doc fix.
3300 (desktop-filter-parameters-alist): New variable, renamed and expanded
3301 from desktop--excluded-frame-parameters.
3302 (desktop--target-display): New variable.
3303 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3304 (desktop--filter-tty*, desktop--filter-*-color)
3305 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3306 (desktop--filter-save-desktop-parm)
3307 (desktop-restore-in-original-display-p): New functions.
3308 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3309 (desktop--save-minibuffer-frames): New function, inspired by a similar
3310 function from Martin Rudalics.
3311 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3312 (desktop--restore-in-this-display-p): Remove.
3313 (desktop--find-frame): Rename from desktop--find-frame-in-display
3314 and add predicate argument.
3315 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3316 (desktop--reuse-list): New variable.
3317 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3318 New functions.
3319 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3320
f6dd8b36
MA
33212013-07-14 Michael Albinus <michael.albinus@gmx.de>
3322
3323 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3324
2ce3c565
DG
33252013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3326
763a086d
JB
3327 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3328 Highlight conversion methods on Kernel.
2ce3c565 3329
2cdb7698
AM
33302013-07-13 Alan Mackenzie <acm@muc.de>
3331
3332 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3333 and comment it out. This out-commenting enables certain C++
3334 declarations to be parsed correctly.
3335
1a67b811
EZ
33362013-07-13 Eli Zaretskii <eliz@gnu.org>
3337
1b796d6b
EZ
3338 * international/mule.el (define-coding-system): Doc fix.
3339
1a67b811
EZ
3340 * simple.el (default-font-height): Don't call font-info if the
3341 frame's default font didn't change since the frame was created.
3342 (Bug#14838)
3343
58fbe886
LL
33442013-07-13 Leo Liu <sdl.web@gmail.com>
3345
3346 * ido.el (ido-read-file-name): Guard against non-symbol value.
3347
1f0480d4
FEG
33482013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3349
3350 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3351 in nested defuns.
3352
97ead0e5
LL
33532013-07-13 Leo Liu <sdl.web@gmail.com>
3354
3355 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3356 ido-set-matches call. (Bug#6852)
3357
0880a952
DG
33582013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3359
3360 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3361 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3362 Ruby 2.0.
3363 (ruby-font-lock-keywords): Distinguish calls to functions with
3364 module-like names from module references. Highlight character
3365 literals.
3366
a7d8babb
SDJ
33672013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3368
3369 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 3370 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 3371
acfcc8c5
JB
33722013-07-12 Juanma Barranquero <lekktu@gmail.com>
3373
3374 * desktop.el (desktop--v2s): Remove unused local variable.
3375 (desktop-save-buffer): Make defvar-local; adjust docstring.
3376 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3377 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3378
051f2775
AS
33792013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3380
3381 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3382
f24e7572
GM
33832013-07-12 Eli Zaretskii <eliz@gnu.org>
3384
3385 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3386 (Bug#14842)
3387
539a920c
GM
33882013-07-12 Glenn Morris <rgm@gnu.org>
3389
3390 * doc-view.el: Require cl-lib at runtime too.
3391 (doc-view-remove-if): Remove.
3392 (doc-view-search-next-match, doc-view-search-previous-match):
3393 Use cl-remove-if.
3394
3395 * edmacro.el: Require cl-lib at runtime too.
3396 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3397 (edmacro-mismatch, edmacro-subseq): Remove.
3398
3399 * shadowfile.el: Require cl-lib.
3400 (shadow-remove-if): Remove.
3401 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3402 Use cl-remove-if.
3403
3404 * wid-edit.el: Require cl-lib.
3405 (widget-choose): Use cl-remove-if.
3406 (widget-remove-if): Remove.
3407
3408 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3409 (ebrowse-delete-if-not): Remove.
3410 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3411 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3412 Use cl-delete-if-not.
3413
1048af7c
JB
34142013-07-12 Juanma Barranquero <lekktu@gmail.com>
3415
3416 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3417 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3418
6c0674ee
LL
34192013-07-12 Leo Liu <sdl.web@gmail.com>
3420
3421 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3422
a19b3c2d
GM
34232013-07-11 Glenn Morris <rgm@gnu.org>
3424
4582a01c
GM
3425 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3426 (edebug-gensym-index, edebug-gensym):
3427 Remove reimplementation of cl-gensym.
3428 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3429
3430 * thumbs.el: Require cl-lib at run-time too.
3431 (thumbs-gensym-counter, thumbs-gensym):
3432 Remove reimplementation of cl-gensym.
3433 (thumbs-temp-file): Use cl-gensym.
3434
a19b3c2d
GM
3435 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3436 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3437 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3438 (ert--union, ert--gensym-counter, ert--gensym-counter)
3439 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3440 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3441 (ert-make-test-unbound, ert--expand-should-1)
3442 (ert--expand-should, ert--should-error-handle-error)
3443 (should-error, ert--explain-equal-rec)
3444 (ert--plist-difference-explanation, ert-select-tests)
3445 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3446 Use cl-lib functions rather than reimplementations.
3447
88f6a933
MA
34482013-07-11 Michael Albinus <michael.albinus@gmx.de>
3449
3450 * net/tramp.el (tramp-methods): Extend docstring.
3451 (tramp-connection-timeout): New defcustom.
3452 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3453 (with-tramp-progress-reporter): Simplify.
3454 (tramp-process-actions): Improve messages.
3455
3456 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3457 * net/tramp-sh.el (tramp-maybe-open-connection):
3458 Use `tramp-connection-timeout'.
3459 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3460 (Bug#14808)
3461
a43d577e
LL
34622013-07-11 Leo Liu <sdl.web@gmail.com>
3463
3464 * ido.el (ido-read-file-name): Conform to the requirements of
3465 read-file-name. (Bug#11861)
3466 (ido-read-directory-name): Conform to the requirements of
3467 read-directory-name.
3468
d77974bf
JB
34692013-07-11 Juanma Barranquero <lekktu@gmail.com>
3470
3471 * subr.el (delay-warning): New function.
3472
35cb8a3e
EZ
34732013-07-10 Eli Zaretskii <eliz@gnu.org>
3474
3475 * simple.el (default-line-height): New function.
3476 (line-move-partial, line-move): Use it instead of computing the
3477 line height inline.
3478 (line-move-partial): Always compute ROWH. If the last line is
3479 partially-visible, but its text is completely visible, allow
3480 cursor to enter such a partially-visible line.
3481
525c5c77
MA
34822013-07-10 Michael Albinus <michael.albinus@gmx.de>
3483
3484 Improve error messages. (Bug#14808)
3485
3486 * net/tramp.el (tramp-current-connection): New defvar, moved from
3487 tramp-sh.el.
0ac26976 3488 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 3489 needed anymore.
0ac26976
SM
3490 (tramp-error-with-buffer): Show message in minibuffer.
3491 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
3492 (with-tramp-progress-reporter): Improve messages.
3493 (tramp-process-actions): Use progress reporter. Delete process in
3494 case of error. Improve messages.
3495
763a086d
JB
3496 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3497 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 3498 (tramp-current-connection): Remove.
525c5c77
MA
3499 (tramp-maybe-open-connection): The car of
3500 `tramp-current-connection' are the first 3 slots of the vector.
3501
c7a4d368
TZ
35022013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
3503
3504 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
3505 inside continued strings.
3506
954b166e
PE
35072013-07-10 Paul Eggert <eggert@cs.ucla.edu>
3508
3509 Timestamp fixes for undo (Bug#14824).
3510 * files.el (clear-visited-file-modtime): Move here from fileio.c.
3511
56973319
LL
35122013-07-10 Leo Liu <sdl.web@gmail.com>
3513
3514 * files.el (require-final-newline): Allow safe local value.
3515 (Bug#14834)
3516
5550a72c
LL
35172013-07-09 Leo Liu <sdl.web@gmail.com>
3518
3519 * ido.el (ido-read-directory-name): Handle fallback.
3520 (ido-read-file-name): Update DIR to ido-current-directory.
3521 (Bug#1516)
c28b9050 3522 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 3523
70c46b28
DG
35242013-07-09 Dmitry Gutov <dgutov@yandex.ru>
3525
3526 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
3527 "autoload". Remove "warn lower camel case" section, previously
3528 commented out. Highlight negation char. Do not highlight the
3529 target in singleton method definitions.
3530
0b64b838
SM
35312013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3532
7fd72e2c
SM
3533 * faces.el (tty-setup-hook): Declare the hook.
3534
0b64b838
SM
3535 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
3536 and detect when a guard/pred depends on local vars (bug#14773).
3537 (pcase--u1): Adjust caller.
3538
ab49d60b
EZ
35392013-07-08 Eli Zaretskii <eliz@gnu.org>
3540
3541 * simple.el (line-move-partial, line-move): Account for
3542 line-spacing.
701d79aa
EZ
3543 (line-move-partial): Avoid setting vscroll when the last
3544 partially-visible line in window is of default height.
ab49d60b 3545
2d756ae0
LMI
35462013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3547
3548 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
3549 been used a while.
3550
ed095bd7
JB
35512013-07-07 Juanma Barranquero <lekktu@gmail.com>
3552
3553 * subr.el (read-quoted-char): Remove unused local variable `char'.
3554
f1e6674b
MK
35552013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
3556
584ee3fc
GM
3557 * ediff.el (ediff-version): Version update.
3558 (ediff-files-command, ediff3-files-command, ediff-merge-command)
3559 (ediff-merge-with-ancestor-command, ediff-directories-command)
3560 (ediff-directories3-command, ediff-merge-directories-command)
3561 (ediff-merge-directories-with-ancestor-command): New functions.
3562 All are command-line interfaces to ediff: to facilitate calling
3563 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
3564
3565 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
3566 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 3567
584ee3fc
GM
3568 * viper.el (viper-version): Version update.
3569 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 3570
584ee3fc
GM
35712013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3572
3573 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3574 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3575 (viper-intercept-ESC-key): Simplify.
3576 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3577 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3578 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3579 (viper-setup-ESC-to-escape): New functions.
3580 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3581 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 3582
9aff9b38
EZ
35832013-07-07 Eli Zaretskii <eliz@gnu.org>
3584
5165d44a
JB
3585 * simple.el (default-font-height, window-screen-lines):
3586 New functions.
9aff9b38
EZ
3587 (line-move, line-move-partial): Use them instead of
3588 frame-char-height and window-text-height. This makes scrolling
3589 text smoother when the buffer's default face uses a font that is
3590 different from the frame's default font.
3591
1afb1d07
JD
35922013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3593
3594 * files.el (write-file): Do not display confirm dialog for NS,
3595 it does its own dialog, which can't be cancelled (Bug#14578).
3596
23de972a
EZ
35972013-07-06 Eli Zaretskii <eliz@gnu.org>
3598
3599 * simple.el (line-move-partial): Adjust the row returned by
3600 posn-at-point for the current window-vscroll. (Bug#14567)
3601
54a42486
MA
36022013-07-06 Michael Albinus <michael.albinus@gmx.de>
3603
3604 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3605 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3606 spaces.
3607
34ada5f4
MR
36082013-07-06 Martin Rudalics <rudalics@gmx.at>
3609
3610 * window.el (window-state-put-stale-windows): New variable.
3611 (window--state-put-2): Save list of windows without matching buffer.
3612 (window-state-put): Remove "bufferless" windows if possible.
3613
11e03d89
JB
36142013-07-06 Juanma Barranquero <lekktu@gmail.com>
3615
3616 * simple.el (alternatives-define): Remove leftover :group keyword.
3617 Tweak docstring.
3618
3504a4be
LL
36192013-07-06 Leo Liu <sdl.web@gmail.com>
3620
3621 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3622 (ido-enable-virtual-buffers): New variable.
3623 (ido-buffer-internal, ido-toggle-virtual-buffers)
3624 (ido-make-buffer-list): Use it.
3625 (ido-exhibit): Support turning on and off virtual buffers
3626 automatically.
3627
61e56e2c
JB
36282013-07-06 Juanma Barranquero <lekktu@gmail.com>
3629
3630 * simple.el (alternatives-define): New macro.
3631
321e1a9c
SM
36322013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 * subr.el (read-quoted-char): Use read-key.
3635 (sit-for): Let read-event decode tty input (bug#14782).
3636
d610f6dd
SB
36372013-07-05 Stephen Berman <stephen.berman@gmx.net>
3638
3639 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
3640 mode command and externally. Fix various related bugs.
3641 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
3642 (todo-delete-file): New command.
3643 (todo-check-file): New function.
3644 (todo-show): Handle external deletion of the file we're trying to
3645 show (bug#14688). Replace called-interactively-p by an optional
3646 prefix argument to avoid problematic interaction with catch form
3647 when byte compiled (bug#14702).
3648 (todo-quit): Handle external deletion of the archive's todo file.
3649 Make sure the buffer that was visiting the archive file is still
3650 live before trying to bury it.
3651 (todo-category-completions): Handle external deletion of any
3652 category completion files.
3653 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3654 of todo files, in case of external deletion.
3655 (todo-add-file): Replace unnecessary setq by let-binding.
3656 (todo-find-archive): Check whether there are any archives.
3657 Replace unnecessary setq by let-binding.
3658 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
3659 archive buffer whether or not the archive already exists.
3660 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
3661 check if the archive is new; if it is, update list of archives.
3662 (todo-default-todo-file): Allow nil to be a valid value for when
3663 there are no todo files.
3664 (todo-reevaluate-default-file-defcustom): Use corrected definition
3665 of todo-default-todo-file.
3666 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3667 (todo-delete-category, todo-show-categories-table)
3668 (todo-category-number): Clarify comment.
3669 (todo-filter-items): Clarify documentation string.
3670 (todo-show-current-file, todo-display-as-todo-file)
3671 (todo-reset-and-enable-done-separator): Tweak documentation string.
3672 (todo-done-separator): Make separator length window-width, since
3673 bug#2749 is now fixed.
3674
ddbdfd6f
MA
36752013-07-05 Michael Albinus <michael.albinus@gmx.de>
3676
321e1a9c
SM
3677 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3678 Support both "gvfs-monitor-dir" and "inotifywait".
3679 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
3680 `tramp-sh-file-notify-process-filter'.
3681 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3682 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3683
96eb829a
LL
36842013-07-05 Leo Liu <sdl.web@gmail.com>
3685
3686 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3687
cf13177e
YM
36882013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3689
3690 * frame.el (display-pixel-height, display-pixel-width)
3691 (display-mm-height, display-mm-width): Mention behavior on
3692 multi-monitor setups in docstrings.
3693 (w32-display-monitor-attributes-list): Declare function.
3694 (display-monitor-attributes-list): Use it.
3695
864c58ca
MA
36962013-07-04 Michael Albinus <michael.albinus@gmx.de>
3697
3698 * filenotify.el: New package.
3699
3700 * autorevert.el (top): Require filenotify.el.
3701 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3702 instead.
3703 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3704 (auto-revert-notify-handler): Use `file-notify-*' functions.
3705
3706 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3707
321e1a9c
SM
3708 * net/tramp.el (tramp-file-name-for-operation):
3709 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
3710
3711 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3712 for `file-notify-add-watch' and `file-notify-rm-watch'.
3713 (tramp-process-sentinel): Improve trace.
3714 (tramp-sh-handle-file-notify-add-watch)
3715 (tramp-sh-file-notify-process-filter)
3716 (tramp-sh-handle-file-notify-rm-watch)
3717 (tramp-get-remote-inotifywait): New defuns.
3718
96673afe
JL
37192013-07-03 Juri Linkov <juri@jurta.org>
3720
3721 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3722 call of `occur-read-primary-args' to interactive spec.
3723
3724 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3725 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3726
924494f4
MM
37272013-07-03 Matthias Meulien <orontee@gmail.com>
3728
3729 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3730 `Buffer-menu-multi-occur'. Add it to the menu.
3731 (Buffer-menu-mode): Document it in docstring.
3732 (Buffer-menu-multi-occur): New command. (Bug#14673)
3733
56f75efc
DG
37342013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3735
3736 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3737 keywords and built-ins.
3738
9b057d61
GM
37392013-07-03 Glenn Morris <rgm@gnu.org>
3740
208dee4d
GM
3741 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3742
9b057d61
GM
3743 Make info-xref checks case-sensitive by default
3744 * info.el (Info-find-node, Info-find-in-tag-table)
3745 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3746 Add option for exact case matching of nodes.
3747 * info-xref.el (info-xref): New custom group.
3748 (info-xref-case-fold): New option.
3749 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3750
e01aa29c
LL
37512013-07-03 Leo Liu <sdl.web@gmail.com>
3752
3753 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3754
3086ca2e
DG
37552013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3756
3757 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3758 middle of block statement initially, lower the depth. Remove
3759 FIXME comment, not longer valid. Remove middle of block statement
3760 detection, no need to do that anymore since we've been using
3761 `ruby-parse-region' here.
3762
a3b49114
JD
37632013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3764
3765 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3766
08e5c823 37672013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
3768
3769 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3770
2addf922
JB
37712013-07-01 Juanma Barranquero <lekktu@gmail.com>
3772
3773 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3774 (desktop-restore-in-current-display): New customization option.
3775 (desktop--excluded-frame-parameters): Add `font'.
3776 (desktop--save-frames): Rename from desktop--save-windows.
3777 (desktop--restore-in-this-display-p): New function.
3778 (desktop--make-full-frame): Remove unwanted width/height from
3779 full(width|height) frames.
3780 (desktop--restore-frames): Rename from desktop--restore-windows.
3781 Obey desktop-restore-current-display. Do not delete old frames or
3782 select a new frame unless we were able to restore at least one frame.
3783
ef099a94
MN
37842013-06-30 Michal Nazarewicz <mina86@mina86.com>
3785
3786 * files.el (find-file-noselect): Simplify conditional expression.
3787
3788 * remember.el (remember-append-to-file):
3789 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3790
3791 Add `remember-notes' function to store random notes across Emacs
3792 restarts.
3793 * remember.el (remember-data-file): Add :set callback to affect
3794 notes buffer (if any).
3795 (remember-notes): New command.
3796 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3797 New defcustoms for the `remember-notes' function.
3798 (remember-notes-save-and-bury-buffer): New command.
3799 (remember-notes-mode-map): New variable.
3800 (remember-mode): New minor mode.
3801 (remember-notes--kill-buffer-query): New function.
3802 * startup.el (initial-buffer-choice): Add notes to custom type.
3803
0865d506
EZ
38042013-06-30 Eli Zaretskii <eliz@gnu.org>
3805
0ba54312
EZ
3806 * bindings.el (right-char, left-char): Don't call sit-for, this is
3807 no longer needed. Use arithmetic comparison only for numerical
3808 arguments.
3809
ef099a94
MN
3810 * international/mule-cmds.el (select-safe-coding-system):
3811 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 3812
2fae38e5
LMI
38132013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3814
3815 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3816 progression on degenerate tables.
ef099a94 3817 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 3818
a47cbd64
JB
38192013-06-30 Juanma Barranquero <lekktu@gmail.com>
3820
3821 Some fixes and improvements for desktop frame restoration.
3822 It is still experimental and disabled by default.
3823 * desktop.el (desktop--save-windows): Put the selected frame at
3824 the head of the list.
3825 (desktop--make-full-frame): New function.
3826 (desktop--restore-windows): Try to re-select the frame that was
3827 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
3828 just show an error message and continue. Set up maximized frames
3829 so they have default non-maximized dimensions.
a47cbd64 3830
6dbafa30
DG
38312013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3832
ef099a94
MN
3833 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3834 Don't start heredoc inside a string or comment.
6dbafa30 3835
4c672a0f
EZ
38362013-06-29 Eli Zaretskii <eliz@gnu.org>
3837
3838 * bindings.el (visual-order-cursor-movement): New defcustom.
3839 (right-char, left-char): Provide visual-order cursor motion by
3840 calling move-point-visually. Update the doc strings.
3841
50960f36
KH
38422013-06-28 Kenichi Handa <handa@gnu.org>
3843
3844 * international/mule.el (define-coding-system): New coding system
3845 properties :inhibit-null-byte-detection,
3846 :inhibit-iso-escape-detection, and :prefer-utf-8.
3847 (set-buffer-file-coding-system): If :charset-list property of
3848 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3849 appropriate for setting.
3850
c1ea3abf
JB
3851 * international/mule-cmds.el (select-safe-coding-system):
3852 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3853 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
3854
3855 * international/mule-conf.el (prefer-utf-8): New coding system.
3856 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3857 files.
3858
75dbaf9d
IK
38592013-06-28 Ivan Kanis <ivan@kanis.fr>
3860
eadb6068
IK
3861 * net/shr.el (shr-render-region): New function.
3862
75dbaf9d
IK
3863 * net/eww.el: Autoload `eww-browse-url'.
3864
9ea5cf9f
DG
38652013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3866
c1ea3abf
JB
3867 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3868 Adapt to `package-desc-version' being a list.
3869 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
3870 archive element.
3871
39c0e36f
JB
38722013-06-27 Juanma Barranquero <lekktu@gmail.com>
3873
3874 New experimental feature to save&restore window and frame setup.
3875 * desktop.el (desktop-save-windows): New defcustom.
3876 (desktop--saved-states): New var.
3877 (desktop--excluded-frame-parameters): New defconst.
3878 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3879 (desktop--restore-windows, desktop--save-windows): New functions.
3880 (desktop-save): Call `desktop--save-windows'.
3881 (desktop-read): Call `desktop--restore-windows'.
3882
7f13406b
LMI
38832013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3884
ef099a94 3885 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 3886
1e072639
SB
38872013-06-27 Stephen Berman <stephen.berman@gmx.net>
3888
3889 * info.el (Info-try-follow-nearest-node): Move search for footnote
3890 above search for node name to prevent missing a footnote (bug#14717).
3891
f3e2cbde
SB
38922013-06-27 Stephen Berman <stephen.berman@gmx.net>
3893
3894 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3895
99906aa0
LL
38962013-06-27 Leo Liu <sdl.web@gmail.com>
3897
3898 * net/eww.el (eww-read-bookmarks): Check file size.
3899
539f75f4
SM
39002013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3901
3902 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3903 advice--pending if newdef is nil or an autoload (bug#13820).
3904 (advice-mapc): New function.
3905
843571cb
LMI
39062013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3907
3908 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3909 probably.
23a75d7f 3910 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
3911 (eww-add-bookmark): New command.
3912 (eww-bookmark-mode): New mode and commands.
a285ce99 3913 (eww-add-bookmark): Remove newlines from the title.
47fd571b 3914 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 3915
f2136e1e
GM
39162013-06-26 Glenn Morris <rgm@gnu.org>
3917
eab35f39
GM
3918 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3919 (hfy-size): Handle ttys. (Bug#14668)
3920
f2136e1e
GM
3921 * info-xref.el: Update for Texinfo 5 change in *note format.
3922 (info-xref-node-re, info-xref-note-re): New constants.
3923 (info-xref-check-buffer): Use info-xref-note-re.
3924
a49ff80c
SM
39252013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3926
a343d218
SM
3927 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3928
a49ff80c
SM
3929 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3930 nil terminate the loop (bug#14718).
3931
8308f184
LMI
39322013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3933
3934 * net/eww.el: Rework history traversal. When going forward/back,
3935 put these actions into the history, too, so that they can be
3936 replayed.
26bf2b82 3937 (eww-render): Move the history reset to the correct buffer.
8308f184 3938
ec64c273
JL
39392013-06-25 Juri Linkov <juri@jurta.org>
3940
3941 * files-x.el (modify-dir-local-variable): Change the header comment
3942 in the file with directory local variables. (Bug#14692)
3943
e080a9d7
JL
3944 * files-x.el (read-file-local-variable-value): Add `default'.
3945 (Bug#14710)
3946
bfbc93a1
IK
39472013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3948
3949 * net/eww.el (eww-make-unique-file-name): Create a unique file
3950 name before saving to entering `y' accidentally asynchronously.
3951
39522013-06-25 Ivan Kanis <ivan@kanis.fr>
3953
3954 * net/eww.el (eww-download): New command and keystroke.
3955
16f74f10
LMI
39562013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3957
a49ff80c 3958 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
3959
3960 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3961 be more consistent with Info and dired.
3962
3963 * net/eww.el (eww-mode-map): Ditto.
3964
12059709
SM
39652013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3966
3967 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
3968 packages from archives.
3969 (package-archive-contents): Change format; include obsolete packages.
3970 (package-desc): Use `dir' to mark builtin packages.
3971 (package--from-builtin): Set the `dir' field to `builtin'.
3972 (generated-autoload-file, version-control): Declare.
3973 (package-compute-transaction): Change first arg and return value to be
3974 lists of package-descs. Adjust to new package-archive-contents format.
3975 (package--add-to-archive-contents): Adjust to new
3976 package-archive-contents format.
3977 (package-download-transaction): Arg is now a list of package-descs.
3978 (package-install): If `pkg' is a package name, pass it as
3979 a requirement, so it is subject to the usual (e.g. disabled) checks.
3980 (describe-package): Accept package-desc as well.
3981 (describe-package-1): Describe a specific package-desc. Add links to
3982 other package-descs for the same package name.
3983 (package-menu-describe-package): Pass the actual package-desc.
3984 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3985 works correctly.
3986 (package-desc-status): New function.
3987 (package-menu--refresh): New function, extracted
3988 from package-menu--generate.
3989 (package-menu--generate): Use it.
3990 (package-delete): Update package-alist.
3991 (package-menu-execute): Don't call package-initialize.
3992
3993 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3994 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3995 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3996 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3997 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3998 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3999
8bbdea0f
MR
40002013-06-25 Martin Rudalics <rudalics@gmx.at>
4001
4002 * window.el (window--state-get-1): Workaround for bug#14527.
4003 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4004
e82b0991
LMI
40052013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4006
4007 * net/eww.el (eww-back-url): Implement the history by stashing all
4008 the data into a list.
d3f0f918 4009 (eww-forward-url): Allow going forward in the history, too.
e82b0991 4010
c763842b
SM
40112013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4012
4013 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4014 for values and use read--expression for expressions (bug#14710).
4015 (read-file-local-variable): Avoid setq.
4016 (read-file-local-variable-mode): Use minor-mode-list.
4017
bceff189
RW
40182013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4019
864c58ca 4020 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
4021 for DOI URLs.
4022
45f431c6
RW
40232013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4024
864c58ca 4025 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
4026 Update imenu-support when dialect changes.
4027
f42d8237
LL
40282013-06-25 Leo Liu <sdl.web@gmail.com>
4029
4030 * ido.el (ido-read-internal): Allow forward slash on windows.
4031
be549ce6
LMI
40322013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4033
4034 * net/eww.el (eww): Start of strings is \\`, not ^.
4035
71d4c19d
IK
40362013-06-24 Ivan Kanis <ivan@kanis.fr>
4037
5196f88a
IK
4038 * net/shr.el (shr-browse-url): Fix interactive spec.
4039
71d4c19d
IK
4040 * net/eww.el (eww): Add a trailing slash to domain names.
4041
ae36ca55
JB
40422013-06-24 Juanma Barranquero <lekktu@gmail.com>
4043
4044 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4045
0ebd92a3
LMI
40462013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4047
bdaa086b
LMI
4048 * net/shr.el (shr-browse-url): Use an external browser if given a
4049 prefix.
4050
c763842b 4051 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 4052
b89fc156
IK
40532013-06-24 Ivan Kanis <ivan@kanis.fr>
4054
4055 * net/eww.el (eww): Work more correctly for file: URLs.
4056 (eww-detect-charset): Allow quoted charsets.
4057 (eww-yank-page-url): New command and keystroke.
4058
18eb4bca
DU
40592013-06-24 Daiki Ueno <ueno@gnu.org>
4060
4061 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4062 file name of gpg executable.
4063 (epg-context-program): New function.
4064 (epg-context-home-directory): New function.
4065 (epg-context-set-program): New function.
4066 (epg-context-set-home-directory): New function.
4067 (epg--start): Use `epg-context-program' instead of
4068 'epg-gpg-program'.
4069 (epg--list-keys-1): Likewise.
4070
6c6268c8
LL
40712013-06-24 Leo Liu <sdl.web@gmail.com>
4072
4073 * ido.el (ido-read-internal): Fix bug#14620.
4074
5e400cb3
JB
40752013-06-23 Juanma Barranquero <lekktu@gmail.com>
4076
4077 * faces.el (face-documentation): Simplify.
4078 (read-face-attribute, tty-find-type, x-resolve-font-name):
4079 Use `string-match-p'.
4080 (list-faces-display): Use `string-match-p'. Simplify.
4081 (face-spec-recalc): Check face to avoid face alias loops.
4082 (read-color): Use `string-match-p' and non-capturing parenthesis.
4083
f3f9606c
LMI
40842013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4085
4086 * net/shr.el (shr-rescale-image): Use the new
4087 :max-width/:max-height functionality.
4088
a3ca09b9
IK
40892013-06-23 Ivan Kanis <ivan@kanis.fr>
4090
4091 * net/eww.el (eww-search-prefix): New variable.
4092 (eww): Use it.
f865b474
IK
4093 (eww-external-browser): New variable.
4094 (eww-mode-map): New keystroke.
4095 (eww-browse-with-external-browser): New command.
a3ca09b9 4096
e854cfc7
IK
4097 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4098
18bb9e21
JB
40992013-06-23 Juanma Barranquero <lekktu@gmail.com>
4100
4101 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4102 Don't skip aligning the next header field when padding is 0;
4103 otherwise, field width is not respected unless the title is as
4104 wide as the field.
4105
5b165ade
SM
41062013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4107
4108 * emacs-lisp/package.el (package-el-version): Remove.
4109 (package-process-define-package): Fix inf-loop.
4110 (package-install): Allow symbols as arguments again.
4111
12adebe9
DG
41122013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4113
4114 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4115 add some more keyword-like methods.
4116 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4117
388573ee
JB
41182013-06-22 Juanma Barranquero <lekktu@gmail.com>
4119
4120 * bs.el (bs-buffer-show-mark): Make defvar-local.
4121 (bs-mode): Use setq-local.
4122
4123 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4124 (emacs-lock--try-unlocking): Make defvar-local.
4125
4582a01c 41262013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 4127
2663dd23
GM
4128 * play/cookie1.el (cookie-apropos): Minor simplification.
4129
3d94f3ad
GM
4130 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4131
f72e2fdb
DG
41322013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4133
4134 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4135 `regexp-opt', it breaks the build during dumping.
4136
73eab938
DG
41372013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4138
c763842b
SM
4139 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4140 Highlight keyword-like methods on Kernel and Module with
73eab938 4141 font-lock-builtin-face.
5cf8176d
DG
4142 (auto-mode-alist): Consolidate different entries into one regexp
4143 and add more *file-s.
73eab938 4144
d26255f6
SB
41452013-06-21 Stephen Berman <stephen.berman@gmx.net>
4146
4147 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4148
4149 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4150 (diary-entry): Use it in the action of this button type instead of
4151 diary-goto-entry.
4152
4153 * calendar/todo-mode.el: New version.
4154 (todo-add-category): Append new category to end of file and give
4155 it the highest number, instead of putting it at the beginning and
4156 giving it 0. Incorporate noninteractive functionality.
4157 (todo-forward-category): Adapt to 1-based category numbering.
4158 Allow skipping over archived categories.
4159 (todo-backward-category): Derive from todo-forward-category.
4160 (todo-backward-item, todo-forward-item): Make noninteractive and
4161 delegate interactive part to new commands. Make sensitive to done items.
4162 (todo-categories): Make value an alist of category names and
4163 vectors of item counts.
4164 (todo-category-beg): Make a defconst.
4165 (todo-category-number): Use 1 instead of 0 as initial value.
4166 (todo-category-select): Make sensitive to overlays, optional item
4167 highlighting and done items.
4168 (todo-delete-item): Make sensitive to overlays and marked and done items.
4169 (todo-edit-item): Make sensitive to overlays and editing of
4170 date/time header optional. Add format checks.
4171 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4172 no-op if point is not on an item. Advertise using todo-edit-quit.
4173 (todo-edit-mode): Make sensitive to new format, font-locking, and
4174 multiple todo files.
4175 (todo-insert-item, todo-insert-item-here): Derive from
4176 todo-basic-insert-item and extend functionality.
4177 (todo-item-end, todo-item-start): Make sensitive to done items.
4178 (todo-item-string): Don't return text properties. Restore point.
4179 (todo-jump-to-category): Make sensitive to multiple todo files and
4180 todo archives. Use extended category completion.
4181 (todo-lower-item, todo-raise-item): Rename to *-priority and
4182 derive from todo-set-item-priority.
4183 (todo-mode): Derive from special-mode. Make sensitive to new
4184 format, font-locking and multiple todo files. Make read-only.
4185 (todo-mode-map): Don't suppress digit keys, so they can supply
4186 prefix arguments. Add many new key bindings.
4187 (todo-prefix): Insert as an overlay instead of file text.
4188 Change semantics from diary date expression to purely visual mark.
4189 (todo-print): Rename to todo-print-buffer. Make buffer display
4190 features printable. Remove option to restrict number of items
4191 printed. Add option to print to file.
4192 (todo-print-function): Rename to todo-print-buffer-function.
4193 (todo-quit): Extend to handle exiting new todo modes.
4194 (todo-remove-item): Make sensitive to overlays.
4195 (todo-save): Extend to buffers of filtered items.
4196 (todo-show): Make sensitive to done items, multiple todo files and
4197 new todo modes. Offer to convert legacy todo file before creating
4198 first new todo file.
4199 (todo-show-priorities): Rename to todo-top-priorities.
4200 Change semantics of value 0.
4201 (todo-top-priorities): Rename to todo-filter-top-priorities,
4202 derive from todo-filter-items and extend functionality.
4203 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4204 and extend functionality to other types of filtered items.
4205 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4206 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4207 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4208 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4209 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4210 (todo-edit-mode-hook, todo-entry-prefix-function)
4211 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4212 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4213 (todo-initials, todo-insert-threshold, todo-item-string-start)
4214 (todo-line-string, todo-menu, todo-mode-hook)
4215 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4216 (todo-print-priorities, todo-remove-separator)
4217 (todo-save-top-priorities-too, todo-string-count-lines)
4218 (todo-string-multiline-p, todo-time-string-format)
4219 (todo-tmp-buffer-name): Remove.
4220 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4221 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4222 (todo-edit-category-diary-inclusion)
4223 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4224 (todo-edit-file, todo-edit-item-date-day)
4225 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4226 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4227 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4228 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4229 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4230 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4231 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4232 (todo-filter-top-priorities-multifile, todo-find-archive)
4233 (todo-find-filtered-items-file, todo-go-to-source-item)
4234 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4235 (todo-jump-to-archive-category, todo-lower-category)
4236 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4237 (todo-move-category, todo-move-item, todo-next-button)
4238 (todo-next-item, todo-padded-string, todo-powerset)
4239 (todo-previous-button, todo-previous-item)
4240 (todo-print-buffer-to-file, todo-raise-category)
4241 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4242 (todo-set-category-number, todo-set-item-priority)
4243 (todo-set-top-priorities-in-category)
4244 (todo-set-top-priorities-in-file, todo-show-categories-table)
4245 (todo-sort-categories-alphabetically-or-numerically)
4246 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4247 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4248 (todo-toggle-item-header, todo-toggle-item-highlighting)
4249 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4250 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4251 (todo-unarchive-items, todo-unmark-category): New commands.
4252 (todo-absolute-file-name, todo-add-to-buffer-list)
4253 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4254 (todo-basic-insert-item, todo-category-completions)
4255 (todo-category-number, todo-category-string-matcher-1)
4256 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4257 (todo-check-format, todo-clear-matches)
4258 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4259 (todo-current-category, todo-date-string-matcher)
4260 (todo-define-insertion-command, todo-diary-expired-matcher)
4261 (todo-diary-goto-entry, todo-diary-item-p)
4262 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4263 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4264 (todo-done-item-section-p, todo-done-separator)
4265 (todo-done-string-matcher, todo-files, todo-filter-items)
4266 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4267 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4268 (todo-insert-category-line, todo-insert-item-from-calendar)
4269 (todo-insert-sort-button, todo-insert-with-overlays)
4270 (todo-insertion-command-name, todo-insertion-key-bindings)
4271 (todo-label-to-key, todo-longest-category-name-length)
4272 (todo-make-categories-list, todo-mode-external-set)
4273 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4274 (todo-modes-set-3, todo-multiple-filter-files)
4275 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4276 (todo-read-category, todo-read-date, todo-read-dayname)
4277 (todo-read-file-name, todo-read-time)
4278 (todo-reevaluate-category-completions-files-defcustom)
4279 (todo-reevaluate-default-file-defcustom)
4280 (todo-reevaluate-filelist-defcustoms)
4281 (todo-reevaluate-filter-files-defcustom)
4282 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4283 (todo-reset-done-separator, todo-reset-done-separator-string)
4284 (todo-reset-done-string, todo-reset-global-current-todo-file)
4285 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4286 (todo-reset-prefix, todo-set-categories)
4287 (todo-set-date-from-calendar, todo-set-show-current-file)
4288 (todo-set-top-priorities, todo-short-file-name)
4289 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4290 (todo-total-item-counts, todo-update-buffer-list)
4291 (todo-update-categories-display, todo-update-categories-sexp)
4292 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4293 New functions.
4294 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4295 New major modes.
4296 (todo-categories, todo-display, todo-edit, todo-faces)
4297 (todo-filtered): New defgroups.
4298 (todo-archived-only, todo-button, todo-category-string, todo-date)
4299 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4300 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4301 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4302 (todo-add-item-if-new-category, todo-always-add-time-string)
4303 (todo-categories-align, todo-categories-archived-label)
4304 (todo-categories-category-label, todo-categories-diary-label)
4305 (todo-categories-done-label, todo-categories-number-separator)
4306 (todo-categories-todo-label, todo-categories-totals-label)
4307 (todo-category-completions-files, todo-completion-ignore-case)
4308 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4309 (todo-done-separator-string, todo-done-string)
4310 (todo-files-function, todo-filter-done-items, todo-filter-files)
4311 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4312 (todo-initial-category, todo-initial-file, todo-item-mark)
4313 (todo-legacy-date-time-regexp, todo-mode-line-function)
4314 (todo-nondiary-marker, todo-number-prefix)
4315 (todo-print-buffer-function, todo-show-current-file)
4316 (todo-show-done-only, todo-show-first, todo-show-with-done)
4317 (todo-skip-archived-categories, todo-top-priorities-overrides)
4318 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4319 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4320 New defcustoms.
4321 (todo-category-done, todo-date-pattern, todo-date-string-start)
4322 (todo-diary-items-buffer, todo-done-string-start)
4323 (todo-filtered-items-buffer, todo-item-start)
4324 (todo-month-abbrev-array, todo-month-name-array)
4325 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4326 (todo-top-priorities-buffer): New defconsts.
4327 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4328 (todo-categories-with-marks, todo-category-string-face)
4329 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4330 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4331 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4332 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4333 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4334 (todo-font-lock-keywords, todo-global-current-todo-file)
4335 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4336 (todo-insertion-commands-args)
4337 (todo-insertion-commands-args-genlist)
4338 (todo-insertion-commands-names, todo-insertion-map)
4339 (todo-key-bindings-t, todo-key-bindings-t+a)
4340 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4341 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4342 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4343 (todo-visited): New variables.
4344
cad5d1cb
GM
43452013-06-21 Glenn Morris <rgm@gnu.org>
4346
4347 * play/cookie1.el (cookie-apropos): Add optional display argument.
4348 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4349 (psychoanalyze-pinhead): Use cookie-doctor.
4350
9e277302
JB
43512013-06-21 Juanma Barranquero <lekktu@gmail.com>
4352
4353 * emacs-lisp/package.el (tar-get-file-descriptor)
4354 (tar--extract): Declare.
4355
c5b0993e
EW
43562013-06-21 Eduard Wiebe <usenet@pusto.de>
4357
4358 Extend flymake's warning predicate to be a function (bug#14217).
4359 * progmodes/flymake.el (flymake-warning-predicate): New.
4360 (flymake-parse-line): Use it.
4361 (flymake-warning-re): Make obsolete alias to
4362 `flymake-warning-predicate'.
4363
a7d2d465
SM
43642013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4365
4366 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4367 (package-obsolete-list): Remove.
4368 (package-activate): Remove min-version argument. Add `force' argument.
4369 Adjust to new package-alist format.
4370 (package-mark-obsolete): Remove.
4371 (package-unpack): Force reload of the package's autoloads.
4372 (package-installed-p): Check builtins if the installed package is not
4373 recent enough.
4374 (package-initialize): Don't reset package-obsolete-list.
4375 Don't specify which package version to activate.
4376 (package-process-define-package, describe-package-1)
4377 (package-menu--generate): Adjust to new package-alist format.
4378
cedf5c9d
JB
43792013-06-21 Juanma Barranquero <lekktu@gmail.com>
4380
4381 * allout-widgets.el (allout-widgets-mode-off)
4382 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4383 (allout-widgets-post-command-business)
4384 (allout-widgets-after-copy-or-kill-function)
4385 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4386 (allout-decorate-item-and-context)
4387 (allout-graphics-modification-handler): Fix typos in docstrings.
4388 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4389
4390 * cmuscheme.el (scheme-start-file): Doc fix.
4391 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4392 (scheme-input-filter): Use `string-match-p'.
4393
4394 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4395
4396 * dired-x.el: Use Dired consistently in docstrings.
4397
4398 * dired.el: Use Dired consistently in docstrings.
4399 (dired-readin, dired-mode): Use `setq-local'.
4400 (dired-switches-alist): Make defvar-local.
4401 (dired-buffers-for-dir): Use `zerop'.
4402 (dired-safe-switches-p, dired-switches-escape-p)
4403 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4404 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4405 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4406 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4407 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4408 (dired-toggle-marks, dired-mark-files-containing-regexp)
4409 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4410 (dired-flag-auto-save-files, dired-flag-backup-files):
4411 Use `looking-at-p'.
4412 (dired-mark-files-regexp, dired-build-subdir-alist):
4413 Use `string-match-p', `looking-at-p'.
4414
4415 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4416 (direct-print-region-helper): Use `string-match-p'.
4417
aed838b5
LL
44182013-06-21 Leo Liu <sdl.web@gmail.com>
4419
cedf5c9d
JB
4420 * comint.el (comint-redirect-results-list-from-process):
4421 Fix infinite loop.
aed838b5 4422
d80a808f
LMI
44232013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4424
4425 * net/eww.el (eww-update-header-line-format): Quote % characters.
4426
e7a526e3
GM
44272013-06-21 Glenn Morris <rgm@gnu.org>
4428
4429 * play/cookie1.el (cookie): New custom group.
4430 (cookie-file): New option.
4431 (cookie-check-file): New function.
4432 (cookie): Make it interactive. Make start and end messages optional.
4433 Interactively, display the result. Default to cookie-file.
4434 (cookie-insert): Default to cookie-file.
4435 (cookie-snarf): Make start and end messages optional.
4436 Default to cookie-file. Use with-temp-buffer.
4437 (cookie-read): Rename from read-cookie.
4438 Make start and end messages optional. Default to cookie-file.
4439 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 4440 Do not autoload it.
e7a526e3
GM
4441 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4442 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4443
62efb35e
LL
44442013-06-21 Leo Liu <sdl.web@gmail.com>
4445
4446 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4447
21e3f963
GM
44482013-06-21 Glenn Morris <rgm@gnu.org>
4449
4450 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4451
fd846ab4
SM
44522013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4453 Daniel Hackney <dan@haxney.org>
4454
4455 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4456 Consolidate the single-file vs tarball code.
4457 (package-desc-suffix): New function.
4458 (package-desc-full-name): Don't bother inlining it.
4459 (package-load-descriptor): Return the new package-desc.
4460 (package-mark-obsolete): Remove unused arg `package'.
4461 (package-unpack): Make it work for single files as well.
4462 Make it update package-alist.
4463 (package--make-autoloads-and-stuff): Rename from
4464 package--make-autoloads-and-compile. Don't compile any more.
4465 (package--compile): New function.
4466 (package-generate-description-file): New function, extracted from
4467 package-unpack-single.
4468 (package-unpack-single): Remove.
4469 (package--with-work-buffer): Add indentation and debugging info.
4470 (package-download-single): Remove.
4471 (package-install-from-archive): Rename from package-download-tar, make
4472 it take a pkg-desc, and make it work for single files as well.
4473 (package-download-transaction): Simplify.
4474 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4475 external tar program.
4476 (package-install-from-buffer): Remove `pkg-desc' argument.
4477 Use package-tar-file-info for tar-mode buffers.
4478 (package-install-file): Simplify accordingly.
4479 (package-archive-base): Change to take a pkg-desc.
4480 * tar-mode.el (tar--check-descriptor): New function, extracted from
4481 tar-get-descriptor.
4482 (tar-get-descriptor): Use it.
4483 (tar-get-file-descriptor): New function.
4484 (tar--extract): New function, extracted from tar-extract.
4485 (tar--extract): Use it.
4486 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4487 case the summary uses non-ascii. Adjust to new calling convention of
4488 package-tar-file-info.
4489
b7deae5e
LL
44902013-06-21 Leo Liu <sdl.web@gmail.com>
4491
fd846ab4
SM
4492 * comint.el (comint-redirect-results-list-from-process):
4493 Fix random delay. (Bug#14681)
b7deae5e 4494
7a65a0b2
JB
44952013-06-21 Juanma Barranquero <lekktu@gmail.com>
4496
4497 * profiler.el (profiler-format-number): Use log, not log10.
4498
1493c2af
JB
44992013-06-20 Juanma Barranquero <lekktu@gmail.com>
4500
4501 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
4502
aff6371e
SM
45032013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
4506 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
4507 yet available.
4508 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
4509 (AUTOGENEL): ... here.
4510 * emacs-lisp/cl-macs.el (cl--sublis): New function.
4511 (cl--defsubst-expand): Use it.
4512
89561f72
PE
45132013-06-20 Paul Eggert <eggert@cs.ucla.edu>
4514
4515 * subr.el (log10): Move here from C code, and declare as obsolete.
4516 All uses of (log10 X) replaced with (log X 10).
4517
47199123
JB
45182013-06-20 Juanma Barranquero <lekktu@gmail.com>
4519
4520 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
4521 Declare with `defvar-local'.
4522 (tabulated-list-use-header-line, tabulated-list-entries)
4523 (tabulated-list-padding, tabulated-list-printer)
4524 (tabulated-list-sort-key): Declare with `defvar-local'.
4525 (tabulated-list-init-header, tabulated-list-print-fake-header):
4526 Use `setq-local'.
4527
4a172eab
MA
45282013-06-20 Michael Albinus <michael.albinus@gmx.de>
4529
47199123
JB
4530 * arc-mode.el (archive-mode): Add `archive-write-file' to
4531 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 4532
5fc0acc0
JB
45332013-06-20 Juanma Barranquero <lekktu@gmail.com>
4534
d5b27848
JB
4535 * cus-edit.el (custom-commands): Fix typos.
4536 (custom-display): Fix tooltip text.
4537 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
4538 Fix typos in docstrings.
4539 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
4540 (custom-unlispify-menu-entry, custom-magic-value-create)
4541 (custom-add-see-also, custom-group-value-create): Use ?\s.
4542 (custom-guess-type, customize-apropos, editable-field)
4543 (custom-face-value-create): Use `string-match-p'.
4544 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
4545
4546 * custom.el (custom-load-symbol): Use `string-match-p'.
4547
a5c581d8
JB
4548 * ansi-color.el: Convert to lexical binding.
4549 (ansi-colors): Fix URL.
4550 (ansi-color-context, ansi-color-context-region): Use defvar-local.
4551 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
4552 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
4553
970ad972
G
45542013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4555
4556 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
4557
4558 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
4559
45602013-06-19 Tom Tromey <tromey@redhat.com>
4561
4562 * net/eww.el (eww-top-url): Remove.
4563 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
4564 (eww-render): Set new variables. Don't set eww-top-url.
4565 (eww-handle-link): Handle "prev", "home", and "contents".
4566 Downcase the rel text.
4567 (eww-top-url): Choose best top URL.
4568
45692013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4570
4571 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4572 relying in widget.el. Using widget.el leads to too many
4573 user interface inconsistencies.
4574 (eww-self-insert): Implement entering commands in text fields.
4575 (eww-process-text-input): New function to make text input field editing
4576 work.
4577 (eww-submit): Rewrite to use the new-style form methods.
4578 (eww-select-display): Display the correct selected item.
4579 (eww-change-select): Implement changing the select value.
4580 (eww-toggle-checkbox): Implement radio/checkboxes.
4581 (eww-update-field): Fix compilation error.
4582 (eww-tag-textarea): Implement <textarea>.
4583
4584 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4585 we don't shadow mode-specific bindings.
4586
4587 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4588 nothing to push.
4589
4590 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4591
4582a01c 45922013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
4593
4594 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4595
15b263dc
MA
45962013-06-19 Michael Albinus <michael.albinus@gmx.de>
4597
4598 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4599 not needed.
4600
4601 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4602
8f5297f7
LMI
46032013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4604
4605 * net/browse-url.el (browse-url-browser-function):
4606 `eww-browse-url' has the right calling signature, `eww' does not.
4607
011c4552
GM
46082013-06-19 Glenn Morris <rgm@gnu.org>
4609
2285bd27
GM
4610 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4611 Only eval autoloaded macros.
4612 (byte-compile-autoload): Only give the macro warning for macros.
4613
1d653303
GM
4614 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4615 (ps-underlined-faces): Declare.
4616
bdd779ec
GM
4617 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4618 (speedbar-add-supported-extension): Declare.
4619
011c4552
GM
4620 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4621 Don't include a date stamp in the header of the generated file;
4622 it leads to needless differences between output files.
4623
e59dfb0e
MA
46242013-06-19 Michael Albinus <michael.albinus@gmx.de>
4625
c763842b
SM
4626 * net/secrets.el (secrets-struct-secret-content-type):
4627 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 4628 Some servers do not offer introspection.
e59dfb0e 4629
102626e2
SM
46302013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4631
4632 * electric.el (electric-pair-mode): Improve interaction with
4633 electric-layout-mode.
4634 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4635 (electric-pair-syntax): Use text-mode-syntax-table in comments
4636 and strings.
4637 (electric-pair--insert): New function.
4638 (electric-pair-post-self-insert-function): Use it and
4639 electric--after-char-pos.
4640
ad528125
LL
46412013-06-19 Leo Liu <sdl.web@gmail.com>
4642
4643 * progmodes/octave.el (octave-help): Fix regexp.
4644
924d6997
G
46452013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4646
4647 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4648 (shr-table-horizontal-line): Allow nil as a value, and change the
4649 default.
4650 (shr-insert-table-ruler): Respect the nil value.
4651
46522013-06-18 Tom Tromey <tromey@barimba>
4653
4654 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4655 New defvars.
4656 (eww-open-file): New defun.
4657 (eww-render): Initialize new variables.
4658 (eww-display-html): Handle "link" and "a".
4659 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4660 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4661 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
4662 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4663 New defuns.
924d6997 4664
d1bbba4f
DG
46652013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4666
4667 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4668 Distinguish ternary operator tokens from slash symbol and slash
4669 char literal.
4670
14dd22d2
JB
46712013-06-18 Juanma Barranquero <lekktu@gmail.com>
4672
4673 Convert symbol prettification into minor mode and global minor mode.
4674
4675 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4676 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4677 (prettify-symbols--keywords): Rename from
4678 `prog-prettify-symbols-alist' and make a local defvar.
4679 (prettify-symbols--compose-symbol): Rename from
4680 `prog--prettify-font-lock-compose-symbol'.
4681 (prettify-symbols--make-keywords): Rename from
4682 `prog-prettify-font-lock-symbols-keywords' and simplify.
4683 (prog-prettify-install): Remove.
4684 (prettify-symbols-mode): New minor mode, based on
4685 `prog-prettify-install'.
4686 (turn-on-prettify-symbols-mode): New function.
4687 (global-prettify-symbols-mode): New globalized minor mode.
4688
4689 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4690 * progmodes/cfengine.el (cfengine3-mode):
4691 * progmodes/perl-mode.el (perl-mode): Don't call
4692 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4693
292c880c
JL
46942013-06-18 Juri Linkov <juri@jurta.org>
4695
4696 * files-x.el (modify-file-local-variable-message): New function.
4697 (modify-file-local-variable)
4698 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4699 and call `modify-file-local-variable-message' when it's non-nil.
4700 (add-file-local-variable, delete-file-local-variable)
4701 (add-file-local-variable-prop-line)
4702 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4703 and use it. (Bug#9820)
4704
0950aa27
JL
47052013-06-18 Juri Linkov <juri@jurta.org>
4706
4707 * emulation/vi.el (vi-shell-op):
4708 * emulation/vip.el (vip-execute-com, ex-command):
4709 * emulation/viper-cmd.el (viper-exec-bang):
4710 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4711 the call of `shell-command-on-region'. (Bug#14637)
4712
4713 * simple.el (shell-command-on-region): Doc fix.
4714
8fbcca16
SM
47152013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4716
4717 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4718 (bug#14633).
4719
dd7426ea
GM
47202013-06-18 Glenn Morris <rgm@gnu.org>
4721
4ba54f7d
GM
4722 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4723
dd7426ea
GM
4724 * newcomment.el (comment-search-forward, comment-search-backward):
4725 Doc fix. (Bug#14376)
4726
58aa805b
JB
47272013-06-18 Juanma Barranquero <lekktu@gmail.com>
4728
4729 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4730 (buffer-face-mode-invoke): Doc fix.
4731
9a08a617
MM
47322013-06-18 Matthias Meulien <orontee@gmail.com>
4733
4734 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 4735 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 4736
f2f426ca
GM
47372013-06-18 Glenn Morris <rgm@gnu.org>
4738
9445f99b
GM
4739 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4740 Replace obsolete function generic-make-keywords with its expansion.
4741
e0df2d14
GM
4742 * progmodes/python.el (ffap-alist): Declare.
4743
f2f426ca
GM
4744 * textmodes/reftex.el (bibtex-mode-map): Declare.
4745
f7f9a720
SM
47462013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4749 (package-unpack, package-unpack-single): Return the pkg-dir.
4750 (package-download-transaction): Use it to update package-alist.
4751
57ff04e0
LMI
47522013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4753
4754 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4755 possible choice.
4756
c048c022
JL
47572013-06-17 Juri Linkov <juri@jurta.org>
4758
4759 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4760
b5bcaee5
DG
47612013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4762
a020afb9
JB
4763 * emacs-lisp/package.el (package-load-descriptor):
4764 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
4765 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4766
551e07e5
JB
47672013-06-17 Juanma Barranquero <lekktu@gmail.com>
4768
4769 * startup.el (command-line): Expand package name returned by
4770 `package--description-file' (bug#14639).
4771
d363bffb
DG
47722013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4773
4774 * emacs-lisp/package.el (package-load-descriptor): Do not call
4775 `emacs-lisp-mode', just use its syntax table.
4776
f612933b
JB
47772013-06-17 Juanma Barranquero <lekktu@gmail.com>
4778
4779 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4780 `font-lock-extra-managed-props' if any prettifying keyword is added.
4781 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4782 (prog-mode): Use `setq-local'.
4783
db3b7db5
SM
47842013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4785
4786 * international/characters.el (standard-case-table): Set syntax of ?»
4787 and ?« to punctuation.
4788
f3d674df
JB
47892013-06-16 Juanma Barranquero <lekktu@gmail.com>
4790
4791 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4792 Save relevant match data before calling `syntax-ppss' (bug#14595).
4793
31489a32
JL
47942013-06-15 Juri Linkov <juri@jurta.org>
4795
4796 * files-x.el (modify-file-local-variable-prop-line): Add local
4797 variables to the end of the existing comment on the first line.
4798 Use `file-auto-mode-skip' to skip interpreter magic line,
4799 and also skip XML declaration.
4800
66bd25ab
SM
48012013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4802
4803 * startup.el (package--builtin-versions): New var.
4804 (package-subdirectory-regexp): Remove.
4805 (package--description-file): Hard code its value instead.
4806
4807 * emacs-lisp/package.el: Don't activate packages older than builtin.
4808 (package-obsolete-list): Rename from package-obsolete-alist, and make
4809 it into a simple list of package-desc.
4810 (package-strip-version): Remove.
4811 (package-built-in-p): Use package--builtin-versions.
4812 (package-mark-obsolete): Simplify.
4813 (package-process-define-package): Mark it obsolete if older than the
4814 builtin version.
4815 (package-handle-response): Use line-end-position.
4816 (package-read-archive-contents, package--download-one-archive):
4817 Simplify.
4818 (package--add-to-archive-contents): Skip if older than the builtin or
4819 installed version.
4820 (package-menu-describe-package): Fix last change.
4821 (package-list-unversioned): New var.
4822 (package-menu--generate): Use it.
4823
4824 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4825 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4826 (autoload-builtin-package-versions): New variable.
4827 (autoload-generate-file-autoloads): Use them.
4828 Remove the list of autoloaded functions/macros from the
4829 (autoload...) comments.
4830
4831 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4832
9583ec36
EZ
48332013-06-15 Eli Zaretskii <eliz@gnu.org>
4834
4835 * simple.el (line-move-partial): Don't jump to the next screen
4836 line as soon as it becomes visible. Instead, continue enlarging
4837 the vscroll until the portion of a tall screen line that's left on
4838 display is about the height of the frame's default font.
4839 (Bug#14567)
4840
f0100d8a
GM
48412013-06-15 Glenn Morris <rgm@gnu.org>
4842
b86a85ca
GM
4843 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4844 compilation-error-regexp-alist void, or local while let-bound.
4845
f0100d8a
GM
4846 * progmodes/make-mode.el (makefile-mode-syntax-table):
4847 Treat "=" as punctuation. (Bug#14614)
4848
05e7ce90
JB
48492013-06-15 Juanma Barranquero <lekktu@gmail.com>
4850
4851 * help-fns.el (describe-variable):
4852 Add extra line for permanent-local variables.
4853
12e5e86e
SH
48542013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4855
4856 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4857 Add export, import, library. (Bug#9164)
4858 (library): Set indent function.
4859
230dcbaf
GM
48602013-06-14 Glenn Morris <rgm@gnu.org>
4861
4862 * term/xterm.el (xterm--query):
4863 Stop after first matching handler. (Bug#14615)
4864
e36b2d20 48652013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
4866
4867 Add support for dired in saveplace.
4868 * dired.el (dired-initial-position-hook): New variable.
4869 (dired-initial-position): Call hook to place cursor position.
4870 * saveplace.el (save-place-to-alist): Add dired position.
4871 (save-place-dired-hook): New function.
4872
0b31660d
SM
48732013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4874
bf1e6ae8
SM
4875 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4876 through a symbol rather than letrec.
4877
1b8dff23
SM
4878 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4879 (package-desc): Add `dir' field.
4880 (package-desc-full-name): New function.
4881 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4882 (package-maybe-load-descriptor): Remove.
4883 (package-load-all-descriptors): Just call package-load-descriptor.
4884 (package--disabled-p): New function.
4885 (package-desc-vers, package-desc-doc): Remove aliases.
4886 (package--dir): Remove function.
4887 (package-activate): Check if a package is disabled.
4888 (package-process-define-package): New function, extracted from
4889 define-package.
4890 (define-package): Turn into a place holder.
4891 (package-unpack-single, package-tar-file-info):
4892 Use package--description-file.
4893 (package-compute-transaction): Use package--disabled-p.
4894 (package-download-transaction): Don't call
4895 package-maybe-load-descriptor since they're all loaded anyway.
4896 (package-install): Change argument to be a pkg-desc.
4897 (package-delete): Use a single pkg-desc argument.
4898 (describe-package-1): Use package-desc-dir instead of package--dir.
4899 Use package-desc property instead of package-symbol.
4900 (package-install-button-action): Adjust accordingly.
4901 (package--push): Rewrite.
4902 (package-menu--print-info): Adjust accordingly. Change the ID format
4903 to be a pkg-desc.
4904 (package-menu-describe-package, package-menu-get-status)
4905 (package-menu--find-upgrades, package-menu-mark-upgrades)
4906 (package-menu-execute, package-menu--name-predicate):
4907 Adjust accordingly.
4908 * startup.el (package--description-file): New function.
4909 (command-line): Use it.
4910 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4911 Use package-desc-version.
4912
0b31660d
SM
4913 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4914 (byte-compile-preprocess): Use it.
4915 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4916 can't quite recognize.
4917 (byte-compile-add-to-list): Remove.
4918 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4919 (cconv-closure-convert): Add assertion.
4920
4921 * emacs-lisp/map-ynp.el: Use lexical-binding.
4922 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4923 Factor out some repeated code.
4924
de0503df
SM
49252013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 * subr.el (with-eval-after-load): New macro.
4928 (eval-after-load): Allow form to be a function.
4929 take advantage of lexical-binding.
4930 (do-after-load-evaluation): Use dolist and adjust to new format.
4931 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4932
bc5c8c5a
JL
49332013-06-13 Juri Linkov <juri@jurta.org>
4934
4935 * replace.el (perform-replace): Display "symbol " and other search
4936 modes from `isearch-message-prefix' in the *Help* buffer.
4937
4938 * isearch.el (isearch-query-replace): Add " symbol" and other
4939 possible search modes from `isearch-message-prefix' to the prompt.
4940 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4941 when reading a regexp to collect.
4942
a22289f7
JL
49432013-06-13 Juri Linkov <juri@jurta.org>
4944
4945 * isearch.el (word-search-regexp): Match whitespace if the search
4946 string begins or ends in whitespace. The LAX arg is applied to
4947 both ends of the search string. Use `regexp-quote' and explicit
4948 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4949 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4950 boundaries are replaced with symbol boundaries, and characters
4951 between symbols match non-word non-symbol syntax. (Bug#14602)
4952
cb89acab
JL
49532013-06-13 Juri Linkov <juri@jurta.org>
4954
4955 * isearch.el (isearch-del-char): Don't exceed the length of
4956 `isearch-string' by the prefix arg. (Bug#14563)
4957
6e8cfc81
JL
49582013-06-13 Juri Linkov <juri@jurta.org>
4959
4960 * isearch.el (isearch-yank-word, isearch-yank-line)
4961 (isearch-char-by-name, isearch-quote-char)
4962 (isearch-printing-char, isearch-process-search-char):
4963 Add optional count prefix arg. (Bug#14563)
4964
4965 * international/isearch-x.el
4966 (isearch-process-search-multibyte-characters):
4967 Add optional count prefix arg.
4968
c23d55f4
VS
49692013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4970
4971 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4972 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4973 lexical-binding.
4974
49752013-06-13 Vitalie Spinu <spinuvit@gmail.com>
4976
4977 * subr.el (set-temporary-overlay-map): Add on-exit argument.
4978
ba947bc4
GM
49792013-06-13 Glenn Morris <rgm@gnu.org>
4980
8baeb37a
GM
4981 * startup.el (tty-handle-args):
4982 Don't just discard "--" and anything after. (Bug#14608)
4983
ba947bc4
GM
4984 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4985
9abefce4
MA
49862013-06-13 Michael Albinus <michael.albinus@gmx.de>
4987
4988 Implement changes in Secret Service API. Make it backward compatible.
4989 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4990 (secrets-create-item): Use it. Prefix properties with interface.
4991
5755011f
MH
49922013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
4993
4994 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
4995 (term-emulate-terminal): Respect term-suppress-hard-newline.
4996
1261d2da
S
49972013-06-13 E Sabof <esabof@gmail.com> (tiny change)
4998
4999 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5000 Only remove a `thumb-file' overlay. (Bug#14548)
5001
868490bb
GJ
50022013-06-12 Grégoire Jadi <daimrod@gmail.com>
5003
5004 * mail/reporter.el (reporter-submit-bug-report):
5005 Handle missing package-name. (Bug#14600)
5006
79d7167f
TH
50072013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5008
5009 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5010 (reftex-citation-prompt, reftex-default-bibliography)
5011 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5012 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5013 (reftex-bib-sort-author, reftex-bib-sort-year)
5014 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5015 (reftex-extract-bib-entries-from-thebibliography)
5016 (reftex-get-bibkey-default, reftex-get-bib-names)
5017 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5018 (reftex-format-bib-entry, reftex-parse-bibitem)
5019 (reftex-format-bibitem, reftex-do-citation)
5020 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5021 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5022 (reftex-insert-bib-matches, reftex-format-citation)
5023 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5024 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5025 existing comments into docstrings.
5026
5f9dbd7a
XF
50272013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5028
5029 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5030
94df41ab
AS
50312013-06-12 Andreas Schwab <schwab@suse.de>
5032
5033 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5034 for auto-save files.
5035
a7f3fecc
GM
50362013-06-12 Glenn Morris <rgm@gnu.org>
5037
001809f6
GM
5038 * ido.el (ido-delete-ignored-files): Remove.
5039 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5040 Go back to calling ido-ignore-item-p directly.
a7f3fecc 5041
834b5ded
EL
50422013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5043
08c73ed2
EL
5044 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5045
834b5ded
EL
5046 * ido.el (ido-delete-ignored-files): New function,
5047 split from ido-make-file-list-1.
5048 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5049 (ido-make-file-list-1): Use ido-delete-ignored-files.
5050
daabf15a
LL
50512013-06-12 Leo Liu <sdl.web@gmail.com>
5052
5053 * progmodes/octave.el (inferior-octave-startup)
5054 (inferior-octave-completion-table)
5055 (inferior-octave-track-window-width-change)
5056 (octave-eldoc-function-signatures, octave-help)
5057 (octave-find-definition): Use single quoted strings.
5058 (inferior-octave-startup-args): Change default value.
5059 (inferior-octave-startup): Do not hard code "-i" and
5060 "--no-line-editing".
5061 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5062 (inferior-octave-directory-tracker): Use it.
5063 (octave-goto-function-definition): Robustify.
5064 (octave-help): Support highlighting operators in 'See also'.
5065 (octave-find-definition): Find subfunctions only in Octave mode.
5066
cf4e5178
SM
50672013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5068
5069 * help-fns.el (help-fns--compiler-macro): If the handler function is
5070 named, then put a link to it.
5071 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5072 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5073 (cl-typep): Use it.
5074 (cl-eval-when): Simplify debug spec.
5075 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5076 compiler-macro function instead of setting `compiler-macro-file'.
5077
99c81280 50782013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
5079
5080 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5081 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5082
f56be016
SM
50832013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5084 Daniel Hackney <dan@haxney.org>
5085
5086 First part of Daniel Hackney's patch to package.el.
5087 * emacs-lisp/package.el: Use defstruct.
5088 (package-desc): New, main struct.
5089 (package--bi-desc, package--ac-desc): New structs, used to describe the
5090 format in external files.
5091 (package-desc-vers): Replace with package-desc-version accessor.
5092 (package-desc-doc): Replace with package-desc-summary accessor.
5093 (package-activate-1): Remove `package' arg since the pkg-vec now
5094 includes the name.
5095 (define-package): Use package-desc-from-define.
5096 (package-unpack-single): Change file-name arg to be a symbol.
5097 (package--add-to-archive-contents): Use package-desc-create and new
5098 accessor functions to package--ac-desc.
5099 (package-buffer-info, package-tar-file-info): Return a package-desc.
5100 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5101 arg to be a package-desc.
5102 (package-install-file): Adjust accordingly. Use \' to match EOS.
5103 (package--from-builtin): New function.
5104 (describe-package-1, package-menu--generate): Use it.
5105 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5106 (package-generate-autoloads): Idem and return the name of the file.
5107 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5108 Change pkg-info arg to be a package-desc.
5109 Use package-make-ac-desc.
5110 (package-upload-file): Use \' to match EOS.
5111 * finder.el (finder-compile-keywords): Use package-make-builtin.
5112
31119d63
SM
51132013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5114
931a2762
SM
5115 * vc/vc.el (vc-deduce-fileset): Change error message.
5116 (vc-read-backend): New function.
5117 (vc-next-action): Use it.
5118
5a3eb0c6
SM
5119 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5120
e3eb1bb7
SM
5121 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5122 (prolog-font-lock-keywords): Use regexp-opt instead.
5123 Don't manually highlight strings.
5124 (prolog-mode-variables): Simplify comment-start-skip.
5125 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5126
31119d63
SM
5127 * emacs-lisp/generic.el (generic--normalise-comments)
5128 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5129 (generic-mode-set-comments): Use them.
5130 (generic-bracket-support): Use setq-local.
5131 (generic-make-keywords-list): Declare obsolete.
5132
7de135d0
GM
51332013-06-11 Glenn Morris <rgm@gnu.org>
5134
5135 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5136 Prettify after setting font-lock-defaults. (Bug#14574)
5137
fa6bc6fd
JB
51382013-06-11 Juanma Barranquero <lekktu@gmail.com>
5139
5140 * replace.el (query-replace, occur-read-regexp-defaults-function)
5141 (replace-search):
5142 * subr.el (declare-function, number-sequence, local-set-key)
5143 (substitute-key-definition, locate-user-emacs-file)
5144 (with-silent-modifications, split-string, eval-after-load):
5145 Fix typos, remove unneeded backslashes and reflow some docstrings.
5146
cf1f9b9a
SM
51472013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5148
5149 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5150 default for Elisp files.
5151
56602a4b
GM
51522013-06-11 Glenn Morris <rgm@gnu.org>
5153
5154 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5155 although define-derived-mode was doing this anyway. (Bug#14583)
5156
30ae0b2c
JB
51572013-06-10 Juanma Barranquero <lekktu@gmail.com>
5158
5159 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5160 Fix make-variable-buffer-local call to refer to the correct variable.
5161
fa472906
AG
51622013-06-10 Aidan Gauland <aidalgol@amuri.net>
5163
5164 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
5165 (eshell-visual-subcommands, eshell-visual-options):
5166 Add summary line to docstrings. Add cross-references.
fa472906 5167
ff4871b9
GM
51682013-06-10 Glenn Morris <rgm@gnu.org>
5169
5170 * epa.el (epa-read-file-name): New function. (Bug#14510)
5171 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5172
04fcf1b0
AG
51732013-06-09 Aidan Gauland <aidalgol@amuri.net>
5174
5175 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5176 output redirection to be ignored with visual commands.
5177
88b00caa
AG
51782013-06-09 Aidan Gauland <aidalgol@amuri.net>
5179
5180 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
5181 (eshell-term-initialize): Move long lambda to separate function
5182 eshell-visual-command-p.
e7b41c4c
JB
5183 * eshell/em-dirs.el (eshell-dirs-initialise):
5184 * eshell/em-script.el (eshell-script-initialize):
5185 Add missing #' to lambda.
88b00caa 5186
fda74125
LL
51872013-06-08 Leo Liu <sdl.web@gmail.com>
5188
5189 * progmodes/octave.el (octave-add-log-current-defun): New function.
5190 (octave-mode): Set add-log-current-defun-function.
5191 (octave-goto-function-definition): Do not move point if not found.
5192 (octave-find-definition): Enhance to try subfunctions first.
5193
467f3b33
GM
51942013-06-08 Glenn Morris <rgm@gnu.org>
5195
5196 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5197 (byte-compile-backward-char, byte-compile-backward-word):
5198 Improve previous change, to handle non-explicit nil.
5199
544badc3
SM
52002013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5201
5202 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5203 (smie--opener/closer-at-point): New function.
5204 (smie--matching-block-data): Use it. Don't match from right after an
5205 opener or right before a closer. Obey smie-blink-matching-inners.
5206 Don't signal a mismatch for repeated inners like "switch..case..case".
5207
a175bf33
LL
52082013-06-07 Leo Liu <sdl.web@gmail.com>
5209
5210 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5211 to t. (Bug#14303)
ce8209d4
LL
5212 (octave-function-header-regexp): Fix. (Bug#14570)
5213 (octave-help-mode-finish-hook, octave-help-mode-finish):
5214 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
5215
5216 * newcomment.el (comment-search-backward): Revert last change.
5217 (Bug#14434)
5218
5219 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5220
a822acff
EZ
52212013-06-07 Eli Zaretskii <eliz@gnu.org>
5222
5223 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5224 through xargs, to avoid failure due to MS-Windows limitations on
5225 command-line length.
5226
961166f5
GM
52272013-06-06 Glenn Morris <rgm@gnu.org>
5228
d0341459
GM
5229 * font-lock.el (lisp-font-lock-keywords-2):
5230 Treat user-error like error.
5231
961166f5
GM
5232 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5233 (byte-compile-backward-char, byte-compile-backward-word):
5234 Handle explicit nil arguments. (Bug#14565)
5235
80fa505f
AM
52362013-06-05 Alan Mackenzie <acm@muc.de>
5237
5238 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 5239 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 5240 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 5241 (Bug#9706)
80fa505f 5242
fccdc796
SM
52432013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5244
5245 * autorevert.el (auto-revert-notify-handler): Use memq.
5246 Hide assertion failure.
5247
5248 * skeleton.el: Use cl-lib.
5249 (skeleton-further-elements): Use defvar-local.
5250 (skeleton-insert): Use cl-progv.
5251
9bfff84b
TZ
52522013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5253
5254 * progmodes/prog-mode.el (prog-prettify-symbols)
5255 (prog-prettify-install): Update docstrings.
5256
55577e7c
SM
52572013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5258
5259 * simple.el: Move all the prog-mode code to prog-mode.el.
5260 * progmodes/prog-mode.el: New file.
5261 * loadup.el: Add prog-mode.el.
5262
8fc57765
TZ
52632013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5264
5265 * simple.el (prog-prettify-symbols): Add version.
5266 (prog-prettify-install): Add convenience function to prettify symbols.
5267
5268 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5269 (perl--augmented-font-lock-keywords-1)
5270 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5271 variables and use it.
5272
5273 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5274 (cfengine3-mode): Remove unneeded variable and use it.
5275
5276 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5277 (lisp--augmented-font-lock-keywords-1)
5278 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5279 Remove unneeded variables and use it.
5280
650645d5 52812013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
5282
5283 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 5284 to point when opening the connection. (Bug#14380)
28f5da6d 5285
781b4af6
SM
52862013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5287
5288 * subr.el (load-history-regexp, load-history-filename-element)
5289 (eval-after-load, after-load-functions, do-after-load-evaluation)
5290 (eval-next-after-load, display-delayed-warnings)
5291 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5292 definition of save-match-data.
5293 (overriding-local-map): Remove accidental obsolescence declaration.
5294
5295 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5296
3ca0d0b4
TZ
52972013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5298
5299 Generalize symbol prettify support to prog-mode and implement it
5300 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5301 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5302 (prog--prettify-font-lock-compose-symbol)
5303 (prog-prettify-font-lock-symbols-keywords): New variables and
5304 functions to support symbol prettification.
5305 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5306 (lisp--augmented-font-lock-keywords-1)
5307 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5308 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5309 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
5310 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5311 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
5312 * progmodes/perl-mode.el (perl-prettify-symbols)
5313 (perl--font-lock-compose-symbol)
5314 (perl--font-lock-symbols-keywords): Move to prog-mode.
5315 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5316 (perl-font-lock-keywords-1)
5317 (perl-font-lock-keywords-2): Remove explicit prettify support.
5318 (perl--augmented-font-lock-keywords)
5319 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
5320 (perl--augmented-font-lock-keywords-2, perl-mode):
5321 Implement prettify support.
3ca0d0b4 5322
976cb066
LL
53232013-06-05 Leo Liu <sdl.web@gmail.com>
5324
5325 Re-implement smie matching block highlight using
5326 show-paren-data-function. (Bug#14395)
5327 * emacs-lisp/smie.el (smie-matching-block-highlight)
5328 (smie--highlight-matching-block-overlay)
5329 (smie--highlight-matching-block-lastpos)
5330 (smie-highlight-matching-block)
5331 (smie-highlight-matching-block-mode): Remove.
5332 (smie--matching-block-data-cache): New variable.
5333 (smie--matching-block-data): New function.
5334 (smie-setup): Use smie--matching-block-data for
5335 show-paren-data-function.
5336
5337 * progmodes/octave.el (octave-mode-menu): Fix.
5338 (octave-find-definition): Skip garbage lines.
5339
208d0342
SM
53402013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5341
5342 Fix compilation error with simultaneous dynamic+lexical scoping.
5343 Add warning when a defvar appears after the first let-binding.
5344 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5345 (byte-compile-close-variables): Initialize it.
5346 (byte-compile--declare-var): New function.
5347 (byte-compile-file-form-defvar)
5348 (byte-compile-file-form-define-abbrev-table)
5349 (byte-compile-file-form-custom-declare-variable): Use it.
5350 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5351 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5352 (byte-compile-bind): Handle dynamic bindings that shadow
5353 lexical bindings.
5354 (byte-compile-unbind): Make arg non-optional.
5355 (byte-compile-let): Simplify.
5356 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5357 (cconv--analyse-function, cconv-analyse-form): Populate it.
5358 Protect byte-compile-bound-variables to limit the scope of defvars.
5359 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5360 Remove unneeded rule for `declare'.
5361
5362 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5363 so as to avoid depending on cl-adjoin at run-time.
5364 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5365
5366 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5367 (macroexp--warn-and-return): Use it.
5368
2587b005
LL
53692013-06-05 Leo Liu <sdl.web@gmail.com>
5370
5371 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5372
f1da3c88
LL
53732013-06-04 Leo Liu <sdl.web@gmail.com>
5374
5375 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5376 (compilation-auto-jump): Suppress the "Mark set" message to give
5377 way to exit message.
5378
3caa391f
AM
53792013-06-04 Alan Mackenzie <acm@muc.de>
5380
5381 Remove faulty optimisation from indentation calculation.
5382 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5383 search limit based on 2000 characters back from indent-point.
5384
068922a2
TH
53852013-06-03 Tassilo Horn <tsdh@gnu.org>
5386
5387 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5388
1f8fdd53
SM
53892013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5390
bbcc4d97
SM
5391 * emacs-lisp/lisp.el: Use lexical-binding.
5392 (lisp--local-variables-1, lisp--local-variables): New functions.
5393 (lisp--local-variables-completion-table): New var.
208d0342 5394 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 5395
1f8fdd53
SM
5396 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5397 eagerly (bug#14422).
5398
c9628c79
MA
53992013-06-03 Michael Albinus <michael.albinus@gmx.de>
5400
5401 * autorevert.el (auto-revert-notify-enabled)
5402 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5403 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5404 (auto-revert-notify-handler): Handle also gfilenotify.
5405
e7b41c4c 5406 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 5407 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 5408 Remove.
c9628c79 5409
e5e4a942
JL
54102013-06-03 Juri Linkov <juri@jurta.org>
5411
5412 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5413 `M-s h .'. (Bug#14427)
5414
5415 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5416 command `hi-lock-face-symbol-at-point'.
5417 (hi-lock-face-symbol-at-point): New command.
5418 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5419 (hi-lock-menu): Add `highlight-symbol-at-point'.
5420 (hi-lock-mode): Doc fix.
5421
5422 * isearch.el (isearch-forward-symbol-at-point): New command.
5423 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5424 (isearch-highlight-regexp): Add a regexp which matches
5425 words/symbols for word/symbol mode.
5426
5427 * subr.el (find-tag-default-bounds): New function with the body
5428 mostly moved from `find-tag-default'.
5429 (find-tag-default): Move most code to `find-tag-default-bounds',
5430 call it and apply `buffer-substring-no-properties' afterwards.
5431
26b3353a
TH
54322013-06-03 Tassilo Horn <tsdh@gnu.org>
5433
781b4af6
SM
5434 * eshell/em-term.el (eshell-term-initialize):
5435 Use `cl-intersection' rather than `intersection'.
26b3353a 5436
51b60f53
XF
54372013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5438
fe054b63 5439 * vc/log-view.el: Doc fix.
d3ffe17c 5440 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 5441
a0eb10b3 54422013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
5443
5444 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5445 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5446 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5447 (eieio-unbound, eieio-default-superclass)
5448 (eieio--define-field-accessors, method-static, method-before)
5449 (method-primary, method-after, method-num-lists)
5450 (method-generic-before, method-generic-primary)
5451 (method-generic-after, method-num-slots)
5452 (eieio-specialized-key-to-generic-key)
5453 (eieio--check-type, class-v, class-p)
5454 (eieio-class-name, define-obsolete-function-alias)
5455 (eieio-class-parents-fast, eieio-class-children-fast)
5456 (same-class-fast-p, class-constructor, generic-p)
5457 (generic-primary-only-p, generic-primary-only-one-p)
5458 (class-option-assoc, class-option, eieio-object-p)
5459 (class-abstract-p, class-method-invocation-order)
5460 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5461 (eieio-class-un-autoload, eieio-defclass)
5462 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5463 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5464 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5465 (eieio-defgeneric-reset-generic-form)
5466 (eieio-defgeneric-form-primary-only)
5467 (eieio-defgeneric-reset-generic-form-primary-only)
5468 (eieio-defgeneric-form-primary-only-one)
5469 (eieio-defgeneric-reset-generic-form-primary-only-one)
5470 (eieio-unbind-method-implementations)
5471 (eieio--defmethod, eieio--typep)
5472 (eieio-perform-slot-validation, eieio-validate-slot-value)
5473 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5474 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5475 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5476 (eieio-slot-name-index, eieio-class-slot-name-index)
5477 (eieio-set-defaults, eieio-initarg-to-attribute)
5478 (eieio-attribute-to-initarg, eieio-c3-candidate)
5479 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5480 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5481 (eieio-class-precedence-list, eieio-generic-call-methodname)
5482 (eieio-generic-call-arglst, eieio-generic-call-key)
5483 (eieio-generic-call-next-method-list)
5484 (eieio-pre-method-execution-functions, eieio-generic-call)
5485 (eieio-generic-call-primary-only, eieiomt-method-list)
5486 (eieiomt-optimizing-obarray, eieiomt-install)
5487 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5488 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 5489 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
5490 (defclass): Remove `eval-and-compile' from macro.
5491 (call-next-method, shared-initialize): Instead of using
5492 `scoped-class' variable, use new eieio--scoped-class, and
5493 eieio--with-scoped-class.
5494 (initialize-instance): Rename local variable 'scoped-class' to
5495 'this-class' to remove ambiguitity from old global.
5496
5497 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5498 eieio.el.
4f405069
JB
5499 (eieio--scoped-class-stack): New variable.
5500 (eieio--scoped-class): New fcn.
890f7890
DE
5501 (eieio--with-scoped-class): New scoping macro.
5502 (eieio-defclass): Use pushnew instead of add-to-list.
5503 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
5504 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
5505 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
5506 `scoped-class' variable, use new eieio--scoped-class, and
5507 eieio--with-scoped-class.
5508
5509 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
5510
d105b0e2
TH
55112013-06-02 Tassilo Horn <tsdh@gnu.org>
5512
5513 * eshell/esh-ext.el (eshell-external-command): Pass args to
5514 `eshell-find-interpreter'.
5515 (eshell-find-interpreter): Add new second parameter ARGS.
5516
5517 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 5518 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5519
5520 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 5521 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
5522
5523 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
5524 (eshell-visual-options): New defcustom.
5525 (eshell-escape-control-x): Adapt docstring.
5526 (eshell-term-initialize): Test `eshell-visual-subcommands' and
5527 `eshell-visual-options' in addition to `eshell-visual-commands'.
5528 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
5529
f46305c8 55302013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
5531
5532 * progmodes/python.el (python-indent-block-enders): Add break,
5533 continue and raise keywords.
5534
d870df21
GM
55352013-06-01 Glenn Morris <rgm@gnu.org>
5536
9133b82e
GM
5537 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
5538
02c992ec 5539 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
5540 * progmodes/cc-cmds.el (delete-forward-p):
5541 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
5542 * progmodes/cc-engine.el (buffer-syntactic-context):
5543 * progmodes/cc-fonts.el (face-property-instance):
5544 * progmodes/cc-mode.el (set-keymap-parents):
5545 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
5546 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
5547 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
5548 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
5549 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 5550
31e7b090
GM
5551 * progmodes/cc-vars.el (other): Emacs has this widget since
5552 at least 21.1, so don't (re)define it.
5553
d870df21
GM
5554 * eshell/em-cmpl.el (eshell-cmpl-initialize):
5555 Replace the obsolete alias pcomplete-arg-quote-list.
5556
c75c93c7
LL
55572013-06-01 Leo Liu <sdl.web@gmail.com>
5558
5559 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
5560 punctuation syntax.
5561 (inferior-octave-minimal-columns)
5562 (inferior-octave-last-column-width): New variables.
5563 (inferior-octave-track-window-width-change): New function.
5564 (inferior-octave-mode): Adjust column width so that Octave output,
5565 for example from 'ls', can fit into the window nicely.
5566
973d1e12
DG
55672013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5568
5569 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5570 Highlight expansions inside regexp literals.
5571
0888c286
GM
55722013-05-31 Glenn Morris <rgm@gnu.org>
5573
e26aac1f
GM
5574 * obsolete/sym-comp.el (symbol-complete):
5575 Replace obsolete completion-annotate-function.
5576
0888c286
GM
5577 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5578
19bb8e62
DG
55792013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5580
781b4af6
SM
5581 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5582 New function, checks if point is inside a literal that allows
19bb8e62
DG
5583 expression expansion.
5584 (ruby-syntax-propertize-expansion): Use it.
5585 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5586 around the body.
5587
01dea85f
JL
55882013-05-30 Juri Linkov <juri@jurta.org>
5589
5590 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5591 to "\M-si".
5592 (isearch-invisible): New variable.
5593 (isearch-forward): Doc fix.
5594 (isearch-mode): Set `isearch-invisible'
5595 to the value of `search-invisible'.
5596 (isearch-toggle-case-fold): Doc fix.
5597 (isearch-toggle-invisible): New command.
5598 (isearch-query-replace): Let-bind `search-invisible'
5599 to the value of `isearch-invisible'.
5600 (isearch-search): Use `isearch-invisible' instead of
5601 `search-invisible'. Let-bind `search-invisible'
5602 to the value of `isearch-invisible'. (Bug#11378)
5603
ab1bdce5
JL
56042013-05-30 Juri Linkov <juri@jurta.org>
5605
5606 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5607 call when `query-flag' is nil and `search-invisible' is non-nil.
5608 (Bug#11746)
5609
d6d236e2
GM
56102013-05-30 Glenn Morris <rgm@gnu.org>
5611
8accd027
GM
5612 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5613
2a8bed1c
GM
5614 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5615 (cc-require): Suppress spurious "noruntime" warnings.
5616 (cc-require-when-compile): Use fboundp, for sake of compiler.
5617
d6d236e2
GM
5618 * progmodes/cc-mode.el: Move load of cc-vars before that of
5619 cc-langs (which in turn loads cc-vars), to quieten compiler.
5620
9190b35b
SM
56212013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5622
5623 * paren.el: Simplify the code.
5624 (show-paren-mode): Always start the timer.
5625 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5626 (show-paren--overlay, show-paren--overlay-1): Rename from
5627 show-paren-overlay and show-paren-overlay-1, and initialize to an
5628 overlay rather than to nil.
5629 (show-paren-function): Misc cleanup and simplifications.
5630
4f8d1cf6
SM
56312013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * paren.el (show-paren-data-function): New hook.
5634 (show-paren--default): New function, extracted from show-paren-function.
5635 (show-paren-function): Use show-paren-data-function.
5636
02d844b5
GM
56372013-05-30 Glenn Morris <rgm@gnu.org>
5638
d209d4a9
GM
5639 * ielm.el (ielm-map, ielm-complete-symbol):
5640 Use completion-at-point rather than obsolete functions.
5641 (inferior-emacs-lisp-mode): Doc fix.
5642 Set completion-at-point-functions, rather than
5643 comint-dynamic-complete-functions.
5644
2082faa6
GM
5645 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5646 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5647 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5648
dd8620de
GM
5649 * image.el (image-animated-p): Tweak definition.
5650
ceca95b1
GM
5651 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5652 (rlogin-process-connection-type): Tweak default. Add set-after.
5653 (rlogin-host): Doc fix.
5654 (rlogin): Tweak prompt.
5655 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5656
ee9f1acc
GM
5657 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5658 * progmodes/tcl.el (inferior-tcl-mode-map):
5659 Use completion-at-point rather than obsolete alias.
5660
45ce222e
GM
5661 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5662
02d844b5
GM
5663 * minibuffer.el (read-file-name-completion-ignore-case):
5664 Move before completion--in-region, for eager macro expansion.
5665
ac44d6c1
JL
56662013-05-29 Juri Linkov <juri@jurta.org>
5667
5668 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5669 for total count of matching lines. Add `global-matches' for total
5670 count of matches. Rename `matches' to `lines' for count of
5671 matching lines. Add `matches' for count of matches.
5672 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5673 to `prev-line' for line number of prev match endpt.
5674 Increment `matches' for every match. Print the number of
5675 matching lines in the header.
5676 (occur-context-lines): Rename `lines' to `curr-line'.
5677 Rename `prev-lines' to `prev-line'. (Bug#14017)
5678
3c9c9d38
JL
56792013-05-29 Juri Linkov <juri@jurta.org>
5680
5681 * replace.el (perform-replace): Add `skip-read-only-count',
5682 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5683 Increment them for corresponding conditions and report the number
5684 of skipped occurrences in the final message. (Bug#11746)
5685 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5686 (replace-string, replace-regexp): Doc fix.
5687
33e249a2
SM
56882013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5689
8e399682
SM
5690 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5691
33e249a2 5692 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 5693 prog-mode-map (bug#14504).
33e249a2 5694
f236dd84
LL
56952013-05-29 Leo Liu <sdl.web@gmail.com>
5696
5697 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5698 (octave-help): Small simplification.
5699
5700 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5701 off the highlight first.
5702
3694d13f
GM
57032013-05-29 Glenn Morris <rgm@gnu.org>
5704
03983bdc
GM
5705 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5706 Handle idlwave-last-system-routine-info-cons-cell being nil.
5707
bc74a74a
GM
5708 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5709 (idlwave-write-paths): Simplify via with-temp-buffer.
5710
8b394200
GM
5711 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5712 * emulation/cua-rect.el: Also load cua-base at run time.
5713
3694d13f
GM
5714 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5715 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5716 (cperl-imenu-on-info): Require imenu.
5717
336d7284
AM
57182013-05-28 Alan Mackenzie <acm@muc.de>
5719
5720 Handle "capitalised keywords" correctly.
33e249a2 5721 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 5722
cb29c582
AG
57232013-05-28 Aidan Gauland <aidalgol@amuri.net>
5724
781b4af6 5725 * eshell/em-unix.el: Add -r option to cp.
cb29c582 5726
690e44b2
GM
57272013-05-28 Glenn Morris <rgm@gnu.org>
5728
e658d75c
GM
5729 * vc/vc-arch.el (vc-exec-after): Declare.
5730 (vc-switches): Autoload.
5731 * vc/vc-bzr.el: No need to require vc when compiling.
5732 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5733 (vc-resynch-buffer, vc-dir-refresh): Declare.
5734 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
5735 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5736 (vc-resynch-buffer): Declare.
5737 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 5738 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
5739 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5740 (grep-read-regexp, grep-read-files, grep-expand-template)
5741 (vc-dir-refresh): Declare.
5742 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5743 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5744 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
5745 * vc/vc-mtn.el (vc-exec-after): Declare.
5746 (vc-switches): Autoload.
5747 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5748 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5749 (vc-file-tree-walk): Declare.
712b9732
GM
5750 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5751 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5752 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
5753 * vc/vc-svn.el (vc-exec-after): Declare.
5754 (vc-switches, vc-setup-buffer): Autoload.
5755 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5756 Autoload.
5757 (vc-resynch-buffer): Declare.
5758
98e87fb3
GM
5759 * obsolete/fast-lock.el (byte-compile-warnings):
5760 Don't warn about obsolete features in this obsolete file.
5761
f5379553
GM
5762 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5763 Move definition before use.
5764
7a20ef83
GM
5765 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5766 (dun-unix-verbs): Remove dun-zippy.
5767 (dun-zippy): Remove function.
5768
690e44b2
GM
5769 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5770
3a52ccf7
JL
57712013-05-27 Juri Linkov <juri@jurta.org>
5772
5773 * replace.el (replace-search): New function with code moved out
5774 from `perform-replace'.
5775 (replace-highlight, replace-dehighlight): Move function definitions
5776 up closer to `replace-search'. (Bug#11746)
5777
d289938a
JL
57782013-05-27 Juri Linkov <juri@jurta.org>
5779
5780 * replace.el (perform-replace): Ignore invisible matches.
5781 In addition to checking `query-replace-skip-read-only', also
5782 filter out matches by calling `run-hook-with-args-until-failure'
5783 on `isearch-filter-predicates', and also check `search-invisible'
5784 for t or call `isearch-range-invisible'.
5785 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5786
66fc57e3
JL
57872013-05-27 Juri Linkov <juri@jurta.org>
5788
5789 * isearch.el (isearch-filter-predicates): Rename from
5790 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5791 (isearch-message-prefix): Display text from the property
5792 `isearch-message-prefix' of the currently active filters.
5793 (isearch-search): Don't compare `isearch-filter-predicate' with
5794 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5795 on `isearch-filter-predicates'. Also check `search-invisible' for t
5796 or call `isearch-range-invisible'.
5797 (isearch-filter-visible): Make obsolete.
5798 (isearch-lazy-highlight-search):
5799 Call `run-hook-with-args-until-failure' on
5800 `isearch-filter-predicates' and use `isearch-range-invisible'.
5801
5802 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5803 `isearch-filter-predicates' instead of `funcall'ing
5804 `isearch-filter-predicate'.
5805 (Info-mode): Set `Info-isearch-filter' to
5806 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5807
5808 * dired-aux.el (dired-isearch-filter-predicate-orig):
5809 Remove variable.
5810 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5811 (dired-isearch-filenames-end): Add and remove
5812 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5813 instead of changing the value of `isearch-filter-predicate'.
5814 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5815 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5816 Put property `isearch-message-prefix' to "filename " on
5817 `dired-isearch-filter-filenames'.
5818
5819 * wdired.el (wdired-change-to-wdired-mode):
5820 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5821 locally instead of changing `isearch-filter-predicate'.
5822 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5823
f1a60a0f
DG
58242013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5825
5826 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5827 return the commit hash (Bug#14459). Also set the
5828 `vc-git-detached' property.
5829 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5830 (vc-git-mode-line-string): Use the same help-echo format whether
5831 in detached mode or not, because we know the actual revision now.
5832 When in detached mode, shorten the revision to 7 chars.
5833
7f17cc40
SM
58342013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5835
5836 * emacs-lisp/easy-mmode.el (define-minor-mode):
5837 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5838 mode hook and provide a docstring.
5839
25c8401c
AM
58402013-05-27 Alan Mackenzie <acm@muc.de>
5841
5842 Remove spurious syntax-table text properties inserted by C-y.
5843 * progmodes/cc-mode.el (c-after-change): Also clear hard
5844 syntax-table property with value nil.
5845
dde84790
MA
58462013-05-27 Michael Albinus <michael.albinus@gmx.de>
5847
5848 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5849 when reading the events; the buffer layout shall not be changed.
5850
837fd9af
LL
58512013-05-27 Leo Liu <sdl.web@gmail.com>
5852
5853 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5854 New variable.
5855 (inferior-octave-directory-tracker): Automatically re-sync
5856 default-directory.
5857 (octave-help): Improve handling of 'See also'.
5858
4fd996b3
SM
58592013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5860
416f1802
SM
5861 * doc-view.el: Minor naming convention tweaks.
5862 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5863
4fd996b3
SM
5864 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5865 even if there's no `display' property yet (bug#14435).
5866
a052ef3b
EZ
58672013-05-25 Eli Zaretskii <eliz@gnu.org>
5868
4fd996b3 5869 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
5870
5871 * Makefile.in (custom-deps, finder-data, autoloads)
5872 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5873 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5874 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5875
c9023370
SM
58762013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5877
5878 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5879 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 5880 Don't burp at EOB.
c9023370 5881
24d699fa
LL
58822013-05-25 Leo Liu <sdl.web@gmail.com>
5883
5884 * comint.el (comint-previous-matching-input): Do not flood the
5885 *Messages* buffer with trivial messages.
5886
17e5c0cc
SM
58872013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * progmodes/flymake.el (flymake-nop): Don't return a string.
5890 (flymake-set-at): Fix typo.
5891
5892 * simple.el (read--expression): New function, extracted from
5893 eval-expression. Set completion-at-point-functions (bug#14465).
5894 (eval-expression, eval-minibuffer): Use it.
5895
5d028165
XF
58962013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5897
5898 * progmodes/flymake.el (flymake-save-buffer-in-file)
5899 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5900 (flymake-selected-frame, flymake-log, flymake-ins-after)
5901 (flymake-set-at, flymake-get-buildfile-from-cache)
5902 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5903 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5904 Refine the doc string.
5905 (flymake-get-file-name-mode-and-masks): Reformat.
5906 (flymake-get-real-file-name-function): Fix a minor bug.
5907
7a1d7ba7
JL
59082013-05-24 Juri Linkov <juri@jurta.org>
5909
5910 * progmodes/grep.el (grep-mode-font-lock-keywords):
5911 Support =linenumber= format used by git-grep for lines with
5912 function names. (Bug#13549)
5913
650cff3d
SM
59142013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5915
5916 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5917 0 after a semi-colon; it works better for smie-auto-fill.
5918 (octave--indent-new-comment-line): New function.
5919 (octave-indent-new-comment-line): Use it (indirectly).
5920 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5921 modify comment-line-break-function.
5922
5923 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5924 (smie-setup): Use add-function to set it.
5925
9631677d
SS
59262013-05-24 Sam Steingold <sds@gnu.org>
5927
5928 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5929 argument (before the `interactive' argument).
5930
50105835
SM
59312013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5932
5933 * image-mode.el (image-mode-winprops): Add winprops to
5934 image-mode-winprops-alist before running
5935 image-mode-new-window-functions.
5936 * doc-view.el (doc-view-new-window-function): Don't delay
5937 doc-view-goto-page via timers (bug#14435).
5938
57b9823e
TH
59392013-05-24 Tassilo Horn <tsdh@gnu.org>
5940
5941 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5942 (doc-view-desktop-save-buffer): New function.
5943 (doc-view-restore-desktop-buffer): New function.
50105835
SM
5944 (desktop-buffer-mode-handlers):
5945 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
5946 handler.
5947 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5948 `desktop-save-buffer' function.
5949
91aafa16
MA
59502013-05-24 Michael Albinus <michael.albinus@gmx.de>
5951
5952 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5953 (tramp-gvfs-file-name-handler): Raise a user error when
5954 `tramp-gvfs-enabled' is nil.
5955 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5956 Do not raise a user error when loading package. (Bug#14447)
5957
ec076379
MA
5958 * net/xesam.el: Move to obsolete/.
5959
db785726
GM
59602013-05-24 Glenn Morris <rgm@gnu.org>
5961
af5c7606
GM
5962 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5963
e5d1916a
GM
5964 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5965
ded62b08
GM
5966 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5967 (Info-find-node, Man-getpage-in-background): Declare.
5968
9e614a3f
GM
5969 * mail/unrmail.el (unrmail):
5970 Replace obsolete detect-coding-with-priority.
5971
892f8ca3
GM
5972 * net/socks.el (socks-split-string): Use this rather than split-string.
5973 (socks-nslookup-host): Update for above change.
5974 (dynamic-choice, s5-dynamic-choice-match)
5975 (s5-dynamic-choice-match-inline, s5-widget-value-create):
5976 Comment out unused code.
5977
3c291973
GM
5978 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5979 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5980 (gud-tooltip-echo-area): Make obsolete.
5981 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5982
43cc956b
GM
5983 * progmodes/js.el (js--optimize-arglist): Declare.
5984
dab49a3b
GM
5985 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5986
36b9d085
GM
5987 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5988 (ediff-window-C): Declare.
5989
e354ae76
GM
5990 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5991 Tweak requires to silence compiler.
5992
b8e57bf4
GM
5993 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5994 (he-search-string, he-tried-table, he-expand-list)
5995 (he-init-string, he-string-member, he-substitute-string)
5996 (he-reset-string): Declare.
5997
db785726
GM
5998 * obsolete/options.el (list-options): Use custom-variable-p,
5999 rather than obsolete alias.
6000
b3531901
SS
60012013-05-23 Sam Steingold <sds@gnu.org>
6002
6003 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 6004 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
6005 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6006
bdda4c66
SM
60072013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6008
6009 * emacs-lisp/smie.el (smie-indent-forward-token)
6010 (smie-indent-backward-token): Handle string tokens (bug#14381).
6011
c43d45f9
TH
60122013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6013
fe1eb856
RS
6014 * ielm.el (ielm-menu): New menu.
6015 (inferior-emacs-lisp-mode): Set comment-start.
96172128 6016
fe1eb856
RS
60172013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6018
6019 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6020 Fix deactivate action.
6021
6022 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6023 Add cleveref macros.
074dd971 6024
c43d45f9
TH
6025 * lisp/textmodes/reftex-parse.el
6026 (reftex-locate-bibliography-files): Accept options for
6027 bibliography commands.
6028 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6029 Add addbibresource. Basic Biblatex support.
6030
7764286e
MA
60312013-05-23 Michael Albinus <michael.albinus@gmx.de>
6032
6033 * net/tramp-gvfs.el (top):
6034 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6035 when loading package. (Bug#14447)
6036
d361bc10
GM
60372013-05-23 Glenn Morris <rgm@gnu.org>
6038
8fa23984
GM
6039 * progmodes/js.el: No need to load comint when compiling.
6040 (ring-insert, comint-send-string, comint-send-input)
6041 (comint-last-input-end, ido-chop): Declare.
6042
a5c7df1a
GM
6043 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6044 * vc/ediff-mult.el: Adjust requires.
6045 (ediff-directories-internal, ediff-directory-revisions-internal)
6046 (ediff-patch-file-internal): Declare.
6047 * vc/ediff-ptch.el: Adjust requires.
6048 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6049 (ediff-find-file): Autoload.
6050 * vc/ediff-util.el: No need to load ediff when compiling.
6051 (ediff-regions-internal): Declare.
6052 * vc/ediff-wind.el: Adjust requires.
6053 (ediff-compute-toolbar-width): Define when compiling.
6054 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6055 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6056 (dired-get-filename, dired-get-marked-files)
6057 (ediff-last-dir-patch, ediff-patch-default-directory)
6058 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6059 (ediff-patch-buffer-internal): Declare.
6060
e2aec513
GM
6061 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6062 (ispell-process, ispell-buffer-local-words, lm-summary)
6063 (lm-section-start, lm-section-end): Declare.
6064 (checkdoc-ispell-init): Simplify.
6065
e68bbd7c
GM
6066 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6067 (he-string-member, he-reset-string, he-substitute-string): Declare.
6068
7efe0991
GM
6069 * eshell/em-ls.el: Adjust requires.
6070 (eshell-glob-regexp): Declare.
f87b1284
GM
6071 * eshell/em-tramp.el: Adjust requires.
6072 (eshell-parse-command): Autoload.
6073 * eshell/em-xtra.el: Adjust requires.
6074 (eshell-parse-command): Autoload.
6075 * eshell/esh-ext.el: Adjust requires.
6076 (eshell-parse-command, eshell-close-handles): Autoload.
6077 * eshell/esh-io.el: Adjust requires.
6078 (eshell-output-filter): Autoload.
6079 * eshell/esh-util.el: No need to load tramp when compiling.
6080 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6081 Declare.
6082 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6083 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6084 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6085 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6086 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6087 * eshell/esh-opt.el, eshell/esh-proc.el:
6088 * eshell/esh-var.el: Adjust requires.
6089 * eshell/eshell.el: Do not require esh-util twice.
6090 (eshell-add-input-to-history): Declare.
6091 (eshell-command): Check history module is active before using it.
6092
d361bc10
GM
6093 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6094
85d090a9
LL
60952013-05-22 Leo Liu <sdl.web@gmail.com>
6096
6097 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6098
5d0acd9d
MA
60992013-05-22 Michael Albinus <michael.albinus@gmx.de>
6100
6101 * autorevert.el (auto-revert-notify-add-watch)
6102 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6103 it indicates changes in file modification time.
6104
0cdffd7d
GM
61052013-05-22 Glenn Morris <rgm@gnu.org>
6106
ca5995ec
GM
6107 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6108 Always delete the autoloaded function from the noruntime and
6109 unresolved functions lists.
6110
6450907e
GM
6111 * allout.el: No need to load epa, epg, overlay when compiling.
6112 (epg-context-set-passphrase-callback, epg-list-keys)
6113 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6114 (epg-key-user-id-list): Declare.
6115
9c6906f6
GM
6116 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6117 (viper-set-parsing-style-toggling-macro)
6118 (viper-set-emacs-state-searchstyle-macros):
6119 Use called-interactively-p on Emacs.
6120 (viper-looking-back): Make it an obsolete alias. Update callers.
6121 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6122 Use looking-back rather than viper-looking-back.
6123 (viper-tmp-insert-at-eob, viper-enlarge-region)
6124 (viper-read-string-with-history, viper-register-to-point)
6125 (viper-append-to-register, viper-change-state-to-vi)
6126 (viper-backward-char-carefully, viper-forward-char-carefully)
6127 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6128 (viper-change-state-to-emacs): Declare.
6129 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6130 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6131 * emulation/viper-mous.el: Do not load viper-cmd.
6132 (viper-backward-char-carefully, viper-forward-char-carefully)
6133 (viper-forward-word, viper-adjust-window): Declare.
6134
5f70c169
GM
6135 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6136
b1b7f300
GM
6137 * progmodes/idlw-help.el (idlwave-help-fontify):
6138 Use called-interactively-p.
6139
f6ebbb46
GM
6140 * term/w32console.el (w32-get-console-codepage)
6141 (w32-get-console-output-codepage): Declare.
6142
0cdffd7d
GM
6143 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6144 Remove unnecessary declarations.
6145 (dframe-message): Doc fix.
6146
6147 * info.el (dframe-select-attached-frame, dframe-current-frame):
6148 Declare.
6149
6150 * speedbar.el (speedbar-message): Make it an obsolete alias.
6151 Update all callers.
6152 (speedbar-with-attached-buffer)
6153 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6154 (speedbar-with-writable): Use backquote.
6155 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6156 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6157 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6158 rather than speedbar- aliases.
6159 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6160 (speedbar-make-specialized-keymap, speedbar-insert-button)
6161 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6162 (speedbar-do-function-pointer): Declare.
6163 (rmail-speedbar-button, rmail-speedbar-find-file)
6164 (rmail-speedbar-move-message):
6165 Use dframe-with-attached-buffer rather than speedbar- alias.
6166 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6167 (dframe-message, speedbar-make-specialized-keymap)
6168 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6169 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6170 (speedbar-insert-button, dframe-select-attached-frame)
6171 (dframe-maybee-jump-to-attached-frame)
6172 (speedbar-change-initial-expansion-list)
6173 (speedbar-previously-used-expansion-list-name): Declare.
6174 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6175 Use dframe-message, dframe-with-attached-buffer rather than
6176 speedbar- aliases.
6177 (gud-sentinel): Silence compiler.
6178 * progmodes/vhdl-mode.el (speedbar-refresh)
6179 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6180 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6181 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6182 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6183 (speedbar-file-lists, speedbar-make-tag-line)
6184 (speedbar-line-directory, speedbar-goto-this-file)
6185 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6186 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6187 (speedbar-make-button, speedbar-reset-scanners)
6188 (speedbar-files-item-info, speedbar-line-text)
6189 (speedbar-find-file-in-frame, speedbar-set-timer)
6190 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6191 (speedbar-with-writable): Do not (re)define it.
6192 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6193 rather than speedbar- alias.
6194
ee44b62a
LL
61952013-05-21 Leo Liu <sdl.web@gmail.com>
6196
6197 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6198 menu items.
6199 (octave-mode): Tweak fill-nobreak-predicate.
6200 (inferior-octave-startup): Check process to avoid infinite loop.
6201 (inferior-octave): Pop to buffer first to show abornmal process
6202 exit information.
6203
640f050f
GM
62042013-05-21 Glenn Morris <rgm@gnu.org>
6205
79458038
GM
6206 * printing.el (pr-menu-bar): Define when compiling.
6207
9cc3e83f
LL
62082013-05-21 Leo Liu <sdl.web@gmail.com>
6209
6210 * progmodes/octave.el (octave-auto-fill): Remove.
6211 (octave-indent-new-comment-line): Improve.
6212 (octave-mode): Use auto fill mode through
4f405069 6213 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 6214 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 6215 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
6216 (octave-help): Show parent directory.
6217
f440830d
GM
62182013-05-21 Glenn Morris <rgm@gnu.org>
6219
6220 * files.el (dired-unmark):
6221 * progmodes/gud.el (gdb-input): Update declarations.
6222
6223 * calculator.el (electric, ehelp): No need to load when compiling.
6224 (Electric-command-loop, electric-describe-mode): Declare.
6225
6226 * doc-view.el (doc-view-current-converter-processes): Move before use.
6227
6228 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6229 Move MODE-set-explicitly definition before use.
6230
6231 * international/mule-diag.el (mule-diag):
6232 Don't use obsolete window-system-version.
6233
6234 * mail/feedmail.el (smtpmail): No need to load when compiling.
6235 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6236
6237 * mail/mail-utils.el (rfc822): No need to load when compiling.
6238 (rfc822-addresses): Autoload it.
6239 (mail-strip-quoted-names): Trivial simplification.
6240
6241 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6242 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6243
6244 * net/snmp-mode.el (tempo): Don't duplicate requires.
6245
6246 * progmodes/prolog.el (info): No need to load when compiling.
6247 (comint): Require before shell requires it.
6248 (Info-goto-node): Autoload it.
6249 (Info-follow-nearest-node): Declare.
6250 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6251
6252 * textmodes/artist.el (picture-mode-exit): Declare.
6253
6254 * textmodes/reftex-parse.el (reftex-parse-from-file):
6255 Trivial rewrite so the compiler can parse it better.
6256
b4da2cbb
LL
62572013-05-20 Leo Liu <sdl.web@gmail.com>
6258
6259 * progmodes/octave.el (octave-help-mode-map)
6260 (octave-help-mode-finish-hook): New variables.
6261 (octave-help-mode, octave-help-mode-finish): New functions.
6262 (octave-help): Use octave-help-mode.
6263
33c0f65b
GM
62642013-05-20 Glenn Morris <rgm@gnu.org>
6265
6266 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6267
1a0a0a8a
DG
62682013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6269
6270 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6271 start at point, so that expansion starting right after opening
6272 slash in a regexp is recognized.
6273 (ruby-syntax-before-regexp-re): New defvar, extracted from
6274 ruby-syntax-propertize-function. Since the value of this regexp
6275 is looked up at runtime now, we should be able to turn
6276 `ruby-syntax-methods-before-regexp' into a defcustom later.
6277 (ruby-syntax-propertize-function): Split regexp matching into two
6278 parts, for opening and closing slashes. That allows us to skip
6279 over string interpolations and support multiline regexps.
6280 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6281 for them, which calls `ruby-syntax-propertize-expansion'.
6282 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6283 call to `ruby-syntax-propertize-function'.
6284 (ruby-syntax-propertize-expansion): Extracted from
6285 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
6286 (ruby-syntax-propertize-percent-literal): Leave point right after
6287 the percent symbol, so that the expression expansion rule can
6288 propertize the contents.
462388b6
DG
6289 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6290 heredoc openers.
6291 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 6292
c1a6c0a4
JL
62932013-05-18 Juri Linkov <juri@jurta.org>
6294
6295 * man.el (Man-default-man-entry): Remove `-' from the end
6296 of the default value. (Bug#14400)
6297
8051fccd
GM
62982013-05-18 Glenn Morris <rgm@gnu.org>
6299
6300 * comint.el (comint-password-prompt-regexp):
6301 Allow "password for XXX" where XXX contains colons (eg https://...).
6302
5e80b74f
LL
63032013-05-18 Leo Liu <sdl.web@gmail.com>
6304
6305 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 6306 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
6307 (octave-source-directories): Don't check process.
6308 (octave-source-directories, octave-find-definition): Doc fix.
6309
521a54c5
GM
63102013-05-18 Glenn Morris <rgm@gnu.org>
6311
86a94b05
GM
6312 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6313 Remove backspace/delete bindings. (Bug#14392)
6314
521a54c5
GM
6315 * cus-dep.el (custom-make-dependencies): Sort the output.
6316 (custom-versions-load-alist): Convert comment to doc.
6317
42caeb89
LL
63182013-05-17 Leo Liu <sdl.web@gmail.com>
6319
6320 * newcomment.el (comment-search-backward): Stricter in finding
6321 comment start. (Bug#14303)
6322
6323 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6324 (octave-comment-start-skip): Properly anchored.
6325
e219dd97
LL
63262013-05-17 Leo Liu <sdl.web@gmail.com>
6327
fe1eb856
RS
6328 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6329 Clean up when turned off. (Bug#14395)
e219dd97
LL
6330 (smie--highlight-matching-block-overlay): No longer buffer-local.
6331 (smie-highlight-matching-block): Adjust.
6332
dc5dcb4b
PE
63332013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6334
6335 Doc string fix for "nanoseconds" (Bug#14406).
6336 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6337 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6338
1db165f0
JB
63392013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6340
6341 * calc/calc-units.el (math-extract-units): Preserve powers
6342 of units.
6343
c7a8fcac
LL
63442013-05-17 Leo Liu <sdl.web@gmail.com>
6345
6346 * subr.el (delete-consecutive-dups): New function.
6347 * ido.el (ido-set-matches-1): Use it.
6348 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6349 * ido.el (ido-remove-consecutive-dups): Remove.
6350
f678b18a
SM
63512013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6352
6353 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6354 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6355 regexp-opt's `words'.
6356
ebfe68e8
LL
63572013-05-16 Leo Liu <sdl.web@gmail.com>
6358
6359 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6360 (smie--highlight-matching-block-overlay)
6361 (smie--highlight-matching-block-lastpos)
6362 (smie--highlight-matching-block-timer): New variables.
6363 (smie-highlight-matching-block): New function.
6364 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6365 (smie-setup): Conditionally enable smie-blink-matching-open.
6366
bc8bc17d
WS
63672013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6368
6369 Sync with upstream verilog-mode r840.
6370 * progmodes/verilog-mode.el (verilog-mode-version)
6371 (verilog-mode-release-date): Update.
6372 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6373 (verilog-sig-tieoff): Fix string error on
6374 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6375 (verilog-read-decls): Fix parameters confusing
6376 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6377
df065a0b
EZ
63782013-05-16 Eli Zaretskii <eliz@gnu.org>
6379
6380 * subr.el (reveal-filename): New function.
6381
6382 * loadup.el: Compute Emacs executable versions on MS-Windows,
6383 where executables have the .exe extension. Add a hard link
6384 emacs-XX.YY.ZZ.exe on MS-Windows.
6385
6386 * Makefile.in (XARGS_LIMIT): New variable.
6387 (custom-deps, finder-data, autoloads)
6388 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6389 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6390 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6391 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6392
2d4bf34b
LL
63932013-05-16 Leo Liu <sdl.web@gmail.com>
6394
6395 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6396 (octave-mode-menu, octave-mode-map): Remove its uses.
6397
6b9c2d85
RZ
63982013-05-16 Reto Zimmermann <reto@gnu.org>
6399
6400 Sync with upstream vhdl mode v3.34.2.
6401 * progmodes/vhdl-mode.el: Use `push' throughout.
6402 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6403 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6404 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6405 (vhdl-actual-generic-name): New option to derive actual generic name.
6406 (vhdl-port-paste-signals): Replace formal by actual generics.
6407 (vhdl-beautify): New name for old group vhdl-align. Update users.
6408 (vhdl-beautify-options): New option.
6409 (vhdl-last-input-event): New compat alias. Use throughout.
6410 (vhdl-goto-line): Replace user level function `goto-line'.
6411 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6412 vhdl-fix-statement-buffer.
6413 (vhdl-create-mode-menu): Add some entries.
6414 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6415 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6416 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6417 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6418 to force statements on one line.
6419 (vhdl-remove-trailing-spaces-region):
6420 New, split from vhdl-remove-trailing-spaces.
6421 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6422 Respect vhdl-beautify-options.
6423 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6424 (vhdl-update-sensitivity-list): Not add with index if exists without.
6425 Not include array index with signal. Ignore keywords in comments.
6426 (vhdl-get-visible-signals): Regexp tweaks.
6427 (vhdl-template-component-inst): Handle empty library.
6428 (vhdl-template-type): Add template for 'enum' type.
6429 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6430 Use vhdl-replace-string.
6431 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6432 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6433 (vhdl-speedbar-initialize): Update for above name change.
6434 (vhdl-compose-wire-components): Fix in handling of constants.
6435 (vhdl-error-regexp-emacs-alist): New variable.
6436 (vhdl-error-regexp-add-emacs): New function;
6437 adds support for new compile.el (Emacs 22+)
6438 (vhdl-generate-makefile-1): Change target order for single lib. units.
6439 Allow use of absolute file names.
6440
9df4ec5e
LL
64412013-05-16 Leo Liu <sdl.web@gmail.com>
6442
6443 * simple.el (prog-indent-sexp): Indent enclosing defun.
6444
f5ba00a6
GM
64452013-05-15 Glenn Morris <rgm@gnu.org>
6446
ed8be7ff
GM
6447 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6448 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6449 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6450 (whitespace-highlight): Move to whitespace group.
6451
6452 * comint.el (comint-source):
6453 * pcmpl-linux.el (pcmpl-linux):
6454 * shell.el (shell-faces):
6455 * eshell/esh-opt.el (eshell-opt):
6456 * international/ccl.el (ccl): Remove empty custom groups.
6457
6458 * completion.el (dynamic-completion-mode):
6459 * jit-lock.el (jit-lock-debug-mode):
6460 * minibuffer.el (completion-in-region-mode):
6461 * type-break.el (type-break-mode-line-message-mode)
6462 (type-break-query-mode):
6463 * emulation/tpu-edt.el (tpu-edt-mode):
6464 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6465 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6466 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6467
6468 * term/xterm.el (xterm): Change parent group to terminals.
6469
6470 * master.el (master): Remove empty custom group.
6471 (master-mode): Remove unused :group argument.
6472 * textmodes/refill.el (refill): Remove empty custom group.
6473 (refill-mode): Remove unused :group argument.
6474
6475 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6476
82a7c41b
GM
6477 * cus-dep.el: Provide a feature.
6478 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
6479 Don't mistakenly ignore files whose basenames match a basename
6480 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 6481 Add a fallback method for getting :group.
f5ba00a6 6482
6d65486d
JL
64832013-05-15 Juri Linkov <juri@jurta.org>
6484
da547b32
JL
6485 * isearch.el (isearch-char-by-name): Rename from
6486 `isearch-insert-char-by-name'. Doc fix.
6487 (isearch-forward): Mention `isearch-char-by-name' in
6488 the docstring. (Bug#13348)
6489
6d65486d
JL
6490 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6491 `exit-minibuffer' instead of
6492 `isearch-nonincremental-exit-minibuffer'.
6493 (isearch-edit-string): Remove mention of
6494 `isearch-nonincremental-exit-minibuffer' from docstring.
6495 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6496 (isearch-forward-exit-minibuffer)
6497 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6498
c9990474
SM
64992013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6e911150
SM
6501 * loadup.el: Just use unversioned DOC.
6502
c9990474
SM
6503 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
6504 literals as extending to EOB.
6505 (nxml-last-fontify-end): Remove unused variable.
6506 (nxml-after-change1): Use with-silent-modifications.
6507 (nxml-extend-after-change-region): Simplify.
6508 (nxml-extend-after-change-region1): Remove function.
6509 (nxml-after-change1): Don't adjust for dependent regions.
6510 (nxml-fontify-matcher): Simplify.
6511 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
6512 (xmltok-add-dependent): Remove function.
6513 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
6514 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
6515 (xmltok-scan-prolog-after-processing-instruction-open): Treat
6516 unclosed <[[, <?, comment, and other literals as extending to EOB.
6517 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
6518 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
6519 Remove functions.
6520 (rng-do-some-validation-1): Don't mark dependent regions.
6521 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
6522 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
6523 (nxml-clear-dependent-regions): Remove functions.
6524 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
6525 (nxml-ensure-scan-up-to-date):
6526 Don't clear&mark dependent regions.
6527
e3772e98
LL
65282013-05-15 Leo Liu <sdl.web@gmail.com>
6529
c9990474
SM
6530 * progmodes/octave.el (octave-goto-function-definition):
6531 Improve and fix callers.
e3772e98 6532
5ac2eb34
SM
65332013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6534
c46c57b0
SM
6535 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
6536 the setter (bug#14387).
6537
5ac2eb34
SM
6538 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
6539 surrounding group (bug#14402).
6540
180ed218
JL
65412013-05-14 Juri Linkov <juri@jurta.org>
6542
6543 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
6544 (Bug#14390)
6545
0ac0fecb
GM
65462013-05-14 Glenn Morris <rgm@gnu.org>
6547
6548 * progmodes/f90.el (f90-imenu-generic-expression):
6549 Fix typo in 2013-05-08 change. (Bug#14402)
6550
2e78e6a7
JPG
65512013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6552
5ac2eb34
SM
6553 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
6554 Remove signals for which replies are never received.
2e78e6a7 6555
53267cca
JPG
65562013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6557
6558 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
6559 (gdb-handler-alist, gdb-handler-number): Remove variables.
6560 (gdb-handler-list): New variable.
6561 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
6562 (gdb-pending-handler-p, gdb-handle-reply)
6563 (gdb-remove-all-pending-triggers): New functions.
6564 (gdb-discard-unordered-replies): New defcustom.
6565 (gdb-handler): New defstruct.
6566 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
6567 instead of gdb-pending-triggers. Update docstring.
6568 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6569 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6570 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6571 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6572 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6573 (gdb-frame-handler): Pending triggers are now automatically managed.
6574 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6575 Remove argument.
6576 (gdb-input): Automatically handles pending triggers. Update docstring.
6577 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6578 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6579 Update comments.
6580 (gdb-done-or-error): Now use gdb-handle-reply.
6581
d04ce803
JPG
65822013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6583
6584 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6585 gdb-debug-log.
6586
0114073a
GM
65872013-05-14 Glenn Morris <rgm@gnu.org>
6588
6589 * subr.el (user-emacs-directory-warning): New option.
6590 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6591
4d25fd7e
LL
65922013-05-14 Leo Liu <sdl.web@gmail.com>
6593
6594 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6595 during redisplay.
6596 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
6597 (octave-font-lock-texinfo-comment): Fix invalid search bound
6598 error: wrong side of point.
4d25fd7e 6599
27c8b6eb
GM
66002013-05-14 Glenn Morris <rgm@gnu.org>
6601
61aaeb01
GM
6602 * progmodes/flymake.el (flymake-xml-program): New option.
6603 (flymake-xml-init): Use it.
6604
5bf90bc5
GM
6605 * term/xterm.el: Provide a feature.
6606
6607 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 6608
f4c7dfd2
GM
66092013-05-13 Glenn Morris <rgm@gnu.org>
6610
6611 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6612 Add compat aliases as a hack workaround. (Bug#14384)
6613
2aeb3a1d
LL
66142013-05-13 Leo Liu <sdl.web@gmail.com>
6615
b0e069c2
LL
6616 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6617 ###, and %!.
f5a9432f
LL
6618 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6619 C-M-q.
b0e069c2
LL
6620 (octave-comment-start-skip): Include %!.
6621 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 6622
30ea8374
LL
66232013-05-12 Leo Liu <sdl.web@gmail.com>
6624
6625 * progmodes/octave.el (inferior-octave-startup): Store the value
6626 of __octave_srcdir__ for octave-source-directories.
6627 (inferior-octave-check-process): New function refactored out of
6628 inferior-octave-send-list-and-digest.
6629 (octave-source-directories)
6630 (octave-find-definition-filename-function): New variables.
6631 (octave-source-directories)
6632 (octave-find-definition-default-filename): New functions.
6633 (octave-find-definition): Improve to find functions implemented in C++.
6634
472a3834
GM
66352013-05-12 Glenn Morris <rgm@gnu.org>
6636
6637 * calendar/diary-lib.el (diary-outlook-format-1):
6638 Don't include dayname in the output. (Bug#14349)
6639
3191b52f
GM
66402013-05-11 Glenn Morris <rgm@gnu.org>
6641
0060ac73
GM
6642 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6643
3191b52f
GM
6644 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6645 Treat cc-provide like provide.
6646
e065ba74
KR
66472013-05-11 Kevin Ryde <user42@zip.com.au>
6648
6649 * cus-dep.el (custom-make-dependencies):
6650 Use generated-autoload-load-name for the sake of files such
6651 such cedet/semantic/bovine/c.el, where the base file name
6652 is not in load-path. (Bug#5277)
6653
36f84c37
GM
66542013-05-11 Glenn Morris <rgm@gnu.org>
6655
6656 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6657 Provide features.
6658
c8730c3a
LL
66592013-05-11 Leo Liu <sdl.web@gmail.com>
6660
6661 * progmodes/octave.el (octave-indent-comment): Improve.
6662 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
6663 (octave-eldoc-function-signatures, octave-eldoc-function):
6664 New functions.
c8730c3a
LL
6665 (octave-mode, inferior-octave-mode): Add eldoc support.
6666
212e29f2
RS
66672013-05-11 Richard Stallman <rms@gnu.org>
6668
6669 * epa.el (epa-decrypt-file): Take output file name as argument
6670 and read it using `interactive'.
6671
083fe0d7
LL
66722013-05-11 Leo Liu <sdl.web@gmail.com>
6673
6674 * progmodes/octave.el (octave-beginning-of-line)
6675 (octave-end-of-line): Check before using up-list because it jumps
6676 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
6677 (octave-indent-comment): New function.
6678 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
6679 (octave-begin-keywords, octave-end-keywords)
6680 (octave-reserved-words, octave-smie-bnf-table)
6681 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 6682
8582e4c4
GM
66832013-05-11 Glenn Morris <rgm@gnu.org>
6684
f20def1f
GM
6685 * faces.el (internal-face-x-get-resource):
6686 * frame.el (ns-display-monitor-attributes-list):
d78abe37 6687 * calc/calc-aent.el (math-to-radians-2):
f20def1f 6688 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 6689 Fix declarations.
f20def1f 6690
445f95e2
GM
6691 * calc/calc-menu.el: Make it loadable in isolation.
6692
6693 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6694 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6695 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6696 (eudc-bbdb-query-internal): Require 'bbdb.
6697
99fb2756
GM
6698 * lpr.el (lpr-headers-switches):
6699 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6700
6701 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6702
0da7ad96
GM
6703 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6704
8582e4c4
GM
6705 * term.el (term-set-escape-char): Make it idempotent.
6706
f71c50d0
LL
67072013-05-10 Leo Liu <sdl.web@gmail.com>
6708
5ac2eb34
SM
6709 * progmodes/octave.el (inferior-octave-completion-table):
6710 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
6711 completion due to bug#11906.
6712 (octave-beginning-of-defun): Re-write to be more general.
6713
d5837773
GM
67142013-05-10 Glenn Morris <rgm@gnu.org>
6715
6716 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6717
027c0f75
SM
67182013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6719
6720 * comint.el (comint-redirect-send-command-to-process): Use :around
6721 rather than :override for comint-redirect-filter.
6722 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6723 Call it instead of comint-redirect-original-filter-function (which
6724 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6725
4465bfb4
JD
67262013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6727
6728 * frame.el (display-monitor-attributes-list): Add NS case.
6729 (ns-display-monitor-attributes-list): Declare.
6730
2d809ffa 67312013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
6732
6733 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6734
e54eeb9b
GM
67352013-05-09 Glenn Morris <rgm@gnu.org>
6736
56cd351d
GM
6737 * international/fontset.el (vertical-centering-font-regexp):
6738 Set standard-value.
6739
d84b6108
GM
6740 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6741
a931698a
GM
6742 * bookmark.el (bookmark-search-delay):
6743 * cus-start.el (vertical-centering-font-regexp):
6744 * ps-mule.el (ps-mule-font-info-database-default):
6745 * ps-print.el (ps-default-fg, ps-default-bg):
6746 * type-break.el (type-break-good-break-interval):
6747 * whitespace.el (whitespace-indentation-regexp)
6748 (whitespace-space-after-tab-regexp):
6749 * emacs-lisp/testcover.el (testcover-1value-functions)
6750 (testcover-noreturn-functions, testcover-progn-functions)
6751 (testcover-prog1-functions):
6752 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6753 * eshell/em-glob.el (eshell-glob-translate-alist):
6754 * play/tetris.el (tetris-tty-colors):
6755 * progmodes/cpp.el (cpp-face-default-list):
6756 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6757 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6758 (idlwave-help-browser-generic-args):
6759 * progmodes/make-mode.el (makefile-special-targets-list):
6760 * progmodes/python.el (python-shell-virtualenv-path):
6761 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6762 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6763 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6764 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6765 * textmodes/reftex-vars.el (reftex-format-label-function):
6766 * textmodes/remember.el (remember-diary-file): Fix custom types.
6767
e54eeb9b
GM
6768 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6769 Add :version.
6770
455851dd
LL
67712013-05-09 Leo Liu <sdl.web@gmail.com>
6772
6773 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 6774 Restore file completion. (Bug#14300)
455851dd
LL
6775 (inferior-octave-startup): Fix incorrect highlighting for the
6776 first prompt.
6777
a9e4425b
SM
67782013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6779
6780 * progmodes/ruby-mode.el: First cut at SMIE support.
6781 (ruby-use-smie): New var.
6782 (ruby-smie-grammar): New constant.
6783 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6784 (ruby-smie--forward-token, ruby-smie--backward-token)
6785 (ruby-smie-rules): New functions.
6786 (ruby-mode-variables): Setup SMIE if applicable.
6787
060ca408
EZ
67882013-05-08 Eli Zaretskii <eliz@gnu.org>
6789
6790 * simple.el (line-move-visual): Signal beginning/end of buffer
6791 only if vertical-motion moved less than it was requested. Avoids
6792 silly incorrect error messages when there are display strings with
6793 multiple newlines at EOL.
6794
1d5963cc
SM
67952013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6796
6797 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6798 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6799 (prolog-char-quote-workaround):
6800 * progmodes/cperl-mode.el (cperl-under-as-char):
6801 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
6802 Mark as obsolete.
6803 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
6804 their declaration.
6805 (vhdl-mode-syntax-table-init): Remove.
6806
c9990474
SM
6807 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6808 last change.
1d5963cc
SM
6809
6810 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6811 syntax for "_".
6812 (ld-script-font-lock-keywords):
6813 Change regexps to use things like \_< and \_>.
6814
6815 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6816 Change all regexps to use things like \_< and \_>.
6817
6818 * progmodes/autoconf.el (autoconf-definition-regexp)
6819 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6820 Handle a _ with symbol syntax.
6821 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6822
c9990474
SM
6823 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6824 Consolidate declaration.
1d5963cc
SM
6825 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6826 the declaration.
6827 (ada-create-syntax-table): Remove.
6828 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6829 already has the right syntax nowadays.
6830 (ada-goto-next-word): Don't change the syntax of "_".
6831
6832 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6833 with-wrapper-hook.
6834
72d3cfca
SS
68352013-05-08 Sam Steingold <sds@gnu.org>
6836
6837 * thingatpt.el (thing-at-point): Accept optional second argument
6838 NO-PROPERTIES to strip the text properties from the return value.
6839 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6840 to `thing-at-point' instead of stripping the properties ourselves.
6841 Also, when `thing-at-point' fails to find a url, prepend "http://"
6842 to the filename at point on the assumption that the user is
6843 pointing at something like gnu.org/gnu.
6844
5cb15713
JB
68452013-05-08 Juanma Barranquero <lekktu@gmail.com>
6846
6847 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6848 * faces.el (crm-separator):
6849 Silence byte-compiler.
6850
6851 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6852 (tool-bar-map): Remove unneeded defvars.
6853
ea78b95b
LL
68542013-05-08 Leo Liu <sdl.web@gmail.com>
6855
6856 Re-work a fix for bug#10994 based on Le Wang's patch.
6857 * ido.el (ido-remove-consecutive-dups): New helper.
6858 (ido-completing-read): Use it.
6859 (ido-chop): Revert fix for bug#10994.
6860
dc7466df
AS
68612013-05-08 Adam Spiers <emacs@adamspiers.org>
6862
6863 * cus-edit.el (custom-save-variables):
6864 Pretty-print long values. (Bug#14187)
6865
9ecf672a
GM
68662013-05-08 Glenn Morris <rgm@gnu.org>
6867
6868 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6869 (m4-mode-syntax-table): Init in the defvar.
6870 (m4-mode-abbrev-table): Let define-derived-mode define it.
6871
3f555be8
TT
68722013-05-08 Tom Tromey <tromey@redhat.com>
6873
6874 * progmodes/m4-mode.el (m4-mode-syntax-table):
6875 Do not treat "_" as word constituent. (Bug#14167)
6876
7cc8ae06
GM
68772013-05-07 Glenn Morris <rgm@gnu.org>
6878
4f58bc06
GM
6879 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6880 Remove explicit eshell-isearch-cancel-map.
6881
7cc8ae06
GM
6882 * progmodes/f90.el (f90-smart-end-names): New option.
6883 (f90-smart-end): Doc fix.
6884 (f90-end-block-optional-name): New constant.
6885 (f90-block-match): Respect f90-smart-end-names.
6886
ceb57e59
SM
68872013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6888
6889 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6890 about implicit semi-colons (bug#14218).
6891
4e3f9230
YM
68922013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6893
6894 * frame.el (display-monitor-attributes-list)
6895 (frame-monitor-attributes): New functions.
6896
203a5572
LL
68972013-05-06 Leo Liu <sdl.web@gmail.com>
6898
6899 * progmodes/octave.el (octave-syntax-propertize-function): Change
6900 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6901 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 6902 (octave-completion-at-point): Rename from
203a5572
LL
6903 octave-completion-at-point-function.
6904 (inferior-octave-directory-tracker): Robustify.
6905 (octave-text-functions): Remove and fix its uses. No such things
6906 any more.
6907
ee6cff99
SM
69082013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6909
6910 * emacs-lisp/trace.el (trace--display-buffer): New function.
6911 (trace-make-advice): Use it.
6912
32985194
JL
69132013-05-06 Juri Linkov <juri@jurta.org>
6914
6915 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6916 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6917 Doc fix.
6918 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6919 in the help string. (Bug#12985)
6920
a1c700de
KD
69212013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6922
6923 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6924
c67c0839
SM
69252013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6926
323885fd
SM
6927 * progmodes/perl-mode.el: Add support for here documents.
6928 (perl-syntax-propertize-function): Match here-doc markers.
6929 (perl-syntax-propertize-special-constructs): Find their end.
6930 (perl-imenu-generic-expression): Use [:alnum:].
6931
c67c0839
SM
6932 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6933 (advice--add-function): Refresh the advice if already present
6934 (bug#14317).
6935
d491e7a8
IA
69362013-05-06 Ivan Andrus <darthandrus@gmail.com>
6937
6938 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6939
ddf9925e
GM
69402013-05-06 Glenn Morris <rgm@gnu.org>
6941
7cc3af27
GM
6942 * w32-fns.el (w32-charset-info-alist): Declare.
6943
16e343d6
GM
6944 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6945 of its defcustom properties.
6946 (eshell-cmpl-initialize): No need to load pcomplete.
6947
7d889a47
GM
6948 * generic-x.el: No need to require comint when compiling.
6949
ddf9925e
GM
6950 * net/eudc-export.el: Make it loadable without bbdb.
6951 (top-level): Use require rather than load-library.
6952 (eudc-create-bbdb-record, eudc-bbdbify-phone)
6953 (eudc-batch-export-records-to-bbdb)
6954 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6955 Require bbdb.
6956
1e2c18df
SM
69572013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6960 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6961 some tweaks, instead.
6962
02502a5f
LL
69632013-05-05 Leo Liu <sdl.web@gmail.com>
6964
6965 * progmodes/octave.el (octave-font-lock-keywords)
6966 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6967 (inferior-octave-send-list-and-digest): Improve error message.
6968 (octave-mode, inferior-octave-mode): Use setq-local.
6969 (octave-help): Set info-lookup-mode.
6970
0dc04f42
RS
69712013-05-05 Richard Stallman <rms@gnu.org>
6972
6c54491c
RS
6973 * vc/compare-w.el (compare-windows-whitespace):
6974 Treat no-break space as whitespace.
6975
0dc04f42
RS
6976 * mail/rmailsum.el (rmail-summary-rmail-update):
6977 Detect empty summary and don't change selected message.
6978 (rmail-summary-goto-msg): Likewise.
6979
df8f35df
RS
6980 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6981 Doc fixes, rename args.
6982
5356e1a3
AM
69832013-05-05 Alan Mackenzie <acm@muc.de>
6984
6985 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6986
d44014cb
JL
69872013-05-05 Juri Linkov <juri@jurta.org>
6988
6989 * info.el (Info-read-subfile): Use (point-min) instead of (point)
6990 to not add the length of the summary segment to the return value.
6991 (Bug#14125)
6992
c129b51f
LL
69932013-05-05 Leo Liu <sdl.web@gmail.com>
6994
6995 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6996 (inferior-octave-output-filter): Remove.
6997 (octave-send-region, inferior-octave-startup): Fix callers.
6998 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6999 (octave-binary-file-extensions): New user variable.
7000 (octave-find-definition): Confirm if opening binary files.
7001 (octave-help-file): Use octave-find-definition to get the binary
7002 confirmation.
7003 (octave-help): Adjust for octave-help-file change.
7004
aa7dab97
SM
70052013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7006
7007 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7008 Merge the two entries that handle function definitions.
7009 (pascal--syntax-propertize): New const.
7010 (pascal-mode): Use it. Use setq-local.
7011
fd3a9a6b
GM
70122013-05-04 Glenn Morris <rgm@gnu.org>
7013
7014 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7015 (diary-from-outlook): Respect diary-from-outlook-function.
7016
30c7e542
SM
70172013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7018
7019 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7020 Move the declaration from C.
7021 (read-minibuffer, eval-minibuffer): Move from C.
7022 (completion-setup-function): Avoid minibuffer-completion-contents.
7023
b54f978b
LL
70242013-05-03 Leo Liu <sdl.web@gmail.com>
7025
7026 * progmodes/octave.el (octave-font-lock-keywords): Do not
7027 dehighlight 'end' in comments or strings.
30c7e542
SM
7028 (octave-completing-read, octave-goto-function-definition):
7029 New helpers.
d4d0f9b3
LL
7030 (octave-help-buffer): New user variable.
7031 (octave-help-file, octave-help-function): New button types.
7032 (octave-help): New command and bind it to C-h ;.
7033 (octave-find-definition): New command and bind it to M-.
d74a1581 7034 (user-error): Alias to error if not defined.
b54f978b 7035
27135018
LL
70362013-05-02 Leo Liu <sdl.web@gmail.com>
7037
7038 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7039 for \. (bug#14332)
7040 (octave-font-lock-keywords): Include [ and {.
7041
0d634d3a
LL
70422013-05-02 Leo Liu <sdl.web@gmail.com>
7043
7044 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7045 (inferior-octave): Remove calling comint-mode and return the buffer.
7046 (inferior-octave-startup): Cosmetic changes.
7047
b4c8295e
LL
70482013-05-02 Leo Liu <sdl.web@gmail.com>
7049
30c7e542
SM
7050 * progmodes/octave.el (octave-syntax-propertize-function):
7051 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 7052
f12ad6ec
GM
70532013-05-02 Glenn Morris <rgm@gnu.org>
7054
7055 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7056 * desktop.el (vc-dir-mode): Just autoload it here.
7057
30cac1e0
AM
70582013-05-02 Alan Mackenzie <acm@muc.de>
7059
7060 Eliminate variable c-standard-font-lock-fontify-region-function.
7061 * progmodes/cc-mode.el
7062 (c-standard-font-lock-fontify-region-function): Remove.
7063 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7064
d8ef28b1
LL
70652013-05-01 Leo Liu <sdl.web@gmail.com>
7066
2640d52e 7067 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 7068 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 7069 variables were removed from Octave in 2007.
d8ef28b1
LL
7070 (inferior-octave-startup): Fix uses.
7071 (comint-line-beginning-position): Remove compatibility code for
7072 emacs 21.
7073
ac63ec89
JL
70742013-05-01 Juri Linkov <juri@jurta.org>
7075
7076 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7077
9e9be37c
JL
70782013-05-01 Juri Linkov <juri@jurta.org>
7079
7080 * comint.el (comint-previous-matching-input): Don't print message
7081 "History item: %d" when `isearch-mode' is active.
7082 (comint-history-isearch-message): Print message "History item: %d"
7083 when `comint-input-ring-index' is not empty and this function is
7084 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7085
9b92c13b
LL
70862013-05-01 Leo Liu <sdl.web@gmail.com>
7087
7088 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7089 definitions. Use completion-at-point to insert keywords.
7090 (octave-abbrev-start): Remove.
7091 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7092
b12d33d7
LL
70932013-04-30 Leo Liu <sdl.web@gmail.com>
7094
7095 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7096 change.
7097
3d1c39fa
AM
70982013-04-30 Alan Mackenzie <acm@muc.de>
7099
7100 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
7101 * progmodes/cc-engine.el (c-back-over-member-initializers):
7102 new function.
3d1c39fa
AM
7103 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7104 (most) member init lists.
7105
5147fc17
RS
71062013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7107
7108 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7109 variable.
7110
5b78d7fc
LL
71112013-04-30 Leo Liu <sdl.web@gmail.com>
7112
7113 * progmodes/octave.el (octave-variables): Remove. No builtin
7114 variables any more. All converted to functions.
7115 (octave-font-lock-keywords, octave-completion-at-point-function):
7116 Fix uses.
7117 (octave-font-lock-texinfo-comment): New user variable.
7118 (octave-texinfo-font-lock-keywords): New variable for texinfo
7119 comment block.
7120 (octave-function-comment-block): New face.
7121 (octave-font-lock-texinfo-comment): New function.
7122 (octave-mode): Font lock texinfo comment block.
7123
38d8527b
LL
71242013-04-29 Leo Liu <sdl.web@gmail.com>
7125
7126 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7127 indexing expression.
7128 (octave-continuation-string): Do not use \.
7129 (inferior-octave-complete-impossible): Remove.
7130 (inferior-octave-completion-table)
7131 (inferior-octave-completion-at-point): Remove its uses.
7132 (inferior-octave-startup): completion_matches was introduced to
7133 Octave in 1996 so safe to assume it.
7134 (octave-function-file-comment): Improve to follow how Octave does it.
7135 (octave-update-function-file-comment): Tweak.
7136
2ec12cb0
LL
71372013-04-29 Leo Liu <sdl.web@gmail.com>
7138
7139 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7140 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7141 (octave-function-file-comment): Fix typo.
7142 (octave-sync-function-file-names): Use read-char-choice.
7143
6eaed048
JB
71442013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7145
7146 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7147 to t for the less important warnings.
7148
3ffa2d4f
DH
71492013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7150
7151 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7152
685c9501
GM
71532013-04-27 Glenn Morris <rgm@gnu.org>
7154
7155 * vc/log-view.el (log-view-current-entry):
7156 Treat "---" separator lines as part of the following rev. (Bug#14169)
7157
0208ede7
JL
71582013-04-27 Juri Linkov <juri@jurta.org>
7159
7160 * subr.el (read-number): Doc fix about using it by interactive
7161 code letter `n'. (Bug#14254)
7162
5db9dace
JL
71632013-04-27 Juri Linkov <juri@jurta.org>
7164
7165 * desktop.el (desktop-auto-save-timeout): New option.
7166 (desktop-file-checksum): New variable.
7167 (desktop-save): Add optional arg `auto-save' and don't auto-save
7168 if nothing changed.
7169 (desktop-auto-save-timer): New variable.
7170 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7171 (after-init-hook): Call `desktop-auto-save-set-timer'.
7172 Suggested by Reuben Thomas <rrt@sc3d.org> in
7173 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7174
b7260dd4
LL
71752013-04-27 Leo Liu <sdl.web@gmail.com>
7176
7177 * progmodes/octave.el (octave-function-file-p)
7178 (octave-skip-comment-forward, octave-function-file-comment)
7179 (octave-update-function-file-comment): New functions.
7180 (octave-mode-map): Bind C-c ; to
7181 octave-update-function-file-comment.
7182 (octave-mode-menu): Add octave-update-function-file-comment.
7183 (octave-mode, inferior-octave-mode): Fix doc-string.
7184 (octave-insert-defun): Conform to Octave's coding convention.
7185 (Bug#14285)
7186
7187 * files.el (basic-save-buffer): Don't let errors in
7188 before-save-hook prevent saving buffer.
7189
c46da669
RW
71902013-04-20 Roland Winkler <winkler@gnu.org>
7191
7192 * faces.el (read-face-name): Use completing-read if arg multiple
7193 is nil.
7194
a81ee1eb
IL
71952013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7196
7197 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
7198 displayed, move point to after the totals line.
7199 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
7200 for the details.
7201
4fac34ce
SM
72022013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7203
7204 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7205 Add current dir to the load-path.
7206 (package-generate-autoloads): Don't rely on
7207 autoload-ensure-default-file.
7208
f6bfc063
RT
72092013-04-26 Reuben Thomas <rrt@sc3d.org>
7210
d40ab5cf
BG
7211 * textmodes/remember.el (remember-store-in-files): Document that
7212 the file name format is passed to `format-time-string'.
f6bfc063 7213
e55d3b04
LL
72142013-04-26 Leo Liu <sdl.web@gmail.com>
7215
7216 * progmodes/octave.el (octave-sync-function-file-names): New function.
7217 (octave-mode): Use it in before-save-hook.
7218
e53052d3
SM
72192013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7220
140ef50c
SM
7221 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7222 (bug#14274).
7223
e53052d3
SM
7224 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7225 \n and comment, even if it's not an implicit ; (bug#14218).
7226
af80458d 72272013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
7228
7229 * subr.el (read-number): Once more use `read' rather than
7230 `string-to-number', to trap non-numeric input. (Bug#14254)
7231
af80458d 72322013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
7233
7234 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7235 Use `syntax-multiline' text property consistently instead of
8a621d53 7236 `font-lock-multiline'. (Bug#14237)
70203c2e 7237
e6ea1f6c
GM
72382013-04-26 Glenn Morris <rgm@gnu.org>
7239
7240 * emacs-lisp/shadow.el (list-load-path-shadows):
7241 No longer necessary to check for duplicate simple.el, since
7242 2012-07-07 change to init_lread to not include installation lisp
7243 directories in load-path when running uninstalled. (Bug#14270)
7244
070ccca4
LL
72452013-04-26 Leo Liu <sdl.web@gmail.com>
7246
7247 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7248 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 7249 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
7250 octave-in-string-or-comment-p.
7251 (octave-in-comment-p, octave-in-string-p)
7252 (octave-in-string-or-comment-p): Replace defsubst with defun.
7253
9d1c5fb6
PE
72542013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7255
7256 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7257
c034abda
BG
72582013-04-25 Bastien Guerry <bzg@gnu.org>
7259
7260 * textmodes/remember.el (remember-data-directory)
7261 (remember-directory-file-name-format): Fix custom types.
7262
584ea277
LL
72632013-04-25 Leo Liu <sdl.web@gmail.com>
7264
e53052d3
SM
7265 * progmodes/octave.el (octave-completion-at-point-function):
7266 Make use of inferior octave process.
584ea277
LL
7267 (octave-initialize-completions): Remove.
7268 (inferior-octave-completion-table): New function.
7269 (inferior-octave-completion-at-point): Use it.
7270 (octave-completion-alist): Remove.
7271
1693b06a
SM
72722013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7273
7274 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7275 (opascal-mode-syntax-table): New var.
7276 (opascal-literal-kind, opascal-is-literal-end)
7277 (opascal-literal-token-at): Rewrite.
7278 (opascal--literal-start-re, opascal-font-lock-keywords)
7279 (opascal--syntax-propertize): New constants.
7280 (opascal-font-lock-defaults): Adjust.
7281 (opascal-mode): Use them. Set comment-<foo> variables as well.
7282 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7283 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7284 (delphi-other-face, opascal-other-face): Remove face variables.
7285 (opascal-save-state): Remove macro.
7286 (opascal-fontifying-progress-step): Remove constant.
7287 (opascal--ignore-changes): Remove var.
7288 (opascal-set-token-property, opascal-parse-next-literal)
7289 (opascal-is-stable-literal, opascal-complete-literal)
7290 (opascal-is-literal-start, opascal-face-of)
7291 (opascal-parse-region, opascal-parse-region-until-stable)
7292 (opascal-fontify-region, opascal-after-change)
7293 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7294 (opascal-debug-parse-region, opascal-debug-parse-window)
7295 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7296 (opascal-debug-fontify-buffer): Remove.
7297 (opascal-debug-mode-map): Adjust accordingly.
7298
be64c05d
LL
72992013-04-25 Leo Liu <sdl.web@gmail.com>
7300
7301 Merge octave-mod.el and octave-inf.el into octave.el with some
7302 cleanups.
7303 * progmodes/octave.el: New file renamed from octave-mod.el.
7304 * progmodes/octave-inf.el: Merged into octave.el.
7305 * progmodes/octave-mod.el: Renamed to octave.el.
7306
d79d37bd
TH
73072013-04-25 Tassilo Horn <tsdh@gnu.org>
7308
7309 * textmodes/reftex-vars.el
7310 (reftex-label-ignored-macros-and-environments): New defcustom.
7311
7312 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7313
ced3fc5d
SM
73142013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7315
7316 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7317 (smie-indent-keyword): Improve the check to ensure that the next
7318 comment is really on the same line.
7319 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7320
7321 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7322 semi-colons if the line is not otherwise empty (bug#14218).
7323
1c141dad
GM
73242013-04-25 Glenn Morris <rgm@gnu.org>
7325
7326 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7327
5058062a
SM
73282013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7329
7330 * progmodes/opascal.el (opascal-set-token-property): Rename from
7331 opascal-set-text-properties and only set `token' (bug#14134).
7332 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7333 (opascal-literal-text-properties): Remove.
7334 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7335 Adjust callers.
7336
5db9dace 73372013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
7338
7339 * textmodes/remember.el (remember-handler-functions): Add an
7340 option for a new handler `remember-store-in-files'.
7341 (remember-data-directory, remember-directory-file-name-format):
7342 New options.
7343 (remember-store-in-files): New function to store remember notes
7344 as separate files within a directory.
7345
4391916c
MH
73462013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7347
7348 * progmodes/compile.el (compilation-next-error-function):
7349 Pass "formats" to compilation-find-file (bug#11777).
7350
bb7cdf58
GM
73512013-04-24 Glenn Morris <rgm@gnu.org>
7352
3b8fe752 7353 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
7354 * vc/vc-hg.el (vc-hg-print-log):
7355 * vc/vc-svn.el (vc-svn-print-log):
7356 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7357
bb7cdf58
GM
7358 * vc/vc-bzr.el (vc-bzr-print-log):
7359 * vc/vc-cvs.el (vc-cvs-print-log):
7360 * vc/vc-git.el (vc-git-print-log):
7361 * vc/vc-hg.el (vc-hg-print-log):
7362 * vc/vc-mtn.el (vc-mtn-print-log):
7363 * vc/vc-rcs.el (vc-rcs-print-log):
7364 * vc/vc-sccs.el (vc-sccs-print-log):
7365 * vc/vc-svn.el (vc-svn-print-log):
7366 * vc/vc.el (vc-print-log-internal): Doc fixes.
7367
b46a056e
GM
73682013-04-23 Glenn Morris <rgm@gnu.org>
7369
7370 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7371 Remove venerable code attempting to avoid substitute-command-keys.
7372
0aecf718
TH
73732013-04-23 Tassilo Horn <tsdh@gnu.org>
7374
4391916c
MH
7375 * textmodes/reftex-vars.el (reftex-label-regexps):
7376 Call `reftex-compile-variables' after changes to this variable.
0aecf718 7377
117f94cf
SM
73782013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7379
4391916c 7380 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
7381 Use lexical-binding.
7382 (jit-lock-force-redisplay): Use markers, check buffer's continued
7383 existence and beware narrowed buffers.
7384 (jit-lock-fontify-now): Adjust call accordingly.
7385
1d829c64
SM
73862013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7387
7388 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7389 to avoid misleading the user.
7390
72d548a9
LL
73912013-04-22 Leo Liu <sdl.web@gmail.com>
7392
7393 * info-look.el: Prefer latex2e.info. (Bug#14240)
7394
d0853629
MA
73952013-04-22 Michael Albinus <michael.albinus@gmx.de>
7396
7397 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7398
7399 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 7400 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
7401 (tramp-set-completion-function, tramp-parse-putty):
7402 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7403 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7404 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7405 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7406 (tramp-call-local-coding-command): Use `tramp-call-process'
7407 instead of `tramp-compat-call-process'.
7408
7409 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7410 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7411 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 7412 (tramp-find-inline-compress): Improve traces.
d0853629
MA
7413 (tramp-maybe-send-script): Check for Perl binary.
7414 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7415
38cc0210
DU
74162013-04-22 Daiki Ueno <ueno@gnu.org>
7417
7418 * epg.el (epg-context-pinentry-mode): New function.
7419 (epg-context-set-pinentry-mode): New function.
7420 (epg--start): Pass --pinentry-mode option to gpg command.
7421
cc641ee1
XF
74222013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7423
02d844b5 7424 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 7425 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 7426 `completion-at-point'. (Bug#13774)
5d4e5c31 7427
cc641ee1
XF
7428 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7429 default key binding for `describe-distribution' has been moved to
7430 `C-h C-o'. (Bug#13970)
7431
1b42ee43
GM
74322013-04-21 Glenn Morris <rgm@gnu.org>
7433
7434 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7435 Add doc strings.
7436 (vc-print-log): Clarify interactive prompt.
7437
a6d63d97
GM
74382013-04-20 Glenn Morris <rgm@gnu.org>
7439
7440 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7441 No longer include timestamp etc information.
7442
d7f5c16f
RW
74432013-04-20 Roland Winkler <winkler@gnu.org>
7444
7445 * faces.el (read-face-name): Bug fix, return just one face if arg
7446 multiple is nil. (Bug#14209)
7447
bcd7a0a4
SM
74482013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7449
7450 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7451 (remove-function): Autoload.
7452
7453 * comint.el (comint-redirect-original-filter-function): Remove.
7454 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
7455 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7456 (vc-cvs-annotate-command):
bcd7a0a4
SM
7457 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7458 * progmodes/prolog.el (prolog-consult-compile):
7459 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7460 Use add/remove-function instead.
7461 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7462 (gud-tooltip-process-output, gud-tooltip-tips):
7463 Use add/remove-function instead.
7464 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7465 (scheme-interaction-mode, exit-scheme-interaction-mode):
7466 Use add/remove-function instead.
7467
7468 * vc/vc-dispatcher.el: Use lexical-binding.
7469 (vc--process-sentinel): Rename from vc-process-sentinel.
7470 Change last arg to be the code to run. Don't use vc-previous-sentinel
7471 and vc-sentinel-commands any more.
7472 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7473 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7474
e36b2d20 74752013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 7476
bcd7a0a4 7477 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 7478 Handle function names with a single character. (Bug#14111)
4d3268ba 7479
781b4af6 74802013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
7481
7482 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7483 for subroutines defined in an eval (bug#14182).
7484
7d688336
TV
74852013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7486
7487 * bookmark.el (bookmark-completing-read): Improve handling of empty
7488 string (bug#14176).
7489
31dcede0
SM
74902013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7491
7492 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7493
adc31213
FEG
74942013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7495
7496 New faster Imenu implementation (bug#14058).
7497 * progmodes/python.el:
7498 (python-imenu-prev-index-position):
7499 (python-imenu-format-item-label-function)
7500 (python-imenu-format-parent-item-label-function)
7501 (python-imenu-format-parent-item-jump-label-function):
7502 New vars.
7503 (python-imenu-format-item-label)
7504 (python-imenu-format-parent-item-label)
7505 (python-imenu-format-parent-item-jump-label)
7506 (python-imenu--put-parent, python-imenu--build-tree)
7507 (python-imenu-create-index, python-imenu-create-flat-index)
7508 (python-util-popn): New functions.
7509 (python-mode): Set imenu-create-index-function to
7510 python-imenu-create-index.
7511
cdca8255
SM
75122013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7513
7514 * winner.el (winner-active-region): Use region-active-p, activate-mark
7515 and deactivate-mark (bug#14225).
7516
7517 * simple.el (deactivate-mark): Don't inline it.
7518
beb42340
MA
75192013-04-18 Michael Albinus <michael.albinus@gmx.de>
7520
7521 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
7522
fc7f4d7e
TH
75232013-04-18 Tassilo Horn <tsdh@gnu.org>
7524
7525 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
7526 file extensions from the archive-mode entry in order to prefer
7527 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
7528
29f47822
LL
75292013-04-18 Leo Liu <sdl.web@gmail.com>
7530
7531 * bindings.el (help-event-list): Add ?\?.
7532
d36ed1c8
SM
75332013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * subr.el (with-wrapper-hook): Declare obsolete.
7536 * simple.el (filter-buffer-substring-function): New hook.
7537 (filter-buffer-substring): Use it.
7538 (filter-buffer-substring-functions): Mark obsolete.
7539 * minibuffer.el (completion-in-region-function): New hook.
7540 (completion-in-region): Use it.
7541 (completion-in-region-functions): Mark obsolete.
7542 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
7543 * abbrev.el (abbrev-expand-function): New hook.
7544 (expand-abbrev): Use it.
7545 (abbrev-expand-functions): Mark obsolete.
7546 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
7547 and :filter-return.
7548
04754d36
FEG
75492013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7550
7551 * progmodes/python.el (python-nav--syntactically): Fix cornercases
7552 and do not care about match data.
7553
dd8791e9
SM
75542013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7555
7556 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
7557 completion tables when completing error conditions and
7558 `declare' arguments.
7559 (lisp-complete-symbol, field-complete): Mark as obsolete.
7560 (check-parens): Unmatched parens are user errors.
7561 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
7562
ffe54a13
AM
75632013-04-17 Michal Nazarewicz <mina86@mina86.com>
7564
dd8791e9
SM
7565 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
7566 command changed buffer (ie. `flyspell-pre-buffer' is not current
7567 buffer), which prevents making decisions based on invalid value of
7568 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7569 cause an error when `flyspell-pre-point' was nil after switching
7570 buffers.
7571 (flyspell-post-command-hook): No longer needs to change buffers when
7572 checking pre-word. While at it remove unnecessary progn.
ffe54a13 7573
ec7e39f2
AM
75742013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7575
7576 * textmodes/ispell.el (ispell-add-per-file-word-list):
7577 Fix `flyspell-correct-word-before-point' error when accepting
7578 words and `coment-padding' is an integer by using
7579 `comment-normalize-vars' (Bug #14214).
7580
083850a6
FEG
75812013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7582
7583 New defun movement commands.
7584 * progmodes/python.el (python-nav--syntactically)
7585 (python-nav--forward-defun, python-nav-backward-defun)
7586 (python-nav-forward-defun): New functions.
7587
619ed6e1
FEG
75882013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7589
7590 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7591 (python-syntax-context): Use named compiler-macro for backwards
7592 compatibility with Emacs 24.x.
7593
7a1beb6c
LL
75942013-04-17 Leo Liu <sdl.web@gmail.com>
7595
7596 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7597 octave-hide-process-buffer.
7598
2d3fa3e5
SM
75992013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7600
7601 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7602 (bug#14216).
7603
7ce5be54
JPG
76042013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7605
7606 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7607 Fix adjustment of offset when receiving incomplete responses from GDB
7608 (bug#14129).
7609
351edece
SM
76102013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7611
7612 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7613 python-mode-abbrev-table.
7614 (python-skeleton-define): Adjust accordingly.
7615 (python-mode-abbrev-table): New table that inherits from it so that
7616 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7617
7618 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7619 (abbrev-symbol): Use it.
7620 (abbrev--before-point): Use it since we already handle inheritance.
7621
613f9481
LL
76222013-04-16 Leo Liu <sdl.web@gmail.com>
7623
7624 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7625 binding to info-lookup-symbol.
7626
51646b62
JB
76272013-04-16 Juanma Barranquero <lekktu@gmail.com>
7628
7629 * minibuffer.el (completion--twq-all):
7630 * term/ns-win.el (ns-initialize-window-system):
7631 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7632
efb3f01d
SM
76332013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7634
36c0a301
SM
7635 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7636 global bindings.
7637
efb3f01d
SM
7638 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7639
fb549d64
DG
76402013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7641
7642 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7643 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7644 to nil.
7645 (ruby-end-of-defun): Remove the unused arg, change the docstring
7646 to reflect that this function is only used as the value of
7647 `end-of-defun-function'.
7648 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7649 to reflect an earlier change that beginning/end-of-defun functions
7650 jump between methods in a class definition, as well as top-level
7651 functions.
7652
21e8fe2f
SM
76532013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7654
7655 * minibuffer.el (minibuffer-complete): Don't just scroll
7656 a *Completions* that's been iconified.
7657 (minibuffer-force-complete): Make sure repetitions do cycle when going
7658 through completion-in-region -> minibuffer-complete.
7659
20e527d0
AM
76602013-04-15 Alan Mackenzie <acm@muc.de>
7661
7662 Correct the placement of c-cpp-delimiters when there're #s not at
7663 col 0.
7664
7665 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7666 place a submatch around the #.
21e8fe2f
SM
7667 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7668 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
7669 on the #, not BOL.
7670
dabefae5
SM
76712013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7672
7673 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7674 (advice--member-p): New arg `name'.
7675 (advice--add-function, advice-member-p): Use it (bug#14202).
7676
85c9ab64
AM
76772013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7678
7679 Reformulate java imenu-generic-expression.
7680 The old expression contained ill formed regexps.
7681
7682 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7683 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7684 (cc-imenu-java-method-arg-regexp): New defconsts.
7685 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 7686 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
7687 handling of spaces in the regexp.
7688
0f821d99
AM
76892013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7690
7691 * textmodes/ispell.el (ispell-command-loop): Remove
7692 flyspell highlight of a word when ispell accepts it (bug #14178).
7693
eb922adf
MA
76942013-04-15 Michael Albinus <michael.albinus@gmx.de>
7695
7696 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7697 uses code from the previous `ange-ftp-run-real-handler'.
7698 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7699 only in case that function exist. This is needed for proper
7700 unloading of Tramp.
7701
4d9a0979
TH
77022013-04-15 Tassilo Horn <tsdh@gnu.org>
7703
7704 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7705
7706 * textmodes/reftex.el (reftex-compile-variables): Use it.
7707
a829b0dc
SM
77082013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7709
91e8293c
SM
7710 * files.el (normal-mode): Only use default major-mode if no other mode
7711 was specified.
7712
830aed4d
SM
7713 * emacs-lisp/trace.el (trace-values): New function.
7714
a829b0dc
SM
7715 * files.el: Allow : in local variables (bug#14089).
7716 (hack-local-variable-regexp): New var.
7717 (hack-local-variables-prop-line, hack-local-variables): Use it.
7718
7ae9f0fb
RW
77192013-04-13 Roland Winkler <winkler@gnu.org>
7720
7721 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7722 data before it gets modified by bibtex-beginning-of-entry.
7723
6646e848
RW
77242013-04-13 Roland Winkler <winkler@gnu.org>
7725
7726 * textmodes/bibtex.el (bibtex-url): Doc fix.
7727
77282013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
7729
7730 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7731 does not visit a BibTeX file, exclude it from the list of buffers
7732 returned by bibtex-initialize.
7733
0aa3616e
SB
77342013-04-13 Stephen Berman <stephen.berman@gmx.net>
7735
7736 * window.el (split-window): Remove interactive form, since as a
7737 command this function is a special case of split-window-below.
7738 Correct doc string.
7739
011cddd6
RW
77402013-04-12 Roland Winkler <winkler@gnu.org>
7741
7742 * faces.el (read-face-name): Do not override value of arg default.
7743 Allow single faces and strings as default values. Remove those
7744 elements from return value that are not faces.
7745 (describe-face): Simplify.
7746 (face-at-point): New optional args thing and multiple so that this
7747 function can provide the same functionality previously provided by
7748 read-face-name.
7749 (make-face-bold, make-face-unbold, make-face-italic)
7750 (make-face-unitalic, make-face-bold-italic, invert-face)
7751 (modify-face, read-face-and-attribute): Use face-at-point.
7752
7753 * cus-edit.el (customize-face, customize-face-other-window)
7754 * cus-theme.el (custom-theme-add-face)
7755 * face-remap.el (buffer-face-set)
7756 * facemenu.el (facemenu-set-face): Use face-at-point.
7757
f24e0036
MA
77582013-04-12 Michael Albinus <michael.albinus@gmx.de>
7759
7760 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7761
da3cda2d
TH
77622013-04-10 Tassilo Horn <tsdh@gnu.org>
7763
7764 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7765 off leading { and trailing } from field values.
7766
15e54145
SM
77672013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7768
78ce603d
SM
7769 * emacs-lisp/timer.el (timer--check): New function.
7770 (timer--time, timer-set-function, timer-event-handler): Use it.
7771 (timer-set-idle-time): Simplify.
7772 (timer--activate): CSE.
7773 (timer-event-handler): Give more info in error message.
7774 (internal-timer-start-idle): New function, moved from C.
7775
15e54145
SM
7776 * mpc.el (mpc-proc): Add `restart' argument.
7777 (mpc-proc-cmd): Use it.
7778 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7779 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7780 less often.
7781
7144c627
MY
77822013-04-10 Masatake YAMATO <yamato@redhat.com>
7783
7784 * progmodes/sh-script.el: Implement `sh-mode' own
7785 `add-log-current-defun-function' (bug#14112).
7786 (sh-current-defun-name): New function.
7787 (sh-mode): Use the function.
7788
b39792eb
BG
77892013-04-09 Bastien Guerry <bzg@gnu.org>
7790
7791 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7792
8acdeb71
SM
77932013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7794
6fcdab68
SM
7795 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7796
8acdeb71
SM
7797 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7798 timer (bug#14156).
7799
e3e7b504
NF
78002013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7801
7802 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7803 declaration.
7804
201bb296
LL
78052013-04-07 Leo Liu <sdl.web@gmail.com>
7806
7807 * pcmpl-x.el: New file.
7808
ebb19708
DA
78092013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7810
7811 Do not set x-display-name until X connection is established.
7812 This is needed to prevent from weird situation described at
7813 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7814 * frame.el (make-frame): Set x-display-name after call to
7815 window system initialization function, not before.
7816 * term/x-win.el (x-initialize-window-system): Add optional
7817 display argument and use it.
7818 * term/w32-win.el (w32-initialize-window-system):
7819 * term/ns-win.el (ns-initialize-window-system):
7820 * term/pc-win.el (msdos-initialize-window-system):
7821 Add compatible optional display argument.
7822
33bb237a
EZ
78232013-04-06 Eli Zaretskii <eliz@gnu.org>
7824
7825 * files.el (normal-backup-enable-predicate): On MS-Windows and
7826 MS-DOS compare truenames of temporary-file-directory and of the
7827 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7828 don't fail comparison by compare-strings. Also, compare file
7829 names case-insensitively on MS-Windows and MS-DOS.
7830
134abf1f
SM
78312013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7832
7833 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7834 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7835
d695cb94
DG
78362013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7837
e3e7b504
NF
7838 * whitespace.el (whitespace-color-on, whitespace-color-off):
7839 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 7840
f4ad7ea1 78412013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
7842
7843 * ispell.el (ispell-set-spellchecker-params):
7844 Really set `ispell-args' for all equivs.
7845
632556e4
SM
78462013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7847
7848 * ido.el (ido-completions): Use extra elements of ido-decorations
7849 (bug#14143).
7850 (ido-decorations): Update docstring.
7851
2a417372
MA
78522013-04-05 Michael Albinus <michael.albinus@gmx.de>
7853
7854 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7855 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7856 nil during initialization, in order not to miss changes since the
7857 file was opened. (Bug#14140)
7858
fc164b0c
LL
78592013-04-05 Leo Liu <sdl.web@gmail.com>
7860
7861 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7862
0ccecc08
JB
78632013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7864
7865 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7866
51af1aa2
GM
78672013-04-04 Glenn Morris <rgm@gnu.org>
7868
7869 * electric.el (electric-pair-inhibit-predicate): Add :version.
7870
b208ebc6
SM
78712013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7872
7873 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7874 when a package is required several times (bug#14082).
7875
f3d3eaf0
RW
78762013-04-04 Roland Winkler <winkler@gnu.org>
7877
7878 * faces.el (read-face-name): Behave as promised by the docstring.
7879 Assume that arg default is a list of faces.
7880 (describe-face): Call read-face-name with list of default faces.
7881
2575da50
TV
78822013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7883
7884 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7885 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7886 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7887 the header.
7888 (bookmark-exit-hook-internal): Save even if list is empty.
7889
397703b4
YH
78902013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7891
7892 * emacs-lisp/package.el (package-pinned-packages): New var.
7893 (package--add-to-archive-contents): Obey it (bug#14118).
7894
691e26ae
AM
78952013-04-03 Alan Mackenzie <acm@muc.de>
7896
8a621d53
JB
7897 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7898 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
7899
7900 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7901 parameter `not-in-delimiter'. Handle being inside comment opener.
7902 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7903 character in case we're typing a '*' after a '/'.
7904 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7905 instead by passing the parameter to c-state-pp-to-literal.
7906
7907 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7908 for elt. 7 of a parse state.
7909
4b725a70
PE
79102013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7911
7912 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7913 * international/latin1-disp.el, international/mule-util.el:
7914 * language/cyril-util.el, language/european.el, language/ind-util.el:
7915 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7916 * language/tibetan.el, language/viet-util.el:
7917 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7918
15c579f0
SM
79192013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7920
7921 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7922 (electric-pair-post-self-insert-function): Use it.
7923 (electric-pair-default-inhibit): New function, extracted from
7924 electric-pair-post-self-insert-function.
7925
a77e2924
RW
79262013-03-31 Roland Winkler <winkler@gnu.org>
7927
7928 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7929
2bd8a4a8
SM
79302013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7931
7932 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7933
8d3655be 79342013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
7935
7936 Un-indent after "pass" and "return" statements (Bug#13888)
7937 * progmodes/python.el (python-indent-block-enders): New var.
7938 (python-indent-calculate-indentation): Use it.
7939
8d3655be 79402013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
7941
7942 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7943 defun. Defining it as defalias could introduce too eager
7944 byte-compiler optimization. (Bug#14030)
7945
8d3655be 79462013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
7947
7948 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7949
0b1619da
LL
79502013-03-30 Leo Liu <sdl.web@gmail.com>
7951
7952 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7953 (kmacro-execute-from-register): Pass the keyboard macro to
7954 kmacro-call-macro or repeating won't work correctly.
7955
0b938190
TZ
79562013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
7957
7958 * progmodes/subword.el: Back to using `forward-symbol'.
7959
7960 * subr.el (forward-whitespace, forward-symbol)
7961 (forward-same-syntax): Move from thingatpt.el.
7962
35710234
LL
79632013-03-29 Leo Liu <sdl.web@gmail.com>
7964
7965 * kmacro.el (kmacro-to-register): New command.
7966 (kmacro-execute-from-register): New function.
7967 (kmacro-keymap): Bind to 'x'. (Bug#14071)
7968
efc0bb73
SM
79692013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7970
7971 * mpc.el: Use defvar-local and setq-local.
7972 (mpc--proc-connect): Connection failures are not bugs.
7973 (mpc-mode-map): `follow-link' only applies to the buffer's content.
7974 (mpc-volume-map): Bind to the up-events.
7975
75a2f981
TZ
79762013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
7977
7978 * progmodes/subword.el (superword-mode): Use `forward-sexp'
7979 instead of `forward-symbol'.
7980
17c781d1
SM
79812013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7982
7983 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7984 (edebug--recursive-edit): Use it.
7985 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7986 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7987
f67bfbcf
LL
79882013-03-28 Leo Liu <sdl.web@gmail.com>
7989
7990 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
7991
b59f639d
EZ
79922013-03-27 Eli Zaretskii <eliz@gnu.org>
7993
7994 * facemenu.el (list-colors-callback): New defvar.
7995 (list-colors-redisplay): New function.
7996 (list-colors-display): Install list-colors-redisplay as the
7997 revert-buffer-function. (Bug#14063)
7998
f557c1b1
SM
79992013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8000
b1da2957
SM
8001 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8002 and suffixes don't overlap (bug#14061).
8003
f557c1b1
SM
8004 * case-table.el: Use lexical-binding.
8005 (case-table-get-table): New function.
8006 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8007
002668e1
TZ
80082013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8009
8010 * progmodes/subword.el: Add `superword-mode' to do word motion
8011 over symbol_words (parallels and leverages `subword-mode' which
8012 does word motion inside MixedCaseWords).
8013
73572c72
AG
80142013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8015
78b8f320 8016 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 8017 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 8018
69b2c07e
SM
80192013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8020
8021 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8022 Change return value to be a sexp. Delay `get-buffer' to after
8023 restoring the desktop (bug#13951).
8024
08bb5ee2
LL
80252013-03-26 Leo Liu <sdl.web@gmail.com>
8026
8027 * register.el: Move semantic tag handling back to
8028 cedet/semantic/senator.el. (Bug#14052)
8029
8d4c974e
SM
80302013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8031
8032 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8033 into the prompt either (bug#13963).
8034
b234d92c
SM
80352013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8036
8037 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8038 part of "(error-foo)".
8039
ddfa3cb4
JL
80402013-03-24 Juri Linkov <juri@jurta.org>
8041
8042 * replace.el (list-matching-lines-prefix-face): New defcustom.
8043 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8044 `occur-engine' if `face-differs-from-default-p' returns t.
8045 (occur-engine): Add `,' inside backquote construct to evaluate
8046 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8047 Pass `prefix-face' to the functions `occur-context-lines' and
8048 `occur-engine-add-prefix'.
8049 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8050 `prefix-face' and propertize the prefix with `prefix-face'.
8051 (Bug#14017)
8052
7b0e2f85
LL
80532013-03-24 Leo Liu <sdl.web@gmail.com>
8054
8055 * nxml/rng-valid.el (rng-validate-while-idle)
8056 (rng-validate-quick-while-idle): Guard against deleted buffer.
8057 (Bug#13999)
8058
8059 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8060 is the last entry in kill-buffer-hook.
8061
8062 * files.el (kill-buffer-hook): Doc fix.
8063
b3082f49
DG
80642013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8065
b234d92c
SM
8066 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8067 Make it safe-local.
bde73d27 8068
b3082f49
DG
8069 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8070
a320a2db
LL
80712013-03-23 Leo Liu <sdl.web@gmail.com>
8072
7e74b0fb
LL
8073 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8074 Remove.
8075
8076 * nxml/rng-valid.el (rng-validate-mode)
8077 (rng-after-change-function, rng-do-some-validation):
8078 * nxml/rng-maint.el (rng-validate-buffer):
8079 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8080 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8081 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8082 (nxml-extend-after-change-region): Use with-silent-modifications.
8083
a320a2db
LL
8084 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8085 timer-idle-list.
8086
8087 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8088 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8089 timer-idle-list. (Bug#13999)
8090
e38e6780
JL
80912013-03-23 Juri Linkov <juri@jurta.org>
8092
8093 * info.el (info-index-match): New face.
8094 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8095 main pattern and add text properties with the new face to matches
8096 in index entries relative to the beginning of the index entry.
8097 (Bug#14015)
8098
e8cc7880
DE
80992013-03-21 Eric Ludlam <zappo@gnu.org>
8100
8101 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8102 Inhibit read only while inserting objects.
8103
9bb0d822
TZ
81042013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8105
8106 * progmodes/cfengine.el: Update docs to mention
8107 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8108 symbol motion. Remove "_" from the word syntax.
8109
aa703640
TZ
81102013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8111
8112 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8113 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8114
afff09d0
JL
81152013-03-20 Juri Linkov <juri@jurta.org>
8116
8117 * info.el (Info-next-reference-or-link)
8118 (Info-prev-reference-or-link): New functions.
8119 (Info-next-reference, Info-prev-reference): Use them.
8120 (Info-try-follow-nearest-node): Handle footnote navigation.
8121 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8122
9a1ff164
SM
81232013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8124
8125 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8126 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8127
2667d15d
PE
81282013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8129
8130 Suppress unnecessary non-ASCII chatter during build process.
8131 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8132 (batch-skkdic-convert): Suppress most of the chatter.
8133 It's not needed so much now that machines are faster,
8134 and its non-ASCII component was confusing; see Dmitry Gutov in
8135 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8136
438b0579
LL
81372013-03-20 Leo Liu <sdl.web@gmail.com>
8138
8139 * ido.el (ido-chop): Fix bug#10994.
8140
c128ab07
DG
81412013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8142
8143 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8144 Remove vars.
9a1ff164
SM
8145 (whitespace-color-on, whitespace-color-off):
8146 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 8147
0e6008c5
SM
81482013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8149
8150 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8151 remapping in mode-line.
8152 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8153
627b52b0
DG
81542013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8155
8156 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8157 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
8158 (whitespace-font-lock-keywords): Change description.
8159 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8160 the constructed keywords instead.
8161 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 8162
50c3a20b
LL
81632013-03-19 Leo Liu <sdl.web@gmail.com>
8164
8165 * progmodes/compile.el (compilation-display-error): New command.
8166 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8167 C-o. (Bug#13992)
8168
2aa2157b
PE
81692013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8170
8171 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8172
e477dbfa
JD
81732013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8174
8175 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8176
64ab82d1
MA
81772013-03-18 Michael Albinus <michael.albinus@gmx.de>
8178
8179 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8180
8181 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8182 * net/tramp-gvfs.el (top):
8183 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8184 (tramp-handle-shell-command): Use it.
8185 (tramp-dissect-file-name): Raise an error when hostname is a
8186 method name, and neither method nor user is specified.
8187
8188 * net/trampver.el: Update release number.
8189
33cef733
LL
81902013-03-18 Leo Liu <sdl.web@gmail.com>
8191
8192 Make sure eldoc can be turned off properly.
8193 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8194 eldoc-mode.
8195 (eldoc-display-message-p): Revert last change.
8196 (eldoc-display-message-no-interference-p)
8197 (eldoc-print-current-symbol-info): Tweak.
8198
2167b7b2
TH
81992013-03-18 Tassilo Horn <tsdh@gnu.org>
8200
8201 * doc-view.el (doc-view-new-window-function): Check the new window
8202 overlay's display property instead the char property of the
8203 buffer's first char. Use `with-selected-window' instead of
8204 `save-window-excursion' with `select-window'.
8205 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 8206 display property instead the char property of the buffer's first char.
2167b7b2 8207
982efbcd
PE
82082013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8209
8210 Automate the build of ja-dic.el (Bug#13984).
8211 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8212 from the input, rather than assume that it's been done for us by the
8213 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8214 the current date into a ja-dic.el comment, as that complicates
8215 regression testing.
8216
2fcc7665
SM
82172013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8218
8219 * whitespace.el: Fix double evaluation.
8220 (whitespace-space, whitespace-hspace, whitespace-tab)
8221 (whitespace-newline, whitespace-trailing, whitespace-line)
8222 (whitespace-space-before-tab, whitespace-indentation)
8223 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8224 obsolete defvars.
8225 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8226 (whitespace-color-on): Use a single font-lock-add-keywords call.
8227 Fix double-evaluation of face variables.
8228
67c0a6e6
MA
82292013-03-17 Michael Albinus <michael.albinus@gmx.de>
8230
2fcc7665
SM
8231 * net/tramp-adb.el (tramp-adb-parse-device-names):
8232 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 8233 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 8234
69489f1d
LL
82352013-03-17 Leo Liu <sdl.web@gmail.com>
8236
8237 Extend eldoc to display info in the mode-line. (Bug#13978)
8238 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8239 (eldoc-mode-line-string): New variable.
8240 (eldoc-minibuffer-message): New function.
8241 (eldoc-message-function): New variable.
8242 (eldoc-message): Use it.
8243 (eldoc-display-message-p)
2fcc7665
SM
8244 (eldoc-display-message-no-interference-p):
8245 Support eldoc-post-insert-mode.
69489f1d
LL
8246
8247 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8248 (eval-expression): Run it.
8249
9c44569e
RW
82502013-03-17 Roland Winkler <winkler@gnu.org>
8251
8252 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8253 strings in the list of return values.
8254
327f1f6f
JB
82552013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8256
8257 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8258 radix before checking for HMS forms.
8259
67ed8fcd
LL
82602013-03-16 Leo Liu <sdl.web@gmail.com>
8261
8262 * progmodes/scheme.el: Add indentation and font-locking for λ.
8263 (Bug#13975)
8264
78be8b64 82652013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
8266
8267 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8268 token before point (bug#13942).
8269
78be8b64 82702013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 8271
95b43468 8272 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 8273
98e775e6
EZ
82742013-03-16 Eli Zaretskii <eliz@gnu.org>
8275
8276 * startup.el (command-line-normalize-file-name): Fix handling of
8277 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8278 <xfq.free@gmail.com> in
8279 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8280
2edd6029
MA
82812013-03-15 Michael Albinus <michael.albinus@gmx.de>
8282
8283 Sync with Tramp 2.2.7.
8284
8285 * net/trampver.el: Update release number.
8286
d35f5864
TH
82872013-03-14 Tassilo Horn <tsdh@gnu.org>
8288
f35ffe5e
TH
8289 * doc-view.el Fix bug#13887.
8290 (doc-view-insert-image): Don't modify overlay associated to
8291 non-live windows, and implement horizontal centering of image in
8292 case it's smaller than the window.
8293 (doc-view-new-window-function): Force redisplay of new windows on
8294 doc-view buffers.
d35f5864 8295
1c4a85ed
KF
82962013-03-13 Karl Fogel <kfogel@red-bean.com>
8297
8298 * saveplace.el (save-place-alist-to-file): Don't sort
8299 `save-place-alist', just pretty-print it (bug#13882).
8300
85b66a21
MA
83012013-03-13 Michael Albinus <michael.albinus@gmx.de>
8302
a020afb9
JB
8303 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8304 Check whether `default-file-name-coding-system' is bound.
8305 It isn't in XEmacs.
85b66a21 8306
175600da
SM
83072013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8308
e7f7cb1a
SM
8309 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8310 backquotes for `obsolete' (bug#13929).
8311
175600da
SM
8312 * international/mule.el (find-auto-coding): Include file name in
8313 obsolescence warning (bug#13922).
8314
ca68a22e
TZ
83152013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8316
8317 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8318 for CFEngine 3-specific indentation.
8319 (cfengine3-indent-line): Use it. Fix up category regex.
8320 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8321
940e5099
SM
83222013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8323
8324 * type-break.el (type-break-file-name):
8325 * textmodes/remember.el (remember-data-file):
8326 * strokes.el (strokes-file):
8327 * shadowfile.el (shadow-initialize):
8328 * saveplace.el (save-place-file):
8329 * ps-bdf.el (bdf-cache-file):
8330 * progmodes/idlwave.el (idlwave-config-directory):
8331 * net/quickurl.el (quickurl-url-file):
8332 * international/kkc.el (kkc-init-file-name):
8333 * ido.el (ido-save-directory-list-file):
8334 * emulation/viper.el (viper-custom-file-name):
8335 * emulation/vip.el (vip-startup-file):
8336 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8337 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8338
cc725808
PE
83392013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8340
8341 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8342 * language/thai-word.el: Switch to UTF-8.
8343
a020afb9 8344See ChangeLog.16 for earlier changes.
e3d51b27
MR
8345
8346;; Local Variables:
8347;; coding: utf-8
e3d51b27
MR
8348;; End:
8349
ab422c4d 8350 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
8351
8352 This file is part of GNU Emacs.
8353
8354 GNU Emacs is free software: you can redistribute it and/or modify
8355 it under the terms of the GNU General Public License as published by
8356 the Free Software Foundation, either version 3 of the License, or
8357 (at your option) any later version.
8358
8359 GNU Emacs is distributed in the hope that it will be useful,
8360 but WITHOUT ANY WARRANTY; without even the implied warranty of
8361 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8362 GNU General Public License for more details.
8363
8364 You should have received a copy of the GNU General Public License
8365 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.