* buffer.c (Fmake_overlay): Doc clarification.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
518f26c2
LI
12014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2
ea838c36
LI
3 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4
0d8a4ae7
LI
5 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
6
f7a17bb3
LI
7 * replace.el (replace-match-maybe-edit): Doc clarification
8 (bug#15632).
9
1bde5c3b
LI
10 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
11
518f26c2
LI
12 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
13
dd8e49fd
GM
142014-02-08 Glenn Morris <rgm@gnu.org>
15
16 * help-fns.el (describe-variable):
17 Check {file,dir}-local-variables-alist, and buffer-file-name,
18 in the correct buffer.
19
7e088b29
IL
202014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
21
22 * help-fns.el (describe-variable): Fix the case where
23 a value is directory-local with no dir-locals file. (Bug#16635)
24
41a4a82f
GM
252014-02-08 Glenn Morris <rgm@gnu.org>
26
27 * abbrev.el (edit-abbrevs-mode):
28 Derive from fundamental-mode. (Bug#16682)
29
e255a703
JB
302014-02-07 Juanma Barranquero <lekktu@gmail.com>
31
32 * simple.el (quoted-insert): Check character validity (bug#16677).
33
c99cf5ee
JL
342014-02-07 Juri Linkov <juri@jurta.org>
35
36 * desktop.el (desktop-read): Claim the lock when the owner is not
37 the current process. (Bug#16157)
38
7d7a68d8
JL
392014-02-07 Juri Linkov <juri@jurta.org>
40
41 * desktop.el (desktop-buffers-not-to-save): Change default from nil
42 to "\\` ". (Bug#16651)
43
2b777cd9
JL
442014-02-07 Juri Linkov <juri@jurta.org>
45
46 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
47 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
48 (desktop-auto-save-cancel-timer): New function with some code from
49 `desktop-auto-save-set-timer'.
50 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
51 Instead of setting `desktop-save-mode' to nil, call
52 `desktop-save-mode' with arg 0. (Bug#16630)
53
60eabbb9
GM
542014-02-07 Glenn Morris <rgm@gnu.org>
55
99cf3859
GM
56 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
57 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
58 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
59
2b568bc9
GM
60 * obsolete/iswitchb.el: Move to obsolete/.
61 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
62 since obsolete/ is not scanned for autoloads.
63 * emacs-lisp/authors.el (authors-valid-file-names):
64 Add iswitchb.el.
65
60eabbb9
GM
66 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
67 Disable now non-functional find-file-hook.
68
629de968
MA
692014-02-06 Michael Albinus <michael.albinus@gmx.de>
70
71 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
72 instead of ";" in order to avoid additional prompts. Let heredoc
73 scripts read from tty. (Bug#16582)
74 (tramp-send-command): No special handling of heredocs, it isn't
75 necessary anymore.
76
29127376
SM
772014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
78
79 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
80 with a space (bug#16664). Limit the symbols considered to the ones
81 that are bound or fbound (bug#16646).
82
79b6e0a9
GM
832014-02-06 Glenn Morris <rgm@gnu.org>
84
85 * epa.el (epa-mail-aliases): Doc fix.
86
a333e4d2
DG
872014-02-06 Dmitry Gutov <dgutov@yandex.ru>
88
29127376
SM
89 * emacs-lisp/lisp.el (lisp-completion-at-point):
90 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
91 (bug#16604).
92
93 * minibuffer.el (completion-table-merge): New function.
94
9a83b32b
MA
952014-02-05 Michael Albinus <michael.albinus@gmx.de>
96
97 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
98 (tramp-sh-handle-set-file-acl)
99 (tramp-sh-handle-start-file-process)
100 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
101 (tramp-find-executable, tramp-send-command): Use it.
102
451ea3e6
GM
1032014-02-05 Glenn Morris <rgm@gnu.org>
104
9a83b32b 105 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 106
dd27d13b
FEG
1072014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
108
109 * progmodes/python.el (python-shell-send-string):
110 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
111
08e41897
AL
1122014-02-04 Anders Lindgren <andlind@gmail.com>
113
114 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
115 the names (bug#16620).
116
764ec9e5
MR
1172014-02-03 Martin Rudalics <rudalics@gmx.at>
118
08e41897
AL
119 * faces.el (window-divider): New default value. Rewrite doc-string.
120 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 121
6da8227c
DG
1222014-02-03 Dmitry Gutov <dgutov@yandex.ru>
123
124 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
125 `protected' and `public' can also be called without arguments.
126
6a6b8e40
GM
1272014-02-03 Glenn Morris <rgm@gnu.org>
128
7bcbca40
GM
129 * register.el (window-configuration-to-register)
130 (frame-configuration-to-register): Unadvertise unused argument.
131 * frameset.el (frameset-to-register): Remove unused argument.
132
719d965d 133 * frameset.el (frameset-to-register):
6a6b8e40
GM
134 * kmacro.el (kmacro-to-register):
135 * register.el (increment-register):
136 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
137 (calc-append-to-register, calc-prepend-to-register):
138 * play/gametree.el (gametree-layout-to-register)
139 (gametree-apply-register-layout):
140 * textmodes/picture.el (picture-clear-rectangle-to-register)
141 (picture-yank-rectangle-from-register):
142 * vc/emerge.el (emerge-combine-versions-register):
143 Use register-read-with-preview to read registers.
144
5dca7759
JT
1452014-02-03 João Távora <joaotavora@gmail.com>
146
147 * elec-pair.el (electric-pair-backward-delete-char): Don't error
148 when at beginning of (possibly narrowed) buffer.
149
709085b9
DC
1502014-02-02 Daniel Colascione <dancol@dancol.org>
151
08e41897
AL
152 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
153 Also try to display local help from just before point.
709085b9 154
99f7b0a6
AM
1552014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
156
157 c-parse-state. Don't "append-lower-brace-pair" in certain
158 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
159 recognised as a comment.
160
161 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
162 as well as normal comment starter.
163 (c-parse-state-get-strategy): Extra return possibility
164 'back-and-forward.
165 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
166 return value list to indicate replacement of a brace-pair cons
167 with its car.
168 (c-parse-state-1): With 'back-and-forward, only call
169 c-append-lower-brace-pair-to state-cache when cons-separated.
170
f0a10576
JD
1712014-02-02 Jan Djärv <jan.h.d@swipnet.se>
172
173 * term/ns-win.el (ns-suspend-error): New function.
174 (ns-initialize-window-system): Add ns-suspend-error to
175 suspend-hook (Bug#16612).
176
b8d552c2
DC
1772014-02-02 Daniel Colascione <dancol@dancol.org>
178
179 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
180
f2b7d123
DC
1812014-02-02 Daniel Colascione <dancol@dancol.org>
182
183 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
184
4472a196
GM
1852014-02-02 Glenn Morris <rgm@gnu.org>
186
187 * register.el (register-read-with-preview, point-to-register)
188 (window-configuration-to-register, frame-configuration-to-register)
189 (jump-to-register, number-to-register, view-register, insert-register)
190 (copy-to-register, append-to-register, prepend-to-register)
191 (copy-rectangle-to-register): Doc fixes.
192
70e5a261
SM
1932014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
196 * emacs-lisp/find-func.el (find-function-C-source): Idem.
197 * emacs-lisp/nadvice.el (advice--cd*r): New function.
198 * help-fns.el (describe-function-1): Use it.
199
7c324762
GM
2002014-02-02 Glenn Morris <rgm@gnu.org>
201
202 * register.el (register-preview-default): New function,
203 split from register-preview.
204 (register-preview-function): Rename from register-preview-functions,
205 make it not a hook.
206 (register-preview): Use register-preview-function.
207 (register-read-with-preview): Error on non-character event. (Bug#16595)
208
a09beb3d
DG
2092014-02-01 Dmitry Gutov <dgutov@yandex.ru>
210
211 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
212 `:' before binary operators (bug#16609). Don't check for `:'
213 before `[' and `(', or their syntax status. A percent literal
214 can't end with either.
68e004e0
DG
215 (ruby-font-lock-keywords): For built-ins that require arguments,
216 check that they're followed by something that looks like argument
217 (bug#16610).
a09beb3d 218
ed4d2875
LI
2192014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
220
221 * subr.el (butlast): Document what an omitted N means (bug#13437).
222 (nbutlast): Ditto.
223
dba6e3ec
LI
2242014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
225
226 * net/shr.el (shr-generic): Make into a defsubst to make the stack
227 depth shallower (bug#16587).
cc477daa
LI
228 (shr-tag-svg): Respect `shr-inhibit-images'.
229 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 230
e2a67bd0
DG
2312014-01-31 Dmitry Gutov <dgutov@yandex.ru>
232
233 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
234 (ruby-smie-grammar): Make "." right-associative. Make its priority
235 lower than the ternary and all binary operators.
236 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
237 parent, or the first "." parent at indentation.
238 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
239 (Bug#16593)
240
bd21bf41
JL
2412014-01-31 Juri Linkov <juri@jurta.org>
242
243 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
244 from `make-hash-table'.
245
246 * textmodes/ispell.el (ispell-init-process): Change message format
247 to be consistent with other messages.
248
b7e615b9
GM
2492014-01-31 Glenn Morris <rgm@gnu.org>
250
a69ecd19
GM
251 * delsel.el (delete-selection-mode): Doc fix.
252
9997d7e3
GM
253 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
254 (trace-function-background): Doc fixes.
255
fbb764b8
GM
256 * ido.el (ido-use-virtual-buffers): Doc fix.
257 Reset :version, since the default value has not changed.
258
da942af1
GM
259 * register.el (register-preview-delay, register-read-with-preview):
260 Doc fixes.
261
b7e615b9
GM
262 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
263 do not mess with mail-buffer position (fixes 2009-11-03 change).
264 * progmodes/cc-mode.el (c-submit-bug-report):
265 Check auto-fill-mode is bound. (Bug#16592)
266
0a25002d
DH
2672014-01-31 Darren Hoo <darren.hoo@gmail.com>
268
269 * startup.el (fancy-splash-image-file): New function,
270 split from fancy-splash-head.
271 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
272 so that we are both using the same image. (Bug#16574)
273
ad78f432
GM
2742014-01-30 Glenn Morris <rgm@gnu.org>
275
6bbc0c84
GM
276 * simple.el (eval-expression): Doc fix.
277
ad78f432
GM
278 * hexl.el (hexl-mode-hook):
279 * ielm.el (ielm-mode-hook):
280 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
281 (lisp-interaction-mode-hook):
282 * progmodes/cfengine.e (cfengine3-documentation-function):
283 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
284
7b2f049c
SM
2852014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
286
287 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
288 is a symbol (bug#16584).
289
0c633f13
GM
2902014-01-30 Glenn Morris <rgm@gnu.org>
291
292 * help.el (help-for-help-internal): Add "P" to text.
293
5e61c1ef
GM
2942014-01-29 Glenn Morris <rgm@gnu.org>
295
296 * simple.el (just-one-space, cycle-spacing): Doc fixes.
297
1dcb169c
MR
2982014-01-28 Martin Rudalics <rudalics@gmx.at>
299
300 * window.el (fit-frame-to-buffer): Fix calculations for margins and
301 height constraints.
302
a9128931
LL
3032014-01-28 Luke Lee <luke.yx.lee@gmail.com>
304
305 * progmodes/hideif.el: Extend to full CPP expression syntax.
306 (hif-token-alist): Add missing tokens.
307 (hif-token-regexp): Add support for float/octal/hex immediates.
308 (hif-string-literal-regexp): New const.
309 (hif-tokenize): Recognize strings and float/octal/hex immediates.
310 (hif-exprlist): New function.
311 (hif-parse-if-exp): Use it.
312 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
313 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
314 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
315 (hif-logxor, hif-comma): New functions.
316
a22359a7
GM
3172014-01-28 Glenn Morris <rgm@gnu.org>
318
793ffe81
GM
319 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
320
e3bd7eed
GM
321 * indent.el (tab-stop-list): Doc fix. Add :version.
322
a22359a7
GM
323 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
324 (cvs-append-to-ignore): Add compatibility alias.
325
52695556 3262014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 327
bac524e0
GM
328 * dired.el (dired-hide-details-mode): Don't autoload it,
329 since it cannot be used outside Dired buffers anyway.
330
52695556 331 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 332
52695556
GM
333 * dired.el (dired-hide-details-hide-symlink-targets)
334 (dired-hide-details-hide-information-lines)
335 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
336
337 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
338 * strokes.el (strokes-file): Doc fix. Bump :version.
339 (strokes-help): Doc fix.
340 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
341 * emulation/viper.el (viper): Doc fix for custom group.
342 (top-level): Remove oh-so-no-longer-relevant text about vip.
343 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
344
345 * ido.el (ido-save-directory-list-file):
346 * saveplace.el (save-place-file):
347 * calendar/timeclock.el (timeclock-file):
348 * net/quickurl.el (quickurl-url-file):
349 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
350 * progmodes/idlwave.el (idlwave-config-directory):
351 * textmodes/remember.el (remember-data-file):
352 Bump :version.
353
169d6004
GM
3542014-01-26 Glenn Morris <rgm@gnu.org>
355
de6a923b
GM
356 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
357 Doc fix. Make obsolete.
358 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
359
169d6004
GM
360 * sort.el (delete-duplicate-lines): Doc fix.
361
ed85dee6
RS
3622014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
363
364 * progmodes/ada-mode.el (ada):
365 * woman.el (woman): Link to info manual and Commentary section.
366
367 * progmodes/flymake.el (flymake):
368 * nxml/nxml-mode.el (nxml):
369 * net/eww.el (eww):
370 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
371 * htmlfontify.el (htmlfontify):
372 * ses.el (ses):
373 * epa.el (epa):
374 * ido.el (ido): Link to info manual.
375
e0c67e1d
LL
3762014-01-25 Leo Liu <sdl.web@gmail.com>
377
378 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
379
35408b1a
AS
3802014-01-25 Adam Sjøgren <asjo@koldfront.dk>
381
382 * net/shr.el (shr-tag-img): Prefer the title over the alt text
383 (bug#16537).
384
76c3fa95
JB
3852014-01-24 Juanma Barranquero <lekktu@gmail.com>
386
f77c7a99
JB
387 * net/eww.el (eww-download-callback):
388 Fix reference to eww-download-directory.
389
76c3fa95
JB
390 * emacs-lisp/bytecomp.el (byte-compile-file):
391 Remove unused local variable `file-name'.
392
1e548e40
GM
3932014-01-24 Glenn Morris <rgm@gnu.org>
394
03f3b318
GM
395 * woman.el (woman-default-faces, woman-monochrome-faces):
396 Fix obsolescence specification.
397
1e548e40
GM
398 * subr.el (with-demoted-errors): Doc fix.
399
d4f0427b
SM
4002014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
401
402 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
403 (cl--macroexp-fboundp): New function.
404 (cl--make-type-test): Use it.
405
1670e27f
GM
4062014-01-23 Glenn Morris <rgm@gnu.org>
407
408 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
409 * simple.el (eval-expression): Doc fixes.
410
80efa207
GM
4112014-01-22 Glenn Morris <rgm@gnu.org>
412
413 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
414
29afcbab
SM
4152014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
416
417 * emacs-lisp/package.el: Write files silently.
418 (package-autoload-ensure-default-file, package--write-file-no-coding)
419 (package-generate-description-file, package--download-one-archive)
420 (package-install-from-archive): Tell `write-region' to stay quiet.
421 (package-menu-mode, package-menu--print-info): Omit the Archive column
422 if there's only one archive.
423 (package-all-keywords, package--has-keyword-p): Remove dead code.
424
2a5bce4f
GM
4252014-01-22 Glenn Morris <rgm@gnu.org>
426
edace89f
GM
427 * version.el (emacs-bzr-version-bzr): Fix typo.
428
2a5bce4f
GM
429 * version.el (emacs-repository-get-version):
430 Check either .bzr or .git, but not both.
431 Make the git case actually use the DIR argument, and return nil
432 rather than the empty string.
983664c0 433 Avoid error if .git exists but the git executable is not found.
2a5bce4f 434
6cb4da45
MR
4352014-01-22 Martin Rudalics <rudalics@gmx.at>
436
437 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
438 * window.el (window-total-size, window-size): New argument ROUND.
439 (window--min-delta-1, window-min-delta, window--max-delta-1):
440 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
441 columns a window can shrink (Bug#16430).
442 (fit-window-to-buffer): Simplify code.
443 * term.el (term-window-width): Call window-body-width again.
444
cc0f2ece
GM
4452014-01-22 Glenn Morris <rgm@gnu.org>
446
7b997b14
GM
447 * image.el (image-format-suffixes): Doc fix.
448
44e76f9d
GM
449 * international/quail.el (quail-define-package): Doc fix.
450
73c1c6d7
GM
451 * emacs-lisp/authors.el (authors-valid-file-names):
452 (authors-renamed-files-alist): Additions.
7bfc1caa 453
85a5f61f
GM
454 * vc/vc-git.el (vc-git-print-log): Remove --follow;
455 reverts 2014-01-09 change. (Bug#16422)
456
cc0f2ece
GM
457 * calc/calc-embed.el (thing-at-point-looking-at):
458 * emacs-lisp/map-ynp.el (x-popup-dialog):
459 * obsolete/lmenu.el (x-popup-dialog):
460 * emacs-lisp/package.el (url-recreate-url):
461 * mail/mailclient.el (clipboard-kill-ring-save):
462 * subr.el (x-popup-dialog): Update declaration.
463 * mail/rmail.el (rmail-mime-message-p):
464 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
465
00d2a6bb
DC
4662014-01-21 Daniel Colascione <dancol@dancol.org>
467
468 * progmodes/sh-script.el (sh--inside-noncommand-expression):
469 Correctly detect when we're inside an arithmetic expansion form
470 containing nested parenthesis.
471 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
472 to detect cases where we shouldn't expand "<<" to a heredoc
473 skeleton.
474
dd9d2e9d
SM
4752014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
476
477 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
478 (eldoc--message-command-p): New function.
479 (eldoc-display-message-p): Use it.
480 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
481 message is not automatically erased for us.
482 (eldoc-print-current-symbol-info): Erase previous message, if any.
483
e7d807ca
TH
4842014-01-21 Tassilo Horn <tsdh@gnu.org>
485
4ff0a0e5
TH
486 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
487 specify it's an interactive function.
488
dd9d2e9d
SM
489 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
490 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
491 citations with optional arguments.
492
87503791
LL
4932014-01-21 Leo Liu <sdl.web@gmail.com>
494
495 * simple.el (read--expression): Don't enable eldoc-mode.
496
6cc750ee
SM
4972014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
498
499 * simple.el (move-beginning-of-line): Make sure we don't move forward
500 (bug#16497).
501
71f16bda
JL
5022014-01-20 Juri Linkov <juri@jurta.org>
503
504 * saveplace.el (toggle-save-place, save-place-to-alist)
505 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
506 'dired-mode) before checking for dired-directory. (Bug#16477)
507
3c5a4839
JL
5082014-01-20 Juri Linkov <juri@jurta.org>
509
510 * indent.el (indent-line-to): Use backward-to-indentation
511 instead of back-to-indentation. (Bug#16461)
512
f952002e
PE
5132014-01-20 Paul Eggert <eggert@cs.ucla.edu>
514
515 Revert some of the CANNOT_DUMP fix (Bug#16494).
516 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
517 but fixing this can wait until after the next release.
518 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
519
93675500
MA
5202014-01-19 Michael Albinus <michael.albinus@gmx.de>
521
522 * eshell/esh-mode.el (eshell-password-prompt-regexp):
523 Use `password-word-equivalents'.
524 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
525 to t. (Bug#5664, Bug#13124)
526
e3af763f
AM
5272014-01-19 Alan Mackenzie <acm@muc.de>
528
529 Bind open-paren-in-column-0-is-defun-start to nil at some entry
530 points.
531 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 532 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
533 * progmodes/cc-mode.el (c-before-change, c-after-change)
534 (c-font-lock-fontify-region): Bind it here.
535
4ff6d92d
MR
5362014-01-19 Martin Rudalics <rudalics@gmx.at>
537
538 * term.el (term-window-width): Call window-text-width instead of
539 window-width (Bug#16470).
540
9a685cf6
PE
5412014-01-18 Paul Eggert <eggert@cs.ucla.edu>
542
543 * simple.el (password-word-equivalents): Remove duplicates.
544 Sort, to make this easier next time.
545 Downcase. Omit ": " after "jelszó".
546
5aa78c2d
JD
5472014-01-18 Jan Djärv <jan.h.d@swipnet.se>
548
549 * term/common-win.el (saved-region-selection): Defvar it.
550 (x-select-text): Set saved-region-selection (Bug#16382).
551
cabb250c
GM
5522014-01-18 Glenn Morris <rgm@gnu.org>
553
554 * emacs-lisp/authors.el (authors-aliases)
555 (authors-renamed-files-alist): Add some entries.
556
a1340440
MA
5572014-01-17 Michael Albinus <michael.albinus@gmx.de>
558
93675500
MA
559 * net/tramp.el (tramp-password-prompt-regexp):
560 Use `password-word-equivalents' if available.
a1340440
MA
561 (tramp-action-password, tramp-process-one-action)
562 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
563
681ce5d2
CY
5642014-01-17 Chong Yidong <cyd@gnu.org>
565
566 * simple.el (password-word-equivalents): New defcustom.
567 * comint.el (comint-password-prompt-regexp): Use it. Bump version
568 to 24.4.
569 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
570 to t. (Bug#13124)
571
fb3d479c
DG
5722014-01-17 Dmitry Gutov <dgutov@yandex.ru>
573
574 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
575 (ruby-align-to-stmt-keywords): Change the default value.
576 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
577 choices.
578 (ruby-smie-rules): Instead of using a hardcoded list of alignable
579 keywords, check against the value of `ruby-alignable-keywords'
580 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
581
0d613483
GM
5822014-01-17 Glenn Morris <rgm@gnu.org>
583
fc23fe2d
GM
584 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
585
0d613483
GM
586 Make M-x authors return zero *Authors Errors* from current logs.
587 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
588 (authors-ignored-files): Add some entries, remove others.
589 (authors-ambiguous-files, authors-valid-file-names):
590 Add some entries.
591 (authors-renamed-files-alist): Add, remove, and adjust entries.
592 (authors-renamed-files-regexps): Add some entries.
593 Remove some very broad ones. Make some entries `lax'.
594 (authors-lax-changelogs): New constant.
595 (authors-disambiguate-file-name): Treat top-level specially.
596 (authors-lax-changelog-p): New function.
597 (authors-canonical-file-name): Check file as written against
598 authors-valid-file-names. Do not special-case etc/.
599 Handle `lax' logs and authors-renamed-files-regexps elements.
600
2dbf4ffd
DG
6012014-01-16 Dmitry Gutov <dgutov@yandex.ru>
602
603 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
604 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
605 callers.
2dbf4ffd 606
87b2a7f2
SM
6072014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
608
609 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
610 Assume we're already in the proper buffer.
611 Inspired by Anders Lindgren <andlind@gmail.com>.
612 (follow-post-command-hook): Call it from the right buffer.
613 (follow-comint-scroll-to-bottom): Adjust call.
614 (follow-all-followers): Use get-buffer-window-list.
615
93acfb0e
DC
6162014-01-15 Daniel Colascione <dancol@dancol.org>
617
618 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
619 `buffer-file-name' in interactive-form so that we don't leave
620 pathless file names in `file-name-history'.
621
ccc6b208
JL
6222014-01-15 Juri Linkov <juri@jurta.org>
623
624 * indent.el (indent-rigidly): Set deactivate-mark to nil
625 in transient indentation mode. (Bug#16438)
626
5c92e00d
DG
6272014-01-15 Dmitry Gutov <dgutov@yandex.ru>
628
629 * emacs-lisp/package.el (package-desc-keywords): New function
630 (Bug#16222).
631 (describe-package-1, package-all-keywords)
632 (package--has-keyword-p): Use it.
633
dac69660
NR
6342014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
635
636 * simple.el (define-alternatives): When creating the
637 COMMAND-alternatives variable, assign COMMAND as its definition
638 name so that `describe-variable' can relocate it.
639
8b63edf8
ML
6402014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
641
642 * font-lock.el (font-lock-keywords): Fix typo in docstring
643 (bug#16307).
644
c6a0b8eb
AM
6452014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
646
647 * ispell.el (ispell-region): Reset `in-comment' for new line
648 instead of wrongly reset `add-coment' (bug#13577).
649
02bf443d
DU
6502014-01-14 Daiki Ueno <ueno@gnu.org>
651
652 * epa-file.el (epa-file-write-region): Encode the region according
653 to `buffer-file-format'. Problem reported at:
654 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
655
fd7fde15
SM
6562014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
659 so it applies in the right buffer (bug#16410).
660
c176054f
DC
6612014-01-13 Daniel Colascione <dancol@dancol.org>
662
663 * textmodes/rst.el (rst-define-key): Provide deprecated
664 keybindings through named functions instead of anonymous ones so
665 that "??" doesn't appear in describe-mode output.
666
e3f33e5d
BG
6672014-01-13 Bastien Guerry <bzg@gnu.org>
668
669 * simple.el (define-alternatives): Call the selected command
670 interactively. When setting `COMMAND--implementation' for the
671 first time, tell the user how to chose another implementation.
672 Enhance the docstring.
673
c055d654
SM
6742014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
675
676 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
677 (log-edit--match-first-line): New function.
678 (log-edit-font-lock-keywords): Use it.
679 (log-edit-mode): Make jit-lock-defer-multiline work.
680
d791cc3b
BG
6812014-01-13 Bastien Guerry <bzg@gnu.org>
682
683 * rect.el (rectangle-mark-mode): When the region is not active,
684 display a message saying that the mark as been set and that
685 rectangle mode is in use.
686 (rectangle--highlight-for-redisplay): Only put an overlay with a
687 visible vertical bar when (display-graphic-p) is non-nil.
688 This partially fixes Bug#16403.
689
3c0c4562
JL
6902014-01-13 Juri Linkov <juri@jurta.org>
691
692 * info.el (Info-find-file): Go to DIR before displaying the error
693 about a nonexistent file if no previous Info file is visited.
694 Use `user-error' instead of `error' for "Info file %s does not exist".
695 (Info-find-node-2): In case of a nonexistent node in unwind forms
696 go to the Top node if there is no previous node to revert to.
697 (Bug#16405)
698
25a700d0
MR
6992014-01-13 Martin Rudalics <rudalics@gmx.at>
700
701 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
702 * window.el (fit-frame-to-buffer): Fix doc-string.
703 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
704 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
705 when avoiding that frame goes partially off-screen.
706 (fit-window-to-buffer): Respect window-min-height/-width
707 (Bug#14096).
708
6ae948d8
SM
7092014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
710
711 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
712 after an empty line.
713
6137cb82
SM
7142014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
715
716 * net/shr.el (shr-render-region): Autoload.
717
e6344e17
XF
7182014-01-12 Xue Fuqiao <xfq.free@gmail.com>
719
720 * net/eww.el (eww-download-directory): Rename from
721 `eww-download-path' (Bug#16419).
722
3b922c70
LL
7232014-01-12 Leo Liu <sdl.web@gmail.com>
724
725 * dired-x.el (dired-mode-map): Fix last change.
726
727 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
728
4fa51741
PE
7292014-01-12 Paul Eggert <eggert@cs.ucla.edu>
730
731 Spelling fixes.
732 * emacs-lisp/generic.el (generic--normalize-comments):
733 Rename from generic--normalise-comments. All uses changed.
734 * play/bubbles.el (bubbles--neighborhood-score):
735 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
736 (bubbles--neighborhood-available)
737 (bubbles--update-neighborhood-score):
738 Rename from names with 'neighbourhood'. All uses changed.
739
9b335362
LL
7402014-01-12 Leo Liu <sdl.web@gmail.com>
741
742 Re-implement the feature of showing eldoc info after editing.
743 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
744 (eldoc-edit-message-commands): New function.
745 (eldoc-print-after-edit): New variable.
746 (eldoc-pre-command-refresh-echo-area): Emit message only by
747 eldoc-message-commands.
748 (eldoc-mode): Restrict eldoc-message-commands to editing commands
749 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 750 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 751 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 752
e2a095b1
GM
7532014-01-11 Dani Moncayo <dmoncayo@gmail.com>
754 Eric S. Raymond <esr@thyrsus.com>
9685190b 755
841a6d0c 756 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 757 function works correctly in either a Bazaar or Git repo.
0abf4134 758
e2a095b1
GM
7592014-01-11 Eric S. Raymond <esr@thyrsus.com>
760
6137cb82
SM
761 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
762 Goes with removal of the joke manpages from /etc.
9685190b 763
3923e7bd
KH
7642014-01-10 K. Handa <handa@gnu.org>
765
6137cb82
SM
766 * mail/rmail.el (rmail-get-coding-system):
767 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 768
d2f16e93
GM
7692014-01-10 Glenn Morris <rgm@gnu.org>
770
771 * emacs-lisp/authors.el (authors-fixed-entries):
772 Update for files that no longer exist.
773
7e03bb32
ER
7742014-01-10 Eric S. Raymond <esr@thyrsus.com>
775
776 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 777 24.3 (Tested).
7e03bb32 778
dd806710
BB
7792014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
780
781 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
782 and Podfile.
783
ed6ec139
EZ
7842014-01-10 Eli Zaretskii <eliz@gnu.org>
785
786 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
787
cc33cac9
CY
7882014-01-10 Chong Yidong <cyd@gnu.org>
789
6137cb82 790 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 791
d9d836b5
AL
7922014-01-10 Anders Lindgren <andlind@gmail.com>
793
794 * follow.el (follow-cache-command-list): Include right-char and
795 left-char.
796
06827ec8
PE
7972014-01-10 Paul Eggert <eggert@cs.ucla.edu>
798
799 Spelling fixes.
800 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
801 * woman.el (woman-mark-horizontal-position):
802 Rename from woman-mark-horizonal-position. Use changed.
803
458dbf5e
GM
8042014-01-10 Glenn Morris <rgm@gnu.org>
805
dad6fae7
GM
806 * info.el (info-initialize): If running uninstalled, ensure our
807 own info files are always found first, even if INFOPATH is set.
808
458dbf5e
GM
809 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
810
05e0afce
DE
8112014-01-09 David Engster <deng@randomsample.de>
812
813 * emacs-lisp/eieio-custom.el:
814 * emacs-lisp/eieio-opt.el: Set generated autoload file to
815 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
816 * emacs-lisp/eieio.el: Regenerate autoloads.
817
f29778b3
ER
8182014-01-09 Eric S. Raymond <esr@thyrsus.com>
819
820 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 821 following renames. (Bug#8756)
f29778b3 822
684d44ef
SM
8232014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
826 (bug#16382).
827 (activate-mark): Add `no-tmm' argument.
828 (set-mark, push-mark-command): Use it instead of running
829 activate-mark-hook by hand.
830
9475054f
ER
8312014-01-08 Eric S. Raymond <esr@thyrsus.com>
832
833 In preparation for the move to git, sanitize out some
834 Bazaar-specific names.
835
38942b9c
GM
836 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
837
9475054f 838 * version.el (emacs-bzr-version): Name changed to
689c9ca5 839 emacs-repository-version. Obsolete-variable alias made.
9475054f 840 * loadup.el: Follow through on this name change.
a12bf61e 841 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
842 assumption about the version control system in use.
843
0f918d96 8442014-01-08 David Engster <deng@randomsample.de>
abb82152 845
684d44ef
SM
846 * help-fns.el (help-fns-describe-function-functions):
847 New variable to call functions for augmenting help buffers.
abb82152
DE
848 (describe-function-1): Remove explicit calls to
849 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
850 `help-fns--obsolete'. Put them in above new variable instead, and
851 call them through `run-hook-with-args'.
852 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
853 `eieio-describe-class'. Not meant for interactive use anymore,
854 but to augment existing help buffers. Remove optional second
684d44ef
SM
855 argument. Create proper button for file location.
856 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
857 possible.
858 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
859 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
860 (describe-method, describe-generic, eieio-describe-method):
861 Remove aliases.
0f918d96
DE
862 (eieio-help-constructor, eieio-help-generic): Rename from
863 `eieio-describe-constructor' and `eieio-describe-generic', resp.
864 Rewrite to use `insert' in the current buffer and use proper help
865 buttons.
866 (eieio-help-find-method-definition)
867 (eieio-help-find-class-definition): Also accept symbols as
868 arguments.
869 (eieio-help-mode-augmentation-maybee): Remove.
870 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
871 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
872 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 873
136b74c5
PE
8742014-01-08 Paul Eggert <eggert@cs.ucla.edu>
875
876 Spelling fixes.
877 * language/china-util.el (hz-ascii-designation):
878 Rename from hz-ascii-designnation.
879 (hz-ascii-designation): Rename from hz-ascii-designnation.
880 All uses changed.
881
ec6c7de2
SM
8822014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
883
884 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
885 package-alist.
886
d6262c7c
BG
8872014-01-08 Bastien Guerry <bzg@gnu.org>
888
4b9e6087
GM
889 * emacs-lisp/package.el (package-delete):
890 Correctly delete the package from package-alist.
d6262c7c 891
0a3eec32
DU
8922014-01-08 Daiki Ueno <ueno@gnu.org>
893
894 * emacs-lisp/package.el (url-recreate-url): Declare.
895 (url-http-target-url): Declare.
4b9e6087 896 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
897 (package--check-signature): Don't re-signal errors from
898 package--with-work-buffer. Suggested by Stefan Monnier.
899
68f0bb97
BG
9002014-01-07 Bastien Guerry <bzg@gnu.org>
901
902 * minibuffer.el (completion--try-word-completion): When both a
903 hyphen and a space are possible candidates for the character
904 following a word, display both candidates. (Bug#15980)
905
7e1899d7
MR
9062014-01-07 Martin Rudalics <rudalics@gmx.at>
907
908 * window.el (balance-windows-2): While rounding don't give a
909 window more than the remainder. Bug#16351, Bug#16383.
910
0030ec15
GM
9112014-01-07 Glenn Morris <rgm@gnu.org>
912
913 * menu-bar.el (menu-bar-help-extra-packages): Remove.
914 (menu-bar-help-menu): Use view-external-packages instead.
915
2b6b4f20
BG
9162014-01-07 Bastien Guerry <bzg@gnu.org>
917
918 * emacs-lisp/package.el (package-delete): Also delete the package
919 name from `package-alist', not its description only.
920
e9be0a13
GM
9212014-01-07 Glenn Morris <rgm@gnu.org>
922
923 * help.el (view-external-packages):
924 * menu-bar.el (menu-bar-help-extra-packages):
925 Visit efaq.info rather than etc/MORE.STUFF.
926
e4f74da9
JL
9272014-01-07 Juri Linkov <juri@jurta.org>
928
929 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
930 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
931
932 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
933 that shadows RET. (Bug#16342)
934
de7ce2d1
CY
9352014-01-07 Chong Yidong <cyd@gnu.org>
936
937 * isearch.el (isearch-yank-char, isearch-yank-word)
938 (isearch-yank-line): Doc fix.
939
6bdd9204
SM
9402014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
941
942 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
943 * emacs-lisp/elint.el (elint-find-builtins):
944 * emacs-lisp/eldoc.el (eldoc-symbol-function):
945 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
946 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
947 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
948 * apropos.el (apropos-safe-documentation):
949 * subr.el (symbol-file): Remove redundant fboundp.
950 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
951
daccca97
BG
9522014-01-06 Bastien Guerry <bzg@gnu.org>
953
954 * hl-line.el (global-hl-line-overlay): Make a local variable.
955 (global-hl-line-overlays): New variable to store all overlays.
956 (global-hl-line-mode): Don't delete overlays from the current
957 buffer when `global-hl-line-sticky-flag' is non-nil.
958 (global-hl-line-highlight): Add new overlays to
959 `global-hl-line-overlays'.
960 (global-hl-line-unhighlight-all): New function to delete all
961 overlays when turning off `global-hl-line-mode'.
962 This fixes Bug#16183.
963
ec00f20f
SM
9642014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * subr.el (set-transient-map): Fix nested case and docstring.
967
a0031f97
TH
9682014-01-06 Tassilo Horn <tsdh@gnu.org>
969
970 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
971 `Texinfo' entry.
972
bf6a77f3
DC
9732014-01-06 Daniel Colascione <dancol@dancol.org>
974
975 Fix defun navigation in vc log view.
976
977 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
978 like `beginning-of-defun'.
979 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
980 log-view-end-of-defun to log-view-end-of-defun-1. Replace
981 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 982 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 983 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 984
d5081c1e
PE
9852014-01-06 Paul Eggert <eggert@cs.ucla.edu>
986
987 Spelling fixes.
988 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
989 * emacs-lisp/debug.el (cancel-debug-on-entry):
990 * epg.el (epg-error-to-string):
991 * files.el (recover-file):
992 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
993 * mail/emacsbug.el (report-emacs-bug-hook):
994 * mail/sendmail.el (mail-recover):
995 * ses.el (ses-yank-resize):
996 * term/ns-win.el (ns-print-buffer):
997 Spelling fixes in diagnostics, mostly for "canceled" with one L.
998 * epg.el (epg-key-capability-alist): Rename from misspelled version.
999 All uses changed.
1000 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1001
53f6b148
LL
10022014-01-06 Leo Liu <sdl.web@gmail.com>
1003
1004 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 1005 to avoid shadowing global key. (Bug#16354)
53f6b148 1006
b82ace2f
DC
10072014-01-06 Daniel Colascione <dancol@dancol.org>
1008
1009 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1010 rst-mode.
1011
3669b636
MR
10122014-01-05 Martin Rudalics <rudalics@gmx.at>
1013
1014 * window.el (balance-windows): Add mising t to fix Bug#16351.
1015
1a29adc2
LMI
10162014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1017
1018 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1019 (bug#16285).
3d95a0f4
LMI
1020 (shr-insert): If we have a word that's longer than `shr-width',
1021 break after it anyway. Otherwise we'll do no breaking once we get
1022 such a long word.
1a29adc2 1023
f4018140
KN
10242014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1025
3fcfc4ee 1026 * net/eww.el (eww): Support single/double quote for search.
189340f5
KN
1027 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1028 (eww-history-quit): Delete and use quit-window.
1029 (eww-history-kill): Delete, because it doesn't work well and
1030 not necessary.
1031 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 1032
4e619754
PE
10332014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1034
73dbf960
PE
1035 Fix misspelling of 'chinese' in rx (Bug#16237).
1036 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1037 chinese-two-byte.
1038
4e619754
PE
1039 Change subword regexps back to vars (Bug#16296).
1040 * progmodes/subword.el (subword-forward-regexp)
1041 (subword-backward-regexp): Change these back to variables.
1042
e18b70fc
SM
10432014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1044
1045 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1046 syntax-begin-function (bug#16247).
1047
0d53f628
CY
10482014-01-03 Chong Yidong <cyd@gnu.org>
1049
1050 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1051 (advice--docstring): Delete variable.
1052 (advice--make-1): Leave the docstring empty.
1053 (advice-add): Use function-documentation for advised docstring.
1054
1055 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1056 Ignore function-documentation property when getting documentation.
1057 (ad-activate-advised-definition): Use function-documentation
1058 generate the docstring.
1059 (ad-make-advised-definition): Don't call
1060 ad-make-advised-definition-docstring.
1061 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1062 Delete functions.
1063
1064 * progmodes/sql.el (sql-help): Use function-documentation instead
1065 of dynamic-docstring-function property. No need to autoload now.
1066 (sql--help-docstring): New variable.
1067 (sql--make-help-docstring): Use it.
1068
6f547583
SM
10692014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1070
6ef9aed8
SM
1071 * ielm.el (ielm-tab): Retarget.
1072 (ielm-map): Use ielm-tab for tab.
1073 (ielm-complete-filename): Use comint-filename-completion.
1074 (ielm-complete-symbol): Remove.
1075 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1076 remove ielm-tab from completion-at-point-functions (bug#16224).
1077
6f547583
SM
1078 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1079 Beware signals raised by predicates (bug#16201).
1080
a574edbe
RS
10812014-01-02 Richard Stallman <rms@gnu.org>
1082
e831604d
RS
1083 * dired-aux.el (dired-do-print): Handle printer-name.
1084
6f547583
SM
1085 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1086 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
1087 (rmail-epa-decrypt): Turn off mime processing.
1088
3fcfc4ee 1089 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
1090 Add parens in message-id.
1091
1092 * mail/rmail.el (rmail-get-coding-function): Variable.
1093 (rmail-get-coding-system): Use it.
1094
04311a16
KH
10952013-12-31 Eli Zaretskii <eliz@gnu.org>
1096
1097 * international/mule-conf.el: Unify the charset indian-is13194.
1098 (indian-is13194): Specify unify-map.
1099
c8d89778
LL
11002013-12-31 Leo Liu <sdl.web@gmail.com>
1101
1102 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1103
e63ace37
DC
11042013-12-30 Daniel Colascione <dancol@dancol.org>
1105
9e0bf19a
DC
1106 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1107 of printing a useless when we resume from sleep.
1108
e63ace37
DC
1109 * progmodes/sh-script.el
1110 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1111 in indentation code. (Bug#16233)
1112
e9d6c46a
JT
11132013-12-28 João Távora <joaotavora@gmail.com>
1114
6f547583
SM
1115 * elec-pair.el (electric-pair-post-self-insert-function):
1116 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1117
bf7bea5d
EZ
11182013-12-28 Eli Zaretskii <eliz@gnu.org>
1119
1120 * frame.el (window-system-for-display): Don't allow to create a
1121 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1122
8449dd1f
GM
11232013-12-28 Glenn Morris <rgm@gnu.org>
1124
9c5a5c77
GM
1125 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1126 Update callers.
1127
1128 * apropos.el (apropos-match-face):
1129 * calculator.el (calculator-displayer):
1130 * dabbrev.el (dabbrev-search-these-buffers-only):
1131 * face-remap.el (buffer-face-mode-face):
1132 * simple.el (yank-handled-properties):
1133 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1134 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1135 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1136 (hashcash-double-spend-database):
1137 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1138 (ruby-deep-indent-paren-style):
1139 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1140 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1141 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1142 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1143 Specify custom types.
1144
bb098075
GM
1145 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1146 * bookmark.el (bookmark-bmenu-use-header-line):
1147 * doc-view.el (doc-view-scale-internally):
1148 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1149 * register.el (register-preview-delay):
1150 * net/shr.el (shr-bullet):
1151 * progmodes/cfengine.el (cfengine-cf-promises)
1152 (cfengine-parameters-indent):
1153 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1154 * textmodes/reftex-vars.el (reftex-label-regexps):
1155 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1156
9c61f806
GM
1157 * net/tls.el (tls-certtool-program): Fix default value.
1158
1159 * desktop.el (desktop-restore-in-current-display):
1160 * newcomment.el (comment-empty-lines):
1161 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1162 (idlwave-pad-keyword):
1163 * progmodes/tcl.el (tcl-tab-always-indent):
1164 * textmodes/reftex-vars.el (reftex-index-default-tag):
1165 * elec-pair.el (electric-pair-skip-whitespace):
1166 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1167
8449dd1f
GM
1168 * emacs-lisp/authors.el (authors-ignored-files)
1169 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1170
fdadeb49
JC
11712013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1172
72140a0f
GM
1173 * shell.el (shell-dynamic-complete-command): Doc fix.
1174 (shell--command-completion-data): Shell completion now matches
1175 executable filenames from the current buffer's directory, on
da5ecfa9 1176 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1177
e572a7d8
LI
11782013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1179
1180 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1181
7514d3f8
SM
11822013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1183
a4151f3b
SM
1184 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1185 (bug#16251).
1186
7514d3f8
SM
1187 * electric.el: Move all electric-pair-* to elec-pair.el.
1188 * elec-pair.el: New file, split from electric.el.
1189
ac5758d1
LI
11902013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1191
1192 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1193 indentation level is larger than the width, because that will
1194 infloop.
1195 (shr-insert): Fill repeatedly long texts, so that Japanese is
1196 formatted correctly (bug#16263).
24a6b65e
LI
1197 (shr-find-fill-point): Off by one error in comparison with the
1198 indentation.
ac5758d1 1199
7514d3f8 12002013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1201
1202 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1203 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1204 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1205 if that keeps or improves their balance in buffers.
1206 (electric-pair-delete-adjacent-pairs): Delete the pair when
1207 backspacing over adjacent matched delimiters.
1208 (electric-pair-open-extra-newline): Open extra newline when
1209 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1210 (electric--sort-post-self-insertion-hook):
1211 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1212 minor-modes are activated.
1213 * simple.el (newline-and-indent): Call newline with interactive
1214 set to t.
1215 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1216 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1217 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1218 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1219 electric-pair-open-newline-between-pairs to nil.
1220
fbcc63a3
FEG
12212013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1222
1223 * progmodes/python.el: Use lexical-binding.
1224 (python-nav-beginning-of-defun): Stop searching ASAP.
1225
ed78d16c
XF
12262013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1227
1228 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1229 Fix interactive spec. Doc fix. (Bug#15754)
1230
38b2c142
KY
12312013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1232
1233 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1234 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1235 Fix edebug spec (bug#16184).
1236
3c856c14
LI
12372013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1238
83fa295c 1239 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1240 (shr-insert): Don't infloop if we can't find a good place to break
1241 the line (bug#16256).
3c856c14 1242
01379221
FEG
12432013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1244
1245 * progmodes/python.el:
1246 (python-nav--lisp-forward-sexp): New function.
1247 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1248 python-nav-lisp-forward-sexp-safe.
1249 (python-nav--forward-sexp): New argument SAFE allows switching
1250 forward sexp movement behavior for parens.
1251 (python-nav-forward-sexp): Throw errors on unterminated parens
1252 (Bug#16191).
1253 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1254 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1255 (python-shell-buffer-substring):
1256 Use `python-nav-forward-sexp-safe'.
01379221 1257
99e4926f
LI
12582013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1259
1260 * net/shr.el (shr-find-fill-point): Don't break lines before a
1261 quotation mark.
c6c20584
LI
1262 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1263 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1264 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1265
fec0e828
KN
12662013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1267
1268 * net/eww.el (eww-form-textarea): Use a different face for
1269 textareas than text input since they have different keymaps
1270 (bug#16142).
1271
89c868ad
FEG
12722013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1273
7514d3f8
SM
1274 * progmodes/python.el (python-nav-beginning-of-statement):
1275 Speed up (Bug#15295).
89c868ad 1276
eeef121a
LI
12772013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1278
1279 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1280 the window configuration.
1281
121ea65f
EZ
12822013-12-24 Eli Zaretskii <eliz@gnu.org>
1283
1284 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1285 we run on MS-Windows or MS-DOS.
1286
18cee9ec
MR
12872013-12-24 Martin Rudalics <rudalics@gmx.at>
1288
1289 * window.el (balance-windows-area): Call window-size instead of
1290 window-height and window-width. Bug#16241.
1291
58f2b9a5
LI
12922013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1293
1294 * net/eww.el (eww-bookmark-quit): Remove.
1295 (eww-bookmark-browse): Restore the window configuration when you
1296 choose a bookmark (bug#16144).
1297
d64b6308
DC
12982013-12-24 Daniel Colascione <dancol@dancol.org>
1299
1300 * icomplete.el: Remove redundant :group arguments to `defcustom'
1301 throughout.
1302 (icomplete-show-matches-on-no-input): New customizable variable.
1303 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1304 we have something to show.
7514d3f8 1305 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1306
0da54898
DC
13072013-12-23 Daniel Colascione <dancol@dancol.org>
1308
1309 * icomplete.el: Move `provide' to end of file.
1310
b90aa4f4
TZ
13112013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1312
1313 * net/gnutls.el (gnutls-verify-error): Add version tag.
1314
8cd22a08
CY
13152013-12-23 Chong Yidong <cyd@gnu.org>
1316
1317 * subr.el (set-transient-map): Rename from
1318 set-temporary-overlay-map. Doc fix.
1319
1320 * face-remap.el (text-scale-adjust):
1321 * indent.el (indent-rigidly):
1322 * kmacro.el (kmacro-call-macro):
1323 * minibuffer.el (minibuffer-force-complete):
1324 * repeat.el (repeat):
1325 * simple.el (universal-argument--mode):
1326 * calendar/todo-mode.el (todo-insert-item--next-param):
1327 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1328
7510b021
CY
1329 * indent.el (indent-rigidly): Use substitute-command-keys.
1330
72140a0f 13312013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1332
1333 * net/eww.el (eww-tag-select): Add text-property to jump to next
1334 select field.
e9dc713d 1335 (eww): Add non-supported ftp error.
56890ecd 1336
1f87a56c
DG
13372013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1338
1339 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1340 comments. Handle electric indent after typing `?' and `!'.
1341
dca38cf9
CY
13422013-12-22 Chong Yidong <cyd@gnu.org>
1343
1344 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1345 applicable to a frame, fall back on the defface spec.
1346 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1347
f2351498
DG
13482013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1349
1350 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1351 after `{'. We need it after block openers, and it doesn't seem
1352 to hurt after hash openers.
1353
6cddebc1
DG
13542013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1355
1356 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1357 extracted from `ruby-smie-rules'.
1358 (ruby--electric-indent-chars): New variable.
1359 (ruby--electric-indent-p): New function.
1360 (ruby-mode): Use `electric-indent-functions' instead of
1361 `electric-indent-chars'.
1362
65a1da00
DG
13632013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1364
1365 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1366 docstring.
1367 (ruby-smie-rules): Indent plus one level after `=>'.
1368
b51ad4cf
RS
13692013-12-21 Richard Stallman <rms@gnu.org>
1370
1371 * simple.el (newline): Doc fix.
1372
72140a0f 13732013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1374
e9dc713d 1375 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1376 (eww-history-browse, eww-history-quit, eww-history-kill)
1377 (eww-history-mode-map, eww-history-mode): New command and
1378 functions to list browser histories.
e9dc713d
JB
1379 (eww-form-text): Support text form with disabled
1380 and readonly attributes.
1381 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1382
5e1901c1
RS
13832013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1384
1385 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1386 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1387 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1388 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1389 Use `user-error'.
1390 (eww-bookmark-mode-map): Add menu.
1391 (eww-render, eww-mode): Use `setq-local'.
1392 (eww-tool-bar-map): New variable.
1393 (eww-mode): Set `tool-bar-map'.
1394 (eww-view-source): Check for `html-mode' with `fboundp'.
1395
073d5cfd
LMI
13962013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1397
1398 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1399 elements with text inside. Also remove debugging.
1400
41cf3d11
JD
14012013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1402
1403 * cus-start.el (all): Add ns-use-srgb-colorspace.
1404
aac2b673
CY
14052013-12-21 Chong Yidong <cyd@gnu.org>
1406
1407 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1408 undefined. Thus, theme settings for undefined faces do not take
1409 effect until the faces are defined with defface, the same as with
1410 theme variables.
1411
1412 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1413 (face-spec-reset-face): Don't assign extra properties in temacs.
1414 (face-spec-recalc): Apply X resources too.
1415
bacb0e77
CY
14162013-12-21 Chong Yidong <cyd@gnu.org>
1417
1418 * faces.el (face-spec-set):
1419 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1420 * custom.el (defface): Doc fixes (Bug#16203).
1421
77221051
CY
1422 * indent.el (indent-rigidly-map): Add docstring, and move commands
1423 into named functions.
1424 (indent-rigidly-left, indent-rigidly-right)
1425 (indent-rigidly-left-to-tab-stop)
1426 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1427 indentation direction based on bidi direction, and accumulate
1428 sequential commands in a single undo boundary.
1429 (indent-rigidly--pop-undo): New utility function.
1430
e0eb0550
JB
14312013-12-20 Juanma Barranquero <lekktu@gmail.com>
1432
1433 * faces.el (read-face-name): Require crm.el when using crm-separator.
1434
3282bd2e
DC
14352013-12-20 Daniel Colascione <dancol@dancol.org>
1436
1437 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1438 so that we don't reflow comments into the shebang line.
1439
1d42e5b6
JL
14402013-12-20 Juri Linkov <juri@jurta.org>
1441
1442 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1443 a position when `dired-directory' is non-nil. Check integer
1444 positions with `integerp'.
1445 (toggle-save-place, save-places-to-alist): Add check for
1446 `dired-directory'.
1447 (save-place-find-file-hook): Check integer positions with
1448 `integerp'.
1449 (save-place-dired-hook): Use `dired-goto-file' when
1450 `dired-filename' is found in the assoc list. Check integer
1451 positions with `integerp'.
1452 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1453
1454 * dired.el (dired-initial-position-hook): Rename back from
1455 `dired-initial-point-hook'.
1456 (dired-initial-position): Rename `dired-initial-point-hook' to
1457 `dired-initial-position-hook'.
1458 (dired-file-name-at-point): Doc fix. (Bug#15329)
1459
24da7273
JL
14602013-12-20 Juri Linkov <juri@jurta.org>
1461
1462 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1463 (read-regexp-suggestions): New function.
1464 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1465 Use `read-regexp-suggestions'. Add non-empty default to history
1466 for empty input.
1467 (occur-read-regexp-defaults-function): Remove function.
1468 (occur-read-primary-args): Use `regexp-history-last' instead of
1469 `occur-read-regexp-defaults-function'.
1470
1471 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1472 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1473 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1474 `hi-lock-read-regexp-defaults-function'. Doc fix.
1475 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1476 with `find-tag-default-as-symbol-regexp'. Doc fix.
1477 (hi-lock-read-regexp-defaults): Remove function.
1478 (hi-lock-regexp-okay): Add check for null.
1479
1480 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1481 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1482
1483 * subr.el (find-tag-default-as-symbol-regexp): New function.
1484 (find-tag-default-as-regexp): Move symbol regexp formatting to
1485 `find-tag-default-as-symbol-regexp'.
1486
137f57c8
S
14872013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1488
1489 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1490 (Bug#14179)
1491
f3a66082
SB
14922013-12-20 Stephen Berman <stephen.berman@gmx.net>
1493
1494 * calendar/todo-mode.el: New implementation of item insertion
1495 commands and key bindings.
1496 (todo-key-prompt): New face.
1497 (todo-insert-item): New command.
1498 (todo-insert-item--parameters): New defconst, replacing defvar
1499 todo-insertion-commands-args-genlist.
1500 (todo-insert-item--param-key-alist): New defconst, replacing
1501 defvar todo-insertion-commands-arg-key-list.
1502 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1503 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1504 (todo-insert-item--next-param): New functions.
1505 (todo-insert-item--args, todo-insert-item--argleft)
1506 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1507 New variables.
1508 (todo-key-bindings-t): Change binding of "i" from
1509 todo-insertion-map to todo-insert-item.
1510 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1511 (todo-insertion-command-name, todo-insertion-commands-names)
1512 (todo-define-insertion-command, todo-insertion-commands)
1513 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1514
2f99433b
SB
15152013-12-20 Stephen Berman <stephen.berman@gmx.net>
1516
1517 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1518 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1519 eval-when-compile.
1520 (todo-move-category): Allow choosing a non-existing todo file to
1521 move the category to, and create that file.
1522 (todo-default-priority): New user option.
1523 (todo-set-item-priority): Use it.
1524 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1525 (desktop-restore-file-buffer): Declare.
1526 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1527 (todo-modes-set-2): Locally set desktop-save-buffer to
1528 todo-desktop-save-buffer.
1529 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1530 (auto-mode-alist): Add autoload cookie.
1531
131e4695
BB
15322013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1533
1534 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1535 helpers.el was a poor choice of name.
3cbfb935
BB
1536 (string-remove-prefix): New function.
1537 (string-remove-suffix): New function.
131e4695 1538
c44de18d
MR
15392013-12-20 Martin Rudalics <rudalics@gmx.at>
1540
1541 Fix assignment for new window total sizes.
1542 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1543 (window--pixel-to-total-1, window--pixel-to-total):
1544 Fix calculation of new total sizes.
c44de18d 1545
ca65efcc
VS
15462013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1547
1548 * comint.el (comint-output-filter): Fix rear-nonsticky property
1549 placement (Bug#16010).
1550
a9574eb7
CY
15512013-12-20 Chong Yidong <cyd@gnu.org>
1552
1553 * faces.el (read-color): Minor fix for completion function.
1554
b520f210
DG
15552013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1556
e0eb0550
JB
1557 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1558 New option. (Bug#16182)
b520f210
DG
1559 (ruby-smie--indent-to-stmt-p): Use it.
1560 (ruby-smie-rules): Revert the logic in the handling of `when'.
1561 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1562 (ruby-deep-arglist, ruby-deep-indent-paren)
1563 (ruby-deep-indent-paren-style): Update docstrings to note that the
1564 vars don't have any effect with SMIE.
1565
26b75b45
JB
15662013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1567
1568 * calc/calc.el (calc-enter, calc-pop): Use the variable
1569 `calc-context-sensitive-enter'.
1570
cf91cee7
LMI
15712013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1572
1573 * net/shr.el (shr-insert): Protect against infloops in degenerate
1574 tables.
1575
51d971b4
RS
15762013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1577
1578 * progmodes/octave.el (octave): Add link to manual and octave
1579 homepage.
1580 (octave-mode-menu): Link to octave-mode manual.
1581
8c2e462a
LL
15822013-12-20 Leo Liu <sdl.web@gmail.com>
1583
1584 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1585 insertion using skeleton-end-newline. (Bug#16138)
1586
501158bc
JL
15872013-12-20 Juri Linkov <juri@jurta.org>
1588
1589 * replace.el (occur-engine): Use `add-face-text-property'
1590 to add the face property to matches and titles. (Bug#14645)
1591
1592 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1593 the palette of other hi-lock colors.
1594 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1595
50ab1da6
JL
15962013-12-19 Juri Linkov <juri@jurta.org>
1597
1598 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1599 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1600 (minibuffer-history-symbol): Move variable declaration closer to
1601 its usage.
1602
1603 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1604 (Bug#14785)
1605
3d6e95e7
JL
16062013-12-19 Juri Linkov <juri@jurta.org>
1607
1608 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1609 New function.
1610 (log-edit-hook): Add it to :options. (Bug#16170)
1611
b41594fd
JL
16122013-12-19 Juri Linkov <juri@jurta.org>
1613
1614 * simple.el (eval-expression-print-format): Don't check for
1615 command names and the last command. Always display additional
1616 formats of the integer result in the echo area, and insert them
1617 to the current buffer only with a zero prefix arg.
1618 Display character when char-displayable-p is non-nil.
1619 (eval-expression): With a zero prefix arg, set `print-length' and
1620 `print-level' to nil, and insert the integer values from
1621 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1622
1623 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1624 `eval-last-sexp-arg-internal'. Doc fix.
1625 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1626 `eval-last-sexp-print-value'. Doc fix.
1627 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1628 Set `print-length' and `print-level' to nil when arg is zero.
1629 (eval-last-sexp): Doc fix.
1630 (eval-defun-2): Print the integer values from
1631 `eval-expression-print-format' at the end.
1632
1633 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1634 values from `eval-expression-print-format' at the end.
1635
1636 * ielm.el (ielm-eval-input): Print the integer
1637 values from `eval-expression-print-format' at the end.
1638
8f2be364
TZ
16392013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1640
1641 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1642 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1643
2230a6e3
SM
16442013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1645
1646 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1647 (hl-line-highlight, global-hl-line-highlight): Use it.
1648 (hl-line-overlay): Use defvar-local.
1649
1269a680
JD
16502013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1651
1652 * term/ns-win.el: Require dnd.
1653 (global-map): Remove drag items.
1654 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1655 (ns-set-background-at-mouse):
1656 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1657 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1658 New functions.
1269a680 1659
049638ad
GM
16602013-12-19 Glenn Morris <rgm@gnu.org>
1661
1662 * emacs-lisp/ert.el (ert-select-tests):
1663 Fix string/symbol mixup. (Bug#16121)
1664
ce41edb4
DG
16652013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1666
1667 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1668 keywords to their parent.
1669
7e1549c9
DG
16702013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1671
1672 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1673 first arg to be a string (fixed dead code), or an operator symbol.
1674 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1675 operator symbols.
1676 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1677 did nothing. Don't respond to `(:after ".")', it will be called
1678 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1679 change anything. Only return indentation for binary operators
1680 when they are hanging. De-dent opening paren when its parent is
1681 `.', otherwise it looks bad when the dot is not at bol or eol
1682 (bug#16182).
1683
3ee4cd64
JL
16842013-12-19 Juri Linkov <juri@jurta.org>
1685
1686 * replace.el (query-replace-read-args): Split a non-negative arg
1687 and a negative arg into separate elements.
1688 (query-replace, query-replace-regexp, replace-string)
1689 (replace-regexp): Add arg `backward'. Doc fix.
1690 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1691 move point to the beginning of the match.
1692 (replace-search, replace-highlight): Use new arg `backward'
1693 to set the value of `isearch-forward'.
1694 (perform-replace): Add arg `backward' and use it to perform
1695 replacement backward. (Bug#14979)
1696
1697 * isearch.el (isearch-query-replace): Use a negative prefix arg
1698 to call `perform-replace' with a non-nil arg `backward'.
1699
0cda6b7b
JL
17002013-12-18 Juri Linkov <juri@jurta.org>
1701
1702 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1703 to the default list. Move `log-edit-show-files' to the end.
1704 Add more available functions to options.
1705 (log-edit): Move default specific settings to
1706 `log-edit-insert-message-template'. Don't move point.
1707 (log-edit-insert-message-template): New function.
1708 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1709 (Bug#16170)
1710
b216f0a6
JL
17112013-12-18 Juri Linkov <juri@jurta.org>
1712
1713 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1714 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1715
1d1c55dc
LL
17162013-12-18 Leo Liu <sdl.web@gmail.com>
1717
e9dc713d
JB
1718 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1719 (Bug#16186)
1d1c55dc 1720
64e4c76e
EZ
17212013-12-18 Eli Zaretskii <eliz@gnu.org>
1722
1723 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1724 formats for displaying file sizes when the -s switch is given.
1725 Instead, compute a separate format for displaying the size in
1726 blocks, which is displayed in addition to the "regular" size.
1727 When -h is given in addition to -s, produce size in blocks in
1728 human-readable form as well. (Bug#16179)
1729
b2984e39
TH
17302013-12-18 Tassilo Horn <tsdh@gnu.org>
1731
2230a6e3
SM
1732 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1733 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1734
50ff2e06
CY
17352013-12-18 Chong Yidong <cyd@gnu.org>
1736
0081bc84
CY
1737 * cus-edit.el (custom-magic-alist): Fix "themed" description
1738 (Bug#14348).
1739
a7ee9424
CY
1740 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1741 is non-nil, do not create a new entry in the symbol's theme-value
1742 or theme-face property; update theme-settings only (Bug#14664).
18874304 1743 (custom-available-themes): Doc fix.
a7ee9424 1744
8f942537
CY
1745 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1746 (Bug#15674).
1747
50ff2e06
CY
1748 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1749
83c60f60
KI
17502013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1751
1752 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1753 (Bug#13914).
1754
e0eb0550 17552013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1756
1757 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1758
1f41ee56
GM
17592013-12-18 Glenn Morris <rgm@gnu.org>
1760
1761 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1762 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1763
e82134b1
LW
17642013-12-18 Le Wang <l26wang@gmail.com>
1765
2230a6e3
SM
1766 * comint.el (comint-previous-matching-input-from-input):
1767 Retain point (Bug#13404).
e82134b1 1768
33f5d4c1
CY
17692013-12-18 Chong Yidong <cyd@gnu.org>
1770
1771 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1772
ccc9f6dc
GM
17732013-12-18 Glenn Morris <rgm@gnu.org>
1774
1775 * mail/emacsbug.el (report-emacs-bug):
1776 Only mention enable-multibyte-characters if non-standard.
1777
33dd8e95
JL
17782013-12-17 Juri Linkov <juri@jurta.org>
1779
1780 * arc-mode.el (archive-extract-by-file): Check if directory exists
1781 before deletion to not show irrelevant errors if it doesn't exist.
1782
7a409b30
JL
17832013-12-17 Juri Linkov <juri@jurta.org>
1784
1785 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1786 (Bug#14751)
1787
1788 * net/eww.el (browse-web): Add alias to `eww'.
1789 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1790 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1791
1792 * net/browse-url.el (browse-url-browser-function): Move `eww'
1793 closer to similar functions.
1794
1795 * startup.el (fancy-startup-screen, fancy-about-screen):
1796 Set browse-url-browser-function to eww-browse-url locally.
1797 (Bug#14751)
1798
2d6b6005
SM
17992013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1800
1801 * window.el (window--pixel-to-total): Remove unused `mini' var.
1802 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1803 (split-window): Remove unused `new' var.
1804 (window--display-buffer): Remove unused `frame' and `delta' vars.
1805 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1806 and display-width'.
1807
cf2b7efc
MR
18082013-12-17 Martin Rudalics <rudalics@gmx.at>
1809
1810 * dired.el (dired-mark-pop-up):
1811 * register.el (register-preview): Don't bind
1812 split-height-threshold here since it's now done in
1813 display-buffer-below-selected.
1814
ed3af8a7 18152013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1816
1817 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1818 xterm-rgb-convert-to-16bit.
1819 (rxvt-register-default-colors): Standardize with
1820 xterm-register-default-colors (Bug#14078).
1821
76da3455
DK
18222013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1823
1824 * simple.el (kill-region): Pass mark first, then point, so that
1825 kill-append works right (Bug#12819).
1826 (copy-region-as-kill, kill-ring-save): Likewise.
1827
2b84d763
LL
18282013-12-17 Leo Liu <sdl.web@gmail.com>
1829
1830 * net/rcirc.el (rcirc-add-face):
1831 * eshell/em-prompt.el (eshell-emit-prompt):
1832 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1833 (Bug#16167)
1834
e2f6a0bc
CY
18352013-12-17 Chong Yidong <cyd@gnu.org>
1836
1837 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1838 Suggested by Xue Fuqiao.
1839
35b249a6
DG
18402013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1841
1842 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1843
e9145444
SM
18442013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1845
1846 * net/shr.el (shr-insert-document): Remove unused var
1847 `shr-preliminary-table-render'.
1848 (shr-rescale-image): Remove unused arg `force'.
1849 (shr-put-image): Update calls accordingly.
1850 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1851
5556c0ce
DG
18522013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1853
1854 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1855 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1856 :close-all, to see which indentation method to use (Bug#16116).
1857 (smie-rules-function): Document the method :close-all.
1858
11bade0a
LMI
18592013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1860
1c4b1e61
LMI
1861 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1862
11bade0a
LMI
1863 * net/eww.el (eww-display-html): If we can't find the anchor we're
1864 looking for, then go to point-min.
1865
8fb8c4f3
PE
18662013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1867
1868 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1869 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1870 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1871 Expand dir too, in case it's relative.
1872
6c8e0ae6
JL
18732013-12-16 Juri Linkov <juri@jurta.org>
1874
1875 * desktop.el (desktop-auto-save-timeout): Change default to
1876 `auto-save-timeout'. Doc fix.
1877 (desktop-save): Skip the timestamp in desktop-saved-frameset
1878 when checking for auto-save changes.
1879 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1880 `desktop-auto-save' is called repeatedly by the idle timer.
1881 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1882 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1883 (Bug#15331)
1884
2178e858
JL
18852013-12-16 Juri Linkov <juri@jurta.org>
1886
1887 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1888 (Bug#16035)
1889 (isearch-pre-command-hook): Check `this-command' for symbolp.
1890
39cb42c6
SM
18912013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1894
5b9b750a
TZ
18952013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1896
1897 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1898 (cfengine3--current-function): Bring in the current-function
1899 functionality from `cfengine3--current-word'.
1900 (cfengine3-completion-function): Bring in the
1901 bounds-of-current-word functionality from
1902 `cfengine3--current-word'.
1903
d144ef06
MR
19042013-12-16 Martin Rudalics <rudalics@gmx.at>
1905
39cb42c6
SM
1906 * window.el (display-buffer-below-selected):
1907 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1908
a8bbe298
LL
19092013-12-16 Leo Liu <sdl.web@gmail.com>
1910
1911 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1912 Remove NOMSG arg and all uses changed.
1913
2013a2f9
SM
19142013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1915
1916 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1917 (cua--deactivate-rectangle): Don't deactivate the mark.
1918 (cua-set-rectangle-mark): Don't set mark-active since
1919 cua--activate-rectangle already does it for us.
1920 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1921 non-rectangular region.
1922
1923 * emulation/cua-base.el (cua-repeat-replace-region):
1924 Use with-current-buffer.
1925
1926 * net/gnutls.el: Use cl-lib.
1927 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1928
5ae811dd
TZ
19292013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1930
1931 * emacs-lisp/package.el (package-built-in-p): Support both
1932 built-in and the package.el converted package descriptions.
1933 (package-show-package-list): Allow keywords.
1934 (package-keyword-button-action): Use it instead of
1935 `finder-list-matches'.
1936 (package-menu-filter-interactive): Interactive filtering (by
1937 keyword) function.
1938 (package-menu--generate): Support keywords and change keymappings
1939 and headers when they are given.
1940 (package--has-keyword-p): Helper function.
1941 (package-menu--refresh): Use it.
1942 (package--mapc): Helper function.
1943 (package-all-keywords): Use it.
1944 (package-menu-mode-map): Set up menu items and keybindings to
1945 provide a filtering UI.
1946
31b4827e
TZ
19472013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1948
1949 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1950 the behavior when a certificate fails validation. Defaults to
1951 old behavior: never abort, just warn.
1952 (gnutls-negotiate): Use it.
1953
f93cc74f
MR
19542013-12-14 Martin Rudalics <rudalics@gmx.at>
1955
1956 * window.el (display-buffer-below-selected): Never split window
1957 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1958
f77d7d17
TW
19592013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1960
1961 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1962 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1963
7514d3f8
SM
19642013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1965
aa2bddd7 1966 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1967 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1968
276bc333
DG
19692013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1970
1971 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1972 open-paren tokens when preceded by a open-paren, too.
1973 (ruby-smie-rules): Handle virtual indentation after open-paren
1974 tokens specially. If there is code between it and eol, return the
1975 column where is starts (Bug#16118).
1976
d43957f3
TZ
19772013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1978
a5c1ac0c 1979 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1980 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1981 (cfengine3--current-word): Fix parameters.
1982 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1983 (cfengine3-completion-function, cfengine3--current-function):
1984 Use `assq' for symbols.
d43957f3
TZ
1985 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1986
06a4f110
GM
19872013-12-13 Glenn Morris <rgm@gnu.org>
1988
1989 * loadup.el (load-path): Warn if site-load or site-init changes it.
1990 No more need to reset it when bootstrapping.
1991
978a5fda
TZ
19922013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1993
1994 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1995 locations for cf-promises.
1996 (cfengine-mode-syntax-functions-regex): New caching variable.
1997 (cfengine3-fallback-syntax): Fallback syntax for cases where
1998 cf-promises doesn't run.
1999 (cfengine3--current-word): Reimplement using
2000 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
2001 (cfengine3-completion-function, cfengine3--current-function):
2002 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
2003 (cfengine3-clear-syntax-cache): New function.
2004 (cfengine3-make-syntax-cache): Simplify and create
2005 `cfengine-mode-syntax-functions-regex' on demand.
2006 (cfengine3-format-function-docstring): Don't call
2007 `cfengine3-make-syntax-cache' explicitly.
2008
71e6691e
MR
20092013-12-13 Martin Rudalics <rudalics@gmx.at>
2010
2011 Fix windmove-find-other-window broken after pixelwise resizing
2012 (Bug#16017).
2013 * windmove.el (windmove-other-window-loc): Revert change from
2014 2013-12-04.
2015 (windmove-find-other-window): Call window-in-direction.
2016 * window.el (window-in-direction): New arguments SIGN, WRAP and
2017 MINI to emulate original windmove-find-other-window behavior.
2018
84c73ba0
DG
20192013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2020
2021 * simple.el (blink-matching--overlay): New variable.
2022 (blink-matching-open): Instead of moving point, highlight the
2023 matching paren with an overlay
2024 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2025
2026 * faces.el (paren-showing-faces, show-paren-match)
2027 (show-paren-mismatch): Move from paren.el.
2028
b9e20952
LL
20292013-12-13 Leo Liu <sdl.web@gmail.com>
2030
2031 * indent.el (indent-region): Disable progress reporter in
2032 minibuffer. (Bug#16108)
2033
2034 * bindings.el (visual-order-cursor-movement): Fix version.
2035
ce030451
FEG
20362013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2037
2038 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2039 Also match after beginning of line.
2040 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 2041 files. Thanks to Russell Sim. (Bug#15378)
ce030451 2042
4a9c6865
JL
20432013-12-13 Juri Linkov <juri@jurta.org>
2044
2045 * simple.el <Keypad support>: Remove key bindings duplicated
2046 with bindings.el. (Bug#14397)
2047
2bc170c3
JL
20482013-12-13 Juri Linkov <juri@jurta.org>
2049
2050 * comint.el (comint-mode-map): Replace `delete-char' with
2051 `delete-forward-char'. (Bug#16109)
2052
bc9222c9
FEG
20532013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2054
aa2bddd7 2055 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 2056 Fix de-denters cornercase. (Bug#15731)
bc9222c9 2057
cb3a1380
SM
20582013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2059
2060 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2061 (advice--make): Pay attention to `depth'.
2062 (advice--make-1): Don't autoload commands eagerly.
2063 * emacs-lisp/elp.el (elp-instrument-function):
2064 * emacs-lisp/trace.el (trace-function-internal):
2065 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2066
2067 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2068
01633a17
EZ
20692013-12-12 Eli Zaretskii <eliz@gnu.org>
2070
2071 * term/w32-win.el (w32-handle-dropped-file):
2072 * startup.el (normal-top-level):
2073 * net/browse-url.el (browse-url-file-url):
2074 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2075 decode file names using 'utf-8' rather than
2076 file-name-coding-system.
2077
09faee72
FEG
20782013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2079
2080 * progmodes/python.el (python-indent-context)
2081 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 2082 behavior for comment blocks. (Bug#15916)
09faee72 2083
f4f84024 20842013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 2085
cb3a1380
SM
2086 * progmodes/python.el (python-indent-calculate-indentation):
2087 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
2088 operators when they are just string constituents. (Bug#15812)
2089
d5ccb7be
JL
20902013-12-12 Juri Linkov <juri@jurta.org>
2091
2092 * uniquify.el (uniquify-buffer-name-style): Change default to
2093 `post-forward-angle-brackets'.
2094
2095 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2096 `uniquify'. Change default to `post-forward-angle-brackets'.
2097
7b3f5679
GM
20982013-12-11 Glenn Morris <rgm@gnu.org>
2099
2100 * emacs-lisp/package.el (finder-list-matches):
2101 Autoload rather than falsely declaring.
2102
f4fe8fdd
TZ
21032013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2104
2105 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2106 (eww-mode-map): Use them.
2107
3c29190f
MR
21082013-12-11 Martin Rudalics <rudalics@gmx.at>
2109
2110 * window.el (display-buffer-in-side-window): Fix doc-string
2111 (Bug#16115).
2112
0cd616a2
JB
21132013-12-11 Juanma Barranquero <lekktu@gmail.com>
2114
2115 * vc/vc-git.el: Silence byte-compiler warnings.
2116 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2117 (log-edit-set-header): Declare.
2118
3ef8e0d1
EZ
21192013-12-11 Eli Zaretskii <eliz@gnu.org>
2120
2121 * Makefile.in (custom-deps, finder-data): Run output file names
2122 through unmsys--file-name. (Bug#16099)
2123
afdadaf7
SM
21242013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2125
7ae3ae39 2126 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2127 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2128
5b4f37ab
SM
2129 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2130 instead of deleting the selection "by hand" (bug#16098).
2131 Rely on insert-for-yank to yank rectangles.
2132 (cua-highlight-region-shift-only): Mark obsolete.
2133 (cua-mode): Don't enable/disable transient-mark-mode,
2134 shift-select-mode (cua-mode works both with and without them), and
2135 pc-selection-mode (obsolete).
2136 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2137 (cua--deactivate-rectangle): Deactivate it.
2138
4b72c12b
SM
2139 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2140 (delete-selection-helper): Make sure yank starts at the top of the
2141 deleted region.
2142 (minibuffer-keyboard-quit): Use region-active-p.
2143
e82af72d
SM
2144 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2145
afdadaf7
SM
2146 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2147 to `delete' (bug#16109).
2148
ed4bc201
RS
21492013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2150
2151 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2152 info manual and show keybindings and set `:group' keyword.
2153
bb8097b9
JL
21542013-12-11 Juri Linkov <juri@jurta.org>
2155
2156 * delsel.el (delete-active-region): Let-bind `this-command'
2157 to prevent `kill-region' from changing its original value.
2158 (delete-selection-helper): Handle `overwrite-mode' for the type
2159 `kill' exactly the same way as for the type `t'.
2160 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2161 Support more commands. (Bug#13312)
2162
c1916ff5
JL
21632013-12-11 Juri Linkov <juri@jurta.org>
2164
2165 * bindings.el: Map kp keys to non-kp keys systematically
2166 with basic modifiers control, meta and shift. (Bug#14397)
2167
7514d3f8 21682013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2169
2170 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2171 "Close browser" menu items. Fix wrong function of "List
2172 bookmarks".
2173
4cc51eaf
JL
21742013-12-11 Juri Linkov <juri@jurta.org>
2175
2176 * misearch.el (multi-isearch-buffers): Set the value of
2177 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2178 arg of isearch-forward to t.
2179 (multi-isearch-buffers-regexp): Set the value of
2180 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2181 arg of isearch-forward-regexp to t.
2182 (multi-isearch-files): Set the value of
2183 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2184 arg of isearch-forward to t.
2185 (multi-isearch-files-regexp): Set the value of
2186 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2187 arg of isearch-forward-regexp to t. (Bug#16035)
2188
2189 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2190 arg of isearch-forward to t.
2191 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2192 arg of isearch-forward-regexp to t.
2193 (dired-isearch-filter-filenames): Remove unnecessary check for
2194 `dired-isearch-filenames'.
2195
2196 * comint.el (comint-history-isearch-backward):
2197 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2198 (comint-history-isearch-backward-regexp):
2199 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2200
ceac12b7
EZ
22012013-12-10 Eli Zaretskii <eliz@gnu.org>
2202
2203 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2204 unmsys--file-name. (Bug#16099)
2205
5a565782
TZ
22062013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2207
cb3a1380
SM
2208 * emacs-lisp/package.el (package-keyword-button-action):
2209 Remove finder.el require dependency.
5a565782 2210
a81fc7ba
TZ
22112013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2212
2213 * emacs-lisp/package.el: Require finder.el.
2214 (describe-package-1): Add keyword buttons.
2215 (package-make-button): New convenience function.
2216 (package-keyword-button-action): Keyword button action using
e0eb0550 2217 `finder-list-matches'.
a81fc7ba 2218
6aaca951
EZ
22192013-12-09 Eli Zaretskii <eliz@gnu.org>
2220
2221 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2222 last commit.
2223
a1099a91
MA
22242013-12-09 Michael Albinus <michael.albinus@gmx.de>
2225
2226 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2227 symlinked files.
2228
8212d9c0
DG
22292013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2230
2231 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2232 after the end of a percent literal.
2233
8f48d131
CD
22342013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2235
cb3a1380
SM
2236 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2237 Handle caret-delimited strings (Bug#16079).
8f48d131 2238
ff8c9764
DG
22392013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2240
cb3a1380
SM
2241 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2242 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2243 `ruby-parse-partial' (Bug#16078).
2244
d64643b4
LL
22452013-12-09 Leo Liu <sdl.web@gmail.com>
2246
2247 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2248
47e59c66
DG
22492013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2250
2251 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2252 (js-switch-indent-offset): New option.
2253 (js--proper-indentation): Use it. And handle the case when
2254 "default" is actually a key in an object literal.
2255 (js--same-line): New function.
2256 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2257 (js--indent-in-array-comp, js--array-comp-indentation):
2258 New functions.
47e59c66
DG
2259 (js--proper-indentation): Use them, to handle array comprehension
2260 continuations.
2261
974ebc9c
LL
22622013-12-08 Leo Liu <sdl.web@gmail.com>
2263
2264 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2265 (flymake-make-overlay): Remove arg MOUSE-FACE.
2266 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2267
27262e39
SM
22682013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2269
2270 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2271 New function.
2272 (redisplay-highlight-region-function): Use it.
2273
2274 * emulation/cua-base.el (cua--explicit-region-start)
2275 (cua--last-region-shifted): Remove.
2276 (cua--deactivate): Use deactivate-mark.
2277 (cua--pre-command-handler-1): Don't handle shift-selection.
2278 (cua--post-command-handler-1): Don't change transient-mark-mode.
2279 (cua--select-keymaps): Use region-active-p rather than
2280 cua--explicit-region-start or cua--last-region-shifted.
2281 (cua-mode): Enable shift-select-mode.
2282
6407822c
LL
22832013-12-08 Leo Liu <sdl.web@gmail.com>
2284
27262e39
SM
2285 * progmodes/flymake.el (flymake-popup-current-error-menu):
2286 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2287 (flymake-posn-at-point-as-event, flymake-popup-menu)
2288 (flymake-make-emacs-menu): Remove. (Bug#16077)
2289
00a2b823
SM
22902013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2291
02033d49
SM
2292 * rect.el (rectangle-mark-mode): Activate mark even if
2293 transient-mark-mode is off (bug#16066).
2294 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2295 is > mark and at bolp.
2296
6f8dfccf
SM
2297 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2298 (region-extract-function): Use it.
2299 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2300 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2301 Delete functions.
2302 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2303 kill-ring-save, kill-region, delete-char, delete-forward-char.
2304 Ignore self-insert-iso.
2305
2306 * emulation/cua-gmrk.el (cua--init-global-mark):
2307 Ignore `self-insert-iso'.
2308
2309 * emulation/cua-base.el (cua--prefix-copy-handler)
2310 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2311 checking cua--rectangle.
2312 (cua-delete-region): Use region-extract-function.
2313 (cua-replace-region): Delete function.
2314 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2315 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2316 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2317 (cua--init-keymaps): Don't remap delete-selection commands.
2318 (cua-mode): Use delete-selection-mode instead of rolling our own
2319 (bug#16085).
2320
2321 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2322 Obey region-extract-function.
2323
00a2b823
SM
2324 Make registers and delete-selection-mode work on rectangles.
2325 * register.el (describe-register-1): Don't modify the register's value.
2326 (copy-to-register): Obey region-extract-function.
2327 * delsel.el (delete-active-region): Obey region-extract-function.
2328
a92fa5f1
LL
23292013-12-08 Leo Liu <sdl.web@gmail.com>
2330
2331 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2332 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2333 (flymake-compilation-prevents-syntax-check)
2334 (flymake-start-syntax-check-on-newline)
2335 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2336 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2337 (flymake-xml-program, flymake-master-file-dirs)
2338 (flymake-master-file-count-limit)
2339 (flymake-allowed-file-name-masks): Relocate.
2340 (flymake-makehash, flymake-float-time)
2341 (flymake-replace-regexp-in-string, flymake-split-string)
2342 (flymake-get-temp-dir): Remove.
2343 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2344 (flymake-current-row, flymake-selected-frame)
2345 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2346 related functions. (Bug#16077)
2347
73c8ceea
BB
23482013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2349
2350 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2351
faec28d9
TH
23522013-12-07 Tassilo Horn <tsdh@gnu.org>
2353
2354 * help-fns.el (describe-function-1): Use new advice-* functions
2355 rather than old ad-* functions. Fix function type description and
2356 source links for advised functions and subrs.
2357
e330b646
LMI
23582013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2359
00a2b823 2360 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2361
4803595d
MA
23622013-12-06 Michael Albinus <michael.albinus@gmx.de>
2363
2364 * progmodes/compile.el (compilation-start):
2365 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2366
2367 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2368 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2369
fa834a93
DG
23702013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2371
00a2b823
SM
2372 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2373 Touch up the last change.
fa834a93 2374
b2856a6f
LL
23752013-12-06 Leo Liu <sdl.web@gmail.com>
2376
2377 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2378 (inferior-octave-startup): Always use "octave> " for prompt.
2379 (octave-goto-function-definition)
2380 (octave-sync-function-file-names)
2381 (octave-find-definition-default-filename): Remove redundant backquotes.
2382
af67e79a
DG
23832013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2384
2385 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2386 syntax for `?'.
2387 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2388 where appropriate already.
2389 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2390 end of method names (Bug#15874).
2391
bf093209
JL
23922013-12-06 Juri Linkov <juri@jurta.org>
2393
2394 * isearch.el (isearch--saved-overriding-local-map):
2395 New internal variable.
2396 (isearch-mode): Set it to the initial value of
2397 `overriding-terminal-local-map'.
2398 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2399 with `isearch--saved-overriding-local-map'. (Bug#16035)
2400
16588fad
DG
24012013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2402
00a2b823
SM
2403 * progmodes/octave.el (inferior-octave-completion-table):
2404 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2405 (Bug#11906). Update all references.
2406
2407 * minibuffer.el (completion-table-with-cache): New function.
2408
bf4906d7
CD
24092013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2410
2411 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2412
ff69c18f
TZ
24132013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2414
2415 * net/eww.el (eww-current-source): New variable to store page
2416 source.
2417 (eww-display-html, eww-mode, eww-save-history)
2418 (eww-restore-history): Use it.
2419 (eww-view-source): New command to view page source.
2420 Opportunistically uses `html-mode' to highlight the buffer.
2421 (eww-mode-map): Install it.
2422
b85eff45
MA
24232013-12-05 Michael Albinus <michael.albinus@gmx.de>
2424
2425 * net/dbus.el (dbus-unregister-service)
2426 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2427 Fix docstring.
2428 (dbus-unregister-service): Skip :serial entries in
2429 `dbus-registered-objects-table'.
2430 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2431
39eb0899
TZ
24322013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2433
2434 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2435 around keywords with extra `split-string' argument.
2436
456760a5
MR
24372013-12-04 Martin Rudalics <rudalics@gmx.at>
2438
2439 * windmove.el (windmove-other-window-loc): Handle navigation
2440 between windows (excluding the minibuffer window - Bug#16017).
2441
81961e4c
MA
24422013-12-04 Michael Albinus <michael.albinus@gmx.de>
2443
2444 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2445 in D-Bus type syntax.
2446 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2447 preserve unibyte strings. (Bug#16048)
2448
8497f938
SM
24492013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2450
2451 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2452 Call force-mode-line-update is the proper buffer (bug#16042).
2453
dda61916
DG
24542013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2455
2456 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2457 `log-edit-remember-comment', make argument optional. Adjust all
2458 callers.
2459 (log-edit-mode): Add `log-edit-remember-comment' to
2460 `kill-buffer-hook' locally.
2461 (log-edit-kill-buffer): Don't remember comment explicitly since
2462 the buffer is killed anyway.
2463
c085e5b9
JL
24642013-12-04 Juri Linkov <juri@jurta.org>
2465
2466 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2467 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2468
e0eb0550 24692013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2470
2471 * notifications.el (notifications-close-notification): Call the
81961e4c 2472 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2473
39fa32d6
KY
24742013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2475
2476 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2477
9139632a
JL
24782013-12-03 Juri Linkov <juri@jurta.org>
2479
2480 * progmodes/compile.el (compilation-start): Rename window alist
2481 entry `no-display-ok' to `allow-no-window'.
2482
2483 * simple.el (shell-command): Add window alist entry
2484 `allow-no-window' to `display-buffer'.
2485 (async-shell-command): Doc fix.
2486
2487 * window.el (display-buffer-no-window): New action function.
2488 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2489
0f457a37
DG
24902013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2491
2492 * vc/log-edit.el (log-edit-set-header): Extract from
2493 `log-edit-toggle-header'.
2494 (log-edit-extract-headers): Separate the summary, when extracted
2495 from header, from the rest of the message with an empty line.
2496
2497 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2498 line, if present, to the Summary header.
2499
0962f376
SM
25002013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2501
2502 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2503 in current-buffer (bug#16029).
2504
f345395c
HE
25052013-12-02 Helmut Eller <eller.helmut@gmail.com>
2506
2507 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2508 (debugger-mode-map): Bind it.
2509 (debugger--backtrace-base): New function.
2510 (debugger-eval-expression): Use it.
2511 (debugger-frame-number): Skip local vars when present.
2512 (debugger--locals-visible-p, debugger--insert-locals)
2513 (debugger--show-locals, debugger--hide-locals): New functions.
2514
a8a15d9d
MA
25152013-12-02 Michael Albinus <michael.albinus@gmx.de>
2516
2517 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2518 "LC_ALL".
2519 (tramp-get-remote-locale): New defun.
2520 (tramp-open-connection-setup-interactive-shell): Use it.
2521
0518b057
LL
25222013-12-02 Leo Liu <sdl.web@gmail.com>
2523
2524 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2525
2526 * progmodes/sh-script.el (sh-shell-process):
2527 * progmodes/octave.el (inferior-octave-process-live-p):
2528 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2529 (gdb-inferior-io-sentinel):
2530 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2531
3adc9c6d
DG
25322013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2533
2534 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2535 `save-selected-window' to `log-edit-hide-buf'. This makes
2536 `log-edit-show-files' idempotent.
2537 (log-edit-show-files): Mark the new window as dedicated.
2538
47e8b74e
DG
25392013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2540
2541 * vc/log-edit.el (log-edit-mode-map): Add binding for
2542 `log-edit-kill-biffer'.
2543 (log-edit-hide-buf): Add a FIXME comment.
2544 (log-edit-add-new-comment): New function, extracted from
2545 `log-edit-done'.
2546 (log-edit-done, log-edit-add-to-changelog): Use it.
2547 (log-edit-kill-buffer): New command.
2548
1f6e1bb0
LMI
25492013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2550
2551 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2552 instead of killing the buffer.
2553
fb651d15
SM
25542013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2555
2556 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2557
8feacce0
RS
25582013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2559
fb651d15 2560 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2561 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2562 (eww-form-checkbox, eww-toggle-checkbox):
2563 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2564
e0eb0550 2565 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2566 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2567 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2568 no :src tag was specified.
2569
fb651d15 2570 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2571 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2572 Use \\` to match beginning of string instead of ^.
2573 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2574 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2575
177948a5
RS
2576 * net/shr.el (shr-tag-video): Display content for video if no
2577 poster is available.
eb2dd24d 2578 (shr-tag-audio): Add support for <audio> tag.
177948a5 2579
e0eb0550 2580 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2581 (eww-process-text-input): Treat input types in
2582 `eww-text-input-types' as text.
2583
8feacce0
RS
2584 * net/shr.el (shr-tag-table): Fix comment typo.
2585
513562a1
LMI
25862013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2587
2588 * net/eww.el (eww-follow-link): New command to avoid reloading
2589 pages when we follow #target links (bug#15243).
de8a5633 2590 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2591
9dd99753
KN
25922013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2593
2594 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2595 forms.
2596
3e9876de
LMI
25972013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2598
2599 * net/eww.el (eww-restore-history): Update the window title after
2600 moving in the history.
ab6dea82 2601 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2602
52789f7f
DG
26032013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2604
2605 * vc/log-edit.el (log-edit-mode-map): Add binding for
2606 `log-edit-beginning-of-line'.
2607 (log-edit-setup-add-author): New user option.
2608 (log-edit-beginning-of-line): New command.
2609 (log-edit): Move major mode call above the contents setup so that
2610 the local variable values are already applied.
2611 (log-edit): Only insert "Author: " when
2612 `log-edit-setup-add-author' is non-nil.
2613 (log-edit): When SETUP is non-nil, position point after ": "
2614 instead of point-min.
2615
2e6710c3
GM
26162013-12-01 Glenn Morris <rgm@gnu.org>
2617
2618 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2619
fadec31f
EZ
26202013-11-30 Eli Zaretskii <eliz@gnu.org>
2621
2622 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2623 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2624 visible. (Bug#16014)
2625
10634b40 26262013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2627
2628 Support resizing frames and windows pixelwise.
2629 * cus-start.el (frame-resize-pixelwise)
2630 (window-resize-pixelwise): New entries.
2631 * emacs-lisp/debug.el (debug): Use window-total-height instead
2632 of window-total-size.
2633 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2634 * help.el (describe-bindings-internal): Call help-buffer
2635 (temp-buffer-max-width): New option.
2636 (resize-temp-buffer-window, help-window-setup)
2637 (with-help-window): Rewrite.
2638 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2639 dragging dividers.
2640 * window.el (frame-char-size, window-min-pixel-height)
2641 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2642 (window-min-pixel-width, window-safe-min-pixel-size)
2643 (window-combination-p, window-safe-min-size)
2644 (window-resizable-p, window--size-to-pixel)
2645 (window--pixel-to-size, window--resize-apply-p): New functions.
2646 (window-safe-min-height): Fix doc-string.
2647 (window-size, window-min-size, window--min-size-1)
2648 (window-sizable, window-sizable-p, window--min-delta-1)
2649 (window-min-delta, window--max-delta-1, window-max-delta)
2650 (window--resizable, window--resizable-p, window-resizable)
2651 (window-full-height-p, window-full-width-p, window-at-side-p)
2652 (window--in-direction-2, window-in-direction)
2653 (window--resize-reset-1, window--resize-mini-window)
2654 (window-resize, window-resize-no-error)
2655 (window--resize-child-windows-normal)
2656 (window--resize-child-windows, window--resize-siblings)
2657 (window--resize-this-window, window--resize-root-window)
2658 (window--resize-root-window-vertically)
2659 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2660 (maximize-window, minimize-window, delete-window)
2661 (quit-restore-window, window-split-min-size, split-window)
2662 (balance-windows-2, balance-windows)
2663 (balance-windows-area-adjust, balance-windows-area)
2664 (window--state-get-1, window-state-get, window--state-put-1)
2665 (window--state-put-2, window-state-put)
fb651d15
SM
2666 (display-buffer-record-window, window--display-buffer):
2667 Make functions handle pixelwise sizing of windows.
880e6158 2668 (display-buffer--action-function-custom-type)
fb651d15
SM
2669 (display-buffer-fallback-action):
2670 Add display-buffer-in-previous-window.
880e6158
MR
2671 (display-buffer-use-some-window): Resize window to height it had
2672 before.
2673 (fit-window-to-buffer-horizontally): New option.
2674 (fit-frame-to-buffer): Describe new values.
2675 (fit-frame-to-buffer-bottom-margin): Replace with
2676 fit-frame-to-buffer-margins.
2677 (window--sanitize-margin): New function.
2678 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2679 using window-text-pixel-size.
2680
f9b697dd
GM
26812013-11-30 Glenn Morris <rgm@gnu.org>
2682
3e2fb4db
GM
2683 * emacs-lisp/bytecomp.el (byte-compile-form):
2684 Make the `interactive-only' warning like the `obsolete' one.
2685 * comint.el (comint-run):
2686 * files.el (insert-file-literally, insert-file):
2687 * replace.el (replace-string, replace-regexp):
2688 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2689 (goto-line, insert-buffer, next-line, previous-line):
2690 Tweak `interactive-only' spec.
2691
f9b697dd
GM
2692 Stop keeping (most) generated cedet grammar files in the repository.
2693 * Makefile.in (semantic): New.
2694 (compile-main): Depend on semantic.
2695
da048127
SM
26962013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2697
7784b779
SM
2698 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2699 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2700
4e36a6a6
SM
2701 * uniquify.el (uniquify-buffer-name-style): Change default.
2702
2703 * loadup.el: Preload "uniquify".
2704
e0ba1308
SM
2705 * time.el (display-time-update): Update all mode lines (bug#15999).
2706
da048127
SM
2707 * electric.el (electric-indent-mode): Enable by default.
2708 * loadup.el: Preload "electric".
2709
015b3b3e
BB
27102013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2711
2712 * emacs-lisp/helpers.el (string-empty-p): New function.
2713 (string-blank-p): New function.
2714
7efb806d
AP
27152013-11-29 Andreas Politz <politza@hochschule-trier.de>
2716
2717 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2718 (Bug#14029).
2719
c8f0efc2
AP
27202013-11-29 Andreas Politz <politza@fh-trier.de>
2721 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2722 allow non-lambda lists as functions.
2723 (imenu--in-alist): Don't recurse into non-subalists.
2724 (imenu): Don't pass function itself as an argument (Bug#14029).
2725
bd15d9d1
SM
27262013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2727
2728 * progmodes/python.el (python-mode-map): Remove binding for ":".
2729 (python-indent-electric-colon): Remove command.
2730 (python-indent-post-self-insert-function): Integrate the previous code
2731 of python-indent-electric-colon. Make it conditional on
2732 electric-indent-mode.
2733 (python-mode): Add ?: to electric-indent-chars.
2734 Move python-indent-post-self-insert-function to the end of
2735 post-self-insert-hook.
2736
1b10adb6
SM
27372013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2738
655ab9a3
SM
2739 * doc-view.el (doc-view-goto-page): Update mode-line.
2740
1b10adb6
SM
2741 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2742
7e3bf78c
GM
27432013-11-27 Glenn Morris <rgm@gnu.org>
2744
2745 * international/charprop.el, international/uni-bidi.el:
2746 * international/uni-category.el, international/uni-combining.el:
2747 * international/uni-comment.el, international/uni-decimal.el:
2748 * international/uni-decomposition.el, international/uni-digit.el:
2749 * international/uni-lowercase.el, international/uni-mirrored.el:
2750 * international/uni-name.el, international/uni-numeric.el:
2751 * international/uni-old-name.el, international/uni-titlecase.el:
2752 * international/uni-uppercase.el:
2753 Remove generated files from VCS repository.
2754
fb6a5d68
EZ
27552013-11-27 Eli Zaretskii <eliz@gnu.org>
2756
2757 * filenotify.el (file-notify-add-watch): Don't special-case
2758 w32notify when computing the directory to watch.
2759
cb6c95a3
GM
27602013-11-27 Glenn Morris <rgm@gnu.org>
2761
20372d0c
GM
2762 Make bootstrap without generated uni-*.el files possible again.
2763 * loadup.el: Update command-line-args checking for unidata-gen.
2764 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2765 * composite.el, international/characters.el:
2766 Handle unicode tables being undefined.
2767
52d6635f 2768 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2769 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2770 (compile-main): Depend on leim rule.
2771 (leim): New rule.
2772 * loadup.el: Move leim-list.el to leim/ subdirectory.
2773 * startup.el (normal-top-level): No more leim directory.
2774 * international/ja-dic-cnv.el (skkdic-convert):
2775 Disable version-control and autoloads in output files.
2776 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2777 Disable version-control and autoloads in output files.
2778 * leim/quail: Move here from ../leim.
2779 * leim/quail/hangul.el (hangul-input-method-activate):
2780 Add autoload cookie.
2781 (generated-autoload-load-name): Set file-local value.
2782 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2783 (generated-autoload-load-name): Set file-local value.
2784
7514d3f8 27852013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2786
e0eb0550 2787 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2788 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2789 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2790
0e2c793f
EZ
27912013-11-26 Eli Zaretskii <eliz@gnu.org>
2792
2793 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2794 reading output from Diff on MS-Windows and MS-DOS.
2795
447bdcb8
BB
27962013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2797
2798 * emacs-lisp/helpers.el (string-reverse): New function.
2799
5fbf6856
MA
28002013-11-26 Michael Albinus <michael.albinus@gmx.de>
2801
2802 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2803 names on MS Windows, like "/[::1]:".
2804
2805 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2806 SWITCHES.
2807
624780f0
GM
28082013-11-26 Glenn Morris <rgm@gnu.org>
2809
0bf3f0fa
GM
2810 * progmodes/python.el (python-indent-guess-indent-offset):
2811 Avoid corner-case error. (Bug#15975)
2812
624780f0
GM
2813 Preload leim-list.el. (Bug#4789)
2814 * loadup.el: Load leim-list.el when found.
2815 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2816
4301875e 28172013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2818
2819 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2820
4301875e
BB
2821 * emacs-lisp/helpers.el (string-join): New function.
2822
1633a815 28232013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2824
2825 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2826 Mark as obsolete and replace it with a symbol property.
2827 (byte-compile-form): Use new 'interactive-only property.
2828 * comint.el, files.el, replace.el, simple.el:
2829 Apply new 'interactive-only properly.
2830
00139435
MR
28312013-11-25 Martin Rudalics <rudalics@gmx.at>
2832
2833 * window.el (display-buffer-at-bottom): Make sure that
2834 split-window-sensibly creates the new window on bottom
2835 (Bug#15961).
2836
5f5b128d
DK
28372013-11-23 David Kastrup <dak@gnu.org>
2838
2839 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2840 on the conflict markers when available.
2841 (smerge--get-marker): New function.
2842 (smerge-end-re, smerge-base-re): Add subgroup.
2843
623891e5
SM
28442013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2845
2846 * frame.el (handle-focus-in, handle-focus-out): Add missing
2847 interactive spec.
2848
05ca27d8
MA
28492013-11-25 Michael Albinus <michael.albinus@gmx.de>
2850
2851 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2852 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2853
511fa0d3
SM
28542013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2855
e82ad66c
SM
2856 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2857 (gomoku--last-pos): New var.
2858 (gomoku--intangible-chars): New const.
2859 (gomoku--intangible): New function.
2860 (gomoku-mode): Use it. Derive from special-mode.
2861 (gomoku-move-up): Adjust line count.
2862 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2863 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2864 Simplify accordingly.
2865
511fa0d3
SM
2866 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2867 Remove blink-cursor code.
2868 (blink-cursor-timer-function, blink-cursor-suspend):
2869 Don't special-case GUIs.
2870 (blink-cursor-mode): Use focus-in/out-hook.
2871
6f20dd03
DG
28722013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2873
2874 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2875 work when annotation is invisible (Bug#13886).
2876
431dec31 28772013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2878
2879 * json.el (json-alist-p): Only return non-nil if the alist has
2880 simple keys (Bug#13518).
2881
431dec31 28822013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2883
2884 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2885 when control-statement is the first statement in a buffer (Bug#15956).
2886
ee4f0261
DG
28872013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2888
2889 * imenu.el (imenu-generic-skip-comments-and-strings):
2890 New option (Bug#15560).
2891 (imenu--generic-function): Use it.
2892
c484f866
JS
28932013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2894
e9dc713d
JB
2895 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2896 (Bug#13898)
c484f866 2897
41ce6f70
BB
28982013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2899
b55aea38
BB
2900 * emacs-lisp/helpers.el: Add some string helpers.
2901 (string-trim-left): Removes leading whitespace.
2902 (string-trim-right): Removes trailing whitespace.
2903 (string-trim): Removes leading and trailing whitespace.
2904
41ce6f70
BB
2905 * subr.el (string-suffix-p): New function.
2906
3cfb6af3
GM
29072013-11-23 Glenn Morris <rgm@gnu.org>
2908
2909 * progmodes/python.el (python-shell-send-file):
2910 Add option to delete file when done. (Bug#15647)
2911 (python-shell-send-string, python-shell-send-region): Use it.
2912
c27924b7
IS
29132013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2914
e1b01c7f
IS
2915 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2916 to set buffer-read-only to t, never to nil. (Bug#15938)
2917
c27924b7
IS
2918 * textmodes/tex-mode.el (latex-noindent-environments):
2919 Add safe-local-variable property. (Bug#15936)
2920
17e0445b
GM
29212013-11-23 Glenn Morris <rgm@gnu.org>
2922
92f78ea3
GM
2923 * textmodes/enriched.el (enriched-mode): Doc fix.
2924 * emacs-lisp/authors.el (authors-renamed-files-alist):
2925 Add enriched.doc -> enriched.txt.
2926
17e0445b
GM
2927 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2928
965bb23a
LL
29292013-11-22 Leo Liu <sdl.web@gmail.com>
2930
2931 * progmodes/octave.el (inferior-octave-startup): Spit out error
2932 message.
2933
d19ffd64
BB
29342013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2935
2936 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2937 Improve docstring.
15ba2182
BB
2938 Add :version.
2939 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2940
7a7567d2
LL
29412013-11-22 Leo Liu <sdl.web@gmail.com>
2942
2943 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2944 (Bug#15076)
8c09f64b
LL
2945 (octave-help-mode): Adapt to change to help-mode-finish to use
2946 derived-mode-p on 2013-09-17.
2947 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2948 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2949
724bc265
LL
29502013-11-22 Leo Liu <sdl.web@gmail.com>
2951
2952 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2953 (inferior-octave-startup, inferior-octave-check-process)
2954 (inferior-octave-track-window-width-change)
2955 (octave-completion-at-point, octave-eldoc-function): Use it.
2956 (octave-kill-process): Provide confirmation. (Bug#10564)
2957
38637cca
LL
29582013-11-21 Leo Liu <sdl.web@gmail.com>
2959
511fa0d3
SM
2960 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2961 Fix obsolete variable comment-use-global-state.
38637cca 2962
06e752b4
RS
29632013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2964
511fa0d3
SM
2965 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2966 Add `octave-source-file'.
06e752b4
RS
2967 (octave-source-file): New function. (Bug#15935)
2968
7514d3f8 29692013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2970
2971 * net/eww.el (eww-local-regex): New variable.
2972 (eww): Use it to detect localhost and similar.
2973
b6ffa04a
LL
29742013-11-21 Leo Liu <sdl.web@gmail.com>
2975
2976 Add completion for command `ag'.
2021a200
LL
2977 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2978 (pcomplete/ag): New function.
e9dc713d 2979 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2980
d1a6bccc
SM
29812013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2982
2983 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2984 (bug#14646).
2985 (make-obsolete): Remove interactive spec.
2986
2df10228
GM
29872013-11-21 Glenn Morris <rgm@gnu.org>
2988
2989 * startup.el (command-line-1): Use path-separator with -L.
2990
86fd16b6
TZ
29912013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2992
2993 * emacs-lisp/package.el (describe-package-1): Add package archive
2994 to shown fields.
2995
0449d6cd 29962013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2997
2998 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2999 Change default to "# encoding: %s" to differentiate it from the
3000 default Ruby encoding comment template.
3001
dc7e8c17 30022013-11-20 era eriksson <era+emacsbugs@iki.fi>
3003
3004 * ses.el (ses-mode): Doc fix. (Bug#14748)
3005
f0cfa5fe
LL
30062013-11-20 Leo Liu <sdl.web@gmail.com>
3007
3008 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3009
826dc7b6
DN
30102013-11-19 Dan Nicolaescu <dann@gnu.org>
3011
3012 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3013 when rebase or bisect are in progress.
3014
a6e3a5d5
XF
30152013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3016
3017 * filenotify.el (file-notify-add-watch): Doc fix.
3018
f130cb76
LL
30192013-11-19 Leo Liu <sdl.web@gmail.com>
3020
e0855d7d
LL
3021 * obsolete/rcompile.el: Mark obsolete.
3022
f130cb76 3023 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
3024 (compilation-goto-locus, compilation-find-file):
3025 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
3026 (Bug#13594)
3027
3028 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
3029 new parameter no-display-ok. Return either a window or nil
3030 but never a non-window value.
f130cb76 3031
1f35d401
SM
30322013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3033
25158c76
SM
3034 * electric.el (electric-indent-mode-map): Remove.
3035 (electric-indent-mode): Change the global-map instead (bug#15915).
3036
3037 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3038 Use add-function.
1f35d401 3039
9bc67baa
SM
30402013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3041
986545b5
SM
3042 * emacs-lisp/nadvice.el (remove-function): Align with
3043 add-function's behavior.
3044
9bc67baa
SM
3045 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3046 (gdb--string-regexp): New constant.
3047 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3048 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3049 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3050 submatch 1.
3051 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3052 Adjust use accordingly.
3053 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3054
56cd894e
AS
30552013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3056
3057 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3058 interpolation curlies (Bug#15914).
3059
014690de
JB
30602013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3061
3062 * calc/calc.el (calc-context-sensitive-enter): New variable.
3063 (calc-enter): Use `calc-context-sensitive-enter'.
3064
7e26a6c3
TZ
30652013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3066
3067 * progmodes/cfengine.el: Version bump.
3068 (cfengine-cf-promises): New defcustom to locate cf-promises.
3069 (cfengine3-vartypes): Add new "data" type.
3070 (cfengine3--current-word): New function to get current name-like
3071 word or its bounds.
3072 (cfengine3--current-function): New function to look up a CFEngine
3073 function's definition.
3074 (cfengine3-format-function-docstring): New function.
3075 (cfengine3-make-syntax-cache): New function.
3076 (cfengine3-documentation-function): New function: ElDoc glue.
3077 (cfengine3-completion-function): New function: completion glue.
3078 (cfengine3-mode): Set `compile-command',
3079 `eldoc-documentation-function', and add to
3080 `completion-at-point-functions'.
3081
355204dd
MA
30822013-11-16 Michael Albinus <michael.albinus@gmx.de>
3083
3084 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3085 `tramp-current-connection'.
3086
43cebc23
DG
30872013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3088
3089 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3090 nil/self/true/false with "end of symbol".
3091
a3fed6ff
BB
30922013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3093
3094 * subr.el (version-regexp-alist): Fix a typo.
3095
e675b3e4
MA
30962013-11-15 Michael Albinus <michael.albinus@gmx.de>
3097
3098 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3099 "en_US.utf8" and "LC_CTYPE" to "".
3100 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3101 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3102
a1f03e89
LL
31032013-11-15 Leo Liu <sdl.web@gmail.com>
3104
3105 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3106
5d9d9451
SM
31072013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3108
58362662
CS
3109 * progmodes/gud.el (ctl-x-map):
3110 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
3111 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3112
6c1bf086
BB
31132013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3114
0d5363c4
BB
3115 * subr.el (version-regexp-alist):
3116 Recognize hg, svn and darcs versions as snapshot versions.
3117
4e9fc48c
BB
3118 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3119 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3120 (ruby--encoding-comment-required-p): Extract from
3121 `ruby-mode-set-encoding'.
3122 (ruby-mode-set-encoding): Add the ability to always insert an
3123 utf-8 encoding comment. Fix and simplify coding comment update
3124 logic.
6c1bf086 3125
2f7e72f8
MA
31262013-11-14 Michael Albinus <michael.albinus@gmx.de>
3127
3128 * net/tramp-gvfs.el (top): Run init code only when
3129 `tramp-gvfs-enabled' is not nil.
3130 (tramp-gvfs-enabled): Check also :system bus.
3131
0f137a73
SM
31322013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 Sync with upstream verilog-mode revision 78e66ba.
3135 * progmodes/verilog-mode.el (verilog-end-of-defun)
3136 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3137 (verilog-get-end-of-defun): Remove unused argument.
3138 (verilog-comment-depth): Remove unused local `e'.
3139 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3140 Don't pass arg to verilog-get-end-of-defun.
3141
1c276bdd
GM
31422013-11-14 Glenn Morris <rgm@gnu.org>
3143
3144 * obsolete/assoc.el (aget): Prefix dynamic variable.
3145
3146 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3147
ff6ec81d
SM
31482013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * widget.el, hfy-cmap.el: Remove bogus package version number.
3151
75f777b6
GM
31522013-11-13 Glenn Morris <rgm@gnu.org>
3153
1d43dba1
GM
3154 * replace.el (replace-eval-replacement):
3155 Try to give more helpful error message. (Bug#15836)
3156
ff4b7bd5
GM
3157 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3158 (archive-7z-update): Avoid custom type mismatches.
3159
75f777b6
GM
3160 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3161
11151a06
MA
31622013-11-13 Michael Albinus <michael.albinus@gmx.de>
3163
e675b3e4 3164 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3165 address can be empty.
3166
3167 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3168 Accept nil SWITCHES.
3169 (tramp-gvfs-handle-write-region): Implement APPEND.
3170
7b08f97e
DG
31712013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3172
3173 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3174 binary "|" operator and closing block args delimiter.
3175 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3176 (ruby-smie--implicit-semi-p): Not after "|" operator.
3177 (ruby-smie--closing-pipe-p): New function.
3178 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3179 (ruby-smie-rules): Indent after "|".
3180
f201cf3a
GM
31812013-11-12 Glenn Morris <rgm@gnu.org>
3182
3183 * ps-print.el (ps-face-attribute-list):
3184 Handle anonymous faces. (Bug#15827)
3185
e6f759f9
MR
31862013-11-12 Martin Rudalics <rudalics@gmx.at>
3187
3188 * window.el (display-buffer-other-frame): Fix doc-string.
3189 (Bug#15868)
3190
ecda65d4
SM
31912013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3192
3193 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3194
7ce8fcc3
MA
31952013-11-11 Michael Albinus <michael.albinus@gmx.de>
3196
3197 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3198 (tramp-sh-handle-file-local-copy): Don't write a message when
3199 saving temporary files.
3200
3201 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3202 both directories are remote.
3203 (tramp-smb-handle-directory-files): Do not return double entries.
3204 Do not expand full file names.
3205 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3206 (tramp-smb-handle-write-region): Implement APPEND.
3207 (tramp-smb-get-stat-capability): Fix a stupid bug.
3208
7818df11
SM
32092013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3210
3211 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3212
608c2085
NT
32132013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3214
3215 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3216 throwing error over malformed let/let* (bug#15814).
3217
122a7e46
SM
32182013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3219
3220 * iswitchb.el (iswitchb-mode): Mark obsolete.
3221
766284d9
GM
32222013-11-11 Glenn Morris <rgm@gnu.org>
3223
3224 * international/uni-bidi.el, international/uni-category.el:
3225 * international/uni-name.el, international/uni-numeric.el:
3226 Regenerate for Unicode 6.3.0.
3227
7072a4e9
MA
32282013-11-10 Michael Albinus <michael.albinus@gmx.de>
3229
3230 * net/tramp.el (tramp-methods):
3231 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3232 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3233
c9df215b
AS
32342013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3235
608c2085
NT
3236 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3237 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3238
fa47d796
DG
32392013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3240
3241 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3242 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3243 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3244 (ispell-complete-word): Call `ispell-lookup-words' with the value
3245 independent of `ispell-look-p'.
3246
1629a329
DG
32472013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3248
3249 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3250 Not after "||".
3251 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3252 their parent.
3253
ad16897c
SM
32542013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3257 (ruby-font-lock-keywords): Use backquote.
3258
ffa2df72
DG
32592013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3260
3261 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3262 (ruby-smie--backward-token): Only consider full-string matches.
3263
5b97b4c0
JD
32642013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3265
3266 * faces.el (describe-face): Add distant-foreground.
3267
71731c03
BB
32682013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3269
4e9fc48c
BB
3270 * progmodes/ruby-mode.el: Improve encoding comment handling.
3271 (ruby-encoding-magic-comment-style): New option.
3272 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3273 (ruby--insert-coding-comment, ruby--detect-encoding):
3274 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3275 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3276 to control the style of the auto-inserted encoding comment.
71731c03 3277
da3b328d
DG
32782013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3279
ad16897c
SM
3280 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3281 Use `smie-backward-sexp' with token argument.
da3b328d 3282
1606c2d3
MA
32832013-11-08 Michael Albinus <michael.albinus@gmx.de>
3284
3285 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3286 Remove instrumentation code.
3287
b0f4c320
GM
32882013-11-08 Glenn Morris <rgm@gnu.org>
3289
3290 * progmodes/autoconf.el (autoconf-mode):
3291 Tweak comment-start-skip. (Bug#15822)
3292
43668fb1
SM
32932013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3294
3295 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3296 at bobp (bug#15826).
3297 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3298
daddb3fd
DH
32992013-11-08 Darren Hoo <darren.hoo@gmail.com>
3300
3301 * man.el (Man-start-calling): New macro, extracted from
3302 Man-getpage-in-background.
3303 (Man-getpage-in-background): Use it.
3304 (Man-update-manpage): New command.
3305 (Man-mode-map): Bind it.
3306
1f923923
DG
33072013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3308
3309 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3310 of "and", "or", "&&" and "||".
3311 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3312 argument. Prohibit opening curly brace because it could only be a
3313 block opener in that position.
daddb3fd
DH
3314 (ruby-smie--forward-token, ruby-smie--backward-token):
3315 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3316 arguments.
3317 (ruby-smie--indent-to-stmt): New function, seeks the end of
3318 previous statement or beginning of buffer.
3319 (ruby-smie-rules): Use it.
3320 (ruby-smie-rules): Check if there's a ":" before a curly block
3321 opener candidate; if there is, it's a hash.
3322
3220d527
SM
33232013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3324
3325 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3326 (cl--block-wrapper): Fix last accidental change.
3327
1eb1f9e0
MA
33282013-11-07 Michael Albinus <michael.albinus@gmx.de>
3329
3330 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3331 Instrument, in order to hunt failure on hydra.
3332
e6e4db3c
NT
33332013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3334
3335 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3336 malformed bindings form (bug#15814).
3337
b420ccfc
DG
33382013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3339
3340 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3341 "." compared to " @ ". This incidentally fixes some indentation
3342 examples with "do".
e6e4db3c 3343 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3344 (ruby-smie-grammar): New tokens: "and" and "or".
3345 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3346 Exclude "and" and "or". Remove "do" in order to work around token
3347 priorities.
3348 (ruby-smie-rules): Add all infix tokens. Handle the case of
3349 beginning-of-buffer.
b420ccfc 3350
6b4ac03e
GM
33512013-11-06 Glenn Morris <rgm@gnu.org>
3352
3353 * Makefile.in (setwins_almost, setwins_for_subdirs):
3354 Avoid accidental matches.
3355
5ca114d1
SM
33562013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3357
3358 * menu-bar.el (popup-menu): Use key-binding.
3359
f72552bd
EZ
33602013-11-06 Eli Zaretskii <eliz@gnu.org>
3361
3362 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3363 menus, support also the menus produced by minor modes.
3364 (Bug#15817)
3365
5d5c701e
LL
33662013-11-06 Leo Liu <sdl.web@gmail.com>
3367
3368 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3369 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3370
0a8b75e2
GM
33712013-11-06 Glenn Morris <rgm@gnu.org>
3372
3373 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3374 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3375 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3376
a35287ea
SM
33772013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3378
feca4e2d
SM
3379 * electric.el (electric-indent-just-newline): New command.
3380 (electric-indent-mode-map): New keymap.
3381 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3382 Re-add :group which weren't redundant.
3383
a35287ea
SM
3384 * electric.el (electric-indent-local-mode): New minor mode.
3385 (electric-indent-functions-without-reindent): New var.
3386 (electric-indent-post-self-insert-function): Use it.
3387 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3388
375761b2
EZ
33892013-11-05 Eli Zaretskii <eliz@gnu.org>
3390
9a6ad735
EZ
3391 * international/quail.el (quail-help): Be more explicit about the
3392 meaning of the labels shown on the keys. (Bug#15800)
3393
375761b2
EZ
3394 * startup.el (normal-top-level): Load the subdirs.el files before
3395 setting the locale environment. (Bug#15805)
3396
520a6e4a
SM
33972013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3398
0acfafef
SM
3399 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3400 via arguments so as to get the right ones (bug#15418).
3401
520a6e4a
SM
3402 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3403
15826261
MA
34042013-11-05 Michael Albinus <michael.albinus@gmx.de>
3405
3406 Fix problems found while writing a test suite.
3407
3408 * net/tramp-compat.el (tramp-compat-load): New defun.
3409 * net/tramp.el (tramp-handle-load): Use it.
3410
3411 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3412 "(numberp ok-if-already-exists)" correctly.
3413
d35f31a4
XF
34142013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3415
3416 * international/characters.el (glyphless-char-display-control):
3417 Add usage note.
3418
ae93bc74
BB
34192013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3420
520a6e4a
SM
3421 * progmodes/python.el (python-mode):
3422 * progmodes/scheme.el (scheme-mode):
3423 * progmodes/prolog.el (prolog-mode):
3424 * progmodes/ruby-mode.el (ruby-mode):
3425 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3426 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3427
0ade65b5
SM
34282013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3429
a0d5f7a4
SM
3430 * rect.el (rectangle--highlight-for-redisplay):
3431 * emacs-lisp/smie.el (smie--next-indent-change):
3432 Use buffer-chars-modified-tick.
3433
c93f3f5c
SM
3434 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3435
0ade65b5
SM
3436 * electric.el (electric-indent-post-self-insert-function):
3437 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3438
ef9dd188
HE
34392013-11-04 Helmut Eller <eller.helmut@gmail.com>
3440
3441 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3442
306e7308
NT
34432013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3444
3445 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3446 (bug#15786).
3447
e5afbcac
SM
34482013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3449
1d01ad41
SM
3450 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3451
e5afbcac
SM
3452 * progmodes/python.el: Fix up last change.
3453 (python-shell--save-temp-file): New function.
3454 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3455 `string' comes from the current buffer.
3456 (python-shell-send-string-no-output): Remove `msg' arg.
3457 (python--use-fake-loc): New var.
3458 (python-shell-buffer-substring): Obey it. Try to compensate for the
3459 extra coding line added by python-shell--save-temp-file.
3460 (python-shell-send-region): Use python-shell--save-temp-file and
3461 python-shell-send-file directly. Add `nomain' argument.
3462 (python-shell-send-buffer): Use python-shell-send-region.
3463 (python-electric-pair-string-delimiter): New function.
3464 (python-mode): Use it.
3465
d0065ff1
EZ
34662013-11-04 Eli Zaretskii <eliz@gnu.org>
3467
3468 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3469 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3470 environment and decoding all of the default-directory's to here
3471 from command-line.
3472 (command-line): Decode also argv[0].
3473
3474 * loadup.el: Error out if default-directory is a multibyte string
3475 when we are dumping.
3476
3477 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3478
7397c587
TZ
34792013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3480
3481 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3482 (package-menu--print-info, package-menu--archive-predicate):
3483 Add Archive column to package list.
7397c587 3484
b27cc9fc
MA
34852013-11-04 Michael Albinus <michael.albinus@gmx.de>
3486
3487 Fix problems found while writing a test suite.
3488
3489 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3490 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3491 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3492 to nil when running original file name handler. Otherwise,
3493 there are problems with constructs like "$$FOO".
3494
3495 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3496 for `localname'.
3497
d8c4f18a
BB
34982013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3499
7b530552
BB
3500 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3501
3502 * subr.el (version<, version<=, version=):
3503 Update docstrings with information for snapshot versions.
3504
d8c4f18a
BB
3505 * helpers.el: New library for misc helper functions.
3506 (hash-table-keys): New function returning a list of hash keys.
3507 (hash-table-values): New function returning a list of hash values.
3508
dca01b09
DG
35092013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3510
3511 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3512 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3513
0a749fa0
MN
35142013-11-04 Michal Nazarewicz <mina86@mina86.com>
3515
3516 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3517 checking whether point is after a 1-letter word.
3518
35192013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3520
3521 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3522 Don't infloop when expanding region over `multiline' syntax-type that
3523 begins a line (bug#15778).
3524
4aca7145
SM
35252013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3526
3527 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3528 Make it into a proper minor mode.
3529 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3530 (rectangle-mark-mode-map): New keymap.
3531 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3532
a0833f62
GM
35332013-11-04 Glenn Morris <rgm@gnu.org>
3534
3535 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3536
e61845c1
SM
35372013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3538
3539 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3540 (ruby-smie-rules): Use smie-rule-parent instead.
3541
3542 * emacs-lisp/smie.el (smie-rule-parent): Always call
3543 smie-indent-virtual rather than only for hanging tokens.
3544 (smie--next-indent-change): New helper command.
3545
62942f89
GM
35462013-11-03 Glenn Morris <rgm@gnu.org>
3547
3548 * Makefile.in (abs_srcdir): Remove.
3549 (emacs): Unset EMACSLOADPATH.
3550
b0b9e592
GM
35512013-11-02 Glenn Morris <rgm@gnu.org>
3552
18ba6a33 3553 * Makefile.in (EMACS): Use a relative filename.
8061810d 3554 (abs_top_builddir): Remove.
18ba6a33
GM
3555 (custom-deps, finder-data, autoloads): Use --chdir.
3556
6a8b929e
GM
3557 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3558
c617f3d0
GM
3559 Use relative filenames in TAGS files.
3560 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3561 (lisptagsfiles4, TAGS): Use relative file names.
3562 (TAGS-LISP): Remove.
3563 (maintainer-clean): No more TAGS-LISP file.
3564
b0b9e592
GM
3565 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3566 (lisptagsfiles4): Use absolute filenames again.
3567 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3568 Remove all *loaddefs files, not just the first. Remove esh-groups.
3569 (maintainer-clean): Delete TAGS, TAGS-LISP.
3570
d1c0ea6a
BB
35712013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3572
e61845c1
SM
3573 * emacs-lisp/package.el (package-version-join):
3574 Recognize snapshot versions.
d1c0ea6a 3575
684d71c6
BB
35762013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3577
3578 * subr.el (version-regexp-alist): Add support for snapshot versions.
3579
3d42b968
DG
35802013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3581
e61845c1
SM
3582 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3583 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3584 skip over our direct parent if it's an assignment token..
3585 (ruby-smie-rules): Use it.
3586
7ffd3721
DG
35872013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3588
8449dd1f 3589 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3590 unconditionally. Remove now unnecessary forward declarations.
3591 Remove XEmacs-specific setup.
3592 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3593 (ruby-font-lock-syntactic-keywords)
3594 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3595 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3596 (ruby-here-doc-end-syntax): Remove.
3597 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3598 defined as function.
3599
a3996a2e
BB
36002013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3601
3602 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3603
6f9260e8
BB
36042013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3605
3606 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3607 table and abbrev table, `define-derived-mode' does that for us
3608 anyway.
3609
6014de84
GM
36102013-11-01 Glenn Morris <rgm@gnu.org>
3611
3612 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3613 files is atomic for some time, so no parallel compilation issues).
3614
3c334c14
JD
36152013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3616
3617 * faces.el (face-x-resources): Add :distant-foreground.
3618 (region): Use :distant-foreground for gtk and ns.
3619
9bc236c8
TH
36202013-11-01 Tassilo Horn <tsdh@gnu.org>
3621
5246583b 3622 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3623 BibTeX.
3624 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3625 (reftex-locate-bibliography-files): Us it.
3626
d14c81ee
CB
36272013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3628
0e7690de
CB
3629 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3630 allow comments in pbm files.
3631
d14c81ee
CB
3632 * term/w32-win.el (dynamic-library-alist): Support newer versions
3633 of libjpeg starting with v7: look only for the DLL from the
3634 version against which Emacs was built.
ac1bf374 3635 Support versions of libpng beyond 1.4.x.
019c8218 3636 Support libtiff v4.x.
d14c81ee 3637
983d0df5
BB
36382013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3639
3640 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3641 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3642 Add property :safe.
3643 (ruby-deep-arglist): Add property :type.
3644
47f58d85
GM
36452013-10-31 Glenn Morris <rgm@gnu.org>
3646
3647 * Makefile.in (custom-deps, finder-data): No need to setq the target
3648 variables, we are in the right directory and the defaults work fine.
3649
4f85b479
GM
36502013-10-30 Glenn Morris <rgm@gnu.org>
3651
ca7dd4cd
GM
3652 * Makefile.in (autoloads): Do not use abs_lisp.
3653
4f85b479
GM
3654 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3655 `newline' does not respect `standard-output', so use `princ'.
3656
cf59e41c
AA
36572013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3658
3659 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3660 * buff-menu.el (Buffer-menu--unmark): New function.
3661 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3662
74cf04fb
GM
36632013-10-30 Glenn Morris <rgm@gnu.org>
3664
b040b60e
GM
3665 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3666
f53d3815
GM
3667 * emacs-lisp/package.el (lm-homepage): Declare.
3668
5413d873
GM
3669 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3670 Fix doc typos.
3671
cecedb36
GM
3672 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3673
74cf04fb
GM
3674 * Makefile.in (finder-data, autoloads, update-subdirs)
3675 (compile-main, compile-clean, compile-always, bootstrap-clean):
3676 Check return value of cd.
3677 (compile-calc): Remove.
3678
195ee2f0
SM
36792013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3680
ae4002ce
SM
3681 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3682
3683 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3684 (byte-compile-and-folded): New function.
3685 (=, <, >, <=, >=): Use it.
3686
3687 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3688 (path-separator, null-device, buffer-file-coding-system)
3689 (lpr-headers-switches): Check system-type before modifying them.
3690 (find-buffer-file-type-coding-system): Mark obsolete.
3691 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3692 find-file-not-found-set-buffer-file-coding-system.
3693 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3694 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3695 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3696 (w32-direct-print-region-helper, w32-direct-print-region-function)
3697 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3698 * startup.el (normal-top-level-add-subdirs-to-load-path):
3699 * ps-print.el (ps-print-region-function):
3700 * lpr.el (print-region-function): Use new name.
3701
53b39e89
SM
3702 * subr.el (custom-declare-variable-early): Remove function.
3703 (custom-declare-variable-list): Remove var.
3704 (error, user-error): Remove `while' loop.
3705 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3706 (user-emacs-directory-warning, locate-user-emacs-file):
3707 Move to files.el.
3708 * simple.el (read-quoted-char-radix, read-quoted-char):
3709 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3710 Move from subr.el.
3711 * custom.el (custom-declare-variable-list): Don't process
3712 custom-declare-variable-list.
3713
195ee2f0
SM
3714 * progmodes/python.el (python-shell-get-buffer): New function.
3715 (python-shell-get-process): Use it.
3716 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3717 Python which encoding was used. Don't split-string since we only care
3718 about the first line. Return the temp-file, if applicable.
3719 (python-shell-send-region): Tell compile.el how to turn locations in
3720 the temp-file into locations in the source buffer.
3721
7e3561ee
SM
37222013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3723
4c9797cb
SM
3724 * subr.el (undefined): Add missing behavior from the C code for
3725 unbound keys.
3726
3472b6c6
SM
3727 * rect.el: Use lexical-binding. Add new rectangular region support.
3728 (rectangle-mark): New command.
3729 (rectangle--region): New var.
3730 (deactivate-mark-hook): Reset rectangle--region.
3731 (rectangle--extract-region, rectangle--insert-for-yank)
3732 (rectangle--highlight-for-redisplay)
3733 (rectangle--unhighlight-for-redisplay): New functions.
3734 (region-extract-function, redisplay-unhighlight-region-function)
3735 (redisplay-highlight-region-function): Use them to handle
3736 rectangular region.
3737 * simple.el (region-extract-function): New var.
3738 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3739 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3740 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3741 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3742 (redisplay-unhighlight-region-function)
3743 (redisplay-highlight-region-function): New vars.
3744 (redisplay--update-region-highlight): New function.
3745 (pre-redisplay-function): Use it.
3746 (exchange-point-and-mark): Don't deactivate the mark before
3747 reactivate-it anyway.
3748 * comint.el (comint-kill-region): Remove yank-handler argument.
3749 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3750 (delete-char): Remove property, since it's now part of their
3751 default behavior.
3752 (self-insert-iso): Remove property since this command doesn't exist.
3753
7e3561ee
SM
3754 * emacs-lisp/package.el (package--download-one-archive)
3755 (describe-package-1): Don't query the user about final newline.
3756
b9bef71f
DC
37572013-10-29 Daniel Colascione <dancol@dancol.org>
3758
3759 * net/tramp.el (tramp-methods): Document new functionality.
3760 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3761 tramp-hostname-checker if method provides one instead of scanning
3762 argument list for "%h" to decide hostname acceptability.
3763
4efc33f0
MA
37642013-10-28 Michael Albinus <michael.albinus@gmx.de>
3765
3766 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3767 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3768 Handle COPY-CONTENTS. (Bug#15737)
3769
ed42a877
DU
37702013-10-28 Daiki Ueno <ueno@gnu.org>
3771
3772 * epa-file.el
7e3561ee
SM
3773 (epa-file-cache-passphrase-for-symmetric-encryption):
3774 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3775
18c9f8a2
XF
37762013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3777
7a4bc7be
XF
3778 * image.el (defimage):
3779 (image-load-path): Doc fixes.
18c9f8a2 3780
b1e8e010
AM
37812013-10-27 Alan Mackenzie <acm@muc.de>
3782
3783 Indent statements in macros following "##" correctly.
7e3561ee
SM
3784 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3785 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3786
73d40d1e 37872013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3788
3789 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3790
c8c605ac
DG
37912013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3792
3793 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3794 after `=' is probably a new expression.
3795
ca7e59d4
RS
37962013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3797
3798 * man.el (man-imenu-title): New option.
3799 (Man-mode-map): Add menu. (Bug#15722)
3800 (Man-mode): Add imenu to menu.
3801
bae91342
DG
38022013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3803
3804 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3805 specific in what the first arg can be: a non-keyword word,
3806 string/regexp/percent literal opener, opening paren, or unary
3807 operator followed directly by word.
3808
eb89dc14
SM
38092013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3810
3811 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3812 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3813 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3814 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3815 Remove vars, they do not apply any more.
3816 (prolog-mode-abbrev-table): Remove redundant declaration.
3817 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3818 (prolog-use-smie): Remove.
3819 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3820 supported by prolog-electric-if-then-else-flag.
3821 (prolog-mode-variables, prolog-menu): Use setq-local.
3822 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3823 Remove binding to `Backspace' since this key doesn't exist anyway.
3824 Remove bindings for electric self-inserting keys.
3825 (prog-mode): Assume it's defined.
3826 (prolog-post-self-insert): New function.
3827 (prolog-mode): Use it.
3828 (prolog-indent-line, prolog-indent-level)
3829 (prolog-find-indent-of-matching-paren)
3830 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3831 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3832 (prolog-goto-next-paren, prolog-in-string-or-comment)
3833 (prolog-tokenize, prolog-inside-mline-comment)
3834 (prolog-find-start-of-mline-comment): Remove functions.
3835 (prolog-find-unmatched-paren, prolog-clause-end)
3836 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3837 (prolog-electric--if-then-else): Rename from
3838 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3839 (prolog-tokenize-searchkey): Remove const.
3840 (prolog-clause-info): Use forward-sexp.
3841 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3842 (prolog-electric-if-then-else): Remove commands.
3843 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3844 for use in post-self-insert-hook.
3845 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3846 for use in post-self-insert-hook.
3847 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3848 for use in post-self-insert-hook.
3849 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3850 adapt it for use in post-self-insert-hook.
3851
3dab0a83
MA
38522013-10-25 Michael Albinus <michael.albinus@gmx.de>
3853
3854 * emacs-lisp/ert.el (ert-run-tests-interactively):
3855 Use `completing-read'. (Bug#9756)
3856
fbfd0e1d
EZ
38572013-10-25 Eli Zaretskii <eliz@gnu.org>
3858
3859 * simple.el (line-move): Call line-move-1 instead of
3860 line-move-visual when the current window hscroll is zero, but
3861 temporary-goal-column indicates we will need to hscroll as result
3862 of the movement. (Bug#15712)
3863
963ce636
DG
38642013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3865
3866 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3867 capitalization. Use :visible instead of :active.
3868 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3869 commands that are used with SMIE.
3870 (ruby-do-end-to-brace): Insert space after `{'.
3871
a0be396a
JA
38722013-10-25 John Anthony <john@jo.hnanthony.com>
3873
f73754c9
JA
3874 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3875
3876 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3877
f5bf77df
GM
38782013-10-25 Glenn Morris <rgm@gnu.org>
3879
3880 * vc/vc.el (vc-print-log): Don't use a working revision unless
3881 one was explicitly specified. (Bug#15322)
3882
37241f62
SM
38832013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * subr.el (add-to-list): Preserve return value in compiler-macro
3886 (bug#15692).
3887
6408a65d
RS
38882013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3889
3890 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3891 result. Ask user to retry using '-all' flag. (Bug#15701)
3892
71e3276b
SM
38932013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3894
3895 * emacs-lisp/smie.el: New smie-config system.
3896 (smie-config): New defcustom.
3897 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3898 (smie-config-guess, smie-config-save): New commands.
3899 (smie-config--mode-local, smie-config--buffer-local)
3900 (smie-config--trace, smie-config--modefuns): New vars.
3901 (smie-config--advice, smie-config--mode-hook)
3902 (smie-config--setter, smie-config-local, smie-config--get-trace)
3903 (smie-config--guess-value, smie-config--guess): New functions.
3904 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3905 text properties. Treat "string fence" syntax like string syntax.
3906
3907 * progmodes/sh-script.el (sh-use-smie): Change default.
3908 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3909 (sh-var-value): Simplify by CSE.
3910 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3911 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3912 is used.
3913 (sh-guess-basic-offset): Use cl-incf.
3914 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3915
60db713e
HE
39162013-10-24 Helmut Eller <eller.helmut@gmail.com>
3917
3918 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3919 (bug#15699).
3920
8b251df6
GM
39212013-10-24 Glenn Morris <rgm@gnu.org>
3922
3923 * Makefile.in (abs_top_srcdir): Remove.
3924 (update-subdirs): Use relative path to update-subdirs.
3925
6be0e22b
EZ
39262013-10-24 Eli Zaretskii <eliz@gnu.org>
3927
3928 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3929 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3930 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3931 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3932
50b5b857
MA
39332013-10-24 Michael Albinus <michael.albinus@gmx.de>
3934
3935 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3936 (ert-test-skipped): New error.
3937 (ert-skip, ert-stats-skipped): New defuns.
3938 (ert--skip-unless): New macro.
3939 (ert-test-skipped): New struct.
3940 (ert--run-test-debugger, ert-test-result-type-p)
3941 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3942 (ert--stats-set-test-and-result, ert-char-for-test-result)
3943 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3944 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3945 Handle skipped tests. (Bug#9803)
50b5b857 3946
6f317c2f
GM
39472013-10-24 Glenn Morris <rgm@gnu.org>
3948
e43817c1
GM
3949 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3950
6f317c2f
GM
3951 * Makefile.in (abs_top_srcdir): New, set by configure.
3952 (update-subdirs): Correct build-aux location.
3953
369bbf71
DG
39542013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3955
8297b2cf
DG
3956 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3957 value, whether we could auto-deduce `backend', or not.
3958
369bbf71
DG
3959 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3960 with parameters" example. Simplify the "is it block or is it
3961 hash" check, but also make it more thorough.
3962
d5f1282f
MF
39632013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3964
3965 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3966
bc4aaa31
SM
39672013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3968
03d44565
SM
3969 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3970 { if it is hanging.
3971
bc4aaa31
SM
3972 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3973 :before ";".
3974
f493ff19
JB
39752013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3976
3977 * progmodes/compile.el (compilation-directory-matcher)
3978 (compilation-page-delimiter):
3979 Support GNU Make-4.0 directory quoting. (Bug#15678)
3980
c744a3b9
LL
39812013-10-23 Leo Liu <sdl.web@gmail.com>
3982
3983 * ido.el (ido-tidy): Handle read-only text.
3984
b8e3b0a9
GM
39852013-10-23 Glenn Morris <rgm@gnu.org>
3986
3987 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3988 (emacs, compile, compile-always):
3989 Quote entities that might contain whitespace.
3990 (custom-deps, finder-data, autoloads): Use abs_lisp.
3991 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3992 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3993 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3994
ee4282cd
DG
39952013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3996
bc4aaa31
SM
3997 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3998 Use `following-char'.
7790a270 3999
ee4282cd 40002013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
4001
4002 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4003 * progmodes/ruby-mode.el (ruby-smie-rules):
4004 Remove corresponding workaround. Fix indentation rule of ";" so it
4005 also applies when ";" is the parent.
4006
d40a46d7
XF
40072013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4008
4009 * frame.el (display-screens, display-pixel-height)
4010 (display-pixel-width, display-mm-width, display-backing-store)
4011 (display-save-under, display-planes, display-color-cells)
7790a270
SM
4012 (display-visual-class, display-monitor-attributes-list):
4013 Mention the optional ‘display’ argument in doc strings.
d40a46d7 4014
a0f143c9
MG
40152013-10-22 Michael Gauland <mikelygee@amuri.net>
4016
4017 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4018 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4019
18cacc39
DG
40202013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4021
4022 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4023 TODO. Add "." after " @ ".
4024 (ruby-smie--at-dot-call): New function. Checks if point at method
4025 call with explicit target.
4026 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4027 to the method name tokens when it precedes them.
4028 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4029 (ruby-smie-rules): Add rule for indentation before and after "."
4030 token.
4031
df74c4be
SM
40322013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4033
c6dab55f
SM
4034 * textmodes/remember.el (remember-diary-extract-entries):
4035 Avoid add-to-list.
4036
df74c4be
SM
4037 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4038 an instruction.
4039
8c1ae481
DG
40402013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4041
e9dc713d
JB
4042 * progmodes/ruby-mode.el (ruby-smie-grammar):
4043 Add (almost) all infix operators.
cfef16c0
DG
4044 (ruby-smie--implicit-semi-p): Add new operator chars.
4045
8c1ae481
DG
4046 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4047 `smie-down-list'.
4048 (ruby-smie--args-separator-p): Check that there's no newline
4049 between method call and its arguments.
4050
87756ca9
AM
40512013-10-20 Alan Mackenzie <acm@muc.de>
4052
4053 Allow comma separated lists after Java "implements".
4054
df74c4be
SM
4055 * progmodes/cc-engine.el (c-backward-over-enum-header):
4056 Parse commas.
87756ca9
AM
4057 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4058 from a "disallowed" list in enum fontification.
4059
c25f8957
JB
40602013-10-20 Johan Bockgård <bojohan@gnu.org>
4061
df74c4be 4062 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 4063
c25f8957
JB
4064 * progmodes/verilog-mode.el (verilog-mode): Don't set
4065 comment-indent-function globally.
4066
aca5fcdc
JD
40672013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4068
5f161884
JD
4069 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4070 Move Info menu item creation to ns-win.el.
4071
4072 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4073 in menu bar.
4074
a6c4680a 4075 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
4076
4077 * term/ns-win.el (ns-initialize-window-system): ... to here.
4078
914b7f98
SM
40792013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4080
4081 * simple.el (newline): Only run post-self-insert-hook when
4082 called interactively.
4083
846ffe77
JB
40842013-10-19 Johan Bockgård <bojohan@gnu.org>
4085
4086 * icomplete.el (icomplete-with-completion-tables): Add :version.
4087
033f22dd
AM
40882013-10-19 Alan Mackenzie <acm@muc.de>
4089
4090 Fix fontification bugs with constructors and const.
4091
4092 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4093 CASE 2) Remove the check for the absence of a suffix construct
4094 after a function declaration with only types (no identifiers) in
4095 the parentheses. Also, accept a function declaration with just a
4096 type inside the parentheses, if this type can be positively
4097 recognised as such, or if a prefix keyword like "explicit" nails
4098 down the construct as a declaration.
4099
58ce0cfc
EZ
41002013-10-19 Eli Zaretskii <eliz@gnu.org>
4101
4102 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4103 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4104 the problem whereby selecting a menu item that leads to a
4105 minibuffer prompt moves the cursor out of the minibuffer window,
4106 making it hard to type at the prompt. Suggested by Stefan Monnier
4107 <monnier@iro.umontreal.ca>.
4108
50e28e7d
JD
41092013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4110
4111 * menu-bar.el: Don't make Services menu.
4112
7deed4bf
RS
41132013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4114
4115 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4116 (ffap-alist): Use ffap-c++-mode for c++-mode.
4117 (ffap-c++-path): New variable.
4118 (ffap-c++-mode): New function.
4119
7bcb455b
JVJ
41202013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4121
4122 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4123
f0ff1cd5
MA
41242013-10-18 Michael Albinus <michael.albinus@gmx.de>
4125
4126 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4127 introduced on 2013-09-08, which results in an infinite loop
4128 requesting a password.
4129
d64da4b7
GM
41302013-10-18 Glenn Morris <rgm@gnu.org>
4131
4132 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4133
ea89ff08
WS
41342013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4135
4136 Sync with upstream verilog-mode revision 1a6ecec7.
4137 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4138 (verilog-mode-release-date): Remove.
4139 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4140 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4141 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4142 (verilog-auto-tieoff-ignore-regexp)
4143 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4144 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4145 (verilog-signals-with, verilog-dir-cache-preserving)
4146 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4147 Doc fixes.
4148 (verilog-case-fold): New option, to control case folding in
4149 regexp searches, bug597.
4150 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4151 (verilog-string-match-fold, verilog-in-paren-count)
4152 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4153 (verilog-at-close-struct-p): New functions.
4154 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4155 (verilog-forward-sexp, verilog-set-auto-endcomments):
4156 (verilog-leap-to-case-head): Handle "unique0" case.
4157 (verilog-in-constraint-re): New constant.
4158 (verilog-keywords, verilog-type-font-keywords):
4159 Add some SystemVerilog 1800-2012 keywords.
4160 (verilog-label-be): Remove unimplemented argument, bug669.
4161 (verilog-batch-execute-func): When batch expanding clear
4162 create-lockfiles to prevent spurious user locks when a file ends
4163 up not changing.
4164 (verilog-calculate-indent, verilog-calc-1)
4165 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4166 (verilog-do-indent): Fix indentation of nested constraints
4167 and structures.
4168 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4169 (verilog-auto-inst-param): Use verilog-string-match-fold.
4170 (verilog-read-inst-module-matcher):
4171 Fix AUTOINST on gate primitives with #1.
4172 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4173 Reads all user-defined typed variables.
4174 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4175 (verilog-signals-matching-regexp)
4176 (verilog-signals-not-matching-regexp, verilog-auto):
4177 Respect verilog-case-fold.
4178 (verilog-diff-report): Fix line count.
4179 (verilog-auto-assign-modport): Remove unused local `modi'.
4180 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4181 better handle multidimensional arrays.
4182 Fix packed array ports misadding bit index in AUTOINST, bug637.
4183 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4184 to not double-declare existing outputs and inputs, respectively.
4185 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4186 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4187 (verilog-sk-uvm-component): New skeleton.
4188 (verilog-submit-bug-report): Add verilog-case-fold,
4189 remove verilog-mode-release-date.
4190
ef566920
BR
41912013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4192
a12bf61e 4193 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4194 as before.
4195
29df8a0b
RT
41962013-10-18 Reuben Thomas <rrt@sc3d.org>
4197
e0eb0550 4198 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4199 remember buffers (bug#13566).
4200
04a19a79
DC
42012013-10-18 Daniel Colascione <dancol@dancol.org>
4202
4203 When evaluating forms in ielm, direct standard output to ielm
4204 buffer. Add new ielm-return-for-effect command. Remove trailing
4205 whitespace throughout.
4206
4207 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4208 (ielm-return-for-effect): New command.
4209 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4210 (ielm-eval-input): Accept optional `for-effect' parameter.
4211 Bind `standard-output' to stream we create using
04a19a79
DC
4212 `ielm-standard-output-impl'. Suppress printing result when
4213 `for-effect'.
4214 (ielm-standard-output-impl): New function.
4215 (inferior-emacs-lisp-mode): Explain new features in documentation.
4216
4c1f03ef
MA
42172013-10-17 Michael Albinus <michael.albinus@gmx.de>
4218
4219 Code cleanup.
4220
4221 * net/tramp.el (tramp-debug-message): Do not check for connection
4222 buffer.
4223 (tramp-message): Use "vector" connection property.
4224
4225 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4226 (tramp-equal-remote, tramp-eshell-directory-change)
4227 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4228 (tramp-adb-handle-rename-file)
4229 * net/tramp-cmds.el (tramp-list-remote-buffers)
4230 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4231 * net/tramp-compat.el (tramp-compat-process-running-p)
4232 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4233 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4234 (tramp-gvfs-handle-rename-file)
4235 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4236 (tramp-set-file-uid-gid)
4237 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4238 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4239 of `file-remote-p'.
4240
4241 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4242 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4243 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4244 (tramp-gw-open-network-stream): Suppress unrelated traces.
4245
4246 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4247 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4248 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4249 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4250 connection property.
4251
4252 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4253 persistency file.
4c1f03ef
MA
4254
4255 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4256 Refactor common code. Improve debug message.
4257 (tramp-maybe-open-connection)
4258 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4259 connection buffer too early.
4260
4261 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4262 from `tramp-smb-actions-with-acl'.
4263 (tramp-smb-actions-set-acl): New defconst.
4264 (tramp-smb-handle-copy-directory)
4265 (tramp-smb-action-get-acl): New defun, renamed from
4266 `tramp-smb-action-with-acl'.
4267 (tramp-smb-action-set-acl): New defun.
4268 (tramp-smb-handle-set-file-acl): Rewrite.
4269
642eb8b6
GM
42702013-10-17 Glenn Morris <rgm@gnu.org>
4271
4272 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4273
85527ff3
SM
42742013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4275
921c1d62
SM
4276 * skeleton.el (skeleton-newline): Remove.
4277 (skeleton-internal-1): Use (insert "\n") instead.
4278
e333fb10
SM
4279 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4280 let-bindings.
4281
85527ff3
SM
4282 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4283 forward-sexp-function while we redo its job (bug#15613).
4284
c8722a97
JB
42852013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4286
4287 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4288 represented by lists.
4289
7a550bbb
GM
42902013-10-16 Glenn Morris <rgm@gnu.org>
4291
4292 * tmm.el (tmm--history): New dynamic variable.
4293 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4294
f19da8ad
MA
42952013-10-16 Michael Albinus <michael.albinus@gmx.de>
4296
4297 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4298 (tramp-smb-errors): Add error messages.
4299 (tramp-smb-actions-with-acl): New defconst.
4300 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4301 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4302 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4303 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4304 (tramp-smb-get-stat-capability): Fix tests.
4305
a24b9961
DK
43062013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4307
4308 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4309 (bug#15580).
4310
62ad85e6
GM
43112013-10-16 Glenn Morris <rgm@gnu.org>
4312
0283d6b0
GM
4313 * ansi-color.el (ansi-color-drop-regexp):
4314 Add 1J, 1K, 2K. (Bug#15617)
4315
012e2f9f
GM
4316 * files.el (hack-local-variables--warned-lexical): New.
4317 (hack-local-variables):
4318 Warn about misplaced lexical-binding. (Bug#15616)
4319
62ad85e6
GM
4320 * net/eww.el (eww-render): Always set eww-current-url,
4321 and update header line. (Bug#15622)
4322 (eww-display-html): ... Rather than just doing it here.
4323
6456c0ea
EZ
43242013-10-15 Eli Zaretskii <eliz@gnu.org>
4325
4326 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4327 menu navigations commands.
4328
c2de5588
DK
43292013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4330
4331 * progmodes/subword.el (subword-capitalize): Be careful when
4332 the search for [[:alpha:]] fails (bug#15580).
4333
ccd4a783
EZ
43342013-10-14 Eli Zaretskii <eliz@gnu.org>
4335
4336 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4337 to commands that scroll the menu.
4338
1eda1d8d
DG
43392013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4340
c2de5588
DK
4341 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4342 Handle methods ending with `?' and `!'.
1eda1d8d 4343
e70181b8
AM
43442013-10-14 Akinori MUSHA <knu@iDaemons.org>
4345
4346 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4347 `japanese-cp932' to `cp932' to fix the problem where saving a
4348 source file written in Shift_JIS twice would end up having
4349 `coding: japanese-cp932' which Ruby could not recognize.
4350 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4351 in `ruby-encoding-map'.
4352 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4353 doesn't need to be explicitly declared in magic comment.
4354 (ruby-encoding-map): Add type declaration for better customize UI.
4355
9148ee92
GM
43562013-10-13 Glenn Morris <rgm@gnu.org>
4357
a5d38e34
GM
4358 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4359 Occur buffers are read-only. http://bugs.debian.org/720775
4360
9148ee92
GM
4361 * emacs-lisp/authors.el (authors-fixed-entries):
4362 Comment out old alpha stuff.
4363
a9ba094b
DG
43642013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4365
4366 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4367 to `after-save-hook' instead of `before-save-hook'.
4368 (ruby-mode-set-encoding): Use the value of coding system used to
4369 write the file. Call `basic-save-buffer-1' after modifying the
4370 buffer.
4371
7a068717
AM
43722013-10-13 Alan Mackenzie <acm@muc.de>
4373
4374 Fix indentation/fontification of Java enum with
4375 "implements"/generic.
4376
c2de5588
DK
4377 * progmodes/cc-engine.el (c-backward-over-enum-header):
4378 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4379 (c-inside-bracelist-p): Uses new function above.
4380 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4381 function above.
4382 (c-font-lock-enum-tail): Uses new function above.
4383
85b64f02
KH
43842013-10-13 Kenichi Handa <handa@gnu.org>
4385
4386 * international/mule-cmds.el (select-safe-coding-system): Remove a
4387 superfluous condition in chekcing whether a coding system is safe
4388 or not.
4389
fc7f501b
OK
43902013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4391
4392 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4393
fdcb2049
AP
43942013-10-13 Andreas Politz <politza@hochschule-trier.de>
4395
4396 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4397
8c106d17
GM
43982013-10-13 Glenn Morris <rgm@gnu.org>
4399
feab892d
GM
4400 * menu-bar.el (menu-bar-update-buffers):
4401 Unify Buffers menu prompt string. (Bug#15576)
4402
b22d0686
GM
4403 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4404
8c106d17
GM
4405 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4406 Add some entries.
4407 (authors-fixed-entries): Use accented form of name.
4408
1b12c797
SM
44092013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4410
650fa7bf 4411 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4412 method calls (bug#15594).
650fa7bf
SM
4413 (ruby-smie--args-separator-p): New function.
4414 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4415 recognize paren-free method calls.
4416
1b12c797
SM
4417 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4418 internals of universal-argument.
4419
029619c8
EZ
44202013-10-11 Eli Zaretskii <eliz@gnu.org>
4421
4422 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4423 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4424 dropped menu on second mouse click on the menu bar.
029619c8 4425
dd070019
SM
44262013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4427
4428 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4429 (explicit-shell-file-name): Declare.
4430 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4431 (sh-completion-at-point-function): New function.
4432 (sh-mode): Use it.
4433 (sh-smie--keyword-p): Remove unused argument.
4434 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4435 vars.
4436 (sh-set-shell): Always setup SMIE, even if we use the
4437 old indentation code.
4438
0922b826
DG
44392013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4440
b68e2926
DG
4441 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4442 cases of ? and =.
4443 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4444 predicate would return nil are almost non-existent.
4445 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4446
0922b826
DG
4447 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4448 cache also after commands that modify the buffer but don't move
4449 point.
4450
ee041f2d
SM
44512013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4452
4453 * env.el (substitute-env-in-file-name): New function.
4454 (substitute-env-vars): Extend the meaning of the optional arg.
4455
a5dab159
EZ
44562013-10-10 Eli Zaretskii <eliz@gnu.org>
4457
4458 * term/w32-win.el (dynamic-library-alist): Define separate lists
4459 of GIF DLLs for versions before and after 5.0.0 of giflib.
4460 (Bug#15531)
4461
0449d6cd 44622013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4463
4464 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4465 not locked, use last revision and current source as
4466 defaults. (Bug#15569)
4467
2f6e161e
MY
44682013-10-10 Masatake YAMATO <yamato@redhat.com>
4469
4470 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4471 menu-bar is hidden.
4472
6c8413fc
MR
44732013-10-10 Martin Rudalics <rudalics@gmx.at>
4474
4475 * window.el (pop-to-buffer-same-window): Fix doc-string.
4476 (Bug#15492)
4477
20832de0
SM
44782013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4479
4480 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4481
c6e8ae77
AC
44822013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4483
4484 * calendar/icalendar.el (icalendar-import-file):
4485 Fix interactive spec. (Bug#15482)
4486
9db13baf
GM
44872013-10-10 Glenn Morris <rgm@gnu.org>
4488
9271e90e
GM
4489 * desktop.el (desktop-save): Default to saving in .emacs.d,
4490 since PWD is no longer in desktop-path by default. (Bug#15319)
4491
9db13baf
GM
4492 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4493 now that text mode has a menu with the same entry.
4494 (menu-bar-text-mode-auto-fill): Remove now unused func.
4495 * textmodes/text-mode.el (text-mode-map):
4496 Use auto-fill help text from menu-bar.el.
4497
a0be396a 44982013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4499
4500 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4501
2edcd3c7
JL
45022013-10-09 Juri Linkov <juri@jurta.org>
4503
4504 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4505 instead of this-command-keys. Add universal-argument-more and
4506 universal-argument-minus to the list of prefix commands. (Bug#15568)
4507
574411d0
GM
45082013-10-09 Glenn Morris <rgm@gnu.org>
4509
14afa541
GM
4510 * vc/vc-svn.el (vc-svn-create-repo):
4511 Expand paths in file://... url. (Bug#15446)
4512
574411d0
GM
4513 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4514 Add some entries.
4515 (authors): Remove unused local variables.
4516
79804536
SM
45172013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4518
4519 * profiler.el: Create a more coherent calltree from partial backtraces.
4520 (profiler-format): Hide the tail with `invisible' so that C-s can still
4521 find the hidden elements.
4522 (profiler-calltree-depth): Don't recurse so enthusiastically.
4523 (profiler-function-equal): New hash-table-test.
4524 (profiler-calltree-build-unified): New function.
4525 (profiler-calltree-build): Use it.
4526 (profiler-report-make-name-part): Indent the calltree less.
4527 (profiler-report-mode): Add visibility specs for profiler-format.
4528 (profiler-report-expand-entry, profiler-report-toggle-entry):
4529 Expand the whole subtree when provided with a prefix arg.
4530
238150c8
DG
45312013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4532
4533 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4534 iuwu-mod token.
4535 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4536 hanging iuwu-mod token.
4537 (ruby-smie--forward-token): Do not include a dot after a token in
4538 that token.
4539 (ruby-smie--backward-token): Likewise.
4540
b0949cc4
JL
45412013-10-08 Juri Linkov <juri@jurta.org>
4542
4543 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4544 to isearch-other-control-char.
4545 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4546 and isearch-post-command-hook to post-command-hook.
4547 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4548 and isearch-post-command-hook from post-command-hook.
4549 (isearch-unread-key-sequence)
4550 (isearch-reread-key-sequence-naturally)
4551 (isearch-lookup-scroll-key, isearch-other-control-char)
4552 (isearch-other-meta-char): Remove functions.
4553 (isearch-pre-command-hook, isearch-post-command-hook):
4554 New functions based on isearch-other-meta-char rewritten
4555 relying on the new behavior of overriding-terminal-local-map
4556 that does not replace the local keymaps any more. (Bug#15200)
4557
4ed77415
EZ
45582013-10-08 Eli Zaretskii <eliz@gnu.org>
4559
4560 Support menus on text-mode terminals.
4561 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4562 functionality.
4563
4564 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4565
c2de5588
DK
4566 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4567 Move here from mouse.el.
4ed77415
EZ
4568 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4569 and arrow keys.
4570 (tty-menu-navigation-map): New map for TTY menu navigation.
4571
4572 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4573
4574 * frame.el (display-mouse-p): Report text-mode mouse as available
4575 on w32.
4576 (display-popup-menus-p): Report availability if mouse is
4577 available; don't condition on window-system.
4578
4579 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4580 (tty-menu-selected-face): New faces.
4581
b7d5bd82
TL
45822013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4583
06286513
SM
4584 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4585 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4586 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4587 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4588 New constants.
4589 (lisp-mode-variables): New `elisp' argument.
4590 (emacs-lisp-mode): Use it.
4591 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4592 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4593
b7d5bd82
TL
4594 * indent.el: Use lexical-binding.
4595 (indent-region): Add progress reporter.
4596 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4597 last step.
4598 (indent--next-tab-stop): New function to implement this behavior.
4599 (tab-to-tab-stop, move-to-tab-stop): Use it.
4600
46012013-10-08 Teemu Likonen <tlikonen@iki.fi>
4602
4603 * indent.el (indent-rigidly--current-indentation): New function.
4604 (indent-rigidly-map): New var.
4605 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4606
5ea75d23
BG
46072013-10-08 Bastien Guerry <bzg@gnu.org>
4608
f2726fa2 4609 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 4610
cc5da1ec
SM
46112013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4612
8ffa1a0b
SM
4613 * progmodes/perl-mode.el: Use lexical-binding.
4614 Remove redundant :group args.
4615 (perl-nochange): Change default to be closer to other major modes's
4616 standard behavior.
4617 (perl-indent-line): Don't consider text on current line as a
4618 valid beginning of function from which to indent.
4619
f2223371
SM
4620 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4621 with more than one argument (bug#15538).
4622
44256060
SM
4623 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4624
cc5da1ec
SM
4625 * vc/pcvs.el: Use lexical-binding.
4626 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4627 environment of `eval'.
4628 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4629 than a list of expressions. Adjust callers.
4630 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4631
0ea1599d
DG
46322013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4633
4634 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4635 case of the dot in a chained method call being on the following line.
0ea1599d 4636
da3e5ebb
SM
46372013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4638
2abb4e65
SM
4639 * electric.el (electric-indent-inhibit): New var.
4640 (electric-indent-post-self-insert-function): Use it.
4641 * progmodes/python.el (python-mode): Set it.
4642
d2e0e795
SM
4643 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4644 open braces.
4645
4646 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4647
bdc6b4c8
SM
4648 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4649 (css-mode): Use electric-indent-chars.
4650
da3e5ebb
SM
4651 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4652 (font-lock-beg, font-lock-end): Move before first use.
4653 (nxml-mode): Use syntax-propertize-function.
4654 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4655 (nxml-extend-after-change-region): Remove.
4656 * nxml/xmltok.el: Use lexical-binding.
4657 (xmltok-save): Use `declare'.
4658 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4659 * nxml/nxml-util.el: Use lexical-binding.
4660 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4661 Use `declare'.
4662 * nxml/nxml-ns.el: Use lexical-binding.
4663 (nxml-ns-save): Use `declare'.
4664 (nxml-ns-prefixes-for): Avoid add-to-list.
4665 * nxml/rng-match.el: Use lexical-binding.
4666 (rng--ipattern): Use cl-defstruct.
4667 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4668 (rng-cons-group-after, rng-subst-group-after)
4669 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4670 Use closures instead of `(lambda...).
4671
f8f91d5d
MA
46722013-10-07 Michael Albinus <michael.albinus@gmx.de>
4673
4674 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4675 of BEG and END.
4676
da3e5ebb
SM
4677 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4678 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4679 (tramp-gvfs-handle-insert-file-contents): Remove function.
4680
da3e5ebb
SM
4681 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4682 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4683
4684 * net/trampver.el: Update release number.
4685
7ccae3b1
SM
46862013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4687
55ca2c0d
SM
4688 * progmodes/compile.el (compilation-parse-errors):
4689 Use compilation--put-prop.
4690 (compilation--ensure-parse): Check compilation-multiline.
4691
731fc3ae
SM
4692 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4693
da3e5ebb
SM
4694 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4695 lexical-binding.
a5833280 4696
2e7ba2c2
SM
4697 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4698
7ccae3b1
SM
4699 * progmodes/ruby-mode.el: Fix recently added tests.
4700 (ruby-smie-grammar): Add - and +.
4701 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4702 (ruby-smie--backward-id): New functions.
4703 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4704 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4705 any more.
4706
85698d63
LL
47072013-10-07 Leo Liu <sdl.web@gmail.com>
4708
4709 * register.el (register-preview-delay)
4710 (register-preview-functions): New variables.
4711 (register-read-with-preview, register-preview)
4712 (register-describe-oneline): New functions.
4713 (point-to-register, window-configuration-to-register)
4714 (frame-configuration-to-register, jump-to-register)
4715 (number-to-register, view-register, insert-register)
4716 (copy-to-register, append-to-register, prepend-to-register)
4717 (copy-rectangle-to-register): Use register-read-with-preview to
4718 read register. (Bug#15525)
4719
3986af6c
DS
47202013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4721
4722 * net/network-stream.el (network-stream-open-starttls): Don't add
4723 --insecure if it's already present, because that gnutls-cli
4724 rejects getting that parameter twice.
4725
5cd9cda9
DG
47262013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4727
4728 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4729 keyword, too.
4730
da9ea6d9
DG
47312013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4732
4733 * newcomment.el (comment-use-global-state): Change default value
4734 to t, mark obsolete (Bug#15251).
4735 (comment-beginning): In addition to `comment-to-syntax', check the
4736 value of `comment-use-global-state'.
4737
34d1a133
SM
47382013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4739
4740 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4741 (ruby-comment-column): Follow the global default, by default.
4742 (ruby-smie-grammar): Add assignment syntax.
4743 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4744 open-paren, a comma, or a \.
4745 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4746 and line continuations.
4747 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4748 followed by implicit semi-colons. Add rule for string concatenation
4749 and for indentation at BOB.
4750 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4751
4752 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4753 calling next-sexp, since next-token may have skipped chars which
4754 next-sexp doesn't know should be skipped!
4755
6f6ab820
LL
47562013-10-05 Leo Liu <sdl.web@gmail.com>
4757
34d1a133
SM
4758 * progmodes/octave.el (octave-send-region):
4759 Call compilation-forget-errors.
6f6ab820 4760
34ca0f4c
XF
47612013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4762
4763 * vc/vc-svn.el (vc-svn-find-admin-dir):
4764 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4765 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4766 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4767 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4768
a27c1b72
SM
47692013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4770
4771 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4772
258ab3bc
SM
47732013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4774
4775 * subr.el (read-passwd): Hide chars even when called within a context
4776 where after-change-functions is disabled (bug#15501).
4777 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4778 until we removed ourself from overriding-terminal-local-map.
4779
939fb29c
LL
47802013-10-04 Leo Liu <sdl.web@gmail.com>
4781
258ab3bc
SM
4782 * progmodes/octave.el (inferior-octave-mode):
4783 Call compilation-forget-errors.
939fb29c 4784
63bd7f35
XF
47852013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4786
4787 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4788
9e6229fa
MA
47892013-10-04 Michael Albinus <michael.albinus@gmx.de>
4790
4791 * net/secrets.el (secrets-create-collection): Add optional
4792 argument ALIAS. Use proper Label keyword. Append ALIAS as
4793 dbus-call-method argument. (Bug#15516)
4794
1dab32a3
LL
47952013-10-04 Leo Liu <sdl.web@gmail.com>
4796
4797 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4798 (inferior-octave-compilation-font-lock-keywords): New variables.
4799 (compilation-error-regexp-alist)
4800 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4801 (inferior-octave-mode): Use compilation-shell-minor-mode.
4802
6cad7ba3
JS
48032013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4804
4805 * minibuffer.el (completion--replace): Be careful that `end' might be
4806 a marker.
4807
acbadd00
DU
48082013-10-03 Daiki Ueno <ueno@gnu.org>
4809
4810 Add support for package signature checking.
4811 * emacs-lisp/package.el (url-http-file-exists-p)
4812 (epg-make-context, epg-context-set-home-directory)
4813 (epg-verify-string, epg-context-result-for)
4814 (epg-signature-status, epg-signature-to-string)
4815 (epg-check-configuration, epg-configuration)
4816 (epg-import-keys-from-file): Declare.
4817 (package-check-signature): New user option.
4818 (package-unsigned-archives): New user option.
4819 (package-desc): Add `signed' field.
4820 (package-load-descriptor): Set `signed' field if .signed file exists.
4821 (package--archive-file-exists-p): New function.
4822 (package--check-signature): New function.
4823 (package-install-from-archive): Check package signature.
4824 (package--download-one-archive): Check archive signature.
4825 (package-delete): Remove .signed file.
4826 (package-import-keyring): New command.
4827 (package-refresh-contents): Import default keyring.
4828 (package-desc-status): Add "unsigned" status.
4829 (describe-package-1, package-menu--print-info)
4830 (package-menu-mark-delete, package-menu--find-upgrades)
4831 (package-menu--status-predicate): Support "unsigned" status.
4832
adf2aa61
SM
48332013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4834
4835 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4836 the new compilation scheme using the new byte-codes.
4837
4838 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4839 (byte-pophandler): New byte codes.
4840 (byte-goto-ops): Adjust accordingly.
4841 (byte-compile--use-old-handlers): New var.
4842 (byte-compile-catch): Use new byte codes depending on
4843 byte-compile--use-old-handlers.
4844 (byte-compile-condition-case--old): Rename from
4845 byte-compile-condition-case.
4846 (byte-compile-condition-case--new): New function.
4847 (byte-compile-condition-case): New function that dispatches depending
4848 on byte-compile--use-old-handlers.
4849 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4850 when we can.
4851
4852 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4853 Optimize under `condition-case' and `catch' if
4854 byte-compile--use-old-handlers is nil.
4855 (disassemble-offset): Handle new bytecodes.
4856
328a8179
SM
48572013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * subr.el (error): Use `declare'.
4860 (decode-char, encode-char): Use advertised-calling-convention instead
4861 of the docstring to discourage use of the `restriction' arg.
4862
15a1e936
DU
48632013-10-03 Daiki Ueno <ueno@gnu.org>
4864
4865 * epg.el (epg-verify-file): Add a comment saying that it does not
4866 notify verification error as a return value nor a signal.
4867 (epg-verify-string): Ditto.
4868
376f862a
KR
48692013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4870
4871 * progmodes/compile.el (compilation-start): Try globbing the arg to
4872 `cd' (bug#15417).
4873
a2f93a5f
MA
48742013-10-02 Michael Albinus <michael.albinus@gmx.de>
4875
4876 Sync with Tramp 2.2.8.
4877
4878 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4879 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4880 * net/trampver.el: Update release number.
4881
0daa0804
JD
48822013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4883
4884 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4885 and default-process-coding-system for darwin only.
4886
abd1ae34
SM
48872013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4888
4889 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4890
be4e325d
MH
48912013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4892
4893 * vc/vc-git.el (vc-git-grep): Disable pager.
4894
e9155c4a
DG
48952013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4896
494e898b
DG
4897 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4898 Use :url instead of :homepage, as per
4899 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4900
e9155c4a
DG
4901 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4902 non-nil, use `syntax-ppss' (Bug#15251).
4903
481a8e0f
RS
49042013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4905
be4e325d
MH
4906 * progmodes/octave.el (inferior-octave-startup-file):
4907 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4908
056453c6
DG
49092013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4910
be4e325d
MH
4911 * emacs-lisp/package.el (package-desc-from-define):
4912 Accept additional arguments as plist, convert them to an alist and store
4913 them in the `extras' slot.
056453c6
DG
4914 (package-generate-description-file): Convert extras alist back to
4915 plist and append to the `define-package' form arguments.
4916 (package--alist-to-plist): New function.
4917 (package--ac-desc): Add `extras' slot.
4918 (package--add-to-archive-contents): Check if the archive-contents
4919 vector is long enough, and if it is, pass its `extras' slot value
4920 to `package-desc-create'.
4921 (package-buffer-info): Call `lm-homepage', pass the returned value
4922 to `package-desc-from-define'.
4923 (describe-package-1): Render the homepage button (Bug#13291).
4924
be4e325d
MH
4925 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4926 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4927
832966e5
JD
49282013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4929
4930 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4931 and default-process-coding-system to utf-8-unix (Bug#15402).
4932
6cfe977d
XF
49332013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4934
4935 * subr.el (looking-back): Do not recommend using looking-back.
4936
38de11bd
AM
49372013-09-28 Alan Mackenzie <acm@muc.de>
4938
4939 Fix indentation/fontification of Java enum with "implements".
4940
4941 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4942 regexp which matches "implements", etc., in Java.
4943 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4944 specifier clauses coming after "enum".
4945 * progmodes/cc-fonts.el (c-font-lock-declarations)
4946 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4947 after "enum".
4948
1610938f
JD
49492013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4950
4951 * faces.el (region): Change ns_selection_color to
4952 ns_selection_fg_color, add ns_selection_bg_color.
4953
e090f499
LL
49542013-09-28 Leo Liu <sdl.web@gmail.com>
4955
4d2e94d1
LL
4956 * progmodes/octave.el (inferior-octave-completion-table)
4957 (inferior-octave-completion-at-point): Minor tweaks.
4958
e090f499
LL
4959 * textmodes/ispell.el (ispell-lookup-words): Rename from
4960 lookup-words. (Bug#15460)
4961 (lookup-words): Obsolete.
4962 (ispell-complete-word, ispell-command-loop): All uses changed.
4963
7e138a62
RS
49642013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4965
a12bf61e 4966 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4967 (octave-mode-menu): Add octave-send-buffer.
4968 (octave-send-buffer): New function.
4969
5af5ed08
RS
49702013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4971
a12bf61e 4972 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4973 octave-lookfor.
4974 (octave-mode-menu): Add octave-lookfor.
4975 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4976 octave-lookfor.
4977 (octave-lookfor): New function.
4978
3b7b2692
SM
49792013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4980
4981 * emacs-lisp/cl-macs.el:
4982 (cl--loop-destr-temps): Remove.
4983 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4984 its convention.
4985 (cl--loop-set-iterator-function): New function.
4986 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4987 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4988 Bind `it' with `let' instead of substituting it with `cl-subst'.
4989 (cl--unused-var-p): New function.
4990 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4991 Eliminate some unused variable warnings (bug#15326).
4992
529fb53f
TH
49932013-09-27 Tassilo Horn <tsdh@gnu.org>
4994
4995 * doc-view.el (doc-view-scale-reset): Rename from
4996 `doc-view-reset-zoom-level'.
4997 (doc-view-scale-adjust): New command.
4998 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4999 `doc-view-scale-adjust'.
5000
0550c95a
TH
50012013-09-26 Tassilo Horn <tsdh@gnu.org>
5002
5003 * doc-view.el (doc-view-reset-zoom-level): New command.
5004 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5005 zoom commands (bug#15466).
5006
6950f152
KH
50072013-09-26 Kenichi Handa <handa@gnu.org>
5008
5009 * international/quail.el (quail-help): Make it not a command.
5010
39587580
LL
50112013-09-26 Leo Liu <sdl.web@gmail.com>
5012
5013 * minibuffer.el (completion-all-sorted-completions): Make args
5014 optional as they are.
5015
00578659
DC
50162013-09-25 Daniel Colascione <dancol@dancol.org>
5017
5018 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5019 specs are and that they're not evaluated.
5020
0c173878
SS
50212013-09-24 Sam Steingold <sds@gnu.org>
5022
5023 * midnight.el (clean-buffer-list-kill-regexps)
5024 (clean-buffer-list-kill-buffer-names): Update for the new Man
5025 buffer naming which includes the object name.
5026
84998447
SM
50272013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5028
5029 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5030 (eshell-parse-command, eshell-parse-pipeline): Use it since
5031 eshell-separate-commands requires a dynamic scoped var.
5032 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5033
33215353
LL
50342013-09-23 Leo Liu <sdl.web@gmail.com>
5035
5036 * autoinsert.el (auto-insert-alist): Make the value of
5037 lexical-binding match its file setting.
5038
57b16162
JB
50392013-09-23 Juanma Barranquero <lekktu@gmail.com>
5040
c8af4e67
JB
5041 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5042
57b16162
JB
5043 * autoarg.el (autoarg-kp-digit-argument):
5044 * electric.el (Electric-command-loop):
5045 * kmacro.el (kmacro-step-edit-insert):
5046 Do not set universal-argument-num-events.
5047
7186ba60
LL
50482013-09-22 Leo Liu <sdl.web@gmail.com>
5049
5050 * files.el (interpreter-mode-alist): Add octave.
5051
ece15004
AM
50522013-09-21 Alan Mackenzie <acm@muc.de>
5053
5054 C++: fontify identifier in declaration following "public:" correctly.
5055 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5056 to match "public", etc.
5057 (c-decl-prefix-re): Add ":" into the C++ value.
5058 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5059 bit. Add a check for a ":" preceded by "public", etc.
5060
75d83e22
EZ
50612013-09-21 Eli Zaretskii <eliz@gnu.org>
5062
5063 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5064 recognized by GDB 7.5 and later.
5065
d052d3bd
XF
50662013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5067
5068 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5069
31dca772
R
50702013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5071
5072 * subr.el (internal--call-interactively): New const.
5073 (called-interactively-p): Use it (bug#3984).
5074
98ccf24e
XF
50752013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5076
5077 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
5078 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5079 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 5080
c39cc7d1
SM
50812013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5082
5083 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5084 (eshell-ls-orig-insert-directory): Remove.
5085 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5086 (eshell-ls-use-in-dired): Use advice-add/remove.
5087 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5088 Add `orig-fun' arg for use in :around advice.
5089 Make it check (redundantly) eshell-ls-use-in-dired.
5090
9a0289a2
GM
50912013-09-19 Glenn Morris <rgm@gnu.org>
5092
a2c501b8
GM
5093 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5094
c440407a
GM
5095 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5096
9a0289a2
GM
5097 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5098
85e05915
MA
50992013-09-19 Michael Albinus <michael.albinus@gmx.de>
5100
5101 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5102 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5103 (tramp-get-remote-python): New defuns.
5104 (tramp-get-remote-uid-with-perl)
5105 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5106 contributed by yary <not.com@gmail.com> (tiny change).
5107 (tramp-get-remote-uid-with-python)
5108 (tramp-get-remote-gid-with-python): New defuns. Python code
5109 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5110 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5111
ce503312
GM
51122013-09-19 Glenn Morris <rgm@gnu.org>
5113
f7544773
GM
5114 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5115
72fd2877
GM
5116 * eshell/em-unix.el (eshell-remove-entries):
5117 Rename argument to avoid name-clash with global `top-level'.
5118
336b5a56
GM
5119 * eshell/esh-proc.el (eshell-kill-process-function):
5120 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5121 (eshell-reset-after-proc): Remove unused arg `proc'.
5122
57a3a53d
GM
5123 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5124 (directory-files-and-attributes): Mark unused arg.
5125
3261d4af
GM
5126 * eshell/em-unix.el (eshell-remove-entries):
5127 Remove unused arg `path'. Update callers.
5128
8e51b5d0
GM
5129 * eshell/em-hist.el (eshell-hist-parse-arguments):
5130 Remove unused arg `silent'. Update callers.
5131
ce503312
GM
5132 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5133 Fix (f)boundp mix-up.
5134
5135 * eshell/em-smart.el (eshell-smart-scroll-window)
5136 (eshell-disable-after-change):
336b5a56 5137 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5138
ee3ce8a7
AM
51392013-09-18 Alan Mackenzie <acm@muc.de>
5140
5141 Fix fontification of type when followed by "const".
5142 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5143 "known" types from fontification.
5144
ec9177ba
GM
51452013-09-18 Glenn Morris <rgm@gnu.org>
5146
7bb3e768
GM
5147 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5148 (chart-face-list): Drop Emacsen without display-color-p.
5149
5148da15
GM
5150 * net/eww.el (libxml-parse-html-region): Declare.
5151 (eww-display-html): Explicit error if no libxml2 support.
5152
2f68e157
GM
5153 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5154
9019d095
GM
5155 * image.el (image-type-from-buffer, image-multi-frame-p):
5156 Remove --without-x warning/error.
67645389 5157
5f30349b 5158 * mouse.el (mouse-yank-primary):
45069b2e 5159 * term.el (term-mouse-paste):
5f30349b
GM
5160 Reorder to silence --without-x compilation.
5161
cd8edbbe
GM
5162 * mpc.el (doc-view-mode): Silence --without-x compilation.
5163
8a78544e
GM
5164 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5165 Silence --without-x compilation.
5166
12679bfd
GM
5167 * progmodes/gud.el (gud-find-file, gud-mode):
5168 Silence --without-x compilation.
5169 (tooltip-mode): Declare.
30810a05 5170
f0047cb9
GM
5171 * wdired.el (dired-backup-overwrite): Remove declaration.
5172 (wdired-mode-map): Add doc string.
5173
e740f9d2
GM
5174 * custom.el (x-get-resource): Declare.
5175
92d77c89
GM
5176 * eshell/em-glob.el (ange-cache):
5177 * eshell/em-unix.el (ange-cache): Declare.
5178
76e69577
GM
5179 * faces.el (x-display-list, x-open-connection, x-get-resource):
5180 Declare.
7e58af4b
GM
5181
5182 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5183 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5184 Declare.
76e69577 5185
4bd4c0af 5186 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5187
ffb82dbd
GM
5188 * net/gnutls.el (gnutls-log-level): Declare.
5189
986ed135
GM
5190 * net/shr.el (image-size, image-animate): Declare.
5191
e740f9d2
GM
5192 * simple.el (font-info): Declare.
5193
d2f3e9f8
GM
5194 * subr.el (x-popup-dialog): Declare.
5195
047a1a4c
GM
5196 * term/common-win.el (x-select-enable-primary)
5197 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5198 Declare.
5199
f4a1d572
GM
5200 * term/ns-win.el (x-handle-args): Declare.
5201
e843de77
GM
5202 * term/x-win.el (x-select-enable-clipboard): Declare.
5203
5fa89513
GM
5204 * term/w32-win.el (create-default-fontset): Declare.
5205
38702b5b
GM
5206 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5207 Declare.
5208
e740f9d2
GM
5209 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5210 (fit-frame-to-buffer): Explicit error if --without-x.
5211 (mouse-autoselect-window-select): Silence compiler.
5212
49a053fc
GM
5213 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5214
5215 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5216 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5217 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5218 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5219 Remove unused local variables.
5220
5221 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5222
ec9177ba
GM
5223 * textmodes/two-column.el: Make 2C-split work for --without-x.
5224 (scroll-bar-columns): Autoload.
5225 (top-level): Require fringe when compiling.
5226
9f25cb77
LL
52272013-09-18 Leo Liu <sdl.web@gmail.com>
5228
5229 * subr.el (add-hook): Robustify to handle closure as well.
5230
2b42da98
GM
52312013-09-17 Glenn Morris <rgm@gnu.org>
5232
5233 * simple.el (messages-buffer-mode-map): Unbind "g".
5234
e8b66a6a
SM
52352013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5236
9c0ad4f7
SM
5237 * help-mode.el (help-mode-finish): Use derived-mode-p.
5238 Remove obsolete highlighting.
5239
7a806dfb
SM
5240 * play/life.el (life-mode): Use define-derived-mode. Derive from
5241 special-mode.
5242 (life): Let-bind inhibit-read-only.
5243 (life-setup): Avoid `setq'. Use `life-mode'.
5244
96dbf5a8
SM
5245 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5246 which should not be needed any more.
5247 (package-menu-refresh, package-menu-describe-package): Use user-error.
5248
e8b66a6a
SM
5249 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5250 (eshell-post-rewrite-command-hook): Make obsolete.
5251 (eshell-parse-command): Simplify.
5252 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5253 (eshell--cmd): Declare.
5254 (eshell-parse-pipeline): Remove unused var `final-p'.
5255 Pass a dynvar to eshell-post-rewrite-command-hook.
5256 Implement the new eshell-post-rewrite-command-function.
5257 (eshell-invoke-directly): Remove unused arg `input'.
5258 * eshell/esh-io.el (eshell-io-initialize):
5259 Use eshell-post-rewrite-command-function (bug#15399).
5260 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5261 adjust to new calling convention.
5262 (eshell-create-handles): Rename args to avoid clashing with dynvar
5263 `standard-output'.
5264
90582f05
GM
52652013-09-17 Glenn Morris <rgm@gnu.org>
5266
5267 * simple.el (messages-buffer-mode): New major mode.
5268 (messages-buffer): New function.
5269 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5270 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5271 (ert-run-test): Use `messages-buffer' function.
90582f05 5272 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5273 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5274 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5275
39eb0cb5 52762013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5277
5278 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5279
1d42e5b6 5280 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5281
70568a90
SM
52822013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5283
504a0381
SM
5284 * icomplete.el (icomplete-in-buffer): New var.
5285 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5286 vars and replace them with functions.
5287 (icomplete-minibuffer-setup): Adjust accordingly.
5288 (icomplete--completion-table, icomplete--completion-predicate)
5289 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5290 New functions.
5291 (icomplete-forward-completions, icomplete-backward-completions)
5292 (icomplete-simple-completing-p, icomplete-exhibit)
5293 (icomplete-completions): Use them.
5294 (icomplete--in-region-buffer): New var.
5295 (icomplete--in-region-setup): New function.
5296 (icomplete-mode): Use it.
5297
70568a90
SM
5298 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5299 (bug#15379).
5300 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5301 return args and options.
5302 (eshell-eval-using-options): Use the new return value of
5303 eshell--do-opts to set the options's vars in their scope.
5304 (eshell--set-option): Rename from eshell-set-option.
5305 Add arg `opt-vals'.
5306 (eshell--process-option): Rename from eshell-process-option.
5307 Add arg `opt-vals'.
5308 (eshell--process-args): Use an `opt-vals' alist to store the options's
5309 values during their processing and return them additionally to the
5310 remaining args.
5311
578c21bc
DG
53122013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5313
5314 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5315 continuation character an operator, as far as indentation is
5316 concerned (Bug#15369).
5317
c089653d
MR
53182013-09-15 Martin Rudalics <rudalics@gmx.at>
5319
5320 * window.el (window--state-put-2): Don't process buffer state
5321 when buffer doesn't exist any more (Bug#15382).
5322
1e53bb4b
GM
53232013-09-15 Glenn Morris <rgm@gnu.org>
5324
30753242
GM
5325 * eshell/em-unix.el (eshell/rm):
5326 Make -f ignore missing files. (Bug#15373)
5327
1e53bb4b
GM
5328 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5329 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5330 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5331
0d8863b3
GM
53322013-09-14 Glenn Morris <rgm@gnu.org>
5333
5334 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5335
d3fc6549
GM
53362013-09-13 Glenn Morris <rgm@gnu.org>
5337
5338 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5339 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5340
fcd42c11
DA
53412013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5342
5343 * frame.el (x-focus-frame): Mark as declared in frame.c.
5344
7830899f
SM
53452013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5346
5347 * ls-lisp.el: Use advice-add.
5348 (original-insert-directory): Remove.
5349 (ls-lisp--insert-directory): Rename from insert-directory; add
5350 `orig-fun' argument.
5351 (insert-directory): Advise.
5352
84387cd2
EZ
53532013-09-13 Eli Zaretskii <eliz@gnu.org>
5354
5355 * term.el (term-emulate-terminal): Decode the command string
5356 before passing it to term-command-hook. (Bug#15337)
5357
35ffc6ba
GM
53582013-09-13 Glenn Morris <rgm@gnu.org>
5359
5c3f9bcc
GM
5360 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5361
2ada368a
GM
5362 * eshell/esh-ext.el (eshell-search-path): Declare.
5363
fcef2e13
GM
5364 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5365 Otherwise an error occurs if eshell-dirs module not loaded.
5366
35ffc6ba
GM
5367 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5368
35c3d36e
MA
53692013-09-13 Michael Albinus <michael.albinus@gmx.de>
5370
5371 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5372 `tramp-check-proper-host'. Check for a valid method name.
5373
5374 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5375 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5376 * net/tramp-sh.el (tramp-maybe-open-connection):
5377 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5378
5379 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5380 also for hash values.
5381
ae5e4c48
SM
53822013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5383
379add74
SM
5384 * term/ns-win.el (parameters): Don't declare as dynamic.
5385 (before-make-frame-hook): Don't add ineffective function.
5386
ae5e4c48
SM
5387 * eshell/*.el: Use lexical-binding (bug#15231).
5388
b5623270
KH
53892013-09-12 Kenichi Handa <handa@gnu.org>
5390
ae5e4c48 5391 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5392
30213927
GM
53932013-09-12 Glenn Morris <rgm@gnu.org>
5394
be94d713 5395 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5396 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5397
44915370
GM
5398 * subr.el (do-after-load-evaluation): Also give compiler warnings
5399 when obsolete files are used (except by obsolete files).
5400
a6ae021f
GM
5401 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5402 in the status output, assume `filename' is the first. (Bug#15322)
5403
40e64f0c
GM
5404 * vc/vc.el (vc-deduce-fileset): Doc fix.
5405
16d9f896
GM
5406 * calc/calc-help.el (Info-goto-node):
5407 * progmodes/cperl-mode.el (Info-find-node):
5408 * vc/ediff.el (Info-goto-node): Update declarations.
5409
dea01c6e
GM
5410 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5411
759880bf 5412 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5413 (vc-bzr-pull): Require vc-dispatcher.
5414 * vc/vc-git.el (vc-compilation-mode): Declare.
5415 (vc-git-pull): Require vc-dispatcher.
5416
08d66420
GM
5417 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5418
30b626e9
GM
5419 * progmodes/octave.el (help-button-action): Declare.
5420
8c05cb10
GM
5421 * shell.el (shell-directory-tracker): Output error as a message
5422 rather than just returning it as a string.
5423 (shell-process-pushd): Remove useless use of message.
5424
30213927
GM
5425 * dframe.el (dframe-timer-fn):
5426 * files.el (dir-locals-read-from-file):
5427 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5428 (mpc-format):
5429 * reveal.el (reveal-post-command):
5430 * saveplace.el (load-save-place-alist-from-file):
5431 * shell.el (shell-resync-dirs):
5432 * w32-common-fns.el (x-get-selection-value):
5433 * emacs-lisp/copyright.el (copyright-find-copyright):
5434 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5435 * emulation/tpu-edt.el (tpu-copy-keyfile):
5436 * play/bubbles.el (bubbles--mark-neighbourhood):
5437 * progmodes/executable.el
5438 (executable-make-buffer-file-executable-if-script-p):
5439 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5440
d3b049e6
SM
54412013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5442
170266d0
SM
5443 Cleanup Eshell to rely less on dynamic scoping.
5444 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5445 last-value, and ext-command here. Bind `args' closer to `body'.
5446 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5447 (eshell--args): Declare new dynamic var.
5448 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5449 last-value, and ext-command. Pass `args' to `body'.
5450 (eshell-process-args): Bind eshell--args.
5451 (eshell-set-option): Use eshell--args.
5452 * eshell/eshell.el (eshell): Use derived-mode-p.
5453 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5454 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5455 (eshell-glob-function): Declare.
5456 * eshell/esh-util.el: Require cl-lib.
5457 (eshell-read-hosts-file): Avoid add-to-list.
5458 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5459 `err'.
5460 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5461 Declare.
5462 (eshell/diff): Remove unused var `err'.
5463 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5464 `killflag'.
5465 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5466 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5467 first use.
5468 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5469 Move declaration before first use.
5470 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5471 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5472 rely on cl-return.
5473
56834f3b
GM
54742013-09-12 Glenn Morris <rgm@gnu.org>
5475
5476 * term/ns-win.el (global-map): Remove binding for ispell-next,
5477 deleted 1999-05-29. (Bug#15357)
5478
5c91a2b8
GM
54792013-09-11 Glenn Morris <rgm@gnu.org>
5480
da712f22
GM
5481 * echistory.el (electric-command-history): Remove call to deleted func.
5482
512e4cdc
GM
5483 * play/landmark.el (landmark-mode): Fix typos.
5484
d3506ca5
GM
5485 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5486 Check cvs-sort-ignore-file is bound.
5487
5c91a2b8
GM
5488 * savehist.el: No need for cl when compiling on Emacs.
5489
feeff482
SM
54902013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5491
656bd483
SM
5492 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5493 (bug#15338).
d3b049e6
SM
5494 (eshell-self-insert-command, eshell-send-invisible):
5495 Remove unused argument.
656bd483
SM
5496 (eshell-handle-control-codes): Remove unused var `orig'.
5497 Avoid delete-backward-char.
5498
feeff482
SM
5499 * files.el (set-auto-mode): Simplify a bit further.
5500
2a08047a
GM
55012013-09-11 Glenn Morris <rgm@gnu.org>
5502
5503 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5504 (set-auto-mode): Don't regexp-quote elements.
5505 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5506 * progmodes/cc-mode.el (interpreter-mode-alist):
5507 * progmodes/ruby-mode.el (interpreter-mode-alist):
5508 Revert previous change.
5509
34675540
SM
55102013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5511
1b3b87df
SM
5512 * play/snake.el (snake-mode):
5513 * play/mpuz.el (mpuz-mode):
5514 * play/landmark.el (lm-mode):
5515 * play/blackbox.el (blackbox-mode):
5516 * play/5x5.el (5x5-mode):
5517 * obsolete/options.el (Edit-options-mode):
5518 * net/quickurl.el (quickurl-list-mode):
5519 * net/newst-treeview.el (newsticker-treeview-mode):
5520 * mail/rmailsum.el (rmail-summary-mode):
5521 * mail/mspools.el (mspools-mode):
5522 * locate.el (locate-mode):
5523 * ibuffer.el (ibuffer-mode):
5524 * emulation/ws-mode.el (wordstar-mode):
5525 * emacs-lisp/debug.el (debugger-mode):
5526 * array.el (array-mode):
5527 * net/eudc.el (eudc-mode): Use define-derived-mode.
5528 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5529 Move initialization into declaration.
5530 (mairix-searches-mode): Use define-derived-mode.
5531 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5532 (eudc-edit-hotlist): Use dolist.
5533 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5534 (Man-mode): Use define-derived-mode.
5535 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5536 (Info-edit-mode): Use define-derived-mode.
5537 (Info-cease-edit): Use Info-mode.
5538 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5539 into declaration.
5540 (eshell-mode): Use define-derived-mode.
5541 * chistory.el (command-history-mode-map): Rename from
5542 command-history-map.
5543 (command-history-mode): Use define-derived-mode.
da712f22 5544 (Command-history-setup): Remove function.
1b3b87df
SM
5545 * calc/calc.el (calc-trail-mode-map): New var.
5546 (calc-trail-mode): Use define-derived-mode.
5547 (calc-trail-buffer): Set calc-main-buffer manually.
5548 * bookmark.el (bookmark-insert-annotation): New function.
5549 (bookmark-edit-annotation): Use it.
5550 (bookmark-edit-annotation-mode): Make it a proper major mode.
5551 (bookmark-send-edited-annotation): Use derived-mode-p.
5552 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5553 closer to its ideal place. Use \' to match EOS.
5554
34675540
SM
5555 * profiler.el (profiler-calltree-find): Use function-equal.
5556
6a5c15d9
GM
55572013-09-10 Glenn Morris <rgm@gnu.org>
5558
1af4c220
GM
5559 * files.el (interpreter-mode-alist): Convert to regexps.
5560 (set-auto-mode): Adapt for this. (Bug#15306)
5561 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5562 Comment out unused variable.
5563 * progmodes/cc-mode.el (interpreter-mode-alist):
5564 * progmodes/python.el (interpreter-mode-alist):
5565 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5566 * progmodes/sh-script.el (sh-set-shell):
5567 No longer use interpreter-mode-alist to get list of shells.
5568
6a5c15d9
GM
5569 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5570
8c27f5ff
SM
55712013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5572
02ef6c1a 5573 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5574 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5575 Bind switch-frame explicitly. Replace universal-argument-minus with
5576 a conditional binding.
5577 (universal-argument-num-events, saved-overriding-map): Remove.
5578 (restore-overriding-map): Remove.
5579 (universal-argument--mode): Rename from save&set-overriding-map,
5580 and rewrite.
5581 (universal-argument, universal-argument-more, negative-argument)
5582 (digit-argument): Adjust accordingly.
5583 (universal-argument-minus): Remove.
5584 (universal-argument-other-key): Remove.
5585
8c27f5ff
SM
5586 * subr.el (with-demoted-errors): Add `format' argument.
5587
6480194c
MA
55882013-09-10 Michael Albinus <michael.albinus@gmx.de>
5589
5590 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5591 `tramp-cleanup-connection'.
5592
5593 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5594 parameters KEEP-DEBUG and KEEP-PASSWORD.
5595
5596 * net/tramp.el (tramp-file-name-handler):
5597 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5598 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5599 (tramp-maybe-open-connection):
8c27f5ff
SM
5600 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5601 Use `tramp-cleanup-connection'.
6480194c 5602
8c27f5ff
SM
5603 * net/tramp-sh.el (tramp-maybe-open-connection):
5604 Catch 'uname-changed inside the progress reporter.
6480194c 5605
e5e916d8
GM
56062013-09-10 Glenn Morris <rgm@gnu.org>
5607
9a2c9b47
GM
5608 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5609
e5e916d8
GM
5610 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5611 returns "alternate access method" in mode (eg "-rw-r--r--.").
5612
144e38fe
GM
56132013-09-08 Glenn Morris <rgm@gnu.org>
5614
5615 * saveplace.el (load-save-place-alist-from-file):
5616 Demote errors. (Bug#15305)
5617
af9ff9e8
MA
56182013-09-08 Michael Albinus <michael.albinus@gmx.de>
5619
5620 Improve compatibility with older Emacsen, and XEmacs.
5621
5622 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5623 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5624 (with-tramp-progress-reporter): Do not let-bind `result'.
5625 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5626 (tramp-handle-make-auto-save-file-name): New function, moved from
5627 tramp-sh.el.
5628
5629 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5630 for `make-auto-save-file-name'.
8c27f5ff
SM
5631 (tramp-adb--gnu-switches-to-ash):
5632 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5633
5634 * net/tramp-cache.el (tramp-cache-print): Call
5635 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5636
5637 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5638 bound. It isn't for XEmacs.
5639
8c27f5ff
SM
5640 * net/tramp-compat.el (tramp-compat-copy-file):
5641 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5642 (tramp-compat-replace-regexp-in-string): New defun.
5643
5644 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5645 for `make-auto-save-file-name'.
5646 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5647 `copy-file'.
5648 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5649 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5650 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5651
8c27f5ff
SM
5652 * net/tramp-gw.el (tramp-gw-open-network-stream):
5653 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5654
8c27f5ff
SM
5655 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5656 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5657 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5658 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5659 (tramp-sh-file-inotifywait-process-filter):
5660 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5661 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5662
5663 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5664 for `make-auto-save-file-name'.
8c27f5ff
SM
5665 (tramp-smb-handle-copy-directory):
5666 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5667 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5668 (tramp-smb-handle-copy-file): Improve error message.
5669 (tramp-smb-handle-rename-file): Rename directly only in case
5670 `newname' does not exist yet. This is a restriction of smbclient.
5671 (tramp-smb-maybe-open-connection): Rerun the function only when
5672 `auth-sources' is non-nil.
5673
0ca754d0
KH
56742013-09-08 Kenichi Handa <handa@gnu.org>
5675
e0eb0550 5676 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5677 more characters.
5678
e8dd0787
AM
56792013-09-07 Alan Mackenzie <acm@muc.de>
5680
5681 Correctly fontify Java class constructors.
5682 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5683 in Java Mode.
5684 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5685 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5686 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5687 "typeless" declaration there.
5688
f2f248e7
RW
56892013-09-07 Roland Winkler <winkler@gnu.org>
5690
5691 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5692 field subtitle for entry type book.
5693
67982e2b
SM
56942013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5695
5696 * minibuffer.el: Make minibuffer-complete call completion-in-region
5697 rather than other way around.
5698 (completion--some, completion-pcm--find-all-completions):
5699 Don't delay signals when debugging.
5700 (minibuffer-completion-contents): Beware fields within the
5701 minibuffer contents.
5702 (completion-all-sorted-completions): Use defvar-local.
5703 (completion--do-completion, completion--cache-all-sorted-completions)
5704 (completion-all-sorted-completions, minibuffer-force-complete):
5705 Add args `beg' and `end'.
5706 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5707 (minibuffer-complete): Use completion-in-region.
5708 (completion-complete-and-exit): New fun, extracted from
5709 minibuffer-complete-and-exit.
5710 (minibuffer-complete-and-exit): Use it.
5711 (completion--complete-and-exit): Rename from
5712 minibuffer--complete-and-exit.
5713 (completion-in-region--single-word): New function, extracted from
5714 minibuffer-complete-word.
5715 (minibuffer-complete-word): Use it.
5716 (display-completion-list): Make `common-substring' argument obsolete.
5717 (completion--in-region): Call completion--in-region-1 instead of
5718 minibuffer-complete.
5719 (completion-help-at-point): Pass boundaries to
5720 minibuffer-completion-help as args rather than via an overlay.
5721 (completion-pcm--string->pattern): Use `any-delim'.
5722 (completion-pcm--optimize-pattern): New function.
5723 (completion-pcm--pattern->regex): Handle `any-delim'.
5724 * icomplete.el (icomplete-forward-completions)
5725 (icomplete-backward-completions, icomplete-completions):
5726 Adjust calls to completion-all-sorted-completions and
5727 completion--cache-all-sorted-completions.
5728 (icomplete-with-completion-tables): Default to t.
5729 * emacs-lisp/crm.el (crm--current-element): Rename from
5730 crm--select-current-element. Don't put an overlay but return the
5731 boundaries instead.
5732 (crm--completion-command): Take two new args to bind to the boundaries.
5733 (crm-completion-help): Adjust accordingly.
5734 (crm-complete): Use completion-in-region.
5735 (crm-complete-word): Use completion-in-region--single-word.
5736 (crm-complete-and-exit): Use completion-complete-and-exit.
5737
e17d94a5
SM
57382013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5739
5740 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5741 than dynamically.
5742
96727100
JL
57432013-09-06 Juri Linkov <juri@jurta.org>
5744
5745 * info.el (Info-display-images-node): When image file doesn't exist
5746 display text version of the image if it's provided in the Info file.
5747 Otherwise, display the location of missing image from SRC attribute.
5748 Add help-echo text property from ALT attribute. (Bug#15279)
5749
86cf7329
SM
57502013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5751
5752 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5753 (edit-abbrevs-mode): Use define-derived-mode.
5754
5755 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5756 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5757 that it's defined.
5758 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5759 Use define-derived-mode.
5760
5761 * epg.el (epg-start-encrypt): Minor CSE simplification.
5762
816244a2
WX
57632013-09-06 William Xu <william.xwl@gmail.com>
5764
5765 * arc-mode.el: Add support for 7za (bug#15264).
5766 (archive-7z-program): New var.
5767 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5768 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5769 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5770
1486fa31
MA
57712013-09-06 Michael Albinus <michael.albinus@gmx.de>
5772
5773 Remove URL syntax.
5774
5775 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5776 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5777 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5778 (tramp-postfix-host-format, tramp-file-name-regexp)
5779 (tramp-completion-file-name-regexp)
5780 (tramp-completion-dissect-file-name)
5781 (tramp-handle-substitute-in-file-name): Remove 'url case.
5782 (tramp-file-name-regexp-url)
5783 (tramp-completion-file-name-regexp-url): Remove constants.
5784
39785324
GM
57852013-09-06 Glenn Morris <rgm@gnu.org>
5786
5787 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5788
1f896cb7
DG
57892013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5790
5791 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5792 keywords" below "here-doc beginnings" (Bug#15270).
5793
c0458e0b
SM
57942013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5795
5796 * subr.el (pop): Use `car-safe'.
5797 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5798 to detect unused `pop' return value.
5799
5800 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5801 var `block-regexp'.
5802 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5803 (python-fill-string): Remove unused var `marker'.
5804 (python-skeleton-add-menu-items): Remove unused var `items'.
5805
5806 * international/mule-cmds.el: Require CL.
5807 (find-coding-systems-for-charsets): Avoid add-to-list.
5808 (sanitize-coding-system-list): New function, extracted from
5809 select-safe-coding-system-interactively.
5810 (select-safe-coding-system-interactively): Use it.
5811 (read-input-method-name): Accept symbols for `default'.
5812
5813 * emacs-lisp/advice.el (defadvice): Add indent rule.
5814
6c42fc3e
DH
58152013-09-05 Daniel Hackney <dan@haxney.org>
5816
5817 * dired-x.el:
5818 * net/ange-ftp.el:
5819 * net/browse-url.el:
5820 * net/dbus.el:
5821 * net/eudc.el:
5822 * net/eudcb-ldap.el:
5823 * net/eww.el:
5824 * net/imap.el:
5825 * printing.el:
5826 * vc/ediff-diff.el:
5827 * vc/ediff-init.el:
5828 * vc/ediff-merg.el:
5829 * vc/ediff-mult.el:
5830 * vc/ediff-util.el:
5831 * vc/ediff-wind.el:
5832 * vc/ediff.el:
5833 * vc/emerge.el:
5834 * vc/pcvs.el:
5835 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5836 byte compiler. Remove some unused let-bound variables.
5837
4c528aab
SM
58382013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5839
5840 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5841 a "ref-cell", since it gets better optimized (bug#14883).
5842
bd15c390
GM
58432013-09-05 Glenn Morris <rgm@gnu.org>
5844
5845 * progmodes/cc-awk.el (c-forward-sws): Declare.
5846
1c3ac2e5
GM
58472013-09-04 Glenn Morris <rgm@gnu.org>
5848
5849 * generic-x.el [rul-generic-mode]: Require cc-mode.
5850 (c++-mode-syntax-table): Declare.
5851 (rul-generic-mode-syntax-table): Init in the defvar.
5852
52b1cc79
SM
58532013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5854
c828af56
SM
5855 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5856 (vc-do-command, vc-set-async-update):
5857 * vc/vc-mtn.el (vc-mtn-dir-status):
5858 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5859 (vc-hg-pull, vc-hg-merge-branch):
5860 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5861 (vc-git-merge-branch):
5862 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5863 (vc-cvs-dir-status-files):
5864 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5865 (vc-bzr-dir-status-files):
5866 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5867 * vc/vc-annotate.el: Use lexical-binding.
5868 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5869 (vc-sentinel-movepoint): Declare.
5870 (vc-annotate): Don't use `goto-line'.
5871 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5872 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5873 (vc-sentinel-movepoint): Declare.
5874 * vc/vc-svn.el: Use lexical-binding.
5875 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5876 * vc/vc-sccs.el:
5877 * vc/vc-rcs.el: Use lexical-binding.
5878
abae272c
SM
5879 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5880 `deleted'. Don't drop errors silently.
5881
52b1cc79
SM
5882 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5883
63191d9f
XF
58842013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5885
5886 * vc/vc.el (vc-ignore): Rewrite.
5887 (vc-default-ignore): New function.
5888 (vc-default-ignore-completion-table): Use find-ignore-file.
5889
5890 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5891 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5892 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5893 Remove. Most code moved to vc.el.
5894
9d3f707c
SM
58952013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5896
abae272c 5897 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5898 * net/tramp-smb.el (tramp-smb-get-file-entries):
5899 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5900 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5901
fde38d49
SM
5902 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5903 Update call to it.
5904 (eww-change-select): Remove unused var `properties'.
5905 (eww-make-unique-file-name): Remove unused var `base'.
5906
5907 * finder.el (finder-compile-keywords): Don't mess with windows.
5908
84032db7
SM
5909 * calculator.el (calculator-funcall): Fix typo in last change.
5910
724f5e41
SM
5911 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5912
14b511d4
SM
5913 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5914 <pkg>-autoloads.el file stop us.
5915
9d3f707c 5916 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5917 warnings, and factor out common code.
9d3f707c 5918
88527bc0
DG
59192013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5920
5921 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5922 two-character operators and whether the character preceding them
5923 changes their meaning (Bug#15208).
5924
96edb677
FEG
59252013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5926
5927 Format code sent to Python shell for robustness.
9d3f707c
SM
5928 * progmodes/python.el (python-shell-buffer-substring):
5929 New function.
96edb677
FEG
5930 (python-shell-send-region, python-shell-send-buffer): Use it.
5931
95beaef3
MA
59322013-09-02 Michael Albinus <michael.albinus@gmx.de>
5933
5934 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5935 * net/tramp.el (tramp-user-error): ... here.
5936 (tramp-find-method, tramp-check-proper-host)
5937 (tramp-dissect-file-name, tramp-debug-message)
5938 (tramp-handle-shell-command):
5939 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5940 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5941
5942 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5943
f167c27b
MR
59442013-09-02 Martin Rudalics <rudalics@gmx.at>
5945
5946 * avoid.el (mouse-avoidance-point-position)
5947 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5948 returns nil.
5949
cd16c5f1
FEG
59502013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5951
5952 * progmodes/python.el (python-shell-completion-get-completions):
5953 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5954 (python-nav-if-name-main): New command.
cd16c5f1 5955
e73c3a0d
GM
59562013-09-01 Glenn Morris <rgm@gnu.org>
5957
f8ccce03
GM
5958 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5959 Avoid leading space in $wins. Otherwise the sed command used by
5960 eg compile-main ends up containing "/*.el". (Bug#15170)
5961
e73c3a0d
GM
5962 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5963
415f808e
GM
59642013-08-30 Glenn Morris <rgm@gnu.org>
5965
5966 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5967 Fix is-this-a-directory logic. (Bug#15220)
5968
f069bba8
SM
59692013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5970
112798c1
SM
5971 * textmodes/css-mode.el: Use SMIE.
5972 (css-smie-grammar): New var.
5973 (css-smie--forward-token, css-smie--backward-token)
5974 (css-smie-rules): New functions.
5975 (css-mode): Use them.
5976 (css-navigation-syntax-table): Remove var.
5977 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5978 (css-indent-calculate, css-indent-line): Remove functions.
5979
5980 Misc changes to reduce use of `(lambda...); and other cleanups.
5981 * cus-edit.el: Use lexical-binding.
5982 (customize-push-and-save, customize-apropos)
5983 (custom-buffer-create-internal): Use closures.
5984 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5985 * progmodes/ada-xref.el: Use setq.
5986 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5987 * dframe.el: Use lexical-binding.
5988 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5989 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5990 * descr-text.el: Use lexical-binding.
5991 (describe-text-widget, describe-text-sexp, describe-property-list):
5992 Use closures.
5993 * comint.el (comint-history-isearch-push-state): Use a closure.
5994 * calculator.el: Use lexical-binding.
5995 (calculator-number-to-string): Make it work with lexical-binding.
5996 (calculator-funcall): Same and use cl-letf.
5997
2da4c3ab
SM
5998 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5999 (lisp--company-doc-string, lisp--company-location): New functions.
6000 (lisp-completion-at-point): Use them to improve Company support.
6001
f069bba8
SM
6002 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6003 params of lambda expressions.
6004 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6005 (ruby-smie--opening-pipe-p): New function.
6006 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6007 symbols and matched |...| for formal params.
6008 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6009 from being treated as hanging. Handle "rescue".
6010
6758b6a8
GM
60112013-08-29 Glenn Morris <rgm@gnu.org>
6012
6013 * progmodes/cc-engine.el (c-pull-open-brace):
6014 Move definition before use.
6015
e8dfd197
SM
60162013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6017
6018 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6019 are immutable. Don't use `unsafe' any more.
6020 (cl--defsubst-expand): Don't substitute at the same time as keeping
6021 a residual unused let-binding. Don't use `unsafe' any more.
6022
cc585c96
GM
60232013-08-29 Glenn Morris <rgm@gnu.org>
6024
ba579ea6
GM
6025 * calendar/cal-china.el (calendar-chinese-year-cache):
6026 Recenter on 2015.
6027
8201a87e
GM
6028 * nxml/nxml-util.el (nxml-debug-clear-inside):
6029 Use cl-loop rather than loop.
6030
6ee877c7
GM
6031 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6032
cc585c96
GM
6033 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6034
27be8d39
GM
60352013-08-28 Glenn Morris <rgm@gnu.org>
6036
397440a1
GM
6037 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6038
2bb762d4
GM
6039 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6040
27be8d39
GM
6041 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6042
2d69b99e
SM
60432013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6044
f663baa7
SM
6045 * simple.el (repeat-complex-command--called-interactively-skip):
6046 New function.
6047 (repeat-complex-command): Use it (bug#14136).
6048
dd4f8b74
SM
6049 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6050 (c-define-abbrev-table): Add `doc' argument.
6051 (c-mode-abbrev-table, c++-mode-abbrev-table)
6052 (objc-mode-abbrev-table, java-mode-abbrev-table)
6053 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6054 (awk-mode-abbrev-table): Use it.
6055 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6056 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6057 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6058 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6059 Move initialization into the declaration; and remove any
6060 autoload cookie.
6061
b58969f7
SM
6062 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6063 and dynamic let binding.
6064
4021d6a6
SM
6065 * vc/smerge-mode.el: Remove redundant :group args.
6066
2d69b99e
SM
6067 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6068 to load-path.
6069
274919fd
JL
60702013-08-28 Juri Linkov <juri@jurta.org>
6071
6072 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6073 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6074 (isearch-other-meta-char): Handle an undefined shifted printing
6075 character by downshifting it. (Bug#15200)
6076
121f8c95
JL
60772013-08-28 Juri Linkov <juri@jurta.org>
6078
6079 * isearch.el (isearch-search): Change regexp error message for
6080 non-regexp searches. (Bug#15166)
6081
50b13cde
PE
60822013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6083
6084 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6085 for portability to hosts where /bin/sh has problems.
6086
95888bca
SM
60872013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6090
bbe558f1
JL
60912013-08-27 Juri Linkov <juri@jurta.org>
6092
6093 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6094 in the keyboard macro. (Bug#15126)
6095
26f98a7d
JL
60962013-08-27 Juri Linkov <juri@jurta.org>
6097
6098 * isearch.el (isearch-quote-char): Comment out converting unibyte
6099 to multibyte, thus syncing with its `quoted-insert' counterpart.
6100 (Bug#15166)
6101
7c97d35e
MR
61022013-08-27 Martin Rudalics <rudalics@gmx.at>
6103
6104 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
6105 argument in call of get-largest-window (Bug#15185).
6106 Reported by Stephen Leake.
7c97d35e 6107
a0b5606e 61082013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
6109
6110 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6111
9e89d835
SM
61122013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6113
6114 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6115 from a matcher-function unless there's no more matches (bug#15161).
6116
78fc2530
MA
61172013-08-26 Michael Albinus <michael.albinus@gmx.de>
6118
6119 * minibuffer.el: Revert change from 2013-08-20.
6120
6121 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6122 with text property `tramp-default', if appropriate.
6123 (tramp-check-proper-host): New defun.
6124 (tramp-dissect-file-name): Do not check hostname. Revert change
6125 of 2013-03-18.
6126 (tramp-backtrace): Make VEC-OR-PROC optional.
6127
6128 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6129 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6130 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6131 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6132 Apply `tramp-check-proper-host'.
78fc2530 6133
edca97cd
TH
61342013-08-26 Tassilo Horn <tsdh@gnu.org>
6135
6136 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6137 lambda expression in order to have `describe-variable' display it.
6138
df54bcbd
MA
61392013-08-26 Michael Albinus <michael.albinus@gmx.de>
6140
6141 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6142 BUF can be optional. (Bug#15186)
6143
eed99101
XF
61442013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6145
6146 * progmodes/flymake.el (flymake-get-real-file-name-function):
6147 Fix broken customization. (Bug#15184)
6148
b5eb9035
AM
61492013-08-25 Alan Mackenzie <acm@muc.de>
6150
8a51e842
AM
6151 Improve indentation of bracelists defined by macros (without "=").
6152
6153 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6154 expansion begins with "{", regard it as bracelist when it doesn't
6155 contain a ";".
6156
869455d4
AM
6157 Parse C++ inher-intro when there's a template split over 2 lines.
6158
6159 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6160 rigorously the search for "class" etc. followed by ":".
6161
6162 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6163 random languages a regexp which never matches rather than nil.
6164
b5eb9035
AM
6165 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6166
6167 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6168 (c-awk-regexp-one-line-possibly-open-char-list-re)
6169 (c-awk-one-line-possibly-open-regexp-re)
6170 (c-awk-one-line-non-syn-ws*-re): Remove.
6171 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6172 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6173 (c-awk-space*-unclosed-regexp-/-re): New constants.
6174 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6175 aren't regexp delimiters.
6176
6177 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6178 handling for a rare situation in AWK Mode involving unterminated
6179 strings/regexps.
6180
61611d54
GM
61812013-08-23 Glenn Morris <rgm@gnu.org>
6182
2d85dc34
GM
6183 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6184
cb8d2612
GM
6185 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6186
bb35f42f
GM
6187 * files.el (create-file-buffer): If the result would begin with
6188 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6189
b9808e77
SM
61902013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6191
e3a66363
SM
6192 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6193 text-properties (bug#15155).
6194
b9808e77
SM
6195 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6196 exist any more.
6197 (calc-keypad-redraw): Remove unused var `pad'.
6198 (calc-keypad-press): Remove unused var `menu'.
6199
7fd5f65e
MR
62002013-08-23 Martin Rudalics <rudalics@gmx.at>
6201
b9808e77
SM
6202 * window.el (display-buffer-pop-up-frame):
6203 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6204 use it as the new frame's buffer (Bug#15133).
6205
8352b530
SM
62062013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6207
6208 * calendar/timeclock.el: Minor cleanups.
6209 (timeclock-ask-before-exiting, timeclock-use-display-time):
6210 Use `symbol'.
6211 (timeclock-modeline-display): Define as alias before the
6212 actual definition.
6213 (timeclock-mode-line-display): Use define-minor-mode.
6214 (timeclock-day-list-template): Make it a function, add an argument.
6215 (timeclock-day-list-required, timeclock-day-list-length)
6216 (timeclock-day-list-debt, timeclock-day-list-span)
6217 (timeclock-day-list-break): Adjust calls accordingly.
6218
9f7b1925
SM
62192013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6220
6221 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6222 Use read--expression so that completion works again.
6223
6e50e983
SS
62242013-08-21 Sam Steingold <sds@gnu.org>
6225
6226 Add rudimentary inferior shell interaction
6227 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6228 (sh-set-shell): Reset it.
9f7b1925
SM
6229 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6230 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6231
dbb0d350
SM
62322013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6233
6234 * align.el: Use lexical-binding.
6235 (align-region): Simplify accordingly.
6236
c88586a9
MA
62372013-08-20 Michael Albinus <michael.albinus@gmx.de>
6238
6239 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6240
6241 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6242 `non-essential' up.
6243
f95527c8
MA
62442013-08-17 Michael Albinus <michael.albinus@gmx.de>
6245
6246 * net/tramp.el:
6247 * net/tramp-adb.el:
6248 * net/tramp-cmds.el:
6249 * net/tramp-ftp.el:
6250 * net/tramp-gvfs.el:
6251 * net/tramp-gw.el:
6252 * net/tramp-sh.el: Don't wrap external variable declarations by
6253 `eval-when-compile'.
6254
4b5fe4ee
LMI
62552013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6256
6257 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6258 now that Emacs supports ImageMagick animations.
6259
13c366c9
MA
62602013-08-16 Michael Albinus <michael.albinus@gmx.de>
6261
6262 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6263 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6264
3dfc5cd6
MR
62652013-08-16 Martin Rudalics <rudalics@gmx.at>
6266
6267 * window.el (mouse-autoselect-window-select): Do autoselect when
6268 mouse pointer is on margin.
6269
4bbb4381
WP
62702013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6271
6272 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6273
3a2ddc2d
GM
62742013-08-16 Glenn Morris <rgm@gnu.org>
6275
e8bedf5a
GM
6276 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6277 Handle "Remote Directory" response of some clients. (Bug#15058)
6278
58c4682f
GM
6279 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6280 Tweak warning. (Bug#14926)
6281
57953f49
GM
6282 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6283 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6284
3a2ddc2d
GM
6285 * image-mode.el (image-mode-map): Add menu items to reverse,
6286 increase, decrease, reset animation speed.
6287 (image--set-speed, image-increase-speed, image-decrease-speed)
6288 (image-reverse-speed, image-reset-speed): New functions.
6289 (image-mode-map): Add bindings for speed commands.
6290
6291 * image.el (image-animate-get-speed, image-animate-set-speed):
6292 New functions.
6293 (image-animate-timeout): Respect image :speed property.
6294
10fa0ed3
SM
62952013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6296
6297 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6298 previous line (bug#15101).
6299 (debugger-eval-expression, debugger-record-expression):
6300 Use read--expression (bug#15102).
6301
5d89d9d2
MA
63022013-08-15 Michael Albinus <michael.albinus@gmx.de>
6303
6304 Remove byte compiler warnings, visible when compiling with
6305 `byte-compile-force-lexical-warnings' set to t.
6306
6307 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6308 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6309 (tramp-handle-unhandled-file-name-directory)
6310 (tramp-handle-file-notify-add-watch, tramp-action-login)
6311 (tramp-action-succeed, tramp-action-permission-denied)
6312 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6313 arguments with "_".
6314
6315 * net/tramp-adb.el (tramp-adb-parse-device-names)
6316 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6317 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6318 (tramp-adb-handle-file-truename): Remove unused arguments.
6319
6320 * net/tramp-cache.el (tramp-flush-directory-property)
6321 (tramp-flush-connection-property, tramp-list-connections)
6322 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6323
10fa0ed3
SM
6324 * net/tramp-compat.el (tramp-compat-make-temp-file):
6325 Rename FILENAME to F.
5d89d9d2
MA
6326
6327 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6328 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6329 (tramp-zeroconf-parse-workstation-device-names)
6330 (tramp-zeroconf-parse-webdav-device-names)
6331 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6332
6333 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6334 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6335
6336 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6337 arguments.
6338 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6339 (tramp-sh-handle-insert-file-contents-literally)
6340 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6341 with "_".
6342 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6343 Remove unused variables.
6344
6345 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6346 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6347 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6348
6349 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6350 Make them a defconst.
6351 (tramp-uuencode-region): Remove unused variable.
6352
62f33bae
JB
63532013-08-14 Juanma Barranquero <lekktu@gmail.com>
6354
6355 * frameset.el (frameset--prop-setter): New function.
6356 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6357 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6358 parameter was already set in FILTERED. Doc fix.
6359 (frameset--record-minibuffer-relationships): Allow saving a
6360 minibufferless frame without its corresponding minibuffer frame.
6361 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6362 frame, if the frame id matches.
6363 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6364 frames before orphaned ones.
6365 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6366
c660a885
MR
63672013-08-14 Martin Rudalics <rudalics@gmx.at>
6368
6369 * window.el (window-make-atom): Don't overwrite parameter
6370 already present.
6371 (display-buffer-in-atom-window): Handle special case where we
6372 split an already atomic window.
6373 (window--major-non-side-window, display-buffer-in-side-window)
6374 (window--side-check): Ignore minibuffer window when walking
6375 window tree.
6376 (window-deletable-p): Return 'frame only if no other frame uses
6377 our minibuffer window.
6378 (record-window-buffer): Run buffer-list-update-hook.
6379 (split-window): Make sure window--check-frame won't destroy an
6380 existing atomic window in case the new window gets nested
6381 inside.
6382 (display-buffer-at-bottom): Ignore minibuffer window when
6383 walking window tree. Don't split a side window.
6384 (pop-to-buffer): Don't set-buffer here, the select-window call
6385 should do that.
6386 (mouse-autoselect-window-select): Autoselect only if we are in the
6387 text portion of the window.
6388
8259030d
LMI
63892013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6390
21c58ae2
LMI
6391 * net/shr.el (shr-parse-image-data): New function to grab both the
6392 data itself and the Content-Type.
6393 (shr-put-image): Use it.
6394
6395 * net/eww.el (eww-display-image): Ditto.
6396
8259030d
LMI
6397 * image.el (image-content-type-suffixes): New variable.
6398
ad756449
FEG
63992013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6400
6401 * progmodes/python.el (python-imenu--build-tree)
6402 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6403
f73f4ce6
XF
64042013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6405
6406 * simple.el (backward-word): Mention the optional argument.
6407
1f585e65
SM
64082013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6409
6410 * frameset.el (frameset--make): Rename constructor from make-frameset.
6411 (frameset-p, frameset-valid-p): Don't autoload.
6412 (frameset-valid-p): Use normal accessors.
6413
af1c6c84
GM
64142013-08-13 Glenn Morris <rgm@gnu.org>
6415
55e47f95
GM
6416 * progmodes/compile.el (compile-command): Tweak example in doc.
6417 * obsolete/scribe.el (scribe-mode):
6418 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6419
f0024d8c
GM
6420 * mail/feedmail.el (feedmail-confirm-outgoing)
6421 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6422
6423 * cus-start.el (truncate-partial-width-windows): Fix type.
6424
6425 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6426
af1c6c84
GM
6427 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6428
5514cc4c
SM
64292013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6430
6431 * emacs-lisp/timer.el (timer--time-setter): New function.
6432 (timer--time): Use it as gv-setter.
6433
6434 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6435 setter is not a symbol.
6436
7997a2f1
GJ
64372013-08-12 Grégoire Jadi <daimrod@gmail.com>
6438
6439 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6440 if sending fails. This makes debugging easier.
6441
01f1a9ab
JB
64422013-08-12 Juanma Barranquero <lekktu@gmail.com>
6443
6444 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6445 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6446 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6447
594a4307
EZ
64482013-08-12 Eli Zaretskii <eliz@gnu.org>
6449
6450 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6451
7a22490f 64522013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6453
6454 * format.el (format-annotate-function):
6455 Handle read-only text properties in the source. (Bug#14887)
6456
3e41a054
LMI
64572013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6458
5514cc4c
SM
6459 * net/eww.el (eww-display-html): Ignore coding system errors.
6460 One web site uses "utf-8lias" as the coding system.
3e41a054 6461
7ec326db
JB
64622013-08-11 Juanma Barranquero <lekktu@gmail.com>
6463
6464 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6465
5660113b
JB
64662013-08-10 Juanma Barranquero <lekktu@gmail.com>
6467
9a4ebc74
JB
6468 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6469 (tutorial--detailed-help): Remove unused local variables.
6470 (tutorial--save-tutorial-to): Use ignore-errors.
6471 (help-with-tutorial): Use looking-at-p.
6472
6473 * view.el (view-buffer-other-window, view-buffer-other-frame):
6474 Mark unused arguments.
6475
6476 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6477 (woman-select-symbol-fonts, woman, woman-find-file)
6478 (woman-insert-file-contents, woman-non-underline-faces):
6479 Use string-match-p.
6480 (woman1-unquote): Move declaration.
6481
6482 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6483 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6484 argument. Remove unused local variable.
6485 (xml-parse-elem-type): Use string-match-p.
6486 (xml-substitute-numeric-entities): Use ignore-errors.
6487
45fdb482
JB
6488 * calculator.el (calculator): Mark unused argument.
6489 (calculator-paste, calculator-quit, calculator-integer-p):
6490 Use ignore-errors.
6491 (calculator-string-to-number, calculator-decimal, calculator-exp)
6492 (calculator-op-or-exp): Use string-match-p.
6493
6494 * dired.el (dired-buffer-more-recently-used-p): Declare.
6495 (dired-insert-set-properties, dired-insert-old-subdirs):
6496 Use ignore-errors.
6497
6498 * dired-aux.el (dired-compress): Use ignore-errors.
6499 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6500 (dired-do-async-shell-command, dired-do-shell-command)
6501 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6502 (dired-insert-subdir-validate): Use string-match-p.
6503 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6504 (dired-add-entry): Use string-match-p, looking-at-p.
6505 (dired-insert-subdir-newpos): Remove unused local variable.
6506
6507 * filenotify.el (file-notify-callback): Remove unused local variable.
6508
6509 * filesets.el (filesets-error): Mark unused argument.
6510 (filesets-which-command-p, filesets-filter-dir-names)
6511 (filesets-directory-files, filesets-get-external-viewer)
6512 (filesets-ingroup-get-data): Use string-match-p.
6513
6514 * find-file.el (ff-other-file-name, ff-other-file-name)
6515 (ff-find-the-other-file, ff-cc-hh-converter):
6516 Remove unused local variables.
6517 (ff-get-file-name): Use string-match-p.
6518 (ff-all-dirs-under): Use ignore-errors.
6519
6520 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6521 (follow-select-if-visible): Remove unused local variable.
6522
6523 * forms.el (read-file-filter): Move declaration.
6524 (forms--make-format, forms--make-parser, forms-insert-record):
6525 Quote function with #'.
6526 (forms--update): Use string-match-p. Quote function with #'.
6527
6528 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6529 (help-make-xrefs): Use looking-at-p.
6530 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6531
6532 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6533 (ibuffer-confirm-operation-on): Use string-match-p.
6534
6535 * msb.el (msb-item-handler, msb-dired-item-handler):
6536 Mark unused arguments.
6537
6538 * ses.el (ses-decode-cell-symbol)
6539 (ses-kill-override): Remove unused local variable.
6540 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6541 (ses-load): Use ignore-errors, looking-at-p.
6542 (ses-jump-safe): Use ignore-errors.
6543 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6544
6545 * tabify.el (untabify, tabify): Mark unused arguments.
6546
6547 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6548 Mark unused argument.
6549 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6550 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6551
c880af52
JB
6552 * emacs-lisp/timer.el (timer--time): Define setter with
6553 gv-define-setter to avoid deprecation warning.
6554
5660113b 6555 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6556 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6557 (cmpl-statistics-block): Remove (body was commented out).
6558 All callers changed.
6559 (add-completions-from-buffer, load-completions-from-file):
6560 Remove unused variables.
6561
156aab80
JB
65622013-08-09 Juanma Barranquero <lekktu@gmail.com>
6563
5c5dee78
JB
6564 * filecache.el (file-cache-delete-file-list):
6565 Print message only when told so.
6566 (file-cache-files-matching): Use #' in mapconcat argument.
6567
156aab80
JB
6568 * ffap.el (ffap-url-at-point): Fix reference to variable
6569 thing-at-point-default-mail-uri-scheme.
6570
ad9dcd70
SM
65712013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6572
54bd972f
SM
6573 * subr.el (define-error): New function.
6574 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6575 error-file-not-found and define with define-error.
6576 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6577 and define with define-error.
6578 * userlock.el (file-locked, file-supersession):
6579 * simple.el (mark-inactive):
6580 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6581 * progmodes/ada-mode.el (ada-mode-errors):
6582 * play/life.el (life-extinct):
6583 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6584 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6585 * nxml/rng-util.el (rng-error):
6586 * nxml/rng-uri.el (rng-uri-error):
6587 * nxml/rng-match.el (rng-compile-error):
6588 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6589 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6590 * nxml/nxml-rap.el (nxml-scan-error):
6591 * nxml/nxml-outln.el (nxml-outline-error):
6592 * net/soap-client.el (soap-error):
6593 * net/gnutls.el (gnutls-error):
6594 * net/ange-ftp.el (ftp-error):
6595 * mpc.el (mpc-proc-error):
6596 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6597 (json-number-format, json-string-escape, json-string-format)
6598 (json-key-format, json-object-format):
6599 * jka-compr.el (compression-error):
6600 * international/quail.el (quail-error):
6601 * international/kkc.el (kkc-error):
6602 * emacs-lisp/ert.el (ert-test-failed):
6603 * calc/calc.el (calc-error, inexact-result, math-overflow)
6604 (math-underflow):
6605 * bookmark.el (bookmark-error-no-filename):
6606 * epg.el (epg-error): Define with define-error.
6607
0ea9e53a
SM
6608 * time.el (display-time-event-handler)
6609 (display-time-next-load-average): Don't call sit-for since it seems
6610 unnecessary (bug#15045).
6611
b0429158
SM
6612 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6613 Use #' instead of ' to quote functions.
6614 (checkdoc-output-mode): Use setq-local.
6615 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6616 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6617 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6618 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6619 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6620 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6621 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6622 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6623
ad9dcd70
SM
6624 * ido.el (ido-completion-help): Fix up compiler warning.
6625
77187e6f
JB
66262013-08-09 Juanma Barranquero <lekktu@gmail.com>
6627
6628 * frameset.el (frameset-p): Add autoload cookie.
6629 (frameset--jump-to-register): New function, based on code moved from
6630 register.el.
6631 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6632
6633 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6634 (frameset-restore, frameset-save, frameset-session-filter-alist):
6635 Remove declarations.
6636 (register-alist): Doc fix.
6637 (frameset-to-register): Move to frameset.el.
6638 (jump-to-register, describe-register-1): Remove frameset-specific code.
6639
9d3aa82c
JB
66402013-08-08 Juanma Barranquero <lekktu@gmail.com>
6641
6642 * allout-widgets.el (allout-widgets-pre-command-business)
6643 (allout-widgets-post-command-business)
6644 (allout-widgets-after-change-handler)
6645 (allout-decorate-item-and-context, allout-set-boundary-marker)
6646 (allout-body-modification-handler)
6647 (allout-graphics-modification-handler): Mark ignored arguments.
6648 (allout-widgets-post-command-business)
6649 (allout-widgets-exposure-change-processor)
6650 (allout-widgets-exposure-undo-processor)
6651 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6652 (allout-parse-item-at-point, allout-decorate-item-guides)
6653 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6654 * allout.el (epa-passphrase-callback-function): Declare.
6655 (allout-overlay-insert-in-front-handler)
6656 (allout-overlay-interior-modification-handler)
6657 (allout-isearch-end-handler, allout-chart-siblings)
6658 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6659 (allout-yank-processing, allout-process-exposed)
6660 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6661 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6662 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6663 (lisp-indent-defform): Mark ignored arguments.
6664 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6665 (calculate-lisp-indent): Remove unused variables.
6666 * international/characters.el (indian-2-column, arabic-2-column)
6667 (tibetan): Mark ignored arguments.
6668 (use-cjk-char-width-table): Mark ignored arguments.
6669 Remove unused variables.
6670 * international/fontset.el (build-default-fontset-data)
6671 (x-compose-font-name, create-fontset-from-fontset-spec):
6672 Mark ignored arguments.
6673 (fontset-plain-name): Remove unused variables.
6674 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6675 (keyboard-coding-system): Mark ignored arguments.
6676 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6677 * help.el (resize-temp-buffer-window):
6678 * window.el (display-buffer-in-major-side-window)
6679 (display-buffer-in-side-window, display-buffer-in-previous-window):
6680 Remove unused variables.
6681 * isearch.el (isearch-forward-symbol):
6682 * version.el (emacs-bzr-version-bzr):
6683 * international/mule-cmds.el (current-language-environment):
6684 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6685 (x-handle-display):
6686 * term/pc-win.el (x-list-fonts, x-display-planes)
6687 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6688 (x-server-version, x-display-screens, x-display-mm-height)
6689 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6690 (x-selection-owner-p, x-own-selection-internal)
6691 (x-disown-selection-internal, x-get-selection-internal)
6692 (msdos-initialize-window-system):
6693 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6694 * term/x-win.el (x-handle-no-bitmap-icon):
6695 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6696 (vc-default-find-file-hook, vc-default-extra-menu):
6697 Mark ignored arguments.
6698
0ca3f70e
SM
66992013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6702 break-condition in the context of the debugged code (bug#12685).
6703
74c5d24c
CS
67042013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6705
6706 * comint.el:
6707 Do not use an overlay to highlight the last prompt. (Bug#14744)
6708 (comint-mode): Make comint-last-prompt buffer local.
6709 (comint-last-prompt): New variable.
6710 (comint-last-prompt-overlay): Remove. Superseded by
6711 comint-last-prompt.
0ca3f70e
SM
6712 (comint-snapshot-last-prompt, comint-output-filter):
6713 Use comint-last-prompt.
74c5d24c 6714
c03c02ee
JB
67152013-08-08 Juanma Barranquero <lekktu@gmail.com>
6716
a3738d20 6717 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6718 (frameset-save): Check validity of the resulting frameset.
6719
04263d23
XF
67202013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6721
6722 * ido.el (ido-record-command): Add doc string.
6723
76c5e5ab
JB
67242013-08-08 Juanma Barranquero <lekktu@gmail.com>
6725
6726 * frameset.el (frameset): Do not disable creation of the default
6727 frameset-p predicate. Doc fix.
6728 (frameset-valid-p): New function, copied from the old predicate-p.
6729 Add additional checks.
6730 (frameset-restore): Check with frameset-valid-p.
6731 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6732 (frameset-name, frameset-description, frameset-properties)
6733 (frameset-states): Add docstring.
f9dbf1cb
JB
6734 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6735 (frameset-filter-alist): Doc fixes.
76c5e5ab 6736
bd0c3c0b
JB
67372013-08-08 Juanma Barranquero <lekktu@gmail.com>
6738
6739 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6740
c735544c
SM
67412013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6742
6743 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6744 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6745 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6746 (byte-compile-normal-call): Remove obsolescence check.
6747
2805a651
JB
67482013-08-08 Juanma Barranquero <lekktu@gmail.com>
6749
3677ffeb
JB
6750 * frameset.el (frameset-restore): Doc fix.
6751
2805a651
JB
6752 * register.el (frameset-frame-id, frameset-frame-with-id)
6753 (frameset-p, frameset-restore, frameset-save): Declare.
6754 (register-alist): Document framesets.
6755 (frameset-session-filter-alist): Declare.
6756 (frameset-to-register): New function.
6757 (jump-to-register): Implement jumping to framesets. Doc fix.
6758 (describe-register-1): Describe framesets.
6759
6760 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6761
a912c016
JB
67622013-08-07 Juanma Barranquero <lekktu@gmail.com>
6763
6764 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6765 Use lexical-binding.
6766
6767 * frameset.el (frameset): Use type vector, not list (incompatible
6768 change). Do not declare a new constructor, use the default one.
6769 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6770 `name' and `description', respectively, and add read-only slot
6771 `timestamp'. Doc fixes.
6772 (frameset-copy, frameset-persistent-filter-alist)
6773 (frameset-filter-alist, frameset-switch-to-gui-p)
6774 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6775 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6776 (frameset-filter-iconified, frameset-keep-original-display-p):
6777 Doc fixes.
6778 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6779 Rename from frameset-filter-(save|restore)-param. All callers changed.
6780 Doc fix.
6781 (frameset-p): Adapt to change to vector and be more thorough.
6782 Change arg name to OBJECT. Doc fix.
6783 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6784 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6785 All callers changed.
6786 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6787 All callers changed.
6788 (frameset--record-minibuffer-relationships): Rename from
6789 frameset--process-minibuffer-frames. All callers changed.
6790 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6791 Use new default constructor (again). Doc fix.
6792 (frameset--find-frame-if): Rename from `frameset--find-frame.
6793 All callers changed.
6794 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6795 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6796 Doc fix.
6797 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6798 PARAMETERS and WINDOW-STATE, respectively.
6799 (frameset-restore): Add new keyword argument PREDICATE.
6800 Reset frameset--target-display to nil. Doc fix.
6801
bb41480a
SM
68022013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6803
f001e98e
SM
6804 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6805 (bat-mode): Use it.
6806 (bat-mode-syntax-table): Mark \n as end-of-comment.
6807 (bat-font-lock-keywords): Remove comment rule.
6808
7679edb1
SM
6809 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6810 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6811
bb41480a
SM
6812 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6813 (byte-compile-callargs-warn): Use `push'.
6814 (byte-compile-arglist-warn): Ignore higher-order "calls".
6815 (byte-compile-file-form-autoload): Use `pcase'.
6816 (byte-compile-function-form): If quoting a symbol, check that it exists.
6817
cdc1ebb9
EZ
68182013-08-07 Eli Zaretskii <eliz@gnu.org>
6819
6820 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6821 and add a few popular commands found in batch files.
6822 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6823 (dos-mode): Doc fixes.
6824
312b1740
SM
68252013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6826
6827 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6828 (dos-mode): Use setq-local. Add space after "rem".
6829 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6830 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6831
400a3178
AM
68322013-08-07 Arni Magnusson <arnima@hafro.is>
6833
6834 * progmodes/dos.el: New file.
6835 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6836 dos-mode.
6837
3b5c03d3
GM
68382013-08-06 Glenn Morris <rgm@gnu.org>
6839
6840 * calendar/calendar.el: Add new faces, and day-header-array.
6841 (calendar-weekday-header, calendar-weekend-header)
6842 (calendar-month-header): New faces.
6843 (calendar-day-header-construct): New function.
6844 (calendar-day-header-width): Also :set calendar-day-header-array.
6845 (calendar-american-month-header, calendar-european-month-header)
6846 (calendar-iso-month-header): Use calendar- faces.
6847 (calendar-generate-month):
6848 Use calendar-day-header-array for day headers; apply faces to them.
6849 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6850 (calendar-abbrev-construct): Add optional maxlen argument.
6851 (calendar-day-name-array): Doc fix.
6852 (calendar-day-name-array, calendar-abbrev-length)
6853 (calendar-day-abbrev-array):
6854 Also :set calendar-day-header-array, and maybe redraw.
6855 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6856 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6857 (calendar-day-name): Add option to use header array.
6858
ec6a2d7a
LMI
68592013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6860
6861 * net/shr.el (shr-render-td): Remove debugging.
6862 (shr-render-td): Make width computation consistent by defaulting
6863 all zero-width columns to 10 characters. This may not be optimal,
6864 but it's at least consistent.
2122cb6d
LMI
6865 (shr-make-table-1): Redo last change to fix the real problem in
6866 colspan handling.
ec6a2d7a 6867
ed4fd9c5
DA
68682013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6869
0ca3f70e
SM
6870 * files.el (cache-long-line-scans):
6871 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6872
64e22afe
JB
68732013-08-06 Juanma Barranquero <lekktu@gmail.com>
6874
024b38fc
JB
6875 * frameset.el (frameset, frameset-filter-alist)
6876 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6877 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6878 (frameset-compute-pos): Rename from frameset--compute-pos,
6879 and add docstring.
6880 (frameset-move-onscreen): Use frameset-compute-pos.
6881 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6882
64e22afe
JB
6883 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6884 Fix typos in docstrings.
6885
c8c2aca8
DA
68862013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6887
6888 * frame.el (get-other-frame): Tiny cleanup.
6889
1d237bba
JB
68902013-08-06 Juanma Barranquero <lekktu@gmail.com>
6891
8951efef
JB
6892 * vc/vc.el (vc-default-ignore-completion-table):
6893 Silence byte-compiler warning.
6894
307764cc 6895 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 6896 slot, which can indeed be nil.
307764cc
JB
6897 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6898 Move entry for `left' from persistent to live filter alist.
6899 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6900 Doc fixes.
6901 (frameset-filter-params): When restoring a frame, copy items added to
6902 `filtered', to avoid unwittingly modifying the original parameters.
6903 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6904 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6905
1d237bba
JB
6906 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6907 to use looking-at-p instead of looking-at. (Bug#15028)
6908
dc6c0eda
SM
69092013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6910
6911 Revert introduction of isearch-filter-predicates (bug#14714).
6912 Rely on add-function instead.
6913 * isearch.el (isearch-filter-predicates): Rename it back to
6914 isearch-filter-predicate.
6915 (isearch-message-prefix): Use advice-function-mapc and advice
6916 properties to get the isearch-message-prefix.
6917 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6918 instead of run-hook-with-args-until-failure.
6919 (isearch-filter-visible): Not obsolete any more.
6920 * loadup.el: Preload nadvice.
6921 * replace.el (perform-replace): Revert to funcall
6922 instead of run-hook-with-args-until-failure.
6923 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6924 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6925 dired-isearch-filenames-toggle; make it into a proper minor mode.
6926 Use add/remove-function.
6927 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6928 Call the minor-mode rather than add/remove-hook.
6929 (dired-isearch-filter-filenames):
6930 Remove isearch-message-prefix property.
6931 * info.el (Info--search-loop): New function, extracted from Info-search.
6932 Funcall isearch-filter-predicate instead of
6933 run-hook-with-args-until-failure isearch-filter-predicates.
6934 (Info-search): Use it.
6935 (Info-mode): Use isearch-filter-predicate instead of
6936 isearch-filter-predicates.
6937
290d5b58
DA
69382013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6939
6940 Do not call to `selected-window' where it is assumed by default.
6941 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6942 `window-hscroll', `window-width', `window-height', `window-buffer',
6943 `window-frame', `window-start', `window-point', `next-window'
6944 and `window-display-table'.
6945 * abbrev.el (abbrev--default-expand):
6946 * bs.el (bs--show-with-configuration):
6947 * buff-menu.el (Buffer-menu-mouse-select):
6948 * calc/calc.el (calc):
6949 * calendar/calendar.el (calendar-generate-window):
6950 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6951 (diary-make-entry):
6952 * comint.el (send-invisible, comint-dynamic-complete-filename)
6953 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6954 * completion.el (complete):
6955 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6956 * disp-table.el (describe-current-display-table):
6957 * doc-view.el (doc-view-insert-image):
6958 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6959 * ehelp.el (with-electric-help):
6960 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6961 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6962 * emacs-lisp/helper.el (Helper-help-scroller):
6963 * emulation/cua-base.el (cua--post-command-handler-1):
6964 * eshell/esh-mode.el (eshell-output-filter):
6965 * ffap.el (ffap-gnus-wrapper):
6966 * help-macro.el (make-help-screen):
6967 * hilit-chg.el (highlight-compare-buffers):
6968 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6969 * hl-line.el (global-hl-line-highlight):
6970 * icomplete.el (icomplete-simple-completing-p):
6971 * isearch.el (isearch-done):
6972 * jit-lock.el (jit-lock-stealth-fontify):
6973 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6974 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6975 * mpc.el (mpc-tagbrowser, mpc):
6976 * net/rcirc.el (rcirc-any-buffer):
6977 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6978 * play/landmark.el (landmark-max-width, landmark-max-height):
6979 * play/zone.el (zone):
6980 * progmodes/compile.el (compilation-goto-locus):
6981 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6982 * progmodes/etags.el (find-tag-other-window):
6983 * progmodes/fortran.el (fortran-column-ruler):
6984 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6985 * progmodes/verilog-mode.el (verilog-point-text):
6986 * reposition.el (reposition-window):
6987 * rot13.el (toggle-rot13-mode):
6988 * server.el (server-switch-buffer):
6989 * shell.el (shell-dynamic-complete-command)
6990 (shell-dynamic-complete-environment-variable):
6991 * simple.el (insert-buffer, set-selective-display)
6992 (delete-completion-window):
6993 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6994 (speedbar-recenter):
6995 * startup.el (fancy-splash-head):
6996 * textmodes/ispell.el (ispell-command-loop):
6997 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6998 * tutorial.el (help-with-tutorial):
6999 * vc/add-log.el (add-change-log-entry):
7000 * vc/compare-w.el (compare-windows):
7001 * vc/ediff-help.el (ediff-indent-help-message):
7002 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7003 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7004 (ediff-setup-control-frame):
7005 * vc/emerge.el (emerge-position-region):
7006 * vc/pcvs-util.el (cvs-bury-buffer):
7007 * window.el (walk-windows, mouse-autoselect-window-select):
7008 * winner.el (winner-set-conf, winner-undo): Related users changed.
7009
38276e01
JB
70102013-08-05 Juanma Barranquero <lekktu@gmail.com>
7011
7012 * frameset.el (frameset--set-id): Doc fix.
7013 (frameset-frame-id, frameset-frame-id-equal-p)
7014 (frameset-locate-frame-id): New functions.
7015 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7016 (frameset-restore): Use them.
7017
12b4c0ea
DA
70182013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7019
7020 Do not call to `selected-frame' where it is assumed by default.
7021 Affected functions are `raise-frame', `redraw-frame',
7022 `frame-first-window', `frame-terminal' and `delete-frame'.
7023 * calendar/appt.el (appt-disp-window):
7024 * epg.el (epg-wait-for-completion):
7025 * follow.el (follow-delete-other-windows-and-split)
7026 (follow-avoid-tail-recenter):
7027 * international/mule.el (set-terminal-coding-system):
7028 * mail/rmail.el (rmail-mail-return):
7029 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7030 * progmodes/f90.el (f90-add-imenu-menu):
7031 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7032 * server.el (server-switch-buffer):
7033 * simple.el (delete-completion-window):
7034 * talk.el (talk):
7035 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7036 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7037 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7038 * vc/ediff.el (ediff-documentation): Related users changed.
7039 * frame.el (selected-terminal): Remove the leftover.
7040
17f25e76
GM
70412013-08-05 Glenn Morris <rgm@gnu.org>
7042
7043 * calendar/calendar.el (calendar-generate-month):
7044 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
7045 (calendar-generate-month, calendar-font-lock-keywords):
7046 Fix for calendar-day-header-width > length of any day name.
17f25e76 7047
063233c3
JB
70482013-08-05 Juanma Barranquero <lekktu@gmail.com>
7049
7050 * desktop.el (desktop-clear): Use new name of sort predicate.
7051
7052 * frameset.el (frameset): Add docstring. Move :version property to its
7053 own `version' slot.
7054 (frameset-copy): Rename from copy-frameset.
7055 (frameset-p): Check more thoroughly.
7056 (frameset-prop): Do not check for :version, which is no longer a prop.
7057 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7058 Use new :never value instead of t.
7059 (frameset-filter-alist): Expand and clarify docstring.
7060 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7061 (frameset-filter-minibuffer, frameset-filter-save-param)
7062 (frameset-filter-restore-param, frameset-filter-iconified):
7063 Add pointer to docstring of frameset-filter-alist.
7064 (frameset-filter-params): Rename filter values to be more meaningful:
7065 :never instead of t, and reverse the meanings of :save and :restore.
7066 (frameset--process-minibuffer-frames): Clarify error message.
7067 (frameset-save): Avoid unnecessary and confusing call to framep.
7068 Use new BOA constructor for framesets.
7069 (frameset--reuse-list): Doc fix.
7070 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7071 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7072 (frameset-minibufferless-first-p): Doc fix.
7073 Rename from frameset-sort-frames-for-deletion.
7074 (frameset-restore): Doc fixes. Use new function names.
7075 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7076
d5671a82
JB
70772013-08-04 Juanma Barranquero <lekktu@gmail.com>
7078
7079 * desktop.el (desktop-restore-forces-onscreen)
7080 (desktop-restore-reuses-frames): Document :keyword constant values.
7081 (desktop-filter-parameters-alist): Remove, now identical to
7082 frameset-filter-alist.
7083 (desktop--filter-tty*): Remove, moved to frameset.el.
7084 (desktop-save-frameset, desktop-restore-frameset):
7085 Do not pass :filters argument.
7086
7087 * frameset.el (frameset-live-filter-alist)
7088 (frameset-persistent-filter-alist): New variables.
7089 (frameset-filter-alist): Use them. Add autoload cookie.
7090 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7091 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7092 `frameset--id' (it's supposed to be internal to frameset.el).
7093 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7094 (frameset--initial-params): New function.
7095 (frameset--get-frame): Use it. Doc fix.
7096 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7097 Accept :all, not 'all.
7098 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7099 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7100 with fbound symbols. Fix frame id matching, and remove matching ids if
7101 the frame being restored is deleted. Obey :delete.
7102
671d5c16
SM
71032013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7104
7105 * subr.el (macrop): New function.
7106 (text-clone--maintaining): New var.
7107 (text-clone--maintain): Rename from text-clone-maintain. Use it
7108 instead of inhibit-modification-hooks.
7109
7110 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7111 a proxy, so as handle autoloads and redefinitions of the target.
7112 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7113
7114 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7115 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7116 (pcase--mutually-exclusive-p): New function.
7117 (pcase--split-consp): Use it.
7118 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7119 mutually exclusive with the current predicate.
7120
7121 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7122 (edebug-macrop): Remove. Use `macrop' instead.
7123 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7124 (ad-macro-p):
7125 * eshell/esh-cmd.el (eshell-macrop):
7126 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7127
1d44e9dc
SM
71282013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7129
7130 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7131 (advice-mapc): New function, using it.
7132 (advice-function-member-p): New function.
7133 (advice--normalize): Store the cdr in advice--saved-rewrite since
7134 that's the part that will be changed.
7135 (advice--symbol-function): New function.
7136 (advice-remove): Handle removal before the function is defined.
7137 Adjust to new advice--saved-rewrite.
7138 (advice-member-p): Use advice-function-member-p and
7139 advice--symbol-function.
7140
5414a283
JB
71412013-08-04 Juanma Barranquero <lekktu@gmail.com>
7142
51d30f2c
JB
7143 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7144 (frameset-filter-minibuffer): Doc fix.
7145 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7146 (frameset--set-id, frameset--process-minibuffer-frames)
7147 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7148 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7149
5414a283
JB
7150 * desktop.el (desktop-clear): Only delete frames when called
7151 interactively and desktop-restore-frames is non-nil. Doc fix.
7152 (desktop-read): Set desktop-saved-frameset to nil.
7153
ab419665
XF
71542013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7155
7156 * vc/vc.el (vc-ignore): Rewrite.
7157 (vc-default-ignore-completion-table):
7158 (vc--read-lines):
7159 (vc--add-line, vc--remove-regexp): New functions.
7160
7161 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7162 (vc-svn-ignore-completion-table): New function.
7163
7164 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7165 (vc-hg-ignore-completion-table):
7166 (vc-hg-find-ignore-file): New functions.
7167
7168 * vc/vc-git.el (vc-git-ignore): Rewrite.
7169 (vc-git-ignore-completion-table):
7170 (vc-git-find-ignore-file): New functions.
7171
7172 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7173
7174 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7175 (vc-bzr-ignore-completion-table):
7176 (vc-bzr-find-ignore-file): New functions.
7177
2613dea2
JB
71782013-08-03 Juanma Barranquero <lekktu@gmail.com>
7179
7180 * frameset.el (frameset-prop): New function and setter.
7181 (frameset-save): Do not modify frame list passed by the caller.
7182
9c959872
SM
71832013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7184
7185 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7186
a104f656
SM
71872013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7188
70122acf
SM
7189 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7190 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7191
a104f656
SM
7192 * custom.el (custom-initialize-default, custom-initialize-set)
7193 (custom-initialize-reset, custom-initialize-changed): Affect the
7194 toplevel-default-value (bug#6275, bug#14586).
7195 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7196 for bug#6275.
7197
f078d570
JB
71982013-08-02 Juanma Barranquero <lekktu@gmail.com>
7199
185e3b5a
JB
7200 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7201 Add cl-def* expressions.
7202
f078d570
JB
7203 * frameset.el (frameset-filter-params): Fix order of arguments.
7204
9421876d
JB
72052013-08-02 Juanma Barranquero <lekktu@gmail.com>
7206
7207 Move code related to saving frames to frameset.el.
7208 * desktop.el: Require frameset.
7209 (desktop-restore-frames): Doc fix.
7210 (desktop-restore-reuses-frames): Rename from
7211 desktop-restoring-reuses-frames.
7212 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7213 (desktop-clear): Clear frames too.
7214 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7215 (desktop--filter-tty*, desktop-save, desktop-read):
7216 Use frameset functions.
7217 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7218 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7219 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7220 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7221 (desktop--process-minibuffer-frames, desktop-save-frames)
7222 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7223 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7224 (desktop--sort-states, desktop-restoring-frames-p)
7225 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7226 (desktop-restoring-frameset-p, desktop-restore-frameset)
7227 (desktop--check-dont-save, desktop-save-frameset): New functions.
7228 (desktop--app-id): New constant.
7229 (desktop-first-buffer, desktop-buffer-ok-count)
7230 (desktop-buffer-fail-count): Move before first use.
7231 * frameset.el: New file.
7232
76dc5996
SM
72332013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7234
7235 * files.el: Use lexical-binding.
7236 (dir-locals-read-from-file): Remove unused `err' variable.
7237 (hack-dir-local-variables--warned-coding): New var.
7238 (hack-dir-local-variables): Use it to avoid repeated warnings.
7239 (make-backup-file-name--default-function): New function.
7240 (make-backup-file-name-function): Use it as default.
7241 (buffer-stale--default-function): New function.
7242 (buffer-stale-function): Use it as default.
7243 (revert-buffer-insert-file-contents--default-function): New function.
7244 (revert-buffer-insert-file-contents-function): Use it as default.
7245 (insert-directory): Avoid add-to-list.
7246
7247 * autorevert.el (auto-revert-handler): Simplify.
7248 Use buffer-stale--default-function.
7249
06d36e2b
TH
72502013-08-01 Tassilo Horn <tsdh@gnu.org>
7251
5f648ab4
TH
7252 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7253
06d36e2b
TH
7254 * whitespace.el (whitespace-ensure-local-variables): New function.
7255 (whitespace-cleanup-region): Call it.
7256 (whitespace-turn-on): Call it.
7257
a43dc424
MA
72582013-08-01 Michael Albinus <michael.albinus@gmx.de>
7259
7260 Complete file name handlers.
7261
7262 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7263 (tramp-handle-verify-visited-file-modtime)
7264 (tramp-handle-file-notify-rm-watch): New functions.
7265 (tramp-call-process): Do not bind `default-directory'.
7266
44e18199
JB
7267 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7268 Order alphabetically.
a43dc424
MA
7269 [access-file, add-name-to-file, dired-call-process]:
7270 [dired-compress-file, file-acl, file-notify-rm-watch]:
7271 [file-ownership-preserved-p, file-selinux-context]:
7272 [make-directory-internal, make-symbolic-link, set-file-acl]:
7273 [set-file-selinux-context, set-visited-file-modtime]:
7274 [verify-visited-file-modtime]: Add handler.
7275 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7276
7277 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7278 [file-notify-add-watch, file-notify-rm-watch]:
7279 [set-file-times, set-visited-file-modtime]:
7280 [verify-visited-file-modtime]: Add handler.
7281 (with-tramp-gvfs-error-message)
7282 (tramp-gvfs-handle-set-visited-file-modtime)
7283 (tramp-gvfs-fuse-file-name): Remove.
7284 (tramp-gvfs-handle-file-notify-add-watch)
7285 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7286 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7287
44e18199
JB
7288 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7289 Order alphabetically.
a43dc424
MA
7290 [file-notify-rm-watch ]: Use default Tramp handler.
7291 [executable-find]: Remove private handler.
7292 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7293 `default-directory'.
7294 (tramp-sh-handle-executable-find)
7295 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7296 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7297 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7298 Do not use `format' in `tramp-message'.
7299
7300 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7301 [file-notify-rm-watch, set-visited-file-modtime]:
7302 [verify-visited-file-modtime]: Add handler.
7303 (tramp-smb-call-winexe): Do not bind `default-directory'.
7304
7188b515
XF
73052013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7306
7307 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7308
2412ee1a
DG
73092013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7310
7311 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7312 use it.
7313 (log-view-diff-changeset): Same.
7314 (log-view-diff-common): Call backend command `previous-revision'
7315 to find out the previous revision, in both cases. Swap the
7316 variables `to' and `fr', so that `fr' usually refers to the
7317 earlier revision (Bug#14989).
7318
5002a754
KRC
73192013-07-31 Kan-Ru Chen <kanru@kanru.info>
7320
7321 * ibuf-ext.el (ibuffer-filter-by-filename):
7322 Make it work with dired buffers too.
7323
44e18199 73242013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7325
7326 * emacs-lisp/re-builder.el (reb-color-display-p):
7327 * files.el (save-buffers-kill-terminal):
7328 * net/browse-url.el (browse-url):
7329 * server.el (server-save-buffers-kill-terminal):
7330 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7331 Prefer nil to selected-frame for the first arg of frame-parameter.
7332
aeca3fbb
XF
73332013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7334
7335 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7336
158bc55c
SB
73372013-07-30 Stephen Berman <stephen.berman@gmx.net>
7338
7339 * minibuffer.el (completion--twq-all): Try and preserve each
7340 completion's case choice (bug#14907).
7341
d50fceab
LMI
73422013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7343
ac38e731
LMI
7344 * net/network-stream.el (open-network-stream): Mention the new
7345 :nogreeting parameter.
7346 (network-stream-open-starttls): Use the :nogreeting parameter
7347 (bug#14938).
7348
1211de50
LMI
7349 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7350
997798bf
LMI
7351 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7352 more natural than popping.
7353
d50fceab 7354 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7355 (shr-urlify): Highlight under mouse.
d50fceab 7356
5c09de04
XF
73572013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7358
207d1d04
XF
7359 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7360
7361 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7362
5c09de04
XF
7363 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7364 buffer for output.
7365
3cd51eaa
XF
7366 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7367 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7368
44e18199 7369 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7370 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7371
7372 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7373
7374 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7375 buffer for output.
7376
35a89bdd
EZ
73772013-07-29 Eli Zaretskii <eliz@gnu.org>
7378
7379 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7380 initial frame is minibuffer-less. (Bug#14841)
7381
78822e94
MA
73822013-07-29 Michael Albinus <michael.albinus@gmx.de>
7383
7384 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7385 option.
7386
7387 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7388 (tramp-maybe-open-connection): Use it.
7389
9503c190
JB
73902013-07-28 Juanma Barranquero <lekktu@gmail.com>
7391
7392 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7393 minimal set of parameters passed when creating a frame, because
7394 the minibuffer status of a frame cannot be changed later.
7395
d5a845b4
SB
73962013-07-28 Stephen Berman <stephen.berman@gmx.net>
7397
7398 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7399 replace-regexp-in-string and inadvertent omissions in previous change.
7400 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7401 name of filtered items buffer.
d5a845b4 7402
ddeffb17
JB
74032013-07-28 Juanma Barranquero <lekktu@gmail.com>
7404
7405 * desktop.el: Optionally force offscreen frames back onscreen.
7406 (desktop-restoring-reuses-frames): New option.
7407 (desktop--compute-pos, desktop--move-onscreen): New functions.
7408 (desktop--make-frame): Use desktop--move-onscreen.
7409
f5950f7a
AM
74102013-07-27 Alan Mackenzie <acm@muc.de>
7411
7412 Fontify a Java generic method as a function.
7413 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7414 value to t.
7415
ae43b66a
SB
74162013-07-27 Stephen Berman <stephen.berman@gmx.net>
7417
7418 * calendar/todo-mode.el: Add command to rename todo files.
7419 (todo-rename-file): New command.
7420 (todo-key-bindings-t): Add key binding for it. Change the
7421 bindings of todo-filter-regexp-items(-multifile) to use `x'
7422 instead of `r', since the latter is better suited to the new
7423 renaming command.
7424
5ab78d3d
AM
74252013-07-27 Alan Mackenzie <acm@muc.de>
7426
7427 Make Java try-with-resources statement parse properly.
7428 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7429 (c-block-stmt-1-2-key): New language constants/variables.
7430 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7431 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7432 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7433 with c-block-stmt-1-2-key.
5ab78d3d 7434
d85c4d50
JB
74352013-07-27 Juanma Barranquero <lekktu@gmail.com>
7436
7437 * desktop.el (desktop--make-frame): Apply most frame parameters after
7438 creating the frame to force (partially or totally) offscreen frames to
7439 be restored as such.
7440
e4c467f9
XF
74412013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7442
7443 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7444 (Bug#14948)
e4c467f9 7445
7ced0d04
SM
74462013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7447
7448 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7449 `base' arg of backtrace-frame.
7450
fec92060
EZ
74512013-07-26 Eli Zaretskii <eliz@gnu.org>
7452
7453 * simple.el (list-processes): Doc fix.
7454
d58d31fb
JB
74552013-07-26 Juanma Barranquero <lekktu@gmail.com>
7456
7457 * desktop.el (desktop--select-frame):
d85c4d50 7458 Try harder to reuse existing frames.
d58d31fb 7459
53ff3e77
SM
74602013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7461
7462 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7463 (edebug-eval): Use backtrace-eval.
7464 (edebug--display, edebug--recursive-edit): Don't let-bind the
7465 edebug-outer-* vars that keep track of variables we locally let-bind.
7466 (edebug-outside-excursion): Don't restore outside values of locally
7467 let-bound vars.
7468 (edebug--display): Use user-error.
7469 (cl-lexical-debug, cl-debug-env): Remove.
7470
045f7a53
JB
74712013-07-26 Juanma Barranquero <lekktu@gmail.com>
7472
7473 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7474 are restored to be sure that they are visible before deleting any
7475 remaining ones.
7476
59070b32
MM
74772013-07-26 Matthias Meulien <orontee@gmail.com>
7478
742a3501
XF
7479 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7480 vc-print-root-log. (Bug#14948)
59070b32 7481
b1fb3596
RS
74822013-07-26 Richard Stallman <rms@gnu.org>
7483
7484 Add aliases for encrypting mail.
7485 * epa.el (epa-mail-aliases): New option.
7486 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7487 Bind inhibit-read-only so read-only text doesn't ruin everything.
7488 (epa-mail-default-recipients): New subroutine broken out.
7489 Handle epa-mail-aliases.
7490
56ea7291
SM
74912013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7492
7493 Add support for lexical variables to the debugger's `e' command.
7494 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7495 vars, except for debugger-outer-match-data.
7496 (debugger-frame-number): Move check for "on a function call" from
7497 callers into it. Add `skip-base' argument.
7498 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7499 (debugger-env-macro): Only reset the state stored in non-variables,
7500 i.e. current-buffer and match-data.
7501 (debugger-eval-expression): Rewrite using backtrace-eval.
7502 * subr.el (internal--called-interactively-p--get-frame): Remove.
7503 (called-interactively-p):
7504 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7505 `base' arg of backtrace-frame instead.
7506
15ac32d5
GM
75072013-07-26 Glenn Morris <rgm@gnu.org>
7508
8358a09d
GM
7509 * align.el (align-regexp): Doc fix. (Bug#14857)
7510 (align-region): Explicit error if subexpression missing/does not match.
7511
15ac32d5
GM
7512 * simple.el (global-visual-line-mode):
7513 Do not duplicate the mode lighter. (Bug#14858)
7514
f47ad11b
MR
75152013-07-25 Martin Rudalics <rudalics@gmx.at>
7516
7517 * window.el (display-buffer): In display-buffer bind
7518 split-window-keep-point to t, bug#14829.
7519
02530987
JB
75202013-07-25 Juanma Barranquero <lekktu@gmail.com>
7521
7522 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7523 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7524 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7525 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7526 Change accordingly.
f63ebeb5
JB
7527 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7528 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7529
6ccb9cab 75302013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7531
6ccb9cab 7532 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7533
cb3a56d2
JB
75342013-07-25 Juanma Barranquero <lekktu@gmail.com>
7535
7536 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7537 parameter to modify-frame-parameters if the value has not changed;
7538 this is a workaround for bug#14949.
7539 (desktop--make-frame): On cl-delete-if call, check parameter name,
7540 not full parameter.
7541
7aa7fff0
XF
75422013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7543
7544 * vc/vc.el (vc-ignore): New function.
7545
7546 * vc/vc-svn.el (vc-svn-ignore): New function.
7547
7548 * vc/vc-hg.el (vc-hg-ignore): New function.
7549
7550 * vc/vc-git.el (vc-git-ignore): New function.
7551
7552 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7553 (vc-dir-ignore): New function.
7554
7555 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7556 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7557
7558 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7559
7560 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7561
889acc5c
JB
75622013-07-24 Juanma Barranquero <lekktu@gmail.com>
7563
7564 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7565 (desktop-restore-frames): Warn when deleting an existing frame failed.
7566
86c40970
GM
75672013-07-24 Glenn Morris <rgm@gnu.org>
7568
7569 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7570
d5d3c58a
MA
75712013-07-24 Michael Albinus <michael.albinus@gmx.de>
7572
7573 * filenotify.el (file-notify-supported-p):
7574 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7575 Remove functions.
7576
7577 * autorevert.el (auto-revert-use-notify):
7578 (auto-revert-notify-add-watch):
7579 * net/tramp.el (tramp-file-name-for-operation):
7580 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7581 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7582 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7583 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7584 Remove `file-notify-supported-p' entry.
7585
d100084b
GM
75862013-07-24 Glenn Morris <rgm@gnu.org>
7587
7588 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7589 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7590
ac93e56b
SM
75912013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7592
249eea30
SM
7593 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7594 checked with memq (bug#14935).
7595
ac93e56b
SM
7596 * files.el (revert-buffer-function): Use a non-nil default.
7597 (revert-buffer-preserve-modes): Declare var to
7598 provide access to the `preserve-modes' argument.
7599 (revert-buffer): Let-bind it.
7600 (revert-buffer--default): New function, extracted from revert-buffer.
7601
2cdeb903
SM
76022013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7603
7604 * lpr.el: Signal print errors more prominently.
7605 (print-region-function): Don't default to nil.
7606 (lpr-print-region): New function, extracted from print-region-1.
7607 Check lpr's return value and signal an error in case of problem.
7608 (print-region-1): Use it.
7609 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7610 versions instead.
7611 (ps-printer-name): Default to nil.
7612 (ps-printer-name-option): Default to lpr-printer-switch.
7613 (ps-print-region-function): Don't default to nil.
7614 (ps-postscript-code-directory): Simplify default.
7615 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7616 (ps-string-list, ps-eval-switch, ps-flatten-list)
7617 (ps-flatten-list-1): Remove.
7618 (ps-multibyte-buffer): Avoid setq.
7619 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7620 (print-region-function, ps-print-region-function): Don't set them here.
7621
73600831
XF
76222013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7623
0e55c076
XF
7624 * ido.el (ido-fractionp):
7625 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7626 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7627 (ido-max-directory-size, ido-max-dir-file-cache)
7628 (ido-decorations): Doc fix.
7629
73600831
XF
7630 * ansi-color.el: Fix old URL.
7631
3d012865
MM
76322013-07-23 Michael R. Mauger <michael@mauger.com>
7633
e903c210 7634 * progmodes/sql.el: Version 3.3
3d012865
MM
7635 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7636 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7637 (sql-interactive-remove-continuation-prompt): Rewrite, use
7638 functions above. Fix continuation prompt and complete output line
7639 handling.
7640 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7641 redirected output buffer.
7642 (sql-mode): Restore deleted code (Bug#13591).
7643
da77a2e2
JB
76442013-07-23 Juanma Barranquero <lekktu@gmail.com>
7645
7646 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7647
80ff0c71
MA
76482013-07-23 Michael Albinus <michael.albinus@gmx.de>
7649
7650 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7651
7652 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7653 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7654 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7655
b61d71e4
JB
76562013-07-23 Juanma Barranquero <lekktu@gmail.com>
7657
7658 * desktop.el (desktop-clear): Simplify; remove useless checks
7659 against invalid buffer names.
7660 (desktop-list*): Use cl-list*.
7661 (desktop-buffer-info, desktop-create-buffer): Simplify.
7662
c3512092
LL
76632013-07-23 Leo Liu <sdl.web@gmail.com>
7664
7665 * bookmark.el (bookmark-make-record): Restore NAME as a default
7666 value. (Bug#14933)
7667
0ac26976
SM
76682013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7669
7d22ce18
SM
7670 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7671 extracted from autoload--insert-text.
7672 (autoload--insert-text): Remove.
7673 (autoload--print-cookie-text): New function, extracted from
7674 autoload--insert-cookie-text.
7675 (autoload--insert-cookie-text): Remove.
7676 (autoload-generate-file-autoloads): Adjust calls accordingly.
7677
9b2607e8
SM
7678 * winner.el (winner-hook-installed-p): Remove.
7679 (winner-mode): Simplify accordingly.
7680
c43a8618
SM
7681 * subr.el (add-to-list): Fix compiler-macro when `append' is
7682 not constant. Don't use `cl-member' for the base case.
7683
0ac26976
SM
7684 * progmodes/subword.el: Fix boundary case (bug#13758).
7685 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7686 own group.
7687 (subword-backward-regexp): Make it a constant.
7688 (subword-forward-internal): Don't treat a trailing capital as the
7689 beginning of a word.
7690
6874724a
AR
76912013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7692
7693 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7694 global value of tabulated-list-revert-hook (bug#14930).
7695
70f1b5e8
JB
76962013-07-22 Juanma Barranquero <lekktu@gmail.com>
7697
a1c80d9d
JB
7698 * desktop.el: Require 'cl-lib.
7699 (desktop-before-saving-frames-functions): New hook.
7700 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7701 for frames being saved. Rename from desktop--save-minibuffer-frames.
7702 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7703 Do not save frames with non-nil `desktop-dont-save' parameter.
7704 Filter out deleted frames.
a1c80d9d
JB
7705 (desktop--find-frame): Use cl-find-if.
7706 (desktop--select-frame): Use cl-(first|second|third) to access values
7707 of desktop-mini.
7708 (desktop--make-frame): Use cl-delete-if.
7709 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7710 (desktop-restore-frames): Use cl-(first|second|third) to access values
7711 of desktop-mini. Look for visible frame at the end, not while
7712 restoring frames.
7713
70f1b5e8
JB
7714 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7715 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7716 Use string-match-p, looking-at-p (bug#14927).
7717
728dc3cc
JB
77182013-07-21 Juanma Barranquero <lekktu@gmail.com>
7719
56bc453c
JB
7720 * desktop.el (desktop-saved-frame-states):
7721 Rename from desktop--saved-states; all users changed.
7722 (desktop-save-frames): Rename from desktop--save-frames.
7723 Do not save state to desktop file.
7724 (desktop-save): Save desktop-saved-frame-states to desktop file
7725 and reset to nil.
7726 (desktop-restoring-frames-p): New function.
7727 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7728 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7729 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7730
728dc3cc
JB
7731 * desktop.el: Correctly restore iconified frames.
7732 (desktop--filter-iconified-position): New function.
7733 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7734
862f1c9c
GM
77352013-07-20 Glenn Morris <rgm@gnu.org>
7736
c4074c9f
GM
7737 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7738 Let `message' do the formatting.
7739 (def-gdb-preempt-display-buffer): Add explicit format.
7740
d828e5f9
GM
7741 * image-dired.el (image-dired-track-original-file):
7742 Use with-current-buffer.
7743 (image-dired-track-thumbnail): Use with-current-buffer.
7744 Avoid changing point of wrong window.
7745
862f1c9c
GM
7746 * image-dired.el (image-dired-track-original-file):
7747 Avoid changing point of wrong window. (Bug#14909)
7748
f0398ec1 77492013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7750
7751 * progmodes/gdb-mi.el (gdb-done-or-error):
7752 Guard against "%" in gdb output. (Bug#14127)
7753
1451928f
AS
77542013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7755
763a086d
JB
7756 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7757 (Bug#14826)
f7a03897 7758
1451928f
AS
7759 * international/mule.el (coding-system-iso-2022-flags): Fix last
7760 change.
7761
99107004
KH
77622013-07-20 Kenichi Handa <handa@gnu.org>
7763
763a086d
JB
7764 * international/mule.el (coding-system-iso-2022-flags):
7765 Add `8-bit-level-4'. (Bug#8522)
99107004 7766
48494e06
LMI
77672013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7768
8ba8eec5
LMI
7769 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7770 (bug#14815).
7771
dfbc66e3
LMI
7772 * net/eww.el (eww-process-text-input): Allow inputting when the
7773 point is at the start of the line, as the properties aren't
7774 front-sticky.
7775
48494e06
LMI
7776 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7777 degenerate widths.
7778
77c92cb9
RS
77792013-07-19 Richard Stallman <rms@gnu.org>
7780
aec7da77
RS
7781 * epa.el (epa-popup-info-window): Doc fix.
7782
77c92cb9
RS
7783 * subr.el (split-string): New arg TRIM.
7784
945c5bb1
JB
77852013-07-18 Juanma Barranquero <lekktu@gmail.com>
7786
7787 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7788 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7789
e06ec67f
MA
77902013-07-18 Michael Albinus <michael.albinus@gmx.de>
7791
c7064f05 7792 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7793 `file-notify-support'. Do not autoload. Adapt all uses.
7794 (file-notify-supported-p): New defun.
7795
c7064f05
JB
7796 * autorevert.el (auto-revert-use-notify):
7797 Use `file-notify-supported-p' instead of `file-notify-support'.
7798 Adapt docstring.
e06ec67f
MA
7799 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7800
7801 * net/tramp.el (tramp-file-name-for-operation):
7802 Add `file-notify-supported-p'.
7803
7804 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7805 New defun.
7806 (tramp-sh-file-name-handler-alist): Add it as handler for
7807 `file-notify-supported-p '.
7808
7809 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7810 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7811 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7812 Add `ignore' as handler for `file-notify-*' functions.
7813
5dc8a629
EZ
78142013-07-17 Eli Zaretskii <eliz@gnu.org>
7815
7816 * simple.el (line-move-partial, line-move): Don't start vscroll or
7817 scroll-up if the current line is not taller than the window.
7818 (Bug#14881)
7819
77aea2fb
DG
78202013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7821
7822 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7823 highlight question marks in the method names as strings.
ac72c08d
DG
7824 (ruby-block-beg-keywords): Inline.
7825 (ruby-font-lock-keyword-beg-re): Extract from
7826 `ruby-font-lock-keywords'.
77aea2fb 7827
18c26d81
JD
78282013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7829
7830 * frame.el (blink-cursor-blinks): New defcustom.
7831 (blink-cursor-blinks-done): New defvar.
7832 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7833 (blink-cursor-timer-function): Check if number of blinks has been
7834 done on X and NS.
7835 (blink-cursor-suspend, blink-cursor-check): New defuns.
7836
da48522e
GM
78372013-07-15 Glenn Morris <rgm@gnu.org>
7838
7839 * edmacro.el (edmacro-format-keys): Fix previous change.
7840
0463c1ef
PE
78412013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7842
7843 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7844 The hack didn't work outside English locales anyway.
7845
b43f6451
JB
78462013-07-15 Juanma Barranquero <lekktu@gmail.com>
7847
7848 * simple.el (define-alternatives): Rename from alternatives-define,
7849 per RMS' suggestion.
7850
b958c0ad
JB
78512013-07-14 Juanma Barranquero <lekktu@gmail.com>
7852
7853 * desktop.el (desktop-restore-frames): Change default to t.
7854 (desktop-restore-in-current-display): Now offer more options.
7855 (desktop-restoring-reuses-frames): New customization option.
7856 (desktop--saved-states): Doc fix.
7857 (desktop-filter-parameters-alist): New variable, renamed and expanded
7858 from desktop--excluded-frame-parameters.
7859 (desktop--target-display): New variable.
7860 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7861 (desktop--filter-tty*, desktop--filter-*-color)
7862 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7863 (desktop--filter-save-desktop-parm)
7864 (desktop-restore-in-original-display-p): New functions.
7865 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7866 (desktop--save-minibuffer-frames): New function, inspired by a similar
7867 function from Martin Rudalics.
7868 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7869 (desktop--restore-in-this-display-p): Remove.
7870 (desktop--find-frame): Rename from desktop--find-frame-in-display
7871 and add predicate argument.
7872 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7873 (desktop--reuse-list): New variable.
7874 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7875 New functions.
7876 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7877
f6dd8b36
MA
78782013-07-14 Michael Albinus <michael.albinus@gmx.de>
7879
7880 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7881
2ce3c565
DG
78822013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7883
763a086d
JB
7884 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7885 Highlight conversion methods on Kernel.
2ce3c565 7886
2cdb7698
AM
78872013-07-13 Alan Mackenzie <acm@muc.de>
7888
7889 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7890 and comment it out. This out-commenting enables certain C++
7891 declarations to be parsed correctly.
7892
1a67b811
EZ
78932013-07-13 Eli Zaretskii <eliz@gnu.org>
7894
1b796d6b
EZ
7895 * international/mule.el (define-coding-system): Doc fix.
7896
1a67b811
EZ
7897 * simple.el (default-font-height): Don't call font-info if the
7898 frame's default font didn't change since the frame was created.
7899 (Bug#14838)
7900
58fbe886
LL
79012013-07-13 Leo Liu <sdl.web@gmail.com>
7902
7903 * ido.el (ido-read-file-name): Guard against non-symbol value.
7904
1f0480d4
FEG
79052013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7906
7907 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7908 in nested defuns.
7909
97ead0e5
LL
79102013-07-13 Leo Liu <sdl.web@gmail.com>
7911
7912 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7913 ido-set-matches call. (Bug#6852)
7914
0880a952
DG
79152013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7916
7917 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7918 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7919 Ruby 2.0.
7920 (ruby-font-lock-keywords): Distinguish calls to functions with
7921 module-like names from module references. Highlight character
7922 literals.
7923
a7d8babb
SDJ
79242013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7925
7926 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7927 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7928
acfcc8c5
JB
79292013-07-12 Juanma Barranquero <lekktu@gmail.com>
7930
7931 * desktop.el (desktop--v2s): Remove unused local variable.
7932 (desktop-save-buffer): Make defvar-local; adjust docstring.
7933 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7934 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7935
051f2775
AS
79362013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7937
7938 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7939
f24e7572
GM
79402013-07-12 Eli Zaretskii <eliz@gnu.org>
7941
7942 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7943 (Bug#14842)
7944
539a920c
GM
79452013-07-12 Glenn Morris <rgm@gnu.org>
7946
7947 * doc-view.el: Require cl-lib at runtime too.
7948 (doc-view-remove-if): Remove.
7949 (doc-view-search-next-match, doc-view-search-previous-match):
7950 Use cl-remove-if.
7951
7952 * edmacro.el: Require cl-lib at runtime too.
7953 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7954 (edmacro-mismatch, edmacro-subseq): Remove.
7955
7956 * shadowfile.el: Require cl-lib.
7957 (shadow-remove-if): Remove.
7958 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7959 Use cl-remove-if.
7960
7961 * wid-edit.el: Require cl-lib.
7962 (widget-choose): Use cl-remove-if.
7963 (widget-remove-if): Remove.
7964
7965 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7966 (ebrowse-delete-if-not): Remove.
7967 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7968 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7969 Use cl-delete-if-not.
7970
1048af7c
JB
79712013-07-12 Juanma Barranquero <lekktu@gmail.com>
7972
7973 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7974 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7975
6c0674ee
LL
79762013-07-12 Leo Liu <sdl.web@gmail.com>
7977
7978 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7979
a19b3c2d
GM
79802013-07-11 Glenn Morris <rgm@gnu.org>
7981
4582a01c
GM
7982 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7983 (edebug-gensym-index, edebug-gensym):
7984 Remove reimplementation of cl-gensym.
7985 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7986
7987 * thumbs.el: Require cl-lib at run-time too.
7988 (thumbs-gensym-counter, thumbs-gensym):
7989 Remove reimplementation of cl-gensym.
7990 (thumbs-temp-file): Use cl-gensym.
7991
a19b3c2d
GM
7992 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7993 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7994 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7995 (ert--union, ert--gensym-counter, ert--gensym-counter)
7996 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7997 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7998 (ert-make-test-unbound, ert--expand-should-1)
7999 (ert--expand-should, ert--should-error-handle-error)
8000 (should-error, ert--explain-equal-rec)
8001 (ert--plist-difference-explanation, ert-select-tests)
8002 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8003 Use cl-lib functions rather than reimplementations.
8004
88f6a933
MA
80052013-07-11 Michael Albinus <michael.albinus@gmx.de>
8006
8007 * net/tramp.el (tramp-methods): Extend docstring.
8008 (tramp-connection-timeout): New defcustom.
8009 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8010 (with-tramp-progress-reporter): Simplify.
8011 (tramp-process-actions): Improve messages.
8012
8013 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8014 * net/tramp-sh.el (tramp-maybe-open-connection):
8015 Use `tramp-connection-timeout'.
8016 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8017 (Bug#14808)
8018
a43d577e
LL
80192013-07-11 Leo Liu <sdl.web@gmail.com>
8020
8021 * ido.el (ido-read-file-name): Conform to the requirements of
8022 read-file-name. (Bug#11861)
8023 (ido-read-directory-name): Conform to the requirements of
8024 read-directory-name.
8025
d77974bf
JB
80262013-07-11 Juanma Barranquero <lekktu@gmail.com>
8027
8028 * subr.el (delay-warning): New function.
8029
35cb8a3e
EZ
80302013-07-10 Eli Zaretskii <eliz@gnu.org>
8031
8032 * simple.el (default-line-height): New function.
8033 (line-move-partial, line-move): Use it instead of computing the
8034 line height inline.
8035 (line-move-partial): Always compute ROWH. If the last line is
8036 partially-visible, but its text is completely visible, allow
8037 cursor to enter such a partially-visible line.
8038
525c5c77
MA
80392013-07-10 Michael Albinus <michael.albinus@gmx.de>
8040
8041 Improve error messages. (Bug#14808)
8042
8043 * net/tramp.el (tramp-current-connection): New defvar, moved from
8044 tramp-sh.el.
0ac26976 8045 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 8046 needed anymore.
0ac26976
SM
8047 (tramp-error-with-buffer): Show message in minibuffer.
8048 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
8049 (with-tramp-progress-reporter): Improve messages.
8050 (tramp-process-actions): Use progress reporter. Delete process in
8051 case of error. Improve messages.
8052
763a086d
JB
8053 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8054 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 8055 (tramp-current-connection): Remove.
525c5c77
MA
8056 (tramp-maybe-open-connection): The car of
8057 `tramp-current-connection' are the first 3 slots of the vector.
8058
c7a4d368
TZ
80592013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8060
8061 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8062 inside continued strings.
8063
954b166e
PE
80642013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8065
8066 Timestamp fixes for undo (Bug#14824).
8067 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8068
56973319
LL
80692013-07-10 Leo Liu <sdl.web@gmail.com>
8070
8071 * files.el (require-final-newline): Allow safe local value.
8072 (Bug#14834)
8073
5550a72c
LL
80742013-07-09 Leo Liu <sdl.web@gmail.com>
8075
8076 * ido.el (ido-read-directory-name): Handle fallback.
8077 (ido-read-file-name): Update DIR to ido-current-directory.
8078 (Bug#1516)
c28b9050 8079 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 8080
70c46b28
DG
80812013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8082
8083 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8084 "autoload". Remove "warn lower camel case" section, previously
8085 commented out. Highlight negation char. Do not highlight the
8086 target in singleton method definitions.
8087
0b64b838
SM
80882013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8089
7fd72e2c
SM
8090 * faces.el (tty-setup-hook): Declare the hook.
8091
0b64b838
SM
8092 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8093 and detect when a guard/pred depends on local vars (bug#14773).
8094 (pcase--u1): Adjust caller.
8095
ab49d60b
EZ
80962013-07-08 Eli Zaretskii <eliz@gnu.org>
8097
8098 * simple.el (line-move-partial, line-move): Account for
8099 line-spacing.
701d79aa
EZ
8100 (line-move-partial): Avoid setting vscroll when the last
8101 partially-visible line in window is of default height.
ab49d60b 8102
2d756ae0
LMI
81032013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8104
8105 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8106 been used a while.
8107
ed095bd7
JB
81082013-07-07 Juanma Barranquero <lekktu@gmail.com>
8109
8110 * subr.el (read-quoted-char): Remove unused local variable `char'.
8111
f1e6674b
MK
81122013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8113
584ee3fc
GM
8114 * ediff.el (ediff-version): Version update.
8115 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8116 (ediff-merge-with-ancestor-command, ediff-directories-command)
8117 (ediff-directories3-command, ediff-merge-directories-command)
8118 (ediff-merge-directories-with-ancestor-command): New functions.
8119 All are command-line interfaces to ediff: to facilitate calling
8120 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8121
8122 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8123 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8124
584ee3fc
GM
8125 * viper.el (viper-version): Version update.
8126 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8127
584ee3fc
GM
81282013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8129
8130 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8131 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8132 (viper-intercept-ESC-key): Simplify.
8133 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8134 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8135 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8136 (viper-setup-ESC-to-escape): New functions.
8137 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8138 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8139
9aff9b38
EZ
81402013-07-07 Eli Zaretskii <eliz@gnu.org>
8141
5165d44a
JB
8142 * simple.el (default-font-height, window-screen-lines):
8143 New functions.
9aff9b38
EZ
8144 (line-move, line-move-partial): Use them instead of
8145 frame-char-height and window-text-height. This makes scrolling
8146 text smoother when the buffer's default face uses a font that is
8147 different from the frame's default font.
8148
1afb1d07
JD
81492013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8150
8151 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8152 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8153
23de972a
EZ
81542013-07-06 Eli Zaretskii <eliz@gnu.org>
8155
8156 * simple.el (line-move-partial): Adjust the row returned by
8157 posn-at-point for the current window-vscroll. (Bug#14567)
8158
54a42486
MA
81592013-07-06 Michael Albinus <michael.albinus@gmx.de>
8160
8161 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8162 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8163 spaces.
8164
34ada5f4
MR
81652013-07-06 Martin Rudalics <rudalics@gmx.at>
8166
8167 * window.el (window-state-put-stale-windows): New variable.
8168 (window--state-put-2): Save list of windows without matching buffer.
8169 (window-state-put): Remove "bufferless" windows if possible.
8170
11e03d89
JB
81712013-07-06 Juanma Barranquero <lekktu@gmail.com>
8172
8173 * simple.el (alternatives-define): Remove leftover :group keyword.
8174 Tweak docstring.
8175
3504a4be
LL
81762013-07-06 Leo Liu <sdl.web@gmail.com>
8177
8178 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8179 (ido-enable-virtual-buffers): New variable.
8180 (ido-buffer-internal, ido-toggle-virtual-buffers)
8181 (ido-make-buffer-list): Use it.
8182 (ido-exhibit): Support turning on and off virtual buffers
8183 automatically.
8184
61e56e2c
JB
81852013-07-06 Juanma Barranquero <lekktu@gmail.com>
8186
8187 * simple.el (alternatives-define): New macro.
8188
321e1a9c
SM
81892013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8190
8191 * subr.el (read-quoted-char): Use read-key.
8192 (sit-for): Let read-event decode tty input (bug#14782).
8193
d610f6dd
SB
81942013-07-05 Stephen Berman <stephen.berman@gmx.net>
8195
8196 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8197 mode command and externally. Fix various related bugs.
8198 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8199 (todo-delete-file): New command.
8200 (todo-check-file): New function.
8201 (todo-show): Handle external deletion of the file we're trying to
8202 show (bug#14688). Replace called-interactively-p by an optional
8203 prefix argument to avoid problematic interaction with catch form
8204 when byte compiled (bug#14702).
8205 (todo-quit): Handle external deletion of the archive's todo file.
8206 Make sure the buffer that was visiting the archive file is still
8207 live before trying to bury it.
8208 (todo-category-completions): Handle external deletion of any
8209 category completion files.
8210 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8211 of todo files, in case of external deletion.
8212 (todo-add-file): Replace unnecessary setq by let-binding.
8213 (todo-find-archive): Check whether there are any archives.
8214 Replace unnecessary setq by let-binding.
8215 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8216 archive buffer whether or not the archive already exists.
8217 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8218 check if the archive is new; if it is, update list of archives.
8219 (todo-default-todo-file): Allow nil to be a valid value for when
8220 there are no todo files.
8221 (todo-reevaluate-default-file-defcustom): Use corrected definition
8222 of todo-default-todo-file.
8223 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8224 (todo-delete-category, todo-show-categories-table)
8225 (todo-category-number): Clarify comment.
8226 (todo-filter-items): Clarify documentation string.
8227 (todo-show-current-file, todo-display-as-todo-file)
8228 (todo-reset-and-enable-done-separator): Tweak documentation string.
8229 (todo-done-separator): Make separator length window-width, since
8230 bug#2749 is now fixed.
8231
ddbdfd6f
MA
82322013-07-05 Michael Albinus <michael.albinus@gmx.de>
8233
321e1a9c
SM
8234 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8235 Support both "gvfs-monitor-dir" and "inotifywait".
8236 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8237 `tramp-sh-file-notify-process-filter'.
8238 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8239 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8240
96eb829a
LL
82412013-07-05 Leo Liu <sdl.web@gmail.com>
8242
8243 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8244
cf13177e
YM
82452013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8246
8247 * frame.el (display-pixel-height, display-pixel-width)
8248 (display-mm-height, display-mm-width): Mention behavior on
8249 multi-monitor setups in docstrings.
8250 (w32-display-monitor-attributes-list): Declare function.
8251 (display-monitor-attributes-list): Use it.
8252
864c58ca
MA
82532013-07-04 Michael Albinus <michael.albinus@gmx.de>
8254
8255 * filenotify.el: New package.
8256
8257 * autorevert.el (top): Require filenotify.el.
8258 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8259 instead.
8260 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8261 (auto-revert-notify-handler): Use `file-notify-*' functions.
8262
8263 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8264
321e1a9c
SM
8265 * net/tramp.el (tramp-file-name-for-operation):
8266 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8267
8268 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8269 for `file-notify-add-watch' and `file-notify-rm-watch'.
8270 (tramp-process-sentinel): Improve trace.
8271 (tramp-sh-handle-file-notify-add-watch)
8272 (tramp-sh-file-notify-process-filter)
8273 (tramp-sh-handle-file-notify-rm-watch)
8274 (tramp-get-remote-inotifywait): New defuns.
8275
96673afe
JL
82762013-07-03 Juri Linkov <juri@jurta.org>
8277
8278 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8279 call of `occur-read-primary-args' to interactive spec.
8280
8281 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8282 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8283
924494f4
MM
82842013-07-03 Matthias Meulien <orontee@gmail.com>
8285
8286 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8287 `Buffer-menu-multi-occur'. Add it to the menu.
8288 (Buffer-menu-mode): Document it in docstring.
8289 (Buffer-menu-multi-occur): New command. (Bug#14673)
8290
56f75efc
DG
82912013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8292
8293 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8294 keywords and built-ins.
8295
9b057d61
GM
82962013-07-03 Glenn Morris <rgm@gnu.org>
8297
208dee4d
GM
8298 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8299
9b057d61
GM
8300 Make info-xref checks case-sensitive by default
8301 * info.el (Info-find-node, Info-find-in-tag-table)
8302 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8303 Add option for exact case matching of nodes.
8304 * info-xref.el (info-xref): New custom group.
8305 (info-xref-case-fold): New option.
8306 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8307
e01aa29c
LL
83082013-07-03 Leo Liu <sdl.web@gmail.com>
8309
8310 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8311
3086ca2e
DG
83122013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8313
8314 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8315 middle of block statement initially, lower the depth. Remove
8316 FIXME comment, not longer valid. Remove middle of block statement
8317 detection, no need to do that anymore since we've been using
8318 `ruby-parse-region' here.
8319
a3b49114
JD
83202013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8321
8322 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8323
08e5c823 83242013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8325
8326 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8327
2addf922
JB
83282013-07-01 Juanma Barranquero <lekktu@gmail.com>
8329
8330 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8331 (desktop-restore-in-current-display): New customization option.
8332 (desktop--excluded-frame-parameters): Add `font'.
8333 (desktop--save-frames): Rename from desktop--save-windows.
8334 (desktop--restore-in-this-display-p): New function.
8335 (desktop--make-full-frame): Remove unwanted width/height from
8336 full(width|height) frames.
8337 (desktop--restore-frames): Rename from desktop--restore-windows.
8338 Obey desktop-restore-current-display. Do not delete old frames or
8339 select a new frame unless we were able to restore at least one frame.
8340
ef099a94
MN
83412013-06-30 Michal Nazarewicz <mina86@mina86.com>
8342
8343 * files.el (find-file-noselect): Simplify conditional expression.
8344
a12bf61e 8345 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8346 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8347
8348 Add `remember-notes' function to store random notes across Emacs
8349 restarts.
3fcfc4ee
JB
8350 * textmodes/remember.el (remember-data-file): Add :set callback to
8351 affect notes buffer (if any).
ef099a94
MN
8352 (remember-notes): New command.
8353 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8354 New defcustoms for the `remember-notes' function.
8355 (remember-notes-save-and-bury-buffer): New command.
8356 (remember-notes-mode-map): New variable.
8357 (remember-mode): New minor mode.
8358 (remember-notes--kill-buffer-query): New function.
8359 * startup.el (initial-buffer-choice): Add notes to custom type.
8360
0865d506
EZ
83612013-06-30 Eli Zaretskii <eliz@gnu.org>
8362
0ba54312
EZ
8363 * bindings.el (right-char, left-char): Don't call sit-for, this is
8364 no longer needed. Use arithmetic comparison only for numerical
8365 arguments.
8366
ef099a94
MN
8367 * international/mule-cmds.el (select-safe-coding-system):
8368 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8369
2fae38e5
LMI
83702013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8371
8372 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8373 progression on degenerate tables.
ef099a94 8374 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8375
a47cbd64
JB
83762013-06-30 Juanma Barranquero <lekktu@gmail.com>
8377
8378 Some fixes and improvements for desktop frame restoration.
8379 It is still experimental and disabled by default.
8380 * desktop.el (desktop--save-windows): Put the selected frame at
8381 the head of the list.
8382 (desktop--make-full-frame): New function.
8383 (desktop--restore-windows): Try to re-select the frame that was
8384 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8385 just show an error message and continue. Set up maximized frames
8386 so they have default non-maximized dimensions.
a47cbd64 8387
6dbafa30
DG
83882013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8389
ef099a94
MN
8390 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8391 Don't start heredoc inside a string or comment.
6dbafa30 8392
4c672a0f
EZ
83932013-06-29 Eli Zaretskii <eliz@gnu.org>
8394
8395 * bindings.el (visual-order-cursor-movement): New defcustom.
8396 (right-char, left-char): Provide visual-order cursor motion by
8397 calling move-point-visually. Update the doc strings.
8398
50960f36
KH
83992013-06-28 Kenichi Handa <handa@gnu.org>
8400
8401 * international/mule.el (define-coding-system): New coding system
8402 properties :inhibit-null-byte-detection,
8403 :inhibit-iso-escape-detection, and :prefer-utf-8.
8404 (set-buffer-file-coding-system): If :charset-list property of
8405 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8406 appropriate for setting.
8407
c1ea3abf
JB
8408 * international/mule-cmds.el (select-safe-coding-system):
8409 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8410 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8411
8412 * international/mule-conf.el (prefer-utf-8): New coding system.
8413 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8414 files.
8415
75dbaf9d
IK
84162013-06-28 Ivan Kanis <ivan@kanis.fr>
8417
eadb6068
IK
8418 * net/shr.el (shr-render-region): New function.
8419
75dbaf9d
IK
8420 * net/eww.el: Autoload `eww-browse-url'.
8421
9ea5cf9f
DG
84222013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8423
c1ea3abf
JB
8424 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8425 Adapt to `package-desc-version' being a list.
8426 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8427 archive element.
8428
39c0e36f
JB
84292013-06-27 Juanma Barranquero <lekktu@gmail.com>
8430
8431 New experimental feature to save&restore window and frame setup.
8432 * desktop.el (desktop-save-windows): New defcustom.
8433 (desktop--saved-states): New var.
8434 (desktop--excluded-frame-parameters): New defconst.
8435 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8436 (desktop--restore-windows, desktop--save-windows): New functions.
8437 (desktop-save): Call `desktop--save-windows'.
8438 (desktop-read): Call `desktop--restore-windows'.
8439
7f13406b
LMI
84402013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8441
ef099a94 8442 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8443
1e072639
SB
84442013-06-27 Stephen Berman <stephen.berman@gmx.net>
8445
8446 * info.el (Info-try-follow-nearest-node): Move search for footnote
8447 above search for node name to prevent missing a footnote (bug#14717).
8448
f3e2cbde
SB
84492013-06-27 Stephen Berman <stephen.berman@gmx.net>
8450
8451 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8452
99906aa0
LL
84532013-06-27 Leo Liu <sdl.web@gmail.com>
8454
8455 * net/eww.el (eww-read-bookmarks): Check file size.
8456
539f75f4
SM
84572013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8460 advice--pending if newdef is nil or an autoload (bug#13820).
8461 (advice-mapc): New function.
8462
843571cb
LMI
84632013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8464
8465 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8466 probably.
23a75d7f 8467 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8468 (eww-add-bookmark): New command.
8469 (eww-bookmark-mode): New mode and commands.
a285ce99 8470 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8471 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8472
f2136e1e
GM
84732013-06-26 Glenn Morris <rgm@gnu.org>
8474
eab35f39
GM
8475 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8476 (hfy-size): Handle ttys. (Bug#14668)
8477
f2136e1e
GM
8478 * info-xref.el: Update for Texinfo 5 change in *note format.
8479 (info-xref-node-re, info-xref-note-re): New constants.
8480 (info-xref-check-buffer): Use info-xref-note-re.
8481
a49ff80c
SM
84822013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8483
a343d218
SM
8484 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8485
a49ff80c
SM
8486 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8487 nil terminate the loop (bug#14718).
8488
8308f184
LMI
84892013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8490
8491 * net/eww.el: Rework history traversal. When going forward/back,
8492 put these actions into the history, too, so that they can be
8493 replayed.
26bf2b82 8494 (eww-render): Move the history reset to the correct buffer.
8308f184 8495
ec64c273
JL
84962013-06-25 Juri Linkov <juri@jurta.org>
8497
8498 * files-x.el (modify-dir-local-variable): Change the header comment
8499 in the file with directory local variables. (Bug#14692)
8500
e080a9d7
JL
8501 * files-x.el (read-file-local-variable-value): Add `default'.
8502 (Bug#14710)
8503
bfbc93a1
IK
85042013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8505
8506 * net/eww.el (eww-make-unique-file-name): Create a unique file
8507 name before saving to entering `y' accidentally asynchronously.
8508
85092013-06-25 Ivan Kanis <ivan@kanis.fr>
8510
8511 * net/eww.el (eww-download): New command and keystroke.
8512
16f74f10
LMI
85132013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8514
a49ff80c 8515 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8516
8517 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8518 be more consistent with Info and dired.
8519
8520 * net/eww.el (eww-mode-map): Ditto.
8521
12059709
SM
85222013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8523
8524 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8525 packages from archives.
8526 (package-archive-contents): Change format; include obsolete packages.
8527 (package-desc): Use `dir' to mark builtin packages.
8528 (package--from-builtin): Set the `dir' field to `builtin'.
8529 (generated-autoload-file, version-control): Declare.
8530 (package-compute-transaction): Change first arg and return value to be
8531 lists of package-descs. Adjust to new package-archive-contents format.
8532 (package--add-to-archive-contents): Adjust to new
8533 package-archive-contents format.
8534 (package-download-transaction): Arg is now a list of package-descs.
8535 (package-install): If `pkg' is a package name, pass it as
8536 a requirement, so it is subject to the usual (e.g. disabled) checks.
8537 (describe-package): Accept package-desc as well.
8538 (describe-package-1): Describe a specific package-desc. Add links to
8539 other package-descs for the same package name.
8540 (package-menu-describe-package): Pass the actual package-desc.
8541 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8542 works correctly.
8543 (package-desc-status): New function.
8544 (package-menu--refresh): New function, extracted
8545 from package-menu--generate.
8546 (package-menu--generate): Use it.
8547 (package-delete): Update package-alist.
8548 (package-menu-execute): Don't call package-initialize.
8549
8550 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8551 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8552 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8553 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8554 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8555 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8556
8bbdea0f
MR
85572013-06-25 Martin Rudalics <rudalics@gmx.at>
8558
8559 * window.el (window--state-get-1): Workaround for bug#14527.
8560 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8561
e82b0991
LMI
85622013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8563
8564 * net/eww.el (eww-back-url): Implement the history by stashing all
8565 the data into a list.
d3f0f918 8566 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8567
c763842b
SM
85682013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8569
8570 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8571 for values and use read--expression for expressions (bug#14710).
8572 (read-file-local-variable): Avoid setq.
8573 (read-file-local-variable-mode): Use minor-mode-list.
8574
bceff189
RW
85752013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8576
864c58ca 8577 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8578 for DOI URLs.
8579
45f431c6
RW
85802013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8581
864c58ca 8582 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8583 Update imenu-support when dialect changes.
8584
f42d8237
LL
85852013-06-25 Leo Liu <sdl.web@gmail.com>
8586
8587 * ido.el (ido-read-internal): Allow forward slash on windows.
8588
be549ce6
LMI
85892013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8590
8591 * net/eww.el (eww): Start of strings is \\`, not ^.
8592
71d4c19d
IK
85932013-06-24 Ivan Kanis <ivan@kanis.fr>
8594
5196f88a
IK
8595 * net/shr.el (shr-browse-url): Fix interactive spec.
8596
71d4c19d
IK
8597 * net/eww.el (eww): Add a trailing slash to domain names.
8598
ae36ca55
JB
85992013-06-24 Juanma Barranquero <lekktu@gmail.com>
8600
8601 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8602
0ebd92a3
LMI
86032013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8604
bdaa086b
LMI
8605 * net/shr.el (shr-browse-url): Use an external browser if given a
8606 prefix.
8607
c763842b 8608 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8609
b89fc156
IK
86102013-06-24 Ivan Kanis <ivan@kanis.fr>
8611
8612 * net/eww.el (eww): Work more correctly for file: URLs.
8613 (eww-detect-charset): Allow quoted charsets.
8614 (eww-yank-page-url): New command and keystroke.
8615
18eb4bca
DU
86162013-06-24 Daiki Ueno <ueno@gnu.org>
8617
8618 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8619 file name of gpg executable.
8620 (epg-context-program): New function.
8621 (epg-context-home-directory): New function.
8622 (epg-context-set-program): New function.
8623 (epg-context-set-home-directory): New function.
8624 (epg--start): Use `epg-context-program' instead of
8625 'epg-gpg-program'.
8626 (epg--list-keys-1): Likewise.
8627
6c6268c8
LL
86282013-06-24 Leo Liu <sdl.web@gmail.com>
8629
8630 * ido.el (ido-read-internal): Fix bug#14620.
8631
5e400cb3
JB
86322013-06-23 Juanma Barranquero <lekktu@gmail.com>
8633
8634 * faces.el (face-documentation): Simplify.
8635 (read-face-attribute, tty-find-type, x-resolve-font-name):
8636 Use `string-match-p'.
8637 (list-faces-display): Use `string-match-p'. Simplify.
8638 (face-spec-recalc): Check face to avoid face alias loops.
8639 (read-color): Use `string-match-p' and non-capturing parenthesis.
8640
f3f9606c
LMI
86412013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8642
8643 * net/shr.el (shr-rescale-image): Use the new
8644 :max-width/:max-height functionality.
8645
a3ca09b9
IK
86462013-06-23 Ivan Kanis <ivan@kanis.fr>
8647
8648 * net/eww.el (eww-search-prefix): New variable.
8649 (eww): Use it.
f865b474
IK
8650 (eww-external-browser): New variable.
8651 (eww-mode-map): New keystroke.
8652 (eww-browse-with-external-browser): New command.
a3ca09b9 8653
e854cfc7
IK
8654 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8655
18bb9e21
JB
86562013-06-23 Juanma Barranquero <lekktu@gmail.com>
8657
8658 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8659 Don't skip aligning the next header field when padding is 0;
8660 otherwise, field width is not respected unless the title is as
8661 wide as the field.
8662
5b165ade
SM
86632013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * emacs-lisp/package.el (package-el-version): Remove.
8666 (package-process-define-package): Fix inf-loop.
8667 (package-install): Allow symbols as arguments again.
8668
12adebe9
DG
86692013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8670
8671 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8672 add some more keyword-like methods.
8673 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8674
388573ee
JB
86752013-06-22 Juanma Barranquero <lekktu@gmail.com>
8676
8677 * bs.el (bs-buffer-show-mark): Make defvar-local.
8678 (bs-mode): Use setq-local.
8679
8680 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8681 (emacs-lock--try-unlocking): Make defvar-local.
8682
4582a01c 86832013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8684
2663dd23
GM
8685 * play/cookie1.el (cookie-apropos): Minor simplification.
8686
3d94f3ad
GM
8687 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8688
f72e2fdb
DG
86892013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8690
8691 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8692 `regexp-opt', it breaks the build during dumping.
8693
73eab938
DG
86942013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8695
c763842b
SM
8696 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8697 Highlight keyword-like methods on Kernel and Module with
73eab938 8698 font-lock-builtin-face.
5cf8176d
DG
8699 (auto-mode-alist): Consolidate different entries into one regexp
8700 and add more *file-s.
73eab938 8701
d26255f6
SB
87022013-06-21 Stephen Berman <stephen.berman@gmx.net>
8703
8704 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8705
8706 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8707 (diary-entry): Use it in the action of this button type instead of
8708 diary-goto-entry.
8709
8710 * calendar/todo-mode.el: New version.
8711 (todo-add-category): Append new category to end of file and give
8712 it the highest number, instead of putting it at the beginning and
8713 giving it 0. Incorporate noninteractive functionality.
8714 (todo-forward-category): Adapt to 1-based category numbering.
8715 Allow skipping over archived categories.
8716 (todo-backward-category): Derive from todo-forward-category.
8717 (todo-backward-item, todo-forward-item): Make noninteractive and
8718 delegate interactive part to new commands. Make sensitive to done items.
8719 (todo-categories): Make value an alist of category names and
8720 vectors of item counts.
8721 (todo-category-beg): Make a defconst.
8722 (todo-category-number): Use 1 instead of 0 as initial value.
8723 (todo-category-select): Make sensitive to overlays, optional item
8724 highlighting and done items.
8725 (todo-delete-item): Make sensitive to overlays and marked and done items.
8726 (todo-edit-item): Make sensitive to overlays and editing of
8727 date/time header optional. Add format checks.
8728 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8729 no-op if point is not on an item. Advertise using todo-edit-quit.
8730 (todo-edit-mode): Make sensitive to new format, font-locking, and
8731 multiple todo files.
8732 (todo-insert-item, todo-insert-item-here): Derive from
8733 todo-basic-insert-item and extend functionality.
8734 (todo-item-end, todo-item-start): Make sensitive to done items.
8735 (todo-item-string): Don't return text properties. Restore point.
8736 (todo-jump-to-category): Make sensitive to multiple todo files and
8737 todo archives. Use extended category completion.
8738 (todo-lower-item, todo-raise-item): Rename to *-priority and
8739 derive from todo-set-item-priority.
8740 (todo-mode): Derive from special-mode. Make sensitive to new
8741 format, font-locking and multiple todo files. Make read-only.
8742 (todo-mode-map): Don't suppress digit keys, so they can supply
8743 prefix arguments. Add many new key bindings.
8744 (todo-prefix): Insert as an overlay instead of file text.
8745 Change semantics from diary date expression to purely visual mark.
8746 (todo-print): Rename to todo-print-buffer. Make buffer display
8747 features printable. Remove option to restrict number of items
8748 printed. Add option to print to file.
8749 (todo-print-function): Rename to todo-print-buffer-function.
8750 (todo-quit): Extend to handle exiting new todo modes.
8751 (todo-remove-item): Make sensitive to overlays.
8752 (todo-save): Extend to buffers of filtered items.
8753 (todo-show): Make sensitive to done items, multiple todo files and
8754 new todo modes. Offer to convert legacy todo file before creating
8755 first new todo file.
8756 (todo-show-priorities): Rename to todo-top-priorities.
8757 Change semantics of value 0.
8758 (todo-top-priorities): Rename to todo-filter-top-priorities,
8759 derive from todo-filter-items and extend functionality.
8760 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8761 and extend functionality to other types of filtered items.
8762 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8763 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8764 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8765 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8766 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8767 (todo-edit-mode-hook, todo-entry-prefix-function)
8768 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8769 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8770 (todo-initials, todo-insert-threshold, todo-item-string-start)
8771 (todo-line-string, todo-menu, todo-mode-hook)
8772 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8773 (todo-print-priorities, todo-remove-separator)
8774 (todo-save-top-priorities-too, todo-string-count-lines)
8775 (todo-string-multiline-p, todo-time-string-format)
8776 (todo-tmp-buffer-name): Remove.
8777 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8778 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8779 (todo-edit-category-diary-inclusion)
8780 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8781 (todo-edit-file, todo-edit-item-date-day)
8782 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8783 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8784 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8785 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8786 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8787 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8788 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8789 (todo-filter-top-priorities-multifile, todo-find-archive)
8790 (todo-find-filtered-items-file, todo-go-to-source-item)
8791 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8792 (todo-jump-to-archive-category, todo-lower-category)
8793 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8794 (todo-move-category, todo-move-item, todo-next-button)
8795 (todo-next-item, todo-padded-string, todo-powerset)
8796 (todo-previous-button, todo-previous-item)
8797 (todo-print-buffer-to-file, todo-raise-category)
8798 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8799 (todo-set-category-number, todo-set-item-priority)
8800 (todo-set-top-priorities-in-category)
8801 (todo-set-top-priorities-in-file, todo-show-categories-table)
8802 (todo-sort-categories-alphabetically-or-numerically)
8803 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8804 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8805 (todo-toggle-item-header, todo-toggle-item-highlighting)
8806 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8807 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8808 (todo-unarchive-items, todo-unmark-category): New commands.
8809 (todo-absolute-file-name, todo-add-to-buffer-list)
8810 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8811 (todo-basic-insert-item, todo-category-completions)
8812 (todo-category-number, todo-category-string-matcher-1)
8813 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8814 (todo-check-format, todo-clear-matches)
8815 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8816 (todo-current-category, todo-date-string-matcher)
8817 (todo-define-insertion-command, todo-diary-expired-matcher)
8818 (todo-diary-goto-entry, todo-diary-item-p)
8819 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8820 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8821 (todo-done-item-section-p, todo-done-separator)
8822 (todo-done-string-matcher, todo-files, todo-filter-items)
8823 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8824 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8825 (todo-insert-category-line, todo-insert-item-from-calendar)
8826 (todo-insert-sort-button, todo-insert-with-overlays)
8827 (todo-insertion-command-name, todo-insertion-key-bindings)
8828 (todo-label-to-key, todo-longest-category-name-length)
8829 (todo-make-categories-list, todo-mode-external-set)
8830 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8831 (todo-modes-set-3, todo-multiple-filter-files)
8832 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8833 (todo-read-category, todo-read-date, todo-read-dayname)
8834 (todo-read-file-name, todo-read-time)
8835 (todo-reevaluate-category-completions-files-defcustom)
8836 (todo-reevaluate-default-file-defcustom)
8837 (todo-reevaluate-filelist-defcustoms)
8838 (todo-reevaluate-filter-files-defcustom)
8839 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8840 (todo-reset-done-separator, todo-reset-done-separator-string)
8841 (todo-reset-done-string, todo-reset-global-current-todo-file)
8842 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8843 (todo-reset-prefix, todo-set-categories)
8844 (todo-set-date-from-calendar, todo-set-show-current-file)
8845 (todo-set-top-priorities, todo-short-file-name)
8846 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8847 (todo-total-item-counts, todo-update-buffer-list)
8848 (todo-update-categories-display, todo-update-categories-sexp)
8849 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8850 New functions.
8851 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8852 New major modes.
8853 (todo-categories, todo-display, todo-edit, todo-faces)
8854 (todo-filtered): New defgroups.
8855 (todo-archived-only, todo-button, todo-category-string, todo-date)
8856 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8857 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8858 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8859 (todo-add-item-if-new-category, todo-always-add-time-string)
8860 (todo-categories-align, todo-categories-archived-label)
8861 (todo-categories-category-label, todo-categories-diary-label)
8862 (todo-categories-done-label, todo-categories-number-separator)
8863 (todo-categories-todo-label, todo-categories-totals-label)
8864 (todo-category-completions-files, todo-completion-ignore-case)
8865 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8866 (todo-done-separator-string, todo-done-string)
8867 (todo-files-function, todo-filter-done-items, todo-filter-files)
8868 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8869 (todo-initial-category, todo-initial-file, todo-item-mark)
8870 (todo-legacy-date-time-regexp, todo-mode-line-function)
8871 (todo-nondiary-marker, todo-number-prefix)
8872 (todo-print-buffer-function, todo-show-current-file)
8873 (todo-show-done-only, todo-show-first, todo-show-with-done)
8874 (todo-skip-archived-categories, todo-top-priorities-overrides)
8875 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8876 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8877 New defcustoms.
8878 (todo-category-done, todo-date-pattern, todo-date-string-start)
8879 (todo-diary-items-buffer, todo-done-string-start)
8880 (todo-filtered-items-buffer, todo-item-start)
8881 (todo-month-abbrev-array, todo-month-name-array)
8882 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8883 (todo-top-priorities-buffer): New defconsts.
8884 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8885 (todo-categories-with-marks, todo-category-string-face)
8886 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8887 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8888 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8889 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8890 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8891 (todo-font-lock-keywords, todo-global-current-todo-file)
8892 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8893 (todo-insertion-commands-args)
8894 (todo-insertion-commands-args-genlist)
8895 (todo-insertion-commands-names, todo-insertion-map)
8896 (todo-key-bindings-t, todo-key-bindings-t+a)
8897 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8898 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8899 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8900 (todo-visited): New variables.
8901
cad5d1cb
GM
89022013-06-21 Glenn Morris <rgm@gnu.org>
8903
8904 * play/cookie1.el (cookie-apropos): Add optional display argument.
8905 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8906 (psychoanalyze-pinhead): Use cookie-doctor.
8907
9e277302
JB
89082013-06-21 Juanma Barranquero <lekktu@gmail.com>
8909
8910 * emacs-lisp/package.el (tar-get-file-descriptor)
8911 (tar--extract): Declare.
8912
c5b0993e
EW
89132013-06-21 Eduard Wiebe <usenet@pusto.de>
8914
8915 Extend flymake's warning predicate to be a function (bug#14217).
8916 * progmodes/flymake.el (flymake-warning-predicate): New.
8917 (flymake-parse-line): Use it.
8918 (flymake-warning-re): Make obsolete alias to
8919 `flymake-warning-predicate'.
8920
a7d2d465
SM
89212013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8922
8923 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8924 (package-obsolete-list): Remove.
8925 (package-activate): Remove min-version argument. Add `force' argument.
8926 Adjust to new package-alist format.
8927 (package-mark-obsolete): Remove.
8928 (package-unpack): Force reload of the package's autoloads.
8929 (package-installed-p): Check builtins if the installed package is not
8930 recent enough.
8931 (package-initialize): Don't reset package-obsolete-list.
8932 Don't specify which package version to activate.
8933 (package-process-define-package, describe-package-1)
8934 (package-menu--generate): Adjust to new package-alist format.
8935
cedf5c9d
JB
89362013-06-21 Juanma Barranquero <lekktu@gmail.com>
8937
8938 * allout-widgets.el (allout-widgets-mode-off)
8939 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8940 (allout-widgets-post-command-business)
8941 (allout-widgets-after-copy-or-kill-function)
8942 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8943 (allout-decorate-item-and-context)
8944 (allout-graphics-modification-handler): Fix typos in docstrings.
8945 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8946
8947 * cmuscheme.el (scheme-start-file): Doc fix.
8948 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8949 (scheme-input-filter): Use `string-match-p'.
8950
8951 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8952
8953 * dired-x.el: Use Dired consistently in docstrings.
8954
8955 * dired.el: Use Dired consistently in docstrings.
8956 (dired-readin, dired-mode): Use `setq-local'.
8957 (dired-switches-alist): Make defvar-local.
8958 (dired-buffers-for-dir): Use `zerop'.
8959 (dired-safe-switches-p, dired-switches-escape-p)
8960 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8961 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8962 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8963 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8964 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8965 (dired-toggle-marks, dired-mark-files-containing-regexp)
8966 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8967 (dired-flag-auto-save-files, dired-flag-backup-files):
8968 Use `looking-at-p'.
8969 (dired-mark-files-regexp, dired-build-subdir-alist):
8970 Use `string-match-p', `looking-at-p'.
8971
8972 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8973 (direct-print-region-helper): Use `string-match-p'.
8974
aed838b5
LL
89752013-06-21 Leo Liu <sdl.web@gmail.com>
8976
cedf5c9d
JB
8977 * comint.el (comint-redirect-results-list-from-process):
8978 Fix infinite loop.
aed838b5 8979
d80a808f
LMI
89802013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8981
8982 * net/eww.el (eww-update-header-line-format): Quote % characters.
8983
e7a526e3
GM
89842013-06-21 Glenn Morris <rgm@gnu.org>
8985
8986 * play/cookie1.el (cookie): New custom group.
8987 (cookie-file): New option.
8988 (cookie-check-file): New function.
8989 (cookie): Make it interactive. Make start and end messages optional.
8990 Interactively, display the result. Default to cookie-file.
8991 (cookie-insert): Default to cookie-file.
8992 (cookie-snarf): Make start and end messages optional.
8993 Default to cookie-file. Use with-temp-buffer.
8994 (cookie-read): Rename from read-cookie.
8995 Make start and end messages optional. Default to cookie-file.
8996 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8997 Do not autoload it.
e7a526e3
GM
8998 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8999 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9000
62efb35e
LL
90012013-06-21 Leo Liu <sdl.web@gmail.com>
9002
9003 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9004
21e3f963
GM
90052013-06-21 Glenn Morris <rgm@gnu.org>
9006
9007 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9008
fd846ab4
SM
90092013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9010 Daniel Hackney <dan@haxney.org>
9011
9012 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9013 Consolidate the single-file vs tarball code.
9014 (package-desc-suffix): New function.
9015 (package-desc-full-name): Don't bother inlining it.
9016 (package-load-descriptor): Return the new package-desc.
9017 (package-mark-obsolete): Remove unused arg `package'.
9018 (package-unpack): Make it work for single files as well.
9019 Make it update package-alist.
9020 (package--make-autoloads-and-stuff): Rename from
9021 package--make-autoloads-and-compile. Don't compile any more.
9022 (package--compile): New function.
9023 (package-generate-description-file): New function, extracted from
9024 package-unpack-single.
9025 (package-unpack-single): Remove.
9026 (package--with-work-buffer): Add indentation and debugging info.
9027 (package-download-single): Remove.
9028 (package-install-from-archive): Rename from package-download-tar, make
9029 it take a pkg-desc, and make it work for single files as well.
9030 (package-download-transaction): Simplify.
9031 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9032 external tar program.
9033 (package-install-from-buffer): Remove `pkg-desc' argument.
9034 Use package-tar-file-info for tar-mode buffers.
9035 (package-install-file): Simplify accordingly.
9036 (package-archive-base): Change to take a pkg-desc.
9037 * tar-mode.el (tar--check-descriptor): New function, extracted from
9038 tar-get-descriptor.
9039 (tar-get-descriptor): Use it.
9040 (tar-get-file-descriptor): New function.
9041 (tar--extract): New function, extracted from tar-extract.
9042 (tar--extract): Use it.
9043 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9044 case the summary uses non-ascii. Adjust to new calling convention of
9045 package-tar-file-info.
9046
b7deae5e
LL
90472013-06-21 Leo Liu <sdl.web@gmail.com>
9048
fd846ab4
SM
9049 * comint.el (comint-redirect-results-list-from-process):
9050 Fix random delay. (Bug#14681)
b7deae5e 9051
7a65a0b2
JB
90522013-06-21 Juanma Barranquero <lekktu@gmail.com>
9053
9054 * profiler.el (profiler-format-number): Use log, not log10.
9055
1493c2af
JB
90562013-06-20 Juanma Barranquero <lekktu@gmail.com>
9057
9058 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9059
aff6371e
SM
90602013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9061
9062 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9063 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9064 yet available.
9065 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9066 (AUTOGENEL): ... here.
9067 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9068 (cl--defsubst-expand): Use it.
9069
89561f72
PE
90702013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9071
9072 * subr.el (log10): Move here from C code, and declare as obsolete.
9073 All uses of (log10 X) replaced with (log X 10).
9074
47199123
JB
90752013-06-20 Juanma Barranquero <lekktu@gmail.com>
9076
9077 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9078 Declare with `defvar-local'.
9079 (tabulated-list-use-header-line, tabulated-list-entries)
9080 (tabulated-list-padding, tabulated-list-printer)
9081 (tabulated-list-sort-key): Declare with `defvar-local'.
9082 (tabulated-list-init-header, tabulated-list-print-fake-header):
9083 Use `setq-local'.
9084
4a172eab
MA
90852013-06-20 Michael Albinus <michael.albinus@gmx.de>
9086
47199123
JB
9087 * arc-mode.el (archive-mode): Add `archive-write-file' to
9088 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 9089
5fc0acc0
JB
90902013-06-20 Juanma Barranquero <lekktu@gmail.com>
9091
d5b27848
JB
9092 * cus-edit.el (custom-commands): Fix typos.
9093 (custom-display): Fix tooltip text.
9094 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9095 Fix typos in docstrings.
9096 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9097 (custom-unlispify-menu-entry, custom-magic-value-create)
9098 (custom-add-see-also, custom-group-value-create): Use ?\s.
9099 (custom-guess-type, customize-apropos, editable-field)
9100 (custom-face-value-create): Use `string-match-p'.
9101 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9102
9103 * custom.el (custom-load-symbol): Use `string-match-p'.
9104
a5c581d8
JB
9105 * ansi-color.el: Convert to lexical binding.
9106 (ansi-colors): Fix URL.
9107 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9108 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9109 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9110
970ad972
G
91112013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9112
9113 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9114
9115 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9116
91172013-06-19 Tom Tromey <tromey@redhat.com>
9118
9119 * net/eww.el (eww-top-url): Remove.
9120 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9121 (eww-render): Set new variables. Don't set eww-top-url.
9122 (eww-handle-link): Handle "prev", "home", and "contents".
9123 Downcase the rel text.
9124 (eww-top-url): Choose best top URL.
9125
91262013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9127
9128 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9129 relying in widget.el. Using widget.el leads to too many
9130 user interface inconsistencies.
9131 (eww-self-insert): Implement entering commands in text fields.
9132 (eww-process-text-input): New function to make text input field editing
9133 work.
9134 (eww-submit): Rewrite to use the new-style form methods.
9135 (eww-select-display): Display the correct selected item.
9136 (eww-change-select): Implement changing the select value.
9137 (eww-toggle-checkbox): Implement radio/checkboxes.
9138 (eww-update-field): Fix compilation error.
9139 (eww-tag-textarea): Implement <textarea>.
9140
9141 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9142 we don't shadow mode-specific bindings.
9143
9144 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9145 nothing to push.
9146
9147 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9148
4582a01c 91492013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9150
9151 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9152
15b263dc
MA
91532013-06-19 Michael Albinus <michael.albinus@gmx.de>
9154
9155 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9156 not needed.
9157
9158 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9159
8f5297f7
LMI
91602013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9161
9162 * net/browse-url.el (browse-url-browser-function):
9163 `eww-browse-url' has the right calling signature, `eww' does not.
9164
011c4552
GM
91652013-06-19 Glenn Morris <rgm@gnu.org>
9166
2285bd27
GM
9167 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9168 Only eval autoloaded macros.
9169 (byte-compile-autoload): Only give the macro warning for macros.
9170
1d653303
GM
9171 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9172 (ps-underlined-faces): Declare.
9173
bdd779ec
GM
9174 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9175 (speedbar-add-supported-extension): Declare.
9176
011c4552
GM
9177 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9178 Don't include a date stamp in the header of the generated file;
9179 it leads to needless differences between output files.
9180
e59dfb0e
MA
91812013-06-19 Michael Albinus <michael.albinus@gmx.de>
9182
c763842b
SM
9183 * net/secrets.el (secrets-struct-secret-content-type):
9184 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9185 Some servers do not offer introspection.
e59dfb0e 9186
102626e2
SM
91872013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9188
9189 * electric.el (electric-pair-mode): Improve interaction with
9190 electric-layout-mode.
9191 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9192 (electric-pair-syntax): Use text-mode-syntax-table in comments
9193 and strings.
9194 (electric-pair--insert): New function.
9195 (electric-pair-post-self-insert-function): Use it and
9196 electric--after-char-pos.
9197
ad528125
LL
91982013-06-19 Leo Liu <sdl.web@gmail.com>
9199
9200 * progmodes/octave.el (octave-help): Fix regexp.
9201
924d6997
G
92022013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9203
9204 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9205 (shr-table-horizontal-line): Allow nil as a value, and change the
9206 default.
9207 (shr-insert-table-ruler): Respect the nil value.
9208
92092013-06-18 Tom Tromey <tromey@barimba>
9210
9211 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9212 New defvars.
9213 (eww-open-file): New defun.
9214 (eww-render): Initialize new variables.
9215 (eww-display-html): Handle "link" and "a".
9216 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9217 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9218 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9219 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9220 New defuns.
924d6997 9221
d1bbba4f
DG
92222013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9223
9224 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9225 Distinguish ternary operator tokens from slash symbol and slash
9226 char literal.
9227
14dd22d2
JB
92282013-06-18 Juanma Barranquero <lekktu@gmail.com>
9229
9230 Convert symbol prettification into minor mode and global minor mode.
9231
9232 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9233 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9234 (prettify-symbols--keywords): Rename from
9235 `prog-prettify-symbols-alist' and make a local defvar.
9236 (prettify-symbols--compose-symbol): Rename from
9237 `prog--prettify-font-lock-compose-symbol'.
9238 (prettify-symbols--make-keywords): Rename from
9239 `prog-prettify-font-lock-symbols-keywords' and simplify.
9240 (prog-prettify-install): Remove.
9241 (prettify-symbols-mode): New minor mode, based on
9242 `prog-prettify-install'.
9243 (turn-on-prettify-symbols-mode): New function.
9244 (global-prettify-symbols-mode): New globalized minor mode.
9245
9246 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9247 * progmodes/cfengine.el (cfengine3-mode):
9248 * progmodes/perl-mode.el (perl-mode): Don't call
9249 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9250
292c880c
JL
92512013-06-18 Juri Linkov <juri@jurta.org>
9252
9253 * files-x.el (modify-file-local-variable-message): New function.
9254 (modify-file-local-variable)
9255 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9256 and call `modify-file-local-variable-message' when it's non-nil.
9257 (add-file-local-variable, delete-file-local-variable)
9258 (add-file-local-variable-prop-line)
9259 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9260 and use it. (Bug#9820)
9261
0950aa27
JL
92622013-06-18 Juri Linkov <juri@jurta.org>
9263
9264 * emulation/vi.el (vi-shell-op):
9265 * emulation/vip.el (vip-execute-com, ex-command):
9266 * emulation/viper-cmd.el (viper-exec-bang):
9267 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9268 the call of `shell-command-on-region'. (Bug#14637)
9269
9270 * simple.el (shell-command-on-region): Doc fix.
9271
8fbcca16
SM
92722013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9273
9274 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9275 (bug#14633).
9276
dd7426ea
GM
92772013-06-18 Glenn Morris <rgm@gnu.org>
9278
4ba54f7d
GM
9279 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9280
dd7426ea
GM
9281 * newcomment.el (comment-search-forward, comment-search-backward):
9282 Doc fix. (Bug#14376)
9283
58aa805b
JB
92842013-06-18 Juanma Barranquero <lekktu@gmail.com>
9285
9286 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9287 (buffer-face-mode-invoke): Doc fix.
9288
9a08a617
MM
92892013-06-18 Matthias Meulien <orontee@gmail.com>
9290
9291 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9292 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9293
f2f426ca
GM
92942013-06-18 Glenn Morris <rgm@gnu.org>
9295
9445f99b
GM
9296 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9297 Replace obsolete function generic-make-keywords with its expansion.
9298
e0df2d14
GM
9299 * progmodes/python.el (ffap-alist): Declare.
9300
f2f426ca
GM
9301 * textmodes/reftex.el (bibtex-mode-map): Declare.
9302
f7f9a720
SM
93032013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9306 (package-unpack, package-unpack-single): Return the pkg-dir.
9307 (package-download-transaction): Use it to update package-alist.
9308
57ff04e0
LMI
93092013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9310
9311 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9312 possible choice.
9313
c048c022
JL
93142013-06-17 Juri Linkov <juri@jurta.org>
9315
9316 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9317
b5bcaee5
DG
93182013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9319
a020afb9
JB
9320 * emacs-lisp/package.el (package-load-descriptor):
9321 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9322 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9323
551e07e5
JB
93242013-06-17 Juanma Barranquero <lekktu@gmail.com>
9325
9326 * startup.el (command-line): Expand package name returned by
9327 `package--description-file' (bug#14639).
9328
d363bffb
DG
93292013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9330
9331 * emacs-lisp/package.el (package-load-descriptor): Do not call
9332 `emacs-lisp-mode', just use its syntax table.
9333
f612933b
JB
93342013-06-17 Juanma Barranquero <lekktu@gmail.com>
9335
9336 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9337 `font-lock-extra-managed-props' if any prettifying keyword is added.
9338 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9339 (prog-mode): Use `setq-local'.
9340
db3b7db5
SM
93412013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9342
9343 * international/characters.el (standard-case-table): Set syntax of ?»
9344 and ?« to punctuation.
9345
f3d674df
JB
93462013-06-16 Juanma Barranquero <lekktu@gmail.com>
9347
9348 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9349 Save relevant match data before calling `syntax-ppss' (bug#14595).
9350
31489a32
JL
93512013-06-15 Juri Linkov <juri@jurta.org>
9352
9353 * files-x.el (modify-file-local-variable-prop-line): Add local
9354 variables to the end of the existing comment on the first line.
9355 Use `file-auto-mode-skip' to skip interpreter magic line,
9356 and also skip XML declaration.
9357
66bd25ab
SM
93582013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 * startup.el (package--builtin-versions): New var.
9361 (package-subdirectory-regexp): Remove.
9362 (package--description-file): Hard code its value instead.
9363
9364 * emacs-lisp/package.el: Don't activate packages older than builtin.
9365 (package-obsolete-list): Rename from package-obsolete-alist, and make
9366 it into a simple list of package-desc.
9367 (package-strip-version): Remove.
9368 (package-built-in-p): Use package--builtin-versions.
9369 (package-mark-obsolete): Simplify.
9370 (package-process-define-package): Mark it obsolete if older than the
9371 builtin version.
9372 (package-handle-response): Use line-end-position.
9373 (package-read-archive-contents, package--download-one-archive):
9374 Simplify.
9375 (package--add-to-archive-contents): Skip if older than the builtin or
9376 installed version.
9377 (package-menu-describe-package): Fix last change.
9378 (package-list-unversioned): New var.
9379 (package-menu--generate): Use it.
9380
9381 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9382 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9383 (autoload-builtin-package-versions): New variable.
9384 (autoload-generate-file-autoloads): Use them.
9385 Remove the list of autoloaded functions/macros from the
9386 (autoload...) comments.
9387
9388 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9389
9583ec36
EZ
93902013-06-15 Eli Zaretskii <eliz@gnu.org>
9391
9392 * simple.el (line-move-partial): Don't jump to the next screen
9393 line as soon as it becomes visible. Instead, continue enlarging
9394 the vscroll until the portion of a tall screen line that's left on
9395 display is about the height of the frame's default font.
9396 (Bug#14567)
9397
f0100d8a
GM
93982013-06-15 Glenn Morris <rgm@gnu.org>
9399
b86a85ca
GM
9400 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9401 compilation-error-regexp-alist void, or local while let-bound.
9402
f0100d8a
GM
9403 * progmodes/make-mode.el (makefile-mode-syntax-table):
9404 Treat "=" as punctuation. (Bug#14614)
9405
05e7ce90
JB
94062013-06-15 Juanma Barranquero <lekktu@gmail.com>
9407
9408 * help-fns.el (describe-variable):
9409 Add extra line for permanent-local variables.
9410
12e5e86e
SH
94112013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9412
9413 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9414 Add export, import, library. (Bug#9164)
9415 (library): Set indent function.
9416
230dcbaf
GM
94172013-06-14 Glenn Morris <rgm@gnu.org>
9418
9419 * term/xterm.el (xterm--query):
9420 Stop after first matching handler. (Bug#14615)
9421
e36b2d20 94222013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9423
9424 Add support for dired in saveplace.
9425 * dired.el (dired-initial-position-hook): New variable.
9426 (dired-initial-position): Call hook to place cursor position.
9427 * saveplace.el (save-place-to-alist): Add dired position.
9428 (save-place-dired-hook): New function.
9429
0b31660d
SM
94302013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9431
bf1e6ae8
SM
9432 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9433 through a symbol rather than letrec.
9434
1b8dff23
SM
9435 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9436 (package-desc): Add `dir' field.
9437 (package-desc-full-name): New function.
9438 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9439 (package-maybe-load-descriptor): Remove.
9440 (package-load-all-descriptors): Just call package-load-descriptor.
9441 (package--disabled-p): New function.
9442 (package-desc-vers, package-desc-doc): Remove aliases.
9443 (package--dir): Remove function.
9444 (package-activate): Check if a package is disabled.
9445 (package-process-define-package): New function, extracted from
9446 define-package.
9447 (define-package): Turn into a place holder.
9448 (package-unpack-single, package-tar-file-info):
9449 Use package--description-file.
9450 (package-compute-transaction): Use package--disabled-p.
9451 (package-download-transaction): Don't call
9452 package-maybe-load-descriptor since they're all loaded anyway.
9453 (package-install): Change argument to be a pkg-desc.
9454 (package-delete): Use a single pkg-desc argument.
9455 (describe-package-1): Use package-desc-dir instead of package--dir.
9456 Use package-desc property instead of package-symbol.
9457 (package-install-button-action): Adjust accordingly.
9458 (package--push): Rewrite.
9459 (package-menu--print-info): Adjust accordingly. Change the ID format
9460 to be a pkg-desc.
9461 (package-menu-describe-package, package-menu-get-status)
9462 (package-menu--find-upgrades, package-menu-mark-upgrades)
9463 (package-menu-execute, package-menu--name-predicate):
9464 Adjust accordingly.
9465 * startup.el (package--description-file): New function.
9466 (command-line): Use it.
9467 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9468 Use package-desc-version.
9469
0b31660d
SM
9470 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9471 (byte-compile-preprocess): Use it.
9472 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9473 can't quite recognize.
9474 (byte-compile-add-to-list): Remove.
9475 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9476 (cconv-closure-convert): Add assertion.
9477
9478 * emacs-lisp/map-ynp.el: Use lexical-binding.
9479 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9480 Factor out some repeated code.
9481
de0503df
SM
94822013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * subr.el (with-eval-after-load): New macro.
9485 (eval-after-load): Allow form to be a function.
9486 take advantage of lexical-binding.
9487 (do-after-load-evaluation): Use dolist and adjust to new format.
9488 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9489
bc5c8c5a
JL
94902013-06-13 Juri Linkov <juri@jurta.org>
9491
9492 * replace.el (perform-replace): Display "symbol " and other search
9493 modes from `isearch-message-prefix' in the *Help* buffer.
9494
9495 * isearch.el (isearch-query-replace): Add " symbol" and other
9496 possible search modes from `isearch-message-prefix' to the prompt.
9497 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9498 when reading a regexp to collect.
9499
a22289f7
JL
95002013-06-13 Juri Linkov <juri@jurta.org>
9501
9502 * isearch.el (word-search-regexp): Match whitespace if the search
9503 string begins or ends in whitespace. The LAX arg is applied to
9504 both ends of the search string. Use `regexp-quote' and explicit
9505 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9506 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9507 boundaries are replaced with symbol boundaries, and characters
9508 between symbols match non-word non-symbol syntax. (Bug#14602)
9509
cb89acab
JL
95102013-06-13 Juri Linkov <juri@jurta.org>
9511
9512 * isearch.el (isearch-del-char): Don't exceed the length of
9513 `isearch-string' by the prefix arg. (Bug#14563)
9514
6e8cfc81
JL
95152013-06-13 Juri Linkov <juri@jurta.org>
9516
9517 * isearch.el (isearch-yank-word, isearch-yank-line)
9518 (isearch-char-by-name, isearch-quote-char)
9519 (isearch-printing-char, isearch-process-search-char):
9520 Add optional count prefix arg. (Bug#14563)
9521
9522 * international/isearch-x.el
9523 (isearch-process-search-multibyte-characters):
9524 Add optional count prefix arg.
9525
c23d55f4
VS
95262013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9527
9528 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9529 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9530 lexical-binding.
9531
95322013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9533
9534 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9535
ba947bc4
GM
95362013-06-13 Glenn Morris <rgm@gnu.org>
9537
8baeb37a
GM
9538 * startup.el (tty-handle-args):
9539 Don't just discard "--" and anything after. (Bug#14608)
9540
ba947bc4
GM
9541 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9542
9abefce4
MA
95432013-06-13 Michael Albinus <michael.albinus@gmx.de>
9544
9545 Implement changes in Secret Service API. Make it backward compatible.
9546 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9547 (secrets-create-item): Use it. Prefix properties with interface.
9548
5755011f
MH
95492013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9550
9551 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9552 (term-emulate-terminal): Respect term-suppress-hard-newline.
9553
1261d2da
S
95542013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9555
9556 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9557 Only remove a `thumb-file' overlay. (Bug#14548)
9558
868490bb
GJ
95592013-06-12 Grégoire Jadi <daimrod@gmail.com>
9560
9561 * mail/reporter.el (reporter-submit-bug-report):
9562 Handle missing package-name. (Bug#14600)
9563
79d7167f
TH
95642013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9565
9566 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9567 (reftex-citation-prompt, reftex-default-bibliography)
9568 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9569 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9570 (reftex-bib-sort-author, reftex-bib-sort-year)
9571 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9572 (reftex-extract-bib-entries-from-thebibliography)
9573 (reftex-get-bibkey-default, reftex-get-bib-names)
9574 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9575 (reftex-format-bib-entry, reftex-parse-bibitem)
9576 (reftex-format-bibitem, reftex-do-citation)
9577 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9578 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9579 (reftex-insert-bib-matches, reftex-format-citation)
9580 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9581 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9582 existing comments into docstrings.
9583
5f9dbd7a
XF
95842013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9585
9586 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9587
94df41ab
AS
95882013-06-12 Andreas Schwab <schwab@suse.de>
9589
9590 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9591 for auto-save files.
9592
a7f3fecc
GM
95932013-06-12 Glenn Morris <rgm@gnu.org>
9594
001809f6
GM
9595 * ido.el (ido-delete-ignored-files): Remove.
9596 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9597 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9598
834b5ded
EL
95992013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9600
08c73ed2
EL
9601 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9602
834b5ded
EL
9603 * ido.el (ido-delete-ignored-files): New function,
9604 split from ido-make-file-list-1.
9605 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9606 (ido-make-file-list-1): Use ido-delete-ignored-files.
9607
daabf15a
LL
96082013-06-12 Leo Liu <sdl.web@gmail.com>
9609
9610 * progmodes/octave.el (inferior-octave-startup)
9611 (inferior-octave-completion-table)
9612 (inferior-octave-track-window-width-change)
9613 (octave-eldoc-function-signatures, octave-help)
9614 (octave-find-definition): Use single quoted strings.
9615 (inferior-octave-startup-args): Change default value.
9616 (inferior-octave-startup): Do not hard code "-i" and
9617 "--no-line-editing".
9618 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9619 (inferior-octave-directory-tracker): Use it.
9620 (octave-goto-function-definition): Robustify.
9621 (octave-help): Support highlighting operators in 'See also'.
9622 (octave-find-definition): Find subfunctions only in Octave mode.
9623
cf4e5178
SM
96242013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * help-fns.el (help-fns--compiler-macro): If the handler function is
9627 named, then put a link to it.
9628 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9629 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9630 (cl-typep): Use it.
9631 (cl-eval-when): Simplify debug spec.
9632 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9633 compiler-macro function instead of setting `compiler-macro-file'.
9634
99c81280 96352013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9636
9637 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9638 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9639
f56be016
SM
96402013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9641 Daniel Hackney <dan@haxney.org>
9642
9643 First part of Daniel Hackney's patch to package.el.
9644 * emacs-lisp/package.el: Use defstruct.
9645 (package-desc): New, main struct.
9646 (package--bi-desc, package--ac-desc): New structs, used to describe the
9647 format in external files.
9648 (package-desc-vers): Replace with package-desc-version accessor.
9649 (package-desc-doc): Replace with package-desc-summary accessor.
9650 (package-activate-1): Remove `package' arg since the pkg-vec now
9651 includes the name.
9652 (define-package): Use package-desc-from-define.
9653 (package-unpack-single): Change file-name arg to be a symbol.
9654 (package--add-to-archive-contents): Use package-desc-create and new
9655 accessor functions to package--ac-desc.
9656 (package-buffer-info, package-tar-file-info): Return a package-desc.
9657 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9658 arg to be a package-desc.
9659 (package-install-file): Adjust accordingly. Use \' to match EOS.
9660 (package--from-builtin): New function.
9661 (describe-package-1, package-menu--generate): Use it.
9662 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9663 (package-generate-autoloads): Idem and return the name of the file.
9664 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9665 Change pkg-info arg to be a package-desc.
9666 Use package-make-ac-desc.
9667 (package-upload-file): Use \' to match EOS.
9668 * finder.el (finder-compile-keywords): Use package-make-builtin.
9669
31119d63
SM
96702013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9671
931a2762
SM
9672 * vc/vc.el (vc-deduce-fileset): Change error message.
9673 (vc-read-backend): New function.
9674 (vc-next-action): Use it.
9675
5a3eb0c6
SM
9676 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9677
e3eb1bb7
SM
9678 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9679 (prolog-font-lock-keywords): Use regexp-opt instead.
9680 Don't manually highlight strings.
9681 (prolog-mode-variables): Simplify comment-start-skip.
9682 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9683
31119d63
SM
9684 * emacs-lisp/generic.el (generic--normalise-comments)
9685 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9686 (generic-mode-set-comments): Use them.
9687 (generic-bracket-support): Use setq-local.
9688 (generic-make-keywords-list): Declare obsolete.
9689
7de135d0
GM
96902013-06-11 Glenn Morris <rgm@gnu.org>
9691
9692 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9693 Prettify after setting font-lock-defaults. (Bug#14574)
9694
fa6bc6fd
JB
96952013-06-11 Juanma Barranquero <lekktu@gmail.com>
9696
9697 * replace.el (query-replace, occur-read-regexp-defaults-function)
9698 (replace-search):
9699 * subr.el (declare-function, number-sequence, local-set-key)
9700 (substitute-key-definition, locate-user-emacs-file)
9701 (with-silent-modifications, split-string, eval-after-load):
9702 Fix typos, remove unneeded backslashes and reflow some docstrings.
9703
cf1f9b9a
SM
97042013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9705
9706 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9707 default for Elisp files.
9708
56602a4b
GM
97092013-06-11 Glenn Morris <rgm@gnu.org>
9710
9711 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9712 although define-derived-mode was doing this anyway. (Bug#14583)
9713
30ae0b2c
JB
97142013-06-10 Juanma Barranquero <lekktu@gmail.com>
9715
9716 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9717 Fix make-variable-buffer-local call to refer to the correct variable.
9718
fa472906
AG
97192013-06-10 Aidan Gauland <aidalgol@amuri.net>
9720
9721 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9722 (eshell-visual-subcommands, eshell-visual-options):
9723 Add summary line to docstrings. Add cross-references.
fa472906 9724
ff4871b9
GM
97252013-06-10 Glenn Morris <rgm@gnu.org>
9726
9727 * epa.el (epa-read-file-name): New function. (Bug#14510)
9728 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9729
04fcf1b0
AG
97302013-06-09 Aidan Gauland <aidalgol@amuri.net>
9731
9732 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9733 output redirection to be ignored with visual commands.
9734
88b00caa
AG
97352013-06-09 Aidan Gauland <aidalgol@amuri.net>
9736
9737 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9738 (eshell-term-initialize): Move long lambda to separate function
9739 eshell-visual-command-p.
e7b41c4c
JB
9740 * eshell/em-dirs.el (eshell-dirs-initialise):
9741 * eshell/em-script.el (eshell-script-initialize):
9742 Add missing #' to lambda.
88b00caa 9743
fda74125
LL
97442013-06-08 Leo Liu <sdl.web@gmail.com>
9745
9746 * progmodes/octave.el (octave-add-log-current-defun): New function.
9747 (octave-mode): Set add-log-current-defun-function.
9748 (octave-goto-function-definition): Do not move point if not found.
9749 (octave-find-definition): Enhance to try subfunctions first.
9750
467f3b33
GM
97512013-06-08 Glenn Morris <rgm@gnu.org>
9752
9753 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9754 (byte-compile-backward-char, byte-compile-backward-word):
9755 Improve previous change, to handle non-explicit nil.
9756
544badc3
SM
97572013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9758
9759 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9760 (smie--opener/closer-at-point): New function.
9761 (smie--matching-block-data): Use it. Don't match from right after an
9762 opener or right before a closer. Obey smie-blink-matching-inners.
9763 Don't signal a mismatch for repeated inners like "switch..case..case".
9764
a175bf33
LL
97652013-06-07 Leo Liu <sdl.web@gmail.com>
9766
9767 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9768 to t. (Bug#14303)
ce8209d4
LL
9769 (octave-function-header-regexp): Fix. (Bug#14570)
9770 (octave-help-mode-finish-hook, octave-help-mode-finish):
9771 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9772
9773 * newcomment.el (comment-search-backward): Revert last change.
9774 (Bug#14434)
9775
9776 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9777
a822acff
EZ
97782013-06-07 Eli Zaretskii <eliz@gnu.org>
9779
9780 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9781 through xargs, to avoid failure due to MS-Windows limitations on
9782 command-line length.
9783
961166f5
GM
97842013-06-06 Glenn Morris <rgm@gnu.org>
9785
d0341459
GM
9786 * font-lock.el (lisp-font-lock-keywords-2):
9787 Treat user-error like error.
9788
961166f5
GM
9789 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9790 (byte-compile-backward-char, byte-compile-backward-word):
9791 Handle explicit nil arguments. (Bug#14565)
9792
80fa505f
AM
97932013-06-05 Alan Mackenzie <acm@muc.de>
9794
9795 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9796 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9797 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9798 (Bug#9706)
80fa505f 9799
fccdc796
SM
98002013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9801
9802 * autorevert.el (auto-revert-notify-handler): Use memq.
9803 Hide assertion failure.
9804
9805 * skeleton.el: Use cl-lib.
9806 (skeleton-further-elements): Use defvar-local.
9807 (skeleton-insert): Use cl-progv.
9808
9bfff84b
TZ
98092013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9810
9811 * progmodes/prog-mode.el (prog-prettify-symbols)
9812 (prog-prettify-install): Update docstrings.
9813
55577e7c
SM
98142013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9815
9816 * simple.el: Move all the prog-mode code to prog-mode.el.
9817 * progmodes/prog-mode.el: New file.
9818 * loadup.el: Add prog-mode.el.
9819
8fc57765
TZ
98202013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9821
9822 * simple.el (prog-prettify-symbols): Add version.
9823 (prog-prettify-install): Add convenience function to prettify symbols.
9824
9825 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9826 (perl--augmented-font-lock-keywords-1)
9827 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9828 variables and use it.
9829
9830 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9831 (cfengine3-mode): Remove unneeded variable and use it.
9832
9833 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9834 (lisp--augmented-font-lock-keywords-1)
9835 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9836 Remove unneeded variables and use it.
9837
650645d5 98382013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9839
9840 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9841 to point when opening the connection. (Bug#14380)
28f5da6d 9842
781b4af6
SM
98432013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9844
9845 * subr.el (load-history-regexp, load-history-filename-element)
9846 (eval-after-load, after-load-functions, do-after-load-evaluation)
9847 (eval-next-after-load, display-delayed-warnings)
9848 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9849 definition of save-match-data.
9850 (overriding-local-map): Remove accidental obsolescence declaration.
9851
9852 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9853
3ca0d0b4
TZ
98542013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9855
9856 Generalize symbol prettify support to prog-mode and implement it
9857 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9858 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9859 (prog--prettify-font-lock-compose-symbol)
9860 (prog-prettify-font-lock-symbols-keywords): New variables and
9861 functions to support symbol prettification.
9862 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9863 (lisp--augmented-font-lock-keywords-1)
9864 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9865 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9866 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9867 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9868 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9869 * progmodes/perl-mode.el (perl-prettify-symbols)
9870 (perl--font-lock-compose-symbol)
9871 (perl--font-lock-symbols-keywords): Move to prog-mode.
9872 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9873 (perl-font-lock-keywords-1)
9874 (perl-font-lock-keywords-2): Remove explicit prettify support.
9875 (perl--augmented-font-lock-keywords)
9876 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9877 (perl--augmented-font-lock-keywords-2, perl-mode):
9878 Implement prettify support.
3ca0d0b4 9879
976cb066
LL
98802013-06-05 Leo Liu <sdl.web@gmail.com>
9881
9882 Re-implement smie matching block highlight using
9883 show-paren-data-function. (Bug#14395)
9884 * emacs-lisp/smie.el (smie-matching-block-highlight)
9885 (smie--highlight-matching-block-overlay)
9886 (smie--highlight-matching-block-lastpos)
9887 (smie-highlight-matching-block)
9888 (smie-highlight-matching-block-mode): Remove.
9889 (smie--matching-block-data-cache): New variable.
9890 (smie--matching-block-data): New function.
9891 (smie-setup): Use smie--matching-block-data for
9892 show-paren-data-function.
9893
9894 * progmodes/octave.el (octave-mode-menu): Fix.
9895 (octave-find-definition): Skip garbage lines.
9896
208d0342
SM
98972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9898
9899 Fix compilation error with simultaneous dynamic+lexical scoping.
9900 Add warning when a defvar appears after the first let-binding.
9901 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9902 (byte-compile-close-variables): Initialize it.
9903 (byte-compile--declare-var): New function.
9904 (byte-compile-file-form-defvar)
9905 (byte-compile-file-form-define-abbrev-table)
9906 (byte-compile-file-form-custom-declare-variable): Use it.
9907 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9908 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9909 (byte-compile-bind): Handle dynamic bindings that shadow
9910 lexical bindings.
9911 (byte-compile-unbind): Make arg non-optional.
9912 (byte-compile-let): Simplify.
9913 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9914 (cconv--analyse-function, cconv-analyse-form): Populate it.
9915 Protect byte-compile-bound-variables to limit the scope of defvars.
9916 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9917 Remove unneeded rule for `declare'.
9918
9919 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9920 so as to avoid depending on cl-adjoin at run-time.
9921 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9922
9923 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9924 (macroexp--warn-and-return): Use it.
9925
1ac2891e
GM
99262013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9927
a12bf61e 9928 * subr.el: Convert to lexical binding.
1ac2891e
GM
9929 (overriding-local-map): Make obsolete.
9930 (add-to-list): Doc fix. Add compiler macro.
9931 (read-key): Swap values of local maps.
9932
2587b005
LL
99332013-06-05 Leo Liu <sdl.web@gmail.com>
9934
9935 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9936
f1da3c88
LL
99372013-06-04 Leo Liu <sdl.web@gmail.com>
9938
9939 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9940 (compilation-auto-jump): Suppress the "Mark set" message to give
9941 way to exit message.
9942
3caa391f
AM
99432013-06-04 Alan Mackenzie <acm@muc.de>
9944
9945 Remove faulty optimisation from indentation calculation.
9946 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9947 search limit based on 2000 characters back from indent-point.
9948
068922a2
TH
99492013-06-03 Tassilo Horn <tsdh@gnu.org>
9950
9951 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9952
1f8fdd53
SM
99532013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9954
bbcc4d97
SM
9955 * emacs-lisp/lisp.el: Use lexical-binding.
9956 (lisp--local-variables-1, lisp--local-variables): New functions.
9957 (lisp--local-variables-completion-table): New var.
208d0342 9958 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9959
1f8fdd53
SM
9960 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9961 eagerly (bug#14422).
9962
c9628c79
MA
99632013-06-03 Michael Albinus <michael.albinus@gmx.de>
9964
9965 * autorevert.el (auto-revert-notify-enabled)
9966 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9967 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9968 (auto-revert-notify-handler): Handle also gfilenotify.
9969
e7b41c4c 9970 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9971 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9972 Remove.
c9628c79 9973
e5e4a942
JL
99742013-06-03 Juri Linkov <juri@jurta.org>
9975
9976 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9977 `M-s h .'. (Bug#14427)
9978
9979 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9980 command `hi-lock-face-symbol-at-point'.
9981 (hi-lock-face-symbol-at-point): New command.
9982 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9983 (hi-lock-menu): Add `highlight-symbol-at-point'.
9984 (hi-lock-mode): Doc fix.
9985
9986 * isearch.el (isearch-forward-symbol-at-point): New command.
9987 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9988 (isearch-highlight-regexp): Add a regexp which matches
9989 words/symbols for word/symbol mode.
9990
9991 * subr.el (find-tag-default-bounds): New function with the body
9992 mostly moved from `find-tag-default'.
9993 (find-tag-default): Move most code to `find-tag-default-bounds',
9994 call it and apply `buffer-substring-no-properties' afterwards.
9995
26b3353a
TH
99962013-06-03 Tassilo Horn <tsdh@gnu.org>
9997
781b4af6
SM
9998 * eshell/em-term.el (eshell-term-initialize):
9999 Use `cl-intersection' rather than `intersection'.
26b3353a 10000
51b60f53
XF
100012013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10002
fe054b63 10003 * vc/log-view.el: Doc fix.
d3ffe17c 10004 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 10005
a0eb10b3 100062013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
10007
10008 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10009 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10010 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10011 (eieio-unbound, eieio-default-superclass)
10012 (eieio--define-field-accessors, method-static, method-before)
10013 (method-primary, method-after, method-num-lists)
10014 (method-generic-before, method-generic-primary)
10015 (method-generic-after, method-num-slots)
10016 (eieio-specialized-key-to-generic-key)
10017 (eieio--check-type, class-v, class-p)
10018 (eieio-class-name, define-obsolete-function-alias)
10019 (eieio-class-parents-fast, eieio-class-children-fast)
10020 (same-class-fast-p, class-constructor, generic-p)
10021 (generic-primary-only-p, generic-primary-only-one-p)
10022 (class-option-assoc, class-option, eieio-object-p)
10023 (class-abstract-p, class-method-invocation-order)
10024 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10025 (eieio-class-un-autoload, eieio-defclass)
10026 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10027 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10028 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10029 (eieio-defgeneric-reset-generic-form)
10030 (eieio-defgeneric-form-primary-only)
10031 (eieio-defgeneric-reset-generic-form-primary-only)
10032 (eieio-defgeneric-form-primary-only-one)
10033 (eieio-defgeneric-reset-generic-form-primary-only-one)
10034 (eieio-unbind-method-implementations)
10035 (eieio--defmethod, eieio--typep)
10036 (eieio-perform-slot-validation, eieio-validate-slot-value)
10037 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10038 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10039 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10040 (eieio-slot-name-index, eieio-class-slot-name-index)
10041 (eieio-set-defaults, eieio-initarg-to-attribute)
10042 (eieio-attribute-to-initarg, eieio-c3-candidate)
10043 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10044 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10045 (eieio-class-precedence-list, eieio-generic-call-methodname)
10046 (eieio-generic-call-arglst, eieio-generic-call-key)
10047 (eieio-generic-call-next-method-list)
10048 (eieio-pre-method-execution-functions, eieio-generic-call)
10049 (eieio-generic-call-primary-only, eieiomt-method-list)
10050 (eieiomt-optimizing-obarray, eieiomt-install)
10051 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10052 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 10053 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
10054 (defclass): Remove `eval-and-compile' from macro.
10055 (call-next-method, shared-initialize): Instead of using
10056 `scoped-class' variable, use new eieio--scoped-class, and
10057 eieio--with-scoped-class.
10058 (initialize-instance): Rename local variable 'scoped-class' to
10059 'this-class' to remove ambiguitity from old global.
10060
10061 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10062 eieio.el.
4f405069
JB
10063 (eieio--scoped-class-stack): New variable.
10064 (eieio--scoped-class): New fcn.
890f7890
DE
10065 (eieio--with-scoped-class): New scoping macro.
10066 (eieio-defclass): Use pushnew instead of add-to-list.
10067 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10068 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10069 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10070 `scoped-class' variable, use new eieio--scoped-class, and
10071 eieio--with-scoped-class.
10072
10073 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10074
d105b0e2
TH
100752013-06-02 Tassilo Horn <tsdh@gnu.org>
10076
10077 * eshell/esh-ext.el (eshell-external-command): Pass args to
10078 `eshell-find-interpreter'.
10079 (eshell-find-interpreter): Add new second parameter ARGS.
10080
10081 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 10082 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10083
10084 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 10085 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10086
10087 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10088 (eshell-visual-options): New defcustom.
10089 (eshell-escape-control-x): Adapt docstring.
10090 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10091 `eshell-visual-options' in addition to `eshell-visual-commands'.
10092 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10093
f46305c8 100942013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
10095
10096 * progmodes/python.el (python-indent-block-enders): Add break,
10097 continue and raise keywords.
10098
d870df21
GM
100992013-06-01 Glenn Morris <rgm@gnu.org>
10100
9133b82e
GM
10101 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10102
02c992ec 10103 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
10104 * progmodes/cc-cmds.el (delete-forward-p):
10105 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10106 * progmodes/cc-engine.el (buffer-syntactic-context):
10107 * progmodes/cc-fonts.el (face-property-instance):
10108 * progmodes/cc-mode.el (set-keymap-parents):
10109 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10110 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10111 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
10112 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10113 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 10114
31e7b090
GM
10115 * progmodes/cc-vars.el (other): Emacs has this widget since
10116 at least 21.1, so don't (re)define it.
10117
d870df21
GM
10118 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10119 Replace the obsolete alias pcomplete-arg-quote-list.
10120
c75c93c7
LL
101212013-06-01 Leo Liu <sdl.web@gmail.com>
10122
10123 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10124 punctuation syntax.
10125 (inferior-octave-minimal-columns)
10126 (inferior-octave-last-column-width): New variables.
10127 (inferior-octave-track-window-width-change): New function.
10128 (inferior-octave-mode): Adjust column width so that Octave output,
10129 for example from 'ls', can fit into the window nicely.
10130
973d1e12
DG
101312013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10132
10133 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10134 Highlight expansions inside regexp literals.
10135
0888c286
GM
101362013-05-31 Glenn Morris <rgm@gnu.org>
10137
e26aac1f
GM
10138 * obsolete/sym-comp.el (symbol-complete):
10139 Replace obsolete completion-annotate-function.
10140
0888c286
GM
10141 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10142
19bb8e62
DG
101432013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10144
781b4af6
SM
10145 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10146 New function, checks if point is inside a literal that allows
19bb8e62
DG
10147 expression expansion.
10148 (ruby-syntax-propertize-expansion): Use it.
10149 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10150 around the body.
10151
01dea85f
JL
101522013-05-30 Juri Linkov <juri@jurta.org>
10153
10154 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10155 to "\M-si".
10156 (isearch-invisible): New variable.
10157 (isearch-forward): Doc fix.
10158 (isearch-mode): Set `isearch-invisible'
10159 to the value of `search-invisible'.
10160 (isearch-toggle-case-fold): Doc fix.
10161 (isearch-toggle-invisible): New command.
10162 (isearch-query-replace): Let-bind `search-invisible'
10163 to the value of `isearch-invisible'.
10164 (isearch-search): Use `isearch-invisible' instead of
10165 `search-invisible'. Let-bind `search-invisible'
10166 to the value of `isearch-invisible'. (Bug#11378)
10167
ab1bdce5
JL
101682013-05-30 Juri Linkov <juri@jurta.org>
10169
10170 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10171 call when `query-flag' is nil and `search-invisible' is non-nil.
10172 (Bug#11746)
10173
d6d236e2
GM
101742013-05-30 Glenn Morris <rgm@gnu.org>
10175
8accd027
GM
10176 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10177
2a8bed1c
GM
10178 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10179 (cc-require): Suppress spurious "noruntime" warnings.
10180 (cc-require-when-compile): Use fboundp, for sake of compiler.
10181
d6d236e2
GM
10182 * progmodes/cc-mode.el: Move load of cc-vars before that of
10183 cc-langs (which in turn loads cc-vars), to quieten compiler.
10184
9190b35b
SM
101852013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10186
10187 * paren.el: Simplify the code.
10188 (show-paren-mode): Always start the timer.
10189 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10190 (show-paren--overlay, show-paren--overlay-1): Rename from
10191 show-paren-overlay and show-paren-overlay-1, and initialize to an
10192 overlay rather than to nil.
10193 (show-paren-function): Misc cleanup and simplifications.
10194
4f8d1cf6
SM
101952013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10196
10197 * paren.el (show-paren-data-function): New hook.
10198 (show-paren--default): New function, extracted from show-paren-function.
10199 (show-paren-function): Use show-paren-data-function.
10200
02d844b5
GM
102012013-05-30 Glenn Morris <rgm@gnu.org>
10202
d209d4a9
GM
10203 * ielm.el (ielm-map, ielm-complete-symbol):
10204 Use completion-at-point rather than obsolete functions.
10205 (inferior-emacs-lisp-mode): Doc fix.
10206 Set completion-at-point-functions, rather than
10207 comint-dynamic-complete-functions.
10208
2082faa6
GM
10209 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10210 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10211 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10212
dd8620de
GM
10213 * image.el (image-animated-p): Tweak definition.
10214
ceca95b1
GM
10215 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10216 (rlogin-process-connection-type): Tweak default. Add set-after.
10217 (rlogin-host): Doc fix.
10218 (rlogin): Tweak prompt.
10219 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10220
ee9f1acc
GM
10221 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10222 * progmodes/tcl.el (inferior-tcl-mode-map):
10223 Use completion-at-point rather than obsolete alias.
10224
45ce222e
GM
10225 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10226
02d844b5
GM
10227 * minibuffer.el (read-file-name-completion-ignore-case):
10228 Move before completion--in-region, for eager macro expansion.
10229
ac44d6c1
JL
102302013-05-29 Juri Linkov <juri@jurta.org>
10231
10232 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10233 for total count of matching lines. Add `global-matches' for total
10234 count of matches. Rename `matches' to `lines' for count of
10235 matching lines. Add `matches' for count of matches.
10236 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10237 to `prev-line' for line number of prev match endpt.
10238 Increment `matches' for every match. Print the number of
10239 matching lines in the header.
10240 (occur-context-lines): Rename `lines' to `curr-line'.
10241 Rename `prev-lines' to `prev-line'. (Bug#14017)
10242
3c9c9d38
JL
102432013-05-29 Juri Linkov <juri@jurta.org>
10244
10245 * replace.el (perform-replace): Add `skip-read-only-count',
10246 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10247 Increment them for corresponding conditions and report the number
10248 of skipped occurrences in the final message. (Bug#11746)
10249 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10250 (replace-string, replace-regexp): Doc fix.
10251
33e249a2
SM
102522013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10253
8e399682
SM
10254 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10255
33e249a2 10256 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10257 prog-mode-map (bug#14504).
33e249a2 10258
f236dd84
LL
102592013-05-29 Leo Liu <sdl.web@gmail.com>
10260
10261 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10262 (octave-help): Small simplification.
10263
10264 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10265 off the highlight first.
10266
3694d13f
GM
102672013-05-29 Glenn Morris <rgm@gnu.org>
10268
03983bdc
GM
10269 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10270 Handle idlwave-last-system-routine-info-cons-cell being nil.
10271
bc74a74a
GM
10272 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10273 (idlwave-write-paths): Simplify via with-temp-buffer.
10274
8b394200
GM
10275 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10276 * emulation/cua-rect.el: Also load cua-base at run time.
10277
3694d13f
GM
10278 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10279 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10280 (cperl-imenu-on-info): Require imenu.
10281
336d7284
AM
102822013-05-28 Alan Mackenzie <acm@muc.de>
10283
10284 Handle "capitalised keywords" correctly.
33e249a2 10285 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10286
cb29c582
AG
102872013-05-28 Aidan Gauland <aidalgol@amuri.net>
10288
781b4af6 10289 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10290
690e44b2
GM
102912013-05-28 Glenn Morris <rgm@gnu.org>
10292
e658d75c
GM
10293 * vc/vc-arch.el (vc-exec-after): Declare.
10294 (vc-switches): Autoload.
10295 * vc/vc-bzr.el: No need to require vc when compiling.
10296 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10297 (vc-resynch-buffer, vc-dir-refresh): Declare.
10298 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10299 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10300 (vc-resynch-buffer): Declare.
10301 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10302 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10303 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10304 (grep-read-regexp, grep-read-files, grep-expand-template)
10305 (vc-dir-refresh): Declare.
10306 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10307 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10308 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10309 * vc/vc-mtn.el (vc-exec-after): Declare.
10310 (vc-switches): Autoload.
10311 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10312 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10313 (vc-file-tree-walk): Declare.
712b9732
GM
10314 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10315 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10316 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10317 * vc/vc-svn.el (vc-exec-after): Declare.
10318 (vc-switches, vc-setup-buffer): Autoload.
10319 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10320 Autoload.
10321 (vc-resynch-buffer): Declare.
10322
98e87fb3
GM
10323 * obsolete/fast-lock.el (byte-compile-warnings):
10324 Don't warn about obsolete features in this obsolete file.
10325
f5379553
GM
10326 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10327 Move definition before use.
10328
7a20ef83
GM
10329 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10330 (dun-unix-verbs): Remove dun-zippy.
10331 (dun-zippy): Remove function.
10332
690e44b2
GM
10333 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10334
3a52ccf7
JL
103352013-05-27 Juri Linkov <juri@jurta.org>
10336
10337 * replace.el (replace-search): New function with code moved out
10338 from `perform-replace'.
10339 (replace-highlight, replace-dehighlight): Move function definitions
10340 up closer to `replace-search'. (Bug#11746)
10341
d289938a
JL
103422013-05-27 Juri Linkov <juri@jurta.org>
10343
10344 * replace.el (perform-replace): Ignore invisible matches.
10345 In addition to checking `query-replace-skip-read-only', also
10346 filter out matches by calling `run-hook-with-args-until-failure'
10347 on `isearch-filter-predicates', and also check `search-invisible'
10348 for t or call `isearch-range-invisible'.
10349 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10350
66fc57e3
JL
103512013-05-27 Juri Linkov <juri@jurta.org>
10352
10353 * isearch.el (isearch-filter-predicates): Rename from
10354 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10355 (isearch-message-prefix): Display text from the property
10356 `isearch-message-prefix' of the currently active filters.
10357 (isearch-search): Don't compare `isearch-filter-predicate' with
10358 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10359 on `isearch-filter-predicates'. Also check `search-invisible' for t
10360 or call `isearch-range-invisible'.
10361 (isearch-filter-visible): Make obsolete.
10362 (isearch-lazy-highlight-search):
10363 Call `run-hook-with-args-until-failure' on
10364 `isearch-filter-predicates' and use `isearch-range-invisible'.
10365
10366 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10367 `isearch-filter-predicates' instead of `funcall'ing
10368 `isearch-filter-predicate'.
10369 (Info-mode): Set `Info-isearch-filter' to
10370 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10371
10372 * dired-aux.el (dired-isearch-filter-predicate-orig):
10373 Remove variable.
10374 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10375 (dired-isearch-filenames-end): Add and remove
10376 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10377 instead of changing the value of `isearch-filter-predicate'.
10378 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10379 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10380 Put property `isearch-message-prefix' to "filename " on
10381 `dired-isearch-filter-filenames'.
10382
10383 * wdired.el (wdired-change-to-wdired-mode):
10384 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10385 locally instead of changing `isearch-filter-predicate'.
10386 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10387
f1a60a0f
DG
103882013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10389
10390 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10391 return the commit hash (Bug#14459). Also set the
10392 `vc-git-detached' property.
10393 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10394 (vc-git-mode-line-string): Use the same help-echo format whether
10395 in detached mode or not, because we know the actual revision now.
10396 When in detached mode, shorten the revision to 7 chars.
10397
7f17cc40
SM
103982013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * emacs-lisp/easy-mmode.el (define-minor-mode):
10401 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10402 mode hook and provide a docstring.
10403
25c8401c
AM
104042013-05-27 Alan Mackenzie <acm@muc.de>
10405
10406 Remove spurious syntax-table text properties inserted by C-y.
10407 * progmodes/cc-mode.el (c-after-change): Also clear hard
10408 syntax-table property with value nil.
10409
dde84790
MA
104102013-05-27 Michael Albinus <michael.albinus@gmx.de>
10411
10412 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10413 when reading the events; the buffer layout shall not be changed.
10414
837fd9af
LL
104152013-05-27 Leo Liu <sdl.web@gmail.com>
10416
10417 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10418 New variable.
10419 (inferior-octave-directory-tracker): Automatically re-sync
10420 default-directory.
10421 (octave-help): Improve handling of 'See also'.
10422
4fd996b3
SM
104232013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10424
416f1802
SM
10425 * doc-view.el: Minor naming convention tweaks.
10426 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10427
4fd996b3
SM
10428 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10429 even if there's no `display' property yet (bug#14435).
10430
a052ef3b
EZ
104312013-05-25 Eli Zaretskii <eliz@gnu.org>
10432
4fd996b3 10433 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10434
10435 * Makefile.in (custom-deps, finder-data, autoloads)
10436 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10437 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10438 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10439
c9023370
SM
104402013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10441
10442 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10443 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10444 Don't burp at EOB.
c9023370 10445
24d699fa
LL
104462013-05-25 Leo Liu <sdl.web@gmail.com>
10447
10448 * comint.el (comint-previous-matching-input): Do not flood the
10449 *Messages* buffer with trivial messages.
10450
17e5c0cc
SM
104512013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10452
10453 * progmodes/flymake.el (flymake-nop): Don't return a string.
10454 (flymake-set-at): Fix typo.
10455
10456 * simple.el (read--expression): New function, extracted from
10457 eval-expression. Set completion-at-point-functions (bug#14465).
10458 (eval-expression, eval-minibuffer): Use it.
10459
5d028165
XF
104602013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10461
10462 * progmodes/flymake.el (flymake-save-buffer-in-file)
10463 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10464 (flymake-selected-frame, flymake-log, flymake-ins-after)
10465 (flymake-set-at, flymake-get-buildfile-from-cache)
10466 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10467 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10468 Refine the doc string.
10469 (flymake-get-file-name-mode-and-masks): Reformat.
10470 (flymake-get-real-file-name-function): Fix a minor bug.
10471
7a1d7ba7
JL
104722013-05-24 Juri Linkov <juri@jurta.org>
10473
10474 * progmodes/grep.el (grep-mode-font-lock-keywords):
10475 Support =linenumber= format used by git-grep for lines with
10476 function names. (Bug#13549)
10477
650cff3d
SM
104782013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10479
10480 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10481 0 after a semi-colon; it works better for smie-auto-fill.
10482 (octave--indent-new-comment-line): New function.
10483 (octave-indent-new-comment-line): Use it (indirectly).
10484 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10485 modify comment-line-break-function.
10486
10487 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10488 (smie-setup): Use add-function to set it.
10489
9631677d
SS
104902013-05-24 Sam Steingold <sds@gnu.org>
10491
10492 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10493 argument (before the `interactive' argument).
10494
50105835
SM
104952013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10496
10497 * image-mode.el (image-mode-winprops): Add winprops to
10498 image-mode-winprops-alist before running
10499 image-mode-new-window-functions.
10500 * doc-view.el (doc-view-new-window-function): Don't delay
10501 doc-view-goto-page via timers (bug#14435).
10502
57b9823e
TH
105032013-05-24 Tassilo Horn <tsdh@gnu.org>
10504
10505 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10506 (doc-view-desktop-save-buffer): New function.
10507 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10508 (desktop-buffer-mode-handlers):
10509 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10510 handler.
10511 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10512 `desktop-save-buffer' function.
10513
91aafa16
MA
105142013-05-24 Michael Albinus <michael.albinus@gmx.de>
10515
10516 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10517 (tramp-gvfs-file-name-handler): Raise a user error when
10518 `tramp-gvfs-enabled' is nil.
10519 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10520 Do not raise a user error when loading package. (Bug#14447)
10521
ec076379
MA
10522 * net/xesam.el: Move to obsolete/.
10523
db785726
GM
105242013-05-24 Glenn Morris <rgm@gnu.org>
10525
af5c7606
GM
10526 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10527
e5d1916a
GM
10528 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10529
ded62b08
GM
10530 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10531 (Info-find-node, Man-getpage-in-background): Declare.
10532
9e614a3f
GM
10533 * mail/unrmail.el (unrmail):
10534 Replace obsolete detect-coding-with-priority.
10535
892f8ca3
GM
10536 * net/socks.el (socks-split-string): Use this rather than split-string.
10537 (socks-nslookup-host): Update for above change.
10538 (dynamic-choice, s5-dynamic-choice-match)
10539 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10540 Comment out unused code.
10541
3c291973
GM
10542 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10543 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10544 (gud-tooltip-echo-area): Make obsolete.
10545 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10546
43cc956b
GM
10547 * progmodes/js.el (js--optimize-arglist): Declare.
10548
dab49a3b
GM
10549 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10550
36b9d085
GM
10551 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10552 (ediff-window-C): Declare.
10553
e354ae76
GM
10554 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10555 Tweak requires to silence compiler.
10556
b8e57bf4
GM
10557 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10558 (he-search-string, he-tried-table, he-expand-list)
10559 (he-init-string, he-string-member, he-substitute-string)
10560 (he-reset-string): Declare.
10561
db785726
GM
10562 * obsolete/options.el (list-options): Use custom-variable-p,
10563 rather than obsolete alias.
10564
b3531901
SS
105652013-05-23 Sam Steingold <sds@gnu.org>
10566
10567 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10568 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10569 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10570
bdda4c66
SM
105712013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10572
10573 * emacs-lisp/smie.el (smie-indent-forward-token)
10574 (smie-indent-backward-token): Handle string tokens (bug#14381).
10575
c43d45f9
TH
105762013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10577
fe1eb856
RS
10578 * ielm.el (ielm-menu): New menu.
10579 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10580
fe1eb856
RS
105812013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10582
a12bf61e 10583 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10584 Fix deactivate action.
10585
a12bf61e 10586 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10587 Add cleveref macros.
074dd971 10588
a12bf61e 10589 * textmodes/reftex-parse.el
c43d45f9
TH
10590 (reftex-locate-bibliography-files): Accept options for
10591 bibliography commands.
a12bf61e 10592 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10593 Add addbibresource. Basic Biblatex support.
10594
7764286e
MA
105952013-05-23 Michael Albinus <michael.albinus@gmx.de>
10596
10597 * net/tramp-gvfs.el (top):
10598 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10599 when loading package. (Bug#14447)
10600
d361bc10
GM
106012013-05-23 Glenn Morris <rgm@gnu.org>
10602
8fa23984
GM
10603 * progmodes/js.el: No need to load comint when compiling.
10604 (ring-insert, comint-send-string, comint-send-input)
10605 (comint-last-input-end, ido-chop): Declare.
10606
a5c7df1a
GM
10607 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10608 * vc/ediff-mult.el: Adjust requires.
10609 (ediff-directories-internal, ediff-directory-revisions-internal)
10610 (ediff-patch-file-internal): Declare.
10611 * vc/ediff-ptch.el: Adjust requires.
10612 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10613 (ediff-find-file): Autoload.
10614 * vc/ediff-util.el: No need to load ediff when compiling.
10615 (ediff-regions-internal): Declare.
10616 * vc/ediff-wind.el: Adjust requires.
10617 (ediff-compute-toolbar-width): Define when compiling.
10618 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10619 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10620 (dired-get-filename, dired-get-marked-files)
10621 (ediff-last-dir-patch, ediff-patch-default-directory)
10622 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10623 (ediff-patch-buffer-internal): Declare.
10624
e2aec513
GM
10625 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10626 (ispell-process, ispell-buffer-local-words, lm-summary)
10627 (lm-section-start, lm-section-end): Declare.
10628 (checkdoc-ispell-init): Simplify.
10629
e68bbd7c
GM
10630 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10631 (he-string-member, he-reset-string, he-substitute-string): Declare.
10632
7efe0991
GM
10633 * eshell/em-ls.el: Adjust requires.
10634 (eshell-glob-regexp): Declare.
f87b1284
GM
10635 * eshell/em-tramp.el: Adjust requires.
10636 (eshell-parse-command): Autoload.
10637 * eshell/em-xtra.el: Adjust requires.
10638 (eshell-parse-command): Autoload.
10639 * eshell/esh-ext.el: Adjust requires.
10640 (eshell-parse-command, eshell-close-handles): Autoload.
10641 * eshell/esh-io.el: Adjust requires.
10642 (eshell-output-filter): Autoload.
10643 * eshell/esh-util.el: No need to load tramp when compiling.
10644 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10645 Declare.
10646 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10647 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10648 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10649 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10650 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10651 * eshell/esh-opt.el, eshell/esh-proc.el:
10652 * eshell/esh-var.el: Adjust requires.
10653 * eshell/eshell.el: Do not require esh-util twice.
10654 (eshell-add-input-to-history): Declare.
10655 (eshell-command): Check history module is active before using it.
10656
d361bc10
GM
10657 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10658
85d090a9
LL
106592013-05-22 Leo Liu <sdl.web@gmail.com>
10660
10661 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10662
5d0acd9d
MA
106632013-05-22 Michael Albinus <michael.albinus@gmx.de>
10664
10665 * autorevert.el (auto-revert-notify-add-watch)
10666 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10667 it indicates changes in file modification time.
10668
0cdffd7d
GM
106692013-05-22 Glenn Morris <rgm@gnu.org>
10670
ca5995ec
GM
10671 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10672 Always delete the autoloaded function from the noruntime and
10673 unresolved functions lists.
10674
6450907e
GM
10675 * allout.el: No need to load epa, epg, overlay when compiling.
10676 (epg-context-set-passphrase-callback, epg-list-keys)
10677 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10678 (epg-key-user-id-list): Declare.
10679
9c6906f6
GM
10680 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10681 (viper-set-parsing-style-toggling-macro)
10682 (viper-set-emacs-state-searchstyle-macros):
10683 Use called-interactively-p on Emacs.
10684 (viper-looking-back): Make it an obsolete alias. Update callers.
10685 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10686 Use looking-back rather than viper-looking-back.
10687 (viper-tmp-insert-at-eob, viper-enlarge-region)
10688 (viper-read-string-with-history, viper-register-to-point)
10689 (viper-append-to-register, viper-change-state-to-vi)
10690 (viper-backward-char-carefully, viper-forward-char-carefully)
10691 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10692 (viper-change-state-to-emacs): Declare.
10693 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10694 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10695 * emulation/viper-mous.el: Do not load viper-cmd.
10696 (viper-backward-char-carefully, viper-forward-char-carefully)
10697 (viper-forward-word, viper-adjust-window): Declare.
10698
5f70c169
GM
10699 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10700
b1b7f300
GM
10701 * progmodes/idlw-help.el (idlwave-help-fontify):
10702 Use called-interactively-p.
10703
f6ebbb46
GM
10704 * term/w32console.el (w32-get-console-codepage)
10705 (w32-get-console-output-codepage): Declare.
10706
0cdffd7d
GM
10707 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10708 Remove unnecessary declarations.
10709 (dframe-message): Doc fix.
10710
10711 * info.el (dframe-select-attached-frame, dframe-current-frame):
10712 Declare.
10713
10714 * speedbar.el (speedbar-message): Make it an obsolete alias.
10715 Update all callers.
10716 (speedbar-with-attached-buffer)
10717 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10718 (speedbar-with-writable): Use backquote.
10719 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10720 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10721 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10722 rather than speedbar- aliases.
10723 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10724 (speedbar-make-specialized-keymap, speedbar-insert-button)
10725 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10726 (speedbar-do-function-pointer): Declare.
10727 (rmail-speedbar-button, rmail-speedbar-find-file)
10728 (rmail-speedbar-move-message):
10729 Use dframe-with-attached-buffer rather than speedbar- alias.
10730 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10731 (dframe-message, speedbar-make-specialized-keymap)
10732 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10733 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10734 (speedbar-insert-button, dframe-select-attached-frame)
10735 (dframe-maybee-jump-to-attached-frame)
10736 (speedbar-change-initial-expansion-list)
10737 (speedbar-previously-used-expansion-list-name): Declare.
10738 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10739 Use dframe-message, dframe-with-attached-buffer rather than
10740 speedbar- aliases.
10741 (gud-sentinel): Silence compiler.
10742 * progmodes/vhdl-mode.el (speedbar-refresh)
10743 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10744 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10745 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10746 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10747 (speedbar-file-lists, speedbar-make-tag-line)
10748 (speedbar-line-directory, speedbar-goto-this-file)
10749 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10750 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10751 (speedbar-make-button, speedbar-reset-scanners)
10752 (speedbar-files-item-info, speedbar-line-text)
10753 (speedbar-find-file-in-frame, speedbar-set-timer)
10754 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10755 (speedbar-with-writable): Do not (re)define it.
10756 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10757 rather than speedbar- alias.
10758
ee44b62a
LL
107592013-05-21 Leo Liu <sdl.web@gmail.com>
10760
10761 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10762 menu items.
10763 (octave-mode): Tweak fill-nobreak-predicate.
10764 (inferior-octave-startup): Check process to avoid infinite loop.
10765 (inferior-octave): Pop to buffer first to show abornmal process
10766 exit information.
10767
640f050f
GM
107682013-05-21 Glenn Morris <rgm@gnu.org>
10769
79458038
GM
10770 * printing.el (pr-menu-bar): Define when compiling.
10771
9cc3e83f
LL
107722013-05-21 Leo Liu <sdl.web@gmail.com>
10773
10774 * progmodes/octave.el (octave-auto-fill): Remove.
10775 (octave-indent-new-comment-line): Improve.
10776 (octave-mode): Use auto fill mode through
4f405069 10777 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10778 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10779 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10780 (octave-help): Show parent directory.
10781
f440830d
GM
107822013-05-21 Glenn Morris <rgm@gnu.org>
10783
10784 * files.el (dired-unmark):
10785 * progmodes/gud.el (gdb-input): Update declarations.
10786
10787 * calculator.el (electric, ehelp): No need to load when compiling.
10788 (Electric-command-loop, electric-describe-mode): Declare.
10789
10790 * doc-view.el (doc-view-current-converter-processes): Move before use.
10791
10792 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10793 Move MODE-set-explicitly definition before use.
10794
10795 * international/mule-diag.el (mule-diag):
10796 Don't use obsolete window-system-version.
10797
10798 * mail/feedmail.el (smtpmail): No need to load when compiling.
10799 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10800
10801 * mail/mail-utils.el (rfc822): No need to load when compiling.
10802 (rfc822-addresses): Autoload it.
10803 (mail-strip-quoted-names): Trivial simplification.
10804
10805 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10806 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10807
10808 * net/snmp-mode.el (tempo): Don't duplicate requires.
10809
10810 * progmodes/prolog.el (info): No need to load when compiling.
10811 (comint): Require before shell requires it.
10812 (Info-goto-node): Autoload it.
10813 (Info-follow-nearest-node): Declare.
10814 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10815
10816 * textmodes/artist.el (picture-mode-exit): Declare.
10817
10818 * textmodes/reftex-parse.el (reftex-parse-from-file):
10819 Trivial rewrite so the compiler can parse it better.
10820
b4da2cbb
LL
108212013-05-20 Leo Liu <sdl.web@gmail.com>
10822
10823 * progmodes/octave.el (octave-help-mode-map)
10824 (octave-help-mode-finish-hook): New variables.
10825 (octave-help-mode, octave-help-mode-finish): New functions.
10826 (octave-help): Use octave-help-mode.
10827
33c0f65b
GM
108282013-05-20 Glenn Morris <rgm@gnu.org>
10829
10830 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10831
1a0a0a8a
DG
108322013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10833
10834 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10835 start at point, so that expansion starting right after opening
10836 slash in a regexp is recognized.
10837 (ruby-syntax-before-regexp-re): New defvar, extracted from
10838 ruby-syntax-propertize-function. Since the value of this regexp
10839 is looked up at runtime now, we should be able to turn
10840 `ruby-syntax-methods-before-regexp' into a defcustom later.
10841 (ruby-syntax-propertize-function): Split regexp matching into two
10842 parts, for opening and closing slashes. That allows us to skip
10843 over string interpolations and support multiline regexps.
10844 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10845 for them, which calls `ruby-syntax-propertize-expansion'.
10846 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10847 call to `ruby-syntax-propertize-function'.
10848 (ruby-syntax-propertize-expansion): Extracted from
10849 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10850 (ruby-syntax-propertize-percent-literal): Leave point right after
10851 the percent symbol, so that the expression expansion rule can
10852 propertize the contents.
462388b6
DG
10853 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10854 heredoc openers.
10855 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10856
c1a6c0a4
JL
108572013-05-18 Juri Linkov <juri@jurta.org>
10858
10859 * man.el (Man-default-man-entry): Remove `-' from the end
10860 of the default value. (Bug#14400)
10861
8051fccd
GM
108622013-05-18 Glenn Morris <rgm@gnu.org>
10863
10864 * comint.el (comint-password-prompt-regexp):
10865 Allow "password for XXX" where XXX contains colons (eg https://...).
10866
5e80b74f
LL
108672013-05-18 Leo Liu <sdl.web@gmail.com>
10868
10869 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10870 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10871 (octave-source-directories): Don't check process.
10872 (octave-source-directories, octave-find-definition): Doc fix.
10873
521a54c5
GM
108742013-05-18 Glenn Morris <rgm@gnu.org>
10875
86a94b05
GM
10876 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10877 Remove backspace/delete bindings. (Bug#14392)
10878
521a54c5
GM
10879 * cus-dep.el (custom-make-dependencies): Sort the output.
10880 (custom-versions-load-alist): Convert comment to doc.
10881
42caeb89
LL
108822013-05-17 Leo Liu <sdl.web@gmail.com>
10883
10884 * newcomment.el (comment-search-backward): Stricter in finding
10885 comment start. (Bug#14303)
10886
10887 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10888 (octave-comment-start-skip): Properly anchored.
10889
e219dd97
LL
108902013-05-17 Leo Liu <sdl.web@gmail.com>
10891
fe1eb856
RS
10892 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10893 Clean up when turned off. (Bug#14395)
e219dd97
LL
10894 (smie--highlight-matching-block-overlay): No longer buffer-local.
10895 (smie-highlight-matching-block): Adjust.
10896
dc5dcb4b
PE
108972013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10898
10899 Doc string fix for "nanoseconds" (Bug#14406).
10900 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10901 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10902
1db165f0
JB
109032013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10904
10905 * calc/calc-units.el (math-extract-units): Preserve powers
10906 of units.
10907
c7a8fcac
LL
109082013-05-17 Leo Liu <sdl.web@gmail.com>
10909
10910 * subr.el (delete-consecutive-dups): New function.
10911 * ido.el (ido-set-matches-1): Use it.
10912 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10913 * ido.el (ido-remove-consecutive-dups): Remove.
10914
f678b18a
SM
109152013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10918 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10919 regexp-opt's `words'.
10920
ebfe68e8
LL
109212013-05-16 Leo Liu <sdl.web@gmail.com>
10922
10923 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10924 (smie--highlight-matching-block-overlay)
10925 (smie--highlight-matching-block-lastpos)
10926 (smie--highlight-matching-block-timer): New variables.
10927 (smie-highlight-matching-block): New function.
10928 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10929 (smie-setup): Conditionally enable smie-blink-matching-open.
10930
bc8bc17d
WS
109312013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10932
10933 Sync with upstream verilog-mode r840.
10934 * progmodes/verilog-mode.el (verilog-mode-version)
10935 (verilog-mode-release-date): Update.
10936 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10937 (verilog-sig-tieoff): Fix string error on
10938 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10939 (verilog-read-decls): Fix parameters confusing
10940 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10941
df065a0b
EZ
109422013-05-16 Eli Zaretskii <eliz@gnu.org>
10943
10944 * subr.el (reveal-filename): New function.
10945
10946 * loadup.el: Compute Emacs executable versions on MS-Windows,
10947 where executables have the .exe extension. Add a hard link
10948 emacs-XX.YY.ZZ.exe on MS-Windows.
10949
10950 * Makefile.in (XARGS_LIMIT): New variable.
10951 (custom-deps, finder-data, autoloads)
10952 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10953 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10954 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10955 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10956
2d4bf34b
LL
109572013-05-16 Leo Liu <sdl.web@gmail.com>
10958
10959 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10960 (octave-mode-menu, octave-mode-map): Remove its uses.
10961
6b9c2d85
RZ
109622013-05-16 Reto Zimmermann <reto@gnu.org>
10963
10964 Sync with upstream vhdl mode v3.34.2.
10965 * progmodes/vhdl-mode.el: Use `push' throughout.
10966 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10967 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10968 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10969 (vhdl-actual-generic-name): New option to derive actual generic name.
10970 (vhdl-port-paste-signals): Replace formal by actual generics.
10971 (vhdl-beautify): New name for old group vhdl-align. Update users.
10972 (vhdl-beautify-options): New option.
10973 (vhdl-last-input-event): New compat alias. Use throughout.
10974 (vhdl-goto-line): Replace user level function `goto-line'.
10975 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10976 vhdl-fix-statement-buffer.
10977 (vhdl-create-mode-menu): Add some entries.
10978 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10979 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10980 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10981 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10982 to force statements on one line.
10983 (vhdl-remove-trailing-spaces-region):
10984 New, split from vhdl-remove-trailing-spaces.
10985 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10986 Respect vhdl-beautify-options.
10987 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10988 (vhdl-update-sensitivity-list): Not add with index if exists without.
10989 Not include array index with signal. Ignore keywords in comments.
10990 (vhdl-get-visible-signals): Regexp tweaks.
10991 (vhdl-template-component-inst): Handle empty library.
10992 (vhdl-template-type): Add template for 'enum' type.
10993 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10994 Use vhdl-replace-string.
10995 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10996 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10997 (vhdl-speedbar-initialize): Update for above name change.
10998 (vhdl-compose-wire-components): Fix in handling of constants.
10999 (vhdl-error-regexp-emacs-alist): New variable.
11000 (vhdl-error-regexp-add-emacs): New function;
11001 adds support for new compile.el (Emacs 22+)
11002 (vhdl-generate-makefile-1): Change target order for single lib. units.
11003 Allow use of absolute file names.
11004
9df4ec5e
LL
110052013-05-16 Leo Liu <sdl.web@gmail.com>
11006
11007 * simple.el (prog-indent-sexp): Indent enclosing defun.
11008
f5ba00a6
GM
110092013-05-15 Glenn Morris <rgm@gnu.org>
11010
ed8be7ff
GM
11011 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11012 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11013 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11014 (whitespace-highlight): Move to whitespace group.
11015
11016 * comint.el (comint-source):
11017 * pcmpl-linux.el (pcmpl-linux):
11018 * shell.el (shell-faces):
11019 * eshell/esh-opt.el (eshell-opt):
11020 * international/ccl.el (ccl): Remove empty custom groups.
11021
11022 * completion.el (dynamic-completion-mode):
11023 * jit-lock.el (jit-lock-debug-mode):
11024 * minibuffer.el (completion-in-region-mode):
11025 * type-break.el (type-break-mode-line-message-mode)
11026 (type-break-query-mode):
11027 * emulation/tpu-edt.el (tpu-edt-mode):
11028 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11029 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11030 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11031
11032 * term/xterm.el (xterm): Change parent group to terminals.
11033
11034 * master.el (master): Remove empty custom group.
11035 (master-mode): Remove unused :group argument.
11036 * textmodes/refill.el (refill): Remove empty custom group.
11037 (refill-mode): Remove unused :group argument.
11038
11039 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11040
82a7c41b
GM
11041 * cus-dep.el: Provide a feature.
11042 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
11043 Don't mistakenly ignore files whose basenames match a basename
11044 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 11045 Add a fallback method for getting :group.
f5ba00a6 11046
6d65486d
JL
110472013-05-15 Juri Linkov <juri@jurta.org>
11048
da547b32
JL
11049 * isearch.el (isearch-char-by-name): Rename from
11050 `isearch-insert-char-by-name'. Doc fix.
11051 (isearch-forward): Mention `isearch-char-by-name' in
11052 the docstring. (Bug#13348)
11053
6d65486d
JL
11054 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11055 `exit-minibuffer' instead of
11056 `isearch-nonincremental-exit-minibuffer'.
11057 (isearch-edit-string): Remove mention of
11058 `isearch-nonincremental-exit-minibuffer' from docstring.
11059 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11060 (isearch-forward-exit-minibuffer)
11061 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11062
c9990474
SM
110632013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11064
6e911150
SM
11065 * loadup.el: Just use unversioned DOC.
11066
c9990474
SM
11067 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11068 literals as extending to EOB.
11069 (nxml-last-fontify-end): Remove unused variable.
11070 (nxml-after-change1): Use with-silent-modifications.
11071 (nxml-extend-after-change-region): Simplify.
11072 (nxml-extend-after-change-region1): Remove function.
11073 (nxml-after-change1): Don't adjust for dependent regions.
11074 (nxml-fontify-matcher): Simplify.
11075 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11076 (xmltok-add-dependent): Remove function.
11077 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11078 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11079 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11080 unclosed <[[, <?, comment, and other literals as extending to EOB.
11081 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11082 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11083 Remove functions.
11084 (rng-do-some-validation-1): Don't mark dependent regions.
11085 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11086 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11087 (nxml-clear-dependent-regions): Remove functions.
11088 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11089 (nxml-ensure-scan-up-to-date):
11090 Don't clear&mark dependent regions.
11091
e3772e98
LL
110922013-05-15 Leo Liu <sdl.web@gmail.com>
11093
c9990474
SM
11094 * progmodes/octave.el (octave-goto-function-definition):
11095 Improve and fix callers.
e3772e98 11096
5ac2eb34
SM
110972013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11098
c46c57b0
SM
11099 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11100 the setter (bug#14387).
11101
5ac2eb34
SM
11102 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11103 surrounding group (bug#14402).
11104
180ed218
JL
111052013-05-14 Juri Linkov <juri@jurta.org>
11106
11107 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11108 (Bug#14390)
11109
0ac0fecb
GM
111102013-05-14 Glenn Morris <rgm@gnu.org>
11111
11112 * progmodes/f90.el (f90-imenu-generic-expression):
11113 Fix typo in 2013-05-08 change. (Bug#14402)
11114
2e78e6a7
JPG
111152013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11116
5ac2eb34
SM
11117 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11118 Remove signals for which replies are never received.
2e78e6a7 11119
53267cca
JPG
111202013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11121
11122 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11123 (gdb-handler-alist, gdb-handler-number): Remove variables.
11124 (gdb-handler-list): New variable.
11125 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11126 (gdb-pending-handler-p, gdb-handle-reply)
11127 (gdb-remove-all-pending-triggers): New functions.
11128 (gdb-discard-unordered-replies): New defcustom.
11129 (gdb-handler): New defstruct.
11130 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11131 instead of gdb-pending-triggers. Update docstring.
11132 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11133 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11134 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11135 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11136 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11137 (gdb-frame-handler): Pending triggers are now automatically managed.
11138 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11139 Remove argument.
11140 (gdb-input): Automatically handles pending triggers. Update docstring.
11141 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11142 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11143 Update comments.
11144 (gdb-done-or-error): Now use gdb-handle-reply.
11145
d04ce803
JPG
111462013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11147
11148 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11149 gdb-debug-log.
11150
0114073a
GM
111512013-05-14 Glenn Morris <rgm@gnu.org>
11152
11153 * subr.el (user-emacs-directory-warning): New option.
11154 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11155
4d25fd7e
LL
111562013-05-14 Leo Liu <sdl.web@gmail.com>
11157
11158 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11159 during redisplay.
11160 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11161 (octave-font-lock-texinfo-comment): Fix invalid search bound
11162 error: wrong side of point.
4d25fd7e 11163
27c8b6eb
GM
111642013-05-14 Glenn Morris <rgm@gnu.org>
11165
61aaeb01
GM
11166 * progmodes/flymake.el (flymake-xml-program): New option.
11167 (flymake-xml-init): Use it.
11168
5bf90bc5
GM
11169 * term/xterm.el: Provide a feature.
11170
11171 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11172
f4c7dfd2
GM
111732013-05-13 Glenn Morris <rgm@gnu.org>
11174
11175 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11176 Add compat aliases as a hack workaround. (Bug#14384)
11177
2aeb3a1d
LL
111782013-05-13 Leo Liu <sdl.web@gmail.com>
11179
b0e069c2
LL
11180 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11181 ###, and %!.
f5a9432f
LL
11182 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11183 C-M-q.
b0e069c2
LL
11184 (octave-comment-start-skip): Include %!.
11185 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11186
30ea8374
LL
111872013-05-12 Leo Liu <sdl.web@gmail.com>
11188
11189 * progmodes/octave.el (inferior-octave-startup): Store the value
11190 of __octave_srcdir__ for octave-source-directories.
11191 (inferior-octave-check-process): New function refactored out of
11192 inferior-octave-send-list-and-digest.
11193 (octave-source-directories)
11194 (octave-find-definition-filename-function): New variables.
11195 (octave-source-directories)
11196 (octave-find-definition-default-filename): New functions.
11197 (octave-find-definition): Improve to find functions implemented in C++.
11198
472a3834
GM
111992013-05-12 Glenn Morris <rgm@gnu.org>
11200
11201 * calendar/diary-lib.el (diary-outlook-format-1):
11202 Don't include dayname in the output. (Bug#14349)
11203
3191b52f
GM
112042013-05-11 Glenn Morris <rgm@gnu.org>
11205
0060ac73
GM
11206 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11207
3191b52f
GM
11208 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11209 Treat cc-provide like provide.
11210
e065ba74
KR
112112013-05-11 Kevin Ryde <user42@zip.com.au>
11212
11213 * cus-dep.el (custom-make-dependencies):
11214 Use generated-autoload-load-name for the sake of files such
11215 such cedet/semantic/bovine/c.el, where the base file name
11216 is not in load-path. (Bug#5277)
11217
36f84c37
GM
112182013-05-11 Glenn Morris <rgm@gnu.org>
11219
11220 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11221 Provide features.
11222
c8730c3a
LL
112232013-05-11 Leo Liu <sdl.web@gmail.com>
11224
11225 * progmodes/octave.el (octave-indent-comment): Improve.
11226 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11227 (octave-eldoc-function-signatures, octave-eldoc-function):
11228 New functions.
c8730c3a
LL
11229 (octave-mode, inferior-octave-mode): Add eldoc support.
11230
212e29f2
RS
112312013-05-11 Richard Stallman <rms@gnu.org>
11232
11233 * epa.el (epa-decrypt-file): Take output file name as argument
11234 and read it using `interactive'.
11235
083fe0d7
LL
112362013-05-11 Leo Liu <sdl.web@gmail.com>
11237
11238 * progmodes/octave.el (octave-beginning-of-line)
11239 (octave-end-of-line): Check before using up-list because it jumps
11240 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11241 (octave-indent-comment): New function.
11242 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11243 (octave-begin-keywords, octave-end-keywords)
11244 (octave-reserved-words, octave-smie-bnf-table)
11245 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11246
8582e4c4
GM
112472013-05-11 Glenn Morris <rgm@gnu.org>
11248
f20def1f
GM
11249 * faces.el (internal-face-x-get-resource):
11250 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11251 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11252 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11253 Fix declarations.
f20def1f 11254
445f95e2
GM
11255 * calc/calc-menu.el: Make it loadable in isolation.
11256
11257 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11258 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11259 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11260 (eudc-bbdb-query-internal): Require 'bbdb.
11261
99fb2756
GM
11262 * lpr.el (lpr-headers-switches):
11263 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11264
11265 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11266
0da7ad96
GM
11267 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11268
8582e4c4
GM
11269 * term.el (term-set-escape-char): Make it idempotent.
11270
f71c50d0
LL
112712013-05-10 Leo Liu <sdl.web@gmail.com>
11272
5ac2eb34
SM
11273 * progmodes/octave.el (inferior-octave-completion-table):
11274 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11275 completion due to bug#11906.
11276 (octave-beginning-of-defun): Re-write to be more general.
11277
d5837773
GM
112782013-05-10 Glenn Morris <rgm@gnu.org>
11279
11280 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11281
027c0f75
SM
112822013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11283
11284 * comint.el (comint-redirect-send-command-to-process): Use :around
11285 rather than :override for comint-redirect-filter.
11286 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11287 Call it instead of comint-redirect-original-filter-function (which
11288 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11289
4465bfb4
JD
112902013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11291
11292 * frame.el (display-monitor-attributes-list): Add NS case.
11293 (ns-display-monitor-attributes-list): Declare.
11294
2d809ffa 112952013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11296
11297 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11298
e54eeb9b
GM
112992013-05-09 Glenn Morris <rgm@gnu.org>
11300
56cd351d
GM
11301 * international/fontset.el (vertical-centering-font-regexp):
11302 Set standard-value.
11303
d84b6108
GM
11304 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11305
a931698a
GM
11306 * bookmark.el (bookmark-search-delay):
11307 * cus-start.el (vertical-centering-font-regexp):
11308 * ps-mule.el (ps-mule-font-info-database-default):
11309 * ps-print.el (ps-default-fg, ps-default-bg):
11310 * type-break.el (type-break-good-break-interval):
11311 * whitespace.el (whitespace-indentation-regexp)
11312 (whitespace-space-after-tab-regexp):
11313 * emacs-lisp/testcover.el (testcover-1value-functions)
11314 (testcover-noreturn-functions, testcover-progn-functions)
11315 (testcover-prog1-functions):
11316 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11317 * eshell/em-glob.el (eshell-glob-translate-alist):
11318 * play/tetris.el (tetris-tty-colors):
11319 * progmodes/cpp.el (cpp-face-default-list):
11320 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11321 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11322 (idlwave-help-browser-generic-args):
11323 * progmodes/make-mode.el (makefile-special-targets-list):
11324 * progmodes/python.el (python-shell-virtualenv-path):
11325 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11326 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11327 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11328 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11329 * textmodes/reftex-vars.el (reftex-format-label-function):
11330 * textmodes/remember.el (remember-diary-file): Fix custom types.
11331
e54eeb9b
GM
11332 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11333 Add :version.
11334
455851dd
LL
113352013-05-09 Leo Liu <sdl.web@gmail.com>
11336
11337 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11338 Restore file completion. (Bug#14300)
455851dd
LL
11339 (inferior-octave-startup): Fix incorrect highlighting for the
11340 first prompt.
11341
a9e4425b
SM
113422013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11343
11344 * progmodes/ruby-mode.el: First cut at SMIE support.
11345 (ruby-use-smie): New var.
11346 (ruby-smie-grammar): New constant.
11347 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11348 (ruby-smie--forward-token, ruby-smie--backward-token)
11349 (ruby-smie-rules): New functions.
11350 (ruby-mode-variables): Setup SMIE if applicable.
11351
060ca408
EZ
113522013-05-08 Eli Zaretskii <eliz@gnu.org>
11353
11354 * simple.el (line-move-visual): Signal beginning/end of buffer
11355 only if vertical-motion moved less than it was requested. Avoids
11356 silly incorrect error messages when there are display strings with
11357 multiple newlines at EOL.
11358
1d5963cc
SM
113592013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11360
11361 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11362 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11363 (prolog-char-quote-workaround):
11364 * progmodes/cperl-mode.el (cperl-under-as-char):
11365 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11366 Mark as obsolete.
11367 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11368 their declaration.
11369 (vhdl-mode-syntax-table-init): Remove.
11370
c9990474
SM
11371 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11372 last change.
1d5963cc
SM
11373
11374 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11375 syntax for "_".
11376 (ld-script-font-lock-keywords):
11377 Change regexps to use things like \_< and \_>.
11378
11379 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11380 Change all regexps to use things like \_< and \_>.
11381
11382 * progmodes/autoconf.el (autoconf-definition-regexp)
11383 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11384 Handle a _ with symbol syntax.
11385 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11386
c9990474
SM
11387 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11388 Consolidate declaration.
1d5963cc
SM
11389 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11390 the declaration.
11391 (ada-create-syntax-table): Remove.
11392 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11393 already has the right syntax nowadays.
11394 (ada-goto-next-word): Don't change the syntax of "_".
11395
11396 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11397 with-wrapper-hook.
11398
72d3cfca
SS
113992013-05-08 Sam Steingold <sds@gnu.org>
11400
11401 * thingatpt.el (thing-at-point): Accept optional second argument
11402 NO-PROPERTIES to strip the text properties from the return value.
11403 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11404 to `thing-at-point' instead of stripping the properties ourselves.
11405 Also, when `thing-at-point' fails to find a url, prepend "http://"
11406 to the filename at point on the assumption that the user is
11407 pointing at something like gnu.org/gnu.
11408
5cb15713
JB
114092013-05-08 Juanma Barranquero <lekktu@gmail.com>
11410
11411 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11412 * faces.el (crm-separator):
11413 Silence byte-compiler.
11414
11415 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11416 (tool-bar-map): Remove unneeded defvars.
11417
ea78b95b
LL
114182013-05-08 Leo Liu <sdl.web@gmail.com>
11419
11420 Re-work a fix for bug#10994 based on Le Wang's patch.
11421 * ido.el (ido-remove-consecutive-dups): New helper.
11422 (ido-completing-read): Use it.
11423 (ido-chop): Revert fix for bug#10994.
11424
dc7466df
AS
114252013-05-08 Adam Spiers <emacs@adamspiers.org>
11426
11427 * cus-edit.el (custom-save-variables):
11428 Pretty-print long values. (Bug#14187)
11429
9ecf672a
GM
114302013-05-08 Glenn Morris <rgm@gnu.org>
11431
11432 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11433 (m4-mode-syntax-table): Init in the defvar.
11434 (m4-mode-abbrev-table): Let define-derived-mode define it.
11435
3f555be8
TT
114362013-05-08 Tom Tromey <tromey@redhat.com>
11437
11438 * progmodes/m4-mode.el (m4-mode-syntax-table):
11439 Do not treat "_" as word constituent. (Bug#14167)
11440
7cc8ae06
GM
114412013-05-07 Glenn Morris <rgm@gnu.org>
11442
4f58bc06
GM
11443 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11444 Remove explicit eshell-isearch-cancel-map.
11445
7cc8ae06
GM
11446 * progmodes/f90.el (f90-smart-end-names): New option.
11447 (f90-smart-end): Doc fix.
11448 (f90-end-block-optional-name): New constant.
11449 (f90-block-match): Respect f90-smart-end-names.
11450
ceb57e59
SM
114512013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11452
11453 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11454 about implicit semi-colons (bug#14218).
11455
4e3f9230
YM
114562013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11457
11458 * frame.el (display-monitor-attributes-list)
11459 (frame-monitor-attributes): New functions.
11460
203a5572
LL
114612013-05-06 Leo Liu <sdl.web@gmail.com>
11462
11463 * progmodes/octave.el (octave-syntax-propertize-function): Change
11464 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11465 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11466 (octave-completion-at-point): Rename from
203a5572
LL
11467 octave-completion-at-point-function.
11468 (inferior-octave-directory-tracker): Robustify.
11469 (octave-text-functions): Remove and fix its uses. No such things
11470 any more.
11471
ee6cff99
SM
114722013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11473
11474 * emacs-lisp/trace.el (trace--display-buffer): New function.
11475 (trace-make-advice): Use it.
11476
32985194
JL
114772013-05-06 Juri Linkov <juri@jurta.org>
11478
11479 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11480 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11481 Doc fix.
11482 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11483 in the help string. (Bug#12985)
11484
a1c700de
KD
114852013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11486
11487 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11488
c67c0839
SM
114892013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11490
323885fd
SM
11491 * progmodes/perl-mode.el: Add support for here documents.
11492 (perl-syntax-propertize-function): Match here-doc markers.
11493 (perl-syntax-propertize-special-constructs): Find their end.
11494 (perl-imenu-generic-expression): Use [:alnum:].
11495
c67c0839
SM
11496 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11497 (advice--add-function): Refresh the advice if already present
11498 (bug#14317).
11499
d491e7a8
IA
115002013-05-06 Ivan Andrus <darthandrus@gmail.com>
11501
11502 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11503
ddf9925e
GM
115042013-05-06 Glenn Morris <rgm@gnu.org>
11505
7cc3af27
GM
11506 * w32-fns.el (w32-charset-info-alist): Declare.
11507
16e343d6
GM
11508 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11509 of its defcustom properties.
11510 (eshell-cmpl-initialize): No need to load pcomplete.
11511
7d889a47
GM
11512 * generic-x.el: No need to require comint when compiling.
11513
ddf9925e
GM
11514 * net/eudc-export.el: Make it loadable without bbdb.
11515 (top-level): Use require rather than load-library.
11516 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11517 (eudc-batch-export-records-to-bbdb)
11518 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11519 Require bbdb.
11520
1e2c18df
SM
115212013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11522
11523 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11524 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11525 some tweaks, instead.
11526
02502a5f
LL
115272013-05-05 Leo Liu <sdl.web@gmail.com>
11528
11529 * progmodes/octave.el (octave-font-lock-keywords)
11530 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11531 (inferior-octave-send-list-and-digest): Improve error message.
11532 (octave-mode, inferior-octave-mode): Use setq-local.
11533 (octave-help): Set info-lookup-mode.
11534
0dc04f42
RS
115352013-05-05 Richard Stallman <rms@gnu.org>
11536
6c54491c
RS
11537 * vc/compare-w.el (compare-windows-whitespace):
11538 Treat no-break space as whitespace.
11539
0dc04f42
RS
11540 * mail/rmailsum.el (rmail-summary-rmail-update):
11541 Detect empty summary and don't change selected message.
11542 (rmail-summary-goto-msg): Likewise.
11543
df8f35df
RS
11544 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11545 Doc fixes, rename args.
11546
5356e1a3
AM
115472013-05-05 Alan Mackenzie <acm@muc.de>
11548
11549 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11550
d44014cb
JL
115512013-05-05 Juri Linkov <juri@jurta.org>
11552
11553 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11554 to not add the length of the summary segment to the return value.
11555 (Bug#14125)
11556
c129b51f
LL
115572013-05-05 Leo Liu <sdl.web@gmail.com>
11558
11559 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11560 (inferior-octave-output-filter): Remove.
11561 (octave-send-region, inferior-octave-startup): Fix callers.
11562 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11563 (octave-binary-file-extensions): New user variable.
11564 (octave-find-definition): Confirm if opening binary files.
11565 (octave-help-file): Use octave-find-definition to get the binary
11566 confirmation.
11567 (octave-help): Adjust for octave-help-file change.
11568
aa7dab97
SM
115692013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11570
11571 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11572 Merge the two entries that handle function definitions.
11573 (pascal--syntax-propertize): New const.
11574 (pascal-mode): Use it. Use setq-local.
11575
fd3a9a6b
GM
115762013-05-04 Glenn Morris <rgm@gnu.org>
11577
11578 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11579 (diary-from-outlook): Respect diary-from-outlook-function.
11580
30c7e542
SM
115812013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11582
11583 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11584 Move the declaration from C.
11585 (read-minibuffer, eval-minibuffer): Move from C.
11586 (completion-setup-function): Avoid minibuffer-completion-contents.
11587
b54f978b
LL
115882013-05-03 Leo Liu <sdl.web@gmail.com>
11589
11590 * progmodes/octave.el (octave-font-lock-keywords): Do not
11591 dehighlight 'end' in comments or strings.
30c7e542
SM
11592 (octave-completing-read, octave-goto-function-definition):
11593 New helpers.
d4d0f9b3
LL
11594 (octave-help-buffer): New user variable.
11595 (octave-help-file, octave-help-function): New button types.
11596 (octave-help): New command and bind it to C-h ;.
11597 (octave-find-definition): New command and bind it to M-.
d74a1581 11598 (user-error): Alias to error if not defined.
b54f978b 11599
27135018
LL
116002013-05-02 Leo Liu <sdl.web@gmail.com>
11601
11602 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11603 for \. (bug#14332)
11604 (octave-font-lock-keywords): Include [ and {.
11605
0d634d3a
LL
116062013-05-02 Leo Liu <sdl.web@gmail.com>
11607
11608 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11609 (inferior-octave): Remove calling comint-mode and return the buffer.
11610 (inferior-octave-startup): Cosmetic changes.
11611
b4c8295e
LL
116122013-05-02 Leo Liu <sdl.web@gmail.com>
11613
30c7e542
SM
11614 * progmodes/octave.el (octave-syntax-propertize-function):
11615 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11616
f12ad6ec
GM
116172013-05-02 Glenn Morris <rgm@gnu.org>
11618
11619 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11620 * desktop.el (vc-dir-mode): Just autoload it here.
11621
30cac1e0
AM
116222013-05-02 Alan Mackenzie <acm@muc.de>
11623
11624 Eliminate variable c-standard-font-lock-fontify-region-function.
11625 * progmodes/cc-mode.el
11626 (c-standard-font-lock-fontify-region-function): Remove.
11627 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11628
d8ef28b1
LL
116292013-05-01 Leo Liu <sdl.web@gmail.com>
11630
2640d52e 11631 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11632 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11633 variables were removed from Octave in 2007.
d8ef28b1
LL
11634 (inferior-octave-startup): Fix uses.
11635 (comint-line-beginning-position): Remove compatibility code for
11636 emacs 21.
11637
ac63ec89
JL
116382013-05-01 Juri Linkov <juri@jurta.org>
11639
11640 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11641
9e9be37c
JL
116422013-05-01 Juri Linkov <juri@jurta.org>
11643
11644 * comint.el (comint-previous-matching-input): Don't print message
11645 "History item: %d" when `isearch-mode' is active.
11646 (comint-history-isearch-message): Print message "History item: %d"
11647 when `comint-input-ring-index' is not empty and this function is
11648 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11649
9b92c13b
LL
116502013-05-01 Leo Liu <sdl.web@gmail.com>
11651
11652 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11653 definitions. Use completion-at-point to insert keywords.
11654 (octave-abbrev-start): Remove.
11655 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11656
b12d33d7
LL
116572013-04-30 Leo Liu <sdl.web@gmail.com>
11658
11659 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11660 change.
11661
3d1c39fa
AM
116622013-04-30 Alan Mackenzie <acm@muc.de>
11663
11664 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11665 * progmodes/cc-engine.el (c-back-over-member-initializers):
11666 new function.
3d1c39fa
AM
11667 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11668 (most) member init lists.
11669
5147fc17
RS
116702013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11671
11672 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11673 variable.
11674
5b78d7fc
LL
116752013-04-30 Leo Liu <sdl.web@gmail.com>
11676
11677 * progmodes/octave.el (octave-variables): Remove. No builtin
11678 variables any more. All converted to functions.
11679 (octave-font-lock-keywords, octave-completion-at-point-function):
11680 Fix uses.
11681 (octave-font-lock-texinfo-comment): New user variable.
11682 (octave-texinfo-font-lock-keywords): New variable for texinfo
11683 comment block.
11684 (octave-function-comment-block): New face.
11685 (octave-font-lock-texinfo-comment): New function.
11686 (octave-mode): Font lock texinfo comment block.
11687
38d8527b
LL
116882013-04-29 Leo Liu <sdl.web@gmail.com>
11689
11690 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11691 indexing expression.
11692 (octave-continuation-string): Do not use \.
11693 (inferior-octave-complete-impossible): Remove.
11694 (inferior-octave-completion-table)
11695 (inferior-octave-completion-at-point): Remove its uses.
11696 (inferior-octave-startup): completion_matches was introduced to
11697 Octave in 1996 so safe to assume it.
11698 (octave-function-file-comment): Improve to follow how Octave does it.
11699 (octave-update-function-file-comment): Tweak.
11700
2ec12cb0
LL
117012013-04-29 Leo Liu <sdl.web@gmail.com>
11702
11703 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11704 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11705 (octave-function-file-comment): Fix typo.
11706 (octave-sync-function-file-names): Use read-char-choice.
11707
6eaed048
JB
117082013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11709
11710 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11711 to t for the less important warnings.
11712
3ffa2d4f
DH
117132013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11714
11715 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11716
685c9501
GM
117172013-04-27 Glenn Morris <rgm@gnu.org>
11718
11719 * vc/log-view.el (log-view-current-entry):
11720 Treat "---" separator lines as part of the following rev. (Bug#14169)
11721
0208ede7
JL
117222013-04-27 Juri Linkov <juri@jurta.org>
11723
11724 * subr.el (read-number): Doc fix about using it by interactive
11725 code letter `n'. (Bug#14254)
11726
5db9dace
JL
117272013-04-27 Juri Linkov <juri@jurta.org>
11728
11729 * desktop.el (desktop-auto-save-timeout): New option.
11730 (desktop-file-checksum): New variable.
11731 (desktop-save): Add optional arg `auto-save' and don't auto-save
11732 if nothing changed.
11733 (desktop-auto-save-timer): New variable.
11734 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11735 (after-init-hook): Call `desktop-auto-save-set-timer'.
11736 Suggested by Reuben Thomas <rrt@sc3d.org> in
11737 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11738
b7260dd4
LL
117392013-04-27 Leo Liu <sdl.web@gmail.com>
11740
11741 * progmodes/octave.el (octave-function-file-p)
11742 (octave-skip-comment-forward, octave-function-file-comment)
11743 (octave-update-function-file-comment): New functions.
11744 (octave-mode-map): Bind C-c ; to
11745 octave-update-function-file-comment.
11746 (octave-mode-menu): Add octave-update-function-file-comment.
11747 (octave-mode, inferior-octave-mode): Fix doc-string.
11748 (octave-insert-defun): Conform to Octave's coding convention.
11749 (Bug#14285)
11750
11751 * files.el (basic-save-buffer): Don't let errors in
11752 before-save-hook prevent saving buffer.
11753
c46da669
RW
117542013-04-20 Roland Winkler <winkler@gnu.org>
11755
11756 * faces.el (read-face-name): Use completing-read if arg multiple
11757 is nil.
11758
a81ee1eb
IL
117592013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11760
11761 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11762 displayed, move point to after the totals line.
11763 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11764 for the details.
11765
4fac34ce
SM
117662013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11767
11768 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11769 Add current dir to the load-path.
11770 (package-generate-autoloads): Don't rely on
11771 autoload-ensure-default-file.
11772
f6bfc063
RT
117732013-04-26 Reuben Thomas <rrt@sc3d.org>
11774
d40ab5cf
BG
11775 * textmodes/remember.el (remember-store-in-files): Document that
11776 the file name format is passed to `format-time-string'.
f6bfc063 11777
e55d3b04
LL
117782013-04-26 Leo Liu <sdl.web@gmail.com>
11779
11780 * progmodes/octave.el (octave-sync-function-file-names): New function.
11781 (octave-mode): Use it in before-save-hook.
11782
e53052d3
SM
117832013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11784
140ef50c
SM
11785 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11786 (bug#14274).
11787
e53052d3
SM
11788 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11789 \n and comment, even if it's not an implicit ; (bug#14218).
11790
af80458d 117912013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11792
11793 * subr.el (read-number): Once more use `read' rather than
11794 `string-to-number', to trap non-numeric input. (Bug#14254)
11795
af80458d 117962013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11797
11798 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11799 Use `syntax-multiline' text property consistently instead of
8a621d53 11800 `font-lock-multiline'. (Bug#14237)
70203c2e 11801
e6ea1f6c
GM
118022013-04-26 Glenn Morris <rgm@gnu.org>
11803
11804 * emacs-lisp/shadow.el (list-load-path-shadows):
11805 No longer necessary to check for duplicate simple.el, since
11806 2012-07-07 change to init_lread to not include installation lisp
11807 directories in load-path when running uninstalled. (Bug#14270)
11808
070ccca4
LL
118092013-04-26 Leo Liu <sdl.web@gmail.com>
11810
11811 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11812 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11813 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11814 octave-in-string-or-comment-p.
11815 (octave-in-comment-p, octave-in-string-p)
11816 (octave-in-string-or-comment-p): Replace defsubst with defun.
11817
9d1c5fb6
PE
118182013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11819
11820 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11821
c034abda
BG
118222013-04-25 Bastien Guerry <bzg@gnu.org>
11823
11824 * textmodes/remember.el (remember-data-directory)
11825 (remember-directory-file-name-format): Fix custom types.
11826
584ea277
LL
118272013-04-25 Leo Liu <sdl.web@gmail.com>
11828
e53052d3
SM
11829 * progmodes/octave.el (octave-completion-at-point-function):
11830 Make use of inferior octave process.
584ea277
LL
11831 (octave-initialize-completions): Remove.
11832 (inferior-octave-completion-table): New function.
11833 (inferior-octave-completion-at-point): Use it.
11834 (octave-completion-alist): Remove.
11835
1693b06a
SM
118362013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11837
11838 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11839 (opascal-mode-syntax-table): New var.
11840 (opascal-literal-kind, opascal-is-literal-end)
11841 (opascal-literal-token-at): Rewrite.
11842 (opascal--literal-start-re, opascal-font-lock-keywords)
11843 (opascal--syntax-propertize): New constants.
11844 (opascal-font-lock-defaults): Adjust.
11845 (opascal-mode): Use them. Set comment-<foo> variables as well.
11846 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11847 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11848 (delphi-other-face, opascal-other-face): Remove face variables.
11849 (opascal-save-state): Remove macro.
11850 (opascal-fontifying-progress-step): Remove constant.
11851 (opascal--ignore-changes): Remove var.
11852 (opascal-set-token-property, opascal-parse-next-literal)
11853 (opascal-is-stable-literal, opascal-complete-literal)
11854 (opascal-is-literal-start, opascal-face-of)
11855 (opascal-parse-region, opascal-parse-region-until-stable)
11856 (opascal-fontify-region, opascal-after-change)
11857 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11858 (opascal-debug-parse-region, opascal-debug-parse-window)
11859 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11860 (opascal-debug-fontify-buffer): Remove.
11861 (opascal-debug-mode-map): Adjust accordingly.
11862
be64c05d
LL
118632013-04-25 Leo Liu <sdl.web@gmail.com>
11864
11865 Merge octave-mod.el and octave-inf.el into octave.el with some
11866 cleanups.
11867 * progmodes/octave.el: New file renamed from octave-mod.el.
11868 * progmodes/octave-inf.el: Merged into octave.el.
11869 * progmodes/octave-mod.el: Renamed to octave.el.
11870
d79d37bd
TH
118712013-04-25 Tassilo Horn <tsdh@gnu.org>
11872
11873 * textmodes/reftex-vars.el
11874 (reftex-label-ignored-macros-and-environments): New defcustom.
11875
11876 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11877
ced3fc5d
SM
118782013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11879
11880 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11881 (smie-indent-keyword): Improve the check to ensure that the next
11882 comment is really on the same line.
11883 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11884
11885 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11886 semi-colons if the line is not otherwise empty (bug#14218).
11887
1c141dad
GM
118882013-04-25 Glenn Morris <rgm@gnu.org>
11889
11890 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11891
5058062a
SM
118922013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11893
11894 * progmodes/opascal.el (opascal-set-token-property): Rename from
11895 opascal-set-text-properties and only set `token' (bug#14134).
11896 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11897 (opascal-literal-text-properties): Remove.
11898 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11899 Adjust callers.
11900
5db9dace 119012013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11902
11903 * textmodes/remember.el (remember-handler-functions): Add an
11904 option for a new handler `remember-store-in-files'.
11905 (remember-data-directory, remember-directory-file-name-format):
11906 New options.
11907 (remember-store-in-files): New function to store remember notes
11908 as separate files within a directory.
11909
4391916c
MH
119102013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11911
11912 * progmodes/compile.el (compilation-next-error-function):
11913 Pass "formats" to compilation-find-file (bug#11777).
11914
bb7cdf58
GM
119152013-04-24 Glenn Morris <rgm@gnu.org>
11916
3b8fe752 11917 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11918 * vc/vc-hg.el (vc-hg-print-log):
11919 * vc/vc-svn.el (vc-svn-print-log):
11920 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11921
bb7cdf58
GM
11922 * vc/vc-bzr.el (vc-bzr-print-log):
11923 * vc/vc-cvs.el (vc-cvs-print-log):
11924 * vc/vc-git.el (vc-git-print-log):
11925 * vc/vc-hg.el (vc-hg-print-log):
11926 * vc/vc-mtn.el (vc-mtn-print-log):
11927 * vc/vc-rcs.el (vc-rcs-print-log):
11928 * vc/vc-sccs.el (vc-sccs-print-log):
11929 * vc/vc-svn.el (vc-svn-print-log):
11930 * vc/vc.el (vc-print-log-internal): Doc fixes.
11931
b46a056e
GM
119322013-04-23 Glenn Morris <rgm@gnu.org>
11933
11934 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11935 Remove venerable code attempting to avoid substitute-command-keys.
11936
0aecf718
TH
119372013-04-23 Tassilo Horn <tsdh@gnu.org>
11938
4391916c
MH
11939 * textmodes/reftex-vars.el (reftex-label-regexps):
11940 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11941
117f94cf
SM
119422013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11943
4391916c 11944 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11945 Use lexical-binding.
11946 (jit-lock-force-redisplay): Use markers, check buffer's continued
11947 existence and beware narrowed buffers.
11948 (jit-lock-fontify-now): Adjust call accordingly.
11949
1d829c64
SM
119502013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11951
11952 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11953 to avoid misleading the user.
11954
72d548a9
LL
119552013-04-22 Leo Liu <sdl.web@gmail.com>
11956
11957 * info-look.el: Prefer latex2e.info. (Bug#14240)
11958
d0853629
MA
119592013-04-22 Michael Albinus <michael.albinus@gmx.de>
11960
11961 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11962
11963 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11964 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11965 (tramp-set-completion-function, tramp-parse-putty):
11966 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11967 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11968 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11969 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11970 (tramp-call-local-coding-command): Use `tramp-call-process'
11971 instead of `tramp-compat-call-process'.
11972
11973 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11974 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11975 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11976 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11977 (tramp-maybe-send-script): Check for Perl binary.
11978 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11979
38cc0210
DU
119802013-04-22 Daiki Ueno <ueno@gnu.org>
11981
11982 * epg.el (epg-context-pinentry-mode): New function.
11983 (epg-context-set-pinentry-mode): New function.
11984 (epg--start): Pass --pinentry-mode option to gpg command.
11985
cc641ee1
XF
119862013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11987
02d844b5 11988 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11989 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11990 `completion-at-point'. (Bug#13774)
5d4e5c31 11991
cc641ee1
XF
11992 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11993 default key binding for `describe-distribution' has been moved to
11994 `C-h C-o'. (Bug#13970)
11995
1b42ee43
GM
119962013-04-21 Glenn Morris <rgm@gnu.org>
11997
11998 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11999 Add doc strings.
12000 (vc-print-log): Clarify interactive prompt.
12001
a6d63d97
GM
120022013-04-20 Glenn Morris <rgm@gnu.org>
12003
12004 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12005 No longer include timestamp etc information.
12006
d7f5c16f
RW
120072013-04-20 Roland Winkler <winkler@gnu.org>
12008
12009 * faces.el (read-face-name): Bug fix, return just one face if arg
12010 multiple is nil. (Bug#14209)
12011
bcd7a0a4
SM
120122013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12013
12014 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12015 (remove-function): Autoload.
12016
12017 * comint.el (comint-redirect-original-filter-function): Remove.
12018 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
12019 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12020 (vc-cvs-annotate-command):
bcd7a0a4
SM
12021 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12022 * progmodes/prolog.el (prolog-consult-compile):
12023 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12024 Use add/remove-function instead.
12025 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12026 (gud-tooltip-process-output, gud-tooltip-tips):
12027 Use add/remove-function instead.
12028 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12029 (scheme-interaction-mode, exit-scheme-interaction-mode):
12030 Use add/remove-function instead.
12031
12032 * vc/vc-dispatcher.el: Use lexical-binding.
12033 (vc--process-sentinel): Rename from vc-process-sentinel.
12034 Change last arg to be the code to run. Don't use vc-previous-sentinel
12035 and vc-sentinel-commands any more.
12036 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12037 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12038
e36b2d20 120392013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 12040
bcd7a0a4 12041 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 12042 Handle function names with a single character. (Bug#14111)
4d3268ba 12043
781b4af6 120442013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
12045
12046 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12047 for subroutines defined in an eval (bug#14182).
12048
7d688336
TV
120492013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12050
12051 * bookmark.el (bookmark-completing-read): Improve handling of empty
12052 string (bug#14176).
12053
31dcede0
SM
120542013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12055
12056 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12057
adc31213
FEG
120582013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12059
12060 New faster Imenu implementation (bug#14058).
12061 * progmodes/python.el:
12062 (python-imenu-prev-index-position):
12063 (python-imenu-format-item-label-function)
12064 (python-imenu-format-parent-item-label-function)
12065 (python-imenu-format-parent-item-jump-label-function):
12066 New vars.
12067 (python-imenu-format-item-label)
12068 (python-imenu-format-parent-item-label)
12069 (python-imenu-format-parent-item-jump-label)
12070 (python-imenu--put-parent, python-imenu--build-tree)
12071 (python-imenu-create-index, python-imenu-create-flat-index)
12072 (python-util-popn): New functions.
12073 (python-mode): Set imenu-create-index-function to
12074 python-imenu-create-index.
12075
cdca8255
SM
120762013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12077
12078 * winner.el (winner-active-region): Use region-active-p, activate-mark
12079 and deactivate-mark (bug#14225).
12080
12081 * simple.el (deactivate-mark): Don't inline it.
12082
beb42340
MA
120832013-04-18 Michael Albinus <michael.albinus@gmx.de>
12084
12085 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12086
fc7f4d7e
TH
120872013-04-18 Tassilo Horn <tsdh@gnu.org>
12088
12089 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12090 file extensions from the archive-mode entry in order to prefer
12091 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12092
29f47822
LL
120932013-04-18 Leo Liu <sdl.web@gmail.com>
12094
12095 * bindings.el (help-event-list): Add ?\?.
12096
d36ed1c8
SM
120972013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12098
12099 * subr.el (with-wrapper-hook): Declare obsolete.
12100 * simple.el (filter-buffer-substring-function): New hook.
12101 (filter-buffer-substring): Use it.
12102 (filter-buffer-substring-functions): Mark obsolete.
12103 * minibuffer.el (completion-in-region-function): New hook.
12104 (completion-in-region): Use it.
12105 (completion-in-region-functions): Mark obsolete.
12106 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12107 * abbrev.el (abbrev-expand-function): New hook.
12108 (expand-abbrev): Use it.
12109 (abbrev-expand-functions): Mark obsolete.
12110 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12111 and :filter-return.
12112
04754d36
FEG
121132013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12114
12115 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12116 and do not care about match data.
12117
dd8791e9
SM
121182013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12119
12120 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12121 completion tables when completing error conditions and
12122 `declare' arguments.
12123 (lisp-complete-symbol, field-complete): Mark as obsolete.
12124 (check-parens): Unmatched parens are user errors.
12125 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12126
ffe54a13
AM
121272013-04-17 Michal Nazarewicz <mina86@mina86.com>
12128
dd8791e9
SM
12129 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12130 command changed buffer (ie. `flyspell-pre-buffer' is not current
12131 buffer), which prevents making decisions based on invalid value of
12132 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12133 cause an error when `flyspell-pre-point' was nil after switching
12134 buffers.
12135 (flyspell-post-command-hook): No longer needs to change buffers when
12136 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12137
ec7e39f2
AM
121382013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12139
12140 * textmodes/ispell.el (ispell-add-per-file-word-list):
12141 Fix `flyspell-correct-word-before-point' error when accepting
12142 words and `coment-padding' is an integer by using
12143 `comment-normalize-vars' (Bug #14214).
12144
083850a6
FEG
121452013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12146
12147 New defun movement commands.
12148 * progmodes/python.el (python-nav--syntactically)
12149 (python-nav--forward-defun, python-nav-backward-defun)
12150 (python-nav-forward-defun): New functions.
12151
619ed6e1
FEG
121522013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12153
12154 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12155 (python-syntax-context): Use named compiler-macro for backwards
12156 compatibility with Emacs 24.x.
12157
7a1beb6c
LL
121582013-04-17 Leo Liu <sdl.web@gmail.com>
12159
12160 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12161 octave-hide-process-buffer.
12162
2d3fa3e5
SM
121632013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12164
12165 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12166 (bug#14216).
12167
7ce5be54
JPG
121682013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12169
12170 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12171 Fix adjustment of offset when receiving incomplete responses from GDB
12172 (bug#14129).
12173
351edece
SM
121742013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12175
12176 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12177 python-mode-abbrev-table.
12178 (python-skeleton-define): Adjust accordingly.
12179 (python-mode-abbrev-table): New table that inherits from it so that
12180 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12181
12182 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12183 (abbrev-symbol): Use it.
12184 (abbrev--before-point): Use it since we already handle inheritance.
12185
613f9481
LL
121862013-04-16 Leo Liu <sdl.web@gmail.com>
12187
12188 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12189 binding to info-lookup-symbol.
12190
51646b62
JB
121912013-04-16 Juanma Barranquero <lekktu@gmail.com>
12192
12193 * minibuffer.el (completion--twq-all):
12194 * term/ns-win.el (ns-initialize-window-system):
12195 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12196
efb3f01d
SM
121972013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12198
36c0a301
SM
12199 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12200 global bindings.
12201
efb3f01d
SM
12202 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12203
fb549d64
DG
122042013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12205
12206 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12207 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12208 to nil.
12209 (ruby-end-of-defun): Remove the unused arg, change the docstring
12210 to reflect that this function is only used as the value of
12211 `end-of-defun-function'.
12212 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12213 to reflect an earlier change that beginning/end-of-defun functions
12214 jump between methods in a class definition, as well as top-level
12215 functions.
12216
21e8fe2f
SM
122172013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12218
12219 * minibuffer.el (minibuffer-complete): Don't just scroll
12220 a *Completions* that's been iconified.
12221 (minibuffer-force-complete): Make sure repetitions do cycle when going
12222 through completion-in-region -> minibuffer-complete.
12223
20e527d0
AM
122242013-04-15 Alan Mackenzie <acm@muc.de>
12225
12226 Correct the placement of c-cpp-delimiters when there're #s not at
12227 col 0.
12228
12229 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12230 place a submatch around the #.
21e8fe2f
SM
12231 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12232 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12233 on the #, not BOL.
12234
dabefae5
SM
122352013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12236
12237 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12238 (advice--member-p): New arg `name'.
12239 (advice--add-function, advice-member-p): Use it (bug#14202).
12240
85c9ab64
AM
122412013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12242
12243 Reformulate java imenu-generic-expression.
12244 The old expression contained ill formed regexps.
12245
12246 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12247 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12248 (cc-imenu-java-method-arg-regexp): New defconsts.
12249 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12250 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12251 handling of spaces in the regexp.
12252
0f821d99
AM
122532013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12254
12255 * textmodes/ispell.el (ispell-command-loop): Remove
12256 flyspell highlight of a word when ispell accepts it (bug #14178).
12257
eb922adf
MA
122582013-04-15 Michael Albinus <michael.albinus@gmx.de>
12259
12260 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12261 uses code from the previous `ange-ftp-run-real-handler'.
12262 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12263 only in case that function exist. This is needed for proper
12264 unloading of Tramp.
12265
4d9a0979
TH
122662013-04-15 Tassilo Horn <tsdh@gnu.org>
12267
12268 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12269
12270 * textmodes/reftex.el (reftex-compile-variables): Use it.
12271
a829b0dc
SM
122722013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12273
91e8293c
SM
12274 * files.el (normal-mode): Only use default major-mode if no other mode
12275 was specified.
12276
830aed4d
SM
12277 * emacs-lisp/trace.el (trace-values): New function.
12278
a829b0dc
SM
12279 * files.el: Allow : in local variables (bug#14089).
12280 (hack-local-variable-regexp): New var.
12281 (hack-local-variables-prop-line, hack-local-variables): Use it.
12282
7ae9f0fb
RW
122832013-04-13 Roland Winkler <winkler@gnu.org>
12284
12285 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12286 data before it gets modified by bibtex-beginning-of-entry.
12287
6646e848
RW
122882013-04-13 Roland Winkler <winkler@gnu.org>
12289
12290 * textmodes/bibtex.el (bibtex-url): Doc fix.
12291
122922013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12293
12294 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12295 does not visit a BibTeX file, exclude it from the list of buffers
12296 returned by bibtex-initialize.
12297
0aa3616e
SB
122982013-04-13 Stephen Berman <stephen.berman@gmx.net>
12299
12300 * window.el (split-window): Remove interactive form, since as a
12301 command this function is a special case of split-window-below.
12302 Correct doc string.
12303
011cddd6
RW
123042013-04-12 Roland Winkler <winkler@gnu.org>
12305
12306 * faces.el (read-face-name): Do not override value of arg default.
12307 Allow single faces and strings as default values. Remove those
12308 elements from return value that are not faces.
12309 (describe-face): Simplify.
12310 (face-at-point): New optional args thing and multiple so that this
12311 function can provide the same functionality previously provided by
12312 read-face-name.
12313 (make-face-bold, make-face-unbold, make-face-italic)
12314 (make-face-unitalic, make-face-bold-italic, invert-face)
12315 (modify-face, read-face-and-attribute): Use face-at-point.
12316
12317 * cus-edit.el (customize-face, customize-face-other-window)
12318 * cus-theme.el (custom-theme-add-face)
12319 * face-remap.el (buffer-face-set)
12320 * facemenu.el (facemenu-set-face): Use face-at-point.
12321
f24e0036
MA
123222013-04-12 Michael Albinus <michael.albinus@gmx.de>
12323
12324 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12325
da3cda2d
TH
123262013-04-10 Tassilo Horn <tsdh@gnu.org>
12327
12328 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12329 off leading { and trailing } from field values.
12330
15e54145
SM
123312013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12332
78ce603d
SM
12333 * emacs-lisp/timer.el (timer--check): New function.
12334 (timer--time, timer-set-function, timer-event-handler): Use it.
12335 (timer-set-idle-time): Simplify.
12336 (timer--activate): CSE.
12337 (timer-event-handler): Give more info in error message.
12338 (internal-timer-start-idle): New function, moved from C.
12339
15e54145
SM
12340 * mpc.el (mpc-proc): Add `restart' argument.
12341 (mpc-proc-cmd): Use it.
12342 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12343 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12344 less often.
12345
7144c627
MY
123462013-04-10 Masatake YAMATO <yamato@redhat.com>
12347
12348 * progmodes/sh-script.el: Implement `sh-mode' own
12349 `add-log-current-defun-function' (bug#14112).
12350 (sh-current-defun-name): New function.
12351 (sh-mode): Use the function.
12352
b39792eb
BG
123532013-04-09 Bastien Guerry <bzg@gnu.org>
12354
12355 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12356
8acdeb71
SM
123572013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12358
6fcdab68
SM
12359 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12360
8acdeb71
SM
12361 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12362 timer (bug#14156).
12363
e3e7b504
NF
123642013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12365
12366 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12367 declaration.
12368
201bb296
LL
123692013-04-07 Leo Liu <sdl.web@gmail.com>
12370
12371 * pcmpl-x.el: New file.
12372
ebb19708
DA
123732013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12374
12375 Do not set x-display-name until X connection is established.
12376 This is needed to prevent from weird situation described at
12377 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12378 * frame.el (make-frame): Set x-display-name after call to
12379 window system initialization function, not before.
12380 * term/x-win.el (x-initialize-window-system): Add optional
12381 display argument and use it.
12382 * term/w32-win.el (w32-initialize-window-system):
12383 * term/ns-win.el (ns-initialize-window-system):
12384 * term/pc-win.el (msdos-initialize-window-system):
12385 Add compatible optional display argument.
12386
33bb237a
EZ
123872013-04-06 Eli Zaretskii <eliz@gnu.org>
12388
12389 * files.el (normal-backup-enable-predicate): On MS-Windows and
12390 MS-DOS compare truenames of temporary-file-directory and of the
12391 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12392 don't fail comparison by compare-strings. Also, compare file
12393 names case-insensitively on MS-Windows and MS-DOS.
12394
134abf1f
SM
123952013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12396
12397 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12398 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12399
d695cb94
DG
124002013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12401
e3e7b504
NF
12402 * whitespace.el (whitespace-color-on, whitespace-color-off):
12403 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12404
f4ad7ea1 124052013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12406
12407 * ispell.el (ispell-set-spellchecker-params):
12408 Really set `ispell-args' for all equivs.
12409
632556e4
SM
124102013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12411
12412 * ido.el (ido-completions): Use extra elements of ido-decorations
12413 (bug#14143).
12414 (ido-decorations): Update docstring.
12415
2a417372
MA
124162013-04-05 Michael Albinus <michael.albinus@gmx.de>
12417
12418 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12419 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12420 nil during initialization, in order not to miss changes since the
12421 file was opened. (Bug#14140)
12422
fc164b0c
LL
124232013-04-05 Leo Liu <sdl.web@gmail.com>
12424
12425 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12426
0ccecc08
JB
124272013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12428
12429 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12430
51af1aa2
GM
124312013-04-04 Glenn Morris <rgm@gnu.org>
12432
12433 * electric.el (electric-pair-inhibit-predicate): Add :version.
12434
b208ebc6
SM
124352013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12436
12437 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12438 when a package is required several times (bug#14082).
12439
f3d3eaf0
RW
124402013-04-04 Roland Winkler <winkler@gnu.org>
12441
12442 * faces.el (read-face-name): Behave as promised by the docstring.
12443 Assume that arg default is a list of faces.
12444 (describe-face): Call read-face-name with list of default faces.
12445
2575da50
TV
124462013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12447
12448 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12449 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12450 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12451 the header.
12452 (bookmark-exit-hook-internal): Save even if list is empty.
12453
397703b4
YH
124542013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12455
12456 * emacs-lisp/package.el (package-pinned-packages): New var.
12457 (package--add-to-archive-contents): Obey it (bug#14118).
12458
691e26ae
AM
124592013-04-03 Alan Mackenzie <acm@muc.de>
12460
8a621d53
JB
12461 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12462 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12463
12464 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12465 parameter `not-in-delimiter'. Handle being inside comment opener.
12466 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12467 character in case we're typing a '*' after a '/'.
12468 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12469 instead by passing the parameter to c-state-pp-to-literal.
12470
12471 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12472 for elt. 7 of a parse state.
12473
4b725a70
PE
124742013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12475
12476 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12477 * international/latin1-disp.el, international/mule-util.el:
12478 * language/cyril-util.el, language/european.el, language/ind-util.el:
12479 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12480 * language/tibetan.el, language/viet-util.el:
12481 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12482
15c579f0
SM
124832013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12484
12485 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12486 (electric-pair-post-self-insert-function): Use it.
12487 (electric-pair-default-inhibit): New function, extracted from
12488 electric-pair-post-self-insert-function.
12489
a77e2924
RW
124902013-03-31 Roland Winkler <winkler@gnu.org>
12491
12492 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12493
2bd8a4a8
SM
124942013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12495
12496 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12497
8d3655be 124982013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12499
12500 Un-indent after "pass" and "return" statements (Bug#13888)
12501 * progmodes/python.el (python-indent-block-enders): New var.
12502 (python-indent-calculate-indentation): Use it.
12503
8d3655be 125042013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12505
12506 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12507 defun. Defining it as defalias could introduce too eager
12508 byte-compiler optimization. (Bug#14030)
12509
8d3655be 125102013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12511
12512 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12513
0b1619da
LL
125142013-03-30 Leo Liu <sdl.web@gmail.com>
12515
12516 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12517 (kmacro-execute-from-register): Pass the keyboard macro to
12518 kmacro-call-macro or repeating won't work correctly.
12519
0b938190
TZ
125202013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12521
12522 * progmodes/subword.el: Back to using `forward-symbol'.
12523
12524 * subr.el (forward-whitespace, forward-symbol)
12525 (forward-same-syntax): Move from thingatpt.el.
12526
35710234
LL
125272013-03-29 Leo Liu <sdl.web@gmail.com>
12528
12529 * kmacro.el (kmacro-to-register): New command.
12530 (kmacro-execute-from-register): New function.
12531 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12532
efc0bb73
SM
125332013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12534
12535 * mpc.el: Use defvar-local and setq-local.
12536 (mpc--proc-connect): Connection failures are not bugs.
12537 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12538 (mpc-volume-map): Bind to the up-events.
12539
75a2f981
TZ
125402013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12541
12542 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12543 instead of `forward-symbol'.
12544
17c781d1
SM
125452013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12546
12547 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12548 (edebug--recursive-edit): Use it.
12549 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12550 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12551
f67bfbcf
LL
125522013-03-28 Leo Liu <sdl.web@gmail.com>
12553
12554 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12555
b59f639d
EZ
125562013-03-27 Eli Zaretskii <eliz@gnu.org>
12557
12558 * facemenu.el (list-colors-callback): New defvar.
12559 (list-colors-redisplay): New function.
12560 (list-colors-display): Install list-colors-redisplay as the
12561 revert-buffer-function. (Bug#14063)
12562
f557c1b1
SM
125632013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12564
b1da2957
SM
12565 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12566 and suffixes don't overlap (bug#14061).
12567
f557c1b1
SM
12568 * case-table.el: Use lexical-binding.
12569 (case-table-get-table): New function.
12570 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12571
002668e1
TZ
125722013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12573
12574 * progmodes/subword.el: Add `superword-mode' to do word motion
12575 over symbol_words (parallels and leverages `subword-mode' which
12576 does word motion inside MixedCaseWords).
12577
73572c72
AG
125782013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12579
78b8f320 12580 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12581 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12582
69b2c07e
SM
125832013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12584
12585 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12586 Change return value to be a sexp. Delay `get-buffer' to after
12587 restoring the desktop (bug#13951).
12588
08bb5ee2
LL
125892013-03-26 Leo Liu <sdl.web@gmail.com>
12590
12591 * register.el: Move semantic tag handling back to
12592 cedet/semantic/senator.el. (Bug#14052)
12593
8d4c974e
SM
125942013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12595
12596 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12597 into the prompt either (bug#13963).
12598
b234d92c
SM
125992013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12600
12601 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12602 part of "(error-foo)".
12603
ddfa3cb4
JL
126042013-03-24 Juri Linkov <juri@jurta.org>
12605
12606 * replace.el (list-matching-lines-prefix-face): New defcustom.
12607 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12608 `occur-engine' if `face-differs-from-default-p' returns t.
12609 (occur-engine): Add `,' inside backquote construct to evaluate
12610 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12611 Pass `prefix-face' to the functions `occur-context-lines' and
12612 `occur-engine-add-prefix'.
12613 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12614 `prefix-face' and propertize the prefix with `prefix-face'.
12615 (Bug#14017)
12616
7b0e2f85
LL
126172013-03-24 Leo Liu <sdl.web@gmail.com>
12618
12619 * nxml/rng-valid.el (rng-validate-while-idle)
12620 (rng-validate-quick-while-idle): Guard against deleted buffer.
12621 (Bug#13999)
12622
12623 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12624 is the last entry in kill-buffer-hook.
12625
12626 * files.el (kill-buffer-hook): Doc fix.
12627
b3082f49
DG
126282013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12629
b234d92c
SM
12630 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12631 Make it safe-local.
bde73d27 12632
b3082f49
DG
12633 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12634
a320a2db
LL
126352013-03-23 Leo Liu <sdl.web@gmail.com>
12636
7e74b0fb
LL
12637 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12638 Remove.
12639
12640 * nxml/rng-valid.el (rng-validate-mode)
12641 (rng-after-change-function, rng-do-some-validation):
12642 * nxml/rng-maint.el (rng-validate-buffer):
12643 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12644 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12645 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12646 (nxml-extend-after-change-region): Use with-silent-modifications.
12647
a320a2db
LL
12648 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12649 timer-idle-list.
12650
12651 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12652 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12653 timer-idle-list. (Bug#13999)
12654
e38e6780
JL
126552013-03-23 Juri Linkov <juri@jurta.org>
12656
12657 * info.el (info-index-match): New face.
12658 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12659 main pattern and add text properties with the new face to matches
12660 in index entries relative to the beginning of the index entry.
12661 (Bug#14015)
12662
e8cc7880
DE
126632013-03-21 Eric Ludlam <zappo@gnu.org>
12664
39c87140 12665 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12666 Inhibit read only while inserting objects.
12667
9bb0d822
TZ
126682013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12669
12670 * progmodes/cfengine.el: Update docs to mention
12671 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12672 symbol motion. Remove "_" from the word syntax.
12673
aa703640
TZ
126742013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12675
12676 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12677 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12678
afff09d0
JL
126792013-03-20 Juri Linkov <juri@jurta.org>
12680
12681 * info.el (Info-next-reference-or-link)
12682 (Info-prev-reference-or-link): New functions.
12683 (Info-next-reference, Info-prev-reference): Use them.
12684 (Info-try-follow-nearest-node): Handle footnote navigation.
12685 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12686
9a1ff164
SM
126872013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12688
12689 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12690 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12691
2667d15d
PE
126922013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12693
12694 Suppress unnecessary non-ASCII chatter during build process.
12695 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12696 (batch-skkdic-convert): Suppress most of the chatter.
12697 It's not needed so much now that machines are faster,
12698 and its non-ASCII component was confusing; see Dmitry Gutov in
12699 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12700
438b0579
LL
127012013-03-20 Leo Liu <sdl.web@gmail.com>
12702
12703 * ido.el (ido-chop): Fix bug#10994.
12704
c128ab07
DG
127052013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12706
12707 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12708 Remove vars.
9a1ff164
SM
12709 (whitespace-color-on, whitespace-color-off):
12710 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12711
0e6008c5
SM
127122013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12713
12714 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12715 remapping in mode-line.
12716 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12717
627b52b0
DG
127182013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12719
12720 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12721 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12722 (whitespace-font-lock-keywords): Change description.
12723 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12724 the constructed keywords instead.
12725 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12726
50c3a20b
LL
127272013-03-19 Leo Liu <sdl.web@gmail.com>
12728
12729 * progmodes/compile.el (compilation-display-error): New command.
12730 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12731 C-o. (Bug#13992)
12732
2aa2157b
PE
127332013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12734
12735 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12736
e477dbfa
JD
127372013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12738
12739 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12740
64ab82d1
MA
127412013-03-18 Michael Albinus <michael.albinus@gmx.de>
12742
12743 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12744
12745 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12746 * net/tramp-gvfs.el (top):
12747 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12748 (tramp-handle-shell-command): Use it.
12749 (tramp-dissect-file-name): Raise an error when hostname is a
12750 method name, and neither method nor user is specified.
12751
12752 * net/trampver.el: Update release number.
12753
33cef733
LL
127542013-03-18 Leo Liu <sdl.web@gmail.com>
12755
12756 Make sure eldoc can be turned off properly.
12757 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12758 eldoc-mode.
12759 (eldoc-display-message-p): Revert last change.
12760 (eldoc-display-message-no-interference-p)
12761 (eldoc-print-current-symbol-info): Tweak.
12762
2167b7b2
TH
127632013-03-18 Tassilo Horn <tsdh@gnu.org>
12764
12765 * doc-view.el (doc-view-new-window-function): Check the new window
12766 overlay's display property instead the char property of the
12767 buffer's first char. Use `with-selected-window' instead of
12768 `save-window-excursion' with `select-window'.
12769 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12770 display property instead the char property of the buffer's first char.
2167b7b2 12771
982efbcd
PE
127722013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12773
12774 Automate the build of ja-dic.el (Bug#13984).
12775 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12776 from the input, rather than assume that it's been done for us by the
12777 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12778 the current date into a ja-dic.el comment, as that complicates
12779 regression testing.
12780
2fcc7665
SM
127812013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12782
12783 * whitespace.el: Fix double evaluation.
12784 (whitespace-space, whitespace-hspace, whitespace-tab)
12785 (whitespace-newline, whitespace-trailing, whitespace-line)
12786 (whitespace-space-before-tab, whitespace-indentation)
12787 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12788 obsolete defvars.
12789 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12790 (whitespace-color-on): Use a single font-lock-add-keywords call.
12791 Fix double-evaluation of face variables.
12792
67c0a6e6
MA
127932013-03-17 Michael Albinus <michael.albinus@gmx.de>
12794
2fcc7665
SM
12795 * net/tramp-adb.el (tramp-adb-parse-device-names):
12796 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12797 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12798
69489f1d
LL
127992013-03-17 Leo Liu <sdl.web@gmail.com>
12800
12801 Extend eldoc to display info in the mode-line. (Bug#13978)
12802 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12803 (eldoc-mode-line-string): New variable.
12804 (eldoc-minibuffer-message): New function.
12805 (eldoc-message-function): New variable.
12806 (eldoc-message): Use it.
12807 (eldoc-display-message-p)
2fcc7665
SM
12808 (eldoc-display-message-no-interference-p):
12809 Support eldoc-post-insert-mode.
69489f1d
LL
12810
12811 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12812 (eval-expression): Run it.
12813
9c44569e
RW
128142013-03-17 Roland Winkler <winkler@gnu.org>
12815
12816 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12817 strings in the list of return values.
12818
327f1f6f
JB
128192013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12820
12821 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12822 radix before checking for HMS forms.
12823
67ed8fcd
LL
128242013-03-16 Leo Liu <sdl.web@gmail.com>
12825
12826 * progmodes/scheme.el: Add indentation and font-locking for λ.
12827 (Bug#13975)
12828
78be8b64 128292013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12830
12831 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12832 token before point (bug#13942).
12833
78be8b64 128342013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12835
95b43468 12836 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12837
98e775e6
EZ
128382013-03-16 Eli Zaretskii <eliz@gnu.org>
12839
12840 * startup.el (command-line-normalize-file-name): Fix handling of
12841 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12842 <xfq.free@gmail.com> in
12843 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12844
2edd6029
MA
128452013-03-15 Michael Albinus <michael.albinus@gmx.de>
12846
12847 Sync with Tramp 2.2.7.
12848
12849 * net/trampver.el: Update release number.
12850
d35f5864
TH
128512013-03-14 Tassilo Horn <tsdh@gnu.org>
12852
e903c210 12853 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12854 (doc-view-insert-image): Don't modify overlay associated to
12855 non-live windows, and implement horizontal centering of image in
12856 case it's smaller than the window.
12857 (doc-view-new-window-function): Force redisplay of new windows on
12858 doc-view buffers.
d35f5864 12859
1c4a85ed
KF
128602013-03-13 Karl Fogel <kfogel@red-bean.com>
12861
12862 * saveplace.el (save-place-alist-to-file): Don't sort
12863 `save-place-alist', just pretty-print it (bug#13882).
12864
85b66a21
MA
128652013-03-13 Michael Albinus <michael.albinus@gmx.de>
12866
a020afb9
JB
12867 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12868 Check whether `default-file-name-coding-system' is bound.
12869 It isn't in XEmacs.
85b66a21 12870
175600da
SM
128712013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12872
e7f7cb1a
SM
12873 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12874 backquotes for `obsolete' (bug#13929).
12875
175600da
SM
12876 * international/mule.el (find-auto-coding): Include file name in
12877 obsolescence warning (bug#13922).
12878
ca68a22e
TZ
128792013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12880
12881 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12882 for CFEngine 3-specific indentation.
12883 (cfengine3-indent-line): Use it. Fix up category regex.
12884 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12885
940e5099
SM
128862013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12887
12888 * type-break.el (type-break-file-name):
12889 * textmodes/remember.el (remember-data-file):
12890 * strokes.el (strokes-file):
12891 * shadowfile.el (shadow-initialize):
12892 * saveplace.el (save-place-file):
12893 * ps-bdf.el (bdf-cache-file):
12894 * progmodes/idlwave.el (idlwave-config-directory):
12895 * net/quickurl.el (quickurl-url-file):
12896 * international/kkc.el (kkc-init-file-name):
12897 * ido.el (ido-save-directory-list-file):
12898 * emulation/viper.el (viper-custom-file-name):
12899 * emulation/vip.el (vip-startup-file):
12900 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12901 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12902
cc725808
PE
129032013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12904
12905 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12906 * language/thai-word.el: Switch to UTF-8.
12907
a020afb9 12908See ChangeLog.16 for earlier changes.
e3d51b27
MR
12909
12910;; Local Variables:
12911;; coding: utf-8
e3d51b27
MR
12912;; End:
12913
ba318903 12914 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12915
12916 This file is part of GNU Emacs.
12917
12918 GNU Emacs is free software: you can redistribute it and/or modify
12919 it under the terms of the GNU General Public License as published by
12920 the Free Software Foundation, either version 3 of the License, or
12921 (at your option) any later version.
12922
12923 GNU Emacs is distributed in the hope that it will be useful,
12924 but WITHOUT ANY WARRANTY; without even the implied warranty of
12925 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12926 GNU General Public License for more details.
12927
12928 You should have received a copy of the GNU General Public License
12929 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.