lisp/gnus/ietf-drums.el (ietf-drums-parse-address): Don't bug out when called with...
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
629de968
MA
12014-02-06 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4 instead of ";" in order to avoid additional prompts. Let heredoc
5 scripts read from tty. (Bug#16582)
6 (tramp-send-command): No special handling of heredocs, it isn't
7 necessary anymore.
8
29127376
SM
92014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
10
11 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
12 with a space (bug#16664). Limit the symbols considered to the ones
13 that are bound or fbound (bug#16646).
14
79b6e0a9
GM
152014-02-06 Glenn Morris <rgm@gnu.org>
16
17 * epa.el (epa-mail-aliases): Doc fix.
18
a333e4d2
DG
192014-02-06 Dmitry Gutov <dgutov@yandex.ru>
20
29127376
SM
21 * emacs-lisp/lisp.el (lisp-completion-at-point):
22 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
23 (bug#16604).
24
25 * minibuffer.el (completion-table-merge): New function.
26
9a83b32b
MA
272014-02-05 Michael Albinus <michael.albinus@gmx.de>
28
29 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
30 (tramp-sh-handle-set-file-acl)
31 (tramp-sh-handle-start-file-process)
32 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
33 (tramp-find-executable, tramp-send-command): Use it.
34
451ea3e6
GM
352014-02-05 Glenn Morris <rgm@gnu.org>
36
9a83b32b 37 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 38
dd27d13b
FEG
392014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
40
41 * progmodes/python.el (python-shell-send-string):
42 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
43
08e41897
AL
442014-02-04 Anders Lindgren <andlind@gmail.com>
45
46 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
47 the names (bug#16620).
48
764ec9e5
MR
492014-02-03 Martin Rudalics <rudalics@gmx.at>
50
08e41897
AL
51 * faces.el (window-divider): New default value. Rewrite doc-string.
52 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 53
6da8227c
DG
542014-02-03 Dmitry Gutov <dgutov@yandex.ru>
55
56 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
57 `protected' and `public' can also be called without arguments.
58
6a6b8e40
GM
592014-02-03 Glenn Morris <rgm@gnu.org>
60
7bcbca40
GM
61 * register.el (window-configuration-to-register)
62 (frame-configuration-to-register): Unadvertise unused argument.
63 * frameset.el (frameset-to-register): Remove unused argument.
64
6a6b8e40
GM
65 * kmacro.el (kmacro-to-register):
66 * register.el (increment-register):
67 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
68 (calc-append-to-register, calc-prepend-to-register):
69 * play/gametree.el (gametree-layout-to-register)
70 (gametree-apply-register-layout):
71 * textmodes/picture.el (picture-clear-rectangle-to-register)
72 (picture-yank-rectangle-from-register):
73 * vc/emerge.el (emerge-combine-versions-register):
74 Use register-read-with-preview to read registers.
75
5dca7759
JT
762014-02-03 João Távora <joaotavora@gmail.com>
77
78 * elec-pair.el (electric-pair-backward-delete-char): Don't error
79 when at beginning of (possibly narrowed) buffer.
80
709085b9
DC
812014-02-02 Daniel Colascione <dancol@dancol.org>
82
08e41897
AL
83 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
84 Also try to display local help from just before point.
709085b9 85
99f7b0a6
AM
862014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
87
88 c-parse-state. Don't "append-lower-brace-pair" in certain
89 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
90 recognised as a comment.
91
92 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
93 as well as normal comment starter.
94 (c-parse-state-get-strategy): Extra return possibility
95 'back-and-forward.
96 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
97 return value list to indicate replacement of a brace-pair cons
98 with its car.
99 (c-parse-state-1): With 'back-and-forward, only call
100 c-append-lower-brace-pair-to state-cache when cons-separated.
101
f0a10576
JD
1022014-02-02 Jan Djärv <jan.h.d@swipnet.se>
103
104 * term/ns-win.el (ns-suspend-error): New function.
105 (ns-initialize-window-system): Add ns-suspend-error to
106 suspend-hook (Bug#16612).
107
b8d552c2
DC
1082014-02-02 Daniel Colascione <dancol@dancol.org>
109
110 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
111
f2b7d123
DC
1122014-02-02 Daniel Colascione <dancol@dancol.org>
113
114 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
115
4472a196
GM
1162014-02-02 Glenn Morris <rgm@gnu.org>
117
118 * register.el (register-read-with-preview, point-to-register)
119 (window-configuration-to-register, frame-configuration-to-register)
120 (jump-to-register, number-to-register, view-register, insert-register)
121 (copy-to-register, append-to-register, prepend-to-register)
122 (copy-rectangle-to-register): Doc fixes.
123
70e5a261
SM
1242014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
127 * emacs-lisp/find-func.el (find-function-C-source): Idem.
128 * emacs-lisp/nadvice.el (advice--cd*r): New function.
129 * help-fns.el (describe-function-1): Use it.
130
7c324762
GM
1312014-02-02 Glenn Morris <rgm@gnu.org>
132
133 * register.el (register-preview-default): New function,
134 split from register-preview.
135 (register-preview-function): Rename from register-preview-functions,
136 make it not a hook.
137 (register-preview): Use register-preview-function.
138 (register-read-with-preview): Error on non-character event. (Bug#16595)
139
a09beb3d
DG
1402014-02-01 Dmitry Gutov <dgutov@yandex.ru>
141
142 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
143 `:' before binary operators (bug#16609). Don't check for `:'
144 before `[' and `(', or their syntax status. A percent literal
145 can't end with either.
68e004e0
DG
146 (ruby-font-lock-keywords): For built-ins that require arguments,
147 check that they're followed by something that looks like argument
148 (bug#16610).
a09beb3d 149
ed4d2875
LI
1502014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
151
152 * subr.el (butlast): Document what an omitted N means (bug#13437).
153 (nbutlast): Ditto.
154
dba6e3ec
LI
1552014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
156
157 * net/shr.el (shr-generic): Make into a defsubst to make the stack
158 depth shallower (bug#16587).
cc477daa
LI
159 (shr-tag-svg): Respect `shr-inhibit-images'.
160 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 161
e2a67bd0
DG
1622014-01-31 Dmitry Gutov <dgutov@yandex.ru>
163
164 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
165 (ruby-smie-grammar): Make "." right-associative. Make its priority
166 lower than the ternary and all binary operators.
167 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
168 parent, or the first "." parent at indentation.
169 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
170 (Bug#16593)
171
bd21bf41
JL
1722014-01-31 Juri Linkov <juri@jurta.org>
173
174 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
175 from `make-hash-table'.
176
177 * textmodes/ispell.el (ispell-init-process): Change message format
178 to be consistent with other messages.
179
b7e615b9
GM
1802014-01-31 Glenn Morris <rgm@gnu.org>
181
a69ecd19
GM
182 * delsel.el (delete-selection-mode): Doc fix.
183
9997d7e3
GM
184 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
185 (trace-function-background): Doc fixes.
186
fbb764b8
GM
187 * ido.el (ido-use-virtual-buffers): Doc fix.
188 Reset :version, since the default value has not changed.
189
da942af1
GM
190 * register.el (register-preview-delay, register-read-with-preview):
191 Doc fixes.
192
b7e615b9
GM
193 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
194 do not mess with mail-buffer position (fixes 2009-11-03 change).
195 * progmodes/cc-mode.el (c-submit-bug-report):
196 Check auto-fill-mode is bound. (Bug#16592)
197
0a25002d
DH
1982014-01-31 Darren Hoo <darren.hoo@gmail.com>
199
200 * startup.el (fancy-splash-image-file): New function,
201 split from fancy-splash-head.
202 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
203 so that we are both using the same image. (Bug#16574)
204
ad78f432
GM
2052014-01-30 Glenn Morris <rgm@gnu.org>
206
6bbc0c84
GM
207 * simple.el (eval-expression): Doc fix.
208
ad78f432
GM
209 * hexl.el (hexl-mode-hook):
210 * ielm.el (ielm-mode-hook):
211 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
212 (lisp-interaction-mode-hook):
213 * progmodes/cfengine.e (cfengine3-documentation-function):
214 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
215
7b2f049c
SM
2162014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
219 is a symbol (bug#16584).
220
0c633f13
GM
2212014-01-30 Glenn Morris <rgm@gnu.org>
222
223 * help.el (help-for-help-internal): Add "P" to text.
224
5e61c1ef
GM
2252014-01-29 Glenn Morris <rgm@gnu.org>
226
227 * simple.el (just-one-space, cycle-spacing): Doc fixes.
228
1dcb169c
MR
2292014-01-28 Martin Rudalics <rudalics@gmx.at>
230
231 * window.el (fit-frame-to-buffer): Fix calculations for margins and
232 height constraints.
233
a9128931
LL
2342014-01-28 Luke Lee <luke.yx.lee@gmail.com>
235
236 * progmodes/hideif.el: Extend to full CPP expression syntax.
237 (hif-token-alist): Add missing tokens.
238 (hif-token-regexp): Add support for float/octal/hex immediates.
239 (hif-string-literal-regexp): New const.
240 (hif-tokenize): Recognize strings and float/octal/hex immediates.
241 (hif-exprlist): New function.
242 (hif-parse-if-exp): Use it.
243 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
244 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
245 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
246 (hif-logxor, hif-comma): New functions.
247
a22359a7
GM
2482014-01-28 Glenn Morris <rgm@gnu.org>
249
793ffe81
GM
250 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
251
e3bd7eed
GM
252 * indent.el (tab-stop-list): Doc fix. Add :version.
253
a22359a7
GM
254 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
255 (cvs-append-to-ignore): Add compatibility alias.
256
52695556 2572014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 258
bac524e0
GM
259 * dired.el (dired-hide-details-mode): Don't autoload it,
260 since it cannot be used outside Dired buffers anyway.
261
52695556 262 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 263
52695556
GM
264 * dired.el (dired-hide-details-hide-symlink-targets)
265 (dired-hide-details-hide-information-lines)
266 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
267
268 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
269 * strokes.el (strokes-file): Doc fix. Bump :version.
270 (strokes-help): Doc fix.
271 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
272 * emulation/viper.el (viper): Doc fix for custom group.
273 (top-level): Remove oh-so-no-longer-relevant text about vip.
274 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
275
276 * ido.el (ido-save-directory-list-file):
277 * saveplace.el (save-place-file):
278 * calendar/timeclock.el (timeclock-file):
279 * net/quickurl.el (quickurl-url-file):
280 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
281 * progmodes/idlwave.el (idlwave-config-directory):
282 * textmodes/remember.el (remember-data-file):
283 Bump :version.
284
169d6004
GM
2852014-01-26 Glenn Morris <rgm@gnu.org>
286
de6a923b
GM
287 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
288 Doc fix. Make obsolete.
289 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
290
169d6004
GM
291 * sort.el (delete-duplicate-lines): Doc fix.
292
ed85dee6
RS
2932014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
294
295 * progmodes/ada-mode.el (ada):
296 * woman.el (woman): Link to info manual and Commentary section.
297
298 * progmodes/flymake.el (flymake):
299 * nxml/nxml-mode.el (nxml):
300 * net/eww.el (eww):
301 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
302 * htmlfontify.el (htmlfontify):
303 * ses.el (ses):
304 * epa.el (epa):
305 * ido.el (ido): Link to info manual.
306
e0c67e1d
LL
3072014-01-25 Leo Liu <sdl.web@gmail.com>
308
309 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
310
35408b1a
AS
3112014-01-25 Adam Sjøgren <asjo@koldfront.dk>
312
313 * net/shr.el (shr-tag-img): Prefer the title over the alt text
314 (bug#16537).
315
76c3fa95
JB
3162014-01-24 Juanma Barranquero <lekktu@gmail.com>
317
f77c7a99
JB
318 * net/eww.el (eww-download-callback):
319 Fix reference to eww-download-directory.
320
76c3fa95
JB
321 * emacs-lisp/bytecomp.el (byte-compile-file):
322 Remove unused local variable `file-name'.
323
1e548e40
GM
3242014-01-24 Glenn Morris <rgm@gnu.org>
325
03f3b318
GM
326 * woman.el (woman-default-faces, woman-monochrome-faces):
327 Fix obsolescence specification.
328
1e548e40
GM
329 * subr.el (with-demoted-errors): Doc fix.
330
d4f0427b
SM
3312014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
332
333 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
334 (cl--macroexp-fboundp): New function.
335 (cl--make-type-test): Use it.
336
1670e27f
GM
3372014-01-23 Glenn Morris <rgm@gnu.org>
338
339 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
340 * simple.el (eval-expression): Doc fixes.
341
80efa207
GM
3422014-01-22 Glenn Morris <rgm@gnu.org>
343
344 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
345
29afcbab
SM
3462014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
347
348 * emacs-lisp/package.el: Write files silently.
349 (package-autoload-ensure-default-file, package--write-file-no-coding)
350 (package-generate-description-file, package--download-one-archive)
351 (package-install-from-archive): Tell `write-region' to stay quiet.
352 (package-menu-mode, package-menu--print-info): Omit the Archive column
353 if there's only one archive.
354 (package-all-keywords, package--has-keyword-p): Remove dead code.
355
2a5bce4f
GM
3562014-01-22 Glenn Morris <rgm@gnu.org>
357
edace89f
GM
358 * version.el (emacs-bzr-version-bzr): Fix typo.
359
2a5bce4f
GM
360 * version.el (emacs-repository-get-version):
361 Check either .bzr or .git, but not both.
362 Make the git case actually use the DIR argument, and return nil
363 rather than the empty string.
983664c0 364 Avoid error if .git exists but the git executable is not found.
2a5bce4f 365
6cb4da45
MR
3662014-01-22 Martin Rudalics <rudalics@gmx.at>
367
368 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
369 * window.el (window-total-size, window-size): New argument ROUND.
370 (window--min-delta-1, window-min-delta, window--max-delta-1):
371 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
372 columns a window can shrink (Bug#16430).
373 (fit-window-to-buffer): Simplify code.
374 * term.el (term-window-width): Call window-body-width again.
375
cc0f2ece
GM
3762014-01-22 Glenn Morris <rgm@gnu.org>
377
7b997b14
GM
378 * image.el (image-format-suffixes): Doc fix.
379
44e76f9d
GM
380 * international/quail.el (quail-define-package): Doc fix.
381
73c1c6d7
GM
382 * emacs-lisp/authors.el (authors-valid-file-names):
383 (authors-renamed-files-alist): Additions.
7bfc1caa 384
85a5f61f
GM
385 * vc/vc-git.el (vc-git-print-log): Remove --follow;
386 reverts 2014-01-09 change. (Bug#16422)
387
cc0f2ece
GM
388 * calc/calc-embed.el (thing-at-point-looking-at):
389 * emacs-lisp/map-ynp.el (x-popup-dialog):
390 * obsolete/lmenu.el (x-popup-dialog):
391 * emacs-lisp/package.el (url-recreate-url):
392 * mail/mailclient.el (clipboard-kill-ring-save):
393 * subr.el (x-popup-dialog): Update declaration.
394 * mail/rmail.el (rmail-mime-message-p):
395 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
396
00d2a6bb
DC
3972014-01-21 Daniel Colascione <dancol@dancol.org>
398
399 * progmodes/sh-script.el (sh--inside-noncommand-expression):
400 Correctly detect when we're inside an arithmetic expansion form
401 containing nested parenthesis.
402 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
403 to detect cases where we shouldn't expand "<<" to a heredoc
404 skeleton.
405
dd9d2e9d
SM
4062014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
407
408 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
409 (eldoc--message-command-p): New function.
410 (eldoc-display-message-p): Use it.
411 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
412 message is not automatically erased for us.
413 (eldoc-print-current-symbol-info): Erase previous message, if any.
414
e7d807ca
TH
4152014-01-21 Tassilo Horn <tsdh@gnu.org>
416
4ff0a0e5
TH
417 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
418 specify it's an interactive function.
419
dd9d2e9d
SM
420 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
421 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
422 citations with optional arguments.
423
87503791
LL
4242014-01-21 Leo Liu <sdl.web@gmail.com>
425
426 * simple.el (read--expression): Don't enable eldoc-mode.
427
6cc750ee
SM
4282014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
429
430 * simple.el (move-beginning-of-line): Make sure we don't move forward
431 (bug#16497).
432
71f16bda
JL
4332014-01-20 Juri Linkov <juri@jurta.org>
434
435 * saveplace.el (toggle-save-place, save-place-to-alist)
436 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
437 'dired-mode) before checking for dired-directory. (Bug#16477)
438
3c5a4839
JL
4392014-01-20 Juri Linkov <juri@jurta.org>
440
441 * indent.el (indent-line-to): Use backward-to-indentation
442 instead of back-to-indentation. (Bug#16461)
443
f952002e
PE
4442014-01-20 Paul Eggert <eggert@cs.ucla.edu>
445
446 Revert some of the CANNOT_DUMP fix (Bug#16494).
447 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
448 but fixing this can wait until after the next release.
449 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
450
93675500
MA
4512014-01-19 Michael Albinus <michael.albinus@gmx.de>
452
453 * eshell/esh-mode.el (eshell-password-prompt-regexp):
454 Use `password-word-equivalents'.
455 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
456 to t. (Bug#5664, Bug#13124)
457
e3af763f
AM
4582014-01-19 Alan Mackenzie <acm@muc.de>
459
460 Bind open-paren-in-column-0-is-defun-start to nil at some entry
461 points.
462 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 463 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
464 * progmodes/cc-mode.el (c-before-change, c-after-change)
465 (c-font-lock-fontify-region): Bind it here.
466
4ff6d92d
MR
4672014-01-19 Martin Rudalics <rudalics@gmx.at>
468
469 * term.el (term-window-width): Call window-text-width instead of
470 window-width (Bug#16470).
471
9a685cf6
PE
4722014-01-18 Paul Eggert <eggert@cs.ucla.edu>
473
474 * simple.el (password-word-equivalents): Remove duplicates.
475 Sort, to make this easier next time.
476 Downcase. Omit ": " after "jelszó".
477
5aa78c2d
JD
4782014-01-18 Jan Djärv <jan.h.d@swipnet.se>
479
480 * term/common-win.el (saved-region-selection): Defvar it.
481 (x-select-text): Set saved-region-selection (Bug#16382).
482
cabb250c
GM
4832014-01-18 Glenn Morris <rgm@gnu.org>
484
485 * emacs-lisp/authors.el (authors-aliases)
486 (authors-renamed-files-alist): Add some entries.
487
a1340440
MA
4882014-01-17 Michael Albinus <michael.albinus@gmx.de>
489
93675500
MA
490 * net/tramp.el (tramp-password-prompt-regexp):
491 Use `password-word-equivalents' if available.
a1340440
MA
492 (tramp-action-password, tramp-process-one-action)
493 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
494
681ce5d2
CY
4952014-01-17 Chong Yidong <cyd@gnu.org>
496
497 * simple.el (password-word-equivalents): New defcustom.
498 * comint.el (comint-password-prompt-regexp): Use it. Bump version
499 to 24.4.
500 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
501 to t. (Bug#13124)
502
fb3d479c
DG
5032014-01-17 Dmitry Gutov <dgutov@yandex.ru>
504
505 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
506 (ruby-align-to-stmt-keywords): Change the default value.
507 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
508 choices.
509 (ruby-smie-rules): Instead of using a hardcoded list of alignable
510 keywords, check against the value of `ruby-alignable-keywords'
511 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
512
0d613483
GM
5132014-01-17 Glenn Morris <rgm@gnu.org>
514
fc23fe2d
GM
515 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
516
0d613483
GM
517 Make M-x authors return zero *Authors Errors* from current logs.
518 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
519 (authors-ignored-files): Add some entries, remove others.
520 (authors-ambiguous-files, authors-valid-file-names):
521 Add some entries.
522 (authors-renamed-files-alist): Add, remove, and adjust entries.
523 (authors-renamed-files-regexps): Add some entries.
524 Remove some very broad ones. Make some entries `lax'.
525 (authors-lax-changelogs): New constant.
526 (authors-disambiguate-file-name): Treat top-level specially.
527 (authors-lax-changelog-p): New function.
528 (authors-canonical-file-name): Check file as written against
529 authors-valid-file-names. Do not special-case etc/.
530 Handle `lax' logs and authors-renamed-files-regexps elements.
531
2dbf4ffd
DG
5322014-01-16 Dmitry Gutov <dgutov@yandex.ru>
533
534 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
535 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
536 callers.
2dbf4ffd 537
87b2a7f2
SM
5382014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
541 Assume we're already in the proper buffer.
542 Inspired by Anders Lindgren <andlind@gmail.com>.
543 (follow-post-command-hook): Call it from the right buffer.
544 (follow-comint-scroll-to-bottom): Adjust call.
545 (follow-all-followers): Use get-buffer-window-list.
546
93acfb0e
DC
5472014-01-15 Daniel Colascione <dancol@dancol.org>
548
549 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
550 `buffer-file-name' in interactive-form so that we don't leave
551 pathless file names in `file-name-history'.
552
ccc6b208
JL
5532014-01-15 Juri Linkov <juri@jurta.org>
554
555 * indent.el (indent-rigidly): Set deactivate-mark to nil
556 in transient indentation mode. (Bug#16438)
557
5c92e00d
DG
5582014-01-15 Dmitry Gutov <dgutov@yandex.ru>
559
560 * emacs-lisp/package.el (package-desc-keywords): New function
561 (Bug#16222).
562 (describe-package-1, package-all-keywords)
563 (package--has-keyword-p): Use it.
564
dac69660
NR
5652014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
566
567 * simple.el (define-alternatives): When creating the
568 COMMAND-alternatives variable, assign COMMAND as its definition
569 name so that `describe-variable' can relocate it.
570
8b63edf8
ML
5712014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
572
573 * font-lock.el (font-lock-keywords): Fix typo in docstring
574 (bug#16307).
575
c6a0b8eb
AM
5762014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
577
578 * ispell.el (ispell-region): Reset `in-comment' for new line
579 instead of wrongly reset `add-coment' (bug#13577).
580
02bf443d
DU
5812014-01-14 Daiki Ueno <ueno@gnu.org>
582
583 * epa-file.el (epa-file-write-region): Encode the region according
584 to `buffer-file-format'. Problem reported at:
585 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
586
fd7fde15
SM
5872014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
588
589 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
590 so it applies in the right buffer (bug#16410).
591
c176054f
DC
5922014-01-13 Daniel Colascione <dancol@dancol.org>
593
594 * textmodes/rst.el (rst-define-key): Provide deprecated
595 keybindings through named functions instead of anonymous ones so
596 that "??" doesn't appear in describe-mode output.
597
e3f33e5d
BG
5982014-01-13 Bastien Guerry <bzg@gnu.org>
599
600 * simple.el (define-alternatives): Call the selected command
601 interactively. When setting `COMMAND--implementation' for the
602 first time, tell the user how to chose another implementation.
603 Enhance the docstring.
604
c055d654
SM
6052014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
606
607 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
608 (log-edit--match-first-line): New function.
609 (log-edit-font-lock-keywords): Use it.
610 (log-edit-mode): Make jit-lock-defer-multiline work.
611
d791cc3b
BG
6122014-01-13 Bastien Guerry <bzg@gnu.org>
613
614 * rect.el (rectangle-mark-mode): When the region is not active,
615 display a message saying that the mark as been set and that
616 rectangle mode is in use.
617 (rectangle--highlight-for-redisplay): Only put an overlay with a
618 visible vertical bar when (display-graphic-p) is non-nil.
619 This partially fixes Bug#16403.
620
3c0c4562
JL
6212014-01-13 Juri Linkov <juri@jurta.org>
622
623 * info.el (Info-find-file): Go to DIR before displaying the error
624 about a nonexistent file if no previous Info file is visited.
625 Use `user-error' instead of `error' for "Info file %s does not exist".
626 (Info-find-node-2): In case of a nonexistent node in unwind forms
627 go to the Top node if there is no previous node to revert to.
628 (Bug#16405)
629
25a700d0
MR
6302014-01-13 Martin Rudalics <rudalics@gmx.at>
631
632 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
633 * window.el (fit-frame-to-buffer): Fix doc-string.
634 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
635 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
636 when avoiding that frame goes partially off-screen.
637 (fit-window-to-buffer): Respect window-min-height/-width
638 (Bug#14096).
639
6ae948d8
SM
6402014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
641
642 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
643 after an empty line.
644
6137cb82
SM
6452014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
646
647 * net/shr.el (shr-render-region): Autoload.
648
e6344e17
XF
6492014-01-12 Xue Fuqiao <xfq.free@gmail.com>
650
651 * net/eww.el (eww-download-directory): Rename from
652 `eww-download-path' (Bug#16419).
653
3b922c70
LL
6542014-01-12 Leo Liu <sdl.web@gmail.com>
655
656 * dired-x.el (dired-mode-map): Fix last change.
657
658 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
659
4fa51741
PE
6602014-01-12 Paul Eggert <eggert@cs.ucla.edu>
661
662 Spelling fixes.
663 * emacs-lisp/generic.el (generic--normalize-comments):
664 Rename from generic--normalise-comments. All uses changed.
665 * play/bubbles.el (bubbles--neighborhood-score):
666 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
667 (bubbles--neighborhood-available)
668 (bubbles--update-neighborhood-score):
669 Rename from names with 'neighbourhood'. All uses changed.
670
9b335362
LL
6712014-01-12 Leo Liu <sdl.web@gmail.com>
672
673 Re-implement the feature of showing eldoc info after editing.
674 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
675 (eldoc-edit-message-commands): New function.
676 (eldoc-print-after-edit): New variable.
677 (eldoc-pre-command-refresh-echo-area): Emit message only by
678 eldoc-message-commands.
679 (eldoc-mode): Restrict eldoc-message-commands to editing commands
680 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 681 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 682 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 683
e2a095b1
GM
6842014-01-11 Dani Moncayo <dmoncayo@gmail.com>
685 Eric S. Raymond <esr@thyrsus.com>
9685190b 686
841a6d0c 687 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 688 function works correctly in either a Bazaar or Git repo.
0abf4134 689
e2a095b1
GM
6902014-01-11 Eric S. Raymond <esr@thyrsus.com>
691
6137cb82
SM
692 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
693 Goes with removal of the joke manpages from /etc.
9685190b 694
3923e7bd
KH
6952014-01-10 K. Handa <handa@gnu.org>
696
6137cb82
SM
697 * mail/rmail.el (rmail-get-coding-system):
698 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 699
d2f16e93
GM
7002014-01-10 Glenn Morris <rgm@gnu.org>
701
702 * emacs-lisp/authors.el (authors-fixed-entries):
703 Update for files that no longer exist.
704
7e03bb32
ER
7052014-01-10 Eric S. Raymond <esr@thyrsus.com>
706
707 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 708 24.3 (Tested).
7e03bb32 709
dd806710
BB
7102014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
711
712 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
713 and Podfile.
714
ed6ec139
EZ
7152014-01-10 Eli Zaretskii <eliz@gnu.org>
716
717 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
718
cc33cac9
CY
7192014-01-10 Chong Yidong <cyd@gnu.org>
720
6137cb82 721 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 722
d9d836b5
AL
7232014-01-10 Anders Lindgren <andlind@gmail.com>
724
725 * follow.el (follow-cache-command-list): Include right-char and
726 left-char.
727
06827ec8
PE
7282014-01-10 Paul Eggert <eggert@cs.ucla.edu>
729
730 Spelling fixes.
731 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
732 * woman.el (woman-mark-horizontal-position):
733 Rename from woman-mark-horizonal-position. Use changed.
734
458dbf5e
GM
7352014-01-10 Glenn Morris <rgm@gnu.org>
736
dad6fae7
GM
737 * info.el (info-initialize): If running uninstalled, ensure our
738 own info files are always found first, even if INFOPATH is set.
739
458dbf5e
GM
740 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
741
05e0afce
DE
7422014-01-09 David Engster <deng@randomsample.de>
743
744 * emacs-lisp/eieio-custom.el:
745 * emacs-lisp/eieio-opt.el: Set generated autoload file to
746 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
747 * emacs-lisp/eieio.el: Regenerate autoloads.
748
f29778b3
ER
7492014-01-09 Eric S. Raymond <esr@thyrsus.com>
750
751 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 752 following renames. (Bug#8756)
f29778b3 753
684d44ef
SM
7542014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
755
756 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
757 (bug#16382).
758 (activate-mark): Add `no-tmm' argument.
759 (set-mark, push-mark-command): Use it instead of running
760 activate-mark-hook by hand.
761
9475054f
ER
7622014-01-08 Eric S. Raymond <esr@thyrsus.com>
763
764 In preparation for the move to git, sanitize out some
765 Bazaar-specific names.
766
38942b9c
GM
767 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
768
9475054f 769 * version.el (emacs-bzr-version): Name changed to
689c9ca5 770 emacs-repository-version. Obsolete-variable alias made.
9475054f 771 * loadup.el: Follow through on this name change.
a12bf61e 772 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
773 assumption about the version control system in use.
774
0f918d96 7752014-01-08 David Engster <deng@randomsample.de>
abb82152 776
684d44ef
SM
777 * help-fns.el (help-fns-describe-function-functions):
778 New variable to call functions for augmenting help buffers.
abb82152
DE
779 (describe-function-1): Remove explicit calls to
780 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
781 `help-fns--obsolete'. Put them in above new variable instead, and
782 call them through `run-hook-with-args'.
783 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
784 `eieio-describe-class'. Not meant for interactive use anymore,
785 but to augment existing help buffers. Remove optional second
684d44ef
SM
786 argument. Create proper button for file location.
787 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
788 possible.
789 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
790 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
791 (describe-method, describe-generic, eieio-describe-method):
792 Remove aliases.
0f918d96
DE
793 (eieio-help-constructor, eieio-help-generic): Rename from
794 `eieio-describe-constructor' and `eieio-describe-generic', resp.
795 Rewrite to use `insert' in the current buffer and use proper help
796 buttons.
797 (eieio-help-find-method-definition)
798 (eieio-help-find-class-definition): Also accept symbols as
799 arguments.
800 (eieio-help-mode-augmentation-maybee): Remove.
801 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
802 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
803 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 804
136b74c5
PE
8052014-01-08 Paul Eggert <eggert@cs.ucla.edu>
806
807 Spelling fixes.
808 * language/china-util.el (hz-ascii-designation):
809 Rename from hz-ascii-designnation.
810 (hz-ascii-designation): Rename from hz-ascii-designnation.
811 All uses changed.
812
ec6c7de2
SM
8132014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
814
815 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
816 package-alist.
817
d6262c7c
BG
8182014-01-08 Bastien Guerry <bzg@gnu.org>
819
4b9e6087
GM
820 * emacs-lisp/package.el (package-delete):
821 Correctly delete the package from package-alist.
d6262c7c 822
0a3eec32
DU
8232014-01-08 Daiki Ueno <ueno@gnu.org>
824
825 * emacs-lisp/package.el (url-recreate-url): Declare.
826 (url-http-target-url): Declare.
4b9e6087 827 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
828 (package--check-signature): Don't re-signal errors from
829 package--with-work-buffer. Suggested by Stefan Monnier.
830
68f0bb97
BG
8312014-01-07 Bastien Guerry <bzg@gnu.org>
832
833 * minibuffer.el (completion--try-word-completion): When both a
834 hyphen and a space are possible candidates for the character
835 following a word, display both candidates. (Bug#15980)
836
7e1899d7
MR
8372014-01-07 Martin Rudalics <rudalics@gmx.at>
838
839 * window.el (balance-windows-2): While rounding don't give a
840 window more than the remainder. Bug#16351, Bug#16383.
841
0030ec15
GM
8422014-01-07 Glenn Morris <rgm@gnu.org>
843
844 * menu-bar.el (menu-bar-help-extra-packages): Remove.
845 (menu-bar-help-menu): Use view-external-packages instead.
846
2b6b4f20
BG
8472014-01-07 Bastien Guerry <bzg@gnu.org>
848
849 * emacs-lisp/package.el (package-delete): Also delete the package
850 name from `package-alist', not its description only.
851
e9be0a13
GM
8522014-01-07 Glenn Morris <rgm@gnu.org>
853
854 * help.el (view-external-packages):
855 * menu-bar.el (menu-bar-help-extra-packages):
856 Visit efaq.info rather than etc/MORE.STUFF.
857
e4f74da9
JL
8582014-01-07 Juri Linkov <juri@jurta.org>
859
860 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
861 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
862
863 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
864 that shadows RET. (Bug#16342)
865
de7ce2d1
CY
8662014-01-07 Chong Yidong <cyd@gnu.org>
867
868 * isearch.el (isearch-yank-char, isearch-yank-word)
869 (isearch-yank-line): Doc fix.
870
6bdd9204
SM
8712014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
872
873 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
874 * emacs-lisp/elint.el (elint-find-builtins):
875 * emacs-lisp/eldoc.el (eldoc-symbol-function):
876 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
877 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
878 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
879 * apropos.el (apropos-safe-documentation):
880 * subr.el (symbol-file): Remove redundant fboundp.
881 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
882
daccca97
BG
8832014-01-06 Bastien Guerry <bzg@gnu.org>
884
885 * hl-line.el (global-hl-line-overlay): Make a local variable.
886 (global-hl-line-overlays): New variable to store all overlays.
887 (global-hl-line-mode): Don't delete overlays from the current
888 buffer when `global-hl-line-sticky-flag' is non-nil.
889 (global-hl-line-highlight): Add new overlays to
890 `global-hl-line-overlays'.
891 (global-hl-line-unhighlight-all): New function to delete all
892 overlays when turning off `global-hl-line-mode'.
893 This fixes Bug#16183.
894
ec00f20f
SM
8952014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
896
897 * subr.el (set-transient-map): Fix nested case and docstring.
898
a0031f97
TH
8992014-01-06 Tassilo Horn <tsdh@gnu.org>
900
901 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
902 `Texinfo' entry.
903
bf6a77f3
DC
9042014-01-06 Daniel Colascione <dancol@dancol.org>
905
906 Fix defun navigation in vc log view.
907
908 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
909 like `beginning-of-defun'.
910 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
911 log-view-end-of-defun to log-view-end-of-defun-1. Replace
912 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 913 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 914 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 915
d5081c1e
PE
9162014-01-06 Paul Eggert <eggert@cs.ucla.edu>
917
918 Spelling fixes.
919 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
920 * emacs-lisp/debug.el (cancel-debug-on-entry):
921 * epg.el (epg-error-to-string):
922 * files.el (recover-file):
923 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
924 * mail/emacsbug.el (report-emacs-bug-hook):
925 * mail/sendmail.el (mail-recover):
926 * ses.el (ses-yank-resize):
927 * term/ns-win.el (ns-print-buffer):
928 Spelling fixes in diagnostics, mostly for "canceled" with one L.
929 * epg.el (epg-key-capability-alist): Rename from misspelled version.
930 All uses changed.
931 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
932
53f6b148
LL
9332014-01-06 Leo Liu <sdl.web@gmail.com>
934
935 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 936 to avoid shadowing global key. (Bug#16354)
53f6b148 937
b82ace2f
DC
9382014-01-06 Daniel Colascione <dancol@dancol.org>
939
940 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
941 rst-mode.
942
3669b636
MR
9432014-01-05 Martin Rudalics <rudalics@gmx.at>
944
945 * window.el (balance-windows): Add mising t to fix Bug#16351.
946
1a29adc2
LMI
9472014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
948
949 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
950 (bug#16285).
3d95a0f4
LMI
951 (shr-insert): If we have a word that's longer than `shr-width',
952 break after it anyway. Otherwise we'll do no breaking once we get
953 such a long word.
1a29adc2 954
f4018140
KN
9552014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
956
3fcfc4ee 957 * net/eww.el (eww): Support single/double quote for search.
189340f5
KN
958 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
959 (eww-history-quit): Delete and use quit-window.
960 (eww-history-kill): Delete, because it doesn't work well and
961 not necessary.
962 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 963
4e619754
PE
9642014-01-05 Paul Eggert <eggert@cs.ucla.edu>
965
73dbf960
PE
966 Fix misspelling of 'chinese' in rx (Bug#16237).
967 * emacs-lisp/rx.el (rx-categories): Correct spelling of
968 chinese-two-byte.
969
4e619754
PE
970 Change subword regexps back to vars (Bug#16296).
971 * progmodes/subword.el (subword-forward-regexp)
972 (subword-backward-regexp): Change these back to variables.
973
e18b70fc
SM
9742014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
975
976 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
977 syntax-begin-function (bug#16247).
978
0d53f628
CY
9792014-01-03 Chong Yidong <cyd@gnu.org>
980
981 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
982 (advice--docstring): Delete variable.
983 (advice--make-1): Leave the docstring empty.
984 (advice-add): Use function-documentation for advised docstring.
985
986 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
987 Ignore function-documentation property when getting documentation.
988 (ad-activate-advised-definition): Use function-documentation
989 generate the docstring.
990 (ad-make-advised-definition): Don't call
991 ad-make-advised-definition-docstring.
992 (ad-make-advised-definition-docstring, ad-advised-definition-p):
993 Delete functions.
994
995 * progmodes/sql.el (sql-help): Use function-documentation instead
996 of dynamic-docstring-function property. No need to autoload now.
997 (sql--help-docstring): New variable.
998 (sql--make-help-docstring): Use it.
999
6f547583
SM
10002014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1001
6ef9aed8
SM
1002 * ielm.el (ielm-tab): Retarget.
1003 (ielm-map): Use ielm-tab for tab.
1004 (ielm-complete-filename): Use comint-filename-completion.
1005 (ielm-complete-symbol): Remove.
1006 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1007 remove ielm-tab from completion-at-point-functions (bug#16224).
1008
6f547583
SM
1009 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1010 Beware signals raised by predicates (bug#16201).
1011
a574edbe
RS
10122014-01-02 Richard Stallman <rms@gnu.org>
1013
e831604d
RS
1014 * dired-aux.el (dired-do-print): Handle printer-name.
1015
6f547583
SM
1016 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1017 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
1018 (rmail-epa-decrypt): Turn off mime processing.
1019
3fcfc4ee 1020 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
1021 Add parens in message-id.
1022
1023 * mail/rmail.el (rmail-get-coding-function): Variable.
1024 (rmail-get-coding-system): Use it.
1025
04311a16
KH
10262013-12-31 Eli Zaretskii <eliz@gnu.org>
1027
1028 * international/mule-conf.el: Unify the charset indian-is13194.
1029 (indian-is13194): Specify unify-map.
1030
c8d89778
LL
10312013-12-31 Leo Liu <sdl.web@gmail.com>
1032
1033 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1034
e63ace37
DC
10352013-12-30 Daniel Colascione <dancol@dancol.org>
1036
9e0bf19a
DC
1037 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1038 of printing a useless when we resume from sleep.
1039
e63ace37
DC
1040 * progmodes/sh-script.el
1041 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1042 in indentation code. (Bug#16233)
1043
e9d6c46a
JT
10442013-12-28 João Távora <joaotavora@gmail.com>
1045
6f547583
SM
1046 * elec-pair.el (electric-pair-post-self-insert-function):
1047 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1048
bf7bea5d
EZ
10492013-12-28 Eli Zaretskii <eliz@gnu.org>
1050
1051 * frame.el (window-system-for-display): Don't allow to create a
1052 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1053
8449dd1f
GM
10542013-12-28 Glenn Morris <rgm@gnu.org>
1055
9c5a5c77
GM
1056 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1057 Update callers.
1058
1059 * apropos.el (apropos-match-face):
1060 * calculator.el (calculator-displayer):
1061 * dabbrev.el (dabbrev-search-these-buffers-only):
1062 * face-remap.el (buffer-face-mode-face):
1063 * simple.el (yank-handled-properties):
1064 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1065 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1066 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1067 (hashcash-double-spend-database):
1068 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1069 (ruby-deep-indent-paren-style):
1070 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1071 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1072 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1073 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1074 Specify custom types.
1075
bb098075
GM
1076 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1077 * bookmark.el (bookmark-bmenu-use-header-line):
1078 * doc-view.el (doc-view-scale-internally):
1079 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1080 * register.el (register-preview-delay):
1081 * net/shr.el (shr-bullet):
1082 * progmodes/cfengine.el (cfengine-cf-promises)
1083 (cfengine-parameters-indent):
1084 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1085 * textmodes/reftex-vars.el (reftex-label-regexps):
1086 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1087
9c61f806
GM
1088 * net/tls.el (tls-certtool-program): Fix default value.
1089
1090 * desktop.el (desktop-restore-in-current-display):
1091 * newcomment.el (comment-empty-lines):
1092 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1093 (idlwave-pad-keyword):
1094 * progmodes/tcl.el (tcl-tab-always-indent):
1095 * textmodes/reftex-vars.el (reftex-index-default-tag):
1096 * elec-pair.el (electric-pair-skip-whitespace):
1097 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1098
8449dd1f
GM
1099 * emacs-lisp/authors.el (authors-ignored-files)
1100 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1101
fdadeb49
JC
11022013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1103
72140a0f
GM
1104 * shell.el (shell-dynamic-complete-command): Doc fix.
1105 (shell--command-completion-data): Shell completion now matches
1106 executable filenames from the current buffer's directory, on
da5ecfa9 1107 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1108
e572a7d8
LI
11092013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1110
1111 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1112
7514d3f8
SM
11132013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1114
a4151f3b
SM
1115 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1116 (bug#16251).
1117
7514d3f8
SM
1118 * electric.el: Move all electric-pair-* to elec-pair.el.
1119 * elec-pair.el: New file, split from electric.el.
1120
ac5758d1
LI
11212013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1122
1123 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1124 indentation level is larger than the width, because that will
1125 infloop.
1126 (shr-insert): Fill repeatedly long texts, so that Japanese is
1127 formatted correctly (bug#16263).
24a6b65e
LI
1128 (shr-find-fill-point): Off by one error in comparison with the
1129 indentation.
ac5758d1 1130
7514d3f8 11312013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1132
1133 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1134 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1135 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1136 if that keeps or improves their balance in buffers.
1137 (electric-pair-delete-adjacent-pairs): Delete the pair when
1138 backspacing over adjacent matched delimiters.
1139 (electric-pair-open-extra-newline): Open extra newline when
1140 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1141 (electric--sort-post-self-insertion-hook):
1142 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1143 minor-modes are activated.
1144 * simple.el (newline-and-indent): Call newline with interactive
1145 set to t.
1146 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1147 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1148 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1149 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1150 electric-pair-open-newline-between-pairs to nil.
1151
fbcc63a3
FEG
11522013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1153
1154 * progmodes/python.el: Use lexical-binding.
1155 (python-nav-beginning-of-defun): Stop searching ASAP.
1156
ed78d16c
XF
11572013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1158
1159 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1160 Fix interactive spec. Doc fix. (Bug#15754)
1161
38b2c142
KY
11622013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1163
1164 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1165 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1166 Fix edebug spec (bug#16184).
1167
3c856c14
LI
11682013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1169
83fa295c 1170 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1171 (shr-insert): Don't infloop if we can't find a good place to break
1172 the line (bug#16256).
3c856c14 1173
01379221
FEG
11742013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1175
1176 * progmodes/python.el:
1177 (python-nav--lisp-forward-sexp): New function.
1178 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1179 python-nav-lisp-forward-sexp-safe.
1180 (python-nav--forward-sexp): New argument SAFE allows switching
1181 forward sexp movement behavior for parens.
1182 (python-nav-forward-sexp): Throw errors on unterminated parens
1183 (Bug#16191).
1184 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1185 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1186 (python-shell-buffer-substring):
1187 Use `python-nav-forward-sexp-safe'.
01379221 1188
99e4926f
LI
11892013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1190
1191 * net/shr.el (shr-find-fill-point): Don't break lines before a
1192 quotation mark.
c6c20584
LI
1193 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1194 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1195 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1196
fec0e828
KN
11972013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1198
1199 * net/eww.el (eww-form-textarea): Use a different face for
1200 textareas than text input since they have different keymaps
1201 (bug#16142).
1202
89c868ad
FEG
12032013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1204
7514d3f8
SM
1205 * progmodes/python.el (python-nav-beginning-of-statement):
1206 Speed up (Bug#15295).
89c868ad 1207
eeef121a
LI
12082013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1209
1210 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1211 the window configuration.
1212
121ea65f
EZ
12132013-12-24 Eli Zaretskii <eliz@gnu.org>
1214
1215 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1216 we run on MS-Windows or MS-DOS.
1217
18cee9ec
MR
12182013-12-24 Martin Rudalics <rudalics@gmx.at>
1219
1220 * window.el (balance-windows-area): Call window-size instead of
1221 window-height and window-width. Bug#16241.
1222
58f2b9a5
LI
12232013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1224
1225 * net/eww.el (eww-bookmark-quit): Remove.
1226 (eww-bookmark-browse): Restore the window configuration when you
1227 choose a bookmark (bug#16144).
1228
d64b6308
DC
12292013-12-24 Daniel Colascione <dancol@dancol.org>
1230
1231 * icomplete.el: Remove redundant :group arguments to `defcustom'
1232 throughout.
1233 (icomplete-show-matches-on-no-input): New customizable variable.
1234 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1235 we have something to show.
7514d3f8 1236 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1237
0da54898
DC
12382013-12-23 Daniel Colascione <dancol@dancol.org>
1239
1240 * icomplete.el: Move `provide' to end of file.
1241
b90aa4f4
TZ
12422013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1243
1244 * net/gnutls.el (gnutls-verify-error): Add version tag.
1245
8cd22a08
CY
12462013-12-23 Chong Yidong <cyd@gnu.org>
1247
1248 * subr.el (set-transient-map): Rename from
1249 set-temporary-overlay-map. Doc fix.
1250
1251 * face-remap.el (text-scale-adjust):
1252 * indent.el (indent-rigidly):
1253 * kmacro.el (kmacro-call-macro):
1254 * minibuffer.el (minibuffer-force-complete):
1255 * repeat.el (repeat):
1256 * simple.el (universal-argument--mode):
1257 * calendar/todo-mode.el (todo-insert-item--next-param):
1258 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1259
7510b021
CY
1260 * indent.el (indent-rigidly): Use substitute-command-keys.
1261
72140a0f 12622013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1263
1264 * net/eww.el (eww-tag-select): Add text-property to jump to next
1265 select field.
e9dc713d 1266 (eww): Add non-supported ftp error.
56890ecd 1267
1f87a56c
DG
12682013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1269
1270 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1271 comments. Handle electric indent after typing `?' and `!'.
1272
dca38cf9
CY
12732013-12-22 Chong Yidong <cyd@gnu.org>
1274
1275 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1276 applicable to a frame, fall back on the defface spec.
1277 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1278
f2351498
DG
12792013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1280
1281 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1282 after `{'. We need it after block openers, and it doesn't seem
1283 to hurt after hash openers.
1284
6cddebc1
DG
12852013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1286
1287 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1288 extracted from `ruby-smie-rules'.
1289 (ruby--electric-indent-chars): New variable.
1290 (ruby--electric-indent-p): New function.
1291 (ruby-mode): Use `electric-indent-functions' instead of
1292 `electric-indent-chars'.
1293
65a1da00
DG
12942013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1295
1296 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1297 docstring.
1298 (ruby-smie-rules): Indent plus one level after `=>'.
1299
b51ad4cf
RS
13002013-12-21 Richard Stallman <rms@gnu.org>
1301
1302 * simple.el (newline): Doc fix.
1303
72140a0f 13042013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1305
e9dc713d 1306 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1307 (eww-history-browse, eww-history-quit, eww-history-kill)
1308 (eww-history-mode-map, eww-history-mode): New command and
1309 functions to list browser histories.
e9dc713d
JB
1310 (eww-form-text): Support text form with disabled
1311 and readonly attributes.
1312 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1313
5e1901c1
RS
13142013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1315
1316 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1317 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1318 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1319 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1320 Use `user-error'.
1321 (eww-bookmark-mode-map): Add menu.
1322 (eww-render, eww-mode): Use `setq-local'.
1323 (eww-tool-bar-map): New variable.
1324 (eww-mode): Set `tool-bar-map'.
1325 (eww-view-source): Check for `html-mode' with `fboundp'.
1326
073d5cfd
LMI
13272013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1328
1329 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1330 elements with text inside. Also remove debugging.
1331
41cf3d11
JD
13322013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1333
1334 * cus-start.el (all): Add ns-use-srgb-colorspace.
1335
aac2b673
CY
13362013-12-21 Chong Yidong <cyd@gnu.org>
1337
1338 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1339 undefined. Thus, theme settings for undefined faces do not take
1340 effect until the faces are defined with defface, the same as with
1341 theme variables.
1342
1343 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1344 (face-spec-reset-face): Don't assign extra properties in temacs.
1345 (face-spec-recalc): Apply X resources too.
1346
bacb0e77
CY
13472013-12-21 Chong Yidong <cyd@gnu.org>
1348
1349 * faces.el (face-spec-set):
1350 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1351 * custom.el (defface): Doc fixes (Bug#16203).
1352
77221051
CY
1353 * indent.el (indent-rigidly-map): Add docstring, and move commands
1354 into named functions.
1355 (indent-rigidly-left, indent-rigidly-right)
1356 (indent-rigidly-left-to-tab-stop)
1357 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1358 indentation direction based on bidi direction, and accumulate
1359 sequential commands in a single undo boundary.
1360 (indent-rigidly--pop-undo): New utility function.
1361
e0eb0550
JB
13622013-12-20 Juanma Barranquero <lekktu@gmail.com>
1363
1364 * faces.el (read-face-name): Require crm.el when using crm-separator.
1365
3282bd2e
DC
13662013-12-20 Daniel Colascione <dancol@dancol.org>
1367
1368 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1369 so that we don't reflow comments into the shebang line.
1370
1d42e5b6
JL
13712013-12-20 Juri Linkov <juri@jurta.org>
1372
1373 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1374 a position when `dired-directory' is non-nil. Check integer
1375 positions with `integerp'.
1376 (toggle-save-place, save-places-to-alist): Add check for
1377 `dired-directory'.
1378 (save-place-find-file-hook): Check integer positions with
1379 `integerp'.
1380 (save-place-dired-hook): Use `dired-goto-file' when
1381 `dired-filename' is found in the assoc list. Check integer
1382 positions with `integerp'.
1383 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1384
1385 * dired.el (dired-initial-position-hook): Rename back from
1386 `dired-initial-point-hook'.
1387 (dired-initial-position): Rename `dired-initial-point-hook' to
1388 `dired-initial-position-hook'.
1389 (dired-file-name-at-point): Doc fix. (Bug#15329)
1390
24da7273
JL
13912013-12-20 Juri Linkov <juri@jurta.org>
1392
1393 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1394 (read-regexp-suggestions): New function.
1395 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1396 Use `read-regexp-suggestions'. Add non-empty default to history
1397 for empty input.
1398 (occur-read-regexp-defaults-function): Remove function.
1399 (occur-read-primary-args): Use `regexp-history-last' instead of
1400 `occur-read-regexp-defaults-function'.
1401
1402 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1403 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1404 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1405 `hi-lock-read-regexp-defaults-function'. Doc fix.
1406 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1407 with `find-tag-default-as-symbol-regexp'. Doc fix.
1408 (hi-lock-read-regexp-defaults): Remove function.
1409 (hi-lock-regexp-okay): Add check for null.
1410
1411 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1412 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1413
1414 * subr.el (find-tag-default-as-symbol-regexp): New function.
1415 (find-tag-default-as-regexp): Move symbol regexp formatting to
1416 `find-tag-default-as-symbol-regexp'.
1417
137f57c8
S
14182013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1419
1420 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1421 (Bug#14179)
1422
f3a66082
SB
14232013-12-20 Stephen Berman <stephen.berman@gmx.net>
1424
1425 * calendar/todo-mode.el: New implementation of item insertion
1426 commands and key bindings.
1427 (todo-key-prompt): New face.
1428 (todo-insert-item): New command.
1429 (todo-insert-item--parameters): New defconst, replacing defvar
1430 todo-insertion-commands-args-genlist.
1431 (todo-insert-item--param-key-alist): New defconst, replacing
1432 defvar todo-insertion-commands-arg-key-list.
1433 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1434 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1435 (todo-insert-item--next-param): New functions.
1436 (todo-insert-item--args, todo-insert-item--argleft)
1437 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1438 New variables.
1439 (todo-key-bindings-t): Change binding of "i" from
1440 todo-insertion-map to todo-insert-item.
1441 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1442 (todo-insertion-command-name, todo-insertion-commands-names)
1443 (todo-define-insertion-command, todo-insertion-commands)
1444 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1445
2f99433b
SB
14462013-12-20 Stephen Berman <stephen.berman@gmx.net>
1447
1448 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1449 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1450 eval-when-compile.
1451 (todo-move-category): Allow choosing a non-existing todo file to
1452 move the category to, and create that file.
1453 (todo-default-priority): New user option.
1454 (todo-set-item-priority): Use it.
1455 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1456 (desktop-restore-file-buffer): Declare.
1457 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1458 (todo-modes-set-2): Locally set desktop-save-buffer to
1459 todo-desktop-save-buffer.
1460 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1461 (auto-mode-alist): Add autoload cookie.
1462
131e4695
BB
14632013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1464
1465 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1466 helpers.el was a poor choice of name.
3cbfb935
BB
1467 (string-remove-prefix): New function.
1468 (string-remove-suffix): New function.
131e4695 1469
c44de18d
MR
14702013-12-20 Martin Rudalics <rudalics@gmx.at>
1471
1472 Fix assignment for new window total sizes.
1473 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1474 (window--pixel-to-total-1, window--pixel-to-total):
1475 Fix calculation of new total sizes.
c44de18d 1476
ca65efcc
VS
14772013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1478
1479 * comint.el (comint-output-filter): Fix rear-nonsticky property
1480 placement (Bug#16010).
1481
a9574eb7
CY
14822013-12-20 Chong Yidong <cyd@gnu.org>
1483
1484 * faces.el (read-color): Minor fix for completion function.
1485
b520f210
DG
14862013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1487
e0eb0550
JB
1488 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1489 New option. (Bug#16182)
b520f210
DG
1490 (ruby-smie--indent-to-stmt-p): Use it.
1491 (ruby-smie-rules): Revert the logic in the handling of `when'.
1492 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1493 (ruby-deep-arglist, ruby-deep-indent-paren)
1494 (ruby-deep-indent-paren-style): Update docstrings to note that the
1495 vars don't have any effect with SMIE.
1496
26b75b45
JB
14972013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1498
1499 * calc/calc.el (calc-enter, calc-pop): Use the variable
1500 `calc-context-sensitive-enter'.
1501
cf91cee7
LMI
15022013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1503
1504 * net/shr.el (shr-insert): Protect against infloops in degenerate
1505 tables.
1506
51d971b4
RS
15072013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1508
1509 * progmodes/octave.el (octave): Add link to manual and octave
1510 homepage.
1511 (octave-mode-menu): Link to octave-mode manual.
1512
8c2e462a
LL
15132013-12-20 Leo Liu <sdl.web@gmail.com>
1514
1515 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1516 insertion using skeleton-end-newline. (Bug#16138)
1517
501158bc
JL
15182013-12-20 Juri Linkov <juri@jurta.org>
1519
1520 * replace.el (occur-engine): Use `add-face-text-property'
1521 to add the face property to matches and titles. (Bug#14645)
1522
1523 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1524 the palette of other hi-lock colors.
1525 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1526
50ab1da6
JL
15272013-12-19 Juri Linkov <juri@jurta.org>
1528
1529 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1530 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1531 (minibuffer-history-symbol): Move variable declaration closer to
1532 its usage.
1533
1534 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1535 (Bug#14785)
1536
3d6e95e7
JL
15372013-12-19 Juri Linkov <juri@jurta.org>
1538
1539 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1540 New function.
1541 (log-edit-hook): Add it to :options. (Bug#16170)
1542
b41594fd
JL
15432013-12-19 Juri Linkov <juri@jurta.org>
1544
1545 * simple.el (eval-expression-print-format): Don't check for
1546 command names and the last command. Always display additional
1547 formats of the integer result in the echo area, and insert them
1548 to the current buffer only with a zero prefix arg.
1549 Display character when char-displayable-p is non-nil.
1550 (eval-expression): With a zero prefix arg, set `print-length' and
1551 `print-level' to nil, and insert the integer values from
1552 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1553
1554 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1555 `eval-last-sexp-arg-internal'. Doc fix.
1556 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1557 `eval-last-sexp-print-value'. Doc fix.
1558 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1559 Set `print-length' and `print-level' to nil when arg is zero.
1560 (eval-last-sexp): Doc fix.
1561 (eval-defun-2): Print the integer values from
1562 `eval-expression-print-format' at the end.
1563
1564 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1565 values from `eval-expression-print-format' at the end.
1566
1567 * ielm.el (ielm-eval-input): Print the integer
1568 values from `eval-expression-print-format' at the end.
1569
8f2be364
TZ
15702013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1571
1572 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1573 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1574
2230a6e3
SM
15752013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1576
1577 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1578 (hl-line-highlight, global-hl-line-highlight): Use it.
1579 (hl-line-overlay): Use defvar-local.
1580
1269a680
JD
15812013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1582
1583 * term/ns-win.el: Require dnd.
1584 (global-map): Remove drag items.
1585 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1586 (ns-set-background-at-mouse):
1587 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1588 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1589 New functions.
1269a680 1590
049638ad
GM
15912013-12-19 Glenn Morris <rgm@gnu.org>
1592
1593 * emacs-lisp/ert.el (ert-select-tests):
1594 Fix string/symbol mixup. (Bug#16121)
1595
ce41edb4
DG
15962013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1597
1598 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1599 keywords to their parent.
1600
7e1549c9
DG
16012013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1602
1603 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1604 first arg to be a string (fixed dead code), or an operator symbol.
1605 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1606 operator symbols.
1607 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1608 did nothing. Don't respond to `(:after ".")', it will be called
1609 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1610 change anything. Only return indentation for binary operators
1611 when they are hanging. De-dent opening paren when its parent is
1612 `.', otherwise it looks bad when the dot is not at bol or eol
1613 (bug#16182).
1614
3ee4cd64
JL
16152013-12-19 Juri Linkov <juri@jurta.org>
1616
1617 * replace.el (query-replace-read-args): Split a non-negative arg
1618 and a negative arg into separate elements.
1619 (query-replace, query-replace-regexp, replace-string)
1620 (replace-regexp): Add arg `backward'. Doc fix.
1621 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1622 move point to the beginning of the match.
1623 (replace-search, replace-highlight): Use new arg `backward'
1624 to set the value of `isearch-forward'.
1625 (perform-replace): Add arg `backward' and use it to perform
1626 replacement backward. (Bug#14979)
1627
1628 * isearch.el (isearch-query-replace): Use a negative prefix arg
1629 to call `perform-replace' with a non-nil arg `backward'.
1630
0cda6b7b
JL
16312013-12-18 Juri Linkov <juri@jurta.org>
1632
1633 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1634 to the default list. Move `log-edit-show-files' to the end.
1635 Add more available functions to options.
1636 (log-edit): Move default specific settings to
1637 `log-edit-insert-message-template'. Don't move point.
1638 (log-edit-insert-message-template): New function.
1639 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1640 (Bug#16170)
1641
b216f0a6
JL
16422013-12-18 Juri Linkov <juri@jurta.org>
1643
1644 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1645 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1646
1d1c55dc
LL
16472013-12-18 Leo Liu <sdl.web@gmail.com>
1648
e9dc713d
JB
1649 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1650 (Bug#16186)
1d1c55dc 1651
64e4c76e
EZ
16522013-12-18 Eli Zaretskii <eliz@gnu.org>
1653
1654 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1655 formats for displaying file sizes when the -s switch is given.
1656 Instead, compute a separate format for displaying the size in
1657 blocks, which is displayed in addition to the "regular" size.
1658 When -h is given in addition to -s, produce size in blocks in
1659 human-readable form as well. (Bug#16179)
1660
b2984e39
TH
16612013-12-18 Tassilo Horn <tsdh@gnu.org>
1662
2230a6e3
SM
1663 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1664 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1665
50ff2e06
CY
16662013-12-18 Chong Yidong <cyd@gnu.org>
1667
0081bc84
CY
1668 * cus-edit.el (custom-magic-alist): Fix "themed" description
1669 (Bug#14348).
1670
a7ee9424
CY
1671 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1672 is non-nil, do not create a new entry in the symbol's theme-value
1673 or theme-face property; update theme-settings only (Bug#14664).
18874304 1674 (custom-available-themes): Doc fix.
a7ee9424 1675
8f942537
CY
1676 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1677 (Bug#15674).
1678
50ff2e06
CY
1679 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1680
83c60f60
KI
16812013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1682
1683 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1684 (Bug#13914).
1685
e0eb0550 16862013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1687
1688 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1689
1f41ee56
GM
16902013-12-18 Glenn Morris <rgm@gnu.org>
1691
1692 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1693 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1694
e82134b1
LW
16952013-12-18 Le Wang <l26wang@gmail.com>
1696
2230a6e3
SM
1697 * comint.el (comint-previous-matching-input-from-input):
1698 Retain point (Bug#13404).
e82134b1 1699
33f5d4c1
CY
17002013-12-18 Chong Yidong <cyd@gnu.org>
1701
1702 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1703
ccc9f6dc
GM
17042013-12-18 Glenn Morris <rgm@gnu.org>
1705
1706 * mail/emacsbug.el (report-emacs-bug):
1707 Only mention enable-multibyte-characters if non-standard.
1708
33dd8e95
JL
17092013-12-17 Juri Linkov <juri@jurta.org>
1710
1711 * arc-mode.el (archive-extract-by-file): Check if directory exists
1712 before deletion to not show irrelevant errors if it doesn't exist.
1713
7a409b30
JL
17142013-12-17 Juri Linkov <juri@jurta.org>
1715
1716 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1717 (Bug#14751)
1718
1719 * net/eww.el (browse-web): Add alias to `eww'.
1720 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1721 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1722
1723 * net/browse-url.el (browse-url-browser-function): Move `eww'
1724 closer to similar functions.
1725
1726 * startup.el (fancy-startup-screen, fancy-about-screen):
1727 Set browse-url-browser-function to eww-browse-url locally.
1728 (Bug#14751)
1729
2d6b6005
SM
17302013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * window.el (window--pixel-to-total): Remove unused `mini' var.
1733 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1734 (split-window): Remove unused `new' var.
1735 (window--display-buffer): Remove unused `frame' and `delta' vars.
1736 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1737 and display-width'.
1738
cf2b7efc
MR
17392013-12-17 Martin Rudalics <rudalics@gmx.at>
1740
1741 * dired.el (dired-mark-pop-up):
1742 * register.el (register-preview): Don't bind
1743 split-height-threshold here since it's now done in
1744 display-buffer-below-selected.
1745
ed3af8a7 17462013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1747
1748 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1749 xterm-rgb-convert-to-16bit.
1750 (rxvt-register-default-colors): Standardize with
1751 xterm-register-default-colors (Bug#14078).
1752
76da3455
DK
17532013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1754
1755 * simple.el (kill-region): Pass mark first, then point, so that
1756 kill-append works right (Bug#12819).
1757 (copy-region-as-kill, kill-ring-save): Likewise.
1758
2b84d763
LL
17592013-12-17 Leo Liu <sdl.web@gmail.com>
1760
1761 * net/rcirc.el (rcirc-add-face):
1762 * eshell/em-prompt.el (eshell-emit-prompt):
1763 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1764 (Bug#16167)
1765
e2f6a0bc
CY
17662013-12-17 Chong Yidong <cyd@gnu.org>
1767
1768 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1769 Suggested by Xue Fuqiao.
1770
35b249a6
DG
17712013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1772
1773 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1774
e9145444
SM
17752013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1776
1777 * net/shr.el (shr-insert-document): Remove unused var
1778 `shr-preliminary-table-render'.
1779 (shr-rescale-image): Remove unused arg `force'.
1780 (shr-put-image): Update calls accordingly.
1781 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1782
5556c0ce
DG
17832013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1784
1785 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1786 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1787 :close-all, to see which indentation method to use (Bug#16116).
1788 (smie-rules-function): Document the method :close-all.
1789
11bade0a
LMI
17902013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1791
1c4b1e61
LMI
1792 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1793
11bade0a
LMI
1794 * net/eww.el (eww-display-html): If we can't find the anchor we're
1795 looking for, then go to point-min.
1796
8fb8c4f3
PE
17972013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1798
1799 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1800 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1801 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1802 Expand dir too, in case it's relative.
1803
6c8e0ae6
JL
18042013-12-16 Juri Linkov <juri@jurta.org>
1805
1806 * desktop.el (desktop-auto-save-timeout): Change default to
1807 `auto-save-timeout'. Doc fix.
1808 (desktop-save): Skip the timestamp in desktop-saved-frameset
1809 when checking for auto-save changes.
1810 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1811 `desktop-auto-save' is called repeatedly by the idle timer.
1812 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1813 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1814 (Bug#15331)
1815
2178e858
JL
18162013-12-16 Juri Linkov <juri@jurta.org>
1817
1818 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1819 (Bug#16035)
1820 (isearch-pre-command-hook): Check `this-command' for symbolp.
1821
39cb42c6
SM
18222013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1823
1824 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1825
5b9b750a
TZ
18262013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1827
1828 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1829 (cfengine3--current-function): Bring in the current-function
1830 functionality from `cfengine3--current-word'.
1831 (cfengine3-completion-function): Bring in the
1832 bounds-of-current-word functionality from
1833 `cfengine3--current-word'.
1834
d144ef06
MR
18352013-12-16 Martin Rudalics <rudalics@gmx.at>
1836
39cb42c6
SM
1837 * window.el (display-buffer-below-selected):
1838 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1839
a8bbe298
LL
18402013-12-16 Leo Liu <sdl.web@gmail.com>
1841
1842 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1843 Remove NOMSG arg and all uses changed.
1844
2013a2f9
SM
18452013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1846
1847 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1848 (cua--deactivate-rectangle): Don't deactivate the mark.
1849 (cua-set-rectangle-mark): Don't set mark-active since
1850 cua--activate-rectangle already does it for us.
1851 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1852 non-rectangular region.
1853
1854 * emulation/cua-base.el (cua-repeat-replace-region):
1855 Use with-current-buffer.
1856
1857 * net/gnutls.el: Use cl-lib.
1858 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1859
5ae811dd
TZ
18602013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1861
1862 * emacs-lisp/package.el (package-built-in-p): Support both
1863 built-in and the package.el converted package descriptions.
1864 (package-show-package-list): Allow keywords.
1865 (package-keyword-button-action): Use it instead of
1866 `finder-list-matches'.
1867 (package-menu-filter-interactive): Interactive filtering (by
1868 keyword) function.
1869 (package-menu--generate): Support keywords and change keymappings
1870 and headers when they are given.
1871 (package--has-keyword-p): Helper function.
1872 (package-menu--refresh): Use it.
1873 (package--mapc): Helper function.
1874 (package-all-keywords): Use it.
1875 (package-menu-mode-map): Set up menu items and keybindings to
1876 provide a filtering UI.
1877
31b4827e
TZ
18782013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1879
1880 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1881 the behavior when a certificate fails validation. Defaults to
1882 old behavior: never abort, just warn.
1883 (gnutls-negotiate): Use it.
1884
f93cc74f
MR
18852013-12-14 Martin Rudalics <rudalics@gmx.at>
1886
1887 * window.el (display-buffer-below-selected): Never split window
1888 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1889
f77d7d17
TW
18902013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1891
1892 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1893 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1894
7514d3f8
SM
18952013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1896
aa2bddd7 1897 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1898 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1899
276bc333
DG
19002013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1901
1902 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1903 open-paren tokens when preceded by a open-paren, too.
1904 (ruby-smie-rules): Handle virtual indentation after open-paren
1905 tokens specially. If there is code between it and eol, return the
1906 column where is starts (Bug#16118).
1907
d43957f3
TZ
19082013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1909
a5c1ac0c 1910 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1911 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1912 (cfengine3--current-word): Fix parameters.
1913 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1914 (cfengine3-completion-function, cfengine3--current-function):
1915 Use `assq' for symbols.
d43957f3
TZ
1916 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1917
06a4f110
GM
19182013-12-13 Glenn Morris <rgm@gnu.org>
1919
1920 * loadup.el (load-path): Warn if site-load or site-init changes it.
1921 No more need to reset it when bootstrapping.
1922
978a5fda
TZ
19232013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1924
1925 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1926 locations for cf-promises.
1927 (cfengine-mode-syntax-functions-regex): New caching variable.
1928 (cfengine3-fallback-syntax): Fallback syntax for cases where
1929 cf-promises doesn't run.
1930 (cfengine3--current-word): Reimplement using
1931 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1932 (cfengine3-completion-function, cfengine3--current-function):
1933 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1934 (cfengine3-clear-syntax-cache): New function.
1935 (cfengine3-make-syntax-cache): Simplify and create
1936 `cfengine-mode-syntax-functions-regex' on demand.
1937 (cfengine3-format-function-docstring): Don't call
1938 `cfengine3-make-syntax-cache' explicitly.
1939
71e6691e
MR
19402013-12-13 Martin Rudalics <rudalics@gmx.at>
1941
1942 Fix windmove-find-other-window broken after pixelwise resizing
1943 (Bug#16017).
1944 * windmove.el (windmove-other-window-loc): Revert change from
1945 2013-12-04.
1946 (windmove-find-other-window): Call window-in-direction.
1947 * window.el (window-in-direction): New arguments SIGN, WRAP and
1948 MINI to emulate original windmove-find-other-window behavior.
1949
84c73ba0
DG
19502013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1951
1952 * simple.el (blink-matching--overlay): New variable.
1953 (blink-matching-open): Instead of moving point, highlight the
1954 matching paren with an overlay
1955 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1956
1957 * faces.el (paren-showing-faces, show-paren-match)
1958 (show-paren-mismatch): Move from paren.el.
1959
b9e20952
LL
19602013-12-13 Leo Liu <sdl.web@gmail.com>
1961
1962 * indent.el (indent-region): Disable progress reporter in
1963 minibuffer. (Bug#16108)
1964
1965 * bindings.el (visual-order-cursor-movement): Fix version.
1966
ce030451
FEG
19672013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1968
1969 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1970 Also match after beginning of line.
1971 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1972 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1973
4a9c6865
JL
19742013-12-13 Juri Linkov <juri@jurta.org>
1975
1976 * simple.el <Keypad support>: Remove key bindings duplicated
1977 with bindings.el. (Bug#14397)
1978
2bc170c3
JL
19792013-12-13 Juri Linkov <juri@jurta.org>
1980
1981 * comint.el (comint-mode-map): Replace `delete-char' with
1982 `delete-forward-char'. (Bug#16109)
1983
bc9222c9
FEG
19842013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1985
aa2bddd7 1986 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1987 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1988
cb3a1380
SM
19892013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1990
1991 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1992 (advice--make): Pay attention to `depth'.
1993 (advice--make-1): Don't autoload commands eagerly.
1994 * emacs-lisp/elp.el (elp-instrument-function):
1995 * emacs-lisp/trace.el (trace-function-internal):
1996 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1997
1998 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1999
01633a17
EZ
20002013-12-12 Eli Zaretskii <eliz@gnu.org>
2001
2002 * term/w32-win.el (w32-handle-dropped-file):
2003 * startup.el (normal-top-level):
2004 * net/browse-url.el (browse-url-file-url):
2005 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2006 decode file names using 'utf-8' rather than
2007 file-name-coding-system.
2008
09faee72
FEG
20092013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2010
2011 * progmodes/python.el (python-indent-context)
2012 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 2013 behavior for comment blocks. (Bug#15916)
09faee72 2014
f4f84024 20152013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 2016
cb3a1380
SM
2017 * progmodes/python.el (python-indent-calculate-indentation):
2018 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
2019 operators when they are just string constituents. (Bug#15812)
2020
d5ccb7be
JL
20212013-12-12 Juri Linkov <juri@jurta.org>
2022
2023 * uniquify.el (uniquify-buffer-name-style): Change default to
2024 `post-forward-angle-brackets'.
2025
2026 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2027 `uniquify'. Change default to `post-forward-angle-brackets'.
2028
7b3f5679
GM
20292013-12-11 Glenn Morris <rgm@gnu.org>
2030
2031 * emacs-lisp/package.el (finder-list-matches):
2032 Autoload rather than falsely declaring.
2033
f4fe8fdd
TZ
20342013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2035
2036 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2037 (eww-mode-map): Use them.
2038
3c29190f
MR
20392013-12-11 Martin Rudalics <rudalics@gmx.at>
2040
2041 * window.el (display-buffer-in-side-window): Fix doc-string
2042 (Bug#16115).
2043
0cd616a2
JB
20442013-12-11 Juanma Barranquero <lekktu@gmail.com>
2045
2046 * vc/vc-git.el: Silence byte-compiler warnings.
2047 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2048 (log-edit-set-header): Declare.
2049
3ef8e0d1
EZ
20502013-12-11 Eli Zaretskii <eliz@gnu.org>
2051
2052 * Makefile.in (custom-deps, finder-data): Run output file names
2053 through unmsys--file-name. (Bug#16099)
2054
afdadaf7
SM
20552013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2056
7ae3ae39 2057 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2058 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2059
5b4f37ab
SM
2060 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2061 instead of deleting the selection "by hand" (bug#16098).
2062 Rely on insert-for-yank to yank rectangles.
2063 (cua-highlight-region-shift-only): Mark obsolete.
2064 (cua-mode): Don't enable/disable transient-mark-mode,
2065 shift-select-mode (cua-mode works both with and without them), and
2066 pc-selection-mode (obsolete).
2067 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2068 (cua--deactivate-rectangle): Deactivate it.
2069
4b72c12b
SM
2070 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2071 (delete-selection-helper): Make sure yank starts at the top of the
2072 deleted region.
2073 (minibuffer-keyboard-quit): Use region-active-p.
2074
e82af72d
SM
2075 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2076
afdadaf7
SM
2077 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2078 to `delete' (bug#16109).
2079
ed4bc201
RS
20802013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2081
2082 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2083 info manual and show keybindings and set `:group' keyword.
2084
bb8097b9
JL
20852013-12-11 Juri Linkov <juri@jurta.org>
2086
2087 * delsel.el (delete-active-region): Let-bind `this-command'
2088 to prevent `kill-region' from changing its original value.
2089 (delete-selection-helper): Handle `overwrite-mode' for the type
2090 `kill' exactly the same way as for the type `t'.
2091 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2092 Support more commands. (Bug#13312)
2093
c1916ff5
JL
20942013-12-11 Juri Linkov <juri@jurta.org>
2095
2096 * bindings.el: Map kp keys to non-kp keys systematically
2097 with basic modifiers control, meta and shift. (Bug#14397)
2098
7514d3f8 20992013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2100
2101 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2102 "Close browser" menu items. Fix wrong function of "List
2103 bookmarks".
2104
4cc51eaf
JL
21052013-12-11 Juri Linkov <juri@jurta.org>
2106
2107 * misearch.el (multi-isearch-buffers): Set the value of
2108 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2109 arg of isearch-forward to t.
2110 (multi-isearch-buffers-regexp): Set the value of
2111 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2112 arg of isearch-forward-regexp to t.
2113 (multi-isearch-files): Set the value of
2114 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2115 arg of isearch-forward to t.
2116 (multi-isearch-files-regexp): Set the value of
2117 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2118 arg of isearch-forward-regexp to t. (Bug#16035)
2119
2120 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2121 arg of isearch-forward to t.
2122 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2123 arg of isearch-forward-regexp to t.
2124 (dired-isearch-filter-filenames): Remove unnecessary check for
2125 `dired-isearch-filenames'.
2126
2127 * comint.el (comint-history-isearch-backward):
2128 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2129 (comint-history-isearch-backward-regexp):
2130 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2131
ceac12b7
EZ
21322013-12-10 Eli Zaretskii <eliz@gnu.org>
2133
2134 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2135 unmsys--file-name. (Bug#16099)
2136
5a565782
TZ
21372013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2138
cb3a1380
SM
2139 * emacs-lisp/package.el (package-keyword-button-action):
2140 Remove finder.el require dependency.
5a565782 2141
a81fc7ba
TZ
21422013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2143
2144 * emacs-lisp/package.el: Require finder.el.
2145 (describe-package-1): Add keyword buttons.
2146 (package-make-button): New convenience function.
2147 (package-keyword-button-action): Keyword button action using
e0eb0550 2148 `finder-list-matches'.
a81fc7ba 2149
6aaca951
EZ
21502013-12-09 Eli Zaretskii <eliz@gnu.org>
2151
2152 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2153 last commit.
2154
a1099a91
MA
21552013-12-09 Michael Albinus <michael.albinus@gmx.de>
2156
2157 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2158 symlinked files.
2159
8212d9c0
DG
21602013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2161
2162 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2163 after the end of a percent literal.
2164
8f48d131
CD
21652013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2166
cb3a1380
SM
2167 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2168 Handle caret-delimited strings (Bug#16079).
8f48d131 2169
ff8c9764
DG
21702013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2171
cb3a1380
SM
2172 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2173 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2174 `ruby-parse-partial' (Bug#16078).
2175
d64643b4
LL
21762013-12-09 Leo Liu <sdl.web@gmail.com>
2177
2178 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2179
47e59c66
DG
21802013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2181
2182 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2183 (js-switch-indent-offset): New option.
2184 (js--proper-indentation): Use it. And handle the case when
2185 "default" is actually a key in an object literal.
2186 (js--same-line): New function.
2187 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2188 (js--indent-in-array-comp, js--array-comp-indentation):
2189 New functions.
47e59c66
DG
2190 (js--proper-indentation): Use them, to handle array comprehension
2191 continuations.
2192
974ebc9c
LL
21932013-12-08 Leo Liu <sdl.web@gmail.com>
2194
2195 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2196 (flymake-make-overlay): Remove arg MOUSE-FACE.
2197 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2198
27262e39
SM
21992013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2200
2201 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2202 New function.
2203 (redisplay-highlight-region-function): Use it.
2204
2205 * emulation/cua-base.el (cua--explicit-region-start)
2206 (cua--last-region-shifted): Remove.
2207 (cua--deactivate): Use deactivate-mark.
2208 (cua--pre-command-handler-1): Don't handle shift-selection.
2209 (cua--post-command-handler-1): Don't change transient-mark-mode.
2210 (cua--select-keymaps): Use region-active-p rather than
2211 cua--explicit-region-start or cua--last-region-shifted.
2212 (cua-mode): Enable shift-select-mode.
2213
6407822c
LL
22142013-12-08 Leo Liu <sdl.web@gmail.com>
2215
27262e39
SM
2216 * progmodes/flymake.el (flymake-popup-current-error-menu):
2217 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2218 (flymake-posn-at-point-as-event, flymake-popup-menu)
2219 (flymake-make-emacs-menu): Remove. (Bug#16077)
2220
00a2b823
SM
22212013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2222
02033d49
SM
2223 * rect.el (rectangle-mark-mode): Activate mark even if
2224 transient-mark-mode is off (bug#16066).
2225 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2226 is > mark and at bolp.
2227
6f8dfccf
SM
2228 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2229 (region-extract-function): Use it.
2230 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2231 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2232 Delete functions.
2233 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2234 kill-ring-save, kill-region, delete-char, delete-forward-char.
2235 Ignore self-insert-iso.
2236
2237 * emulation/cua-gmrk.el (cua--init-global-mark):
2238 Ignore `self-insert-iso'.
2239
2240 * emulation/cua-base.el (cua--prefix-copy-handler)
2241 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2242 checking cua--rectangle.
2243 (cua-delete-region): Use region-extract-function.
2244 (cua-replace-region): Delete function.
2245 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2246 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2247 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2248 (cua--init-keymaps): Don't remap delete-selection commands.
2249 (cua-mode): Use delete-selection-mode instead of rolling our own
2250 (bug#16085).
2251
2252 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2253 Obey region-extract-function.
2254
00a2b823
SM
2255 Make registers and delete-selection-mode work on rectangles.
2256 * register.el (describe-register-1): Don't modify the register's value.
2257 (copy-to-register): Obey region-extract-function.
2258 * delsel.el (delete-active-region): Obey region-extract-function.
2259
a92fa5f1
LL
22602013-12-08 Leo Liu <sdl.web@gmail.com>
2261
2262 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2263 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2264 (flymake-compilation-prevents-syntax-check)
2265 (flymake-start-syntax-check-on-newline)
2266 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2267 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2268 (flymake-xml-program, flymake-master-file-dirs)
2269 (flymake-master-file-count-limit)
2270 (flymake-allowed-file-name-masks): Relocate.
2271 (flymake-makehash, flymake-float-time)
2272 (flymake-replace-regexp-in-string, flymake-split-string)
2273 (flymake-get-temp-dir): Remove.
2274 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2275 (flymake-current-row, flymake-selected-frame)
2276 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2277 related functions. (Bug#16077)
2278
73c8ceea
BB
22792013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2280
2281 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2282
faec28d9
TH
22832013-12-07 Tassilo Horn <tsdh@gnu.org>
2284
2285 * help-fns.el (describe-function-1): Use new advice-* functions
2286 rather than old ad-* functions. Fix function type description and
2287 source links for advised functions and subrs.
2288
e330b646
LMI
22892013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2290
00a2b823 2291 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2292
4803595d
MA
22932013-12-06 Michael Albinus <michael.albinus@gmx.de>
2294
2295 * progmodes/compile.el (compilation-start):
2296 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2297
2298 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2299 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2300
fa834a93
DG
23012013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2302
00a2b823
SM
2303 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2304 Touch up the last change.
fa834a93 2305
b2856a6f
LL
23062013-12-06 Leo Liu <sdl.web@gmail.com>
2307
2308 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2309 (inferior-octave-startup): Always use "octave> " for prompt.
2310 (octave-goto-function-definition)
2311 (octave-sync-function-file-names)
2312 (octave-find-definition-default-filename): Remove redundant backquotes.
2313
af67e79a
DG
23142013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2315
2316 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2317 syntax for `?'.
2318 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2319 where appropriate already.
2320 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2321 end of method names (Bug#15874).
2322
bf093209
JL
23232013-12-06 Juri Linkov <juri@jurta.org>
2324
2325 * isearch.el (isearch--saved-overriding-local-map):
2326 New internal variable.
2327 (isearch-mode): Set it to the initial value of
2328 `overriding-terminal-local-map'.
2329 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2330 with `isearch--saved-overriding-local-map'. (Bug#16035)
2331
16588fad
DG
23322013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2333
00a2b823
SM
2334 * progmodes/octave.el (inferior-octave-completion-table):
2335 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2336 (Bug#11906). Update all references.
2337
2338 * minibuffer.el (completion-table-with-cache): New function.
2339
bf4906d7
CD
23402013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2341
2342 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2343
ff69c18f
TZ
23442013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2345
2346 * net/eww.el (eww-current-source): New variable to store page
2347 source.
2348 (eww-display-html, eww-mode, eww-save-history)
2349 (eww-restore-history): Use it.
2350 (eww-view-source): New command to view page source.
2351 Opportunistically uses `html-mode' to highlight the buffer.
2352 (eww-mode-map): Install it.
2353
b85eff45
MA
23542013-12-05 Michael Albinus <michael.albinus@gmx.de>
2355
2356 * net/dbus.el (dbus-unregister-service)
2357 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2358 Fix docstring.
2359 (dbus-unregister-service): Skip :serial entries in
2360 `dbus-registered-objects-table'.
2361 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2362
39eb0899
TZ
23632013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2364
2365 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2366 around keywords with extra `split-string' argument.
2367
456760a5
MR
23682013-12-04 Martin Rudalics <rudalics@gmx.at>
2369
2370 * windmove.el (windmove-other-window-loc): Handle navigation
2371 between windows (excluding the minibuffer window - Bug#16017).
2372
81961e4c
MA
23732013-12-04 Michael Albinus <michael.albinus@gmx.de>
2374
2375 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2376 in D-Bus type syntax.
2377 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2378 preserve unibyte strings. (Bug#16048)
2379
8497f938
SM
23802013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2381
2382 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2383 Call force-mode-line-update is the proper buffer (bug#16042).
2384
dda61916
DG
23852013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2386
2387 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2388 `log-edit-remember-comment', make argument optional. Adjust all
2389 callers.
2390 (log-edit-mode): Add `log-edit-remember-comment' to
2391 `kill-buffer-hook' locally.
2392 (log-edit-kill-buffer): Don't remember comment explicitly since
2393 the buffer is killed anyway.
2394
c085e5b9
JL
23952013-12-04 Juri Linkov <juri@jurta.org>
2396
2397 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2398 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2399
e0eb0550 24002013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2401
2402 * notifications.el (notifications-close-notification): Call the
81961e4c 2403 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2404
39fa32d6
KY
24052013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2406
2407 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2408
9139632a
JL
24092013-12-03 Juri Linkov <juri@jurta.org>
2410
2411 * progmodes/compile.el (compilation-start): Rename window alist
2412 entry `no-display-ok' to `allow-no-window'.
2413
2414 * simple.el (shell-command): Add window alist entry
2415 `allow-no-window' to `display-buffer'.
2416 (async-shell-command): Doc fix.
2417
2418 * window.el (display-buffer-no-window): New action function.
2419 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2420
0f457a37
DG
24212013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2422
2423 * vc/log-edit.el (log-edit-set-header): Extract from
2424 `log-edit-toggle-header'.
2425 (log-edit-extract-headers): Separate the summary, when extracted
2426 from header, from the rest of the message with an empty line.
2427
2428 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2429 line, if present, to the Summary header.
2430
0962f376
SM
24312013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2432
2433 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2434 in current-buffer (bug#16029).
2435
f345395c
HE
24362013-12-02 Helmut Eller <eller.helmut@gmail.com>
2437
2438 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2439 (debugger-mode-map): Bind it.
2440 (debugger--backtrace-base): New function.
2441 (debugger-eval-expression): Use it.
2442 (debugger-frame-number): Skip local vars when present.
2443 (debugger--locals-visible-p, debugger--insert-locals)
2444 (debugger--show-locals, debugger--hide-locals): New functions.
2445
a8a15d9d
MA
24462013-12-02 Michael Albinus <michael.albinus@gmx.de>
2447
2448 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2449 "LC_ALL".
2450 (tramp-get-remote-locale): New defun.
2451 (tramp-open-connection-setup-interactive-shell): Use it.
2452
0518b057
LL
24532013-12-02 Leo Liu <sdl.web@gmail.com>
2454
2455 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2456
2457 * progmodes/sh-script.el (sh-shell-process):
2458 * progmodes/octave.el (inferior-octave-process-live-p):
2459 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2460 (gdb-inferior-io-sentinel):
2461 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2462
3adc9c6d
DG
24632013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2464
2465 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2466 `save-selected-window' to `log-edit-hide-buf'. This makes
2467 `log-edit-show-files' idempotent.
2468 (log-edit-show-files): Mark the new window as dedicated.
2469
47e8b74e
DG
24702013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2471
2472 * vc/log-edit.el (log-edit-mode-map): Add binding for
2473 `log-edit-kill-biffer'.
2474 (log-edit-hide-buf): Add a FIXME comment.
2475 (log-edit-add-new-comment): New function, extracted from
2476 `log-edit-done'.
2477 (log-edit-done, log-edit-add-to-changelog): Use it.
2478 (log-edit-kill-buffer): New command.
2479
1f6e1bb0
LMI
24802013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2481
2482 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2483 instead of killing the buffer.
2484
fb651d15
SM
24852013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2486
2487 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2488
8feacce0
RS
24892013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2490
fb651d15 2491 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2492 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2493 (eww-form-checkbox, eww-toggle-checkbox):
2494 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2495
e0eb0550 2496 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2497 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2498 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2499 no :src tag was specified.
2500
fb651d15 2501 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2502 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2503 Use \\` to match beginning of string instead of ^.
2504 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2505 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2506
177948a5
RS
2507 * net/shr.el (shr-tag-video): Display content for video if no
2508 poster is available.
eb2dd24d 2509 (shr-tag-audio): Add support for <audio> tag.
177948a5 2510
e0eb0550 2511 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2512 (eww-process-text-input): Treat input types in
2513 `eww-text-input-types' as text.
2514
8feacce0
RS
2515 * net/shr.el (shr-tag-table): Fix comment typo.
2516
513562a1
LMI
25172013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2518
2519 * net/eww.el (eww-follow-link): New command to avoid reloading
2520 pages when we follow #target links (bug#15243).
de8a5633 2521 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2522
9dd99753
KN
25232013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2524
2525 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2526 forms.
2527
3e9876de
LMI
25282013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2529
2530 * net/eww.el (eww-restore-history): Update the window title after
2531 moving in the history.
ab6dea82 2532 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2533
52789f7f
DG
25342013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2535
2536 * vc/log-edit.el (log-edit-mode-map): Add binding for
2537 `log-edit-beginning-of-line'.
2538 (log-edit-setup-add-author): New user option.
2539 (log-edit-beginning-of-line): New command.
2540 (log-edit): Move major mode call above the contents setup so that
2541 the local variable values are already applied.
2542 (log-edit): Only insert "Author: " when
2543 `log-edit-setup-add-author' is non-nil.
2544 (log-edit): When SETUP is non-nil, position point after ": "
2545 instead of point-min.
2546
2e6710c3
GM
25472013-12-01 Glenn Morris <rgm@gnu.org>
2548
2549 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2550
fadec31f
EZ
25512013-11-30 Eli Zaretskii <eliz@gnu.org>
2552
2553 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2554 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2555 visible. (Bug#16014)
2556
10634b40 25572013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2558
2559 Support resizing frames and windows pixelwise.
2560 * cus-start.el (frame-resize-pixelwise)
2561 (window-resize-pixelwise): New entries.
2562 * emacs-lisp/debug.el (debug): Use window-total-height instead
2563 of window-total-size.
2564 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2565 * help.el (describe-bindings-internal): Call help-buffer
2566 (temp-buffer-max-width): New option.
2567 (resize-temp-buffer-window, help-window-setup)
2568 (with-help-window): Rewrite.
2569 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2570 dragging dividers.
2571 * window.el (frame-char-size, window-min-pixel-height)
2572 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2573 (window-min-pixel-width, window-safe-min-pixel-size)
2574 (window-combination-p, window-safe-min-size)
2575 (window-resizable-p, window--size-to-pixel)
2576 (window--pixel-to-size, window--resize-apply-p): New functions.
2577 (window-safe-min-height): Fix doc-string.
2578 (window-size, window-min-size, window--min-size-1)
2579 (window-sizable, window-sizable-p, window--min-delta-1)
2580 (window-min-delta, window--max-delta-1, window-max-delta)
2581 (window--resizable, window--resizable-p, window-resizable)
2582 (window-full-height-p, window-full-width-p, window-at-side-p)
2583 (window--in-direction-2, window-in-direction)
2584 (window--resize-reset-1, window--resize-mini-window)
2585 (window-resize, window-resize-no-error)
2586 (window--resize-child-windows-normal)
2587 (window--resize-child-windows, window--resize-siblings)
2588 (window--resize-this-window, window--resize-root-window)
2589 (window--resize-root-window-vertically)
2590 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2591 (maximize-window, minimize-window, delete-window)
2592 (quit-restore-window, window-split-min-size, split-window)
2593 (balance-windows-2, balance-windows)
2594 (balance-windows-area-adjust, balance-windows-area)
2595 (window--state-get-1, window-state-get, window--state-put-1)
2596 (window--state-put-2, window-state-put)
fb651d15
SM
2597 (display-buffer-record-window, window--display-buffer):
2598 Make functions handle pixelwise sizing of windows.
880e6158 2599 (display-buffer--action-function-custom-type)
fb651d15
SM
2600 (display-buffer-fallback-action):
2601 Add display-buffer-in-previous-window.
880e6158
MR
2602 (display-buffer-use-some-window): Resize window to height it had
2603 before.
2604 (fit-window-to-buffer-horizontally): New option.
2605 (fit-frame-to-buffer): Describe new values.
2606 (fit-frame-to-buffer-bottom-margin): Replace with
2607 fit-frame-to-buffer-margins.
2608 (window--sanitize-margin): New function.
2609 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2610 using window-text-pixel-size.
2611
f9b697dd
GM
26122013-11-30 Glenn Morris <rgm@gnu.org>
2613
3e2fb4db
GM
2614 * emacs-lisp/bytecomp.el (byte-compile-form):
2615 Make the `interactive-only' warning like the `obsolete' one.
2616 * comint.el (comint-run):
2617 * files.el (insert-file-literally, insert-file):
2618 * replace.el (replace-string, replace-regexp):
2619 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2620 (goto-line, insert-buffer, next-line, previous-line):
2621 Tweak `interactive-only' spec.
2622
f9b697dd
GM
2623 Stop keeping (most) generated cedet grammar files in the repository.
2624 * Makefile.in (semantic): New.
2625 (compile-main): Depend on semantic.
2626
da048127
SM
26272013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2628
7784b779
SM
2629 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2630 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2631
4e36a6a6
SM
2632 * uniquify.el (uniquify-buffer-name-style): Change default.
2633
2634 * loadup.el: Preload "uniquify".
2635
e0ba1308
SM
2636 * time.el (display-time-update): Update all mode lines (bug#15999).
2637
da048127
SM
2638 * electric.el (electric-indent-mode): Enable by default.
2639 * loadup.el: Preload "electric".
2640
015b3b3e
BB
26412013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2642
2643 * emacs-lisp/helpers.el (string-empty-p): New function.
2644 (string-blank-p): New function.
2645
7efb806d
AP
26462013-11-29 Andreas Politz <politza@hochschule-trier.de>
2647
2648 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2649 (Bug#14029).
2650
c8f0efc2
AP
26512013-11-29 Andreas Politz <politza@fh-trier.de>
2652 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2653 allow non-lambda lists as functions.
2654 (imenu--in-alist): Don't recurse into non-subalists.
2655 (imenu): Don't pass function itself as an argument (Bug#14029).
2656
bd15d9d1
SM
26572013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2658
2659 * progmodes/python.el (python-mode-map): Remove binding for ":".
2660 (python-indent-electric-colon): Remove command.
2661 (python-indent-post-self-insert-function): Integrate the previous code
2662 of python-indent-electric-colon. Make it conditional on
2663 electric-indent-mode.
2664 (python-mode): Add ?: to electric-indent-chars.
2665 Move python-indent-post-self-insert-function to the end of
2666 post-self-insert-hook.
2667
1b10adb6
SM
26682013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2669
655ab9a3
SM
2670 * doc-view.el (doc-view-goto-page): Update mode-line.
2671
1b10adb6
SM
2672 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2673
7e3bf78c
GM
26742013-11-27 Glenn Morris <rgm@gnu.org>
2675
2676 * international/charprop.el, international/uni-bidi.el:
2677 * international/uni-category.el, international/uni-combining.el:
2678 * international/uni-comment.el, international/uni-decimal.el:
2679 * international/uni-decomposition.el, international/uni-digit.el:
2680 * international/uni-lowercase.el, international/uni-mirrored.el:
2681 * international/uni-name.el, international/uni-numeric.el:
2682 * international/uni-old-name.el, international/uni-titlecase.el:
2683 * international/uni-uppercase.el:
2684 Remove generated files from VCS repository.
2685
fb6a5d68
EZ
26862013-11-27 Eli Zaretskii <eliz@gnu.org>
2687
2688 * filenotify.el (file-notify-add-watch): Don't special-case
2689 w32notify when computing the directory to watch.
2690
cb6c95a3
GM
26912013-11-27 Glenn Morris <rgm@gnu.org>
2692
20372d0c
GM
2693 Make bootstrap without generated uni-*.el files possible again.
2694 * loadup.el: Update command-line-args checking for unidata-gen.
2695 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2696 * composite.el, international/characters.el:
2697 Handle unicode tables being undefined.
2698
52d6635f 2699 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2700 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2701 (compile-main): Depend on leim rule.
2702 (leim): New rule.
2703 * loadup.el: Move leim-list.el to leim/ subdirectory.
2704 * startup.el (normal-top-level): No more leim directory.
2705 * international/ja-dic-cnv.el (skkdic-convert):
2706 Disable version-control and autoloads in output files.
2707 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2708 Disable version-control and autoloads in output files.
2709 * leim/quail: Move here from ../leim.
2710 * leim/quail/hangul.el (hangul-input-method-activate):
2711 Add autoload cookie.
2712 (generated-autoload-load-name): Set file-local value.
2713 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2714 (generated-autoload-load-name): Set file-local value.
2715
7514d3f8 27162013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2717
e0eb0550 2718 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2719 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2720 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2721
0e2c793f
EZ
27222013-11-26 Eli Zaretskii <eliz@gnu.org>
2723
2724 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2725 reading output from Diff on MS-Windows and MS-DOS.
2726
447bdcb8
BB
27272013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2728
2729 * emacs-lisp/helpers.el (string-reverse): New function.
2730
5fbf6856
MA
27312013-11-26 Michael Albinus <michael.albinus@gmx.de>
2732
2733 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2734 names on MS Windows, like "/[::1]:".
2735
2736 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2737 SWITCHES.
2738
624780f0
GM
27392013-11-26 Glenn Morris <rgm@gnu.org>
2740
0bf3f0fa
GM
2741 * progmodes/python.el (python-indent-guess-indent-offset):
2742 Avoid corner-case error. (Bug#15975)
2743
624780f0
GM
2744 Preload leim-list.el. (Bug#4789)
2745 * loadup.el: Load leim-list.el when found.
2746 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2747
4301875e 27482013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2749
2750 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2751
4301875e
BB
2752 * emacs-lisp/helpers.el (string-join): New function.
2753
1633a815 27542013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2755
2756 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2757 Mark as obsolete and replace it with a symbol property.
2758 (byte-compile-form): Use new 'interactive-only property.
2759 * comint.el, files.el, replace.el, simple.el:
2760 Apply new 'interactive-only properly.
2761
00139435
MR
27622013-11-25 Martin Rudalics <rudalics@gmx.at>
2763
2764 * window.el (display-buffer-at-bottom): Make sure that
2765 split-window-sensibly creates the new window on bottom
2766 (Bug#15961).
2767
5f5b128d
DK
27682013-11-23 David Kastrup <dak@gnu.org>
2769
2770 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2771 on the conflict markers when available.
2772 (smerge--get-marker): New function.
2773 (smerge-end-re, smerge-base-re): Add subgroup.
2774
623891e5
SM
27752013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2776
2777 * frame.el (handle-focus-in, handle-focus-out): Add missing
2778 interactive spec.
2779
05ca27d8
MA
27802013-11-25 Michael Albinus <michael.albinus@gmx.de>
2781
2782 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2783 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2784
511fa0d3
SM
27852013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2786
e82ad66c
SM
2787 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2788 (gomoku--last-pos): New var.
2789 (gomoku--intangible-chars): New const.
2790 (gomoku--intangible): New function.
2791 (gomoku-mode): Use it. Derive from special-mode.
2792 (gomoku-move-up): Adjust line count.
2793 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2794 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2795 Simplify accordingly.
2796
511fa0d3
SM
2797 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2798 Remove blink-cursor code.
2799 (blink-cursor-timer-function, blink-cursor-suspend):
2800 Don't special-case GUIs.
2801 (blink-cursor-mode): Use focus-in/out-hook.
2802
6f20dd03
DG
28032013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2804
2805 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2806 work when annotation is invisible (Bug#13886).
2807
431dec31 28082013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2809
2810 * json.el (json-alist-p): Only return non-nil if the alist has
2811 simple keys (Bug#13518).
2812
431dec31 28132013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2814
2815 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2816 when control-statement is the first statement in a buffer (Bug#15956).
2817
ee4f0261
DG
28182013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2819
2820 * imenu.el (imenu-generic-skip-comments-and-strings):
2821 New option (Bug#15560).
2822 (imenu--generic-function): Use it.
2823
c484f866
JS
28242013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2825
e9dc713d
JB
2826 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2827 (Bug#13898)
c484f866 2828
41ce6f70
BB
28292013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2830
b55aea38
BB
2831 * emacs-lisp/helpers.el: Add some string helpers.
2832 (string-trim-left): Removes leading whitespace.
2833 (string-trim-right): Removes trailing whitespace.
2834 (string-trim): Removes leading and trailing whitespace.
2835
41ce6f70
BB
2836 * subr.el (string-suffix-p): New function.
2837
3cfb6af3
GM
28382013-11-23 Glenn Morris <rgm@gnu.org>
2839
2840 * progmodes/python.el (python-shell-send-file):
2841 Add option to delete file when done. (Bug#15647)
2842 (python-shell-send-string, python-shell-send-region): Use it.
2843
c27924b7
IS
28442013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2845
e1b01c7f
IS
2846 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2847 to set buffer-read-only to t, never to nil. (Bug#15938)
2848
c27924b7
IS
2849 * textmodes/tex-mode.el (latex-noindent-environments):
2850 Add safe-local-variable property. (Bug#15936)
2851
17e0445b
GM
28522013-11-23 Glenn Morris <rgm@gnu.org>
2853
92f78ea3
GM
2854 * textmodes/enriched.el (enriched-mode): Doc fix.
2855 * emacs-lisp/authors.el (authors-renamed-files-alist):
2856 Add enriched.doc -> enriched.txt.
2857
17e0445b
GM
2858 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2859
965bb23a
LL
28602013-11-22 Leo Liu <sdl.web@gmail.com>
2861
2862 * progmodes/octave.el (inferior-octave-startup): Spit out error
2863 message.
2864
d19ffd64
BB
28652013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2866
2867 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2868 Improve docstring.
15ba2182
BB
2869 Add :version.
2870 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2871
7a7567d2
LL
28722013-11-22 Leo Liu <sdl.web@gmail.com>
2873
2874 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2875 (Bug#15076)
8c09f64b
LL
2876 (octave-help-mode): Adapt to change to help-mode-finish to use
2877 derived-mode-p on 2013-09-17.
2878 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2879 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2880
724bc265
LL
28812013-11-22 Leo Liu <sdl.web@gmail.com>
2882
2883 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2884 (inferior-octave-startup, inferior-octave-check-process)
2885 (inferior-octave-track-window-width-change)
2886 (octave-completion-at-point, octave-eldoc-function): Use it.
2887 (octave-kill-process): Provide confirmation. (Bug#10564)
2888
38637cca
LL
28892013-11-21 Leo Liu <sdl.web@gmail.com>
2890
511fa0d3
SM
2891 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2892 Fix obsolete variable comment-use-global-state.
38637cca 2893
06e752b4
RS
28942013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2895
511fa0d3
SM
2896 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2897 Add `octave-source-file'.
06e752b4
RS
2898 (octave-source-file): New function. (Bug#15935)
2899
7514d3f8 29002013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2901
2902 * net/eww.el (eww-local-regex): New variable.
2903 (eww): Use it to detect localhost and similar.
2904
b6ffa04a
LL
29052013-11-21 Leo Liu <sdl.web@gmail.com>
2906
2907 Add completion for command `ag'.
2021a200
LL
2908 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2909 (pcomplete/ag): New function.
e9dc713d 2910 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2911
d1a6bccc
SM
29122013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2913
2914 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2915 (bug#14646).
2916 (make-obsolete): Remove interactive spec.
2917
2df10228
GM
29182013-11-21 Glenn Morris <rgm@gnu.org>
2919
2920 * startup.el (command-line-1): Use path-separator with -L.
2921
86fd16b6
TZ
29222013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2923
2924 * emacs-lisp/package.el (describe-package-1): Add package archive
2925 to shown fields.
2926
0449d6cd 29272013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2928
2929 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2930 Change default to "# encoding: %s" to differentiate it from the
2931 default Ruby encoding comment template.
2932
dc7e8c17 29332013-11-20 era eriksson <era+emacsbugs@iki.fi>
2934
2935 * ses.el (ses-mode): Doc fix. (Bug#14748)
2936
f0cfa5fe
LL
29372013-11-20 Leo Liu <sdl.web@gmail.com>
2938
2939 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2940
826dc7b6
DN
29412013-11-19 Dan Nicolaescu <dann@gnu.org>
2942
2943 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2944 when rebase or bisect are in progress.
2945
a6e3a5d5
XF
29462013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2947
2948 * filenotify.el (file-notify-add-watch): Doc fix.
2949
f130cb76
LL
29502013-11-19 Leo Liu <sdl.web@gmail.com>
2951
e0855d7d
LL
2952 * obsolete/rcompile.el: Mark obsolete.
2953
f130cb76 2954 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2955 (compilation-goto-locus, compilation-find-file):
2956 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2957 (Bug#13594)
2958
2959 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2960 new parameter no-display-ok. Return either a window or nil
2961 but never a non-window value.
f130cb76 2962
1f35d401
SM
29632013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2964
25158c76
SM
2965 * electric.el (electric-indent-mode-map): Remove.
2966 (electric-indent-mode): Change the global-map instead (bug#15915).
2967
2968 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2969 Use add-function.
1f35d401 2970
9bc67baa
SM
29712013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2972
986545b5
SM
2973 * emacs-lisp/nadvice.el (remove-function): Align with
2974 add-function's behavior.
2975
9bc67baa
SM
2976 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2977 (gdb--string-regexp): New constant.
2978 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2979 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2980 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2981 submatch 1.
2982 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2983 Adjust use accordingly.
2984 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2985
56cd894e
AS
29862013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2987
2988 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2989 interpolation curlies (Bug#15914).
2990
014690de
JB
29912013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2992
2993 * calc/calc.el (calc-context-sensitive-enter): New variable.
2994 (calc-enter): Use `calc-context-sensitive-enter'.
2995
7e26a6c3
TZ
29962013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2997
2998 * progmodes/cfengine.el: Version bump.
2999 (cfengine-cf-promises): New defcustom to locate cf-promises.
3000 (cfengine3-vartypes): Add new "data" type.
3001 (cfengine3--current-word): New function to get current name-like
3002 word or its bounds.
3003 (cfengine3--current-function): New function to look up a CFEngine
3004 function's definition.
3005 (cfengine3-format-function-docstring): New function.
3006 (cfengine3-make-syntax-cache): New function.
3007 (cfengine3-documentation-function): New function: ElDoc glue.
3008 (cfengine3-completion-function): New function: completion glue.
3009 (cfengine3-mode): Set `compile-command',
3010 `eldoc-documentation-function', and add to
3011 `completion-at-point-functions'.
3012
355204dd
MA
30132013-11-16 Michael Albinus <michael.albinus@gmx.de>
3014
3015 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3016 `tramp-current-connection'.
3017
43cebc23
DG
30182013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3019
3020 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3021 nil/self/true/false with "end of symbol".
3022
a3fed6ff
BB
30232013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3024
3025 * subr.el (version-regexp-alist): Fix a typo.
3026
e675b3e4
MA
30272013-11-15 Michael Albinus <michael.albinus@gmx.de>
3028
3029 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3030 "en_US.utf8" and "LC_CTYPE" to "".
3031 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3032 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3033
a1f03e89
LL
30342013-11-15 Leo Liu <sdl.web@gmail.com>
3035
3036 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3037
5d9d9451
SM
30382013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3039
58362662
CS
3040 * progmodes/gud.el (ctl-x-map):
3041 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
3042 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3043
6c1bf086
BB
30442013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3045
0d5363c4
BB
3046 * subr.el (version-regexp-alist):
3047 Recognize hg, svn and darcs versions as snapshot versions.
3048
4e9fc48c
BB
3049 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3050 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3051 (ruby--encoding-comment-required-p): Extract from
3052 `ruby-mode-set-encoding'.
3053 (ruby-mode-set-encoding): Add the ability to always insert an
3054 utf-8 encoding comment. Fix and simplify coding comment update
3055 logic.
6c1bf086 3056
2f7e72f8
MA
30572013-11-14 Michael Albinus <michael.albinus@gmx.de>
3058
3059 * net/tramp-gvfs.el (top): Run init code only when
3060 `tramp-gvfs-enabled' is not nil.
3061 (tramp-gvfs-enabled): Check also :system bus.
3062
0f137a73
SM
30632013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3064
3065 Sync with upstream verilog-mode revision 78e66ba.
3066 * progmodes/verilog-mode.el (verilog-end-of-defun)
3067 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3068 (verilog-get-end-of-defun): Remove unused argument.
3069 (verilog-comment-depth): Remove unused local `e'.
3070 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3071 Don't pass arg to verilog-get-end-of-defun.
3072
1c276bdd
GM
30732013-11-14 Glenn Morris <rgm@gnu.org>
3074
3075 * obsolete/assoc.el (aget): Prefix dynamic variable.
3076
3077 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3078
ff6ec81d
SM
30792013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3081 * widget.el, hfy-cmap.el: Remove bogus package version number.
3082
75f777b6
GM
30832013-11-13 Glenn Morris <rgm@gnu.org>
3084
1d43dba1
GM
3085 * replace.el (replace-eval-replacement):
3086 Try to give more helpful error message. (Bug#15836)
3087
ff4b7bd5
GM
3088 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3089 (archive-7z-update): Avoid custom type mismatches.
3090
75f777b6
GM
3091 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3092
11151a06
MA
30932013-11-13 Michael Albinus <michael.albinus@gmx.de>
3094
e675b3e4 3095 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3096 address can be empty.
3097
3098 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3099 Accept nil SWITCHES.
3100 (tramp-gvfs-handle-write-region): Implement APPEND.
3101
7b08f97e
DG
31022013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3103
3104 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3105 binary "|" operator and closing block args delimiter.
3106 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3107 (ruby-smie--implicit-semi-p): Not after "|" operator.
3108 (ruby-smie--closing-pipe-p): New function.
3109 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3110 (ruby-smie-rules): Indent after "|".
3111
f201cf3a
GM
31122013-11-12 Glenn Morris <rgm@gnu.org>
3113
3114 * ps-print.el (ps-face-attribute-list):
3115 Handle anonymous faces. (Bug#15827)
3116
e6f759f9
MR
31172013-11-12 Martin Rudalics <rudalics@gmx.at>
3118
3119 * window.el (display-buffer-other-frame): Fix doc-string.
3120 (Bug#15868)
3121
ecda65d4
SM
31222013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3123
3124 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3125
7ce8fcc3
MA
31262013-11-11 Michael Albinus <michael.albinus@gmx.de>
3127
3128 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3129 (tramp-sh-handle-file-local-copy): Don't write a message when
3130 saving temporary files.
3131
3132 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3133 both directories are remote.
3134 (tramp-smb-handle-directory-files): Do not return double entries.
3135 Do not expand full file names.
3136 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3137 (tramp-smb-handle-write-region): Implement APPEND.
3138 (tramp-smb-get-stat-capability): Fix a stupid bug.
3139
7818df11
SM
31402013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3141
3142 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3143
608c2085
NT
31442013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3145
3146 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3147 throwing error over malformed let/let* (bug#15814).
3148
122a7e46
SM
31492013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * iswitchb.el (iswitchb-mode): Mark obsolete.
3152
766284d9
GM
31532013-11-11 Glenn Morris <rgm@gnu.org>
3154
3155 * international/uni-bidi.el, international/uni-category.el:
3156 * international/uni-name.el, international/uni-numeric.el:
3157 Regenerate for Unicode 6.3.0.
3158
7072a4e9
MA
31592013-11-10 Michael Albinus <michael.albinus@gmx.de>
3160
3161 * net/tramp.el (tramp-methods):
3162 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3163 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3164
c9df215b
AS
31652013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3166
608c2085
NT
3167 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3168 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3169
fa47d796
DG
31702013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3171
3172 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3173 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3174 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3175 (ispell-complete-word): Call `ispell-lookup-words' with the value
3176 independent of `ispell-look-p'.
3177
1629a329
DG
31782013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3179
3180 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3181 Not after "||".
3182 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3183 their parent.
3184
ad16897c
SM
31852013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3186
3187 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3188 (ruby-font-lock-keywords): Use backquote.
3189
ffa2df72
DG
31902013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3191
3192 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3193 (ruby-smie--backward-token): Only consider full-string matches.
3194
5b97b4c0
JD
31952013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3196
3197 * faces.el (describe-face): Add distant-foreground.
3198
71731c03
BB
31992013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3200
4e9fc48c
BB
3201 * progmodes/ruby-mode.el: Improve encoding comment handling.
3202 (ruby-encoding-magic-comment-style): New option.
3203 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3204 (ruby--insert-coding-comment, ruby--detect-encoding):
3205 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3206 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3207 to control the style of the auto-inserted encoding comment.
71731c03 3208
da3b328d
DG
32092013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3210
ad16897c
SM
3211 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3212 Use `smie-backward-sexp' with token argument.
da3b328d 3213
1606c2d3
MA
32142013-11-08 Michael Albinus <michael.albinus@gmx.de>
3215
3216 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3217 Remove instrumentation code.
3218
b0f4c320
GM
32192013-11-08 Glenn Morris <rgm@gnu.org>
3220
3221 * progmodes/autoconf.el (autoconf-mode):
3222 Tweak comment-start-skip. (Bug#15822)
3223
43668fb1
SM
32242013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3227 at bobp (bug#15826).
3228 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3229
daddb3fd
DH
32302013-11-08 Darren Hoo <darren.hoo@gmail.com>
3231
3232 * man.el (Man-start-calling): New macro, extracted from
3233 Man-getpage-in-background.
3234 (Man-getpage-in-background): Use it.
3235 (Man-update-manpage): New command.
3236 (Man-mode-map): Bind it.
3237
1f923923
DG
32382013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3239
3240 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3241 of "and", "or", "&&" and "||".
3242 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3243 argument. Prohibit opening curly brace because it could only be a
3244 block opener in that position.
daddb3fd
DH
3245 (ruby-smie--forward-token, ruby-smie--backward-token):
3246 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3247 arguments.
3248 (ruby-smie--indent-to-stmt): New function, seeks the end of
3249 previous statement or beginning of buffer.
3250 (ruby-smie-rules): Use it.
3251 (ruby-smie-rules): Check if there's a ":" before a curly block
3252 opener candidate; if there is, it's a hash.
3253
3220d527
SM
32542013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3257 (cl--block-wrapper): Fix last accidental change.
3258
1eb1f9e0
MA
32592013-11-07 Michael Albinus <michael.albinus@gmx.de>
3260
3261 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3262 Instrument, in order to hunt failure on hydra.
3263
e6e4db3c
NT
32642013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3265
3266 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3267 malformed bindings form (bug#15814).
3268
b420ccfc
DG
32692013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3270
3271 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3272 "." compared to " @ ". This incidentally fixes some indentation
3273 examples with "do".
e6e4db3c 3274 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3275 (ruby-smie-grammar): New tokens: "and" and "or".
3276 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3277 Exclude "and" and "or". Remove "do" in order to work around token
3278 priorities.
3279 (ruby-smie-rules): Add all infix tokens. Handle the case of
3280 beginning-of-buffer.
b420ccfc 3281
6b4ac03e
GM
32822013-11-06 Glenn Morris <rgm@gnu.org>
3283
3284 * Makefile.in (setwins_almost, setwins_for_subdirs):
3285 Avoid accidental matches.
3286
5ca114d1
SM
32872013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3288
3289 * menu-bar.el (popup-menu): Use key-binding.
3290
f72552bd
EZ
32912013-11-06 Eli Zaretskii <eliz@gnu.org>
3292
3293 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3294 menus, support also the menus produced by minor modes.
3295 (Bug#15817)
3296
5d5c701e
LL
32972013-11-06 Leo Liu <sdl.web@gmail.com>
3298
3299 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3300 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3301
0a8b75e2
GM
33022013-11-06 Glenn Morris <rgm@gnu.org>
3303
3304 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3305 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3306 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3307
a35287ea
SM
33082013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3309
feca4e2d
SM
3310 * electric.el (electric-indent-just-newline): New command.
3311 (electric-indent-mode-map): New keymap.
3312 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3313 Re-add :group which weren't redundant.
3314
a35287ea
SM
3315 * electric.el (electric-indent-local-mode): New minor mode.
3316 (electric-indent-functions-without-reindent): New var.
3317 (electric-indent-post-self-insert-function): Use it.
3318 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3319
375761b2
EZ
33202013-11-05 Eli Zaretskii <eliz@gnu.org>
3321
9a6ad735
EZ
3322 * international/quail.el (quail-help): Be more explicit about the
3323 meaning of the labels shown on the keys. (Bug#15800)
3324
375761b2
EZ
3325 * startup.el (normal-top-level): Load the subdirs.el files before
3326 setting the locale environment. (Bug#15805)
3327
520a6e4a
SM
33282013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3329
0acfafef
SM
3330 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3331 via arguments so as to get the right ones (bug#15418).
3332
520a6e4a
SM
3333 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3334
15826261
MA
33352013-11-05 Michael Albinus <michael.albinus@gmx.de>
3336
3337 Fix problems found while writing a test suite.
3338
3339 * net/tramp-compat.el (tramp-compat-load): New defun.
3340 * net/tramp.el (tramp-handle-load): Use it.
3341
3342 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3343 "(numberp ok-if-already-exists)" correctly.
3344
d35f31a4
XF
33452013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3346
3347 * international/characters.el (glyphless-char-display-control):
3348 Add usage note.
3349
ae93bc74
BB
33502013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3351
520a6e4a
SM
3352 * progmodes/python.el (python-mode):
3353 * progmodes/scheme.el (scheme-mode):
3354 * progmodes/prolog.el (prolog-mode):
3355 * progmodes/ruby-mode.el (ruby-mode):
3356 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3357 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3358
0ade65b5
SM
33592013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3360
a0d5f7a4
SM
3361 * rect.el (rectangle--highlight-for-redisplay):
3362 * emacs-lisp/smie.el (smie--next-indent-change):
3363 Use buffer-chars-modified-tick.
3364
c93f3f5c
SM
3365 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3366
0ade65b5
SM
3367 * electric.el (electric-indent-post-self-insert-function):
3368 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3369
ef9dd188
HE
33702013-11-04 Helmut Eller <eller.helmut@gmail.com>
3371
3372 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3373
306e7308
NT
33742013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3375
3376 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3377 (bug#15786).
3378
e5afbcac
SM
33792013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3380
1d01ad41
SM
3381 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3382
e5afbcac
SM
3383 * progmodes/python.el: Fix up last change.
3384 (python-shell--save-temp-file): New function.
3385 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3386 `string' comes from the current buffer.
3387 (python-shell-send-string-no-output): Remove `msg' arg.
3388 (python--use-fake-loc): New var.
3389 (python-shell-buffer-substring): Obey it. Try to compensate for the
3390 extra coding line added by python-shell--save-temp-file.
3391 (python-shell-send-region): Use python-shell--save-temp-file and
3392 python-shell-send-file directly. Add `nomain' argument.
3393 (python-shell-send-buffer): Use python-shell-send-region.
3394 (python-electric-pair-string-delimiter): New function.
3395 (python-mode): Use it.
3396
d0065ff1
EZ
33972013-11-04 Eli Zaretskii <eliz@gnu.org>
3398
3399 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3400 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3401 environment and decoding all of the default-directory's to here
3402 from command-line.
3403 (command-line): Decode also argv[0].
3404
3405 * loadup.el: Error out if default-directory is a multibyte string
3406 when we are dumping.
3407
3408 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3409
7397c587
TZ
34102013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3411
3412 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3413 (package-menu--print-info, package-menu--archive-predicate):
3414 Add Archive column to package list.
7397c587 3415
b27cc9fc
MA
34162013-11-04 Michael Albinus <michael.albinus@gmx.de>
3417
3418 Fix problems found while writing a test suite.
3419
3420 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3421 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3422 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3423 to nil when running original file name handler. Otherwise,
3424 there are problems with constructs like "$$FOO".
3425
3426 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3427 for `localname'.
3428
d8c4f18a
BB
34292013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3430
7b530552
BB
3431 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3432
3433 * subr.el (version<, version<=, version=):
3434 Update docstrings with information for snapshot versions.
3435
d8c4f18a
BB
3436 * helpers.el: New library for misc helper functions.
3437 (hash-table-keys): New function returning a list of hash keys.
3438 (hash-table-values): New function returning a list of hash values.
3439
dca01b09
DG
34402013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3441
3442 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3443 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3444
0a749fa0
MN
34452013-11-04 Michal Nazarewicz <mina86@mina86.com>
3446
3447 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3448 checking whether point is after a 1-letter word.
3449
34502013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3451
3452 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3453 Don't infloop when expanding region over `multiline' syntax-type that
3454 begins a line (bug#15778).
3455
4aca7145
SM
34562013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3457
3458 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3459 Make it into a proper minor mode.
3460 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3461 (rectangle-mark-mode-map): New keymap.
3462 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3463
a0833f62
GM
34642013-11-04 Glenn Morris <rgm@gnu.org>
3465
3466 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3467
e61845c1
SM
34682013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3469
3470 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3471 (ruby-smie-rules): Use smie-rule-parent instead.
3472
3473 * emacs-lisp/smie.el (smie-rule-parent): Always call
3474 smie-indent-virtual rather than only for hanging tokens.
3475 (smie--next-indent-change): New helper command.
3476
62942f89
GM
34772013-11-03 Glenn Morris <rgm@gnu.org>
3478
3479 * Makefile.in (abs_srcdir): Remove.
3480 (emacs): Unset EMACSLOADPATH.
3481
b0b9e592
GM
34822013-11-02 Glenn Morris <rgm@gnu.org>
3483
18ba6a33 3484 * Makefile.in (EMACS): Use a relative filename.
8061810d 3485 (abs_top_builddir): Remove.
18ba6a33
GM
3486 (custom-deps, finder-data, autoloads): Use --chdir.
3487
6a8b929e
GM
3488 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3489
c617f3d0
GM
3490 Use relative filenames in TAGS files.
3491 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3492 (lisptagsfiles4, TAGS): Use relative file names.
3493 (TAGS-LISP): Remove.
3494 (maintainer-clean): No more TAGS-LISP file.
3495
b0b9e592
GM
3496 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3497 (lisptagsfiles4): Use absolute filenames again.
3498 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3499 Remove all *loaddefs files, not just the first. Remove esh-groups.
3500 (maintainer-clean): Delete TAGS, TAGS-LISP.
3501
d1c0ea6a
BB
35022013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3503
e61845c1
SM
3504 * emacs-lisp/package.el (package-version-join):
3505 Recognize snapshot versions.
d1c0ea6a 3506
684d71c6
BB
35072013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3508
3509 * subr.el (version-regexp-alist): Add support for snapshot versions.
3510
3d42b968
DG
35112013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3512
e61845c1
SM
3513 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3514 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3515 skip over our direct parent if it's an assignment token..
3516 (ruby-smie-rules): Use it.
3517
7ffd3721
DG
35182013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3519
8449dd1f 3520 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3521 unconditionally. Remove now unnecessary forward declarations.
3522 Remove XEmacs-specific setup.
3523 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3524 (ruby-font-lock-syntactic-keywords)
3525 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3526 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3527 (ruby-here-doc-end-syntax): Remove.
3528 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3529 defined as function.
3530
a3996a2e
BB
35312013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3532
3533 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3534
6f9260e8
BB
35352013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3536
3537 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3538 table and abbrev table, `define-derived-mode' does that for us
3539 anyway.
3540
6014de84
GM
35412013-11-01 Glenn Morris <rgm@gnu.org>
3542
3543 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3544 files is atomic for some time, so no parallel compilation issues).
3545
3c334c14
JD
35462013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3547
3548 * faces.el (face-x-resources): Add :distant-foreground.
3549 (region): Use :distant-foreground for gtk and ns.
3550
9bc236c8
TH
35512013-11-01 Tassilo Horn <tsdh@gnu.org>
3552
5246583b 3553 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3554 BibTeX.
3555 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3556 (reftex-locate-bibliography-files): Us it.
3557
d14c81ee
CB
35582013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3559
0e7690de
CB
3560 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3561 allow comments in pbm files.
3562
d14c81ee
CB
3563 * term/w32-win.el (dynamic-library-alist): Support newer versions
3564 of libjpeg starting with v7: look only for the DLL from the
3565 version against which Emacs was built.
ac1bf374 3566 Support versions of libpng beyond 1.4.x.
019c8218 3567 Support libtiff v4.x.
d14c81ee 3568
983d0df5
BB
35692013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3570
3571 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3572 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3573 Add property :safe.
3574 (ruby-deep-arglist): Add property :type.
3575
47f58d85
GM
35762013-10-31 Glenn Morris <rgm@gnu.org>
3577
3578 * Makefile.in (custom-deps, finder-data): No need to setq the target
3579 variables, we are in the right directory and the defaults work fine.
3580
4f85b479
GM
35812013-10-30 Glenn Morris <rgm@gnu.org>
3582
ca7dd4cd
GM
3583 * Makefile.in (autoloads): Do not use abs_lisp.
3584
4f85b479
GM
3585 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3586 `newline' does not respect `standard-output', so use `princ'.
3587
cf59e41c
AA
35882013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3589
3590 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3591 * buff-menu.el (Buffer-menu--unmark): New function.
3592 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3593
74cf04fb
GM
35942013-10-30 Glenn Morris <rgm@gnu.org>
3595
b040b60e
GM
3596 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3597
f53d3815
GM
3598 * emacs-lisp/package.el (lm-homepage): Declare.
3599
5413d873
GM
3600 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3601 Fix doc typos.
3602
cecedb36
GM
3603 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3604
74cf04fb
GM
3605 * Makefile.in (finder-data, autoloads, update-subdirs)
3606 (compile-main, compile-clean, compile-always, bootstrap-clean):
3607 Check return value of cd.
3608 (compile-calc): Remove.
3609
195ee2f0
SM
36102013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3611
ae4002ce
SM
3612 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3613
3614 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3615 (byte-compile-and-folded): New function.
3616 (=, <, >, <=, >=): Use it.
3617
3618 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3619 (path-separator, null-device, buffer-file-coding-system)
3620 (lpr-headers-switches): Check system-type before modifying them.
3621 (find-buffer-file-type-coding-system): Mark obsolete.
3622 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3623 find-file-not-found-set-buffer-file-coding-system.
3624 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3625 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3626 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3627 (w32-direct-print-region-helper, w32-direct-print-region-function)
3628 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3629 * startup.el (normal-top-level-add-subdirs-to-load-path):
3630 * ps-print.el (ps-print-region-function):
3631 * lpr.el (print-region-function): Use new name.
3632
53b39e89
SM
3633 * subr.el (custom-declare-variable-early): Remove function.
3634 (custom-declare-variable-list): Remove var.
3635 (error, user-error): Remove `while' loop.
3636 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3637 (user-emacs-directory-warning, locate-user-emacs-file):
3638 Move to files.el.
3639 * simple.el (read-quoted-char-radix, read-quoted-char):
3640 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3641 Move from subr.el.
3642 * custom.el (custom-declare-variable-list): Don't process
3643 custom-declare-variable-list.
3644
195ee2f0
SM
3645 * progmodes/python.el (python-shell-get-buffer): New function.
3646 (python-shell-get-process): Use it.
3647 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3648 Python which encoding was used. Don't split-string since we only care
3649 about the first line. Return the temp-file, if applicable.
3650 (python-shell-send-region): Tell compile.el how to turn locations in
3651 the temp-file into locations in the source buffer.
3652
7e3561ee
SM
36532013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3654
4c9797cb
SM
3655 * subr.el (undefined): Add missing behavior from the C code for
3656 unbound keys.
3657
3472b6c6
SM
3658 * rect.el: Use lexical-binding. Add new rectangular region support.
3659 (rectangle-mark): New command.
3660 (rectangle--region): New var.
3661 (deactivate-mark-hook): Reset rectangle--region.
3662 (rectangle--extract-region, rectangle--insert-for-yank)
3663 (rectangle--highlight-for-redisplay)
3664 (rectangle--unhighlight-for-redisplay): New functions.
3665 (region-extract-function, redisplay-unhighlight-region-function)
3666 (redisplay-highlight-region-function): Use them to handle
3667 rectangular region.
3668 * simple.el (region-extract-function): New var.
3669 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3670 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3671 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3672 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3673 (redisplay-unhighlight-region-function)
3674 (redisplay-highlight-region-function): New vars.
3675 (redisplay--update-region-highlight): New function.
3676 (pre-redisplay-function): Use it.
3677 (exchange-point-and-mark): Don't deactivate the mark before
3678 reactivate-it anyway.
3679 * comint.el (comint-kill-region): Remove yank-handler argument.
3680 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3681 (delete-char): Remove property, since it's now part of their
3682 default behavior.
3683 (self-insert-iso): Remove property since this command doesn't exist.
3684
7e3561ee
SM
3685 * emacs-lisp/package.el (package--download-one-archive)
3686 (describe-package-1): Don't query the user about final newline.
3687
b9bef71f
DC
36882013-10-29 Daniel Colascione <dancol@dancol.org>
3689
3690 * net/tramp.el (tramp-methods): Document new functionality.
3691 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3692 tramp-hostname-checker if method provides one instead of scanning
3693 argument list for "%h" to decide hostname acceptability.
3694
4efc33f0
MA
36952013-10-28 Michael Albinus <michael.albinus@gmx.de>
3696
3697 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3698 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3699 Handle COPY-CONTENTS. (Bug#15737)
3700
ed42a877
DU
37012013-10-28 Daiki Ueno <ueno@gnu.org>
3702
3703 * epa-file.el
7e3561ee
SM
3704 (epa-file-cache-passphrase-for-symmetric-encryption):
3705 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3706
18c9f8a2
XF
37072013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3708
7a4bc7be
XF
3709 * image.el (defimage):
3710 (image-load-path): Doc fixes.
18c9f8a2 3711
b1e8e010
AM
37122013-10-27 Alan Mackenzie <acm@muc.de>
3713
3714 Indent statements in macros following "##" correctly.
7e3561ee
SM
3715 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3716 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3717
73d40d1e 37182013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3719
3720 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3721
c8c605ac
DG
37222013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3723
3724 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3725 after `=' is probably a new expression.
3726
ca7e59d4
RS
37272013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3728
3729 * man.el (man-imenu-title): New option.
3730 (Man-mode-map): Add menu. (Bug#15722)
3731 (Man-mode): Add imenu to menu.
3732
bae91342
DG
37332013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3734
3735 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3736 specific in what the first arg can be: a non-keyword word,
3737 string/regexp/percent literal opener, opening paren, or unary
3738 operator followed directly by word.
3739
eb89dc14
SM
37402013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3741
3742 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3743 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3744 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3745 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3746 Remove vars, they do not apply any more.
3747 (prolog-mode-abbrev-table): Remove redundant declaration.
3748 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3749 (prolog-use-smie): Remove.
3750 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3751 supported by prolog-electric-if-then-else-flag.
3752 (prolog-mode-variables, prolog-menu): Use setq-local.
3753 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3754 Remove binding to `Backspace' since this key doesn't exist anyway.
3755 Remove bindings for electric self-inserting keys.
3756 (prog-mode): Assume it's defined.
3757 (prolog-post-self-insert): New function.
3758 (prolog-mode): Use it.
3759 (prolog-indent-line, prolog-indent-level)
3760 (prolog-find-indent-of-matching-paren)
3761 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3762 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3763 (prolog-goto-next-paren, prolog-in-string-or-comment)
3764 (prolog-tokenize, prolog-inside-mline-comment)
3765 (prolog-find-start-of-mline-comment): Remove functions.
3766 (prolog-find-unmatched-paren, prolog-clause-end)
3767 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3768 (prolog-electric--if-then-else): Rename from
3769 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3770 (prolog-tokenize-searchkey): Remove const.
3771 (prolog-clause-info): Use forward-sexp.
3772 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3773 (prolog-electric-if-then-else): Remove commands.
3774 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3775 for use in post-self-insert-hook.
3776 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3777 for use in post-self-insert-hook.
3778 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3779 for use in post-self-insert-hook.
3780 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3781 adapt it for use in post-self-insert-hook.
3782
3dab0a83
MA
37832013-10-25 Michael Albinus <michael.albinus@gmx.de>
3784
3785 * emacs-lisp/ert.el (ert-run-tests-interactively):
3786 Use `completing-read'. (Bug#9756)
3787
fbfd0e1d
EZ
37882013-10-25 Eli Zaretskii <eliz@gnu.org>
3789
3790 * simple.el (line-move): Call line-move-1 instead of
3791 line-move-visual when the current window hscroll is zero, but
3792 temporary-goal-column indicates we will need to hscroll as result
3793 of the movement. (Bug#15712)
3794
963ce636
DG
37952013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3796
3797 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3798 capitalization. Use :visible instead of :active.
3799 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3800 commands that are used with SMIE.
3801 (ruby-do-end-to-brace): Insert space after `{'.
3802
a0be396a
JA
38032013-10-25 John Anthony <john@jo.hnanthony.com>
3804
f73754c9
JA
3805 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3806
3807 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3808
f5bf77df
GM
38092013-10-25 Glenn Morris <rgm@gnu.org>
3810
3811 * vc/vc.el (vc-print-log): Don't use a working revision unless
3812 one was explicitly specified. (Bug#15322)
3813
37241f62
SM
38142013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3815
3816 * subr.el (add-to-list): Preserve return value in compiler-macro
3817 (bug#15692).
3818
6408a65d
RS
38192013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3820
3821 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3822 result. Ask user to retry using '-all' flag. (Bug#15701)
3823
71e3276b
SM
38242013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3825
3826 * emacs-lisp/smie.el: New smie-config system.
3827 (smie-config): New defcustom.
3828 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3829 (smie-config-guess, smie-config-save): New commands.
3830 (smie-config--mode-local, smie-config--buffer-local)
3831 (smie-config--trace, smie-config--modefuns): New vars.
3832 (smie-config--advice, smie-config--mode-hook)
3833 (smie-config--setter, smie-config-local, smie-config--get-trace)
3834 (smie-config--guess-value, smie-config--guess): New functions.
3835 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3836 text properties. Treat "string fence" syntax like string syntax.
3837
3838 * progmodes/sh-script.el (sh-use-smie): Change default.
3839 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3840 (sh-var-value): Simplify by CSE.
3841 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3842 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3843 is used.
3844 (sh-guess-basic-offset): Use cl-incf.
3845 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3846
60db713e
HE
38472013-10-24 Helmut Eller <eller.helmut@gmail.com>
3848
3849 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3850 (bug#15699).
3851
8b251df6
GM
38522013-10-24 Glenn Morris <rgm@gnu.org>
3853
3854 * Makefile.in (abs_top_srcdir): Remove.
3855 (update-subdirs): Use relative path to update-subdirs.
3856
6be0e22b
EZ
38572013-10-24 Eli Zaretskii <eliz@gnu.org>
3858
3859 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3860 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3861 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3862 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3863
50b5b857
MA
38642013-10-24 Michael Albinus <michael.albinus@gmx.de>
3865
3866 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3867 (ert-test-skipped): New error.
3868 (ert-skip, ert-stats-skipped): New defuns.
3869 (ert--skip-unless): New macro.
3870 (ert-test-skipped): New struct.
3871 (ert--run-test-debugger, ert-test-result-type-p)
3872 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3873 (ert--stats-set-test-and-result, ert-char-for-test-result)
3874 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3875 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3876 Handle skipped tests. (Bug#9803)
50b5b857 3877
6f317c2f
GM
38782013-10-24 Glenn Morris <rgm@gnu.org>
3879
e43817c1
GM
3880 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3881
6f317c2f
GM
3882 * Makefile.in (abs_top_srcdir): New, set by configure.
3883 (update-subdirs): Correct build-aux location.
3884
369bbf71
DG
38852013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3886
8297b2cf
DG
3887 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3888 value, whether we could auto-deduce `backend', or not.
3889
369bbf71
DG
3890 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3891 with parameters" example. Simplify the "is it block or is it
3892 hash" check, but also make it more thorough.
3893
d5f1282f
MF
38942013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3895
3896 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3897
bc4aaa31
SM
38982013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3899
03d44565
SM
3900 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3901 { if it is hanging.
3902
bc4aaa31
SM
3903 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3904 :before ";".
3905
f493ff19
JB
39062013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3907
3908 * progmodes/compile.el (compilation-directory-matcher)
3909 (compilation-page-delimiter):
3910 Support GNU Make-4.0 directory quoting. (Bug#15678)
3911
c744a3b9
LL
39122013-10-23 Leo Liu <sdl.web@gmail.com>
3913
3914 * ido.el (ido-tidy): Handle read-only text.
3915
b8e3b0a9
GM
39162013-10-23 Glenn Morris <rgm@gnu.org>
3917
3918 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3919 (emacs, compile, compile-always):
3920 Quote entities that might contain whitespace.
3921 (custom-deps, finder-data, autoloads): Use abs_lisp.
3922 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3923 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3924 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3925
ee4282cd
DG
39262013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3927
bc4aaa31
SM
3928 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3929 Use `following-char'.
7790a270 3930
ee4282cd 39312013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3932
3933 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3934 * progmodes/ruby-mode.el (ruby-smie-rules):
3935 Remove corresponding workaround. Fix indentation rule of ";" so it
3936 also applies when ";" is the parent.
3937
d40a46d7
XF
39382013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3939
3940 * frame.el (display-screens, display-pixel-height)
3941 (display-pixel-width, display-mm-width, display-backing-store)
3942 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3943 (display-visual-class, display-monitor-attributes-list):
3944 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3945
a0f143c9
MG
39462013-10-22 Michael Gauland <mikelygee@amuri.net>
3947
3948 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3949 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3950
18cacc39
DG
39512013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3952
3953 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3954 TODO. Add "." after " @ ".
3955 (ruby-smie--at-dot-call): New function. Checks if point at method
3956 call with explicit target.
3957 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3958 to the method name tokens when it precedes them.
3959 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3960 (ruby-smie-rules): Add rule for indentation before and after "."
3961 token.
3962
df74c4be
SM
39632013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3964
c6dab55f
SM
3965 * textmodes/remember.el (remember-diary-extract-entries):
3966 Avoid add-to-list.
3967
df74c4be
SM
3968 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3969 an instruction.
3970
8c1ae481
DG
39712013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3972
e9dc713d
JB
3973 * progmodes/ruby-mode.el (ruby-smie-grammar):
3974 Add (almost) all infix operators.
cfef16c0
DG
3975 (ruby-smie--implicit-semi-p): Add new operator chars.
3976
8c1ae481
DG
3977 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3978 `smie-down-list'.
3979 (ruby-smie--args-separator-p): Check that there's no newline
3980 between method call and its arguments.
3981
87756ca9
AM
39822013-10-20 Alan Mackenzie <acm@muc.de>
3983
3984 Allow comma separated lists after Java "implements".
3985
df74c4be
SM
3986 * progmodes/cc-engine.el (c-backward-over-enum-header):
3987 Parse commas.
87756ca9
AM
3988 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3989 from a "disallowed" list in enum fontification.
3990
c25f8957
JB
39912013-10-20 Johan Bockgård <bojohan@gnu.org>
3992
df74c4be 3993 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3994
c25f8957
JB
3995 * progmodes/verilog-mode.el (verilog-mode): Don't set
3996 comment-indent-function globally.
3997
aca5fcdc
JD
39982013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3999
5f161884
JD
4000 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4001 Move Info menu item creation to ns-win.el.
4002
4003 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4004 in menu bar.
4005
a6c4680a 4006 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
4007
4008 * term/ns-win.el (ns-initialize-window-system): ... to here.
4009
914b7f98
SM
40102013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4011
4012 * simple.el (newline): Only run post-self-insert-hook when
4013 called interactively.
4014
846ffe77
JB
40152013-10-19 Johan Bockgård <bojohan@gnu.org>
4016
4017 * icomplete.el (icomplete-with-completion-tables): Add :version.
4018
033f22dd
AM
40192013-10-19 Alan Mackenzie <acm@muc.de>
4020
4021 Fix fontification bugs with constructors and const.
4022
4023 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4024 CASE 2) Remove the check for the absence of a suffix construct
4025 after a function declaration with only types (no identifiers) in
4026 the parentheses. Also, accept a function declaration with just a
4027 type inside the parentheses, if this type can be positively
4028 recognised as such, or if a prefix keyword like "explicit" nails
4029 down the construct as a declaration.
4030
58ce0cfc
EZ
40312013-10-19 Eli Zaretskii <eliz@gnu.org>
4032
4033 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4034 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4035 the problem whereby selecting a menu item that leads to a
4036 minibuffer prompt moves the cursor out of the minibuffer window,
4037 making it hard to type at the prompt. Suggested by Stefan Monnier
4038 <monnier@iro.umontreal.ca>.
4039
50e28e7d
JD
40402013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4041
4042 * menu-bar.el: Don't make Services menu.
4043
7deed4bf
RS
40442013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4045
4046 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4047 (ffap-alist): Use ffap-c++-mode for c++-mode.
4048 (ffap-c++-path): New variable.
4049 (ffap-c++-mode): New function.
4050
7bcb455b
JVJ
40512013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4052
4053 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4054
f0ff1cd5
MA
40552013-10-18 Michael Albinus <michael.albinus@gmx.de>
4056
4057 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4058 introduced on 2013-09-08, which results in an infinite loop
4059 requesting a password.
4060
d64da4b7
GM
40612013-10-18 Glenn Morris <rgm@gnu.org>
4062
4063 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4064
ea89ff08
WS
40652013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4066
4067 Sync with upstream verilog-mode revision 1a6ecec7.
4068 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4069 (verilog-mode-release-date): Remove.
4070 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4071 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4072 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4073 (verilog-auto-tieoff-ignore-regexp)
4074 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4075 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4076 (verilog-signals-with, verilog-dir-cache-preserving)
4077 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4078 Doc fixes.
4079 (verilog-case-fold): New option, to control case folding in
4080 regexp searches, bug597.
4081 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4082 (verilog-string-match-fold, verilog-in-paren-count)
4083 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4084 (verilog-at-close-struct-p): New functions.
4085 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4086 (verilog-forward-sexp, verilog-set-auto-endcomments):
4087 (verilog-leap-to-case-head): Handle "unique0" case.
4088 (verilog-in-constraint-re): New constant.
4089 (verilog-keywords, verilog-type-font-keywords):
4090 Add some SystemVerilog 1800-2012 keywords.
4091 (verilog-label-be): Remove unimplemented argument, bug669.
4092 (verilog-batch-execute-func): When batch expanding clear
4093 create-lockfiles to prevent spurious user locks when a file ends
4094 up not changing.
4095 (verilog-calculate-indent, verilog-calc-1)
4096 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4097 (verilog-do-indent): Fix indentation of nested constraints
4098 and structures.
4099 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4100 (verilog-auto-inst-param): Use verilog-string-match-fold.
4101 (verilog-read-inst-module-matcher):
4102 Fix AUTOINST on gate primitives with #1.
4103 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4104 Reads all user-defined typed variables.
4105 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4106 (verilog-signals-matching-regexp)
4107 (verilog-signals-not-matching-regexp, verilog-auto):
4108 Respect verilog-case-fold.
4109 (verilog-diff-report): Fix line count.
4110 (verilog-auto-assign-modport): Remove unused local `modi'.
4111 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4112 better handle multidimensional arrays.
4113 Fix packed array ports misadding bit index in AUTOINST, bug637.
4114 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4115 to not double-declare existing outputs and inputs, respectively.
4116 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4117 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4118 (verilog-sk-uvm-component): New skeleton.
4119 (verilog-submit-bug-report): Add verilog-case-fold,
4120 remove verilog-mode-release-date.
4121
ef566920
BR
41222013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4123
a12bf61e 4124 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4125 as before.
4126
29df8a0b
RT
41272013-10-18 Reuben Thomas <rrt@sc3d.org>
4128
e0eb0550 4129 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4130 remember buffers (bug#13566).
4131
04a19a79
DC
41322013-10-18 Daniel Colascione <dancol@dancol.org>
4133
4134 When evaluating forms in ielm, direct standard output to ielm
4135 buffer. Add new ielm-return-for-effect command. Remove trailing
4136 whitespace throughout.
4137
4138 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4139 (ielm-return-for-effect): New command.
4140 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4141 (ielm-eval-input): Accept optional `for-effect' parameter.
4142 Bind `standard-output' to stream we create using
04a19a79
DC
4143 `ielm-standard-output-impl'. Suppress printing result when
4144 `for-effect'.
4145 (ielm-standard-output-impl): New function.
4146 (inferior-emacs-lisp-mode): Explain new features in documentation.
4147
4c1f03ef
MA
41482013-10-17 Michael Albinus <michael.albinus@gmx.de>
4149
4150 Code cleanup.
4151
4152 * net/tramp.el (tramp-debug-message): Do not check for connection
4153 buffer.
4154 (tramp-message): Use "vector" connection property.
4155
4156 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4157 (tramp-equal-remote, tramp-eshell-directory-change)
4158 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4159 (tramp-adb-handle-rename-file)
4160 * net/tramp-cmds.el (tramp-list-remote-buffers)
4161 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4162 * net/tramp-compat.el (tramp-compat-process-running-p)
4163 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4164 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4165 (tramp-gvfs-handle-rename-file)
4166 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4167 (tramp-set-file-uid-gid)
4168 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4169 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4170 of `file-remote-p'.
4171
4172 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4173 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4174 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4175 (tramp-gw-open-network-stream): Suppress unrelated traces.
4176
4177 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4178 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4179 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4180 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4181 connection property.
4182
4183 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4184 persistency file.
4c1f03ef
MA
4185
4186 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4187 Refactor common code. Improve debug message.
4188 (tramp-maybe-open-connection)
4189 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4190 connection buffer too early.
4191
4192 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4193 from `tramp-smb-actions-with-acl'.
4194 (tramp-smb-actions-set-acl): New defconst.
4195 (tramp-smb-handle-copy-directory)
4196 (tramp-smb-action-get-acl): New defun, renamed from
4197 `tramp-smb-action-with-acl'.
4198 (tramp-smb-action-set-acl): New defun.
4199 (tramp-smb-handle-set-file-acl): Rewrite.
4200
642eb8b6
GM
42012013-10-17 Glenn Morris <rgm@gnu.org>
4202
4203 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4204
85527ff3
SM
42052013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4206
921c1d62
SM
4207 * skeleton.el (skeleton-newline): Remove.
4208 (skeleton-internal-1): Use (insert "\n") instead.
4209
e333fb10
SM
4210 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4211 let-bindings.
4212
85527ff3
SM
4213 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4214 forward-sexp-function while we redo its job (bug#15613).
4215
c8722a97
JB
42162013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4217
4218 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4219 represented by lists.
4220
7a550bbb
GM
42212013-10-16 Glenn Morris <rgm@gnu.org>
4222
4223 * tmm.el (tmm--history): New dynamic variable.
4224 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4225
f19da8ad
MA
42262013-10-16 Michael Albinus <michael.albinus@gmx.de>
4227
4228 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4229 (tramp-smb-errors): Add error messages.
4230 (tramp-smb-actions-with-acl): New defconst.
4231 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4232 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4233 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4234 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4235 (tramp-smb-get-stat-capability): Fix tests.
4236
a24b9961
DK
42372013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4238
4239 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4240 (bug#15580).
4241
62ad85e6
GM
42422013-10-16 Glenn Morris <rgm@gnu.org>
4243
0283d6b0
GM
4244 * ansi-color.el (ansi-color-drop-regexp):
4245 Add 1J, 1K, 2K. (Bug#15617)
4246
012e2f9f
GM
4247 * files.el (hack-local-variables--warned-lexical): New.
4248 (hack-local-variables):
4249 Warn about misplaced lexical-binding. (Bug#15616)
4250
62ad85e6
GM
4251 * net/eww.el (eww-render): Always set eww-current-url,
4252 and update header line. (Bug#15622)
4253 (eww-display-html): ... Rather than just doing it here.
4254
6456c0ea
EZ
42552013-10-15 Eli Zaretskii <eliz@gnu.org>
4256
4257 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4258 menu navigations commands.
4259
c2de5588
DK
42602013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4261
4262 * progmodes/subword.el (subword-capitalize): Be careful when
4263 the search for [[:alpha:]] fails (bug#15580).
4264
ccd4a783
EZ
42652013-10-14 Eli Zaretskii <eliz@gnu.org>
4266
4267 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4268 to commands that scroll the menu.
4269
1eda1d8d
DG
42702013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4271
c2de5588
DK
4272 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4273 Handle methods ending with `?' and `!'.
1eda1d8d 4274
e70181b8
AM
42752013-10-14 Akinori MUSHA <knu@iDaemons.org>
4276
4277 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4278 `japanese-cp932' to `cp932' to fix the problem where saving a
4279 source file written in Shift_JIS twice would end up having
4280 `coding: japanese-cp932' which Ruby could not recognize.
4281 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4282 in `ruby-encoding-map'.
4283 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4284 doesn't need to be explicitly declared in magic comment.
4285 (ruby-encoding-map): Add type declaration for better customize UI.
4286
9148ee92
GM
42872013-10-13 Glenn Morris <rgm@gnu.org>
4288
a5d38e34
GM
4289 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4290 Occur buffers are read-only. http://bugs.debian.org/720775
4291
9148ee92
GM
4292 * emacs-lisp/authors.el (authors-fixed-entries):
4293 Comment out old alpha stuff.
4294
a9ba094b
DG
42952013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4296
4297 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4298 to `after-save-hook' instead of `before-save-hook'.
4299 (ruby-mode-set-encoding): Use the value of coding system used to
4300 write the file. Call `basic-save-buffer-1' after modifying the
4301 buffer.
4302
7a068717
AM
43032013-10-13 Alan Mackenzie <acm@muc.de>
4304
4305 Fix indentation/fontification of Java enum with
4306 "implements"/generic.
4307
c2de5588
DK
4308 * progmodes/cc-engine.el (c-backward-over-enum-header):
4309 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4310 (c-inside-bracelist-p): Uses new function above.
4311 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4312 function above.
4313 (c-font-lock-enum-tail): Uses new function above.
4314
85b64f02
KH
43152013-10-13 Kenichi Handa <handa@gnu.org>
4316
4317 * international/mule-cmds.el (select-safe-coding-system): Remove a
4318 superfluous condition in chekcing whether a coding system is safe
4319 or not.
4320
fc7f501b
OK
43212013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4322
4323 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4324
fdcb2049
AP
43252013-10-13 Andreas Politz <politza@hochschule-trier.de>
4326
4327 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4328
8c106d17
GM
43292013-10-13 Glenn Morris <rgm@gnu.org>
4330
feab892d
GM
4331 * menu-bar.el (menu-bar-update-buffers):
4332 Unify Buffers menu prompt string. (Bug#15576)
4333
b22d0686
GM
4334 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4335
8c106d17
GM
4336 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4337 Add some entries.
4338 (authors-fixed-entries): Use accented form of name.
4339
1b12c797
SM
43402013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4341
650fa7bf 4342 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4343 method calls (bug#15594).
650fa7bf
SM
4344 (ruby-smie--args-separator-p): New function.
4345 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4346 recognize paren-free method calls.
4347
1b12c797
SM
4348 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4349 internals of universal-argument.
4350
029619c8
EZ
43512013-10-11 Eli Zaretskii <eliz@gnu.org>
4352
4353 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4354 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4355 dropped menu on second mouse click on the menu bar.
029619c8 4356
dd070019
SM
43572013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4358
4359 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4360 (explicit-shell-file-name): Declare.
4361 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4362 (sh-completion-at-point-function): New function.
4363 (sh-mode): Use it.
4364 (sh-smie--keyword-p): Remove unused argument.
4365 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4366 vars.
4367 (sh-set-shell): Always setup SMIE, even if we use the
4368 old indentation code.
4369
0922b826
DG
43702013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4371
b68e2926
DG
4372 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4373 cases of ? and =.
4374 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4375 predicate would return nil are almost non-existent.
4376 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4377
0922b826
DG
4378 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4379 cache also after commands that modify the buffer but don't move
4380 point.
4381
ee041f2d
SM
43822013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4383
4384 * env.el (substitute-env-in-file-name): New function.
4385 (substitute-env-vars): Extend the meaning of the optional arg.
4386
a5dab159
EZ
43872013-10-10 Eli Zaretskii <eliz@gnu.org>
4388
4389 * term/w32-win.el (dynamic-library-alist): Define separate lists
4390 of GIF DLLs for versions before and after 5.0.0 of giflib.
4391 (Bug#15531)
4392
0449d6cd 43932013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4394
4395 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4396 not locked, use last revision and current source as
4397 defaults. (Bug#15569)
4398
2f6e161e
MY
43992013-10-10 Masatake YAMATO <yamato@redhat.com>
4400
4401 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4402 menu-bar is hidden.
4403
6c8413fc
MR
44042013-10-10 Martin Rudalics <rudalics@gmx.at>
4405
4406 * window.el (pop-to-buffer-same-window): Fix doc-string.
4407 (Bug#15492)
4408
20832de0
SM
44092013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4410
4411 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4412
c6e8ae77
AC
44132013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4414
4415 * calendar/icalendar.el (icalendar-import-file):
4416 Fix interactive spec. (Bug#15482)
4417
9db13baf
GM
44182013-10-10 Glenn Morris <rgm@gnu.org>
4419
9271e90e
GM
4420 * desktop.el (desktop-save): Default to saving in .emacs.d,
4421 since PWD is no longer in desktop-path by default. (Bug#15319)
4422
9db13baf
GM
4423 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4424 now that text mode has a menu with the same entry.
4425 (menu-bar-text-mode-auto-fill): Remove now unused func.
4426 * textmodes/text-mode.el (text-mode-map):
4427 Use auto-fill help text from menu-bar.el.
4428
a0be396a 44292013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4430
4431 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4432
2edcd3c7
JL
44332013-10-09 Juri Linkov <juri@jurta.org>
4434
4435 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4436 instead of this-command-keys. Add universal-argument-more and
4437 universal-argument-minus to the list of prefix commands. (Bug#15568)
4438
574411d0
GM
44392013-10-09 Glenn Morris <rgm@gnu.org>
4440
14afa541
GM
4441 * vc/vc-svn.el (vc-svn-create-repo):
4442 Expand paths in file://... url. (Bug#15446)
4443
574411d0
GM
4444 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4445 Add some entries.
4446 (authors): Remove unused local variables.
4447
79804536
SM
44482013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4449
4450 * profiler.el: Create a more coherent calltree from partial backtraces.
4451 (profiler-format): Hide the tail with `invisible' so that C-s can still
4452 find the hidden elements.
4453 (profiler-calltree-depth): Don't recurse so enthusiastically.
4454 (profiler-function-equal): New hash-table-test.
4455 (profiler-calltree-build-unified): New function.
4456 (profiler-calltree-build): Use it.
4457 (profiler-report-make-name-part): Indent the calltree less.
4458 (profiler-report-mode): Add visibility specs for profiler-format.
4459 (profiler-report-expand-entry, profiler-report-toggle-entry):
4460 Expand the whole subtree when provided with a prefix arg.
4461
238150c8
DG
44622013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4463
4464 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4465 iuwu-mod token.
4466 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4467 hanging iuwu-mod token.
4468 (ruby-smie--forward-token): Do not include a dot after a token in
4469 that token.
4470 (ruby-smie--backward-token): Likewise.
4471
b0949cc4
JL
44722013-10-08 Juri Linkov <juri@jurta.org>
4473
4474 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4475 to isearch-other-control-char.
4476 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4477 and isearch-post-command-hook to post-command-hook.
4478 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4479 and isearch-post-command-hook from post-command-hook.
4480 (isearch-unread-key-sequence)
4481 (isearch-reread-key-sequence-naturally)
4482 (isearch-lookup-scroll-key, isearch-other-control-char)
4483 (isearch-other-meta-char): Remove functions.
4484 (isearch-pre-command-hook, isearch-post-command-hook):
4485 New functions based on isearch-other-meta-char rewritten
4486 relying on the new behavior of overriding-terminal-local-map
4487 that does not replace the local keymaps any more. (Bug#15200)
4488
4ed77415
EZ
44892013-10-08 Eli Zaretskii <eliz@gnu.org>
4490
4491 Support menus on text-mode terminals.
4492 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4493 functionality.
4494
4495 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4496
c2de5588
DK
4497 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4498 Move here from mouse.el.
4ed77415
EZ
4499 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4500 and arrow keys.
4501 (tty-menu-navigation-map): New map for TTY menu navigation.
4502
4503 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4504
4505 * frame.el (display-mouse-p): Report text-mode mouse as available
4506 on w32.
4507 (display-popup-menus-p): Report availability if mouse is
4508 available; don't condition on window-system.
4509
4510 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4511 (tty-menu-selected-face): New faces.
4512
b7d5bd82
TL
45132013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4514
06286513
SM
4515 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4516 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4517 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4518 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4519 New constants.
4520 (lisp-mode-variables): New `elisp' argument.
4521 (emacs-lisp-mode): Use it.
4522 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4523 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4524
b7d5bd82
TL
4525 * indent.el: Use lexical-binding.
4526 (indent-region): Add progress reporter.
4527 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4528 last step.
4529 (indent--next-tab-stop): New function to implement this behavior.
4530 (tab-to-tab-stop, move-to-tab-stop): Use it.
4531
45322013-10-08 Teemu Likonen <tlikonen@iki.fi>
4533
4534 * indent.el (indent-rigidly--current-indentation): New function.
4535 (indent-rigidly-map): New var.
4536 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4537
5ea75d23
BG
45382013-10-08 Bastien Guerry <bzg@gnu.org>
4539
f2726fa2 4540 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 4541
cc5da1ec
SM
45422013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4543
8ffa1a0b
SM
4544 * progmodes/perl-mode.el: Use lexical-binding.
4545 Remove redundant :group args.
4546 (perl-nochange): Change default to be closer to other major modes's
4547 standard behavior.
4548 (perl-indent-line): Don't consider text on current line as a
4549 valid beginning of function from which to indent.
4550
f2223371
SM
4551 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4552 with more than one argument (bug#15538).
4553
44256060
SM
4554 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4555
cc5da1ec
SM
4556 * vc/pcvs.el: Use lexical-binding.
4557 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4558 environment of `eval'.
4559 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4560 than a list of expressions. Adjust callers.
4561 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4562
0ea1599d
DG
45632013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4564
4565 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4566 case of the dot in a chained method call being on the following line.
0ea1599d 4567
da3e5ebb
SM
45682013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4569
2abb4e65
SM
4570 * electric.el (electric-indent-inhibit): New var.
4571 (electric-indent-post-self-insert-function): Use it.
4572 * progmodes/python.el (python-mode): Set it.
4573
d2e0e795
SM
4574 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4575 open braces.
4576
4577 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4578
bdc6b4c8
SM
4579 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4580 (css-mode): Use electric-indent-chars.
4581
da3e5ebb
SM
4582 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4583 (font-lock-beg, font-lock-end): Move before first use.
4584 (nxml-mode): Use syntax-propertize-function.
4585 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4586 (nxml-extend-after-change-region): Remove.
4587 * nxml/xmltok.el: Use lexical-binding.
4588 (xmltok-save): Use `declare'.
4589 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4590 * nxml/nxml-util.el: Use lexical-binding.
4591 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4592 Use `declare'.
4593 * nxml/nxml-ns.el: Use lexical-binding.
4594 (nxml-ns-save): Use `declare'.
4595 (nxml-ns-prefixes-for): Avoid add-to-list.
4596 * nxml/rng-match.el: Use lexical-binding.
4597 (rng--ipattern): Use cl-defstruct.
4598 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4599 (rng-cons-group-after, rng-subst-group-after)
4600 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4601 Use closures instead of `(lambda...).
4602
f8f91d5d
MA
46032013-10-07 Michael Albinus <michael.albinus@gmx.de>
4604
4605 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4606 of BEG and END.
4607
da3e5ebb
SM
4608 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4609 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4610 (tramp-gvfs-handle-insert-file-contents): Remove function.
4611
da3e5ebb
SM
4612 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4613 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4614
4615 * net/trampver.el: Update release number.
4616
7ccae3b1
SM
46172013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4618
55ca2c0d
SM
4619 * progmodes/compile.el (compilation-parse-errors):
4620 Use compilation--put-prop.
4621 (compilation--ensure-parse): Check compilation-multiline.
4622
731fc3ae
SM
4623 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4624
da3e5ebb
SM
4625 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4626 lexical-binding.
a5833280 4627
2e7ba2c2
SM
4628 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4629
7ccae3b1
SM
4630 * progmodes/ruby-mode.el: Fix recently added tests.
4631 (ruby-smie-grammar): Add - and +.
4632 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4633 (ruby-smie--backward-id): New functions.
4634 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4635 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4636 any more.
4637
85698d63
LL
46382013-10-07 Leo Liu <sdl.web@gmail.com>
4639
4640 * register.el (register-preview-delay)
4641 (register-preview-functions): New variables.
4642 (register-read-with-preview, register-preview)
4643 (register-describe-oneline): New functions.
4644 (point-to-register, window-configuration-to-register)
4645 (frame-configuration-to-register, jump-to-register)
4646 (number-to-register, view-register, insert-register)
4647 (copy-to-register, append-to-register, prepend-to-register)
4648 (copy-rectangle-to-register): Use register-read-with-preview to
4649 read register. (Bug#15525)
4650
3986af6c
DS
46512013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4652
4653 * net/network-stream.el (network-stream-open-starttls): Don't add
4654 --insecure if it's already present, because that gnutls-cli
4655 rejects getting that parameter twice.
4656
5cd9cda9
DG
46572013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4658
4659 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4660 keyword, too.
4661
da9ea6d9
DG
46622013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4663
4664 * newcomment.el (comment-use-global-state): Change default value
4665 to t, mark obsolete (Bug#15251).
4666 (comment-beginning): In addition to `comment-to-syntax', check the
4667 value of `comment-use-global-state'.
4668
34d1a133
SM
46692013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4672 (ruby-comment-column): Follow the global default, by default.
4673 (ruby-smie-grammar): Add assignment syntax.
4674 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4675 open-paren, a comma, or a \.
4676 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4677 and line continuations.
4678 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4679 followed by implicit semi-colons. Add rule for string concatenation
4680 and for indentation at BOB.
4681 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4682
4683 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4684 calling next-sexp, since next-token may have skipped chars which
4685 next-sexp doesn't know should be skipped!
4686
6f6ab820
LL
46872013-10-05 Leo Liu <sdl.web@gmail.com>
4688
34d1a133
SM
4689 * progmodes/octave.el (octave-send-region):
4690 Call compilation-forget-errors.
6f6ab820 4691
34ca0f4c
XF
46922013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4693
4694 * vc/vc-svn.el (vc-svn-find-admin-dir):
4695 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4696 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4697 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4698 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4699
a27c1b72
SM
47002013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4701
4702 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4703
258ab3bc
SM
47042013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * subr.el (read-passwd): Hide chars even when called within a context
4707 where after-change-functions is disabled (bug#15501).
4708 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4709 until we removed ourself from overriding-terminal-local-map.
4710
939fb29c
LL
47112013-10-04 Leo Liu <sdl.web@gmail.com>
4712
258ab3bc
SM
4713 * progmodes/octave.el (inferior-octave-mode):
4714 Call compilation-forget-errors.
939fb29c 4715
63bd7f35
XF
47162013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4717
4718 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4719
9e6229fa
MA
47202013-10-04 Michael Albinus <michael.albinus@gmx.de>
4721
4722 * net/secrets.el (secrets-create-collection): Add optional
4723 argument ALIAS. Use proper Label keyword. Append ALIAS as
4724 dbus-call-method argument. (Bug#15516)
4725
1dab32a3
LL
47262013-10-04 Leo Liu <sdl.web@gmail.com>
4727
4728 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4729 (inferior-octave-compilation-font-lock-keywords): New variables.
4730 (compilation-error-regexp-alist)
4731 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4732 (inferior-octave-mode): Use compilation-shell-minor-mode.
4733
6cad7ba3
JS
47342013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4735
4736 * minibuffer.el (completion--replace): Be careful that `end' might be
4737 a marker.
4738
acbadd00
DU
47392013-10-03 Daiki Ueno <ueno@gnu.org>
4740
4741 Add support for package signature checking.
4742 * emacs-lisp/package.el (url-http-file-exists-p)
4743 (epg-make-context, epg-context-set-home-directory)
4744 (epg-verify-string, epg-context-result-for)
4745 (epg-signature-status, epg-signature-to-string)
4746 (epg-check-configuration, epg-configuration)
4747 (epg-import-keys-from-file): Declare.
4748 (package-check-signature): New user option.
4749 (package-unsigned-archives): New user option.
4750 (package-desc): Add `signed' field.
4751 (package-load-descriptor): Set `signed' field if .signed file exists.
4752 (package--archive-file-exists-p): New function.
4753 (package--check-signature): New function.
4754 (package-install-from-archive): Check package signature.
4755 (package--download-one-archive): Check archive signature.
4756 (package-delete): Remove .signed file.
4757 (package-import-keyring): New command.
4758 (package-refresh-contents): Import default keyring.
4759 (package-desc-status): Add "unsigned" status.
4760 (describe-package-1, package-menu--print-info)
4761 (package-menu-mark-delete, package-menu--find-upgrades)
4762 (package-menu--status-predicate): Support "unsigned" status.
4763
adf2aa61
SM
47642013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4765
4766 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4767 the new compilation scheme using the new byte-codes.
4768
4769 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4770 (byte-pophandler): New byte codes.
4771 (byte-goto-ops): Adjust accordingly.
4772 (byte-compile--use-old-handlers): New var.
4773 (byte-compile-catch): Use new byte codes depending on
4774 byte-compile--use-old-handlers.
4775 (byte-compile-condition-case--old): Rename from
4776 byte-compile-condition-case.
4777 (byte-compile-condition-case--new): New function.
4778 (byte-compile-condition-case): New function that dispatches depending
4779 on byte-compile--use-old-handlers.
4780 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4781 when we can.
4782
4783 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4784 Optimize under `condition-case' and `catch' if
4785 byte-compile--use-old-handlers is nil.
4786 (disassemble-offset): Handle new bytecodes.
4787
328a8179
SM
47882013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4789
4790 * subr.el (error): Use `declare'.
4791 (decode-char, encode-char): Use advertised-calling-convention instead
4792 of the docstring to discourage use of the `restriction' arg.
4793
15a1e936
DU
47942013-10-03 Daiki Ueno <ueno@gnu.org>
4795
4796 * epg.el (epg-verify-file): Add a comment saying that it does not
4797 notify verification error as a return value nor a signal.
4798 (epg-verify-string): Ditto.
4799
376f862a
KR
48002013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4801
4802 * progmodes/compile.el (compilation-start): Try globbing the arg to
4803 `cd' (bug#15417).
4804
a2f93a5f
MA
48052013-10-02 Michael Albinus <michael.albinus@gmx.de>
4806
4807 Sync with Tramp 2.2.8.
4808
4809 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4810 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4811 * net/trampver.el: Update release number.
4812
0daa0804
JD
48132013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4814
4815 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4816 and default-process-coding-system for darwin only.
4817
abd1ae34
SM
48182013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4819
4820 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4821
be4e325d
MH
48222013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4823
4824 * vc/vc-git.el (vc-git-grep): Disable pager.
4825
e9155c4a
DG
48262013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4827
494e898b
DG
4828 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4829 Use :url instead of :homepage, as per
4830 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4831
e9155c4a
DG
4832 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4833 non-nil, use `syntax-ppss' (Bug#15251).
4834
481a8e0f
RS
48352013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4836
be4e325d
MH
4837 * progmodes/octave.el (inferior-octave-startup-file):
4838 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4839
056453c6
DG
48402013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4841
be4e325d
MH
4842 * emacs-lisp/package.el (package-desc-from-define):
4843 Accept additional arguments as plist, convert them to an alist and store
4844 them in the `extras' slot.
056453c6
DG
4845 (package-generate-description-file): Convert extras alist back to
4846 plist and append to the `define-package' form arguments.
4847 (package--alist-to-plist): New function.
4848 (package--ac-desc): Add `extras' slot.
4849 (package--add-to-archive-contents): Check if the archive-contents
4850 vector is long enough, and if it is, pass its `extras' slot value
4851 to `package-desc-create'.
4852 (package-buffer-info): Call `lm-homepage', pass the returned value
4853 to `package-desc-from-define'.
4854 (describe-package-1): Render the homepage button (Bug#13291).
4855
be4e325d
MH
4856 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4857 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4858
832966e5
JD
48592013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4860
4861 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4862 and default-process-coding-system to utf-8-unix (Bug#15402).
4863
6cfe977d
XF
48642013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4865
4866 * subr.el (looking-back): Do not recommend using looking-back.
4867
38de11bd
AM
48682013-09-28 Alan Mackenzie <acm@muc.de>
4869
4870 Fix indentation/fontification of Java enum with "implements".
4871
4872 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4873 regexp which matches "implements", etc., in Java.
4874 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4875 specifier clauses coming after "enum".
4876 * progmodes/cc-fonts.el (c-font-lock-declarations)
4877 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4878 after "enum".
4879
1610938f
JD
48802013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4881
4882 * faces.el (region): Change ns_selection_color to
4883 ns_selection_fg_color, add ns_selection_bg_color.
4884
e090f499
LL
48852013-09-28 Leo Liu <sdl.web@gmail.com>
4886
4d2e94d1
LL
4887 * progmodes/octave.el (inferior-octave-completion-table)
4888 (inferior-octave-completion-at-point): Minor tweaks.
4889
e090f499
LL
4890 * textmodes/ispell.el (ispell-lookup-words): Rename from
4891 lookup-words. (Bug#15460)
4892 (lookup-words): Obsolete.
4893 (ispell-complete-word, ispell-command-loop): All uses changed.
4894
7e138a62
RS
48952013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4896
a12bf61e 4897 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4898 (octave-mode-menu): Add octave-send-buffer.
4899 (octave-send-buffer): New function.
4900
5af5ed08
RS
49012013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4902
a12bf61e 4903 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4904 octave-lookfor.
4905 (octave-mode-menu): Add octave-lookfor.
4906 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4907 octave-lookfor.
4908 (octave-lookfor): New function.
4909
3b7b2692
SM
49102013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 * emacs-lisp/cl-macs.el:
4913 (cl--loop-destr-temps): Remove.
4914 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4915 its convention.
4916 (cl--loop-set-iterator-function): New function.
4917 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4918 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4919 Bind `it' with `let' instead of substituting it with `cl-subst'.
4920 (cl--unused-var-p): New function.
4921 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4922 Eliminate some unused variable warnings (bug#15326).
4923
529fb53f
TH
49242013-09-27 Tassilo Horn <tsdh@gnu.org>
4925
4926 * doc-view.el (doc-view-scale-reset): Rename from
4927 `doc-view-reset-zoom-level'.
4928 (doc-view-scale-adjust): New command.
4929 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4930 `doc-view-scale-adjust'.
4931
0550c95a
TH
49322013-09-26 Tassilo Horn <tsdh@gnu.org>
4933
4934 * doc-view.el (doc-view-reset-zoom-level): New command.
4935 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4936 zoom commands (bug#15466).
4937
6950f152
KH
49382013-09-26 Kenichi Handa <handa@gnu.org>
4939
4940 * international/quail.el (quail-help): Make it not a command.
4941
39587580
LL
49422013-09-26 Leo Liu <sdl.web@gmail.com>
4943
4944 * minibuffer.el (completion-all-sorted-completions): Make args
4945 optional as they are.
4946
00578659
DC
49472013-09-25 Daniel Colascione <dancol@dancol.org>
4948
4949 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4950 specs are and that they're not evaluated.
4951
0c173878
SS
49522013-09-24 Sam Steingold <sds@gnu.org>
4953
4954 * midnight.el (clean-buffer-list-kill-regexps)
4955 (clean-buffer-list-kill-buffer-names): Update for the new Man
4956 buffer naming which includes the object name.
4957
84998447
SM
49582013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4959
4960 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4961 (eshell-parse-command, eshell-parse-pipeline): Use it since
4962 eshell-separate-commands requires a dynamic scoped var.
4963 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4964
33215353
LL
49652013-09-23 Leo Liu <sdl.web@gmail.com>
4966
4967 * autoinsert.el (auto-insert-alist): Make the value of
4968 lexical-binding match its file setting.
4969
57b16162
JB
49702013-09-23 Juanma Barranquero <lekktu@gmail.com>
4971
c8af4e67
JB
4972 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4973
57b16162
JB
4974 * autoarg.el (autoarg-kp-digit-argument):
4975 * electric.el (Electric-command-loop):
4976 * kmacro.el (kmacro-step-edit-insert):
4977 Do not set universal-argument-num-events.
4978
7186ba60
LL
49792013-09-22 Leo Liu <sdl.web@gmail.com>
4980
4981 * files.el (interpreter-mode-alist): Add octave.
4982
ece15004
AM
49832013-09-21 Alan Mackenzie <acm@muc.de>
4984
4985 C++: fontify identifier in declaration following "public:" correctly.
4986 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4987 to match "public", etc.
4988 (c-decl-prefix-re): Add ":" into the C++ value.
4989 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4990 bit. Add a check for a ":" preceded by "public", etc.
4991
75d83e22
EZ
49922013-09-21 Eli Zaretskii <eliz@gnu.org>
4993
4994 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4995 recognized by GDB 7.5 and later.
4996
d052d3bd
XF
49972013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4998
4999 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5000
31dca772
R
50012013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5002
5003 * subr.el (internal--call-interactively): New const.
5004 (called-interactively-p): Use it (bug#3984).
5005
98ccf24e
XF
50062013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5007
5008 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
5009 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5010 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 5011
c39cc7d1
SM
50122013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5013
5014 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5015 (eshell-ls-orig-insert-directory): Remove.
5016 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5017 (eshell-ls-use-in-dired): Use advice-add/remove.
5018 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5019 Add `orig-fun' arg for use in :around advice.
5020 Make it check (redundantly) eshell-ls-use-in-dired.
5021
9a0289a2
GM
50222013-09-19 Glenn Morris <rgm@gnu.org>
5023
a2c501b8
GM
5024 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5025
c440407a
GM
5026 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5027
9a0289a2
GM
5028 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5029
85e05915
MA
50302013-09-19 Michael Albinus <michael.albinus@gmx.de>
5031
5032 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5033 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5034 (tramp-get-remote-python): New defuns.
5035 (tramp-get-remote-uid-with-perl)
5036 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5037 contributed by yary <not.com@gmail.com> (tiny change).
5038 (tramp-get-remote-uid-with-python)
5039 (tramp-get-remote-gid-with-python): New defuns. Python code
5040 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5041 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5042
ce503312
GM
50432013-09-19 Glenn Morris <rgm@gnu.org>
5044
f7544773
GM
5045 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5046
72fd2877
GM
5047 * eshell/em-unix.el (eshell-remove-entries):
5048 Rename argument to avoid name-clash with global `top-level'.
5049
336b5a56
GM
5050 * eshell/esh-proc.el (eshell-kill-process-function):
5051 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5052 (eshell-reset-after-proc): Remove unused arg `proc'.
5053
57a3a53d
GM
5054 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5055 (directory-files-and-attributes): Mark unused arg.
5056
3261d4af
GM
5057 * eshell/em-unix.el (eshell-remove-entries):
5058 Remove unused arg `path'. Update callers.
5059
8e51b5d0
GM
5060 * eshell/em-hist.el (eshell-hist-parse-arguments):
5061 Remove unused arg `silent'. Update callers.
5062
ce503312
GM
5063 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5064 Fix (f)boundp mix-up.
5065
5066 * eshell/em-smart.el (eshell-smart-scroll-window)
5067 (eshell-disable-after-change):
336b5a56 5068 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5069
ee3ce8a7
AM
50702013-09-18 Alan Mackenzie <acm@muc.de>
5071
5072 Fix fontification of type when followed by "const".
5073 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5074 "known" types from fontification.
5075
ec9177ba
GM
50762013-09-18 Glenn Morris <rgm@gnu.org>
5077
7bb3e768
GM
5078 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5079 (chart-face-list): Drop Emacsen without display-color-p.
5080
5148da15
GM
5081 * net/eww.el (libxml-parse-html-region): Declare.
5082 (eww-display-html): Explicit error if no libxml2 support.
5083
2f68e157
GM
5084 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5085
9019d095
GM
5086 * image.el (image-type-from-buffer, image-multi-frame-p):
5087 Remove --without-x warning/error.
67645389 5088
5f30349b 5089 * mouse.el (mouse-yank-primary):
45069b2e 5090 * term.el (term-mouse-paste):
5f30349b
GM
5091 Reorder to silence --without-x compilation.
5092
cd8edbbe
GM
5093 * mpc.el (doc-view-mode): Silence --without-x compilation.
5094
8a78544e
GM
5095 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5096 Silence --without-x compilation.
5097
12679bfd
GM
5098 * progmodes/gud.el (gud-find-file, gud-mode):
5099 Silence --without-x compilation.
5100 (tooltip-mode): Declare.
30810a05 5101
f0047cb9
GM
5102 * wdired.el (dired-backup-overwrite): Remove declaration.
5103 (wdired-mode-map): Add doc string.
5104
e740f9d2
GM
5105 * custom.el (x-get-resource): Declare.
5106
92d77c89
GM
5107 * eshell/em-glob.el (ange-cache):
5108 * eshell/em-unix.el (ange-cache): Declare.
5109
76e69577
GM
5110 * faces.el (x-display-list, x-open-connection, x-get-resource):
5111 Declare.
7e58af4b
GM
5112
5113 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5114 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5115 Declare.
76e69577 5116
4bd4c0af 5117 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5118
ffb82dbd
GM
5119 * net/gnutls.el (gnutls-log-level): Declare.
5120
986ed135
GM
5121 * net/shr.el (image-size, image-animate): Declare.
5122
e740f9d2
GM
5123 * simple.el (font-info): Declare.
5124
d2f3e9f8
GM
5125 * subr.el (x-popup-dialog): Declare.
5126
047a1a4c
GM
5127 * term/common-win.el (x-select-enable-primary)
5128 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5129 Declare.
5130
f4a1d572
GM
5131 * term/ns-win.el (x-handle-args): Declare.
5132
e843de77
GM
5133 * term/x-win.el (x-select-enable-clipboard): Declare.
5134
5fa89513
GM
5135 * term/w32-win.el (create-default-fontset): Declare.
5136
38702b5b
GM
5137 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5138 Declare.
5139
e740f9d2
GM
5140 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5141 (fit-frame-to-buffer): Explicit error if --without-x.
5142 (mouse-autoselect-window-select): Silence compiler.
5143
49a053fc
GM
5144 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5145
5146 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5147 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5148 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5149 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5150 Remove unused local variables.
5151
5152 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5153
ec9177ba
GM
5154 * textmodes/two-column.el: Make 2C-split work for --without-x.
5155 (scroll-bar-columns): Autoload.
5156 (top-level): Require fringe when compiling.
5157
9f25cb77
LL
51582013-09-18 Leo Liu <sdl.web@gmail.com>
5159
5160 * subr.el (add-hook): Robustify to handle closure as well.
5161
2b42da98
GM
51622013-09-17 Glenn Morris <rgm@gnu.org>
5163
5164 * simple.el (messages-buffer-mode-map): Unbind "g".
5165
e8b66a6a
SM
51662013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5167
9c0ad4f7
SM
5168 * help-mode.el (help-mode-finish): Use derived-mode-p.
5169 Remove obsolete highlighting.
5170
7a806dfb
SM
5171 * play/life.el (life-mode): Use define-derived-mode. Derive from
5172 special-mode.
5173 (life): Let-bind inhibit-read-only.
5174 (life-setup): Avoid `setq'. Use `life-mode'.
5175
96dbf5a8
SM
5176 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5177 which should not be needed any more.
5178 (package-menu-refresh, package-menu-describe-package): Use user-error.
5179
e8b66a6a
SM
5180 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5181 (eshell-post-rewrite-command-hook): Make obsolete.
5182 (eshell-parse-command): Simplify.
5183 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5184 (eshell--cmd): Declare.
5185 (eshell-parse-pipeline): Remove unused var `final-p'.
5186 Pass a dynvar to eshell-post-rewrite-command-hook.
5187 Implement the new eshell-post-rewrite-command-function.
5188 (eshell-invoke-directly): Remove unused arg `input'.
5189 * eshell/esh-io.el (eshell-io-initialize):
5190 Use eshell-post-rewrite-command-function (bug#15399).
5191 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5192 adjust to new calling convention.
5193 (eshell-create-handles): Rename args to avoid clashing with dynvar
5194 `standard-output'.
5195
90582f05
GM
51962013-09-17 Glenn Morris <rgm@gnu.org>
5197
5198 * simple.el (messages-buffer-mode): New major mode.
5199 (messages-buffer): New function.
5200 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5201 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5202 (ert-run-test): Use `messages-buffer' function.
90582f05 5203 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5204 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5205 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5206
39eb0cb5 52072013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5208
5209 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5210
1d42e5b6 5211 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5212
70568a90
SM
52132013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5214
504a0381
SM
5215 * icomplete.el (icomplete-in-buffer): New var.
5216 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5217 vars and replace them with functions.
5218 (icomplete-minibuffer-setup): Adjust accordingly.
5219 (icomplete--completion-table, icomplete--completion-predicate)
5220 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5221 New functions.
5222 (icomplete-forward-completions, icomplete-backward-completions)
5223 (icomplete-simple-completing-p, icomplete-exhibit)
5224 (icomplete-completions): Use them.
5225 (icomplete--in-region-buffer): New var.
5226 (icomplete--in-region-setup): New function.
5227 (icomplete-mode): Use it.
5228
70568a90
SM
5229 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5230 (bug#15379).
5231 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5232 return args and options.
5233 (eshell-eval-using-options): Use the new return value of
5234 eshell--do-opts to set the options's vars in their scope.
5235 (eshell--set-option): Rename from eshell-set-option.
5236 Add arg `opt-vals'.
5237 (eshell--process-option): Rename from eshell-process-option.
5238 Add arg `opt-vals'.
5239 (eshell--process-args): Use an `opt-vals' alist to store the options's
5240 values during their processing and return them additionally to the
5241 remaining args.
5242
578c21bc
DG
52432013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5244
5245 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5246 continuation character an operator, as far as indentation is
5247 concerned (Bug#15369).
5248
c089653d
MR
52492013-09-15 Martin Rudalics <rudalics@gmx.at>
5250
5251 * window.el (window--state-put-2): Don't process buffer state
5252 when buffer doesn't exist any more (Bug#15382).
5253
1e53bb4b
GM
52542013-09-15 Glenn Morris <rgm@gnu.org>
5255
30753242
GM
5256 * eshell/em-unix.el (eshell/rm):
5257 Make -f ignore missing files. (Bug#15373)
5258
1e53bb4b
GM
5259 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5260 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5261 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5262
0d8863b3
GM
52632013-09-14 Glenn Morris <rgm@gnu.org>
5264
5265 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5266
d3fc6549
GM
52672013-09-13 Glenn Morris <rgm@gnu.org>
5268
5269 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5270 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5271
fcd42c11
DA
52722013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5273
5274 * frame.el (x-focus-frame): Mark as declared in frame.c.
5275
7830899f
SM
52762013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * ls-lisp.el: Use advice-add.
5279 (original-insert-directory): Remove.
5280 (ls-lisp--insert-directory): Rename from insert-directory; add
5281 `orig-fun' argument.
5282 (insert-directory): Advise.
5283
84387cd2
EZ
52842013-09-13 Eli Zaretskii <eliz@gnu.org>
5285
5286 * term.el (term-emulate-terminal): Decode the command string
5287 before passing it to term-command-hook. (Bug#15337)
5288
35ffc6ba
GM
52892013-09-13 Glenn Morris <rgm@gnu.org>
5290
5c3f9bcc
GM
5291 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5292
2ada368a
GM
5293 * eshell/esh-ext.el (eshell-search-path): Declare.
5294
fcef2e13
GM
5295 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5296 Otherwise an error occurs if eshell-dirs module not loaded.
5297
35ffc6ba
GM
5298 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5299
35c3d36e
MA
53002013-09-13 Michael Albinus <michael.albinus@gmx.de>
5301
5302 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5303 `tramp-check-proper-host'. Check for a valid method name.
5304
5305 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5306 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5307 * net/tramp-sh.el (tramp-maybe-open-connection):
5308 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5309
5310 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5311 also for hash values.
5312
ae5e4c48
SM
53132013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5314
379add74
SM
5315 * term/ns-win.el (parameters): Don't declare as dynamic.
5316 (before-make-frame-hook): Don't add ineffective function.
5317
ae5e4c48
SM
5318 * eshell/*.el: Use lexical-binding (bug#15231).
5319
b5623270
KH
53202013-09-12 Kenichi Handa <handa@gnu.org>
5321
ae5e4c48 5322 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5323
30213927
GM
53242013-09-12 Glenn Morris <rgm@gnu.org>
5325
be94d713 5326 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5327 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5328
44915370
GM
5329 * subr.el (do-after-load-evaluation): Also give compiler warnings
5330 when obsolete files are used (except by obsolete files).
5331
a6ae021f
GM
5332 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5333 in the status output, assume `filename' is the first. (Bug#15322)
5334
40e64f0c
GM
5335 * vc/vc.el (vc-deduce-fileset): Doc fix.
5336
16d9f896
GM
5337 * calc/calc-help.el (Info-goto-node):
5338 * progmodes/cperl-mode.el (Info-find-node):
5339 * vc/ediff.el (Info-goto-node): Update declarations.
5340
dea01c6e
GM
5341 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5342
759880bf 5343 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5344 (vc-bzr-pull): Require vc-dispatcher.
5345 * vc/vc-git.el (vc-compilation-mode): Declare.
5346 (vc-git-pull): Require vc-dispatcher.
5347
08d66420
GM
5348 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5349
30b626e9
GM
5350 * progmodes/octave.el (help-button-action): Declare.
5351
8c05cb10
GM
5352 * shell.el (shell-directory-tracker): Output error as a message
5353 rather than just returning it as a string.
5354 (shell-process-pushd): Remove useless use of message.
5355
30213927
GM
5356 * dframe.el (dframe-timer-fn):
5357 * files.el (dir-locals-read-from-file):
5358 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5359 (mpc-format):
5360 * reveal.el (reveal-post-command):
5361 * saveplace.el (load-save-place-alist-from-file):
5362 * shell.el (shell-resync-dirs):
5363 * w32-common-fns.el (x-get-selection-value):
5364 * emacs-lisp/copyright.el (copyright-find-copyright):
5365 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5366 * emulation/tpu-edt.el (tpu-copy-keyfile):
5367 * play/bubbles.el (bubbles--mark-neighbourhood):
5368 * progmodes/executable.el
5369 (executable-make-buffer-file-executable-if-script-p):
5370 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5371
d3b049e6
SM
53722013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5373
170266d0
SM
5374 Cleanup Eshell to rely less on dynamic scoping.
5375 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5376 last-value, and ext-command here. Bind `args' closer to `body'.
5377 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5378 (eshell--args): Declare new dynamic var.
5379 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5380 last-value, and ext-command. Pass `args' to `body'.
5381 (eshell-process-args): Bind eshell--args.
5382 (eshell-set-option): Use eshell--args.
5383 * eshell/eshell.el (eshell): Use derived-mode-p.
5384 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5385 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5386 (eshell-glob-function): Declare.
5387 * eshell/esh-util.el: Require cl-lib.
5388 (eshell-read-hosts-file): Avoid add-to-list.
5389 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5390 `err'.
5391 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5392 Declare.
5393 (eshell/diff): Remove unused var `err'.
5394 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5395 `killflag'.
5396 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5397 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5398 first use.
5399 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5400 Move declaration before first use.
5401 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5402 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5403 rely on cl-return.
5404
56834f3b
GM
54052013-09-12 Glenn Morris <rgm@gnu.org>
5406
5407 * term/ns-win.el (global-map): Remove binding for ispell-next,
5408 deleted 1999-05-29. (Bug#15357)
5409
5c91a2b8
GM
54102013-09-11 Glenn Morris <rgm@gnu.org>
5411
da712f22
GM
5412 * echistory.el (electric-command-history): Remove call to deleted func.
5413
512e4cdc
GM
5414 * play/landmark.el (landmark-mode): Fix typos.
5415
d3506ca5
GM
5416 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5417 Check cvs-sort-ignore-file is bound.
5418
5c91a2b8
GM
5419 * savehist.el: No need for cl when compiling on Emacs.
5420
feeff482
SM
54212013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5422
656bd483
SM
5423 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5424 (bug#15338).
d3b049e6
SM
5425 (eshell-self-insert-command, eshell-send-invisible):
5426 Remove unused argument.
656bd483
SM
5427 (eshell-handle-control-codes): Remove unused var `orig'.
5428 Avoid delete-backward-char.
5429
feeff482
SM
5430 * files.el (set-auto-mode): Simplify a bit further.
5431
2a08047a
GM
54322013-09-11 Glenn Morris <rgm@gnu.org>
5433
5434 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5435 (set-auto-mode): Don't regexp-quote elements.
5436 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5437 * progmodes/cc-mode.el (interpreter-mode-alist):
5438 * progmodes/ruby-mode.el (interpreter-mode-alist):
5439 Revert previous change.
5440
34675540
SM
54412013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5442
1b3b87df
SM
5443 * play/snake.el (snake-mode):
5444 * play/mpuz.el (mpuz-mode):
5445 * play/landmark.el (lm-mode):
5446 * play/blackbox.el (blackbox-mode):
5447 * play/5x5.el (5x5-mode):
5448 * obsolete/options.el (Edit-options-mode):
5449 * net/quickurl.el (quickurl-list-mode):
5450 * net/newst-treeview.el (newsticker-treeview-mode):
5451 * mail/rmailsum.el (rmail-summary-mode):
5452 * mail/mspools.el (mspools-mode):
5453 * locate.el (locate-mode):
5454 * ibuffer.el (ibuffer-mode):
5455 * emulation/ws-mode.el (wordstar-mode):
5456 * emacs-lisp/debug.el (debugger-mode):
5457 * array.el (array-mode):
5458 * net/eudc.el (eudc-mode): Use define-derived-mode.
5459 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5460 Move initialization into declaration.
5461 (mairix-searches-mode): Use define-derived-mode.
5462 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5463 (eudc-edit-hotlist): Use dolist.
5464 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5465 (Man-mode): Use define-derived-mode.
5466 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5467 (Info-edit-mode): Use define-derived-mode.
5468 (Info-cease-edit): Use Info-mode.
5469 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5470 into declaration.
5471 (eshell-mode): Use define-derived-mode.
5472 * chistory.el (command-history-mode-map): Rename from
5473 command-history-map.
5474 (command-history-mode): Use define-derived-mode.
da712f22 5475 (Command-history-setup): Remove function.
1b3b87df
SM
5476 * calc/calc.el (calc-trail-mode-map): New var.
5477 (calc-trail-mode): Use define-derived-mode.
5478 (calc-trail-buffer): Set calc-main-buffer manually.
5479 * bookmark.el (bookmark-insert-annotation): New function.
5480 (bookmark-edit-annotation): Use it.
5481 (bookmark-edit-annotation-mode): Make it a proper major mode.
5482 (bookmark-send-edited-annotation): Use derived-mode-p.
5483 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5484 closer to its ideal place. Use \' to match EOS.
5485
34675540
SM
5486 * profiler.el (profiler-calltree-find): Use function-equal.
5487
6a5c15d9
GM
54882013-09-10 Glenn Morris <rgm@gnu.org>
5489
1af4c220
GM
5490 * files.el (interpreter-mode-alist): Convert to regexps.
5491 (set-auto-mode): Adapt for this. (Bug#15306)
5492 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5493 Comment out unused variable.
5494 * progmodes/cc-mode.el (interpreter-mode-alist):
5495 * progmodes/python.el (interpreter-mode-alist):
5496 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5497 * progmodes/sh-script.el (sh-set-shell):
5498 No longer use interpreter-mode-alist to get list of shells.
5499
6a5c15d9
GM
5500 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5501
8c27f5ff
SM
55022013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5503
02ef6c1a 5504 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5505 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5506 Bind switch-frame explicitly. Replace universal-argument-minus with
5507 a conditional binding.
5508 (universal-argument-num-events, saved-overriding-map): Remove.
5509 (restore-overriding-map): Remove.
5510 (universal-argument--mode): Rename from save&set-overriding-map,
5511 and rewrite.
5512 (universal-argument, universal-argument-more, negative-argument)
5513 (digit-argument): Adjust accordingly.
5514 (universal-argument-minus): Remove.
5515 (universal-argument-other-key): Remove.
5516
8c27f5ff
SM
5517 * subr.el (with-demoted-errors): Add `format' argument.
5518
6480194c
MA
55192013-09-10 Michael Albinus <michael.albinus@gmx.de>
5520
5521 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5522 `tramp-cleanup-connection'.
5523
5524 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5525 parameters KEEP-DEBUG and KEEP-PASSWORD.
5526
5527 * net/tramp.el (tramp-file-name-handler):
5528 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5529 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5530 (tramp-maybe-open-connection):
8c27f5ff
SM
5531 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5532 Use `tramp-cleanup-connection'.
6480194c 5533
8c27f5ff
SM
5534 * net/tramp-sh.el (tramp-maybe-open-connection):
5535 Catch 'uname-changed inside the progress reporter.
6480194c 5536
e5e916d8
GM
55372013-09-10 Glenn Morris <rgm@gnu.org>
5538
9a2c9b47
GM
5539 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5540
e5e916d8
GM
5541 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5542 returns "alternate access method" in mode (eg "-rw-r--r--.").
5543
144e38fe
GM
55442013-09-08 Glenn Morris <rgm@gnu.org>
5545
5546 * saveplace.el (load-save-place-alist-from-file):
5547 Demote errors. (Bug#15305)
5548
af9ff9e8
MA
55492013-09-08 Michael Albinus <michael.albinus@gmx.de>
5550
5551 Improve compatibility with older Emacsen, and XEmacs.
5552
5553 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5554 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5555 (with-tramp-progress-reporter): Do not let-bind `result'.
5556 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5557 (tramp-handle-make-auto-save-file-name): New function, moved from
5558 tramp-sh.el.
5559
5560 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5561 for `make-auto-save-file-name'.
8c27f5ff
SM
5562 (tramp-adb--gnu-switches-to-ash):
5563 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5564
5565 * net/tramp-cache.el (tramp-cache-print): Call
5566 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5567
5568 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5569 bound. It isn't for XEmacs.
5570
8c27f5ff
SM
5571 * net/tramp-compat.el (tramp-compat-copy-file):
5572 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5573 (tramp-compat-replace-regexp-in-string): New defun.
5574
5575 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5576 for `make-auto-save-file-name'.
5577 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5578 `copy-file'.
5579 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5580 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5581 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5582
8c27f5ff
SM
5583 * net/tramp-gw.el (tramp-gw-open-network-stream):
5584 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5585
8c27f5ff
SM
5586 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5587 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5588 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5589 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5590 (tramp-sh-file-inotifywait-process-filter):
5591 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5592 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5593
5594 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5595 for `make-auto-save-file-name'.
8c27f5ff
SM
5596 (tramp-smb-handle-copy-directory):
5597 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5598 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5599 (tramp-smb-handle-copy-file): Improve error message.
5600 (tramp-smb-handle-rename-file): Rename directly only in case
5601 `newname' does not exist yet. This is a restriction of smbclient.
5602 (tramp-smb-maybe-open-connection): Rerun the function only when
5603 `auth-sources' is non-nil.
5604
0ca754d0
KH
56052013-09-08 Kenichi Handa <handa@gnu.org>
5606
e0eb0550 5607 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5608 more characters.
5609
e8dd0787
AM
56102013-09-07 Alan Mackenzie <acm@muc.de>
5611
5612 Correctly fontify Java class constructors.
5613 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5614 in Java Mode.
5615 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5616 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5617 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5618 "typeless" declaration there.
5619
f2f248e7
RW
56202013-09-07 Roland Winkler <winkler@gnu.org>
5621
5622 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5623 field subtitle for entry type book.
5624
67982e2b
SM
56252013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5626
5627 * minibuffer.el: Make minibuffer-complete call completion-in-region
5628 rather than other way around.
5629 (completion--some, completion-pcm--find-all-completions):
5630 Don't delay signals when debugging.
5631 (minibuffer-completion-contents): Beware fields within the
5632 minibuffer contents.
5633 (completion-all-sorted-completions): Use defvar-local.
5634 (completion--do-completion, completion--cache-all-sorted-completions)
5635 (completion-all-sorted-completions, minibuffer-force-complete):
5636 Add args `beg' and `end'.
5637 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5638 (minibuffer-complete): Use completion-in-region.
5639 (completion-complete-and-exit): New fun, extracted from
5640 minibuffer-complete-and-exit.
5641 (minibuffer-complete-and-exit): Use it.
5642 (completion--complete-and-exit): Rename from
5643 minibuffer--complete-and-exit.
5644 (completion-in-region--single-word): New function, extracted from
5645 minibuffer-complete-word.
5646 (minibuffer-complete-word): Use it.
5647 (display-completion-list): Make `common-substring' argument obsolete.
5648 (completion--in-region): Call completion--in-region-1 instead of
5649 minibuffer-complete.
5650 (completion-help-at-point): Pass boundaries to
5651 minibuffer-completion-help as args rather than via an overlay.
5652 (completion-pcm--string->pattern): Use `any-delim'.
5653 (completion-pcm--optimize-pattern): New function.
5654 (completion-pcm--pattern->regex): Handle `any-delim'.
5655 * icomplete.el (icomplete-forward-completions)
5656 (icomplete-backward-completions, icomplete-completions):
5657 Adjust calls to completion-all-sorted-completions and
5658 completion--cache-all-sorted-completions.
5659 (icomplete-with-completion-tables): Default to t.
5660 * emacs-lisp/crm.el (crm--current-element): Rename from
5661 crm--select-current-element. Don't put an overlay but return the
5662 boundaries instead.
5663 (crm--completion-command): Take two new args to bind to the boundaries.
5664 (crm-completion-help): Adjust accordingly.
5665 (crm-complete): Use completion-in-region.
5666 (crm-complete-word): Use completion-in-region--single-word.
5667 (crm-complete-and-exit): Use completion-complete-and-exit.
5668
e17d94a5
SM
56692013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5670
5671 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5672 than dynamically.
5673
96727100
JL
56742013-09-06 Juri Linkov <juri@jurta.org>
5675
5676 * info.el (Info-display-images-node): When image file doesn't exist
5677 display text version of the image if it's provided in the Info file.
5678 Otherwise, display the location of missing image from SRC attribute.
5679 Add help-echo text property from ALT attribute. (Bug#15279)
5680
86cf7329
SM
56812013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5682
5683 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5684 (edit-abbrevs-mode): Use define-derived-mode.
5685
5686 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5687 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5688 that it's defined.
5689 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5690 Use define-derived-mode.
5691
5692 * epg.el (epg-start-encrypt): Minor CSE simplification.
5693
816244a2
WX
56942013-09-06 William Xu <william.xwl@gmail.com>
5695
5696 * arc-mode.el: Add support for 7za (bug#15264).
5697 (archive-7z-program): New var.
5698 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5699 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5700 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5701
1486fa31
MA
57022013-09-06 Michael Albinus <michael.albinus@gmx.de>
5703
5704 Remove URL syntax.
5705
5706 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5707 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5708 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5709 (tramp-postfix-host-format, tramp-file-name-regexp)
5710 (tramp-completion-file-name-regexp)
5711 (tramp-completion-dissect-file-name)
5712 (tramp-handle-substitute-in-file-name): Remove 'url case.
5713 (tramp-file-name-regexp-url)
5714 (tramp-completion-file-name-regexp-url): Remove constants.
5715
39785324
GM
57162013-09-06 Glenn Morris <rgm@gnu.org>
5717
5718 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5719
1f896cb7
DG
57202013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5721
5722 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5723 keywords" below "here-doc beginnings" (Bug#15270).
5724
c0458e0b
SM
57252013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5726
5727 * subr.el (pop): Use `car-safe'.
5728 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5729 to detect unused `pop' return value.
5730
5731 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5732 var `block-regexp'.
5733 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5734 (python-fill-string): Remove unused var `marker'.
5735 (python-skeleton-add-menu-items): Remove unused var `items'.
5736
5737 * international/mule-cmds.el: Require CL.
5738 (find-coding-systems-for-charsets): Avoid add-to-list.
5739 (sanitize-coding-system-list): New function, extracted from
5740 select-safe-coding-system-interactively.
5741 (select-safe-coding-system-interactively): Use it.
5742 (read-input-method-name): Accept symbols for `default'.
5743
5744 * emacs-lisp/advice.el (defadvice): Add indent rule.
5745
6c42fc3e
DH
57462013-09-05 Daniel Hackney <dan@haxney.org>
5747
5748 * dired-x.el:
5749 * net/ange-ftp.el:
5750 * net/browse-url.el:
5751 * net/dbus.el:
5752 * net/eudc.el:
5753 * net/eudcb-ldap.el:
5754 * net/eww.el:
5755 * net/imap.el:
5756 * printing.el:
5757 * vc/ediff-diff.el:
5758 * vc/ediff-init.el:
5759 * vc/ediff-merg.el:
5760 * vc/ediff-mult.el:
5761 * vc/ediff-util.el:
5762 * vc/ediff-wind.el:
5763 * vc/ediff.el:
5764 * vc/emerge.el:
5765 * vc/pcvs.el:
5766 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5767 byte compiler. Remove some unused let-bound variables.
5768
4c528aab
SM
57692013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5770
5771 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5772 a "ref-cell", since it gets better optimized (bug#14883).
5773
bd15c390
GM
57742013-09-05 Glenn Morris <rgm@gnu.org>
5775
5776 * progmodes/cc-awk.el (c-forward-sws): Declare.
5777
1c3ac2e5
GM
57782013-09-04 Glenn Morris <rgm@gnu.org>
5779
5780 * generic-x.el [rul-generic-mode]: Require cc-mode.
5781 (c++-mode-syntax-table): Declare.
5782 (rul-generic-mode-syntax-table): Init in the defvar.
5783
52b1cc79
SM
57842013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5785
c828af56
SM
5786 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5787 (vc-do-command, vc-set-async-update):
5788 * vc/vc-mtn.el (vc-mtn-dir-status):
5789 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5790 (vc-hg-pull, vc-hg-merge-branch):
5791 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5792 (vc-git-merge-branch):
5793 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5794 (vc-cvs-dir-status-files):
5795 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5796 (vc-bzr-dir-status-files):
5797 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5798 * vc/vc-annotate.el: Use lexical-binding.
5799 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5800 (vc-sentinel-movepoint): Declare.
5801 (vc-annotate): Don't use `goto-line'.
5802 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5803 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5804 (vc-sentinel-movepoint): Declare.
5805 * vc/vc-svn.el: Use lexical-binding.
5806 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5807 * vc/vc-sccs.el:
5808 * vc/vc-rcs.el: Use lexical-binding.
5809
abae272c
SM
5810 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5811 `deleted'. Don't drop errors silently.
5812
52b1cc79
SM
5813 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5814
63191d9f
XF
58152013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5816
5817 * vc/vc.el (vc-ignore): Rewrite.
5818 (vc-default-ignore): New function.
5819 (vc-default-ignore-completion-table): Use find-ignore-file.
5820
5821 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5822 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5823 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5824 Remove. Most code moved to vc.el.
5825
9d3f707c
SM
58262013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5827
abae272c 5828 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5829 * net/tramp-smb.el (tramp-smb-get-file-entries):
5830 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5831 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5832
fde38d49
SM
5833 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5834 Update call to it.
5835 (eww-change-select): Remove unused var `properties'.
5836 (eww-make-unique-file-name): Remove unused var `base'.
5837
5838 * finder.el (finder-compile-keywords): Don't mess with windows.
5839
84032db7
SM
5840 * calculator.el (calculator-funcall): Fix typo in last change.
5841
724f5e41
SM
5842 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5843
14b511d4
SM
5844 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5845 <pkg>-autoloads.el file stop us.
5846
9d3f707c 5847 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5848 warnings, and factor out common code.
9d3f707c 5849
88527bc0
DG
58502013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5851
5852 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5853 two-character operators and whether the character preceding them
5854 changes their meaning (Bug#15208).
5855
96edb677
FEG
58562013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5857
5858 Format code sent to Python shell for robustness.
9d3f707c
SM
5859 * progmodes/python.el (python-shell-buffer-substring):
5860 New function.
96edb677
FEG
5861 (python-shell-send-region, python-shell-send-buffer): Use it.
5862
95beaef3
MA
58632013-09-02 Michael Albinus <michael.albinus@gmx.de>
5864
5865 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5866 * net/tramp.el (tramp-user-error): ... here.
5867 (tramp-find-method, tramp-check-proper-host)
5868 (tramp-dissect-file-name, tramp-debug-message)
5869 (tramp-handle-shell-command):
5870 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5871 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5872
5873 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5874
f167c27b
MR
58752013-09-02 Martin Rudalics <rudalics@gmx.at>
5876
5877 * avoid.el (mouse-avoidance-point-position)
5878 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5879 returns nil.
5880
cd16c5f1
FEG
58812013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5882
5883 * progmodes/python.el (python-shell-completion-get-completions):
5884 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5885 (python-nav-if-name-main): New command.
cd16c5f1 5886
e73c3a0d
GM
58872013-09-01 Glenn Morris <rgm@gnu.org>
5888
f8ccce03
GM
5889 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5890 Avoid leading space in $wins. Otherwise the sed command used by
5891 eg compile-main ends up containing "/*.el". (Bug#15170)
5892
e73c3a0d
GM
5893 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5894
415f808e
GM
58952013-08-30 Glenn Morris <rgm@gnu.org>
5896
5897 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5898 Fix is-this-a-directory logic. (Bug#15220)
5899
f069bba8
SM
59002013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5901
112798c1
SM
5902 * textmodes/css-mode.el: Use SMIE.
5903 (css-smie-grammar): New var.
5904 (css-smie--forward-token, css-smie--backward-token)
5905 (css-smie-rules): New functions.
5906 (css-mode): Use them.
5907 (css-navigation-syntax-table): Remove var.
5908 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5909 (css-indent-calculate, css-indent-line): Remove functions.
5910
5911 Misc changes to reduce use of `(lambda...); and other cleanups.
5912 * cus-edit.el: Use lexical-binding.
5913 (customize-push-and-save, customize-apropos)
5914 (custom-buffer-create-internal): Use closures.
5915 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5916 * progmodes/ada-xref.el: Use setq.
5917 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5918 * dframe.el: Use lexical-binding.
5919 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5920 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5921 * descr-text.el: Use lexical-binding.
5922 (describe-text-widget, describe-text-sexp, describe-property-list):
5923 Use closures.
5924 * comint.el (comint-history-isearch-push-state): Use a closure.
5925 * calculator.el: Use lexical-binding.
5926 (calculator-number-to-string): Make it work with lexical-binding.
5927 (calculator-funcall): Same and use cl-letf.
5928
2da4c3ab
SM
5929 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5930 (lisp--company-doc-string, lisp--company-location): New functions.
5931 (lisp-completion-at-point): Use them to improve Company support.
5932
f069bba8
SM
5933 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5934 params of lambda expressions.
5935 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5936 (ruby-smie--opening-pipe-p): New function.
5937 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5938 symbols and matched |...| for formal params.
5939 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5940 from being treated as hanging. Handle "rescue".
5941
6758b6a8
GM
59422013-08-29 Glenn Morris <rgm@gnu.org>
5943
5944 * progmodes/cc-engine.el (c-pull-open-brace):
5945 Move definition before use.
5946
e8dfd197
SM
59472013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5948
5949 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5950 are immutable. Don't use `unsafe' any more.
5951 (cl--defsubst-expand): Don't substitute at the same time as keeping
5952 a residual unused let-binding. Don't use `unsafe' any more.
5953
cc585c96
GM
59542013-08-29 Glenn Morris <rgm@gnu.org>
5955
ba579ea6
GM
5956 * calendar/cal-china.el (calendar-chinese-year-cache):
5957 Recenter on 2015.
5958
8201a87e
GM
5959 * nxml/nxml-util.el (nxml-debug-clear-inside):
5960 Use cl-loop rather than loop.
5961
6ee877c7
GM
5962 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5963
cc585c96
GM
5964 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5965
27be8d39
GM
59662013-08-28 Glenn Morris <rgm@gnu.org>
5967
397440a1
GM
5968 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5969
2bb762d4
GM
5970 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5971
27be8d39
GM
5972 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5973
2d69b99e
SM
59742013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5975
f663baa7
SM
5976 * simple.el (repeat-complex-command--called-interactively-skip):
5977 New function.
5978 (repeat-complex-command): Use it (bug#14136).
5979
dd4f8b74
SM
5980 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5981 (c-define-abbrev-table): Add `doc' argument.
5982 (c-mode-abbrev-table, c++-mode-abbrev-table)
5983 (objc-mode-abbrev-table, java-mode-abbrev-table)
5984 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5985 (awk-mode-abbrev-table): Use it.
5986 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5987 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5988 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5989 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5990 Move initialization into the declaration; and remove any
5991 autoload cookie.
5992
b58969f7
SM
5993 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5994 and dynamic let binding.
5995
4021d6a6
SM
5996 * vc/smerge-mode.el: Remove redundant :group args.
5997
2d69b99e
SM
5998 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5999 to load-path.
6000
274919fd
JL
60012013-08-28 Juri Linkov <juri@jurta.org>
6002
6003 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6004 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6005 (isearch-other-meta-char): Handle an undefined shifted printing
6006 character by downshifting it. (Bug#15200)
6007
121f8c95
JL
60082013-08-28 Juri Linkov <juri@jurta.org>
6009
6010 * isearch.el (isearch-search): Change regexp error message for
6011 non-regexp searches. (Bug#15166)
6012
50b13cde
PE
60132013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6014
6015 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6016 for portability to hosts where /bin/sh has problems.
6017
95888bca
SM
60182013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6021
bbe558f1
JL
60222013-08-27 Juri Linkov <juri@jurta.org>
6023
6024 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6025 in the keyboard macro. (Bug#15126)
6026
26f98a7d
JL
60272013-08-27 Juri Linkov <juri@jurta.org>
6028
6029 * isearch.el (isearch-quote-char): Comment out converting unibyte
6030 to multibyte, thus syncing with its `quoted-insert' counterpart.
6031 (Bug#15166)
6032
7c97d35e
MR
60332013-08-27 Martin Rudalics <rudalics@gmx.at>
6034
6035 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
6036 argument in call of get-largest-window (Bug#15185).
6037 Reported by Stephen Leake.
7c97d35e 6038
a0b5606e 60392013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
6040
6041 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6042
9e89d835
SM
60432013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6044
6045 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6046 from a matcher-function unless there's no more matches (bug#15161).
6047
78fc2530
MA
60482013-08-26 Michael Albinus <michael.albinus@gmx.de>
6049
6050 * minibuffer.el: Revert change from 2013-08-20.
6051
6052 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6053 with text property `tramp-default', if appropriate.
6054 (tramp-check-proper-host): New defun.
6055 (tramp-dissect-file-name): Do not check hostname. Revert change
6056 of 2013-03-18.
6057 (tramp-backtrace): Make VEC-OR-PROC optional.
6058
6059 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6060 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6061 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6062 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6063 Apply `tramp-check-proper-host'.
78fc2530 6064
edca97cd
TH
60652013-08-26 Tassilo Horn <tsdh@gnu.org>
6066
6067 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6068 lambda expression in order to have `describe-variable' display it.
6069
df54bcbd
MA
60702013-08-26 Michael Albinus <michael.albinus@gmx.de>
6071
6072 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6073 BUF can be optional. (Bug#15186)
6074
eed99101
XF
60752013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6076
6077 * progmodes/flymake.el (flymake-get-real-file-name-function):
6078 Fix broken customization. (Bug#15184)
6079
b5eb9035
AM
60802013-08-25 Alan Mackenzie <acm@muc.de>
6081
8a51e842
AM
6082 Improve indentation of bracelists defined by macros (without "=").
6083
6084 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6085 expansion begins with "{", regard it as bracelist when it doesn't
6086 contain a ";".
6087
869455d4
AM
6088 Parse C++ inher-intro when there's a template split over 2 lines.
6089
6090 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6091 rigorously the search for "class" etc. followed by ":".
6092
6093 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6094 random languages a regexp which never matches rather than nil.
6095
b5eb9035
AM
6096 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6097
6098 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6099 (c-awk-regexp-one-line-possibly-open-char-list-re)
6100 (c-awk-one-line-possibly-open-regexp-re)
6101 (c-awk-one-line-non-syn-ws*-re): Remove.
6102 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6103 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6104 (c-awk-space*-unclosed-regexp-/-re): New constants.
6105 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6106 aren't regexp delimiters.
6107
6108 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6109 handling for a rare situation in AWK Mode involving unterminated
6110 strings/regexps.
6111
61611d54
GM
61122013-08-23 Glenn Morris <rgm@gnu.org>
6113
2d85dc34
GM
6114 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6115
cb8d2612
GM
6116 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6117
bb35f42f
GM
6118 * files.el (create-file-buffer): If the result would begin with
6119 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6120
b9808e77
SM
61212013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6122
e3a66363
SM
6123 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6124 text-properties (bug#15155).
6125
b9808e77
SM
6126 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6127 exist any more.
6128 (calc-keypad-redraw): Remove unused var `pad'.
6129 (calc-keypad-press): Remove unused var `menu'.
6130
7fd5f65e
MR
61312013-08-23 Martin Rudalics <rudalics@gmx.at>
6132
b9808e77
SM
6133 * window.el (display-buffer-pop-up-frame):
6134 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6135 use it as the new frame's buffer (Bug#15133).
6136
8352b530
SM
61372013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * calendar/timeclock.el: Minor cleanups.
6140 (timeclock-ask-before-exiting, timeclock-use-display-time):
6141 Use `symbol'.
6142 (timeclock-modeline-display): Define as alias before the
6143 actual definition.
6144 (timeclock-mode-line-display): Use define-minor-mode.
6145 (timeclock-day-list-template): Make it a function, add an argument.
6146 (timeclock-day-list-required, timeclock-day-list-length)
6147 (timeclock-day-list-debt, timeclock-day-list-span)
6148 (timeclock-day-list-break): Adjust calls accordingly.
6149
9f7b1925
SM
61502013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6153 Use read--expression so that completion works again.
6154
6e50e983
SS
61552013-08-21 Sam Steingold <sds@gnu.org>
6156
6157 Add rudimentary inferior shell interaction
6158 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6159 (sh-set-shell): Reset it.
9f7b1925
SM
6160 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6161 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6162
dbb0d350
SM
61632013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6164
6165 * align.el: Use lexical-binding.
6166 (align-region): Simplify accordingly.
6167
c88586a9
MA
61682013-08-20 Michael Albinus <michael.albinus@gmx.de>
6169
6170 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6171
6172 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6173 `non-essential' up.
6174
f95527c8
MA
61752013-08-17 Michael Albinus <michael.albinus@gmx.de>
6176
6177 * net/tramp.el:
6178 * net/tramp-adb.el:
6179 * net/tramp-cmds.el:
6180 * net/tramp-ftp.el:
6181 * net/tramp-gvfs.el:
6182 * net/tramp-gw.el:
6183 * net/tramp-sh.el: Don't wrap external variable declarations by
6184 `eval-when-compile'.
6185
4b5fe4ee
LMI
61862013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6187
6188 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6189 now that Emacs supports ImageMagick animations.
6190
13c366c9
MA
61912013-08-16 Michael Albinus <michael.albinus@gmx.de>
6192
6193 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6194 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6195
3dfc5cd6
MR
61962013-08-16 Martin Rudalics <rudalics@gmx.at>
6197
6198 * window.el (mouse-autoselect-window-select): Do autoselect when
6199 mouse pointer is on margin.
6200
4bbb4381
WP
62012013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6202
6203 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6204
3a2ddc2d
GM
62052013-08-16 Glenn Morris <rgm@gnu.org>
6206
e8bedf5a
GM
6207 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6208 Handle "Remote Directory" response of some clients. (Bug#15058)
6209
58c4682f
GM
6210 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6211 Tweak warning. (Bug#14926)
6212
57953f49
GM
6213 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6214 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6215
3a2ddc2d
GM
6216 * image-mode.el (image-mode-map): Add menu items to reverse,
6217 increase, decrease, reset animation speed.
6218 (image--set-speed, image-increase-speed, image-decrease-speed)
6219 (image-reverse-speed, image-reset-speed): New functions.
6220 (image-mode-map): Add bindings for speed commands.
6221
6222 * image.el (image-animate-get-speed, image-animate-set-speed):
6223 New functions.
6224 (image-animate-timeout): Respect image :speed property.
6225
10fa0ed3
SM
62262013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6227
6228 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6229 previous line (bug#15101).
6230 (debugger-eval-expression, debugger-record-expression):
6231 Use read--expression (bug#15102).
6232
5d89d9d2
MA
62332013-08-15 Michael Albinus <michael.albinus@gmx.de>
6234
6235 Remove byte compiler warnings, visible when compiling with
6236 `byte-compile-force-lexical-warnings' set to t.
6237
6238 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6239 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6240 (tramp-handle-unhandled-file-name-directory)
6241 (tramp-handle-file-notify-add-watch, tramp-action-login)
6242 (tramp-action-succeed, tramp-action-permission-denied)
6243 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6244 arguments with "_".
6245
6246 * net/tramp-adb.el (tramp-adb-parse-device-names)
6247 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6248 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6249 (tramp-adb-handle-file-truename): Remove unused arguments.
6250
6251 * net/tramp-cache.el (tramp-flush-directory-property)
6252 (tramp-flush-connection-property, tramp-list-connections)
6253 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6254
10fa0ed3
SM
6255 * net/tramp-compat.el (tramp-compat-make-temp-file):
6256 Rename FILENAME to F.
5d89d9d2
MA
6257
6258 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6259 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6260 (tramp-zeroconf-parse-workstation-device-names)
6261 (tramp-zeroconf-parse-webdav-device-names)
6262 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6263
6264 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6265 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6266
6267 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6268 arguments.
6269 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6270 (tramp-sh-handle-insert-file-contents-literally)
6271 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6272 with "_".
6273 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6274 Remove unused variables.
6275
6276 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6277 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6278 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6279
6280 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6281 Make them a defconst.
6282 (tramp-uuencode-region): Remove unused variable.
6283
62f33bae
JB
62842013-08-14 Juanma Barranquero <lekktu@gmail.com>
6285
6286 * frameset.el (frameset--prop-setter): New function.
6287 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6288 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6289 parameter was already set in FILTERED. Doc fix.
6290 (frameset--record-minibuffer-relationships): Allow saving a
6291 minibufferless frame without its corresponding minibuffer frame.
6292 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6293 frame, if the frame id matches.
6294 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6295 frames before orphaned ones.
6296 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6297
c660a885
MR
62982013-08-14 Martin Rudalics <rudalics@gmx.at>
6299
6300 * window.el (window-make-atom): Don't overwrite parameter
6301 already present.
6302 (display-buffer-in-atom-window): Handle special case where we
6303 split an already atomic window.
6304 (window--major-non-side-window, display-buffer-in-side-window)
6305 (window--side-check): Ignore minibuffer window when walking
6306 window tree.
6307 (window-deletable-p): Return 'frame only if no other frame uses
6308 our minibuffer window.
6309 (record-window-buffer): Run buffer-list-update-hook.
6310 (split-window): Make sure window--check-frame won't destroy an
6311 existing atomic window in case the new window gets nested
6312 inside.
6313 (display-buffer-at-bottom): Ignore minibuffer window when
6314 walking window tree. Don't split a side window.
6315 (pop-to-buffer): Don't set-buffer here, the select-window call
6316 should do that.
6317 (mouse-autoselect-window-select): Autoselect only if we are in the
6318 text portion of the window.
6319
8259030d
LMI
63202013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6321
21c58ae2
LMI
6322 * net/shr.el (shr-parse-image-data): New function to grab both the
6323 data itself and the Content-Type.
6324 (shr-put-image): Use it.
6325
6326 * net/eww.el (eww-display-image): Ditto.
6327
8259030d
LMI
6328 * image.el (image-content-type-suffixes): New variable.
6329
ad756449
FEG
63302013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6331
6332 * progmodes/python.el (python-imenu--build-tree)
6333 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6334
f73f4ce6
XF
63352013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6336
6337 * simple.el (backward-word): Mention the optional argument.
6338
1f585e65
SM
63392013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6340
6341 * frameset.el (frameset--make): Rename constructor from make-frameset.
6342 (frameset-p, frameset-valid-p): Don't autoload.
6343 (frameset-valid-p): Use normal accessors.
6344
af1c6c84
GM
63452013-08-13 Glenn Morris <rgm@gnu.org>
6346
55e47f95
GM
6347 * progmodes/compile.el (compile-command): Tweak example in doc.
6348 * obsolete/scribe.el (scribe-mode):
6349 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6350
f0024d8c
GM
6351 * mail/feedmail.el (feedmail-confirm-outgoing)
6352 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6353
6354 * cus-start.el (truncate-partial-width-windows): Fix type.
6355
6356 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6357
af1c6c84
GM
6358 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6359
5514cc4c
SM
63602013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 * emacs-lisp/timer.el (timer--time-setter): New function.
6363 (timer--time): Use it as gv-setter.
6364
6365 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6366 setter is not a symbol.
6367
7997a2f1
GJ
63682013-08-12 Grégoire Jadi <daimrod@gmail.com>
6369
6370 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6371 if sending fails. This makes debugging easier.
6372
01f1a9ab
JB
63732013-08-12 Juanma Barranquero <lekktu@gmail.com>
6374
6375 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6376 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6377 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6378
594a4307
EZ
63792013-08-12 Eli Zaretskii <eliz@gnu.org>
6380
6381 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6382
7a22490f 63832013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6384
6385 * format.el (format-annotate-function):
6386 Handle read-only text properties in the source. (Bug#14887)
6387
3e41a054
LMI
63882013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6389
5514cc4c
SM
6390 * net/eww.el (eww-display-html): Ignore coding system errors.
6391 One web site uses "utf-8lias" as the coding system.
3e41a054 6392
7ec326db
JB
63932013-08-11 Juanma Barranquero <lekktu@gmail.com>
6394
6395 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6396
5660113b
JB
63972013-08-10 Juanma Barranquero <lekktu@gmail.com>
6398
9a4ebc74
JB
6399 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6400 (tutorial--detailed-help): Remove unused local variables.
6401 (tutorial--save-tutorial-to): Use ignore-errors.
6402 (help-with-tutorial): Use looking-at-p.
6403
6404 * view.el (view-buffer-other-window, view-buffer-other-frame):
6405 Mark unused arguments.
6406
6407 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6408 (woman-select-symbol-fonts, woman, woman-find-file)
6409 (woman-insert-file-contents, woman-non-underline-faces):
6410 Use string-match-p.
6411 (woman1-unquote): Move declaration.
6412
6413 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6414 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6415 argument. Remove unused local variable.
6416 (xml-parse-elem-type): Use string-match-p.
6417 (xml-substitute-numeric-entities): Use ignore-errors.
6418
45fdb482
JB
6419 * calculator.el (calculator): Mark unused argument.
6420 (calculator-paste, calculator-quit, calculator-integer-p):
6421 Use ignore-errors.
6422 (calculator-string-to-number, calculator-decimal, calculator-exp)
6423 (calculator-op-or-exp): Use string-match-p.
6424
6425 * dired.el (dired-buffer-more-recently-used-p): Declare.
6426 (dired-insert-set-properties, dired-insert-old-subdirs):
6427 Use ignore-errors.
6428
6429 * dired-aux.el (dired-compress): Use ignore-errors.
6430 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6431 (dired-do-async-shell-command, dired-do-shell-command)
6432 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6433 (dired-insert-subdir-validate): Use string-match-p.
6434 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6435 (dired-add-entry): Use string-match-p, looking-at-p.
6436 (dired-insert-subdir-newpos): Remove unused local variable.
6437
6438 * filenotify.el (file-notify-callback): Remove unused local variable.
6439
6440 * filesets.el (filesets-error): Mark unused argument.
6441 (filesets-which-command-p, filesets-filter-dir-names)
6442 (filesets-directory-files, filesets-get-external-viewer)
6443 (filesets-ingroup-get-data): Use string-match-p.
6444
6445 * find-file.el (ff-other-file-name, ff-other-file-name)
6446 (ff-find-the-other-file, ff-cc-hh-converter):
6447 Remove unused local variables.
6448 (ff-get-file-name): Use string-match-p.
6449 (ff-all-dirs-under): Use ignore-errors.
6450
6451 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6452 (follow-select-if-visible): Remove unused local variable.
6453
6454 * forms.el (read-file-filter): Move declaration.
6455 (forms--make-format, forms--make-parser, forms-insert-record):
6456 Quote function with #'.
6457 (forms--update): Use string-match-p. Quote function with #'.
6458
6459 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6460 (help-make-xrefs): Use looking-at-p.
6461 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6462
6463 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6464 (ibuffer-confirm-operation-on): Use string-match-p.
6465
6466 * msb.el (msb-item-handler, msb-dired-item-handler):
6467 Mark unused arguments.
6468
6469 * ses.el (ses-decode-cell-symbol)
6470 (ses-kill-override): Remove unused local variable.
6471 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6472 (ses-load): Use ignore-errors, looking-at-p.
6473 (ses-jump-safe): Use ignore-errors.
6474 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6475
6476 * tabify.el (untabify, tabify): Mark unused arguments.
6477
6478 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6479 Mark unused argument.
6480 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6481 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6482
c880af52
JB
6483 * emacs-lisp/timer.el (timer--time): Define setter with
6484 gv-define-setter to avoid deprecation warning.
6485
5660113b 6486 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6487 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6488 (cmpl-statistics-block): Remove (body was commented out).
6489 All callers changed.
6490 (add-completions-from-buffer, load-completions-from-file):
6491 Remove unused variables.
6492
156aab80
JB
64932013-08-09 Juanma Barranquero <lekktu@gmail.com>
6494
5c5dee78
JB
6495 * filecache.el (file-cache-delete-file-list):
6496 Print message only when told so.
6497 (file-cache-files-matching): Use #' in mapconcat argument.
6498
156aab80
JB
6499 * ffap.el (ffap-url-at-point): Fix reference to variable
6500 thing-at-point-default-mail-uri-scheme.
6501
ad9dcd70
SM
65022013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6503
54bd972f
SM
6504 * subr.el (define-error): New function.
6505 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6506 error-file-not-found and define with define-error.
6507 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6508 and define with define-error.
6509 * userlock.el (file-locked, file-supersession):
6510 * simple.el (mark-inactive):
6511 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6512 * progmodes/ada-mode.el (ada-mode-errors):
6513 * play/life.el (life-extinct):
6514 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6515 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6516 * nxml/rng-util.el (rng-error):
6517 * nxml/rng-uri.el (rng-uri-error):
6518 * nxml/rng-match.el (rng-compile-error):
6519 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6520 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6521 * nxml/nxml-rap.el (nxml-scan-error):
6522 * nxml/nxml-outln.el (nxml-outline-error):
6523 * net/soap-client.el (soap-error):
6524 * net/gnutls.el (gnutls-error):
6525 * net/ange-ftp.el (ftp-error):
6526 * mpc.el (mpc-proc-error):
6527 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6528 (json-number-format, json-string-escape, json-string-format)
6529 (json-key-format, json-object-format):
6530 * jka-compr.el (compression-error):
6531 * international/quail.el (quail-error):
6532 * international/kkc.el (kkc-error):
6533 * emacs-lisp/ert.el (ert-test-failed):
6534 * calc/calc.el (calc-error, inexact-result, math-overflow)
6535 (math-underflow):
6536 * bookmark.el (bookmark-error-no-filename):
6537 * epg.el (epg-error): Define with define-error.
6538
0ea9e53a
SM
6539 * time.el (display-time-event-handler)
6540 (display-time-next-load-average): Don't call sit-for since it seems
6541 unnecessary (bug#15045).
6542
b0429158
SM
6543 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6544 Use #' instead of ' to quote functions.
6545 (checkdoc-output-mode): Use setq-local.
6546 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6547 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6548 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6549 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6550 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6551 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6552 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6553 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6554
ad9dcd70
SM
6555 * ido.el (ido-completion-help): Fix up compiler warning.
6556
77187e6f
JB
65572013-08-09 Juanma Barranquero <lekktu@gmail.com>
6558
6559 * frameset.el (frameset-p): Add autoload cookie.
6560 (frameset--jump-to-register): New function, based on code moved from
6561 register.el.
6562 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6563
6564 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6565 (frameset-restore, frameset-save, frameset-session-filter-alist):
6566 Remove declarations.
6567 (register-alist): Doc fix.
6568 (frameset-to-register): Move to frameset.el.
6569 (jump-to-register, describe-register-1): Remove frameset-specific code.
6570
9d3aa82c
JB
65712013-08-08 Juanma Barranquero <lekktu@gmail.com>
6572
6573 * allout-widgets.el (allout-widgets-pre-command-business)
6574 (allout-widgets-post-command-business)
6575 (allout-widgets-after-change-handler)
6576 (allout-decorate-item-and-context, allout-set-boundary-marker)
6577 (allout-body-modification-handler)
6578 (allout-graphics-modification-handler): Mark ignored arguments.
6579 (allout-widgets-post-command-business)
6580 (allout-widgets-exposure-change-processor)
6581 (allout-widgets-exposure-undo-processor)
6582 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6583 (allout-parse-item-at-point, allout-decorate-item-guides)
6584 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6585 * allout.el (epa-passphrase-callback-function): Declare.
6586 (allout-overlay-insert-in-front-handler)
6587 (allout-overlay-interior-modification-handler)
6588 (allout-isearch-end-handler, allout-chart-siblings)
6589 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6590 (allout-yank-processing, allout-process-exposed)
6591 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6592 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6593 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6594 (lisp-indent-defform): Mark ignored arguments.
6595 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6596 (calculate-lisp-indent): Remove unused variables.
6597 * international/characters.el (indian-2-column, arabic-2-column)
6598 (tibetan): Mark ignored arguments.
6599 (use-cjk-char-width-table): Mark ignored arguments.
6600 Remove unused variables.
6601 * international/fontset.el (build-default-fontset-data)
6602 (x-compose-font-name, create-fontset-from-fontset-spec):
6603 Mark ignored arguments.
6604 (fontset-plain-name): Remove unused variables.
6605 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6606 (keyboard-coding-system): Mark ignored arguments.
6607 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6608 * help.el (resize-temp-buffer-window):
6609 * window.el (display-buffer-in-major-side-window)
6610 (display-buffer-in-side-window, display-buffer-in-previous-window):
6611 Remove unused variables.
6612 * isearch.el (isearch-forward-symbol):
6613 * version.el (emacs-bzr-version-bzr):
6614 * international/mule-cmds.el (current-language-environment):
6615 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6616 (x-handle-display):
6617 * term/pc-win.el (x-list-fonts, x-display-planes)
6618 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6619 (x-server-version, x-display-screens, x-display-mm-height)
6620 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6621 (x-selection-owner-p, x-own-selection-internal)
6622 (x-disown-selection-internal, x-get-selection-internal)
6623 (msdos-initialize-window-system):
6624 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6625 * term/x-win.el (x-handle-no-bitmap-icon):
6626 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6627 (vc-default-find-file-hook, vc-default-extra-menu):
6628 Mark ignored arguments.
6629
0ca3f70e
SM
66302013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6631
6632 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6633 break-condition in the context of the debugged code (bug#12685).
6634
74c5d24c
CS
66352013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6636
6637 * comint.el:
6638 Do not use an overlay to highlight the last prompt. (Bug#14744)
6639 (comint-mode): Make comint-last-prompt buffer local.
6640 (comint-last-prompt): New variable.
6641 (comint-last-prompt-overlay): Remove. Superseded by
6642 comint-last-prompt.
0ca3f70e
SM
6643 (comint-snapshot-last-prompt, comint-output-filter):
6644 Use comint-last-prompt.
74c5d24c 6645
c03c02ee
JB
66462013-08-08 Juanma Barranquero <lekktu@gmail.com>
6647
a3738d20 6648 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6649 (frameset-save): Check validity of the resulting frameset.
6650
04263d23
XF
66512013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6652
6653 * ido.el (ido-record-command): Add doc string.
6654
76c5e5ab
JB
66552013-08-08 Juanma Barranquero <lekktu@gmail.com>
6656
6657 * frameset.el (frameset): Do not disable creation of the default
6658 frameset-p predicate. Doc fix.
6659 (frameset-valid-p): New function, copied from the old predicate-p.
6660 Add additional checks.
6661 (frameset-restore): Check with frameset-valid-p.
6662 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6663 (frameset-name, frameset-description, frameset-properties)
6664 (frameset-states): Add docstring.
f9dbf1cb
JB
6665 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6666 (frameset-filter-alist): Doc fixes.
76c5e5ab 6667
bd0c3c0b
JB
66682013-08-08 Juanma Barranquero <lekktu@gmail.com>
6669
6670 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6671
c735544c
SM
66722013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6673
6674 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6675 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6676 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6677 (byte-compile-normal-call): Remove obsolescence check.
6678
2805a651
JB
66792013-08-08 Juanma Barranquero <lekktu@gmail.com>
6680
3677ffeb
JB
6681 * frameset.el (frameset-restore): Doc fix.
6682
2805a651
JB
6683 * register.el (frameset-frame-id, frameset-frame-with-id)
6684 (frameset-p, frameset-restore, frameset-save): Declare.
6685 (register-alist): Document framesets.
6686 (frameset-session-filter-alist): Declare.
6687 (frameset-to-register): New function.
6688 (jump-to-register): Implement jumping to framesets. Doc fix.
6689 (describe-register-1): Describe framesets.
6690
6691 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6692
a912c016
JB
66932013-08-07 Juanma Barranquero <lekktu@gmail.com>
6694
6695 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6696 Use lexical-binding.
6697
6698 * frameset.el (frameset): Use type vector, not list (incompatible
6699 change). Do not declare a new constructor, use the default one.
6700 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6701 `name' and `description', respectively, and add read-only slot
6702 `timestamp'. Doc fixes.
6703 (frameset-copy, frameset-persistent-filter-alist)
6704 (frameset-filter-alist, frameset-switch-to-gui-p)
6705 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6706 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6707 (frameset-filter-iconified, frameset-keep-original-display-p):
6708 Doc fixes.
6709 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6710 Rename from frameset-filter-(save|restore)-param. All callers changed.
6711 Doc fix.
6712 (frameset-p): Adapt to change to vector and be more thorough.
6713 Change arg name to OBJECT. Doc fix.
6714 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6715 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6716 All callers changed.
6717 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6718 All callers changed.
6719 (frameset--record-minibuffer-relationships): Rename from
6720 frameset--process-minibuffer-frames. All callers changed.
6721 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6722 Use new default constructor (again). Doc fix.
6723 (frameset--find-frame-if): Rename from `frameset--find-frame.
6724 All callers changed.
6725 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6726 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6727 Doc fix.
6728 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6729 PARAMETERS and WINDOW-STATE, respectively.
6730 (frameset-restore): Add new keyword argument PREDICATE.
6731 Reset frameset--target-display to nil. Doc fix.
6732
bb41480a
SM
67332013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6734
f001e98e
SM
6735 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6736 (bat-mode): Use it.
6737 (bat-mode-syntax-table): Mark \n as end-of-comment.
6738 (bat-font-lock-keywords): Remove comment rule.
6739
7679edb1
SM
6740 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6741 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6742
bb41480a
SM
6743 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6744 (byte-compile-callargs-warn): Use `push'.
6745 (byte-compile-arglist-warn): Ignore higher-order "calls".
6746 (byte-compile-file-form-autoload): Use `pcase'.
6747 (byte-compile-function-form): If quoting a symbol, check that it exists.
6748
cdc1ebb9
EZ
67492013-08-07 Eli Zaretskii <eliz@gnu.org>
6750
6751 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6752 and add a few popular commands found in batch files.
6753 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6754 (dos-mode): Doc fixes.
6755
312b1740
SM
67562013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6757
6758 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6759 (dos-mode): Use setq-local. Add space after "rem".
6760 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6761 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6762
400a3178
AM
67632013-08-07 Arni Magnusson <arnima@hafro.is>
6764
6765 * progmodes/dos.el: New file.
6766 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6767 dos-mode.
6768
3b5c03d3
GM
67692013-08-06 Glenn Morris <rgm@gnu.org>
6770
6771 * calendar/calendar.el: Add new faces, and day-header-array.
6772 (calendar-weekday-header, calendar-weekend-header)
6773 (calendar-month-header): New faces.
6774 (calendar-day-header-construct): New function.
6775 (calendar-day-header-width): Also :set calendar-day-header-array.
6776 (calendar-american-month-header, calendar-european-month-header)
6777 (calendar-iso-month-header): Use calendar- faces.
6778 (calendar-generate-month):
6779 Use calendar-day-header-array for day headers; apply faces to them.
6780 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6781 (calendar-abbrev-construct): Add optional maxlen argument.
6782 (calendar-day-name-array): Doc fix.
6783 (calendar-day-name-array, calendar-abbrev-length)
6784 (calendar-day-abbrev-array):
6785 Also :set calendar-day-header-array, and maybe redraw.
6786 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6787 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6788 (calendar-day-name): Add option to use header array.
6789
ec6a2d7a
LMI
67902013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6791
6792 * net/shr.el (shr-render-td): Remove debugging.
6793 (shr-render-td): Make width computation consistent by defaulting
6794 all zero-width columns to 10 characters. This may not be optimal,
6795 but it's at least consistent.
2122cb6d
LMI
6796 (shr-make-table-1): Redo last change to fix the real problem in
6797 colspan handling.
ec6a2d7a 6798
ed4fd9c5
DA
67992013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6800
0ca3f70e
SM
6801 * files.el (cache-long-line-scans):
6802 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6803
64e22afe
JB
68042013-08-06 Juanma Barranquero <lekktu@gmail.com>
6805
024b38fc
JB
6806 * frameset.el (frameset, frameset-filter-alist)
6807 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6808 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6809 (frameset-compute-pos): Rename from frameset--compute-pos,
6810 and add docstring.
6811 (frameset-move-onscreen): Use frameset-compute-pos.
6812 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6813
64e22afe
JB
6814 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6815 Fix typos in docstrings.
6816
c8c2aca8
DA
68172013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6818
6819 * frame.el (get-other-frame): Tiny cleanup.
6820
1d237bba
JB
68212013-08-06 Juanma Barranquero <lekktu@gmail.com>
6822
8951efef
JB
6823 * vc/vc.el (vc-default-ignore-completion-table):
6824 Silence byte-compiler warning.
6825
307764cc 6826 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 6827 slot, which can indeed be nil.
307764cc
JB
6828 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6829 Move entry for `left' from persistent to live filter alist.
6830 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6831 Doc fixes.
6832 (frameset-filter-params): When restoring a frame, copy items added to
6833 `filtered', to avoid unwittingly modifying the original parameters.
6834 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6835 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6836
1d237bba
JB
6837 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6838 to use looking-at-p instead of looking-at. (Bug#15028)
6839
dc6c0eda
SM
68402013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 Revert introduction of isearch-filter-predicates (bug#14714).
6843 Rely on add-function instead.
6844 * isearch.el (isearch-filter-predicates): Rename it back to
6845 isearch-filter-predicate.
6846 (isearch-message-prefix): Use advice-function-mapc and advice
6847 properties to get the isearch-message-prefix.
6848 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6849 instead of run-hook-with-args-until-failure.
6850 (isearch-filter-visible): Not obsolete any more.
6851 * loadup.el: Preload nadvice.
6852 * replace.el (perform-replace): Revert to funcall
6853 instead of run-hook-with-args-until-failure.
6854 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6855 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6856 dired-isearch-filenames-toggle; make it into a proper minor mode.
6857 Use add/remove-function.
6858 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6859 Call the minor-mode rather than add/remove-hook.
6860 (dired-isearch-filter-filenames):
6861 Remove isearch-message-prefix property.
6862 * info.el (Info--search-loop): New function, extracted from Info-search.
6863 Funcall isearch-filter-predicate instead of
6864 run-hook-with-args-until-failure isearch-filter-predicates.
6865 (Info-search): Use it.
6866 (Info-mode): Use isearch-filter-predicate instead of
6867 isearch-filter-predicates.
6868
290d5b58
DA
68692013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6870
6871 Do not call to `selected-window' where it is assumed by default.
6872 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6873 `window-hscroll', `window-width', `window-height', `window-buffer',
6874 `window-frame', `window-start', `window-point', `next-window'
6875 and `window-display-table'.
6876 * abbrev.el (abbrev--default-expand):
6877 * bs.el (bs--show-with-configuration):
6878 * buff-menu.el (Buffer-menu-mouse-select):
6879 * calc/calc.el (calc):
6880 * calendar/calendar.el (calendar-generate-window):
6881 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6882 (diary-make-entry):
6883 * comint.el (send-invisible, comint-dynamic-complete-filename)
6884 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6885 * completion.el (complete):
6886 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6887 * disp-table.el (describe-current-display-table):
6888 * doc-view.el (doc-view-insert-image):
6889 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6890 * ehelp.el (with-electric-help):
6891 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6892 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6893 * emacs-lisp/helper.el (Helper-help-scroller):
6894 * emulation/cua-base.el (cua--post-command-handler-1):
6895 * eshell/esh-mode.el (eshell-output-filter):
6896 * ffap.el (ffap-gnus-wrapper):
6897 * help-macro.el (make-help-screen):
6898 * hilit-chg.el (highlight-compare-buffers):
6899 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6900 * hl-line.el (global-hl-line-highlight):
6901 * icomplete.el (icomplete-simple-completing-p):
6902 * isearch.el (isearch-done):
6903 * jit-lock.el (jit-lock-stealth-fontify):
6904 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6905 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6906 * mpc.el (mpc-tagbrowser, mpc):
6907 * net/rcirc.el (rcirc-any-buffer):
6908 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6909 * play/landmark.el (landmark-max-width, landmark-max-height):
6910 * play/zone.el (zone):
6911 * progmodes/compile.el (compilation-goto-locus):
6912 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6913 * progmodes/etags.el (find-tag-other-window):
6914 * progmodes/fortran.el (fortran-column-ruler):
6915 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6916 * progmodes/verilog-mode.el (verilog-point-text):
6917 * reposition.el (reposition-window):
6918 * rot13.el (toggle-rot13-mode):
6919 * server.el (server-switch-buffer):
6920 * shell.el (shell-dynamic-complete-command)
6921 (shell-dynamic-complete-environment-variable):
6922 * simple.el (insert-buffer, set-selective-display)
6923 (delete-completion-window):
6924 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6925 (speedbar-recenter):
6926 * startup.el (fancy-splash-head):
6927 * textmodes/ispell.el (ispell-command-loop):
6928 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6929 * tutorial.el (help-with-tutorial):
6930 * vc/add-log.el (add-change-log-entry):
6931 * vc/compare-w.el (compare-windows):
6932 * vc/ediff-help.el (ediff-indent-help-message):
6933 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6934 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6935 (ediff-setup-control-frame):
6936 * vc/emerge.el (emerge-position-region):
6937 * vc/pcvs-util.el (cvs-bury-buffer):
6938 * window.el (walk-windows, mouse-autoselect-window-select):
6939 * winner.el (winner-set-conf, winner-undo): Related users changed.
6940
38276e01
JB
69412013-08-05 Juanma Barranquero <lekktu@gmail.com>
6942
6943 * frameset.el (frameset--set-id): Doc fix.
6944 (frameset-frame-id, frameset-frame-id-equal-p)
6945 (frameset-locate-frame-id): New functions.
6946 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6947 (frameset-restore): Use them.
6948
12b4c0ea
DA
69492013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6950
6951 Do not call to `selected-frame' where it is assumed by default.
6952 Affected functions are `raise-frame', `redraw-frame',
6953 `frame-first-window', `frame-terminal' and `delete-frame'.
6954 * calendar/appt.el (appt-disp-window):
6955 * epg.el (epg-wait-for-completion):
6956 * follow.el (follow-delete-other-windows-and-split)
6957 (follow-avoid-tail-recenter):
6958 * international/mule.el (set-terminal-coding-system):
6959 * mail/rmail.el (rmail-mail-return):
6960 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6961 * progmodes/f90.el (f90-add-imenu-menu):
6962 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6963 * server.el (server-switch-buffer):
6964 * simple.el (delete-completion-window):
6965 * talk.el (talk):
6966 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6967 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6968 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6969 * vc/ediff.el (ediff-documentation): Related users changed.
6970 * frame.el (selected-terminal): Remove the leftover.
6971
17f25e76
GM
69722013-08-05 Glenn Morris <rgm@gnu.org>
6973
6974 * calendar/calendar.el (calendar-generate-month):
6975 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6976 (calendar-generate-month, calendar-font-lock-keywords):
6977 Fix for calendar-day-header-width > length of any day name.
17f25e76 6978
063233c3
JB
69792013-08-05 Juanma Barranquero <lekktu@gmail.com>
6980
6981 * desktop.el (desktop-clear): Use new name of sort predicate.
6982
6983 * frameset.el (frameset): Add docstring. Move :version property to its
6984 own `version' slot.
6985 (frameset-copy): Rename from copy-frameset.
6986 (frameset-p): Check more thoroughly.
6987 (frameset-prop): Do not check for :version, which is no longer a prop.
6988 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6989 Use new :never value instead of t.
6990 (frameset-filter-alist): Expand and clarify docstring.
6991 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6992 (frameset-filter-minibuffer, frameset-filter-save-param)
6993 (frameset-filter-restore-param, frameset-filter-iconified):
6994 Add pointer to docstring of frameset-filter-alist.
6995 (frameset-filter-params): Rename filter values to be more meaningful:
6996 :never instead of t, and reverse the meanings of :save and :restore.
6997 (frameset--process-minibuffer-frames): Clarify error message.
6998 (frameset-save): Avoid unnecessary and confusing call to framep.
6999 Use new BOA constructor for framesets.
7000 (frameset--reuse-list): Doc fix.
7001 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7002 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7003 (frameset-minibufferless-first-p): Doc fix.
7004 Rename from frameset-sort-frames-for-deletion.
7005 (frameset-restore): Doc fixes. Use new function names.
7006 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7007
d5671a82
JB
70082013-08-04 Juanma Barranquero <lekktu@gmail.com>
7009
7010 * desktop.el (desktop-restore-forces-onscreen)
7011 (desktop-restore-reuses-frames): Document :keyword constant values.
7012 (desktop-filter-parameters-alist): Remove, now identical to
7013 frameset-filter-alist.
7014 (desktop--filter-tty*): Remove, moved to frameset.el.
7015 (desktop-save-frameset, desktop-restore-frameset):
7016 Do not pass :filters argument.
7017
7018 * frameset.el (frameset-live-filter-alist)
7019 (frameset-persistent-filter-alist): New variables.
7020 (frameset-filter-alist): Use them. Add autoload cookie.
7021 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7022 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7023 `frameset--id' (it's supposed to be internal to frameset.el).
7024 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7025 (frameset--initial-params): New function.
7026 (frameset--get-frame): Use it. Doc fix.
7027 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7028 Accept :all, not 'all.
7029 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7030 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7031 with fbound symbols. Fix frame id matching, and remove matching ids if
7032 the frame being restored is deleted. Obey :delete.
7033
671d5c16
SM
70342013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 * subr.el (macrop): New function.
7037 (text-clone--maintaining): New var.
7038 (text-clone--maintain): Rename from text-clone-maintain. Use it
7039 instead of inhibit-modification-hooks.
7040
7041 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7042 a proxy, so as handle autoloads and redefinitions of the target.
7043 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7044
7045 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7046 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7047 (pcase--mutually-exclusive-p): New function.
7048 (pcase--split-consp): Use it.
7049 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7050 mutually exclusive with the current predicate.
7051
7052 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7053 (edebug-macrop): Remove. Use `macrop' instead.
7054 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7055 (ad-macro-p):
7056 * eshell/esh-cmd.el (eshell-macrop):
7057 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7058
1d44e9dc
SM
70592013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7060
7061 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7062 (advice-mapc): New function, using it.
7063 (advice-function-member-p): New function.
7064 (advice--normalize): Store the cdr in advice--saved-rewrite since
7065 that's the part that will be changed.
7066 (advice--symbol-function): New function.
7067 (advice-remove): Handle removal before the function is defined.
7068 Adjust to new advice--saved-rewrite.
7069 (advice-member-p): Use advice-function-member-p and
7070 advice--symbol-function.
7071
5414a283
JB
70722013-08-04 Juanma Barranquero <lekktu@gmail.com>
7073
51d30f2c
JB
7074 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7075 (frameset-filter-minibuffer): Doc fix.
7076 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7077 (frameset--set-id, frameset--process-minibuffer-frames)
7078 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7079 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7080
5414a283
JB
7081 * desktop.el (desktop-clear): Only delete frames when called
7082 interactively and desktop-restore-frames is non-nil. Doc fix.
7083 (desktop-read): Set desktop-saved-frameset to nil.
7084
ab419665
XF
70852013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7086
7087 * vc/vc.el (vc-ignore): Rewrite.
7088 (vc-default-ignore-completion-table):
7089 (vc--read-lines):
7090 (vc--add-line, vc--remove-regexp): New functions.
7091
7092 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7093 (vc-svn-ignore-completion-table): New function.
7094
7095 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7096 (vc-hg-ignore-completion-table):
7097 (vc-hg-find-ignore-file): New functions.
7098
7099 * vc/vc-git.el (vc-git-ignore): Rewrite.
7100 (vc-git-ignore-completion-table):
7101 (vc-git-find-ignore-file): New functions.
7102
7103 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7104
7105 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7106 (vc-bzr-ignore-completion-table):
7107 (vc-bzr-find-ignore-file): New functions.
7108
2613dea2
JB
71092013-08-03 Juanma Barranquero <lekktu@gmail.com>
7110
7111 * frameset.el (frameset-prop): New function and setter.
7112 (frameset-save): Do not modify frame list passed by the caller.
7113
9c959872
SM
71142013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7115
7116 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7117
a104f656
SM
71182013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7119
70122acf
SM
7120 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7121 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7122
a104f656
SM
7123 * custom.el (custom-initialize-default, custom-initialize-set)
7124 (custom-initialize-reset, custom-initialize-changed): Affect the
7125 toplevel-default-value (bug#6275, bug#14586).
7126 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7127 for bug#6275.
7128
f078d570
JB
71292013-08-02 Juanma Barranquero <lekktu@gmail.com>
7130
185e3b5a
JB
7131 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7132 Add cl-def* expressions.
7133
f078d570
JB
7134 * frameset.el (frameset-filter-params): Fix order of arguments.
7135
9421876d
JB
71362013-08-02 Juanma Barranquero <lekktu@gmail.com>
7137
7138 Move code related to saving frames to frameset.el.
7139 * desktop.el: Require frameset.
7140 (desktop-restore-frames): Doc fix.
7141 (desktop-restore-reuses-frames): Rename from
7142 desktop-restoring-reuses-frames.
7143 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7144 (desktop-clear): Clear frames too.
7145 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7146 (desktop--filter-tty*, desktop-save, desktop-read):
7147 Use frameset functions.
7148 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7149 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7150 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7151 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7152 (desktop--process-minibuffer-frames, desktop-save-frames)
7153 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7154 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7155 (desktop--sort-states, desktop-restoring-frames-p)
7156 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7157 (desktop-restoring-frameset-p, desktop-restore-frameset)
7158 (desktop--check-dont-save, desktop-save-frameset): New functions.
7159 (desktop--app-id): New constant.
7160 (desktop-first-buffer, desktop-buffer-ok-count)
7161 (desktop-buffer-fail-count): Move before first use.
7162 * frameset.el: New file.
7163
76dc5996
SM
71642013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7165
7166 * files.el: Use lexical-binding.
7167 (dir-locals-read-from-file): Remove unused `err' variable.
7168 (hack-dir-local-variables--warned-coding): New var.
7169 (hack-dir-local-variables): Use it to avoid repeated warnings.
7170 (make-backup-file-name--default-function): New function.
7171 (make-backup-file-name-function): Use it as default.
7172 (buffer-stale--default-function): New function.
7173 (buffer-stale-function): Use it as default.
7174 (revert-buffer-insert-file-contents--default-function): New function.
7175 (revert-buffer-insert-file-contents-function): Use it as default.
7176 (insert-directory): Avoid add-to-list.
7177
7178 * autorevert.el (auto-revert-handler): Simplify.
7179 Use buffer-stale--default-function.
7180
06d36e2b
TH
71812013-08-01 Tassilo Horn <tsdh@gnu.org>
7182
5f648ab4
TH
7183 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7184
06d36e2b
TH
7185 * whitespace.el (whitespace-ensure-local-variables): New function.
7186 (whitespace-cleanup-region): Call it.
7187 (whitespace-turn-on): Call it.
7188
a43dc424
MA
71892013-08-01 Michael Albinus <michael.albinus@gmx.de>
7190
7191 Complete file name handlers.
7192
7193 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7194 (tramp-handle-verify-visited-file-modtime)
7195 (tramp-handle-file-notify-rm-watch): New functions.
7196 (tramp-call-process): Do not bind `default-directory'.
7197
44e18199
JB
7198 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7199 Order alphabetically.
a43dc424
MA
7200 [access-file, add-name-to-file, dired-call-process]:
7201 [dired-compress-file, file-acl, file-notify-rm-watch]:
7202 [file-ownership-preserved-p, file-selinux-context]:
7203 [make-directory-internal, make-symbolic-link, set-file-acl]:
7204 [set-file-selinux-context, set-visited-file-modtime]:
7205 [verify-visited-file-modtime]: Add handler.
7206 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7207
7208 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7209 [file-notify-add-watch, file-notify-rm-watch]:
7210 [set-file-times, set-visited-file-modtime]:
7211 [verify-visited-file-modtime]: Add handler.
7212 (with-tramp-gvfs-error-message)
7213 (tramp-gvfs-handle-set-visited-file-modtime)
7214 (tramp-gvfs-fuse-file-name): Remove.
7215 (tramp-gvfs-handle-file-notify-add-watch)
7216 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7217 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7218
44e18199
JB
7219 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7220 Order alphabetically.
a43dc424
MA
7221 [file-notify-rm-watch ]: Use default Tramp handler.
7222 [executable-find]: Remove private handler.
7223 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7224 `default-directory'.
7225 (tramp-sh-handle-executable-find)
7226 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7227 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7228 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7229 Do not use `format' in `tramp-message'.
7230
7231 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7232 [file-notify-rm-watch, set-visited-file-modtime]:
7233 [verify-visited-file-modtime]: Add handler.
7234 (tramp-smb-call-winexe): Do not bind `default-directory'.
7235
7188b515
XF
72362013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7237
7238 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7239
2412ee1a
DG
72402013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7241
7242 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7243 use it.
7244 (log-view-diff-changeset): Same.
7245 (log-view-diff-common): Call backend command `previous-revision'
7246 to find out the previous revision, in both cases. Swap the
7247 variables `to' and `fr', so that `fr' usually refers to the
7248 earlier revision (Bug#14989).
7249
5002a754
KRC
72502013-07-31 Kan-Ru Chen <kanru@kanru.info>
7251
7252 * ibuf-ext.el (ibuffer-filter-by-filename):
7253 Make it work with dired buffers too.
7254
44e18199 72552013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7256
7257 * emacs-lisp/re-builder.el (reb-color-display-p):
7258 * files.el (save-buffers-kill-terminal):
7259 * net/browse-url.el (browse-url):
7260 * server.el (server-save-buffers-kill-terminal):
7261 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7262 Prefer nil to selected-frame for the first arg of frame-parameter.
7263
aeca3fbb
XF
72642013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7265
7266 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7267
158bc55c
SB
72682013-07-30 Stephen Berman <stephen.berman@gmx.net>
7269
7270 * minibuffer.el (completion--twq-all): Try and preserve each
7271 completion's case choice (bug#14907).
7272
d50fceab
LMI
72732013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7274
ac38e731
LMI
7275 * net/network-stream.el (open-network-stream): Mention the new
7276 :nogreeting parameter.
7277 (network-stream-open-starttls): Use the :nogreeting parameter
7278 (bug#14938).
7279
1211de50
LMI
7280 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7281
997798bf
LMI
7282 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7283 more natural than popping.
7284
d50fceab 7285 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7286 (shr-urlify): Highlight under mouse.
d50fceab 7287
5c09de04
XF
72882013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7289
207d1d04
XF
7290 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7291
7292 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7293
5c09de04
XF
7294 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7295 buffer for output.
7296
3cd51eaa
XF
7297 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7298 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7299
44e18199 7300 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7301 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7302
7303 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7304
7305 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7306 buffer for output.
7307
35a89bdd
EZ
73082013-07-29 Eli Zaretskii <eliz@gnu.org>
7309
7310 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7311 initial frame is minibuffer-less. (Bug#14841)
7312
78822e94
MA
73132013-07-29 Michael Albinus <michael.albinus@gmx.de>
7314
7315 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7316 option.
7317
7318 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7319 (tramp-maybe-open-connection): Use it.
7320
9503c190
JB
73212013-07-28 Juanma Barranquero <lekktu@gmail.com>
7322
7323 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7324 minimal set of parameters passed when creating a frame, because
7325 the minibuffer status of a frame cannot be changed later.
7326
d5a845b4
SB
73272013-07-28 Stephen Berman <stephen.berman@gmx.net>
7328
7329 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7330 replace-regexp-in-string and inadvertent omissions in previous change.
7331 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7332 name of filtered items buffer.
d5a845b4 7333
ddeffb17
JB
73342013-07-28 Juanma Barranquero <lekktu@gmail.com>
7335
7336 * desktop.el: Optionally force offscreen frames back onscreen.
7337 (desktop-restoring-reuses-frames): New option.
7338 (desktop--compute-pos, desktop--move-onscreen): New functions.
7339 (desktop--make-frame): Use desktop--move-onscreen.
7340
f5950f7a
AM
73412013-07-27 Alan Mackenzie <acm@muc.de>
7342
7343 Fontify a Java generic method as a function.
7344 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7345 value to t.
7346
ae43b66a
SB
73472013-07-27 Stephen Berman <stephen.berman@gmx.net>
7348
7349 * calendar/todo-mode.el: Add command to rename todo files.
7350 (todo-rename-file): New command.
7351 (todo-key-bindings-t): Add key binding for it. Change the
7352 bindings of todo-filter-regexp-items(-multifile) to use `x'
7353 instead of `r', since the latter is better suited to the new
7354 renaming command.
7355
5ab78d3d
AM
73562013-07-27 Alan Mackenzie <acm@muc.de>
7357
7358 Make Java try-with-resources statement parse properly.
7359 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7360 (c-block-stmt-1-2-key): New language constants/variables.
7361 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7362 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7363 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7364 with c-block-stmt-1-2-key.
5ab78d3d 7365
d85c4d50
JB
73662013-07-27 Juanma Barranquero <lekktu@gmail.com>
7367
7368 * desktop.el (desktop--make-frame): Apply most frame parameters after
7369 creating the frame to force (partially or totally) offscreen frames to
7370 be restored as such.
7371
e4c467f9
XF
73722013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7373
7374 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7375 (Bug#14948)
e4c467f9 7376
7ced0d04
SM
73772013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7378
7379 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7380 `base' arg of backtrace-frame.
7381
fec92060
EZ
73822013-07-26 Eli Zaretskii <eliz@gnu.org>
7383
7384 * simple.el (list-processes): Doc fix.
7385
d58d31fb
JB
73862013-07-26 Juanma Barranquero <lekktu@gmail.com>
7387
7388 * desktop.el (desktop--select-frame):
d85c4d50 7389 Try harder to reuse existing frames.
d58d31fb 7390
53ff3e77
SM
73912013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7392
7393 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7394 (edebug-eval): Use backtrace-eval.
7395 (edebug--display, edebug--recursive-edit): Don't let-bind the
7396 edebug-outer-* vars that keep track of variables we locally let-bind.
7397 (edebug-outside-excursion): Don't restore outside values of locally
7398 let-bound vars.
7399 (edebug--display): Use user-error.
7400 (cl-lexical-debug, cl-debug-env): Remove.
7401
045f7a53
JB
74022013-07-26 Juanma Barranquero <lekktu@gmail.com>
7403
7404 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7405 are restored to be sure that they are visible before deleting any
7406 remaining ones.
7407
59070b32
MM
74082013-07-26 Matthias Meulien <orontee@gmail.com>
7409
742a3501
XF
7410 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7411 vc-print-root-log. (Bug#14948)
59070b32 7412
b1fb3596
RS
74132013-07-26 Richard Stallman <rms@gnu.org>
7414
7415 Add aliases for encrypting mail.
7416 * epa.el (epa-mail-aliases): New option.
7417 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7418 Bind inhibit-read-only so read-only text doesn't ruin everything.
7419 (epa-mail-default-recipients): New subroutine broken out.
7420 Handle epa-mail-aliases.
7421
56ea7291
SM
74222013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7423
7424 Add support for lexical variables to the debugger's `e' command.
7425 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7426 vars, except for debugger-outer-match-data.
7427 (debugger-frame-number): Move check for "on a function call" from
7428 callers into it. Add `skip-base' argument.
7429 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7430 (debugger-env-macro): Only reset the state stored in non-variables,
7431 i.e. current-buffer and match-data.
7432 (debugger-eval-expression): Rewrite using backtrace-eval.
7433 * subr.el (internal--called-interactively-p--get-frame): Remove.
7434 (called-interactively-p):
7435 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7436 `base' arg of backtrace-frame instead.
7437
15ac32d5
GM
74382013-07-26 Glenn Morris <rgm@gnu.org>
7439
8358a09d
GM
7440 * align.el (align-regexp): Doc fix. (Bug#14857)
7441 (align-region): Explicit error if subexpression missing/does not match.
7442
15ac32d5
GM
7443 * simple.el (global-visual-line-mode):
7444 Do not duplicate the mode lighter. (Bug#14858)
7445
f47ad11b
MR
74462013-07-25 Martin Rudalics <rudalics@gmx.at>
7447
7448 * window.el (display-buffer): In display-buffer bind
7449 split-window-keep-point to t, bug#14829.
7450
02530987
JB
74512013-07-25 Juanma Barranquero <lekktu@gmail.com>
7452
7453 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7454 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7455 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7456 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7457 Change accordingly.
f63ebeb5
JB
7458 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7459 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7460
6ccb9cab 74612013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7462
6ccb9cab 7463 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7464
cb3a56d2
JB
74652013-07-25 Juanma Barranquero <lekktu@gmail.com>
7466
7467 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7468 parameter to modify-frame-parameters if the value has not changed;
7469 this is a workaround for bug#14949.
7470 (desktop--make-frame): On cl-delete-if call, check parameter name,
7471 not full parameter.
7472
7aa7fff0
XF
74732013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7474
7475 * vc/vc.el (vc-ignore): New function.
7476
7477 * vc/vc-svn.el (vc-svn-ignore): New function.
7478
7479 * vc/vc-hg.el (vc-hg-ignore): New function.
7480
7481 * vc/vc-git.el (vc-git-ignore): New function.
7482
7483 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7484 (vc-dir-ignore): New function.
7485
7486 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7487 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7488
7489 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7490
7491 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7492
889acc5c
JB
74932013-07-24 Juanma Barranquero <lekktu@gmail.com>
7494
7495 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7496 (desktop-restore-frames): Warn when deleting an existing frame failed.
7497
86c40970
GM
74982013-07-24 Glenn Morris <rgm@gnu.org>
7499
7500 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7501
d5d3c58a
MA
75022013-07-24 Michael Albinus <michael.albinus@gmx.de>
7503
7504 * filenotify.el (file-notify-supported-p):
7505 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7506 Remove functions.
7507
7508 * autorevert.el (auto-revert-use-notify):
7509 (auto-revert-notify-add-watch):
7510 * net/tramp.el (tramp-file-name-for-operation):
7511 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7512 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7513 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7514 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7515 Remove `file-notify-supported-p' entry.
7516
d100084b
GM
75172013-07-24 Glenn Morris <rgm@gnu.org>
7518
7519 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7520 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7521
ac93e56b
SM
75222013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7523
249eea30
SM
7524 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7525 checked with memq (bug#14935).
7526
ac93e56b
SM
7527 * files.el (revert-buffer-function): Use a non-nil default.
7528 (revert-buffer-preserve-modes): Declare var to
7529 provide access to the `preserve-modes' argument.
7530 (revert-buffer): Let-bind it.
7531 (revert-buffer--default): New function, extracted from revert-buffer.
7532
2cdeb903
SM
75332013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * lpr.el: Signal print errors more prominently.
7536 (print-region-function): Don't default to nil.
7537 (lpr-print-region): New function, extracted from print-region-1.
7538 Check lpr's return value and signal an error in case of problem.
7539 (print-region-1): Use it.
7540 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7541 versions instead.
7542 (ps-printer-name): Default to nil.
7543 (ps-printer-name-option): Default to lpr-printer-switch.
7544 (ps-print-region-function): Don't default to nil.
7545 (ps-postscript-code-directory): Simplify default.
7546 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7547 (ps-string-list, ps-eval-switch, ps-flatten-list)
7548 (ps-flatten-list-1): Remove.
7549 (ps-multibyte-buffer): Avoid setq.
7550 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7551 (print-region-function, ps-print-region-function): Don't set them here.
7552
73600831
XF
75532013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7554
0e55c076
XF
7555 * ido.el (ido-fractionp):
7556 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7557 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7558 (ido-max-directory-size, ido-max-dir-file-cache)
7559 (ido-decorations): Doc fix.
7560
73600831
XF
7561 * ansi-color.el: Fix old URL.
7562
3d012865
MM
75632013-07-23 Michael R. Mauger <michael@mauger.com>
7564
e903c210 7565 * progmodes/sql.el: Version 3.3
3d012865
MM
7566 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7567 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7568 (sql-interactive-remove-continuation-prompt): Rewrite, use
7569 functions above. Fix continuation prompt and complete output line
7570 handling.
7571 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7572 redirected output buffer.
7573 (sql-mode): Restore deleted code (Bug#13591).
7574
da77a2e2
JB
75752013-07-23 Juanma Barranquero <lekktu@gmail.com>
7576
7577 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7578
80ff0c71
MA
75792013-07-23 Michael Albinus <michael.albinus@gmx.de>
7580
7581 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7582
7583 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7584 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7585 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7586
b61d71e4
JB
75872013-07-23 Juanma Barranquero <lekktu@gmail.com>
7588
7589 * desktop.el (desktop-clear): Simplify; remove useless checks
7590 against invalid buffer names.
7591 (desktop-list*): Use cl-list*.
7592 (desktop-buffer-info, desktop-create-buffer): Simplify.
7593
c3512092
LL
75942013-07-23 Leo Liu <sdl.web@gmail.com>
7595
7596 * bookmark.el (bookmark-make-record): Restore NAME as a default
7597 value. (Bug#14933)
7598
0ac26976
SM
75992013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7600
7d22ce18
SM
7601 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7602 extracted from autoload--insert-text.
7603 (autoload--insert-text): Remove.
7604 (autoload--print-cookie-text): New function, extracted from
7605 autoload--insert-cookie-text.
7606 (autoload--insert-cookie-text): Remove.
7607 (autoload-generate-file-autoloads): Adjust calls accordingly.
7608
9b2607e8
SM
7609 * winner.el (winner-hook-installed-p): Remove.
7610 (winner-mode): Simplify accordingly.
7611
c43a8618
SM
7612 * subr.el (add-to-list): Fix compiler-macro when `append' is
7613 not constant. Don't use `cl-member' for the base case.
7614
0ac26976
SM
7615 * progmodes/subword.el: Fix boundary case (bug#13758).
7616 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7617 own group.
7618 (subword-backward-regexp): Make it a constant.
7619 (subword-forward-internal): Don't treat a trailing capital as the
7620 beginning of a word.
7621
6874724a
AR
76222013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7623
7624 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7625 global value of tabulated-list-revert-hook (bug#14930).
7626
70f1b5e8
JB
76272013-07-22 Juanma Barranquero <lekktu@gmail.com>
7628
a1c80d9d
JB
7629 * desktop.el: Require 'cl-lib.
7630 (desktop-before-saving-frames-functions): New hook.
7631 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7632 for frames being saved. Rename from desktop--save-minibuffer-frames.
7633 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7634 Do not save frames with non-nil `desktop-dont-save' parameter.
7635 Filter out deleted frames.
a1c80d9d
JB
7636 (desktop--find-frame): Use cl-find-if.
7637 (desktop--select-frame): Use cl-(first|second|third) to access values
7638 of desktop-mini.
7639 (desktop--make-frame): Use cl-delete-if.
7640 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7641 (desktop-restore-frames): Use cl-(first|second|third) to access values
7642 of desktop-mini. Look for visible frame at the end, not while
7643 restoring frames.
7644
70f1b5e8
JB
7645 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7646 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7647 Use string-match-p, looking-at-p (bug#14927).
7648
728dc3cc
JB
76492013-07-21 Juanma Barranquero <lekktu@gmail.com>
7650
56bc453c
JB
7651 * desktop.el (desktop-saved-frame-states):
7652 Rename from desktop--saved-states; all users changed.
7653 (desktop-save-frames): Rename from desktop--save-frames.
7654 Do not save state to desktop file.
7655 (desktop-save): Save desktop-saved-frame-states to desktop file
7656 and reset to nil.
7657 (desktop-restoring-frames-p): New function.
7658 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7659 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7660 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7661
728dc3cc
JB
7662 * desktop.el: Correctly restore iconified frames.
7663 (desktop--filter-iconified-position): New function.
7664 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7665
862f1c9c
GM
76662013-07-20 Glenn Morris <rgm@gnu.org>
7667
c4074c9f
GM
7668 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7669 Let `message' do the formatting.
7670 (def-gdb-preempt-display-buffer): Add explicit format.
7671
d828e5f9
GM
7672 * image-dired.el (image-dired-track-original-file):
7673 Use with-current-buffer.
7674 (image-dired-track-thumbnail): Use with-current-buffer.
7675 Avoid changing point of wrong window.
7676
862f1c9c
GM
7677 * image-dired.el (image-dired-track-original-file):
7678 Avoid changing point of wrong window. (Bug#14909)
7679
f0398ec1 76802013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7681
7682 * progmodes/gdb-mi.el (gdb-done-or-error):
7683 Guard against "%" in gdb output. (Bug#14127)
7684
1451928f
AS
76852013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7686
763a086d
JB
7687 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7688 (Bug#14826)
f7a03897 7689
1451928f
AS
7690 * international/mule.el (coding-system-iso-2022-flags): Fix last
7691 change.
7692
99107004
KH
76932013-07-20 Kenichi Handa <handa@gnu.org>
7694
763a086d
JB
7695 * international/mule.el (coding-system-iso-2022-flags):
7696 Add `8-bit-level-4'. (Bug#8522)
99107004 7697
48494e06
LMI
76982013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7699
8ba8eec5
LMI
7700 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7701 (bug#14815).
7702
dfbc66e3
LMI
7703 * net/eww.el (eww-process-text-input): Allow inputting when the
7704 point is at the start of the line, as the properties aren't
7705 front-sticky.
7706
48494e06
LMI
7707 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7708 degenerate widths.
7709
77c92cb9
RS
77102013-07-19 Richard Stallman <rms@gnu.org>
7711
aec7da77
RS
7712 * epa.el (epa-popup-info-window): Doc fix.
7713
77c92cb9
RS
7714 * subr.el (split-string): New arg TRIM.
7715
945c5bb1
JB
77162013-07-18 Juanma Barranquero <lekktu@gmail.com>
7717
7718 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7719 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7720
e06ec67f
MA
77212013-07-18 Michael Albinus <michael.albinus@gmx.de>
7722
c7064f05 7723 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7724 `file-notify-support'. Do not autoload. Adapt all uses.
7725 (file-notify-supported-p): New defun.
7726
c7064f05
JB
7727 * autorevert.el (auto-revert-use-notify):
7728 Use `file-notify-supported-p' instead of `file-notify-support'.
7729 Adapt docstring.
e06ec67f
MA
7730 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7731
7732 * net/tramp.el (tramp-file-name-for-operation):
7733 Add `file-notify-supported-p'.
7734
7735 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7736 New defun.
7737 (tramp-sh-file-name-handler-alist): Add it as handler for
7738 `file-notify-supported-p '.
7739
7740 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7741 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7742 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7743 Add `ignore' as handler for `file-notify-*' functions.
7744
5dc8a629
EZ
77452013-07-17 Eli Zaretskii <eliz@gnu.org>
7746
7747 * simple.el (line-move-partial, line-move): Don't start vscroll or
7748 scroll-up if the current line is not taller than the window.
7749 (Bug#14881)
7750
77aea2fb
DG
77512013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7752
7753 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7754 highlight question marks in the method names as strings.
ac72c08d
DG
7755 (ruby-block-beg-keywords): Inline.
7756 (ruby-font-lock-keyword-beg-re): Extract from
7757 `ruby-font-lock-keywords'.
77aea2fb 7758
18c26d81
JD
77592013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7760
7761 * frame.el (blink-cursor-blinks): New defcustom.
7762 (blink-cursor-blinks-done): New defvar.
7763 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7764 (blink-cursor-timer-function): Check if number of blinks has been
7765 done on X and NS.
7766 (blink-cursor-suspend, blink-cursor-check): New defuns.
7767
da48522e
GM
77682013-07-15 Glenn Morris <rgm@gnu.org>
7769
7770 * edmacro.el (edmacro-format-keys): Fix previous change.
7771
0463c1ef
PE
77722013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7773
7774 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7775 The hack didn't work outside English locales anyway.
7776
b43f6451
JB
77772013-07-15 Juanma Barranquero <lekktu@gmail.com>
7778
7779 * simple.el (define-alternatives): Rename from alternatives-define,
7780 per RMS' suggestion.
7781
b958c0ad
JB
77822013-07-14 Juanma Barranquero <lekktu@gmail.com>
7783
7784 * desktop.el (desktop-restore-frames): Change default to t.
7785 (desktop-restore-in-current-display): Now offer more options.
7786 (desktop-restoring-reuses-frames): New customization option.
7787 (desktop--saved-states): Doc fix.
7788 (desktop-filter-parameters-alist): New variable, renamed and expanded
7789 from desktop--excluded-frame-parameters.
7790 (desktop--target-display): New variable.
7791 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7792 (desktop--filter-tty*, desktop--filter-*-color)
7793 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7794 (desktop--filter-save-desktop-parm)
7795 (desktop-restore-in-original-display-p): New functions.
7796 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7797 (desktop--save-minibuffer-frames): New function, inspired by a similar
7798 function from Martin Rudalics.
7799 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7800 (desktop--restore-in-this-display-p): Remove.
7801 (desktop--find-frame): Rename from desktop--find-frame-in-display
7802 and add predicate argument.
7803 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7804 (desktop--reuse-list): New variable.
7805 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7806 New functions.
7807 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7808
f6dd8b36
MA
78092013-07-14 Michael Albinus <michael.albinus@gmx.de>
7810
7811 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7812
2ce3c565
DG
78132013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7814
763a086d
JB
7815 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7816 Highlight conversion methods on Kernel.
2ce3c565 7817
2cdb7698
AM
78182013-07-13 Alan Mackenzie <acm@muc.de>
7819
7820 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7821 and comment it out. This out-commenting enables certain C++
7822 declarations to be parsed correctly.
7823
1a67b811
EZ
78242013-07-13 Eli Zaretskii <eliz@gnu.org>
7825
1b796d6b
EZ
7826 * international/mule.el (define-coding-system): Doc fix.
7827
1a67b811
EZ
7828 * simple.el (default-font-height): Don't call font-info if the
7829 frame's default font didn't change since the frame was created.
7830 (Bug#14838)
7831
58fbe886
LL
78322013-07-13 Leo Liu <sdl.web@gmail.com>
7833
7834 * ido.el (ido-read-file-name): Guard against non-symbol value.
7835
1f0480d4
FEG
78362013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7837
7838 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7839 in nested defuns.
7840
97ead0e5
LL
78412013-07-13 Leo Liu <sdl.web@gmail.com>
7842
7843 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7844 ido-set-matches call. (Bug#6852)
7845
0880a952
DG
78462013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7847
7848 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7849 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7850 Ruby 2.0.
7851 (ruby-font-lock-keywords): Distinguish calls to functions with
7852 module-like names from module references. Highlight character
7853 literals.
7854
a7d8babb
SDJ
78552013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7856
7857 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7858 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7859
acfcc8c5
JB
78602013-07-12 Juanma Barranquero <lekktu@gmail.com>
7861
7862 * desktop.el (desktop--v2s): Remove unused local variable.
7863 (desktop-save-buffer): Make defvar-local; adjust docstring.
7864 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7865 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7866
051f2775
AS
78672013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7868
7869 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7870
f24e7572
GM
78712013-07-12 Eli Zaretskii <eliz@gnu.org>
7872
7873 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7874 (Bug#14842)
7875
539a920c
GM
78762013-07-12 Glenn Morris <rgm@gnu.org>
7877
7878 * doc-view.el: Require cl-lib at runtime too.
7879 (doc-view-remove-if): Remove.
7880 (doc-view-search-next-match, doc-view-search-previous-match):
7881 Use cl-remove-if.
7882
7883 * edmacro.el: Require cl-lib at runtime too.
7884 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7885 (edmacro-mismatch, edmacro-subseq): Remove.
7886
7887 * shadowfile.el: Require cl-lib.
7888 (shadow-remove-if): Remove.
7889 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7890 Use cl-remove-if.
7891
7892 * wid-edit.el: Require cl-lib.
7893 (widget-choose): Use cl-remove-if.
7894 (widget-remove-if): Remove.
7895
7896 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7897 (ebrowse-delete-if-not): Remove.
7898 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7899 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7900 Use cl-delete-if-not.
7901
1048af7c
JB
79022013-07-12 Juanma Barranquero <lekktu@gmail.com>
7903
7904 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7905 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7906
6c0674ee
LL
79072013-07-12 Leo Liu <sdl.web@gmail.com>
7908
7909 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7910
a19b3c2d
GM
79112013-07-11 Glenn Morris <rgm@gnu.org>
7912
4582a01c
GM
7913 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7914 (edebug-gensym-index, edebug-gensym):
7915 Remove reimplementation of cl-gensym.
7916 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7917
7918 * thumbs.el: Require cl-lib at run-time too.
7919 (thumbs-gensym-counter, thumbs-gensym):
7920 Remove reimplementation of cl-gensym.
7921 (thumbs-temp-file): Use cl-gensym.
7922
a19b3c2d
GM
7923 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7924 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7925 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7926 (ert--union, ert--gensym-counter, ert--gensym-counter)
7927 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7928 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7929 (ert-make-test-unbound, ert--expand-should-1)
7930 (ert--expand-should, ert--should-error-handle-error)
7931 (should-error, ert--explain-equal-rec)
7932 (ert--plist-difference-explanation, ert-select-tests)
7933 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7934 Use cl-lib functions rather than reimplementations.
7935
88f6a933
MA
79362013-07-11 Michael Albinus <michael.albinus@gmx.de>
7937
7938 * net/tramp.el (tramp-methods): Extend docstring.
7939 (tramp-connection-timeout): New defcustom.
7940 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7941 (with-tramp-progress-reporter): Simplify.
7942 (tramp-process-actions): Improve messages.
7943
7944 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7945 * net/tramp-sh.el (tramp-maybe-open-connection):
7946 Use `tramp-connection-timeout'.
7947 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7948 (Bug#14808)
7949
a43d577e
LL
79502013-07-11 Leo Liu <sdl.web@gmail.com>
7951
7952 * ido.el (ido-read-file-name): Conform to the requirements of
7953 read-file-name. (Bug#11861)
7954 (ido-read-directory-name): Conform to the requirements of
7955 read-directory-name.
7956
d77974bf
JB
79572013-07-11 Juanma Barranquero <lekktu@gmail.com>
7958
7959 * subr.el (delay-warning): New function.
7960
35cb8a3e
EZ
79612013-07-10 Eli Zaretskii <eliz@gnu.org>
7962
7963 * simple.el (default-line-height): New function.
7964 (line-move-partial, line-move): Use it instead of computing the
7965 line height inline.
7966 (line-move-partial): Always compute ROWH. If the last line is
7967 partially-visible, but its text is completely visible, allow
7968 cursor to enter such a partially-visible line.
7969
525c5c77
MA
79702013-07-10 Michael Albinus <michael.albinus@gmx.de>
7971
7972 Improve error messages. (Bug#14808)
7973
7974 * net/tramp.el (tramp-current-connection): New defvar, moved from
7975 tramp-sh.el.
0ac26976 7976 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7977 needed anymore.
0ac26976
SM
7978 (tramp-error-with-buffer): Show message in minibuffer.
7979 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7980 (with-tramp-progress-reporter): Improve messages.
7981 (tramp-process-actions): Use progress reporter. Delete process in
7982 case of error. Improve messages.
7983
763a086d
JB
7984 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7985 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7986 (tramp-current-connection): Remove.
525c5c77
MA
7987 (tramp-maybe-open-connection): The car of
7988 `tramp-current-connection' are the first 3 slots of the vector.
7989
c7a4d368
TZ
79902013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7991
7992 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7993 inside continued strings.
7994
954b166e
PE
79952013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7996
7997 Timestamp fixes for undo (Bug#14824).
7998 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7999
56973319
LL
80002013-07-10 Leo Liu <sdl.web@gmail.com>
8001
8002 * files.el (require-final-newline): Allow safe local value.
8003 (Bug#14834)
8004
5550a72c
LL
80052013-07-09 Leo Liu <sdl.web@gmail.com>
8006
8007 * ido.el (ido-read-directory-name): Handle fallback.
8008 (ido-read-file-name): Update DIR to ido-current-directory.
8009 (Bug#1516)
c28b9050 8010 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 8011
70c46b28
DG
80122013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8013
8014 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8015 "autoload". Remove "warn lower camel case" section, previously
8016 commented out. Highlight negation char. Do not highlight the
8017 target in singleton method definitions.
8018
0b64b838
SM
80192013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8020
7fd72e2c
SM
8021 * faces.el (tty-setup-hook): Declare the hook.
8022
0b64b838
SM
8023 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8024 and detect when a guard/pred depends on local vars (bug#14773).
8025 (pcase--u1): Adjust caller.
8026
ab49d60b
EZ
80272013-07-08 Eli Zaretskii <eliz@gnu.org>
8028
8029 * simple.el (line-move-partial, line-move): Account for
8030 line-spacing.
701d79aa
EZ
8031 (line-move-partial): Avoid setting vscroll when the last
8032 partially-visible line in window is of default height.
ab49d60b 8033
2d756ae0
LMI
80342013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8035
8036 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8037 been used a while.
8038
ed095bd7
JB
80392013-07-07 Juanma Barranquero <lekktu@gmail.com>
8040
8041 * subr.el (read-quoted-char): Remove unused local variable `char'.
8042
f1e6674b
MK
80432013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8044
584ee3fc
GM
8045 * ediff.el (ediff-version): Version update.
8046 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8047 (ediff-merge-with-ancestor-command, ediff-directories-command)
8048 (ediff-directories3-command, ediff-merge-directories-command)
8049 (ediff-merge-directories-with-ancestor-command): New functions.
8050 All are command-line interfaces to ediff: to facilitate calling
8051 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8052
8053 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8054 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8055
584ee3fc
GM
8056 * viper.el (viper-version): Version update.
8057 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8058
584ee3fc
GM
80592013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8060
8061 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8062 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8063 (viper-intercept-ESC-key): Simplify.
8064 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8065 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8066 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8067 (viper-setup-ESC-to-escape): New functions.
8068 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8069 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8070
9aff9b38
EZ
80712013-07-07 Eli Zaretskii <eliz@gnu.org>
8072
5165d44a
JB
8073 * simple.el (default-font-height, window-screen-lines):
8074 New functions.
9aff9b38
EZ
8075 (line-move, line-move-partial): Use them instead of
8076 frame-char-height and window-text-height. This makes scrolling
8077 text smoother when the buffer's default face uses a font that is
8078 different from the frame's default font.
8079
1afb1d07
JD
80802013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8081
8082 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8083 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8084
23de972a
EZ
80852013-07-06 Eli Zaretskii <eliz@gnu.org>
8086
8087 * simple.el (line-move-partial): Adjust the row returned by
8088 posn-at-point for the current window-vscroll. (Bug#14567)
8089
54a42486
MA
80902013-07-06 Michael Albinus <michael.albinus@gmx.de>
8091
8092 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8093 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8094 spaces.
8095
34ada5f4
MR
80962013-07-06 Martin Rudalics <rudalics@gmx.at>
8097
8098 * window.el (window-state-put-stale-windows): New variable.
8099 (window--state-put-2): Save list of windows without matching buffer.
8100 (window-state-put): Remove "bufferless" windows if possible.
8101
11e03d89
JB
81022013-07-06 Juanma Barranquero <lekktu@gmail.com>
8103
8104 * simple.el (alternatives-define): Remove leftover :group keyword.
8105 Tweak docstring.
8106
3504a4be
LL
81072013-07-06 Leo Liu <sdl.web@gmail.com>
8108
8109 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8110 (ido-enable-virtual-buffers): New variable.
8111 (ido-buffer-internal, ido-toggle-virtual-buffers)
8112 (ido-make-buffer-list): Use it.
8113 (ido-exhibit): Support turning on and off virtual buffers
8114 automatically.
8115
61e56e2c
JB
81162013-07-06 Juanma Barranquero <lekktu@gmail.com>
8117
8118 * simple.el (alternatives-define): New macro.
8119
321e1a9c
SM
81202013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8121
8122 * subr.el (read-quoted-char): Use read-key.
8123 (sit-for): Let read-event decode tty input (bug#14782).
8124
d610f6dd
SB
81252013-07-05 Stephen Berman <stephen.berman@gmx.net>
8126
8127 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8128 mode command and externally. Fix various related bugs.
8129 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8130 (todo-delete-file): New command.
8131 (todo-check-file): New function.
8132 (todo-show): Handle external deletion of the file we're trying to
8133 show (bug#14688). Replace called-interactively-p by an optional
8134 prefix argument to avoid problematic interaction with catch form
8135 when byte compiled (bug#14702).
8136 (todo-quit): Handle external deletion of the archive's todo file.
8137 Make sure the buffer that was visiting the archive file is still
8138 live before trying to bury it.
8139 (todo-category-completions): Handle external deletion of any
8140 category completion files.
8141 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8142 of todo files, in case of external deletion.
8143 (todo-add-file): Replace unnecessary setq by let-binding.
8144 (todo-find-archive): Check whether there are any archives.
8145 Replace unnecessary setq by let-binding.
8146 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8147 archive buffer whether or not the archive already exists.
8148 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8149 check if the archive is new; if it is, update list of archives.
8150 (todo-default-todo-file): Allow nil to be a valid value for when
8151 there are no todo files.
8152 (todo-reevaluate-default-file-defcustom): Use corrected definition
8153 of todo-default-todo-file.
8154 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8155 (todo-delete-category, todo-show-categories-table)
8156 (todo-category-number): Clarify comment.
8157 (todo-filter-items): Clarify documentation string.
8158 (todo-show-current-file, todo-display-as-todo-file)
8159 (todo-reset-and-enable-done-separator): Tweak documentation string.
8160 (todo-done-separator): Make separator length window-width, since
8161 bug#2749 is now fixed.
8162
ddbdfd6f
MA
81632013-07-05 Michael Albinus <michael.albinus@gmx.de>
8164
321e1a9c
SM
8165 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8166 Support both "gvfs-monitor-dir" and "inotifywait".
8167 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8168 `tramp-sh-file-notify-process-filter'.
8169 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8170 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8171
96eb829a
LL
81722013-07-05 Leo Liu <sdl.web@gmail.com>
8173
8174 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8175
cf13177e
YM
81762013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8177
8178 * frame.el (display-pixel-height, display-pixel-width)
8179 (display-mm-height, display-mm-width): Mention behavior on
8180 multi-monitor setups in docstrings.
8181 (w32-display-monitor-attributes-list): Declare function.
8182 (display-monitor-attributes-list): Use it.
8183
864c58ca
MA
81842013-07-04 Michael Albinus <michael.albinus@gmx.de>
8185
8186 * filenotify.el: New package.
8187
8188 * autorevert.el (top): Require filenotify.el.
8189 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8190 instead.
8191 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8192 (auto-revert-notify-handler): Use `file-notify-*' functions.
8193
8194 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8195
321e1a9c
SM
8196 * net/tramp.el (tramp-file-name-for-operation):
8197 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8198
8199 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8200 for `file-notify-add-watch' and `file-notify-rm-watch'.
8201 (tramp-process-sentinel): Improve trace.
8202 (tramp-sh-handle-file-notify-add-watch)
8203 (tramp-sh-file-notify-process-filter)
8204 (tramp-sh-handle-file-notify-rm-watch)
8205 (tramp-get-remote-inotifywait): New defuns.
8206
96673afe
JL
82072013-07-03 Juri Linkov <juri@jurta.org>
8208
8209 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8210 call of `occur-read-primary-args' to interactive spec.
8211
8212 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8213 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8214
924494f4
MM
82152013-07-03 Matthias Meulien <orontee@gmail.com>
8216
8217 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8218 `Buffer-menu-multi-occur'. Add it to the menu.
8219 (Buffer-menu-mode): Document it in docstring.
8220 (Buffer-menu-multi-occur): New command. (Bug#14673)
8221
56f75efc
DG
82222013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8223
8224 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8225 keywords and built-ins.
8226
9b057d61
GM
82272013-07-03 Glenn Morris <rgm@gnu.org>
8228
208dee4d
GM
8229 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8230
9b057d61
GM
8231 Make info-xref checks case-sensitive by default
8232 * info.el (Info-find-node, Info-find-in-tag-table)
8233 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8234 Add option for exact case matching of nodes.
8235 * info-xref.el (info-xref): New custom group.
8236 (info-xref-case-fold): New option.
8237 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8238
e01aa29c
LL
82392013-07-03 Leo Liu <sdl.web@gmail.com>
8240
8241 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8242
3086ca2e
DG
82432013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8244
8245 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8246 middle of block statement initially, lower the depth. Remove
8247 FIXME comment, not longer valid. Remove middle of block statement
8248 detection, no need to do that anymore since we've been using
8249 `ruby-parse-region' here.
8250
a3b49114
JD
82512013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8252
8253 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8254
08e5c823 82552013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8256
8257 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8258
2addf922
JB
82592013-07-01 Juanma Barranquero <lekktu@gmail.com>
8260
8261 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8262 (desktop-restore-in-current-display): New customization option.
8263 (desktop--excluded-frame-parameters): Add `font'.
8264 (desktop--save-frames): Rename from desktop--save-windows.
8265 (desktop--restore-in-this-display-p): New function.
8266 (desktop--make-full-frame): Remove unwanted width/height from
8267 full(width|height) frames.
8268 (desktop--restore-frames): Rename from desktop--restore-windows.
8269 Obey desktop-restore-current-display. Do not delete old frames or
8270 select a new frame unless we were able to restore at least one frame.
8271
ef099a94
MN
82722013-06-30 Michal Nazarewicz <mina86@mina86.com>
8273
8274 * files.el (find-file-noselect): Simplify conditional expression.
8275
a12bf61e 8276 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8277 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8278
8279 Add `remember-notes' function to store random notes across Emacs
8280 restarts.
3fcfc4ee
JB
8281 * textmodes/remember.el (remember-data-file): Add :set callback to
8282 affect notes buffer (if any).
ef099a94
MN
8283 (remember-notes): New command.
8284 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8285 New defcustoms for the `remember-notes' function.
8286 (remember-notes-save-and-bury-buffer): New command.
8287 (remember-notes-mode-map): New variable.
8288 (remember-mode): New minor mode.
8289 (remember-notes--kill-buffer-query): New function.
8290 * startup.el (initial-buffer-choice): Add notes to custom type.
8291
0865d506
EZ
82922013-06-30 Eli Zaretskii <eliz@gnu.org>
8293
0ba54312
EZ
8294 * bindings.el (right-char, left-char): Don't call sit-for, this is
8295 no longer needed. Use arithmetic comparison only for numerical
8296 arguments.
8297
ef099a94
MN
8298 * international/mule-cmds.el (select-safe-coding-system):
8299 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8300
2fae38e5
LMI
83012013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8302
8303 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8304 progression on degenerate tables.
ef099a94 8305 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8306
a47cbd64
JB
83072013-06-30 Juanma Barranquero <lekktu@gmail.com>
8308
8309 Some fixes and improvements for desktop frame restoration.
8310 It is still experimental and disabled by default.
8311 * desktop.el (desktop--save-windows): Put the selected frame at
8312 the head of the list.
8313 (desktop--make-full-frame): New function.
8314 (desktop--restore-windows): Try to re-select the frame that was
8315 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8316 just show an error message and continue. Set up maximized frames
8317 so they have default non-maximized dimensions.
a47cbd64 8318
6dbafa30
DG
83192013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8320
ef099a94
MN
8321 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8322 Don't start heredoc inside a string or comment.
6dbafa30 8323
4c672a0f
EZ
83242013-06-29 Eli Zaretskii <eliz@gnu.org>
8325
8326 * bindings.el (visual-order-cursor-movement): New defcustom.
8327 (right-char, left-char): Provide visual-order cursor motion by
8328 calling move-point-visually. Update the doc strings.
8329
50960f36
KH
83302013-06-28 Kenichi Handa <handa@gnu.org>
8331
8332 * international/mule.el (define-coding-system): New coding system
8333 properties :inhibit-null-byte-detection,
8334 :inhibit-iso-escape-detection, and :prefer-utf-8.
8335 (set-buffer-file-coding-system): If :charset-list property of
8336 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8337 appropriate for setting.
8338
c1ea3abf
JB
8339 * international/mule-cmds.el (select-safe-coding-system):
8340 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8341 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8342
8343 * international/mule-conf.el (prefer-utf-8): New coding system.
8344 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8345 files.
8346
75dbaf9d
IK
83472013-06-28 Ivan Kanis <ivan@kanis.fr>
8348
eadb6068
IK
8349 * net/shr.el (shr-render-region): New function.
8350
75dbaf9d
IK
8351 * net/eww.el: Autoload `eww-browse-url'.
8352
9ea5cf9f
DG
83532013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8354
c1ea3abf
JB
8355 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8356 Adapt to `package-desc-version' being a list.
8357 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8358 archive element.
8359
39c0e36f
JB
83602013-06-27 Juanma Barranquero <lekktu@gmail.com>
8361
8362 New experimental feature to save&restore window and frame setup.
8363 * desktop.el (desktop-save-windows): New defcustom.
8364 (desktop--saved-states): New var.
8365 (desktop--excluded-frame-parameters): New defconst.
8366 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8367 (desktop--restore-windows, desktop--save-windows): New functions.
8368 (desktop-save): Call `desktop--save-windows'.
8369 (desktop-read): Call `desktop--restore-windows'.
8370
7f13406b
LMI
83712013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8372
ef099a94 8373 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8374
1e072639
SB
83752013-06-27 Stephen Berman <stephen.berman@gmx.net>
8376
8377 * info.el (Info-try-follow-nearest-node): Move search for footnote
8378 above search for node name to prevent missing a footnote (bug#14717).
8379
f3e2cbde
SB
83802013-06-27 Stephen Berman <stephen.berman@gmx.net>
8381
8382 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8383
99906aa0
LL
83842013-06-27 Leo Liu <sdl.web@gmail.com>
8385
8386 * net/eww.el (eww-read-bookmarks): Check file size.
8387
539f75f4
SM
83882013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8389
8390 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8391 advice--pending if newdef is nil or an autoload (bug#13820).
8392 (advice-mapc): New function.
8393
843571cb
LMI
83942013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8395
8396 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8397 probably.
23a75d7f 8398 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8399 (eww-add-bookmark): New command.
8400 (eww-bookmark-mode): New mode and commands.
a285ce99 8401 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8402 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8403
f2136e1e
GM
84042013-06-26 Glenn Morris <rgm@gnu.org>
8405
eab35f39
GM
8406 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8407 (hfy-size): Handle ttys. (Bug#14668)
8408
f2136e1e
GM
8409 * info-xref.el: Update for Texinfo 5 change in *note format.
8410 (info-xref-node-re, info-xref-note-re): New constants.
8411 (info-xref-check-buffer): Use info-xref-note-re.
8412
a49ff80c
SM
84132013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8414
a343d218
SM
8415 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8416
a49ff80c
SM
8417 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8418 nil terminate the loop (bug#14718).
8419
8308f184
LMI
84202013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8421
8422 * net/eww.el: Rework history traversal. When going forward/back,
8423 put these actions into the history, too, so that they can be
8424 replayed.
26bf2b82 8425 (eww-render): Move the history reset to the correct buffer.
8308f184 8426
ec64c273
JL
84272013-06-25 Juri Linkov <juri@jurta.org>
8428
8429 * files-x.el (modify-dir-local-variable): Change the header comment
8430 in the file with directory local variables. (Bug#14692)
8431
e080a9d7
JL
8432 * files-x.el (read-file-local-variable-value): Add `default'.
8433 (Bug#14710)
8434
bfbc93a1
IK
84352013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8436
8437 * net/eww.el (eww-make-unique-file-name): Create a unique file
8438 name before saving to entering `y' accidentally asynchronously.
8439
84402013-06-25 Ivan Kanis <ivan@kanis.fr>
8441
8442 * net/eww.el (eww-download): New command and keystroke.
8443
16f74f10
LMI
84442013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8445
a49ff80c 8446 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8447
8448 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8449 be more consistent with Info and dired.
8450
8451 * net/eww.el (eww-mode-map): Ditto.
8452
12059709
SM
84532013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8456 packages from archives.
8457 (package-archive-contents): Change format; include obsolete packages.
8458 (package-desc): Use `dir' to mark builtin packages.
8459 (package--from-builtin): Set the `dir' field to `builtin'.
8460 (generated-autoload-file, version-control): Declare.
8461 (package-compute-transaction): Change first arg and return value to be
8462 lists of package-descs. Adjust to new package-archive-contents format.
8463 (package--add-to-archive-contents): Adjust to new
8464 package-archive-contents format.
8465 (package-download-transaction): Arg is now a list of package-descs.
8466 (package-install): If `pkg' is a package name, pass it as
8467 a requirement, so it is subject to the usual (e.g. disabled) checks.
8468 (describe-package): Accept package-desc as well.
8469 (describe-package-1): Describe a specific package-desc. Add links to
8470 other package-descs for the same package name.
8471 (package-menu-describe-package): Pass the actual package-desc.
8472 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8473 works correctly.
8474 (package-desc-status): New function.
8475 (package-menu--refresh): New function, extracted
8476 from package-menu--generate.
8477 (package-menu--generate): Use it.
8478 (package-delete): Update package-alist.
8479 (package-menu-execute): Don't call package-initialize.
8480
8481 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8482 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8483 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8484 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8485 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8486 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8487
8bbdea0f
MR
84882013-06-25 Martin Rudalics <rudalics@gmx.at>
8489
8490 * window.el (window--state-get-1): Workaround for bug#14527.
8491 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8492
e82b0991
LMI
84932013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8494
8495 * net/eww.el (eww-back-url): Implement the history by stashing all
8496 the data into a list.
d3f0f918 8497 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8498
c763842b
SM
84992013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8500
8501 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8502 for values and use read--expression for expressions (bug#14710).
8503 (read-file-local-variable): Avoid setq.
8504 (read-file-local-variable-mode): Use minor-mode-list.
8505
bceff189
RW
85062013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8507
864c58ca 8508 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8509 for DOI URLs.
8510
45f431c6
RW
85112013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8512
864c58ca 8513 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8514 Update imenu-support when dialect changes.
8515
f42d8237
LL
85162013-06-25 Leo Liu <sdl.web@gmail.com>
8517
8518 * ido.el (ido-read-internal): Allow forward slash on windows.
8519
be549ce6
LMI
85202013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8521
8522 * net/eww.el (eww): Start of strings is \\`, not ^.
8523
71d4c19d
IK
85242013-06-24 Ivan Kanis <ivan@kanis.fr>
8525
5196f88a
IK
8526 * net/shr.el (shr-browse-url): Fix interactive spec.
8527
71d4c19d
IK
8528 * net/eww.el (eww): Add a trailing slash to domain names.
8529
ae36ca55
JB
85302013-06-24 Juanma Barranquero <lekktu@gmail.com>
8531
8532 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8533
0ebd92a3
LMI
85342013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8535
bdaa086b
LMI
8536 * net/shr.el (shr-browse-url): Use an external browser if given a
8537 prefix.
8538
c763842b 8539 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8540
b89fc156
IK
85412013-06-24 Ivan Kanis <ivan@kanis.fr>
8542
8543 * net/eww.el (eww): Work more correctly for file: URLs.
8544 (eww-detect-charset): Allow quoted charsets.
8545 (eww-yank-page-url): New command and keystroke.
8546
18eb4bca
DU
85472013-06-24 Daiki Ueno <ueno@gnu.org>
8548
8549 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8550 file name of gpg executable.
8551 (epg-context-program): New function.
8552 (epg-context-home-directory): New function.
8553 (epg-context-set-program): New function.
8554 (epg-context-set-home-directory): New function.
8555 (epg--start): Use `epg-context-program' instead of
8556 'epg-gpg-program'.
8557 (epg--list-keys-1): Likewise.
8558
6c6268c8
LL
85592013-06-24 Leo Liu <sdl.web@gmail.com>
8560
8561 * ido.el (ido-read-internal): Fix bug#14620.
8562
5e400cb3
JB
85632013-06-23 Juanma Barranquero <lekktu@gmail.com>
8564
8565 * faces.el (face-documentation): Simplify.
8566 (read-face-attribute, tty-find-type, x-resolve-font-name):
8567 Use `string-match-p'.
8568 (list-faces-display): Use `string-match-p'. Simplify.
8569 (face-spec-recalc): Check face to avoid face alias loops.
8570 (read-color): Use `string-match-p' and non-capturing parenthesis.
8571
f3f9606c
LMI
85722013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8573
8574 * net/shr.el (shr-rescale-image): Use the new
8575 :max-width/:max-height functionality.
8576
a3ca09b9
IK
85772013-06-23 Ivan Kanis <ivan@kanis.fr>
8578
8579 * net/eww.el (eww-search-prefix): New variable.
8580 (eww): Use it.
f865b474
IK
8581 (eww-external-browser): New variable.
8582 (eww-mode-map): New keystroke.
8583 (eww-browse-with-external-browser): New command.
a3ca09b9 8584
e854cfc7
IK
8585 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8586
18bb9e21
JB
85872013-06-23 Juanma Barranquero <lekktu@gmail.com>
8588
8589 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8590 Don't skip aligning the next header field when padding is 0;
8591 otherwise, field width is not respected unless the title is as
8592 wide as the field.
8593
5b165ade
SM
85942013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8595
8596 * emacs-lisp/package.el (package-el-version): Remove.
8597 (package-process-define-package): Fix inf-loop.
8598 (package-install): Allow symbols as arguments again.
8599
12adebe9
DG
86002013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8601
8602 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8603 add some more keyword-like methods.
8604 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8605
388573ee
JB
86062013-06-22 Juanma Barranquero <lekktu@gmail.com>
8607
8608 * bs.el (bs-buffer-show-mark): Make defvar-local.
8609 (bs-mode): Use setq-local.
8610
8611 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8612 (emacs-lock--try-unlocking): Make defvar-local.
8613
4582a01c 86142013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8615
2663dd23
GM
8616 * play/cookie1.el (cookie-apropos): Minor simplification.
8617
3d94f3ad
GM
8618 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8619
f72e2fdb
DG
86202013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8621
8622 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8623 `regexp-opt', it breaks the build during dumping.
8624
73eab938
DG
86252013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8626
c763842b
SM
8627 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8628 Highlight keyword-like methods on Kernel and Module with
73eab938 8629 font-lock-builtin-face.
5cf8176d
DG
8630 (auto-mode-alist): Consolidate different entries into one regexp
8631 and add more *file-s.
73eab938 8632
d26255f6
SB
86332013-06-21 Stephen Berman <stephen.berman@gmx.net>
8634
8635 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8636
8637 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8638 (diary-entry): Use it in the action of this button type instead of
8639 diary-goto-entry.
8640
8641 * calendar/todo-mode.el: New version.
8642 (todo-add-category): Append new category to end of file and give
8643 it the highest number, instead of putting it at the beginning and
8644 giving it 0. Incorporate noninteractive functionality.
8645 (todo-forward-category): Adapt to 1-based category numbering.
8646 Allow skipping over archived categories.
8647 (todo-backward-category): Derive from todo-forward-category.
8648 (todo-backward-item, todo-forward-item): Make noninteractive and
8649 delegate interactive part to new commands. Make sensitive to done items.
8650 (todo-categories): Make value an alist of category names and
8651 vectors of item counts.
8652 (todo-category-beg): Make a defconst.
8653 (todo-category-number): Use 1 instead of 0 as initial value.
8654 (todo-category-select): Make sensitive to overlays, optional item
8655 highlighting and done items.
8656 (todo-delete-item): Make sensitive to overlays and marked and done items.
8657 (todo-edit-item): Make sensitive to overlays and editing of
8658 date/time header optional. Add format checks.
8659 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8660 no-op if point is not on an item. Advertise using todo-edit-quit.
8661 (todo-edit-mode): Make sensitive to new format, font-locking, and
8662 multiple todo files.
8663 (todo-insert-item, todo-insert-item-here): Derive from
8664 todo-basic-insert-item and extend functionality.
8665 (todo-item-end, todo-item-start): Make sensitive to done items.
8666 (todo-item-string): Don't return text properties. Restore point.
8667 (todo-jump-to-category): Make sensitive to multiple todo files and
8668 todo archives. Use extended category completion.
8669 (todo-lower-item, todo-raise-item): Rename to *-priority and
8670 derive from todo-set-item-priority.
8671 (todo-mode): Derive from special-mode. Make sensitive to new
8672 format, font-locking and multiple todo files. Make read-only.
8673 (todo-mode-map): Don't suppress digit keys, so they can supply
8674 prefix arguments. Add many new key bindings.
8675 (todo-prefix): Insert as an overlay instead of file text.
8676 Change semantics from diary date expression to purely visual mark.
8677 (todo-print): Rename to todo-print-buffer. Make buffer display
8678 features printable. Remove option to restrict number of items
8679 printed. Add option to print to file.
8680 (todo-print-function): Rename to todo-print-buffer-function.
8681 (todo-quit): Extend to handle exiting new todo modes.
8682 (todo-remove-item): Make sensitive to overlays.
8683 (todo-save): Extend to buffers of filtered items.
8684 (todo-show): Make sensitive to done items, multiple todo files and
8685 new todo modes. Offer to convert legacy todo file before creating
8686 first new todo file.
8687 (todo-show-priorities): Rename to todo-top-priorities.
8688 Change semantics of value 0.
8689 (todo-top-priorities): Rename to todo-filter-top-priorities,
8690 derive from todo-filter-items and extend functionality.
8691 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8692 and extend functionality to other types of filtered items.
8693 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8694 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8695 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8696 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8697 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8698 (todo-edit-mode-hook, todo-entry-prefix-function)
8699 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8700 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8701 (todo-initials, todo-insert-threshold, todo-item-string-start)
8702 (todo-line-string, todo-menu, todo-mode-hook)
8703 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8704 (todo-print-priorities, todo-remove-separator)
8705 (todo-save-top-priorities-too, todo-string-count-lines)
8706 (todo-string-multiline-p, todo-time-string-format)
8707 (todo-tmp-buffer-name): Remove.
8708 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8709 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8710 (todo-edit-category-diary-inclusion)
8711 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8712 (todo-edit-file, todo-edit-item-date-day)
8713 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8714 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8715 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8716 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8717 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8718 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8719 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8720 (todo-filter-top-priorities-multifile, todo-find-archive)
8721 (todo-find-filtered-items-file, todo-go-to-source-item)
8722 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8723 (todo-jump-to-archive-category, todo-lower-category)
8724 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8725 (todo-move-category, todo-move-item, todo-next-button)
8726 (todo-next-item, todo-padded-string, todo-powerset)
8727 (todo-previous-button, todo-previous-item)
8728 (todo-print-buffer-to-file, todo-raise-category)
8729 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8730 (todo-set-category-number, todo-set-item-priority)
8731 (todo-set-top-priorities-in-category)
8732 (todo-set-top-priorities-in-file, todo-show-categories-table)
8733 (todo-sort-categories-alphabetically-or-numerically)
8734 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8735 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8736 (todo-toggle-item-header, todo-toggle-item-highlighting)
8737 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8738 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8739 (todo-unarchive-items, todo-unmark-category): New commands.
8740 (todo-absolute-file-name, todo-add-to-buffer-list)
8741 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8742 (todo-basic-insert-item, todo-category-completions)
8743 (todo-category-number, todo-category-string-matcher-1)
8744 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8745 (todo-check-format, todo-clear-matches)
8746 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8747 (todo-current-category, todo-date-string-matcher)
8748 (todo-define-insertion-command, todo-diary-expired-matcher)
8749 (todo-diary-goto-entry, todo-diary-item-p)
8750 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8751 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8752 (todo-done-item-section-p, todo-done-separator)
8753 (todo-done-string-matcher, todo-files, todo-filter-items)
8754 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8755 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8756 (todo-insert-category-line, todo-insert-item-from-calendar)
8757 (todo-insert-sort-button, todo-insert-with-overlays)
8758 (todo-insertion-command-name, todo-insertion-key-bindings)
8759 (todo-label-to-key, todo-longest-category-name-length)
8760 (todo-make-categories-list, todo-mode-external-set)
8761 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8762 (todo-modes-set-3, todo-multiple-filter-files)
8763 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8764 (todo-read-category, todo-read-date, todo-read-dayname)
8765 (todo-read-file-name, todo-read-time)
8766 (todo-reevaluate-category-completions-files-defcustom)
8767 (todo-reevaluate-default-file-defcustom)
8768 (todo-reevaluate-filelist-defcustoms)
8769 (todo-reevaluate-filter-files-defcustom)
8770 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8771 (todo-reset-done-separator, todo-reset-done-separator-string)
8772 (todo-reset-done-string, todo-reset-global-current-todo-file)
8773 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8774 (todo-reset-prefix, todo-set-categories)
8775 (todo-set-date-from-calendar, todo-set-show-current-file)
8776 (todo-set-top-priorities, todo-short-file-name)
8777 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8778 (todo-total-item-counts, todo-update-buffer-list)
8779 (todo-update-categories-display, todo-update-categories-sexp)
8780 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8781 New functions.
8782 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8783 New major modes.
8784 (todo-categories, todo-display, todo-edit, todo-faces)
8785 (todo-filtered): New defgroups.
8786 (todo-archived-only, todo-button, todo-category-string, todo-date)
8787 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8788 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8789 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8790 (todo-add-item-if-new-category, todo-always-add-time-string)
8791 (todo-categories-align, todo-categories-archived-label)
8792 (todo-categories-category-label, todo-categories-diary-label)
8793 (todo-categories-done-label, todo-categories-number-separator)
8794 (todo-categories-todo-label, todo-categories-totals-label)
8795 (todo-category-completions-files, todo-completion-ignore-case)
8796 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8797 (todo-done-separator-string, todo-done-string)
8798 (todo-files-function, todo-filter-done-items, todo-filter-files)
8799 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8800 (todo-initial-category, todo-initial-file, todo-item-mark)
8801 (todo-legacy-date-time-regexp, todo-mode-line-function)
8802 (todo-nondiary-marker, todo-number-prefix)
8803 (todo-print-buffer-function, todo-show-current-file)
8804 (todo-show-done-only, todo-show-first, todo-show-with-done)
8805 (todo-skip-archived-categories, todo-top-priorities-overrides)
8806 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8807 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8808 New defcustoms.
8809 (todo-category-done, todo-date-pattern, todo-date-string-start)
8810 (todo-diary-items-buffer, todo-done-string-start)
8811 (todo-filtered-items-buffer, todo-item-start)
8812 (todo-month-abbrev-array, todo-month-name-array)
8813 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8814 (todo-top-priorities-buffer): New defconsts.
8815 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8816 (todo-categories-with-marks, todo-category-string-face)
8817 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8818 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8819 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8820 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8821 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8822 (todo-font-lock-keywords, todo-global-current-todo-file)
8823 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8824 (todo-insertion-commands-args)
8825 (todo-insertion-commands-args-genlist)
8826 (todo-insertion-commands-names, todo-insertion-map)
8827 (todo-key-bindings-t, todo-key-bindings-t+a)
8828 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8829 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8830 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8831 (todo-visited): New variables.
8832
cad5d1cb
GM
88332013-06-21 Glenn Morris <rgm@gnu.org>
8834
8835 * play/cookie1.el (cookie-apropos): Add optional display argument.
8836 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8837 (psychoanalyze-pinhead): Use cookie-doctor.
8838
9e277302
JB
88392013-06-21 Juanma Barranquero <lekktu@gmail.com>
8840
8841 * emacs-lisp/package.el (tar-get-file-descriptor)
8842 (tar--extract): Declare.
8843
c5b0993e
EW
88442013-06-21 Eduard Wiebe <usenet@pusto.de>
8845
8846 Extend flymake's warning predicate to be a function (bug#14217).
8847 * progmodes/flymake.el (flymake-warning-predicate): New.
8848 (flymake-parse-line): Use it.
8849 (flymake-warning-re): Make obsolete alias to
8850 `flymake-warning-predicate'.
8851
a7d2d465
SM
88522013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8853
8854 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8855 (package-obsolete-list): Remove.
8856 (package-activate): Remove min-version argument. Add `force' argument.
8857 Adjust to new package-alist format.
8858 (package-mark-obsolete): Remove.
8859 (package-unpack): Force reload of the package's autoloads.
8860 (package-installed-p): Check builtins if the installed package is not
8861 recent enough.
8862 (package-initialize): Don't reset package-obsolete-list.
8863 Don't specify which package version to activate.
8864 (package-process-define-package, describe-package-1)
8865 (package-menu--generate): Adjust to new package-alist format.
8866
cedf5c9d
JB
88672013-06-21 Juanma Barranquero <lekktu@gmail.com>
8868
8869 * allout-widgets.el (allout-widgets-mode-off)
8870 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8871 (allout-widgets-post-command-business)
8872 (allout-widgets-after-copy-or-kill-function)
8873 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8874 (allout-decorate-item-and-context)
8875 (allout-graphics-modification-handler): Fix typos in docstrings.
8876 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8877
8878 * cmuscheme.el (scheme-start-file): Doc fix.
8879 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8880 (scheme-input-filter): Use `string-match-p'.
8881
8882 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8883
8884 * dired-x.el: Use Dired consistently in docstrings.
8885
8886 * dired.el: Use Dired consistently in docstrings.
8887 (dired-readin, dired-mode): Use `setq-local'.
8888 (dired-switches-alist): Make defvar-local.
8889 (dired-buffers-for-dir): Use `zerop'.
8890 (dired-safe-switches-p, dired-switches-escape-p)
8891 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8892 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8893 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8894 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8895 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8896 (dired-toggle-marks, dired-mark-files-containing-regexp)
8897 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8898 (dired-flag-auto-save-files, dired-flag-backup-files):
8899 Use `looking-at-p'.
8900 (dired-mark-files-regexp, dired-build-subdir-alist):
8901 Use `string-match-p', `looking-at-p'.
8902
8903 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8904 (direct-print-region-helper): Use `string-match-p'.
8905
aed838b5
LL
89062013-06-21 Leo Liu <sdl.web@gmail.com>
8907
cedf5c9d
JB
8908 * comint.el (comint-redirect-results-list-from-process):
8909 Fix infinite loop.
aed838b5 8910
d80a808f
LMI
89112013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8912
8913 * net/eww.el (eww-update-header-line-format): Quote % characters.
8914
e7a526e3
GM
89152013-06-21 Glenn Morris <rgm@gnu.org>
8916
8917 * play/cookie1.el (cookie): New custom group.
8918 (cookie-file): New option.
8919 (cookie-check-file): New function.
8920 (cookie): Make it interactive. Make start and end messages optional.
8921 Interactively, display the result. Default to cookie-file.
8922 (cookie-insert): Default to cookie-file.
8923 (cookie-snarf): Make start and end messages optional.
8924 Default to cookie-file. Use with-temp-buffer.
8925 (cookie-read): Rename from read-cookie.
8926 Make start and end messages optional. Default to cookie-file.
8927 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8928 Do not autoload it.
e7a526e3
GM
8929 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8930 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8931
62efb35e
LL
89322013-06-21 Leo Liu <sdl.web@gmail.com>
8933
8934 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8935
21e3f963
GM
89362013-06-21 Glenn Morris <rgm@gnu.org>
8937
8938 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8939
fd846ab4
SM
89402013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8941 Daniel Hackney <dan@haxney.org>
8942
8943 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8944 Consolidate the single-file vs tarball code.
8945 (package-desc-suffix): New function.
8946 (package-desc-full-name): Don't bother inlining it.
8947 (package-load-descriptor): Return the new package-desc.
8948 (package-mark-obsolete): Remove unused arg `package'.
8949 (package-unpack): Make it work for single files as well.
8950 Make it update package-alist.
8951 (package--make-autoloads-and-stuff): Rename from
8952 package--make-autoloads-and-compile. Don't compile any more.
8953 (package--compile): New function.
8954 (package-generate-description-file): New function, extracted from
8955 package-unpack-single.
8956 (package-unpack-single): Remove.
8957 (package--with-work-buffer): Add indentation and debugging info.
8958 (package-download-single): Remove.
8959 (package-install-from-archive): Rename from package-download-tar, make
8960 it take a pkg-desc, and make it work for single files as well.
8961 (package-download-transaction): Simplify.
8962 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8963 external tar program.
8964 (package-install-from-buffer): Remove `pkg-desc' argument.
8965 Use package-tar-file-info for tar-mode buffers.
8966 (package-install-file): Simplify accordingly.
8967 (package-archive-base): Change to take a pkg-desc.
8968 * tar-mode.el (tar--check-descriptor): New function, extracted from
8969 tar-get-descriptor.
8970 (tar-get-descriptor): Use it.
8971 (tar-get-file-descriptor): New function.
8972 (tar--extract): New function, extracted from tar-extract.
8973 (tar--extract): Use it.
8974 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8975 case the summary uses non-ascii. Adjust to new calling convention of
8976 package-tar-file-info.
8977
b7deae5e
LL
89782013-06-21 Leo Liu <sdl.web@gmail.com>
8979
fd846ab4
SM
8980 * comint.el (comint-redirect-results-list-from-process):
8981 Fix random delay. (Bug#14681)
b7deae5e 8982
7a65a0b2
JB
89832013-06-21 Juanma Barranquero <lekktu@gmail.com>
8984
8985 * profiler.el (profiler-format-number): Use log, not log10.
8986
1493c2af
JB
89872013-06-20 Juanma Barranquero <lekktu@gmail.com>
8988
8989 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8990
aff6371e
SM
89912013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8992
8993 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8994 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8995 yet available.
8996 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8997 (AUTOGENEL): ... here.
8998 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8999 (cl--defsubst-expand): Use it.
9000
89561f72
PE
90012013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9002
9003 * subr.el (log10): Move here from C code, and declare as obsolete.
9004 All uses of (log10 X) replaced with (log X 10).
9005
47199123
JB
90062013-06-20 Juanma Barranquero <lekktu@gmail.com>
9007
9008 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9009 Declare with `defvar-local'.
9010 (tabulated-list-use-header-line, tabulated-list-entries)
9011 (tabulated-list-padding, tabulated-list-printer)
9012 (tabulated-list-sort-key): Declare with `defvar-local'.
9013 (tabulated-list-init-header, tabulated-list-print-fake-header):
9014 Use `setq-local'.
9015
4a172eab
MA
90162013-06-20 Michael Albinus <michael.albinus@gmx.de>
9017
47199123
JB
9018 * arc-mode.el (archive-mode): Add `archive-write-file' to
9019 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 9020
5fc0acc0
JB
90212013-06-20 Juanma Barranquero <lekktu@gmail.com>
9022
d5b27848
JB
9023 * cus-edit.el (custom-commands): Fix typos.
9024 (custom-display): Fix tooltip text.
9025 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9026 Fix typos in docstrings.
9027 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9028 (custom-unlispify-menu-entry, custom-magic-value-create)
9029 (custom-add-see-also, custom-group-value-create): Use ?\s.
9030 (custom-guess-type, customize-apropos, editable-field)
9031 (custom-face-value-create): Use `string-match-p'.
9032 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9033
9034 * custom.el (custom-load-symbol): Use `string-match-p'.
9035
a5c581d8
JB
9036 * ansi-color.el: Convert to lexical binding.
9037 (ansi-colors): Fix URL.
9038 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9039 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9040 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9041
970ad972
G
90422013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9043
9044 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9045
9046 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9047
90482013-06-19 Tom Tromey <tromey@redhat.com>
9049
9050 * net/eww.el (eww-top-url): Remove.
9051 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9052 (eww-render): Set new variables. Don't set eww-top-url.
9053 (eww-handle-link): Handle "prev", "home", and "contents".
9054 Downcase the rel text.
9055 (eww-top-url): Choose best top URL.
9056
90572013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9058
9059 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9060 relying in widget.el. Using widget.el leads to too many
9061 user interface inconsistencies.
9062 (eww-self-insert): Implement entering commands in text fields.
9063 (eww-process-text-input): New function to make text input field editing
9064 work.
9065 (eww-submit): Rewrite to use the new-style form methods.
9066 (eww-select-display): Display the correct selected item.
9067 (eww-change-select): Implement changing the select value.
9068 (eww-toggle-checkbox): Implement radio/checkboxes.
9069 (eww-update-field): Fix compilation error.
9070 (eww-tag-textarea): Implement <textarea>.
9071
9072 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9073 we don't shadow mode-specific bindings.
9074
9075 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9076 nothing to push.
9077
9078 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9079
4582a01c 90802013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9081
9082 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9083
15b263dc
MA
90842013-06-19 Michael Albinus <michael.albinus@gmx.de>
9085
9086 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9087 not needed.
9088
9089 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9090
8f5297f7
LMI
90912013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9092
9093 * net/browse-url.el (browse-url-browser-function):
9094 `eww-browse-url' has the right calling signature, `eww' does not.
9095
011c4552
GM
90962013-06-19 Glenn Morris <rgm@gnu.org>
9097
2285bd27
GM
9098 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9099 Only eval autoloaded macros.
9100 (byte-compile-autoload): Only give the macro warning for macros.
9101
1d653303
GM
9102 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9103 (ps-underlined-faces): Declare.
9104
bdd779ec
GM
9105 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9106 (speedbar-add-supported-extension): Declare.
9107
011c4552
GM
9108 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9109 Don't include a date stamp in the header of the generated file;
9110 it leads to needless differences between output files.
9111
e59dfb0e
MA
91122013-06-19 Michael Albinus <michael.albinus@gmx.de>
9113
c763842b
SM
9114 * net/secrets.el (secrets-struct-secret-content-type):
9115 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9116 Some servers do not offer introspection.
e59dfb0e 9117
102626e2
SM
91182013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9119
9120 * electric.el (electric-pair-mode): Improve interaction with
9121 electric-layout-mode.
9122 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9123 (electric-pair-syntax): Use text-mode-syntax-table in comments
9124 and strings.
9125 (electric-pair--insert): New function.
9126 (electric-pair-post-self-insert-function): Use it and
9127 electric--after-char-pos.
9128
ad528125
LL
91292013-06-19 Leo Liu <sdl.web@gmail.com>
9130
9131 * progmodes/octave.el (octave-help): Fix regexp.
9132
924d6997
G
91332013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9134
9135 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9136 (shr-table-horizontal-line): Allow nil as a value, and change the
9137 default.
9138 (shr-insert-table-ruler): Respect the nil value.
9139
91402013-06-18 Tom Tromey <tromey@barimba>
9141
9142 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9143 New defvars.
9144 (eww-open-file): New defun.
9145 (eww-render): Initialize new variables.
9146 (eww-display-html): Handle "link" and "a".
9147 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9148 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9149 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9150 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9151 New defuns.
924d6997 9152
d1bbba4f
DG
91532013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9154
9155 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9156 Distinguish ternary operator tokens from slash symbol and slash
9157 char literal.
9158
14dd22d2
JB
91592013-06-18 Juanma Barranquero <lekktu@gmail.com>
9160
9161 Convert symbol prettification into minor mode and global minor mode.
9162
9163 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9164 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9165 (prettify-symbols--keywords): Rename from
9166 `prog-prettify-symbols-alist' and make a local defvar.
9167 (prettify-symbols--compose-symbol): Rename from
9168 `prog--prettify-font-lock-compose-symbol'.
9169 (prettify-symbols--make-keywords): Rename from
9170 `prog-prettify-font-lock-symbols-keywords' and simplify.
9171 (prog-prettify-install): Remove.
9172 (prettify-symbols-mode): New minor mode, based on
9173 `prog-prettify-install'.
9174 (turn-on-prettify-symbols-mode): New function.
9175 (global-prettify-symbols-mode): New globalized minor mode.
9176
9177 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9178 * progmodes/cfengine.el (cfengine3-mode):
9179 * progmodes/perl-mode.el (perl-mode): Don't call
9180 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9181
292c880c
JL
91822013-06-18 Juri Linkov <juri@jurta.org>
9183
9184 * files-x.el (modify-file-local-variable-message): New function.
9185 (modify-file-local-variable)
9186 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9187 and call `modify-file-local-variable-message' when it's non-nil.
9188 (add-file-local-variable, delete-file-local-variable)
9189 (add-file-local-variable-prop-line)
9190 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9191 and use it. (Bug#9820)
9192
0950aa27
JL
91932013-06-18 Juri Linkov <juri@jurta.org>
9194
9195 * emulation/vi.el (vi-shell-op):
9196 * emulation/vip.el (vip-execute-com, ex-command):
9197 * emulation/viper-cmd.el (viper-exec-bang):
9198 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9199 the call of `shell-command-on-region'. (Bug#14637)
9200
9201 * simple.el (shell-command-on-region): Doc fix.
9202
8fbcca16
SM
92032013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9204
9205 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9206 (bug#14633).
9207
dd7426ea
GM
92082013-06-18 Glenn Morris <rgm@gnu.org>
9209
4ba54f7d
GM
9210 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9211
dd7426ea
GM
9212 * newcomment.el (comment-search-forward, comment-search-backward):
9213 Doc fix. (Bug#14376)
9214
58aa805b
JB
92152013-06-18 Juanma Barranquero <lekktu@gmail.com>
9216
9217 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9218 (buffer-face-mode-invoke): Doc fix.
9219
9a08a617
MM
92202013-06-18 Matthias Meulien <orontee@gmail.com>
9221
9222 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9223 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9224
f2f426ca
GM
92252013-06-18 Glenn Morris <rgm@gnu.org>
9226
9445f99b
GM
9227 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9228 Replace obsolete function generic-make-keywords with its expansion.
9229
e0df2d14
GM
9230 * progmodes/python.el (ffap-alist): Declare.
9231
f2f426ca
GM
9232 * textmodes/reftex.el (bibtex-mode-map): Declare.
9233
f7f9a720
SM
92342013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9237 (package-unpack, package-unpack-single): Return the pkg-dir.
9238 (package-download-transaction): Use it to update package-alist.
9239
57ff04e0
LMI
92402013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9241
9242 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9243 possible choice.
9244
c048c022
JL
92452013-06-17 Juri Linkov <juri@jurta.org>
9246
9247 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9248
b5bcaee5
DG
92492013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9250
a020afb9
JB
9251 * emacs-lisp/package.el (package-load-descriptor):
9252 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9253 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9254
551e07e5
JB
92552013-06-17 Juanma Barranquero <lekktu@gmail.com>
9256
9257 * startup.el (command-line): Expand package name returned by
9258 `package--description-file' (bug#14639).
9259
d363bffb
DG
92602013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9261
9262 * emacs-lisp/package.el (package-load-descriptor): Do not call
9263 `emacs-lisp-mode', just use its syntax table.
9264
f612933b
JB
92652013-06-17 Juanma Barranquero <lekktu@gmail.com>
9266
9267 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9268 `font-lock-extra-managed-props' if any prettifying keyword is added.
9269 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9270 (prog-mode): Use `setq-local'.
9271
db3b7db5
SM
92722013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9273
9274 * international/characters.el (standard-case-table): Set syntax of ?»
9275 and ?« to punctuation.
9276
f3d674df
JB
92772013-06-16 Juanma Barranquero <lekktu@gmail.com>
9278
9279 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9280 Save relevant match data before calling `syntax-ppss' (bug#14595).
9281
31489a32
JL
92822013-06-15 Juri Linkov <juri@jurta.org>
9283
9284 * files-x.el (modify-file-local-variable-prop-line): Add local
9285 variables to the end of the existing comment on the first line.
9286 Use `file-auto-mode-skip' to skip interpreter magic line,
9287 and also skip XML declaration.
9288
66bd25ab
SM
92892013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9290
9291 * startup.el (package--builtin-versions): New var.
9292 (package-subdirectory-regexp): Remove.
9293 (package--description-file): Hard code its value instead.
9294
9295 * emacs-lisp/package.el: Don't activate packages older than builtin.
9296 (package-obsolete-list): Rename from package-obsolete-alist, and make
9297 it into a simple list of package-desc.
9298 (package-strip-version): Remove.
9299 (package-built-in-p): Use package--builtin-versions.
9300 (package-mark-obsolete): Simplify.
9301 (package-process-define-package): Mark it obsolete if older than the
9302 builtin version.
9303 (package-handle-response): Use line-end-position.
9304 (package-read-archive-contents, package--download-one-archive):
9305 Simplify.
9306 (package--add-to-archive-contents): Skip if older than the builtin or
9307 installed version.
9308 (package-menu-describe-package): Fix last change.
9309 (package-list-unversioned): New var.
9310 (package-menu--generate): Use it.
9311
9312 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9313 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9314 (autoload-builtin-package-versions): New variable.
9315 (autoload-generate-file-autoloads): Use them.
9316 Remove the list of autoloaded functions/macros from the
9317 (autoload...) comments.
9318
9319 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9320
9583ec36
EZ
93212013-06-15 Eli Zaretskii <eliz@gnu.org>
9322
9323 * simple.el (line-move-partial): Don't jump to the next screen
9324 line as soon as it becomes visible. Instead, continue enlarging
9325 the vscroll until the portion of a tall screen line that's left on
9326 display is about the height of the frame's default font.
9327 (Bug#14567)
9328
f0100d8a
GM
93292013-06-15 Glenn Morris <rgm@gnu.org>
9330
b86a85ca
GM
9331 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9332 compilation-error-regexp-alist void, or local while let-bound.
9333
f0100d8a
GM
9334 * progmodes/make-mode.el (makefile-mode-syntax-table):
9335 Treat "=" as punctuation. (Bug#14614)
9336
05e7ce90
JB
93372013-06-15 Juanma Barranquero <lekktu@gmail.com>
9338
9339 * help-fns.el (describe-variable):
9340 Add extra line for permanent-local variables.
9341
12e5e86e
SH
93422013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9343
9344 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9345 Add export, import, library. (Bug#9164)
9346 (library): Set indent function.
9347
230dcbaf
GM
93482013-06-14 Glenn Morris <rgm@gnu.org>
9349
9350 * term/xterm.el (xterm--query):
9351 Stop after first matching handler. (Bug#14615)
9352
e36b2d20 93532013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9354
9355 Add support for dired in saveplace.
9356 * dired.el (dired-initial-position-hook): New variable.
9357 (dired-initial-position): Call hook to place cursor position.
9358 * saveplace.el (save-place-to-alist): Add dired position.
9359 (save-place-dired-hook): New function.
9360
0b31660d
SM
93612013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9362
bf1e6ae8
SM
9363 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9364 through a symbol rather than letrec.
9365
1b8dff23
SM
9366 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9367 (package-desc): Add `dir' field.
9368 (package-desc-full-name): New function.
9369 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9370 (package-maybe-load-descriptor): Remove.
9371 (package-load-all-descriptors): Just call package-load-descriptor.
9372 (package--disabled-p): New function.
9373 (package-desc-vers, package-desc-doc): Remove aliases.
9374 (package--dir): Remove function.
9375 (package-activate): Check if a package is disabled.
9376 (package-process-define-package): New function, extracted from
9377 define-package.
9378 (define-package): Turn into a place holder.
9379 (package-unpack-single, package-tar-file-info):
9380 Use package--description-file.
9381 (package-compute-transaction): Use package--disabled-p.
9382 (package-download-transaction): Don't call
9383 package-maybe-load-descriptor since they're all loaded anyway.
9384 (package-install): Change argument to be a pkg-desc.
9385 (package-delete): Use a single pkg-desc argument.
9386 (describe-package-1): Use package-desc-dir instead of package--dir.
9387 Use package-desc property instead of package-symbol.
9388 (package-install-button-action): Adjust accordingly.
9389 (package--push): Rewrite.
9390 (package-menu--print-info): Adjust accordingly. Change the ID format
9391 to be a pkg-desc.
9392 (package-menu-describe-package, package-menu-get-status)
9393 (package-menu--find-upgrades, package-menu-mark-upgrades)
9394 (package-menu-execute, package-menu--name-predicate):
9395 Adjust accordingly.
9396 * startup.el (package--description-file): New function.
9397 (command-line): Use it.
9398 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9399 Use package-desc-version.
9400
0b31660d
SM
9401 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9402 (byte-compile-preprocess): Use it.
9403 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9404 can't quite recognize.
9405 (byte-compile-add-to-list): Remove.
9406 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9407 (cconv-closure-convert): Add assertion.
9408
9409 * emacs-lisp/map-ynp.el: Use lexical-binding.
9410 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9411 Factor out some repeated code.
9412
de0503df
SM
94132013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9414
9415 * subr.el (with-eval-after-load): New macro.
9416 (eval-after-load): Allow form to be a function.
9417 take advantage of lexical-binding.
9418 (do-after-load-evaluation): Use dolist and adjust to new format.
9419 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9420
bc5c8c5a
JL
94212013-06-13 Juri Linkov <juri@jurta.org>
9422
9423 * replace.el (perform-replace): Display "symbol " and other search
9424 modes from `isearch-message-prefix' in the *Help* buffer.
9425
9426 * isearch.el (isearch-query-replace): Add " symbol" and other
9427 possible search modes from `isearch-message-prefix' to the prompt.
9428 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9429 when reading a regexp to collect.
9430
a22289f7
JL
94312013-06-13 Juri Linkov <juri@jurta.org>
9432
9433 * isearch.el (word-search-regexp): Match whitespace if the search
9434 string begins or ends in whitespace. The LAX arg is applied to
9435 both ends of the search string. Use `regexp-quote' and explicit
9436 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9437 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9438 boundaries are replaced with symbol boundaries, and characters
9439 between symbols match non-word non-symbol syntax. (Bug#14602)
9440
cb89acab
JL
94412013-06-13 Juri Linkov <juri@jurta.org>
9442
9443 * isearch.el (isearch-del-char): Don't exceed the length of
9444 `isearch-string' by the prefix arg. (Bug#14563)
9445
6e8cfc81
JL
94462013-06-13 Juri Linkov <juri@jurta.org>
9447
9448 * isearch.el (isearch-yank-word, isearch-yank-line)
9449 (isearch-char-by-name, isearch-quote-char)
9450 (isearch-printing-char, isearch-process-search-char):
9451 Add optional count prefix arg. (Bug#14563)
9452
9453 * international/isearch-x.el
9454 (isearch-process-search-multibyte-characters):
9455 Add optional count prefix arg.
9456
c23d55f4
VS
94572013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9460 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9461 lexical-binding.
9462
94632013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9464
9465 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9466
ba947bc4
GM
94672013-06-13 Glenn Morris <rgm@gnu.org>
9468
8baeb37a
GM
9469 * startup.el (tty-handle-args):
9470 Don't just discard "--" and anything after. (Bug#14608)
9471
ba947bc4
GM
9472 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9473
9abefce4
MA
94742013-06-13 Michael Albinus <michael.albinus@gmx.de>
9475
9476 Implement changes in Secret Service API. Make it backward compatible.
9477 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9478 (secrets-create-item): Use it. Prefix properties with interface.
9479
5755011f
MH
94802013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9481
9482 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9483 (term-emulate-terminal): Respect term-suppress-hard-newline.
9484
1261d2da
S
94852013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9486
9487 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9488 Only remove a `thumb-file' overlay. (Bug#14548)
9489
868490bb
GJ
94902013-06-12 Grégoire Jadi <daimrod@gmail.com>
9491
9492 * mail/reporter.el (reporter-submit-bug-report):
9493 Handle missing package-name. (Bug#14600)
9494
79d7167f
TH
94952013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9496
9497 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9498 (reftex-citation-prompt, reftex-default-bibliography)
9499 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9500 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9501 (reftex-bib-sort-author, reftex-bib-sort-year)
9502 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9503 (reftex-extract-bib-entries-from-thebibliography)
9504 (reftex-get-bibkey-default, reftex-get-bib-names)
9505 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9506 (reftex-format-bib-entry, reftex-parse-bibitem)
9507 (reftex-format-bibitem, reftex-do-citation)
9508 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9509 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9510 (reftex-insert-bib-matches, reftex-format-citation)
9511 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9512 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9513 existing comments into docstrings.
9514
5f9dbd7a
XF
95152013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9516
9517 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9518
94df41ab
AS
95192013-06-12 Andreas Schwab <schwab@suse.de>
9520
9521 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9522 for auto-save files.
9523
a7f3fecc
GM
95242013-06-12 Glenn Morris <rgm@gnu.org>
9525
001809f6
GM
9526 * ido.el (ido-delete-ignored-files): Remove.
9527 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9528 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9529
834b5ded
EL
95302013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9531
08c73ed2
EL
9532 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9533
834b5ded
EL
9534 * ido.el (ido-delete-ignored-files): New function,
9535 split from ido-make-file-list-1.
9536 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9537 (ido-make-file-list-1): Use ido-delete-ignored-files.
9538
daabf15a
LL
95392013-06-12 Leo Liu <sdl.web@gmail.com>
9540
9541 * progmodes/octave.el (inferior-octave-startup)
9542 (inferior-octave-completion-table)
9543 (inferior-octave-track-window-width-change)
9544 (octave-eldoc-function-signatures, octave-help)
9545 (octave-find-definition): Use single quoted strings.
9546 (inferior-octave-startup-args): Change default value.
9547 (inferior-octave-startup): Do not hard code "-i" and
9548 "--no-line-editing".
9549 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9550 (inferior-octave-directory-tracker): Use it.
9551 (octave-goto-function-definition): Robustify.
9552 (octave-help): Support highlighting operators in 'See also'.
9553 (octave-find-definition): Find subfunctions only in Octave mode.
9554
cf4e5178
SM
95552013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9556
9557 * help-fns.el (help-fns--compiler-macro): If the handler function is
9558 named, then put a link to it.
9559 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9560 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9561 (cl-typep): Use it.
9562 (cl-eval-when): Simplify debug spec.
9563 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9564 compiler-macro function instead of setting `compiler-macro-file'.
9565
99c81280 95662013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9567
9568 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9569 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9570
f56be016
SM
95712013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9572 Daniel Hackney <dan@haxney.org>
9573
9574 First part of Daniel Hackney's patch to package.el.
9575 * emacs-lisp/package.el: Use defstruct.
9576 (package-desc): New, main struct.
9577 (package--bi-desc, package--ac-desc): New structs, used to describe the
9578 format in external files.
9579 (package-desc-vers): Replace with package-desc-version accessor.
9580 (package-desc-doc): Replace with package-desc-summary accessor.
9581 (package-activate-1): Remove `package' arg since the pkg-vec now
9582 includes the name.
9583 (define-package): Use package-desc-from-define.
9584 (package-unpack-single): Change file-name arg to be a symbol.
9585 (package--add-to-archive-contents): Use package-desc-create and new
9586 accessor functions to package--ac-desc.
9587 (package-buffer-info, package-tar-file-info): Return a package-desc.
9588 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9589 arg to be a package-desc.
9590 (package-install-file): Adjust accordingly. Use \' to match EOS.
9591 (package--from-builtin): New function.
9592 (describe-package-1, package-menu--generate): Use it.
9593 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9594 (package-generate-autoloads): Idem and return the name of the file.
9595 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9596 Change pkg-info arg to be a package-desc.
9597 Use package-make-ac-desc.
9598 (package-upload-file): Use \' to match EOS.
9599 * finder.el (finder-compile-keywords): Use package-make-builtin.
9600
31119d63
SM
96012013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9602
931a2762
SM
9603 * vc/vc.el (vc-deduce-fileset): Change error message.
9604 (vc-read-backend): New function.
9605 (vc-next-action): Use it.
9606
5a3eb0c6
SM
9607 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9608
e3eb1bb7
SM
9609 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9610 (prolog-font-lock-keywords): Use regexp-opt instead.
9611 Don't manually highlight strings.
9612 (prolog-mode-variables): Simplify comment-start-skip.
9613 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9614
31119d63
SM
9615 * emacs-lisp/generic.el (generic--normalise-comments)
9616 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9617 (generic-mode-set-comments): Use them.
9618 (generic-bracket-support): Use setq-local.
9619 (generic-make-keywords-list): Declare obsolete.
9620
7de135d0
GM
96212013-06-11 Glenn Morris <rgm@gnu.org>
9622
9623 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9624 Prettify after setting font-lock-defaults. (Bug#14574)
9625
fa6bc6fd
JB
96262013-06-11 Juanma Barranquero <lekktu@gmail.com>
9627
9628 * replace.el (query-replace, occur-read-regexp-defaults-function)
9629 (replace-search):
9630 * subr.el (declare-function, number-sequence, local-set-key)
9631 (substitute-key-definition, locate-user-emacs-file)
9632 (with-silent-modifications, split-string, eval-after-load):
9633 Fix typos, remove unneeded backslashes and reflow some docstrings.
9634
cf1f9b9a
SM
96352013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9636
9637 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9638 default for Elisp files.
9639
56602a4b
GM
96402013-06-11 Glenn Morris <rgm@gnu.org>
9641
9642 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9643 although define-derived-mode was doing this anyway. (Bug#14583)
9644
30ae0b2c
JB
96452013-06-10 Juanma Barranquero <lekktu@gmail.com>
9646
9647 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9648 Fix make-variable-buffer-local call to refer to the correct variable.
9649
fa472906
AG
96502013-06-10 Aidan Gauland <aidalgol@amuri.net>
9651
9652 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9653 (eshell-visual-subcommands, eshell-visual-options):
9654 Add summary line to docstrings. Add cross-references.
fa472906 9655
ff4871b9
GM
96562013-06-10 Glenn Morris <rgm@gnu.org>
9657
9658 * epa.el (epa-read-file-name): New function. (Bug#14510)
9659 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9660
04fcf1b0
AG
96612013-06-09 Aidan Gauland <aidalgol@amuri.net>
9662
9663 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9664 output redirection to be ignored with visual commands.
9665
88b00caa
AG
96662013-06-09 Aidan Gauland <aidalgol@amuri.net>
9667
9668 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9669 (eshell-term-initialize): Move long lambda to separate function
9670 eshell-visual-command-p.
e7b41c4c
JB
9671 * eshell/em-dirs.el (eshell-dirs-initialise):
9672 * eshell/em-script.el (eshell-script-initialize):
9673 Add missing #' to lambda.
88b00caa 9674
fda74125
LL
96752013-06-08 Leo Liu <sdl.web@gmail.com>
9676
9677 * progmodes/octave.el (octave-add-log-current-defun): New function.
9678 (octave-mode): Set add-log-current-defun-function.
9679 (octave-goto-function-definition): Do not move point if not found.
9680 (octave-find-definition): Enhance to try subfunctions first.
9681
467f3b33
GM
96822013-06-08 Glenn Morris <rgm@gnu.org>
9683
9684 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9685 (byte-compile-backward-char, byte-compile-backward-word):
9686 Improve previous change, to handle non-explicit nil.
9687
544badc3
SM
96882013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9689
9690 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9691 (smie--opener/closer-at-point): New function.
9692 (smie--matching-block-data): Use it. Don't match from right after an
9693 opener or right before a closer. Obey smie-blink-matching-inners.
9694 Don't signal a mismatch for repeated inners like "switch..case..case".
9695
a175bf33
LL
96962013-06-07 Leo Liu <sdl.web@gmail.com>
9697
9698 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9699 to t. (Bug#14303)
ce8209d4
LL
9700 (octave-function-header-regexp): Fix. (Bug#14570)
9701 (octave-help-mode-finish-hook, octave-help-mode-finish):
9702 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9703
9704 * newcomment.el (comment-search-backward): Revert last change.
9705 (Bug#14434)
9706
9707 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9708
a822acff
EZ
97092013-06-07 Eli Zaretskii <eliz@gnu.org>
9710
9711 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9712 through xargs, to avoid failure due to MS-Windows limitations on
9713 command-line length.
9714
961166f5
GM
97152013-06-06 Glenn Morris <rgm@gnu.org>
9716
d0341459
GM
9717 * font-lock.el (lisp-font-lock-keywords-2):
9718 Treat user-error like error.
9719
961166f5
GM
9720 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9721 (byte-compile-backward-char, byte-compile-backward-word):
9722 Handle explicit nil arguments. (Bug#14565)
9723
80fa505f
AM
97242013-06-05 Alan Mackenzie <acm@muc.de>
9725
9726 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9727 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9728 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9729 (Bug#9706)
80fa505f 9730
fccdc796
SM
97312013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9732
9733 * autorevert.el (auto-revert-notify-handler): Use memq.
9734 Hide assertion failure.
9735
9736 * skeleton.el: Use cl-lib.
9737 (skeleton-further-elements): Use defvar-local.
9738 (skeleton-insert): Use cl-progv.
9739
9bfff84b
TZ
97402013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9741
9742 * progmodes/prog-mode.el (prog-prettify-symbols)
9743 (prog-prettify-install): Update docstrings.
9744
55577e7c
SM
97452013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * simple.el: Move all the prog-mode code to prog-mode.el.
9748 * progmodes/prog-mode.el: New file.
9749 * loadup.el: Add prog-mode.el.
9750
8fc57765
TZ
97512013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9752
9753 * simple.el (prog-prettify-symbols): Add version.
9754 (prog-prettify-install): Add convenience function to prettify symbols.
9755
9756 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9757 (perl--augmented-font-lock-keywords-1)
9758 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9759 variables and use it.
9760
9761 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9762 (cfengine3-mode): Remove unneeded variable and use it.
9763
9764 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9765 (lisp--augmented-font-lock-keywords-1)
9766 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9767 Remove unneeded variables and use it.
9768
650645d5 97692013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9770
9771 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9772 to point when opening the connection. (Bug#14380)
28f5da6d 9773
781b4af6
SM
97742013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9775
9776 * subr.el (load-history-regexp, load-history-filename-element)
9777 (eval-after-load, after-load-functions, do-after-load-evaluation)
9778 (eval-next-after-load, display-delayed-warnings)
9779 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9780 definition of save-match-data.
9781 (overriding-local-map): Remove accidental obsolescence declaration.
9782
9783 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9784
3ca0d0b4
TZ
97852013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9786
9787 Generalize symbol prettify support to prog-mode and implement it
9788 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9789 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9790 (prog--prettify-font-lock-compose-symbol)
9791 (prog-prettify-font-lock-symbols-keywords): New variables and
9792 functions to support symbol prettification.
9793 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9794 (lisp--augmented-font-lock-keywords-1)
9795 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9796 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9797 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9798 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9799 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9800 * progmodes/perl-mode.el (perl-prettify-symbols)
9801 (perl--font-lock-compose-symbol)
9802 (perl--font-lock-symbols-keywords): Move to prog-mode.
9803 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9804 (perl-font-lock-keywords-1)
9805 (perl-font-lock-keywords-2): Remove explicit prettify support.
9806 (perl--augmented-font-lock-keywords)
9807 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9808 (perl--augmented-font-lock-keywords-2, perl-mode):
9809 Implement prettify support.
3ca0d0b4 9810
976cb066
LL
98112013-06-05 Leo Liu <sdl.web@gmail.com>
9812
9813 Re-implement smie matching block highlight using
9814 show-paren-data-function. (Bug#14395)
9815 * emacs-lisp/smie.el (smie-matching-block-highlight)
9816 (smie--highlight-matching-block-overlay)
9817 (smie--highlight-matching-block-lastpos)
9818 (smie-highlight-matching-block)
9819 (smie-highlight-matching-block-mode): Remove.
9820 (smie--matching-block-data-cache): New variable.
9821 (smie--matching-block-data): New function.
9822 (smie-setup): Use smie--matching-block-data for
9823 show-paren-data-function.
9824
9825 * progmodes/octave.el (octave-mode-menu): Fix.
9826 (octave-find-definition): Skip garbage lines.
9827
208d0342
SM
98282013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9829
9830 Fix compilation error with simultaneous dynamic+lexical scoping.
9831 Add warning when a defvar appears after the first let-binding.
9832 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9833 (byte-compile-close-variables): Initialize it.
9834 (byte-compile--declare-var): New function.
9835 (byte-compile-file-form-defvar)
9836 (byte-compile-file-form-define-abbrev-table)
9837 (byte-compile-file-form-custom-declare-variable): Use it.
9838 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9839 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9840 (byte-compile-bind): Handle dynamic bindings that shadow
9841 lexical bindings.
9842 (byte-compile-unbind): Make arg non-optional.
9843 (byte-compile-let): Simplify.
9844 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9845 (cconv--analyse-function, cconv-analyse-form): Populate it.
9846 Protect byte-compile-bound-variables to limit the scope of defvars.
9847 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9848 Remove unneeded rule for `declare'.
9849
9850 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9851 so as to avoid depending on cl-adjoin at run-time.
9852 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9853
9854 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9855 (macroexp--warn-and-return): Use it.
9856
1ac2891e
GM
98572013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9858
a12bf61e 9859 * subr.el: Convert to lexical binding.
1ac2891e
GM
9860 (overriding-local-map): Make obsolete.
9861 (add-to-list): Doc fix. Add compiler macro.
9862 (read-key): Swap values of local maps.
9863
2587b005
LL
98642013-06-05 Leo Liu <sdl.web@gmail.com>
9865
9866 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9867
f1da3c88
LL
98682013-06-04 Leo Liu <sdl.web@gmail.com>
9869
9870 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9871 (compilation-auto-jump): Suppress the "Mark set" message to give
9872 way to exit message.
9873
3caa391f
AM
98742013-06-04 Alan Mackenzie <acm@muc.de>
9875
9876 Remove faulty optimisation from indentation calculation.
9877 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9878 search limit based on 2000 characters back from indent-point.
9879
068922a2
TH
98802013-06-03 Tassilo Horn <tsdh@gnu.org>
9881
9882 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9883
1f8fdd53
SM
98842013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9885
bbcc4d97
SM
9886 * emacs-lisp/lisp.el: Use lexical-binding.
9887 (lisp--local-variables-1, lisp--local-variables): New functions.
9888 (lisp--local-variables-completion-table): New var.
208d0342 9889 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9890
1f8fdd53
SM
9891 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9892 eagerly (bug#14422).
9893
c9628c79
MA
98942013-06-03 Michael Albinus <michael.albinus@gmx.de>
9895
9896 * autorevert.el (auto-revert-notify-enabled)
9897 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9898 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9899 (auto-revert-notify-handler): Handle also gfilenotify.
9900
e7b41c4c 9901 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9902 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9903 Remove.
c9628c79 9904
e5e4a942
JL
99052013-06-03 Juri Linkov <juri@jurta.org>
9906
9907 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9908 `M-s h .'. (Bug#14427)
9909
9910 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9911 command `hi-lock-face-symbol-at-point'.
9912 (hi-lock-face-symbol-at-point): New command.
9913 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9914 (hi-lock-menu): Add `highlight-symbol-at-point'.
9915 (hi-lock-mode): Doc fix.
9916
9917 * isearch.el (isearch-forward-symbol-at-point): New command.
9918 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9919 (isearch-highlight-regexp): Add a regexp which matches
9920 words/symbols for word/symbol mode.
9921
9922 * subr.el (find-tag-default-bounds): New function with the body
9923 mostly moved from `find-tag-default'.
9924 (find-tag-default): Move most code to `find-tag-default-bounds',
9925 call it and apply `buffer-substring-no-properties' afterwards.
9926
26b3353a
TH
99272013-06-03 Tassilo Horn <tsdh@gnu.org>
9928
781b4af6
SM
9929 * eshell/em-term.el (eshell-term-initialize):
9930 Use `cl-intersection' rather than `intersection'.
26b3353a 9931
51b60f53
XF
99322013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9933
fe054b63 9934 * vc/log-view.el: Doc fix.
d3ffe17c 9935 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9936
a0eb10b3 99372013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9938
9939 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9940 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9941 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9942 (eieio-unbound, eieio-default-superclass)
9943 (eieio--define-field-accessors, method-static, method-before)
9944 (method-primary, method-after, method-num-lists)
9945 (method-generic-before, method-generic-primary)
9946 (method-generic-after, method-num-slots)
9947 (eieio-specialized-key-to-generic-key)
9948 (eieio--check-type, class-v, class-p)
9949 (eieio-class-name, define-obsolete-function-alias)
9950 (eieio-class-parents-fast, eieio-class-children-fast)
9951 (same-class-fast-p, class-constructor, generic-p)
9952 (generic-primary-only-p, generic-primary-only-one-p)
9953 (class-option-assoc, class-option, eieio-object-p)
9954 (class-abstract-p, class-method-invocation-order)
9955 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9956 (eieio-class-un-autoload, eieio-defclass)
9957 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9958 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9959 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9960 (eieio-defgeneric-reset-generic-form)
9961 (eieio-defgeneric-form-primary-only)
9962 (eieio-defgeneric-reset-generic-form-primary-only)
9963 (eieio-defgeneric-form-primary-only-one)
9964 (eieio-defgeneric-reset-generic-form-primary-only-one)
9965 (eieio-unbind-method-implementations)
9966 (eieio--defmethod, eieio--typep)
9967 (eieio-perform-slot-validation, eieio-validate-slot-value)
9968 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9969 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9970 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9971 (eieio-slot-name-index, eieio-class-slot-name-index)
9972 (eieio-set-defaults, eieio-initarg-to-attribute)
9973 (eieio-attribute-to-initarg, eieio-c3-candidate)
9974 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9975 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9976 (eieio-class-precedence-list, eieio-generic-call-methodname)
9977 (eieio-generic-call-arglst, eieio-generic-call-key)
9978 (eieio-generic-call-next-method-list)
9979 (eieio-pre-method-execution-functions, eieio-generic-call)
9980 (eieio-generic-call-primary-only, eieiomt-method-list)
9981 (eieiomt-optimizing-obarray, eieiomt-install)
9982 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9983 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9984 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9985 (defclass): Remove `eval-and-compile' from macro.
9986 (call-next-method, shared-initialize): Instead of using
9987 `scoped-class' variable, use new eieio--scoped-class, and
9988 eieio--with-scoped-class.
9989 (initialize-instance): Rename local variable 'scoped-class' to
9990 'this-class' to remove ambiguitity from old global.
9991
9992 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9993 eieio.el.
4f405069
JB
9994 (eieio--scoped-class-stack): New variable.
9995 (eieio--scoped-class): New fcn.
890f7890
DE
9996 (eieio--with-scoped-class): New scoping macro.
9997 (eieio-defclass): Use pushnew instead of add-to-list.
9998 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9999 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10000 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10001 `scoped-class' variable, use new eieio--scoped-class, and
10002 eieio--with-scoped-class.
10003
10004 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10005
d105b0e2
TH
100062013-06-02 Tassilo Horn <tsdh@gnu.org>
10007
10008 * eshell/esh-ext.el (eshell-external-command): Pass args to
10009 `eshell-find-interpreter'.
10010 (eshell-find-interpreter): Add new second parameter ARGS.
10011
10012 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 10013 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10014
10015 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 10016 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10017
10018 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10019 (eshell-visual-options): New defcustom.
10020 (eshell-escape-control-x): Adapt docstring.
10021 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10022 `eshell-visual-options' in addition to `eshell-visual-commands'.
10023 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10024
f46305c8 100252013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
10026
10027 * progmodes/python.el (python-indent-block-enders): Add break,
10028 continue and raise keywords.
10029
d870df21
GM
100302013-06-01 Glenn Morris <rgm@gnu.org>
10031
9133b82e
GM
10032 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10033
02c992ec 10034 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
10035 * progmodes/cc-cmds.el (delete-forward-p):
10036 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10037 * progmodes/cc-engine.el (buffer-syntactic-context):
10038 * progmodes/cc-fonts.el (face-property-instance):
10039 * progmodes/cc-mode.el (set-keymap-parents):
10040 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10041 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10042 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
10043 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10044 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 10045
31e7b090
GM
10046 * progmodes/cc-vars.el (other): Emacs has this widget since
10047 at least 21.1, so don't (re)define it.
10048
d870df21
GM
10049 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10050 Replace the obsolete alias pcomplete-arg-quote-list.
10051
c75c93c7
LL
100522013-06-01 Leo Liu <sdl.web@gmail.com>
10053
10054 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10055 punctuation syntax.
10056 (inferior-octave-minimal-columns)
10057 (inferior-octave-last-column-width): New variables.
10058 (inferior-octave-track-window-width-change): New function.
10059 (inferior-octave-mode): Adjust column width so that Octave output,
10060 for example from 'ls', can fit into the window nicely.
10061
973d1e12
DG
100622013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10063
10064 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10065 Highlight expansions inside regexp literals.
10066
0888c286
GM
100672013-05-31 Glenn Morris <rgm@gnu.org>
10068
e26aac1f
GM
10069 * obsolete/sym-comp.el (symbol-complete):
10070 Replace obsolete completion-annotate-function.
10071
0888c286
GM
10072 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10073
19bb8e62
DG
100742013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10075
781b4af6
SM
10076 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10077 New function, checks if point is inside a literal that allows
19bb8e62
DG
10078 expression expansion.
10079 (ruby-syntax-propertize-expansion): Use it.
10080 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10081 around the body.
10082
01dea85f
JL
100832013-05-30 Juri Linkov <juri@jurta.org>
10084
10085 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10086 to "\M-si".
10087 (isearch-invisible): New variable.
10088 (isearch-forward): Doc fix.
10089 (isearch-mode): Set `isearch-invisible'
10090 to the value of `search-invisible'.
10091 (isearch-toggle-case-fold): Doc fix.
10092 (isearch-toggle-invisible): New command.
10093 (isearch-query-replace): Let-bind `search-invisible'
10094 to the value of `isearch-invisible'.
10095 (isearch-search): Use `isearch-invisible' instead of
10096 `search-invisible'. Let-bind `search-invisible'
10097 to the value of `isearch-invisible'. (Bug#11378)
10098
ab1bdce5
JL
100992013-05-30 Juri Linkov <juri@jurta.org>
10100
10101 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10102 call when `query-flag' is nil and `search-invisible' is non-nil.
10103 (Bug#11746)
10104
d6d236e2
GM
101052013-05-30 Glenn Morris <rgm@gnu.org>
10106
8accd027
GM
10107 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10108
2a8bed1c
GM
10109 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10110 (cc-require): Suppress spurious "noruntime" warnings.
10111 (cc-require-when-compile): Use fboundp, for sake of compiler.
10112
d6d236e2
GM
10113 * progmodes/cc-mode.el: Move load of cc-vars before that of
10114 cc-langs (which in turn loads cc-vars), to quieten compiler.
10115
9190b35b
SM
101162013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10117
10118 * paren.el: Simplify the code.
10119 (show-paren-mode): Always start the timer.
10120 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10121 (show-paren--overlay, show-paren--overlay-1): Rename from
10122 show-paren-overlay and show-paren-overlay-1, and initialize to an
10123 overlay rather than to nil.
10124 (show-paren-function): Misc cleanup and simplifications.
10125
4f8d1cf6
SM
101262013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10127
10128 * paren.el (show-paren-data-function): New hook.
10129 (show-paren--default): New function, extracted from show-paren-function.
10130 (show-paren-function): Use show-paren-data-function.
10131
02d844b5
GM
101322013-05-30 Glenn Morris <rgm@gnu.org>
10133
d209d4a9
GM
10134 * ielm.el (ielm-map, ielm-complete-symbol):
10135 Use completion-at-point rather than obsolete functions.
10136 (inferior-emacs-lisp-mode): Doc fix.
10137 Set completion-at-point-functions, rather than
10138 comint-dynamic-complete-functions.
10139
2082faa6
GM
10140 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10141 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10142 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10143
dd8620de
GM
10144 * image.el (image-animated-p): Tweak definition.
10145
ceca95b1
GM
10146 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10147 (rlogin-process-connection-type): Tweak default. Add set-after.
10148 (rlogin-host): Doc fix.
10149 (rlogin): Tweak prompt.
10150 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10151
ee9f1acc
GM
10152 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10153 * progmodes/tcl.el (inferior-tcl-mode-map):
10154 Use completion-at-point rather than obsolete alias.
10155
45ce222e
GM
10156 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10157
02d844b5
GM
10158 * minibuffer.el (read-file-name-completion-ignore-case):
10159 Move before completion--in-region, for eager macro expansion.
10160
ac44d6c1
JL
101612013-05-29 Juri Linkov <juri@jurta.org>
10162
10163 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10164 for total count of matching lines. Add `global-matches' for total
10165 count of matches. Rename `matches' to `lines' for count of
10166 matching lines. Add `matches' for count of matches.
10167 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10168 to `prev-line' for line number of prev match endpt.
10169 Increment `matches' for every match. Print the number of
10170 matching lines in the header.
10171 (occur-context-lines): Rename `lines' to `curr-line'.
10172 Rename `prev-lines' to `prev-line'. (Bug#14017)
10173
3c9c9d38
JL
101742013-05-29 Juri Linkov <juri@jurta.org>
10175
10176 * replace.el (perform-replace): Add `skip-read-only-count',
10177 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10178 Increment them for corresponding conditions and report the number
10179 of skipped occurrences in the final message. (Bug#11746)
10180 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10181 (replace-string, replace-regexp): Doc fix.
10182
33e249a2
SM
101832013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10184
8e399682
SM
10185 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10186
33e249a2 10187 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10188 prog-mode-map (bug#14504).
33e249a2 10189
f236dd84
LL
101902013-05-29 Leo Liu <sdl.web@gmail.com>
10191
10192 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10193 (octave-help): Small simplification.
10194
10195 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10196 off the highlight first.
10197
3694d13f
GM
101982013-05-29 Glenn Morris <rgm@gnu.org>
10199
03983bdc
GM
10200 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10201 Handle idlwave-last-system-routine-info-cons-cell being nil.
10202
bc74a74a
GM
10203 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10204 (idlwave-write-paths): Simplify via with-temp-buffer.
10205
8b394200
GM
10206 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10207 * emulation/cua-rect.el: Also load cua-base at run time.
10208
3694d13f
GM
10209 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10210 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10211 (cperl-imenu-on-info): Require imenu.
10212
336d7284
AM
102132013-05-28 Alan Mackenzie <acm@muc.de>
10214
10215 Handle "capitalised keywords" correctly.
33e249a2 10216 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10217
cb29c582
AG
102182013-05-28 Aidan Gauland <aidalgol@amuri.net>
10219
781b4af6 10220 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10221
690e44b2
GM
102222013-05-28 Glenn Morris <rgm@gnu.org>
10223
e658d75c
GM
10224 * vc/vc-arch.el (vc-exec-after): Declare.
10225 (vc-switches): Autoload.
10226 * vc/vc-bzr.el: No need to require vc when compiling.
10227 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10228 (vc-resynch-buffer, vc-dir-refresh): Declare.
10229 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10230 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10231 (vc-resynch-buffer): Declare.
10232 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10233 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10234 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10235 (grep-read-regexp, grep-read-files, grep-expand-template)
10236 (vc-dir-refresh): Declare.
10237 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10238 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10239 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10240 * vc/vc-mtn.el (vc-exec-after): Declare.
10241 (vc-switches): Autoload.
10242 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10243 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10244 (vc-file-tree-walk): Declare.
712b9732
GM
10245 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10246 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10247 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10248 * vc/vc-svn.el (vc-exec-after): Declare.
10249 (vc-switches, vc-setup-buffer): Autoload.
10250 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10251 Autoload.
10252 (vc-resynch-buffer): Declare.
10253
98e87fb3
GM
10254 * obsolete/fast-lock.el (byte-compile-warnings):
10255 Don't warn about obsolete features in this obsolete file.
10256
f5379553
GM
10257 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10258 Move definition before use.
10259
7a20ef83
GM
10260 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10261 (dun-unix-verbs): Remove dun-zippy.
10262 (dun-zippy): Remove function.
10263
690e44b2
GM
10264 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10265
3a52ccf7
JL
102662013-05-27 Juri Linkov <juri@jurta.org>
10267
10268 * replace.el (replace-search): New function with code moved out
10269 from `perform-replace'.
10270 (replace-highlight, replace-dehighlight): Move function definitions
10271 up closer to `replace-search'. (Bug#11746)
10272
d289938a
JL
102732013-05-27 Juri Linkov <juri@jurta.org>
10274
10275 * replace.el (perform-replace): Ignore invisible matches.
10276 In addition to checking `query-replace-skip-read-only', also
10277 filter out matches by calling `run-hook-with-args-until-failure'
10278 on `isearch-filter-predicates', and also check `search-invisible'
10279 for t or call `isearch-range-invisible'.
10280 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10281
66fc57e3
JL
102822013-05-27 Juri Linkov <juri@jurta.org>
10283
10284 * isearch.el (isearch-filter-predicates): Rename from
10285 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10286 (isearch-message-prefix): Display text from the property
10287 `isearch-message-prefix' of the currently active filters.
10288 (isearch-search): Don't compare `isearch-filter-predicate' with
10289 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10290 on `isearch-filter-predicates'. Also check `search-invisible' for t
10291 or call `isearch-range-invisible'.
10292 (isearch-filter-visible): Make obsolete.
10293 (isearch-lazy-highlight-search):
10294 Call `run-hook-with-args-until-failure' on
10295 `isearch-filter-predicates' and use `isearch-range-invisible'.
10296
10297 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10298 `isearch-filter-predicates' instead of `funcall'ing
10299 `isearch-filter-predicate'.
10300 (Info-mode): Set `Info-isearch-filter' to
10301 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10302
10303 * dired-aux.el (dired-isearch-filter-predicate-orig):
10304 Remove variable.
10305 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10306 (dired-isearch-filenames-end): Add and remove
10307 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10308 instead of changing the value of `isearch-filter-predicate'.
10309 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10310 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10311 Put property `isearch-message-prefix' to "filename " on
10312 `dired-isearch-filter-filenames'.
10313
10314 * wdired.el (wdired-change-to-wdired-mode):
10315 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10316 locally instead of changing `isearch-filter-predicate'.
10317 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10318
f1a60a0f
DG
103192013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10320
10321 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10322 return the commit hash (Bug#14459). Also set the
10323 `vc-git-detached' property.
10324 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10325 (vc-git-mode-line-string): Use the same help-echo format whether
10326 in detached mode or not, because we know the actual revision now.
10327 When in detached mode, shorten the revision to 7 chars.
10328
7f17cc40
SM
103292013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10330
10331 * emacs-lisp/easy-mmode.el (define-minor-mode):
10332 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10333 mode hook and provide a docstring.
10334
25c8401c
AM
103352013-05-27 Alan Mackenzie <acm@muc.de>
10336
10337 Remove spurious syntax-table text properties inserted by C-y.
10338 * progmodes/cc-mode.el (c-after-change): Also clear hard
10339 syntax-table property with value nil.
10340
dde84790
MA
103412013-05-27 Michael Albinus <michael.albinus@gmx.de>
10342
10343 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10344 when reading the events; the buffer layout shall not be changed.
10345
837fd9af
LL
103462013-05-27 Leo Liu <sdl.web@gmail.com>
10347
10348 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10349 New variable.
10350 (inferior-octave-directory-tracker): Automatically re-sync
10351 default-directory.
10352 (octave-help): Improve handling of 'See also'.
10353
4fd996b3
SM
103542013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10355
416f1802
SM
10356 * doc-view.el: Minor naming convention tweaks.
10357 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10358
4fd996b3
SM
10359 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10360 even if there's no `display' property yet (bug#14435).
10361
a052ef3b
EZ
103622013-05-25 Eli Zaretskii <eliz@gnu.org>
10363
4fd996b3 10364 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10365
10366 * Makefile.in (custom-deps, finder-data, autoloads)
10367 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10368 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10369 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10370
c9023370
SM
103712013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10372
10373 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10374 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10375 Don't burp at EOB.
c9023370 10376
24d699fa
LL
103772013-05-25 Leo Liu <sdl.web@gmail.com>
10378
10379 * comint.el (comint-previous-matching-input): Do not flood the
10380 *Messages* buffer with trivial messages.
10381
17e5c0cc
SM
103822013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10383
10384 * progmodes/flymake.el (flymake-nop): Don't return a string.
10385 (flymake-set-at): Fix typo.
10386
10387 * simple.el (read--expression): New function, extracted from
10388 eval-expression. Set completion-at-point-functions (bug#14465).
10389 (eval-expression, eval-minibuffer): Use it.
10390
5d028165
XF
103912013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10392
10393 * progmodes/flymake.el (flymake-save-buffer-in-file)
10394 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10395 (flymake-selected-frame, flymake-log, flymake-ins-after)
10396 (flymake-set-at, flymake-get-buildfile-from-cache)
10397 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10398 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10399 Refine the doc string.
10400 (flymake-get-file-name-mode-and-masks): Reformat.
10401 (flymake-get-real-file-name-function): Fix a minor bug.
10402
7a1d7ba7
JL
104032013-05-24 Juri Linkov <juri@jurta.org>
10404
10405 * progmodes/grep.el (grep-mode-font-lock-keywords):
10406 Support =linenumber= format used by git-grep for lines with
10407 function names. (Bug#13549)
10408
650cff3d
SM
104092013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10410
10411 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10412 0 after a semi-colon; it works better for smie-auto-fill.
10413 (octave--indent-new-comment-line): New function.
10414 (octave-indent-new-comment-line): Use it (indirectly).
10415 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10416 modify comment-line-break-function.
10417
10418 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10419 (smie-setup): Use add-function to set it.
10420
9631677d
SS
104212013-05-24 Sam Steingold <sds@gnu.org>
10422
10423 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10424 argument (before the `interactive' argument).
10425
50105835
SM
104262013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10427
10428 * image-mode.el (image-mode-winprops): Add winprops to
10429 image-mode-winprops-alist before running
10430 image-mode-new-window-functions.
10431 * doc-view.el (doc-view-new-window-function): Don't delay
10432 doc-view-goto-page via timers (bug#14435).
10433
57b9823e
TH
104342013-05-24 Tassilo Horn <tsdh@gnu.org>
10435
10436 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10437 (doc-view-desktop-save-buffer): New function.
10438 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10439 (desktop-buffer-mode-handlers):
10440 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10441 handler.
10442 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10443 `desktop-save-buffer' function.
10444
91aafa16
MA
104452013-05-24 Michael Albinus <michael.albinus@gmx.de>
10446
10447 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10448 (tramp-gvfs-file-name-handler): Raise a user error when
10449 `tramp-gvfs-enabled' is nil.
10450 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10451 Do not raise a user error when loading package. (Bug#14447)
10452
ec076379
MA
10453 * net/xesam.el: Move to obsolete/.
10454
db785726
GM
104552013-05-24 Glenn Morris <rgm@gnu.org>
10456
af5c7606
GM
10457 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10458
e5d1916a
GM
10459 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10460
ded62b08
GM
10461 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10462 (Info-find-node, Man-getpage-in-background): Declare.
10463
9e614a3f
GM
10464 * mail/unrmail.el (unrmail):
10465 Replace obsolete detect-coding-with-priority.
10466
892f8ca3
GM
10467 * net/socks.el (socks-split-string): Use this rather than split-string.
10468 (socks-nslookup-host): Update for above change.
10469 (dynamic-choice, s5-dynamic-choice-match)
10470 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10471 Comment out unused code.
10472
3c291973
GM
10473 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10474 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10475 (gud-tooltip-echo-area): Make obsolete.
10476 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10477
43cc956b
GM
10478 * progmodes/js.el (js--optimize-arglist): Declare.
10479
dab49a3b
GM
10480 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10481
36b9d085
GM
10482 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10483 (ediff-window-C): Declare.
10484
e354ae76
GM
10485 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10486 Tweak requires to silence compiler.
10487
b8e57bf4
GM
10488 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10489 (he-search-string, he-tried-table, he-expand-list)
10490 (he-init-string, he-string-member, he-substitute-string)
10491 (he-reset-string): Declare.
10492
db785726
GM
10493 * obsolete/options.el (list-options): Use custom-variable-p,
10494 rather than obsolete alias.
10495
b3531901
SS
104962013-05-23 Sam Steingold <sds@gnu.org>
10497
10498 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10499 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10500 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10501
bdda4c66
SM
105022013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10503
10504 * emacs-lisp/smie.el (smie-indent-forward-token)
10505 (smie-indent-backward-token): Handle string tokens (bug#14381).
10506
c43d45f9
TH
105072013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10508
fe1eb856
RS
10509 * ielm.el (ielm-menu): New menu.
10510 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10511
fe1eb856
RS
105122013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10513
a12bf61e 10514 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10515 Fix deactivate action.
10516
a12bf61e 10517 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10518 Add cleveref macros.
074dd971 10519
a12bf61e 10520 * textmodes/reftex-parse.el
c43d45f9
TH
10521 (reftex-locate-bibliography-files): Accept options for
10522 bibliography commands.
a12bf61e 10523 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10524 Add addbibresource. Basic Biblatex support.
10525
7764286e
MA
105262013-05-23 Michael Albinus <michael.albinus@gmx.de>
10527
10528 * net/tramp-gvfs.el (top):
10529 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10530 when loading package. (Bug#14447)
10531
d361bc10
GM
105322013-05-23 Glenn Morris <rgm@gnu.org>
10533
8fa23984
GM
10534 * progmodes/js.el: No need to load comint when compiling.
10535 (ring-insert, comint-send-string, comint-send-input)
10536 (comint-last-input-end, ido-chop): Declare.
10537
a5c7df1a
GM
10538 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10539 * vc/ediff-mult.el: Adjust requires.
10540 (ediff-directories-internal, ediff-directory-revisions-internal)
10541 (ediff-patch-file-internal): Declare.
10542 * vc/ediff-ptch.el: Adjust requires.
10543 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10544 (ediff-find-file): Autoload.
10545 * vc/ediff-util.el: No need to load ediff when compiling.
10546 (ediff-regions-internal): Declare.
10547 * vc/ediff-wind.el: Adjust requires.
10548 (ediff-compute-toolbar-width): Define when compiling.
10549 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10550 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10551 (dired-get-filename, dired-get-marked-files)
10552 (ediff-last-dir-patch, ediff-patch-default-directory)
10553 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10554 (ediff-patch-buffer-internal): Declare.
10555
e2aec513
GM
10556 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10557 (ispell-process, ispell-buffer-local-words, lm-summary)
10558 (lm-section-start, lm-section-end): Declare.
10559 (checkdoc-ispell-init): Simplify.
10560
e68bbd7c
GM
10561 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10562 (he-string-member, he-reset-string, he-substitute-string): Declare.
10563
7efe0991
GM
10564 * eshell/em-ls.el: Adjust requires.
10565 (eshell-glob-regexp): Declare.
f87b1284
GM
10566 * eshell/em-tramp.el: Adjust requires.
10567 (eshell-parse-command): Autoload.
10568 * eshell/em-xtra.el: Adjust requires.
10569 (eshell-parse-command): Autoload.
10570 * eshell/esh-ext.el: Adjust requires.
10571 (eshell-parse-command, eshell-close-handles): Autoload.
10572 * eshell/esh-io.el: Adjust requires.
10573 (eshell-output-filter): Autoload.
10574 * eshell/esh-util.el: No need to load tramp when compiling.
10575 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10576 Declare.
10577 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10578 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10579 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10580 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10581 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10582 * eshell/esh-opt.el, eshell/esh-proc.el:
10583 * eshell/esh-var.el: Adjust requires.
10584 * eshell/eshell.el: Do not require esh-util twice.
10585 (eshell-add-input-to-history): Declare.
10586 (eshell-command): Check history module is active before using it.
10587
d361bc10
GM
10588 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10589
85d090a9
LL
105902013-05-22 Leo Liu <sdl.web@gmail.com>
10591
10592 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10593
5d0acd9d
MA
105942013-05-22 Michael Albinus <michael.albinus@gmx.de>
10595
10596 * autorevert.el (auto-revert-notify-add-watch)
10597 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10598 it indicates changes in file modification time.
10599
0cdffd7d
GM
106002013-05-22 Glenn Morris <rgm@gnu.org>
10601
ca5995ec
GM
10602 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10603 Always delete the autoloaded function from the noruntime and
10604 unresolved functions lists.
10605
6450907e
GM
10606 * allout.el: No need to load epa, epg, overlay when compiling.
10607 (epg-context-set-passphrase-callback, epg-list-keys)
10608 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10609 (epg-key-user-id-list): Declare.
10610
9c6906f6
GM
10611 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10612 (viper-set-parsing-style-toggling-macro)
10613 (viper-set-emacs-state-searchstyle-macros):
10614 Use called-interactively-p on Emacs.
10615 (viper-looking-back): Make it an obsolete alias. Update callers.
10616 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10617 Use looking-back rather than viper-looking-back.
10618 (viper-tmp-insert-at-eob, viper-enlarge-region)
10619 (viper-read-string-with-history, viper-register-to-point)
10620 (viper-append-to-register, viper-change-state-to-vi)
10621 (viper-backward-char-carefully, viper-forward-char-carefully)
10622 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10623 (viper-change-state-to-emacs): Declare.
10624 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10625 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10626 * emulation/viper-mous.el: Do not load viper-cmd.
10627 (viper-backward-char-carefully, viper-forward-char-carefully)
10628 (viper-forward-word, viper-adjust-window): Declare.
10629
5f70c169
GM
10630 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10631
b1b7f300
GM
10632 * progmodes/idlw-help.el (idlwave-help-fontify):
10633 Use called-interactively-p.
10634
f6ebbb46
GM
10635 * term/w32console.el (w32-get-console-codepage)
10636 (w32-get-console-output-codepage): Declare.
10637
0cdffd7d
GM
10638 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10639 Remove unnecessary declarations.
10640 (dframe-message): Doc fix.
10641
10642 * info.el (dframe-select-attached-frame, dframe-current-frame):
10643 Declare.
10644
10645 * speedbar.el (speedbar-message): Make it an obsolete alias.
10646 Update all callers.
10647 (speedbar-with-attached-buffer)
10648 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10649 (speedbar-with-writable): Use backquote.
10650 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10651 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10652 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10653 rather than speedbar- aliases.
10654 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10655 (speedbar-make-specialized-keymap, speedbar-insert-button)
10656 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10657 (speedbar-do-function-pointer): Declare.
10658 (rmail-speedbar-button, rmail-speedbar-find-file)
10659 (rmail-speedbar-move-message):
10660 Use dframe-with-attached-buffer rather than speedbar- alias.
10661 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10662 (dframe-message, speedbar-make-specialized-keymap)
10663 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10664 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10665 (speedbar-insert-button, dframe-select-attached-frame)
10666 (dframe-maybee-jump-to-attached-frame)
10667 (speedbar-change-initial-expansion-list)
10668 (speedbar-previously-used-expansion-list-name): Declare.
10669 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10670 Use dframe-message, dframe-with-attached-buffer rather than
10671 speedbar- aliases.
10672 (gud-sentinel): Silence compiler.
10673 * progmodes/vhdl-mode.el (speedbar-refresh)
10674 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10675 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10676 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10677 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10678 (speedbar-file-lists, speedbar-make-tag-line)
10679 (speedbar-line-directory, speedbar-goto-this-file)
10680 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10681 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10682 (speedbar-make-button, speedbar-reset-scanners)
10683 (speedbar-files-item-info, speedbar-line-text)
10684 (speedbar-find-file-in-frame, speedbar-set-timer)
10685 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10686 (speedbar-with-writable): Do not (re)define it.
10687 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10688 rather than speedbar- alias.
10689
ee44b62a
LL
106902013-05-21 Leo Liu <sdl.web@gmail.com>
10691
10692 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10693 menu items.
10694 (octave-mode): Tweak fill-nobreak-predicate.
10695 (inferior-octave-startup): Check process to avoid infinite loop.
10696 (inferior-octave): Pop to buffer first to show abornmal process
10697 exit information.
10698
640f050f
GM
106992013-05-21 Glenn Morris <rgm@gnu.org>
10700
79458038
GM
10701 * printing.el (pr-menu-bar): Define when compiling.
10702
9cc3e83f
LL
107032013-05-21 Leo Liu <sdl.web@gmail.com>
10704
10705 * progmodes/octave.el (octave-auto-fill): Remove.
10706 (octave-indent-new-comment-line): Improve.
10707 (octave-mode): Use auto fill mode through
4f405069 10708 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10709 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10710 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10711 (octave-help): Show parent directory.
10712
f440830d
GM
107132013-05-21 Glenn Morris <rgm@gnu.org>
10714
10715 * files.el (dired-unmark):
10716 * progmodes/gud.el (gdb-input): Update declarations.
10717
10718 * calculator.el (electric, ehelp): No need to load when compiling.
10719 (Electric-command-loop, electric-describe-mode): Declare.
10720
10721 * doc-view.el (doc-view-current-converter-processes): Move before use.
10722
10723 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10724 Move MODE-set-explicitly definition before use.
10725
10726 * international/mule-diag.el (mule-diag):
10727 Don't use obsolete window-system-version.
10728
10729 * mail/feedmail.el (smtpmail): No need to load when compiling.
10730 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10731
10732 * mail/mail-utils.el (rfc822): No need to load when compiling.
10733 (rfc822-addresses): Autoload it.
10734 (mail-strip-quoted-names): Trivial simplification.
10735
10736 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10737 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10738
10739 * net/snmp-mode.el (tempo): Don't duplicate requires.
10740
10741 * progmodes/prolog.el (info): No need to load when compiling.
10742 (comint): Require before shell requires it.
10743 (Info-goto-node): Autoload it.
10744 (Info-follow-nearest-node): Declare.
10745 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10746
10747 * textmodes/artist.el (picture-mode-exit): Declare.
10748
10749 * textmodes/reftex-parse.el (reftex-parse-from-file):
10750 Trivial rewrite so the compiler can parse it better.
10751
b4da2cbb
LL
107522013-05-20 Leo Liu <sdl.web@gmail.com>
10753
10754 * progmodes/octave.el (octave-help-mode-map)
10755 (octave-help-mode-finish-hook): New variables.
10756 (octave-help-mode, octave-help-mode-finish): New functions.
10757 (octave-help): Use octave-help-mode.
10758
33c0f65b
GM
107592013-05-20 Glenn Morris <rgm@gnu.org>
10760
10761 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10762
1a0a0a8a
DG
107632013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10764
10765 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10766 start at point, so that expansion starting right after opening
10767 slash in a regexp is recognized.
10768 (ruby-syntax-before-regexp-re): New defvar, extracted from
10769 ruby-syntax-propertize-function. Since the value of this regexp
10770 is looked up at runtime now, we should be able to turn
10771 `ruby-syntax-methods-before-regexp' into a defcustom later.
10772 (ruby-syntax-propertize-function): Split regexp matching into two
10773 parts, for opening and closing slashes. That allows us to skip
10774 over string interpolations and support multiline regexps.
10775 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10776 for them, which calls `ruby-syntax-propertize-expansion'.
10777 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10778 call to `ruby-syntax-propertize-function'.
10779 (ruby-syntax-propertize-expansion): Extracted from
10780 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10781 (ruby-syntax-propertize-percent-literal): Leave point right after
10782 the percent symbol, so that the expression expansion rule can
10783 propertize the contents.
462388b6
DG
10784 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10785 heredoc openers.
10786 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10787
c1a6c0a4
JL
107882013-05-18 Juri Linkov <juri@jurta.org>
10789
10790 * man.el (Man-default-man-entry): Remove `-' from the end
10791 of the default value. (Bug#14400)
10792
8051fccd
GM
107932013-05-18 Glenn Morris <rgm@gnu.org>
10794
10795 * comint.el (comint-password-prompt-regexp):
10796 Allow "password for XXX" where XXX contains colons (eg https://...).
10797
5e80b74f
LL
107982013-05-18 Leo Liu <sdl.web@gmail.com>
10799
10800 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10801 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10802 (octave-source-directories): Don't check process.
10803 (octave-source-directories, octave-find-definition): Doc fix.
10804
521a54c5
GM
108052013-05-18 Glenn Morris <rgm@gnu.org>
10806
86a94b05
GM
10807 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10808 Remove backspace/delete bindings. (Bug#14392)
10809
521a54c5
GM
10810 * cus-dep.el (custom-make-dependencies): Sort the output.
10811 (custom-versions-load-alist): Convert comment to doc.
10812
42caeb89
LL
108132013-05-17 Leo Liu <sdl.web@gmail.com>
10814
10815 * newcomment.el (comment-search-backward): Stricter in finding
10816 comment start. (Bug#14303)
10817
10818 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10819 (octave-comment-start-skip): Properly anchored.
10820
e219dd97
LL
108212013-05-17 Leo Liu <sdl.web@gmail.com>
10822
fe1eb856
RS
10823 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10824 Clean up when turned off. (Bug#14395)
e219dd97
LL
10825 (smie--highlight-matching-block-overlay): No longer buffer-local.
10826 (smie-highlight-matching-block): Adjust.
10827
dc5dcb4b
PE
108282013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10829
10830 Doc string fix for "nanoseconds" (Bug#14406).
10831 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10832 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10833
1db165f0
JB
108342013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10835
10836 * calc/calc-units.el (math-extract-units): Preserve powers
10837 of units.
10838
c7a8fcac
LL
108392013-05-17 Leo Liu <sdl.web@gmail.com>
10840
10841 * subr.el (delete-consecutive-dups): New function.
10842 * ido.el (ido-set-matches-1): Use it.
10843 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10844 * ido.el (ido-remove-consecutive-dups): Remove.
10845
f678b18a
SM
108462013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10847
10848 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10849 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10850 regexp-opt's `words'.
10851
ebfe68e8
LL
108522013-05-16 Leo Liu <sdl.web@gmail.com>
10853
10854 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10855 (smie--highlight-matching-block-overlay)
10856 (smie--highlight-matching-block-lastpos)
10857 (smie--highlight-matching-block-timer): New variables.
10858 (smie-highlight-matching-block): New function.
10859 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10860 (smie-setup): Conditionally enable smie-blink-matching-open.
10861
bc8bc17d
WS
108622013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10863
10864 Sync with upstream verilog-mode r840.
10865 * progmodes/verilog-mode.el (verilog-mode-version)
10866 (verilog-mode-release-date): Update.
10867 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10868 (verilog-sig-tieoff): Fix string error on
10869 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10870 (verilog-read-decls): Fix parameters confusing
10871 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10872
df065a0b
EZ
108732013-05-16 Eli Zaretskii <eliz@gnu.org>
10874
10875 * subr.el (reveal-filename): New function.
10876
10877 * loadup.el: Compute Emacs executable versions on MS-Windows,
10878 where executables have the .exe extension. Add a hard link
10879 emacs-XX.YY.ZZ.exe on MS-Windows.
10880
10881 * Makefile.in (XARGS_LIMIT): New variable.
10882 (custom-deps, finder-data, autoloads)
10883 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10884 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10885 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10886 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10887
2d4bf34b
LL
108882013-05-16 Leo Liu <sdl.web@gmail.com>
10889
10890 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10891 (octave-mode-menu, octave-mode-map): Remove its uses.
10892
6b9c2d85
RZ
108932013-05-16 Reto Zimmermann <reto@gnu.org>
10894
10895 Sync with upstream vhdl mode v3.34.2.
10896 * progmodes/vhdl-mode.el: Use `push' throughout.
10897 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10898 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10899 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10900 (vhdl-actual-generic-name): New option to derive actual generic name.
10901 (vhdl-port-paste-signals): Replace formal by actual generics.
10902 (vhdl-beautify): New name for old group vhdl-align. Update users.
10903 (vhdl-beautify-options): New option.
10904 (vhdl-last-input-event): New compat alias. Use throughout.
10905 (vhdl-goto-line): Replace user level function `goto-line'.
10906 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10907 vhdl-fix-statement-buffer.
10908 (vhdl-create-mode-menu): Add some entries.
10909 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10910 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10911 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10912 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10913 to force statements on one line.
10914 (vhdl-remove-trailing-spaces-region):
10915 New, split from vhdl-remove-trailing-spaces.
10916 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10917 Respect vhdl-beautify-options.
10918 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10919 (vhdl-update-sensitivity-list): Not add with index if exists without.
10920 Not include array index with signal. Ignore keywords in comments.
10921 (vhdl-get-visible-signals): Regexp tweaks.
10922 (vhdl-template-component-inst): Handle empty library.
10923 (vhdl-template-type): Add template for 'enum' type.
10924 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10925 Use vhdl-replace-string.
10926 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10927 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10928 (vhdl-speedbar-initialize): Update for above name change.
10929 (vhdl-compose-wire-components): Fix in handling of constants.
10930 (vhdl-error-regexp-emacs-alist): New variable.
10931 (vhdl-error-regexp-add-emacs): New function;
10932 adds support for new compile.el (Emacs 22+)
10933 (vhdl-generate-makefile-1): Change target order for single lib. units.
10934 Allow use of absolute file names.
10935
9df4ec5e
LL
109362013-05-16 Leo Liu <sdl.web@gmail.com>
10937
10938 * simple.el (prog-indent-sexp): Indent enclosing defun.
10939
f5ba00a6
GM
109402013-05-15 Glenn Morris <rgm@gnu.org>
10941
ed8be7ff
GM
10942 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10943 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10944 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10945 (whitespace-highlight): Move to whitespace group.
10946
10947 * comint.el (comint-source):
10948 * pcmpl-linux.el (pcmpl-linux):
10949 * shell.el (shell-faces):
10950 * eshell/esh-opt.el (eshell-opt):
10951 * international/ccl.el (ccl): Remove empty custom groups.
10952
10953 * completion.el (dynamic-completion-mode):
10954 * jit-lock.el (jit-lock-debug-mode):
10955 * minibuffer.el (completion-in-region-mode):
10956 * type-break.el (type-break-mode-line-message-mode)
10957 (type-break-query-mode):
10958 * emulation/tpu-edt.el (tpu-edt-mode):
10959 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10960 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10961 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10962
10963 * term/xterm.el (xterm): Change parent group to terminals.
10964
10965 * master.el (master): Remove empty custom group.
10966 (master-mode): Remove unused :group argument.
10967 * textmodes/refill.el (refill): Remove empty custom group.
10968 (refill-mode): Remove unused :group argument.
10969
10970 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10971
82a7c41b
GM
10972 * cus-dep.el: Provide a feature.
10973 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10974 Don't mistakenly ignore files whose basenames match a basename
10975 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10976 Add a fallback method for getting :group.
f5ba00a6 10977
6d65486d
JL
109782013-05-15 Juri Linkov <juri@jurta.org>
10979
da547b32
JL
10980 * isearch.el (isearch-char-by-name): Rename from
10981 `isearch-insert-char-by-name'. Doc fix.
10982 (isearch-forward): Mention `isearch-char-by-name' in
10983 the docstring. (Bug#13348)
10984
6d65486d
JL
10985 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10986 `exit-minibuffer' instead of
10987 `isearch-nonincremental-exit-minibuffer'.
10988 (isearch-edit-string): Remove mention of
10989 `isearch-nonincremental-exit-minibuffer' from docstring.
10990 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10991 (isearch-forward-exit-minibuffer)
10992 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10993
c9990474
SM
109942013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10995
6e911150
SM
10996 * loadup.el: Just use unversioned DOC.
10997
c9990474
SM
10998 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10999 literals as extending to EOB.
11000 (nxml-last-fontify-end): Remove unused variable.
11001 (nxml-after-change1): Use with-silent-modifications.
11002 (nxml-extend-after-change-region): Simplify.
11003 (nxml-extend-after-change-region1): Remove function.
11004 (nxml-after-change1): Don't adjust for dependent regions.
11005 (nxml-fontify-matcher): Simplify.
11006 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11007 (xmltok-add-dependent): Remove function.
11008 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11009 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11010 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11011 unclosed <[[, <?, comment, and other literals as extending to EOB.
11012 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11013 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11014 Remove functions.
11015 (rng-do-some-validation-1): Don't mark dependent regions.
11016 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11017 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11018 (nxml-clear-dependent-regions): Remove functions.
11019 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11020 (nxml-ensure-scan-up-to-date):
11021 Don't clear&mark dependent regions.
11022
e3772e98
LL
110232013-05-15 Leo Liu <sdl.web@gmail.com>
11024
c9990474
SM
11025 * progmodes/octave.el (octave-goto-function-definition):
11026 Improve and fix callers.
e3772e98 11027
5ac2eb34
SM
110282013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11029
c46c57b0
SM
11030 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11031 the setter (bug#14387).
11032
5ac2eb34
SM
11033 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11034 surrounding group (bug#14402).
11035
180ed218
JL
110362013-05-14 Juri Linkov <juri@jurta.org>
11037
11038 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11039 (Bug#14390)
11040
0ac0fecb
GM
110412013-05-14 Glenn Morris <rgm@gnu.org>
11042
11043 * progmodes/f90.el (f90-imenu-generic-expression):
11044 Fix typo in 2013-05-08 change. (Bug#14402)
11045
2e78e6a7
JPG
110462013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11047
5ac2eb34
SM
11048 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11049 Remove signals for which replies are never received.
2e78e6a7 11050
53267cca
JPG
110512013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11052
11053 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11054 (gdb-handler-alist, gdb-handler-number): Remove variables.
11055 (gdb-handler-list): New variable.
11056 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11057 (gdb-pending-handler-p, gdb-handle-reply)
11058 (gdb-remove-all-pending-triggers): New functions.
11059 (gdb-discard-unordered-replies): New defcustom.
11060 (gdb-handler): New defstruct.
11061 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11062 instead of gdb-pending-triggers. Update docstring.
11063 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11064 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11065 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11066 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11067 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11068 (gdb-frame-handler): Pending triggers are now automatically managed.
11069 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11070 Remove argument.
11071 (gdb-input): Automatically handles pending triggers. Update docstring.
11072 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11073 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11074 Update comments.
11075 (gdb-done-or-error): Now use gdb-handle-reply.
11076
d04ce803
JPG
110772013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11078
11079 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11080 gdb-debug-log.
11081
0114073a
GM
110822013-05-14 Glenn Morris <rgm@gnu.org>
11083
11084 * subr.el (user-emacs-directory-warning): New option.
11085 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11086
4d25fd7e
LL
110872013-05-14 Leo Liu <sdl.web@gmail.com>
11088
11089 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11090 during redisplay.
11091 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11092 (octave-font-lock-texinfo-comment): Fix invalid search bound
11093 error: wrong side of point.
4d25fd7e 11094
27c8b6eb
GM
110952013-05-14 Glenn Morris <rgm@gnu.org>
11096
61aaeb01
GM
11097 * progmodes/flymake.el (flymake-xml-program): New option.
11098 (flymake-xml-init): Use it.
11099
5bf90bc5
GM
11100 * term/xterm.el: Provide a feature.
11101
11102 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11103
f4c7dfd2
GM
111042013-05-13 Glenn Morris <rgm@gnu.org>
11105
11106 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11107 Add compat aliases as a hack workaround. (Bug#14384)
11108
2aeb3a1d
LL
111092013-05-13 Leo Liu <sdl.web@gmail.com>
11110
b0e069c2
LL
11111 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11112 ###, and %!.
f5a9432f
LL
11113 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11114 C-M-q.
b0e069c2
LL
11115 (octave-comment-start-skip): Include %!.
11116 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11117
30ea8374
LL
111182013-05-12 Leo Liu <sdl.web@gmail.com>
11119
11120 * progmodes/octave.el (inferior-octave-startup): Store the value
11121 of __octave_srcdir__ for octave-source-directories.
11122 (inferior-octave-check-process): New function refactored out of
11123 inferior-octave-send-list-and-digest.
11124 (octave-source-directories)
11125 (octave-find-definition-filename-function): New variables.
11126 (octave-source-directories)
11127 (octave-find-definition-default-filename): New functions.
11128 (octave-find-definition): Improve to find functions implemented in C++.
11129
472a3834
GM
111302013-05-12 Glenn Morris <rgm@gnu.org>
11131
11132 * calendar/diary-lib.el (diary-outlook-format-1):
11133 Don't include dayname in the output. (Bug#14349)
11134
3191b52f
GM
111352013-05-11 Glenn Morris <rgm@gnu.org>
11136
0060ac73
GM
11137 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11138
3191b52f
GM
11139 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11140 Treat cc-provide like provide.
11141
e065ba74
KR
111422013-05-11 Kevin Ryde <user42@zip.com.au>
11143
11144 * cus-dep.el (custom-make-dependencies):
11145 Use generated-autoload-load-name for the sake of files such
11146 such cedet/semantic/bovine/c.el, where the base file name
11147 is not in load-path. (Bug#5277)
11148
36f84c37
GM
111492013-05-11 Glenn Morris <rgm@gnu.org>
11150
11151 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11152 Provide features.
11153
c8730c3a
LL
111542013-05-11 Leo Liu <sdl.web@gmail.com>
11155
11156 * progmodes/octave.el (octave-indent-comment): Improve.
11157 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11158 (octave-eldoc-function-signatures, octave-eldoc-function):
11159 New functions.
c8730c3a
LL
11160 (octave-mode, inferior-octave-mode): Add eldoc support.
11161
212e29f2
RS
111622013-05-11 Richard Stallman <rms@gnu.org>
11163
11164 * epa.el (epa-decrypt-file): Take output file name as argument
11165 and read it using `interactive'.
11166
083fe0d7
LL
111672013-05-11 Leo Liu <sdl.web@gmail.com>
11168
11169 * progmodes/octave.el (octave-beginning-of-line)
11170 (octave-end-of-line): Check before using up-list because it jumps
11171 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11172 (octave-indent-comment): New function.
11173 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11174 (octave-begin-keywords, octave-end-keywords)
11175 (octave-reserved-words, octave-smie-bnf-table)
11176 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11177
8582e4c4
GM
111782013-05-11 Glenn Morris <rgm@gnu.org>
11179
f20def1f
GM
11180 * faces.el (internal-face-x-get-resource):
11181 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11182 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11183 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11184 Fix declarations.
f20def1f 11185
445f95e2
GM
11186 * calc/calc-menu.el: Make it loadable in isolation.
11187
11188 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11189 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11190 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11191 (eudc-bbdb-query-internal): Require 'bbdb.
11192
99fb2756
GM
11193 * lpr.el (lpr-headers-switches):
11194 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11195
11196 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11197
0da7ad96
GM
11198 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11199
8582e4c4
GM
11200 * term.el (term-set-escape-char): Make it idempotent.
11201
f71c50d0
LL
112022013-05-10 Leo Liu <sdl.web@gmail.com>
11203
5ac2eb34
SM
11204 * progmodes/octave.el (inferior-octave-completion-table):
11205 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11206 completion due to bug#11906.
11207 (octave-beginning-of-defun): Re-write to be more general.
11208
d5837773
GM
112092013-05-10 Glenn Morris <rgm@gnu.org>
11210
11211 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11212
027c0f75
SM
112132013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11214
11215 * comint.el (comint-redirect-send-command-to-process): Use :around
11216 rather than :override for comint-redirect-filter.
11217 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11218 Call it instead of comint-redirect-original-filter-function (which
11219 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11220
4465bfb4
JD
112212013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11222
11223 * frame.el (display-monitor-attributes-list): Add NS case.
11224 (ns-display-monitor-attributes-list): Declare.
11225
2d809ffa 112262013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11227
11228 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11229
e54eeb9b
GM
112302013-05-09 Glenn Morris <rgm@gnu.org>
11231
56cd351d
GM
11232 * international/fontset.el (vertical-centering-font-regexp):
11233 Set standard-value.
11234
d84b6108
GM
11235 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11236
a931698a
GM
11237 * bookmark.el (bookmark-search-delay):
11238 * cus-start.el (vertical-centering-font-regexp):
11239 * ps-mule.el (ps-mule-font-info-database-default):
11240 * ps-print.el (ps-default-fg, ps-default-bg):
11241 * type-break.el (type-break-good-break-interval):
11242 * whitespace.el (whitespace-indentation-regexp)
11243 (whitespace-space-after-tab-regexp):
11244 * emacs-lisp/testcover.el (testcover-1value-functions)
11245 (testcover-noreturn-functions, testcover-progn-functions)
11246 (testcover-prog1-functions):
11247 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11248 * eshell/em-glob.el (eshell-glob-translate-alist):
11249 * play/tetris.el (tetris-tty-colors):
11250 * progmodes/cpp.el (cpp-face-default-list):
11251 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11252 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11253 (idlwave-help-browser-generic-args):
11254 * progmodes/make-mode.el (makefile-special-targets-list):
11255 * progmodes/python.el (python-shell-virtualenv-path):
11256 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11257 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11258 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11259 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11260 * textmodes/reftex-vars.el (reftex-format-label-function):
11261 * textmodes/remember.el (remember-diary-file): Fix custom types.
11262
e54eeb9b
GM
11263 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11264 Add :version.
11265
455851dd
LL
112662013-05-09 Leo Liu <sdl.web@gmail.com>
11267
11268 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11269 Restore file completion. (Bug#14300)
455851dd
LL
11270 (inferior-octave-startup): Fix incorrect highlighting for the
11271 first prompt.
11272
a9e4425b
SM
112732013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11274
11275 * progmodes/ruby-mode.el: First cut at SMIE support.
11276 (ruby-use-smie): New var.
11277 (ruby-smie-grammar): New constant.
11278 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11279 (ruby-smie--forward-token, ruby-smie--backward-token)
11280 (ruby-smie-rules): New functions.
11281 (ruby-mode-variables): Setup SMIE if applicable.
11282
060ca408
EZ
112832013-05-08 Eli Zaretskii <eliz@gnu.org>
11284
11285 * simple.el (line-move-visual): Signal beginning/end of buffer
11286 only if vertical-motion moved less than it was requested. Avoids
11287 silly incorrect error messages when there are display strings with
11288 multiple newlines at EOL.
11289
1d5963cc
SM
112902013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11291
11292 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11293 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11294 (prolog-char-quote-workaround):
11295 * progmodes/cperl-mode.el (cperl-under-as-char):
11296 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11297 Mark as obsolete.
11298 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11299 their declaration.
11300 (vhdl-mode-syntax-table-init): Remove.
11301
c9990474
SM
11302 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11303 last change.
1d5963cc
SM
11304
11305 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11306 syntax for "_".
11307 (ld-script-font-lock-keywords):
11308 Change regexps to use things like \_< and \_>.
11309
11310 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11311 Change all regexps to use things like \_< and \_>.
11312
11313 * progmodes/autoconf.el (autoconf-definition-regexp)
11314 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11315 Handle a _ with symbol syntax.
11316 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11317
c9990474
SM
11318 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11319 Consolidate declaration.
1d5963cc
SM
11320 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11321 the declaration.
11322 (ada-create-syntax-table): Remove.
11323 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11324 already has the right syntax nowadays.
11325 (ada-goto-next-word): Don't change the syntax of "_".
11326
11327 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11328 with-wrapper-hook.
11329
72d3cfca
SS
113302013-05-08 Sam Steingold <sds@gnu.org>
11331
11332 * thingatpt.el (thing-at-point): Accept optional second argument
11333 NO-PROPERTIES to strip the text properties from the return value.
11334 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11335 to `thing-at-point' instead of stripping the properties ourselves.
11336 Also, when `thing-at-point' fails to find a url, prepend "http://"
11337 to the filename at point on the assumption that the user is
11338 pointing at something like gnu.org/gnu.
11339
5cb15713
JB
113402013-05-08 Juanma Barranquero <lekktu@gmail.com>
11341
11342 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11343 * faces.el (crm-separator):
11344 Silence byte-compiler.
11345
11346 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11347 (tool-bar-map): Remove unneeded defvars.
11348
ea78b95b
LL
113492013-05-08 Leo Liu <sdl.web@gmail.com>
11350
11351 Re-work a fix for bug#10994 based on Le Wang's patch.
11352 * ido.el (ido-remove-consecutive-dups): New helper.
11353 (ido-completing-read): Use it.
11354 (ido-chop): Revert fix for bug#10994.
11355
dc7466df
AS
113562013-05-08 Adam Spiers <emacs@adamspiers.org>
11357
11358 * cus-edit.el (custom-save-variables):
11359 Pretty-print long values. (Bug#14187)
11360
9ecf672a
GM
113612013-05-08 Glenn Morris <rgm@gnu.org>
11362
11363 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11364 (m4-mode-syntax-table): Init in the defvar.
11365 (m4-mode-abbrev-table): Let define-derived-mode define it.
11366
3f555be8
TT
113672013-05-08 Tom Tromey <tromey@redhat.com>
11368
11369 * progmodes/m4-mode.el (m4-mode-syntax-table):
11370 Do not treat "_" as word constituent. (Bug#14167)
11371
7cc8ae06
GM
113722013-05-07 Glenn Morris <rgm@gnu.org>
11373
4f58bc06
GM
11374 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11375 Remove explicit eshell-isearch-cancel-map.
11376
7cc8ae06
GM
11377 * progmodes/f90.el (f90-smart-end-names): New option.
11378 (f90-smart-end): Doc fix.
11379 (f90-end-block-optional-name): New constant.
11380 (f90-block-match): Respect f90-smart-end-names.
11381
ceb57e59
SM
113822013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11383
11384 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11385 about implicit semi-colons (bug#14218).
11386
4e3f9230
YM
113872013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11388
11389 * frame.el (display-monitor-attributes-list)
11390 (frame-monitor-attributes): New functions.
11391
203a5572
LL
113922013-05-06 Leo Liu <sdl.web@gmail.com>
11393
11394 * progmodes/octave.el (octave-syntax-propertize-function): Change
11395 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11396 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11397 (octave-completion-at-point): Rename from
203a5572
LL
11398 octave-completion-at-point-function.
11399 (inferior-octave-directory-tracker): Robustify.
11400 (octave-text-functions): Remove and fix its uses. No such things
11401 any more.
11402
ee6cff99
SM
114032013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11404
11405 * emacs-lisp/trace.el (trace--display-buffer): New function.
11406 (trace-make-advice): Use it.
11407
32985194
JL
114082013-05-06 Juri Linkov <juri@jurta.org>
11409
11410 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11411 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11412 Doc fix.
11413 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11414 in the help string. (Bug#12985)
11415
a1c700de
KD
114162013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11417
11418 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11419
c67c0839
SM
114202013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11421
323885fd
SM
11422 * progmodes/perl-mode.el: Add support for here documents.
11423 (perl-syntax-propertize-function): Match here-doc markers.
11424 (perl-syntax-propertize-special-constructs): Find their end.
11425 (perl-imenu-generic-expression): Use [:alnum:].
11426
c67c0839
SM
11427 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11428 (advice--add-function): Refresh the advice if already present
11429 (bug#14317).
11430
d491e7a8
IA
114312013-05-06 Ivan Andrus <darthandrus@gmail.com>
11432
11433 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11434
ddf9925e
GM
114352013-05-06 Glenn Morris <rgm@gnu.org>
11436
7cc3af27
GM
11437 * w32-fns.el (w32-charset-info-alist): Declare.
11438
16e343d6
GM
11439 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11440 of its defcustom properties.
11441 (eshell-cmpl-initialize): No need to load pcomplete.
11442
7d889a47
GM
11443 * generic-x.el: No need to require comint when compiling.
11444
ddf9925e
GM
11445 * net/eudc-export.el: Make it loadable without bbdb.
11446 (top-level): Use require rather than load-library.
11447 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11448 (eudc-batch-export-records-to-bbdb)
11449 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11450 Require bbdb.
11451
1e2c18df
SM
114522013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11453
11454 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11455 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11456 some tweaks, instead.
11457
02502a5f
LL
114582013-05-05 Leo Liu <sdl.web@gmail.com>
11459
11460 * progmodes/octave.el (octave-font-lock-keywords)
11461 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11462 (inferior-octave-send-list-and-digest): Improve error message.
11463 (octave-mode, inferior-octave-mode): Use setq-local.
11464 (octave-help): Set info-lookup-mode.
11465
0dc04f42
RS
114662013-05-05 Richard Stallman <rms@gnu.org>
11467
6c54491c
RS
11468 * vc/compare-w.el (compare-windows-whitespace):
11469 Treat no-break space as whitespace.
11470
0dc04f42
RS
11471 * mail/rmailsum.el (rmail-summary-rmail-update):
11472 Detect empty summary and don't change selected message.
11473 (rmail-summary-goto-msg): Likewise.
11474
df8f35df
RS
11475 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11476 Doc fixes, rename args.
11477
5356e1a3
AM
114782013-05-05 Alan Mackenzie <acm@muc.de>
11479
11480 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11481
d44014cb
JL
114822013-05-05 Juri Linkov <juri@jurta.org>
11483
11484 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11485 to not add the length of the summary segment to the return value.
11486 (Bug#14125)
11487
c129b51f
LL
114882013-05-05 Leo Liu <sdl.web@gmail.com>
11489
11490 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11491 (inferior-octave-output-filter): Remove.
11492 (octave-send-region, inferior-octave-startup): Fix callers.
11493 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11494 (octave-binary-file-extensions): New user variable.
11495 (octave-find-definition): Confirm if opening binary files.
11496 (octave-help-file): Use octave-find-definition to get the binary
11497 confirmation.
11498 (octave-help): Adjust for octave-help-file change.
11499
aa7dab97
SM
115002013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11501
11502 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11503 Merge the two entries that handle function definitions.
11504 (pascal--syntax-propertize): New const.
11505 (pascal-mode): Use it. Use setq-local.
11506
fd3a9a6b
GM
115072013-05-04 Glenn Morris <rgm@gnu.org>
11508
11509 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11510 (diary-from-outlook): Respect diary-from-outlook-function.
11511
30c7e542
SM
115122013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11513
11514 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11515 Move the declaration from C.
11516 (read-minibuffer, eval-minibuffer): Move from C.
11517 (completion-setup-function): Avoid minibuffer-completion-contents.
11518
b54f978b
LL
115192013-05-03 Leo Liu <sdl.web@gmail.com>
11520
11521 * progmodes/octave.el (octave-font-lock-keywords): Do not
11522 dehighlight 'end' in comments or strings.
30c7e542
SM
11523 (octave-completing-read, octave-goto-function-definition):
11524 New helpers.
d4d0f9b3
LL
11525 (octave-help-buffer): New user variable.
11526 (octave-help-file, octave-help-function): New button types.
11527 (octave-help): New command and bind it to C-h ;.
11528 (octave-find-definition): New command and bind it to M-.
d74a1581 11529 (user-error): Alias to error if not defined.
b54f978b 11530
27135018
LL
115312013-05-02 Leo Liu <sdl.web@gmail.com>
11532
11533 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11534 for \. (bug#14332)
11535 (octave-font-lock-keywords): Include [ and {.
11536
0d634d3a
LL
115372013-05-02 Leo Liu <sdl.web@gmail.com>
11538
11539 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11540 (inferior-octave): Remove calling comint-mode and return the buffer.
11541 (inferior-octave-startup): Cosmetic changes.
11542
b4c8295e
LL
115432013-05-02 Leo Liu <sdl.web@gmail.com>
11544
30c7e542
SM
11545 * progmodes/octave.el (octave-syntax-propertize-function):
11546 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11547
f12ad6ec
GM
115482013-05-02 Glenn Morris <rgm@gnu.org>
11549
11550 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11551 * desktop.el (vc-dir-mode): Just autoload it here.
11552
30cac1e0
AM
115532013-05-02 Alan Mackenzie <acm@muc.de>
11554
11555 Eliminate variable c-standard-font-lock-fontify-region-function.
11556 * progmodes/cc-mode.el
11557 (c-standard-font-lock-fontify-region-function): Remove.
11558 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11559
d8ef28b1
LL
115602013-05-01 Leo Liu <sdl.web@gmail.com>
11561
2640d52e 11562 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11563 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11564 variables were removed from Octave in 2007.
d8ef28b1
LL
11565 (inferior-octave-startup): Fix uses.
11566 (comint-line-beginning-position): Remove compatibility code for
11567 emacs 21.
11568
ac63ec89
JL
115692013-05-01 Juri Linkov <juri@jurta.org>
11570
11571 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11572
9e9be37c
JL
115732013-05-01 Juri Linkov <juri@jurta.org>
11574
11575 * comint.el (comint-previous-matching-input): Don't print message
11576 "History item: %d" when `isearch-mode' is active.
11577 (comint-history-isearch-message): Print message "History item: %d"
11578 when `comint-input-ring-index' is not empty and this function is
11579 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11580
9b92c13b
LL
115812013-05-01 Leo Liu <sdl.web@gmail.com>
11582
11583 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11584 definitions. Use completion-at-point to insert keywords.
11585 (octave-abbrev-start): Remove.
11586 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11587
b12d33d7
LL
115882013-04-30 Leo Liu <sdl.web@gmail.com>
11589
11590 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11591 change.
11592
3d1c39fa
AM
115932013-04-30 Alan Mackenzie <acm@muc.de>
11594
11595 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11596 * progmodes/cc-engine.el (c-back-over-member-initializers):
11597 new function.
3d1c39fa
AM
11598 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11599 (most) member init lists.
11600
5147fc17
RS
116012013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11602
11603 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11604 variable.
11605
5b78d7fc
LL
116062013-04-30 Leo Liu <sdl.web@gmail.com>
11607
11608 * progmodes/octave.el (octave-variables): Remove. No builtin
11609 variables any more. All converted to functions.
11610 (octave-font-lock-keywords, octave-completion-at-point-function):
11611 Fix uses.
11612 (octave-font-lock-texinfo-comment): New user variable.
11613 (octave-texinfo-font-lock-keywords): New variable for texinfo
11614 comment block.
11615 (octave-function-comment-block): New face.
11616 (octave-font-lock-texinfo-comment): New function.
11617 (octave-mode): Font lock texinfo comment block.
11618
38d8527b
LL
116192013-04-29 Leo Liu <sdl.web@gmail.com>
11620
11621 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11622 indexing expression.
11623 (octave-continuation-string): Do not use \.
11624 (inferior-octave-complete-impossible): Remove.
11625 (inferior-octave-completion-table)
11626 (inferior-octave-completion-at-point): Remove its uses.
11627 (inferior-octave-startup): completion_matches was introduced to
11628 Octave in 1996 so safe to assume it.
11629 (octave-function-file-comment): Improve to follow how Octave does it.
11630 (octave-update-function-file-comment): Tweak.
11631
2ec12cb0
LL
116322013-04-29 Leo Liu <sdl.web@gmail.com>
11633
11634 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11635 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11636 (octave-function-file-comment): Fix typo.
11637 (octave-sync-function-file-names): Use read-char-choice.
11638
6eaed048
JB
116392013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11640
11641 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11642 to t for the less important warnings.
11643
3ffa2d4f
DH
116442013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11645
11646 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11647
685c9501
GM
116482013-04-27 Glenn Morris <rgm@gnu.org>
11649
11650 * vc/log-view.el (log-view-current-entry):
11651 Treat "---" separator lines as part of the following rev. (Bug#14169)
11652
0208ede7
JL
116532013-04-27 Juri Linkov <juri@jurta.org>
11654
11655 * subr.el (read-number): Doc fix about using it by interactive
11656 code letter `n'. (Bug#14254)
11657
5db9dace
JL
116582013-04-27 Juri Linkov <juri@jurta.org>
11659
11660 * desktop.el (desktop-auto-save-timeout): New option.
11661 (desktop-file-checksum): New variable.
11662 (desktop-save): Add optional arg `auto-save' and don't auto-save
11663 if nothing changed.
11664 (desktop-auto-save-timer): New variable.
11665 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11666 (after-init-hook): Call `desktop-auto-save-set-timer'.
11667 Suggested by Reuben Thomas <rrt@sc3d.org> in
11668 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11669
b7260dd4
LL
116702013-04-27 Leo Liu <sdl.web@gmail.com>
11671
11672 * progmodes/octave.el (octave-function-file-p)
11673 (octave-skip-comment-forward, octave-function-file-comment)
11674 (octave-update-function-file-comment): New functions.
11675 (octave-mode-map): Bind C-c ; to
11676 octave-update-function-file-comment.
11677 (octave-mode-menu): Add octave-update-function-file-comment.
11678 (octave-mode, inferior-octave-mode): Fix doc-string.
11679 (octave-insert-defun): Conform to Octave's coding convention.
11680 (Bug#14285)
11681
11682 * files.el (basic-save-buffer): Don't let errors in
11683 before-save-hook prevent saving buffer.
11684
c46da669
RW
116852013-04-20 Roland Winkler <winkler@gnu.org>
11686
11687 * faces.el (read-face-name): Use completing-read if arg multiple
11688 is nil.
11689
a81ee1eb
IL
116902013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11691
11692 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11693 displayed, move point to after the totals line.
11694 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11695 for the details.
11696
4fac34ce
SM
116972013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11698
11699 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11700 Add current dir to the load-path.
11701 (package-generate-autoloads): Don't rely on
11702 autoload-ensure-default-file.
11703
f6bfc063
RT
117042013-04-26 Reuben Thomas <rrt@sc3d.org>
11705
d40ab5cf
BG
11706 * textmodes/remember.el (remember-store-in-files): Document that
11707 the file name format is passed to `format-time-string'.
f6bfc063 11708
e55d3b04
LL
117092013-04-26 Leo Liu <sdl.web@gmail.com>
11710
11711 * progmodes/octave.el (octave-sync-function-file-names): New function.
11712 (octave-mode): Use it in before-save-hook.
11713
e53052d3
SM
117142013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11715
140ef50c
SM
11716 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11717 (bug#14274).
11718
e53052d3
SM
11719 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11720 \n and comment, even if it's not an implicit ; (bug#14218).
11721
af80458d 117222013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11723
11724 * subr.el (read-number): Once more use `read' rather than
11725 `string-to-number', to trap non-numeric input. (Bug#14254)
11726
af80458d 117272013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11728
11729 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11730 Use `syntax-multiline' text property consistently instead of
8a621d53 11731 `font-lock-multiline'. (Bug#14237)
70203c2e 11732
e6ea1f6c
GM
117332013-04-26 Glenn Morris <rgm@gnu.org>
11734
11735 * emacs-lisp/shadow.el (list-load-path-shadows):
11736 No longer necessary to check for duplicate simple.el, since
11737 2012-07-07 change to init_lread to not include installation lisp
11738 directories in load-path when running uninstalled. (Bug#14270)
11739
070ccca4
LL
117402013-04-26 Leo Liu <sdl.web@gmail.com>
11741
11742 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11743 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11744 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11745 octave-in-string-or-comment-p.
11746 (octave-in-comment-p, octave-in-string-p)
11747 (octave-in-string-or-comment-p): Replace defsubst with defun.
11748
9d1c5fb6
PE
117492013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11750
11751 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11752
c034abda
BG
117532013-04-25 Bastien Guerry <bzg@gnu.org>
11754
11755 * textmodes/remember.el (remember-data-directory)
11756 (remember-directory-file-name-format): Fix custom types.
11757
584ea277
LL
117582013-04-25 Leo Liu <sdl.web@gmail.com>
11759
e53052d3
SM
11760 * progmodes/octave.el (octave-completion-at-point-function):
11761 Make use of inferior octave process.
584ea277
LL
11762 (octave-initialize-completions): Remove.
11763 (inferior-octave-completion-table): New function.
11764 (inferior-octave-completion-at-point): Use it.
11765 (octave-completion-alist): Remove.
11766
1693b06a
SM
117672013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11768
11769 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11770 (opascal-mode-syntax-table): New var.
11771 (opascal-literal-kind, opascal-is-literal-end)
11772 (opascal-literal-token-at): Rewrite.
11773 (opascal--literal-start-re, opascal-font-lock-keywords)
11774 (opascal--syntax-propertize): New constants.
11775 (opascal-font-lock-defaults): Adjust.
11776 (opascal-mode): Use them. Set comment-<foo> variables as well.
11777 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11778 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11779 (delphi-other-face, opascal-other-face): Remove face variables.
11780 (opascal-save-state): Remove macro.
11781 (opascal-fontifying-progress-step): Remove constant.
11782 (opascal--ignore-changes): Remove var.
11783 (opascal-set-token-property, opascal-parse-next-literal)
11784 (opascal-is-stable-literal, opascal-complete-literal)
11785 (opascal-is-literal-start, opascal-face-of)
11786 (opascal-parse-region, opascal-parse-region-until-stable)
11787 (opascal-fontify-region, opascal-after-change)
11788 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11789 (opascal-debug-parse-region, opascal-debug-parse-window)
11790 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11791 (opascal-debug-fontify-buffer): Remove.
11792 (opascal-debug-mode-map): Adjust accordingly.
11793
be64c05d
LL
117942013-04-25 Leo Liu <sdl.web@gmail.com>
11795
11796 Merge octave-mod.el and octave-inf.el into octave.el with some
11797 cleanups.
11798 * progmodes/octave.el: New file renamed from octave-mod.el.
11799 * progmodes/octave-inf.el: Merged into octave.el.
11800 * progmodes/octave-mod.el: Renamed to octave.el.
11801
d79d37bd
TH
118022013-04-25 Tassilo Horn <tsdh@gnu.org>
11803
11804 * textmodes/reftex-vars.el
11805 (reftex-label-ignored-macros-and-environments): New defcustom.
11806
11807 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11808
ced3fc5d
SM
118092013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11810
11811 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11812 (smie-indent-keyword): Improve the check to ensure that the next
11813 comment is really on the same line.
11814 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11815
11816 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11817 semi-colons if the line is not otherwise empty (bug#14218).
11818
1c141dad
GM
118192013-04-25 Glenn Morris <rgm@gnu.org>
11820
11821 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11822
5058062a
SM
118232013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11824
11825 * progmodes/opascal.el (opascal-set-token-property): Rename from
11826 opascal-set-text-properties and only set `token' (bug#14134).
11827 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11828 (opascal-literal-text-properties): Remove.
11829 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11830 Adjust callers.
11831
5db9dace 118322013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11833
11834 * textmodes/remember.el (remember-handler-functions): Add an
11835 option for a new handler `remember-store-in-files'.
11836 (remember-data-directory, remember-directory-file-name-format):
11837 New options.
11838 (remember-store-in-files): New function to store remember notes
11839 as separate files within a directory.
11840
4391916c
MH
118412013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11842
11843 * progmodes/compile.el (compilation-next-error-function):
11844 Pass "formats" to compilation-find-file (bug#11777).
11845
bb7cdf58
GM
118462013-04-24 Glenn Morris <rgm@gnu.org>
11847
3b8fe752 11848 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11849 * vc/vc-hg.el (vc-hg-print-log):
11850 * vc/vc-svn.el (vc-svn-print-log):
11851 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11852
bb7cdf58
GM
11853 * vc/vc-bzr.el (vc-bzr-print-log):
11854 * vc/vc-cvs.el (vc-cvs-print-log):
11855 * vc/vc-git.el (vc-git-print-log):
11856 * vc/vc-hg.el (vc-hg-print-log):
11857 * vc/vc-mtn.el (vc-mtn-print-log):
11858 * vc/vc-rcs.el (vc-rcs-print-log):
11859 * vc/vc-sccs.el (vc-sccs-print-log):
11860 * vc/vc-svn.el (vc-svn-print-log):
11861 * vc/vc.el (vc-print-log-internal): Doc fixes.
11862
b46a056e
GM
118632013-04-23 Glenn Morris <rgm@gnu.org>
11864
11865 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11866 Remove venerable code attempting to avoid substitute-command-keys.
11867
0aecf718
TH
118682013-04-23 Tassilo Horn <tsdh@gnu.org>
11869
4391916c
MH
11870 * textmodes/reftex-vars.el (reftex-label-regexps):
11871 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11872
117f94cf
SM
118732013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11874
4391916c 11875 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11876 Use lexical-binding.
11877 (jit-lock-force-redisplay): Use markers, check buffer's continued
11878 existence and beware narrowed buffers.
11879 (jit-lock-fontify-now): Adjust call accordingly.
11880
1d829c64
SM
118812013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11882
11883 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11884 to avoid misleading the user.
11885
72d548a9
LL
118862013-04-22 Leo Liu <sdl.web@gmail.com>
11887
11888 * info-look.el: Prefer latex2e.info. (Bug#14240)
11889
d0853629
MA
118902013-04-22 Michael Albinus <michael.albinus@gmx.de>
11891
11892 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11893
11894 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11895 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11896 (tramp-set-completion-function, tramp-parse-putty):
11897 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11898 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11899 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11900 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11901 (tramp-call-local-coding-command): Use `tramp-call-process'
11902 instead of `tramp-compat-call-process'.
11903
11904 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11905 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11906 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11907 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11908 (tramp-maybe-send-script): Check for Perl binary.
11909 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11910
38cc0210
DU
119112013-04-22 Daiki Ueno <ueno@gnu.org>
11912
11913 * epg.el (epg-context-pinentry-mode): New function.
11914 (epg-context-set-pinentry-mode): New function.
11915 (epg--start): Pass --pinentry-mode option to gpg command.
11916
cc641ee1
XF
119172013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11918
02d844b5 11919 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11920 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11921 `completion-at-point'. (Bug#13774)
5d4e5c31 11922
cc641ee1
XF
11923 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11924 default key binding for `describe-distribution' has been moved to
11925 `C-h C-o'. (Bug#13970)
11926
1b42ee43
GM
119272013-04-21 Glenn Morris <rgm@gnu.org>
11928
11929 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11930 Add doc strings.
11931 (vc-print-log): Clarify interactive prompt.
11932
a6d63d97
GM
119332013-04-20 Glenn Morris <rgm@gnu.org>
11934
11935 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11936 No longer include timestamp etc information.
11937
d7f5c16f
RW
119382013-04-20 Roland Winkler <winkler@gnu.org>
11939
11940 * faces.el (read-face-name): Bug fix, return just one face if arg
11941 multiple is nil. (Bug#14209)
11942
bcd7a0a4
SM
119432013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11944
11945 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11946 (remove-function): Autoload.
11947
11948 * comint.el (comint-redirect-original-filter-function): Remove.
11949 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11950 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11951 (vc-cvs-annotate-command):
bcd7a0a4
SM
11952 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11953 * progmodes/prolog.el (prolog-consult-compile):
11954 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11955 Use add/remove-function instead.
11956 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11957 (gud-tooltip-process-output, gud-tooltip-tips):
11958 Use add/remove-function instead.
11959 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11960 (scheme-interaction-mode, exit-scheme-interaction-mode):
11961 Use add/remove-function instead.
11962
11963 * vc/vc-dispatcher.el: Use lexical-binding.
11964 (vc--process-sentinel): Rename from vc-process-sentinel.
11965 Change last arg to be the code to run. Don't use vc-previous-sentinel
11966 and vc-sentinel-commands any more.
11967 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11968 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11969
e36b2d20 119702013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11971
bcd7a0a4 11972 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11973 Handle function names with a single character. (Bug#14111)
4d3268ba 11974
781b4af6 119752013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11976
11977 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11978 for subroutines defined in an eval (bug#14182).
11979
7d688336
TV
119802013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11981
11982 * bookmark.el (bookmark-completing-read): Improve handling of empty
11983 string (bug#14176).
11984
31dcede0
SM
119852013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11986
11987 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11988
adc31213
FEG
119892013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11990
11991 New faster Imenu implementation (bug#14058).
11992 * progmodes/python.el:
11993 (python-imenu-prev-index-position):
11994 (python-imenu-format-item-label-function)
11995 (python-imenu-format-parent-item-label-function)
11996 (python-imenu-format-parent-item-jump-label-function):
11997 New vars.
11998 (python-imenu-format-item-label)
11999 (python-imenu-format-parent-item-label)
12000 (python-imenu-format-parent-item-jump-label)
12001 (python-imenu--put-parent, python-imenu--build-tree)
12002 (python-imenu-create-index, python-imenu-create-flat-index)
12003 (python-util-popn): New functions.
12004 (python-mode): Set imenu-create-index-function to
12005 python-imenu-create-index.
12006
cdca8255
SM
120072013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12008
12009 * winner.el (winner-active-region): Use region-active-p, activate-mark
12010 and deactivate-mark (bug#14225).
12011
12012 * simple.el (deactivate-mark): Don't inline it.
12013
beb42340
MA
120142013-04-18 Michael Albinus <michael.albinus@gmx.de>
12015
12016 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12017
fc7f4d7e
TH
120182013-04-18 Tassilo Horn <tsdh@gnu.org>
12019
12020 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12021 file extensions from the archive-mode entry in order to prefer
12022 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12023
29f47822
LL
120242013-04-18 Leo Liu <sdl.web@gmail.com>
12025
12026 * bindings.el (help-event-list): Add ?\?.
12027
d36ed1c8
SM
120282013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12029
12030 * subr.el (with-wrapper-hook): Declare obsolete.
12031 * simple.el (filter-buffer-substring-function): New hook.
12032 (filter-buffer-substring): Use it.
12033 (filter-buffer-substring-functions): Mark obsolete.
12034 * minibuffer.el (completion-in-region-function): New hook.
12035 (completion-in-region): Use it.
12036 (completion-in-region-functions): Mark obsolete.
12037 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12038 * abbrev.el (abbrev-expand-function): New hook.
12039 (expand-abbrev): Use it.
12040 (abbrev-expand-functions): Mark obsolete.
12041 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12042 and :filter-return.
12043
04754d36
FEG
120442013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12045
12046 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12047 and do not care about match data.
12048
dd8791e9
SM
120492013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12050
12051 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12052 completion tables when completing error conditions and
12053 `declare' arguments.
12054 (lisp-complete-symbol, field-complete): Mark as obsolete.
12055 (check-parens): Unmatched parens are user errors.
12056 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12057
ffe54a13
AM
120582013-04-17 Michal Nazarewicz <mina86@mina86.com>
12059
dd8791e9
SM
12060 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12061 command changed buffer (ie. `flyspell-pre-buffer' is not current
12062 buffer), which prevents making decisions based on invalid value of
12063 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12064 cause an error when `flyspell-pre-point' was nil after switching
12065 buffers.
12066 (flyspell-post-command-hook): No longer needs to change buffers when
12067 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12068
ec7e39f2
AM
120692013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12070
12071 * textmodes/ispell.el (ispell-add-per-file-word-list):
12072 Fix `flyspell-correct-word-before-point' error when accepting
12073 words and `coment-padding' is an integer by using
12074 `comment-normalize-vars' (Bug #14214).
12075
083850a6
FEG
120762013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12077
12078 New defun movement commands.
12079 * progmodes/python.el (python-nav--syntactically)
12080 (python-nav--forward-defun, python-nav-backward-defun)
12081 (python-nav-forward-defun): New functions.
12082
619ed6e1
FEG
120832013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12084
12085 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12086 (python-syntax-context): Use named compiler-macro for backwards
12087 compatibility with Emacs 24.x.
12088
7a1beb6c
LL
120892013-04-17 Leo Liu <sdl.web@gmail.com>
12090
12091 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12092 octave-hide-process-buffer.
12093
2d3fa3e5
SM
120942013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12095
12096 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12097 (bug#14216).
12098
7ce5be54
JPG
120992013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12100
12101 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12102 Fix adjustment of offset when receiving incomplete responses from GDB
12103 (bug#14129).
12104
351edece
SM
121052013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12106
12107 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12108 python-mode-abbrev-table.
12109 (python-skeleton-define): Adjust accordingly.
12110 (python-mode-abbrev-table): New table that inherits from it so that
12111 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12112
12113 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12114 (abbrev-symbol): Use it.
12115 (abbrev--before-point): Use it since we already handle inheritance.
12116
613f9481
LL
121172013-04-16 Leo Liu <sdl.web@gmail.com>
12118
12119 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12120 binding to info-lookup-symbol.
12121
51646b62
JB
121222013-04-16 Juanma Barranquero <lekktu@gmail.com>
12123
12124 * minibuffer.el (completion--twq-all):
12125 * term/ns-win.el (ns-initialize-window-system):
12126 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12127
efb3f01d
SM
121282013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12129
36c0a301
SM
12130 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12131 global bindings.
12132
efb3f01d
SM
12133 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12134
fb549d64
DG
121352013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12136
12137 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12138 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12139 to nil.
12140 (ruby-end-of-defun): Remove the unused arg, change the docstring
12141 to reflect that this function is only used as the value of
12142 `end-of-defun-function'.
12143 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12144 to reflect an earlier change that beginning/end-of-defun functions
12145 jump between methods in a class definition, as well as top-level
12146 functions.
12147
21e8fe2f
SM
121482013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12149
12150 * minibuffer.el (minibuffer-complete): Don't just scroll
12151 a *Completions* that's been iconified.
12152 (minibuffer-force-complete): Make sure repetitions do cycle when going
12153 through completion-in-region -> minibuffer-complete.
12154
20e527d0
AM
121552013-04-15 Alan Mackenzie <acm@muc.de>
12156
12157 Correct the placement of c-cpp-delimiters when there're #s not at
12158 col 0.
12159
12160 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12161 place a submatch around the #.
21e8fe2f
SM
12162 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12163 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12164 on the #, not BOL.
12165
dabefae5
SM
121662013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12167
12168 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12169 (advice--member-p): New arg `name'.
12170 (advice--add-function, advice-member-p): Use it (bug#14202).
12171
85c9ab64
AM
121722013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12173
12174 Reformulate java imenu-generic-expression.
12175 The old expression contained ill formed regexps.
12176
12177 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12178 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12179 (cc-imenu-java-method-arg-regexp): New defconsts.
12180 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12181 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12182 handling of spaces in the regexp.
12183
0f821d99
AM
121842013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12185
12186 * textmodes/ispell.el (ispell-command-loop): Remove
12187 flyspell highlight of a word when ispell accepts it (bug #14178).
12188
eb922adf
MA
121892013-04-15 Michael Albinus <michael.albinus@gmx.de>
12190
12191 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12192 uses code from the previous `ange-ftp-run-real-handler'.
12193 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12194 only in case that function exist. This is needed for proper
12195 unloading of Tramp.
12196
4d9a0979
TH
121972013-04-15 Tassilo Horn <tsdh@gnu.org>
12198
12199 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12200
12201 * textmodes/reftex.el (reftex-compile-variables): Use it.
12202
a829b0dc
SM
122032013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12204
91e8293c
SM
12205 * files.el (normal-mode): Only use default major-mode if no other mode
12206 was specified.
12207
830aed4d
SM
12208 * emacs-lisp/trace.el (trace-values): New function.
12209
a829b0dc
SM
12210 * files.el: Allow : in local variables (bug#14089).
12211 (hack-local-variable-regexp): New var.
12212 (hack-local-variables-prop-line, hack-local-variables): Use it.
12213
7ae9f0fb
RW
122142013-04-13 Roland Winkler <winkler@gnu.org>
12215
12216 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12217 data before it gets modified by bibtex-beginning-of-entry.
12218
6646e848
RW
122192013-04-13 Roland Winkler <winkler@gnu.org>
12220
12221 * textmodes/bibtex.el (bibtex-url): Doc fix.
12222
122232013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12224
12225 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12226 does not visit a BibTeX file, exclude it from the list of buffers
12227 returned by bibtex-initialize.
12228
0aa3616e
SB
122292013-04-13 Stephen Berman <stephen.berman@gmx.net>
12230
12231 * window.el (split-window): Remove interactive form, since as a
12232 command this function is a special case of split-window-below.
12233 Correct doc string.
12234
011cddd6
RW
122352013-04-12 Roland Winkler <winkler@gnu.org>
12236
12237 * faces.el (read-face-name): Do not override value of arg default.
12238 Allow single faces and strings as default values. Remove those
12239 elements from return value that are not faces.
12240 (describe-face): Simplify.
12241 (face-at-point): New optional args thing and multiple so that this
12242 function can provide the same functionality previously provided by
12243 read-face-name.
12244 (make-face-bold, make-face-unbold, make-face-italic)
12245 (make-face-unitalic, make-face-bold-italic, invert-face)
12246 (modify-face, read-face-and-attribute): Use face-at-point.
12247
12248 * cus-edit.el (customize-face, customize-face-other-window)
12249 * cus-theme.el (custom-theme-add-face)
12250 * face-remap.el (buffer-face-set)
12251 * facemenu.el (facemenu-set-face): Use face-at-point.
12252
f24e0036
MA
122532013-04-12 Michael Albinus <michael.albinus@gmx.de>
12254
12255 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12256
da3cda2d
TH
122572013-04-10 Tassilo Horn <tsdh@gnu.org>
12258
12259 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12260 off leading { and trailing } from field values.
12261
15e54145
SM
122622013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12263
78ce603d
SM
12264 * emacs-lisp/timer.el (timer--check): New function.
12265 (timer--time, timer-set-function, timer-event-handler): Use it.
12266 (timer-set-idle-time): Simplify.
12267 (timer--activate): CSE.
12268 (timer-event-handler): Give more info in error message.
12269 (internal-timer-start-idle): New function, moved from C.
12270
15e54145
SM
12271 * mpc.el (mpc-proc): Add `restart' argument.
12272 (mpc-proc-cmd): Use it.
12273 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12274 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12275 less often.
12276
7144c627
MY
122772013-04-10 Masatake YAMATO <yamato@redhat.com>
12278
12279 * progmodes/sh-script.el: Implement `sh-mode' own
12280 `add-log-current-defun-function' (bug#14112).
12281 (sh-current-defun-name): New function.
12282 (sh-mode): Use the function.
12283
b39792eb
BG
122842013-04-09 Bastien Guerry <bzg@gnu.org>
12285
12286 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12287
8acdeb71
SM
122882013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12289
6fcdab68
SM
12290 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12291
8acdeb71
SM
12292 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12293 timer (bug#14156).
12294
e3e7b504
NF
122952013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12296
12297 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12298 declaration.
12299
201bb296
LL
123002013-04-07 Leo Liu <sdl.web@gmail.com>
12301
12302 * pcmpl-x.el: New file.
12303
ebb19708
DA
123042013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12305
12306 Do not set x-display-name until X connection is established.
12307 This is needed to prevent from weird situation described at
12308 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12309 * frame.el (make-frame): Set x-display-name after call to
12310 window system initialization function, not before.
12311 * term/x-win.el (x-initialize-window-system): Add optional
12312 display argument and use it.
12313 * term/w32-win.el (w32-initialize-window-system):
12314 * term/ns-win.el (ns-initialize-window-system):
12315 * term/pc-win.el (msdos-initialize-window-system):
12316 Add compatible optional display argument.
12317
33bb237a
EZ
123182013-04-06 Eli Zaretskii <eliz@gnu.org>
12319
12320 * files.el (normal-backup-enable-predicate): On MS-Windows and
12321 MS-DOS compare truenames of temporary-file-directory and of the
12322 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12323 don't fail comparison by compare-strings. Also, compare file
12324 names case-insensitively on MS-Windows and MS-DOS.
12325
134abf1f
SM
123262013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12327
12328 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12329 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12330
d695cb94
DG
123312013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12332
e3e7b504
NF
12333 * whitespace.el (whitespace-color-on, whitespace-color-off):
12334 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12335
f4ad7ea1 123362013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12337
12338 * ispell.el (ispell-set-spellchecker-params):
12339 Really set `ispell-args' for all equivs.
12340
632556e4
SM
123412013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12342
12343 * ido.el (ido-completions): Use extra elements of ido-decorations
12344 (bug#14143).
12345 (ido-decorations): Update docstring.
12346
2a417372
MA
123472013-04-05 Michael Albinus <michael.albinus@gmx.de>
12348
12349 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12350 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12351 nil during initialization, in order not to miss changes since the
12352 file was opened. (Bug#14140)
12353
fc164b0c
LL
123542013-04-05 Leo Liu <sdl.web@gmail.com>
12355
12356 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12357
0ccecc08
JB
123582013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12359
12360 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12361
51af1aa2
GM
123622013-04-04 Glenn Morris <rgm@gnu.org>
12363
12364 * electric.el (electric-pair-inhibit-predicate): Add :version.
12365
b208ebc6
SM
123662013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12367
12368 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12369 when a package is required several times (bug#14082).
12370
f3d3eaf0
RW
123712013-04-04 Roland Winkler <winkler@gnu.org>
12372
12373 * faces.el (read-face-name): Behave as promised by the docstring.
12374 Assume that arg default is a list of faces.
12375 (describe-face): Call read-face-name with list of default faces.
12376
2575da50
TV
123772013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12378
12379 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12380 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12381 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12382 the header.
12383 (bookmark-exit-hook-internal): Save even if list is empty.
12384
397703b4
YH
123852013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12386
12387 * emacs-lisp/package.el (package-pinned-packages): New var.
12388 (package--add-to-archive-contents): Obey it (bug#14118).
12389
691e26ae
AM
123902013-04-03 Alan Mackenzie <acm@muc.de>
12391
8a621d53
JB
12392 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12393 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12394
12395 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12396 parameter `not-in-delimiter'. Handle being inside comment opener.
12397 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12398 character in case we're typing a '*' after a '/'.
12399 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12400 instead by passing the parameter to c-state-pp-to-literal.
12401
12402 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12403 for elt. 7 of a parse state.
12404
4b725a70
PE
124052013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12406
12407 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12408 * international/latin1-disp.el, international/mule-util.el:
12409 * language/cyril-util.el, language/european.el, language/ind-util.el:
12410 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12411 * language/tibetan.el, language/viet-util.el:
12412 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12413
15c579f0
SM
124142013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12415
12416 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12417 (electric-pair-post-self-insert-function): Use it.
12418 (electric-pair-default-inhibit): New function, extracted from
12419 electric-pair-post-self-insert-function.
12420
a77e2924
RW
124212013-03-31 Roland Winkler <winkler@gnu.org>
12422
12423 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12424
2bd8a4a8
SM
124252013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12426
12427 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12428
8d3655be 124292013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12430
12431 Un-indent after "pass" and "return" statements (Bug#13888)
12432 * progmodes/python.el (python-indent-block-enders): New var.
12433 (python-indent-calculate-indentation): Use it.
12434
8d3655be 124352013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12436
12437 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12438 defun. Defining it as defalias could introduce too eager
12439 byte-compiler optimization. (Bug#14030)
12440
8d3655be 124412013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12442
12443 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12444
0b1619da
LL
124452013-03-30 Leo Liu <sdl.web@gmail.com>
12446
12447 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12448 (kmacro-execute-from-register): Pass the keyboard macro to
12449 kmacro-call-macro or repeating won't work correctly.
12450
0b938190
TZ
124512013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12452
12453 * progmodes/subword.el: Back to using `forward-symbol'.
12454
12455 * subr.el (forward-whitespace, forward-symbol)
12456 (forward-same-syntax): Move from thingatpt.el.
12457
35710234
LL
124582013-03-29 Leo Liu <sdl.web@gmail.com>
12459
12460 * kmacro.el (kmacro-to-register): New command.
12461 (kmacro-execute-from-register): New function.
12462 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12463
efc0bb73
SM
124642013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12465
12466 * mpc.el: Use defvar-local and setq-local.
12467 (mpc--proc-connect): Connection failures are not bugs.
12468 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12469 (mpc-volume-map): Bind to the up-events.
12470
75a2f981
TZ
124712013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12472
12473 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12474 instead of `forward-symbol'.
12475
17c781d1
SM
124762013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12479 (edebug--recursive-edit): Use it.
12480 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12481 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12482
f67bfbcf
LL
124832013-03-28 Leo Liu <sdl.web@gmail.com>
12484
12485 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12486
b59f639d
EZ
124872013-03-27 Eli Zaretskii <eliz@gnu.org>
12488
12489 * facemenu.el (list-colors-callback): New defvar.
12490 (list-colors-redisplay): New function.
12491 (list-colors-display): Install list-colors-redisplay as the
12492 revert-buffer-function. (Bug#14063)
12493
f557c1b1
SM
124942013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12495
b1da2957
SM
12496 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12497 and suffixes don't overlap (bug#14061).
12498
f557c1b1
SM
12499 * case-table.el: Use lexical-binding.
12500 (case-table-get-table): New function.
12501 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12502
002668e1
TZ
125032013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12504
12505 * progmodes/subword.el: Add `superword-mode' to do word motion
12506 over symbol_words (parallels and leverages `subword-mode' which
12507 does word motion inside MixedCaseWords).
12508
73572c72
AG
125092013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12510
78b8f320 12511 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12512 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12513
69b2c07e
SM
125142013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12515
12516 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12517 Change return value to be a sexp. Delay `get-buffer' to after
12518 restoring the desktop (bug#13951).
12519
08bb5ee2
LL
125202013-03-26 Leo Liu <sdl.web@gmail.com>
12521
12522 * register.el: Move semantic tag handling back to
12523 cedet/semantic/senator.el. (Bug#14052)
12524
8d4c974e
SM
125252013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12526
12527 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12528 into the prompt either (bug#13963).
12529
b234d92c
SM
125302013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12531
12532 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12533 part of "(error-foo)".
12534
ddfa3cb4
JL
125352013-03-24 Juri Linkov <juri@jurta.org>
12536
12537 * replace.el (list-matching-lines-prefix-face): New defcustom.
12538 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12539 `occur-engine' if `face-differs-from-default-p' returns t.
12540 (occur-engine): Add `,' inside backquote construct to evaluate
12541 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12542 Pass `prefix-face' to the functions `occur-context-lines' and
12543 `occur-engine-add-prefix'.
12544 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12545 `prefix-face' and propertize the prefix with `prefix-face'.
12546 (Bug#14017)
12547
7b0e2f85
LL
125482013-03-24 Leo Liu <sdl.web@gmail.com>
12549
12550 * nxml/rng-valid.el (rng-validate-while-idle)
12551 (rng-validate-quick-while-idle): Guard against deleted buffer.
12552 (Bug#13999)
12553
12554 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12555 is the last entry in kill-buffer-hook.
12556
12557 * files.el (kill-buffer-hook): Doc fix.
12558
b3082f49
DG
125592013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12560
b234d92c
SM
12561 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12562 Make it safe-local.
bde73d27 12563
b3082f49
DG
12564 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12565
a320a2db
LL
125662013-03-23 Leo Liu <sdl.web@gmail.com>
12567
7e74b0fb
LL
12568 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12569 Remove.
12570
12571 * nxml/rng-valid.el (rng-validate-mode)
12572 (rng-after-change-function, rng-do-some-validation):
12573 * nxml/rng-maint.el (rng-validate-buffer):
12574 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12575 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12576 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12577 (nxml-extend-after-change-region): Use with-silent-modifications.
12578
a320a2db
LL
12579 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12580 timer-idle-list.
12581
12582 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12583 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12584 timer-idle-list. (Bug#13999)
12585
e38e6780
JL
125862013-03-23 Juri Linkov <juri@jurta.org>
12587
12588 * info.el (info-index-match): New face.
12589 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12590 main pattern and add text properties with the new face to matches
12591 in index entries relative to the beginning of the index entry.
12592 (Bug#14015)
12593
e8cc7880
DE
125942013-03-21 Eric Ludlam <zappo@gnu.org>
12595
39c87140 12596 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12597 Inhibit read only while inserting objects.
12598
9bb0d822
TZ
125992013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12600
12601 * progmodes/cfengine.el: Update docs to mention
12602 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12603 symbol motion. Remove "_" from the word syntax.
12604
aa703640
TZ
126052013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12606
12607 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12608 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12609
afff09d0
JL
126102013-03-20 Juri Linkov <juri@jurta.org>
12611
12612 * info.el (Info-next-reference-or-link)
12613 (Info-prev-reference-or-link): New functions.
12614 (Info-next-reference, Info-prev-reference): Use them.
12615 (Info-try-follow-nearest-node): Handle footnote navigation.
12616 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12617
9a1ff164
SM
126182013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12619
12620 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12621 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12622
2667d15d
PE
126232013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12624
12625 Suppress unnecessary non-ASCII chatter during build process.
12626 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12627 (batch-skkdic-convert): Suppress most of the chatter.
12628 It's not needed so much now that machines are faster,
12629 and its non-ASCII component was confusing; see Dmitry Gutov in
12630 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12631
438b0579
LL
126322013-03-20 Leo Liu <sdl.web@gmail.com>
12633
12634 * ido.el (ido-chop): Fix bug#10994.
12635
c128ab07
DG
126362013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12637
12638 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12639 Remove vars.
9a1ff164
SM
12640 (whitespace-color-on, whitespace-color-off):
12641 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12642
0e6008c5
SM
126432013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12644
12645 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12646 remapping in mode-line.
12647 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12648
627b52b0
DG
126492013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12650
12651 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12652 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12653 (whitespace-font-lock-keywords): Change description.
12654 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12655 the constructed keywords instead.
12656 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12657
50c3a20b
LL
126582013-03-19 Leo Liu <sdl.web@gmail.com>
12659
12660 * progmodes/compile.el (compilation-display-error): New command.
12661 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12662 C-o. (Bug#13992)
12663
2aa2157b
PE
126642013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12665
12666 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12667
e477dbfa
JD
126682013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12669
12670 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12671
64ab82d1
MA
126722013-03-18 Michael Albinus <michael.albinus@gmx.de>
12673
12674 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12675
12676 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12677 * net/tramp-gvfs.el (top):
12678 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12679 (tramp-handle-shell-command): Use it.
12680 (tramp-dissect-file-name): Raise an error when hostname is a
12681 method name, and neither method nor user is specified.
12682
12683 * net/trampver.el: Update release number.
12684
33cef733
LL
126852013-03-18 Leo Liu <sdl.web@gmail.com>
12686
12687 Make sure eldoc can be turned off properly.
12688 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12689 eldoc-mode.
12690 (eldoc-display-message-p): Revert last change.
12691 (eldoc-display-message-no-interference-p)
12692 (eldoc-print-current-symbol-info): Tweak.
12693
2167b7b2
TH
126942013-03-18 Tassilo Horn <tsdh@gnu.org>
12695
12696 * doc-view.el (doc-view-new-window-function): Check the new window
12697 overlay's display property instead the char property of the
12698 buffer's first char. Use `with-selected-window' instead of
12699 `save-window-excursion' with `select-window'.
12700 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12701 display property instead the char property of the buffer's first char.
2167b7b2 12702
982efbcd
PE
127032013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12704
12705 Automate the build of ja-dic.el (Bug#13984).
12706 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12707 from the input, rather than assume that it's been done for us by the
12708 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12709 the current date into a ja-dic.el comment, as that complicates
12710 regression testing.
12711
2fcc7665
SM
127122013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12713
12714 * whitespace.el: Fix double evaluation.
12715 (whitespace-space, whitespace-hspace, whitespace-tab)
12716 (whitespace-newline, whitespace-trailing, whitespace-line)
12717 (whitespace-space-before-tab, whitespace-indentation)
12718 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12719 obsolete defvars.
12720 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12721 (whitespace-color-on): Use a single font-lock-add-keywords call.
12722 Fix double-evaluation of face variables.
12723
67c0a6e6
MA
127242013-03-17 Michael Albinus <michael.albinus@gmx.de>
12725
2fcc7665
SM
12726 * net/tramp-adb.el (tramp-adb-parse-device-names):
12727 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12728 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12729
69489f1d
LL
127302013-03-17 Leo Liu <sdl.web@gmail.com>
12731
12732 Extend eldoc to display info in the mode-line. (Bug#13978)
12733 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12734 (eldoc-mode-line-string): New variable.
12735 (eldoc-minibuffer-message): New function.
12736 (eldoc-message-function): New variable.
12737 (eldoc-message): Use it.
12738 (eldoc-display-message-p)
2fcc7665
SM
12739 (eldoc-display-message-no-interference-p):
12740 Support eldoc-post-insert-mode.
69489f1d
LL
12741
12742 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12743 (eval-expression): Run it.
12744
9c44569e
RW
127452013-03-17 Roland Winkler <winkler@gnu.org>
12746
12747 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12748 strings in the list of return values.
12749
327f1f6f
JB
127502013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12751
12752 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12753 radix before checking for HMS forms.
12754
67ed8fcd
LL
127552013-03-16 Leo Liu <sdl.web@gmail.com>
12756
12757 * progmodes/scheme.el: Add indentation and font-locking for λ.
12758 (Bug#13975)
12759
78be8b64 127602013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12761
12762 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12763 token before point (bug#13942).
12764
78be8b64 127652013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12766
95b43468 12767 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12768
98e775e6
EZ
127692013-03-16 Eli Zaretskii <eliz@gnu.org>
12770
12771 * startup.el (command-line-normalize-file-name): Fix handling of
12772 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12773 <xfq.free@gmail.com> in
12774 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12775
2edd6029
MA
127762013-03-15 Michael Albinus <michael.albinus@gmx.de>
12777
12778 Sync with Tramp 2.2.7.
12779
12780 * net/trampver.el: Update release number.
12781
d35f5864
TH
127822013-03-14 Tassilo Horn <tsdh@gnu.org>
12783
e903c210 12784 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12785 (doc-view-insert-image): Don't modify overlay associated to
12786 non-live windows, and implement horizontal centering of image in
12787 case it's smaller than the window.
12788 (doc-view-new-window-function): Force redisplay of new windows on
12789 doc-view buffers.
d35f5864 12790
1c4a85ed
KF
127912013-03-13 Karl Fogel <kfogel@red-bean.com>
12792
12793 * saveplace.el (save-place-alist-to-file): Don't sort
12794 `save-place-alist', just pretty-print it (bug#13882).
12795
85b66a21
MA
127962013-03-13 Michael Albinus <michael.albinus@gmx.de>
12797
a020afb9
JB
12798 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12799 Check whether `default-file-name-coding-system' is bound.
12800 It isn't in XEmacs.
85b66a21 12801
175600da
SM
128022013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12803
e7f7cb1a
SM
12804 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12805 backquotes for `obsolete' (bug#13929).
12806
175600da
SM
12807 * international/mule.el (find-auto-coding): Include file name in
12808 obsolescence warning (bug#13922).
12809
ca68a22e
TZ
128102013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12811
12812 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12813 for CFEngine 3-specific indentation.
12814 (cfengine3-indent-line): Use it. Fix up category regex.
12815 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12816
940e5099
SM
128172013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12818
12819 * type-break.el (type-break-file-name):
12820 * textmodes/remember.el (remember-data-file):
12821 * strokes.el (strokes-file):
12822 * shadowfile.el (shadow-initialize):
12823 * saveplace.el (save-place-file):
12824 * ps-bdf.el (bdf-cache-file):
12825 * progmodes/idlwave.el (idlwave-config-directory):
12826 * net/quickurl.el (quickurl-url-file):
12827 * international/kkc.el (kkc-init-file-name):
12828 * ido.el (ido-save-directory-list-file):
12829 * emulation/viper.el (viper-custom-file-name):
12830 * emulation/vip.el (vip-startup-file):
12831 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12832 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12833
cc725808
PE
128342013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12835
12836 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12837 * language/thai-word.el: Switch to UTF-8.
12838
a020afb9 12839See ChangeLog.16 for earlier changes.
e3d51b27
MR
12840
12841;; Local Variables:
12842;; coding: utf-8
e3d51b27
MR
12843;; End:
12844
ba318903 12845 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12846
12847 This file is part of GNU Emacs.
12848
12849 GNU Emacs is free software: you can redistribute it and/or modify
12850 it under the terms of the GNU General Public License as published by
12851 the Free Software Foundation, either version 3 of the License, or
12852 (at your option) any later version.
12853
12854 GNU Emacs is distributed in the hope that it will be useful,
12855 but WITHOUT ANY WARRANTY; without even the implied warranty of
12856 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12857 GNU General Public License for more details.
12858
12859 You should have received a copy of the GNU General Public License
12860 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.