src/w32fns.c (Fw32_shell_execute): Improve commentary.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
764ec9e5
MR
12014-02-03 Martin Rudalics <rudalics@gmx.at>
2
3 * faces.el (window-divider): New default value. Rewrite
4 doc-string.
5 (window-divider-first-pixel, window-divider-last-pixel): New
6 faces.
7
6da8227c
DG
82014-02-03 Dmitry Gutov <dgutov@yandex.ru>
9
10 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
11 `protected' and `public' can also be called without arguments.
12
6a6b8e40
GM
132014-02-03 Glenn Morris <rgm@gnu.org>
14
7bcbca40
GM
15 * register.el (window-configuration-to-register)
16 (frame-configuration-to-register): Unadvertise unused argument.
17 * frameset.el (frameset-to-register): Remove unused argument.
18
6a6b8e40
GM
19 * kmacro.el (kmacro-to-register):
20 * register.el (increment-register):
21 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
22 (calc-append-to-register, calc-prepend-to-register):
23 * play/gametree.el (gametree-layout-to-register)
24 (gametree-apply-register-layout):
25 * textmodes/picture.el (picture-clear-rectangle-to-register)
26 (picture-yank-rectangle-from-register):
27 * vc/emerge.el (emerge-combine-versions-register):
28 Use register-read-with-preview to read registers.
29
5dca7759
JT
302014-02-03 João Távora <joaotavora@gmail.com>
31
32 * elec-pair.el (electric-pair-backward-delete-char): Don't error
33 when at beginning of (possibly narrowed) buffer.
34
709085b9
DC
352014-02-02 Daniel Colascione <dancol@dancol.org>
36
37 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display): Also
38 try to display local help from just before point.
39
99f7b0a6
AM
402014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
41
42 c-parse-state. Don't "append-lower-brace-pair" in certain
43 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
44 recognised as a comment.
45
46 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
47 as well as normal comment starter.
48 (c-parse-state-get-strategy): Extra return possibility
49 'back-and-forward.
50 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
51 return value list to indicate replacement of a brace-pair cons
52 with its car.
53 (c-parse-state-1): With 'back-and-forward, only call
54 c-append-lower-brace-pair-to state-cache when cons-separated.
55
f0a10576
JD
562014-02-02 Jan Djärv <jan.h.d@swipnet.se>
57
58 * term/ns-win.el (ns-suspend-error): New function.
59 (ns-initialize-window-system): Add ns-suspend-error to
60 suspend-hook (Bug#16612).
61
b8d552c2
DC
622014-02-02 Daniel Colascione <dancol@dancol.org>
63
64 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
65
f2b7d123
DC
662014-02-02 Daniel Colascione <dancol@dancol.org>
67
68 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
69
4472a196
GM
702014-02-02 Glenn Morris <rgm@gnu.org>
71
72 * register.el (register-read-with-preview, point-to-register)
73 (window-configuration-to-register, frame-configuration-to-register)
74 (jump-to-register, number-to-register, view-register, insert-register)
75 (copy-to-register, append-to-register, prepend-to-register)
76 (copy-rectangle-to-register): Doc fixes.
77
70e5a261
SM
782014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
79
80 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
81 * emacs-lisp/find-func.el (find-function-C-source): Idem.
82 * emacs-lisp/nadvice.el (advice--cd*r): New function.
83 * help-fns.el (describe-function-1): Use it.
84
7c324762
GM
852014-02-02 Glenn Morris <rgm@gnu.org>
86
87 * register.el (register-preview-default): New function,
88 split from register-preview.
89 (register-preview-function): Rename from register-preview-functions,
90 make it not a hook.
91 (register-preview): Use register-preview-function.
92 (register-read-with-preview): Error on non-character event. (Bug#16595)
93
a09beb3d
DG
942014-02-01 Dmitry Gutov <dgutov@yandex.ru>
95
96 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
97 `:' before binary operators (bug#16609). Don't check for `:'
98 before `[' and `(', or their syntax status. A percent literal
99 can't end with either.
68e004e0
DG
100 (ruby-font-lock-keywords): For built-ins that require arguments,
101 check that they're followed by something that looks like argument
102 (bug#16610).
a09beb3d 103
ed4d2875
LI
1042014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
105
106 * subr.el (butlast): Document what an omitted N means (bug#13437).
107 (nbutlast): Ditto.
108
dba6e3ec
LI
1092014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
110
111 * net/shr.el (shr-generic): Make into a defsubst to make the stack
112 depth shallower (bug#16587).
cc477daa
LI
113 (shr-tag-svg): Respect `shr-inhibit-images'.
114 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 115
e2a67bd0
DG
1162014-01-31 Dmitry Gutov <dgutov@yandex.ru>
117
118 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
119 (ruby-smie-grammar): Make "." right-associative. Make its priority
120 lower than the ternary and all binary operators.
121 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
122 parent, or the first "." parent at indentation.
123 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
124 (Bug#16593)
125
bd21bf41
JL
1262014-01-31 Juri Linkov <juri@jurta.org>
127
128 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
129 from `make-hash-table'.
130
131 * textmodes/ispell.el (ispell-init-process): Change message format
132 to be consistent with other messages.
133
b7e615b9
GM
1342014-01-31 Glenn Morris <rgm@gnu.org>
135
a69ecd19
GM
136 * delsel.el (delete-selection-mode): Doc fix.
137
9997d7e3
GM
138 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
139 (trace-function-background): Doc fixes.
140
fbb764b8
GM
141 * ido.el (ido-use-virtual-buffers): Doc fix.
142 Reset :version, since the default value has not changed.
143
da942af1
GM
144 * register.el (register-preview-delay, register-read-with-preview):
145 Doc fixes.
146
b7e615b9
GM
147 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
148 do not mess with mail-buffer position (fixes 2009-11-03 change).
149 * progmodes/cc-mode.el (c-submit-bug-report):
150 Check auto-fill-mode is bound. (Bug#16592)
151
0a25002d
DH
1522014-01-31 Darren Hoo <darren.hoo@gmail.com>
153
154 * startup.el (fancy-splash-image-file): New function,
155 split from fancy-splash-head.
156 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
157 so that we are both using the same image. (Bug#16574)
158
ad78f432
GM
1592014-01-30 Glenn Morris <rgm@gnu.org>
160
6bbc0c84
GM
161 * simple.el (eval-expression): Doc fix.
162
ad78f432
GM
163 * hexl.el (hexl-mode-hook):
164 * ielm.el (ielm-mode-hook):
165 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
166 (lisp-interaction-mode-hook):
167 * progmodes/cfengine.e (cfengine3-documentation-function):
168 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
169
7b2f049c
SM
1702014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
171
172 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
173 is a symbol (bug#16584).
174
0c633f13
GM
1752014-01-30 Glenn Morris <rgm@gnu.org>
176
177 * help.el (help-for-help-internal): Add "P" to text.
178
5e61c1ef
GM
1792014-01-29 Glenn Morris <rgm@gnu.org>
180
181 * simple.el (just-one-space, cycle-spacing): Doc fixes.
182
1dcb169c
MR
1832014-01-28 Martin Rudalics <rudalics@gmx.at>
184
185 * window.el (fit-frame-to-buffer): Fix calculations for margins and
186 height constraints.
187
a9128931
LL
1882014-01-28 Luke Lee <luke.yx.lee@gmail.com>
189
190 * progmodes/hideif.el: Extend to full CPP expression syntax.
191 (hif-token-alist): Add missing tokens.
192 (hif-token-regexp): Add support for float/octal/hex immediates.
193 (hif-string-literal-regexp): New const.
194 (hif-tokenize): Recognize strings and float/octal/hex immediates.
195 (hif-exprlist): New function.
196 (hif-parse-if-exp): Use it.
197 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
198 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
199 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
200 (hif-logxor, hif-comma): New functions.
201
a22359a7
GM
2022014-01-28 Glenn Morris <rgm@gnu.org>
203
793ffe81
GM
204 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
205
e3bd7eed
GM
206 * indent.el (tab-stop-list): Doc fix. Add :version.
207
a22359a7
GM
208 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
209 (cvs-append-to-ignore): Add compatibility alias.
210
52695556 2112014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 212
bac524e0
GM
213 * dired.el (dired-hide-details-mode): Don't autoload it,
214 since it cannot be used outside Dired buffers anyway.
215
52695556 216 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 217
52695556
GM
218 * dired.el (dired-hide-details-hide-symlink-targets)
219 (dired-hide-details-hide-information-lines)
220 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
221
222 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
223 * strokes.el (strokes-file): Doc fix. Bump :version.
224 (strokes-help): Doc fix.
225 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
226 * emulation/viper.el (viper): Doc fix for custom group.
227 (top-level): Remove oh-so-no-longer-relevant text about vip.
228 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
229
230 * ido.el (ido-save-directory-list-file):
231 * saveplace.el (save-place-file):
232 * calendar/timeclock.el (timeclock-file):
233 * net/quickurl.el (quickurl-url-file):
234 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
235 * progmodes/idlwave.el (idlwave-config-directory):
236 * textmodes/remember.el (remember-data-file):
237 Bump :version.
238
169d6004
GM
2392014-01-26 Glenn Morris <rgm@gnu.org>
240
de6a923b
GM
241 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
242 Doc fix. Make obsolete.
243 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
244
169d6004
GM
245 * sort.el (delete-duplicate-lines): Doc fix.
246
ed85dee6
RS
2472014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
248
249 * progmodes/ada-mode.el (ada):
250 * woman.el (woman): Link to info manual and Commentary section.
251
252 * progmodes/flymake.el (flymake):
253 * nxml/nxml-mode.el (nxml):
254 * net/eww.el (eww):
255 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
256 * htmlfontify.el (htmlfontify):
257 * ses.el (ses):
258 * epa.el (epa):
259 * ido.el (ido): Link to info manual.
260
e0c67e1d
LL
2612014-01-25 Leo Liu <sdl.web@gmail.com>
262
263 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
264
35408b1a
AS
2652014-01-25 Adam Sjøgren <asjo@koldfront.dk>
266
267 * net/shr.el (shr-tag-img): Prefer the title over the alt text
268 (bug#16537).
269
76c3fa95
JB
2702014-01-24 Juanma Barranquero <lekktu@gmail.com>
271
f77c7a99
JB
272 * net/eww.el (eww-download-callback):
273 Fix reference to eww-download-directory.
274
76c3fa95
JB
275 * emacs-lisp/bytecomp.el (byte-compile-file):
276 Remove unused local variable `file-name'.
277
1e548e40
GM
2782014-01-24 Glenn Morris <rgm@gnu.org>
279
03f3b318
GM
280 * woman.el (woman-default-faces, woman-monochrome-faces):
281 Fix obsolescence specification.
282
1e548e40
GM
283 * subr.el (with-demoted-errors): Doc fix.
284
d4f0427b
SM
2852014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
286
287 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
288 (cl--macroexp-fboundp): New function.
289 (cl--make-type-test): Use it.
290
1670e27f
GM
2912014-01-23 Glenn Morris <rgm@gnu.org>
292
293 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
294 * simple.el (eval-expression): Doc fixes.
295
80efa207
GM
2962014-01-22 Glenn Morris <rgm@gnu.org>
297
298 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
299
29afcbab
SM
3002014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
301
302 * emacs-lisp/package.el: Write files silently.
303 (package-autoload-ensure-default-file, package--write-file-no-coding)
304 (package-generate-description-file, package--download-one-archive)
305 (package-install-from-archive): Tell `write-region' to stay quiet.
306 (package-menu-mode, package-menu--print-info): Omit the Archive column
307 if there's only one archive.
308 (package-all-keywords, package--has-keyword-p): Remove dead code.
309
2a5bce4f
GM
3102014-01-22 Glenn Morris <rgm@gnu.org>
311
edace89f
GM
312 * version.el (emacs-bzr-version-bzr): Fix typo.
313
2a5bce4f
GM
314 * version.el (emacs-repository-get-version):
315 Check either .bzr or .git, but not both.
316 Make the git case actually use the DIR argument, and return nil
317 rather than the empty string.
983664c0 318 Avoid error if .git exists but the git executable is not found.
2a5bce4f 319
6cb4da45
MR
3202014-01-22 Martin Rudalics <rudalics@gmx.at>
321
322 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
323 * window.el (window-total-size, window-size): New argument ROUND.
324 (window--min-delta-1, window-min-delta, window--max-delta-1):
325 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
326 columns a window can shrink (Bug#16430).
327 (fit-window-to-buffer): Simplify code.
328 * term.el (term-window-width): Call window-body-width again.
329
cc0f2ece
GM
3302014-01-22 Glenn Morris <rgm@gnu.org>
331
7b997b14
GM
332 * image.el (image-format-suffixes): Doc fix.
333
44e76f9d
GM
334 * international/quail.el (quail-define-package): Doc fix.
335
73c1c6d7
GM
336 * emacs-lisp/authors.el (authors-valid-file-names):
337 (authors-renamed-files-alist): Additions.
7bfc1caa 338
85a5f61f
GM
339 * vc/vc-git.el (vc-git-print-log): Remove --follow;
340 reverts 2014-01-09 change. (Bug#16422)
341
cc0f2ece
GM
342 * calc/calc-embed.el (thing-at-point-looking-at):
343 * emacs-lisp/map-ynp.el (x-popup-dialog):
344 * obsolete/lmenu.el (x-popup-dialog):
345 * emacs-lisp/package.el (url-recreate-url):
346 * mail/mailclient.el (clipboard-kill-ring-save):
347 * subr.el (x-popup-dialog): Update declaration.
348 * mail/rmail.el (rmail-mime-message-p):
349 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
350
00d2a6bb
DC
3512014-01-21 Daniel Colascione <dancol@dancol.org>
352
353 * progmodes/sh-script.el (sh--inside-noncommand-expression):
354 Correctly detect when we're inside an arithmetic expansion form
355 containing nested parenthesis.
356 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
357 to detect cases where we shouldn't expand "<<" to a heredoc
358 skeleton.
359
dd9d2e9d
SM
3602014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
363 (eldoc--message-command-p): New function.
364 (eldoc-display-message-p): Use it.
365 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
366 message is not automatically erased for us.
367 (eldoc-print-current-symbol-info): Erase previous message, if any.
368
e7d807ca
TH
3692014-01-21 Tassilo Horn <tsdh@gnu.org>
370
4ff0a0e5
TH
371 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
372 specify it's an interactive function.
373
dd9d2e9d
SM
374 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
375 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
376 citations with optional arguments.
377
87503791
LL
3782014-01-21 Leo Liu <sdl.web@gmail.com>
379
380 * simple.el (read--expression): Don't enable eldoc-mode.
381
6cc750ee
SM
3822014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * simple.el (move-beginning-of-line): Make sure we don't move forward
385 (bug#16497).
386
71f16bda
JL
3872014-01-20 Juri Linkov <juri@jurta.org>
388
389 * saveplace.el (toggle-save-place, save-place-to-alist)
390 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
391 'dired-mode) before checking for dired-directory. (Bug#16477)
392
3c5a4839
JL
3932014-01-20 Juri Linkov <juri@jurta.org>
394
395 * indent.el (indent-line-to): Use backward-to-indentation
396 instead of back-to-indentation. (Bug#16461)
397
f952002e
PE
3982014-01-20 Paul Eggert <eggert@cs.ucla.edu>
399
400 Revert some of the CANNOT_DUMP fix (Bug#16494).
401 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
402 but fixing this can wait until after the next release.
403 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
404
93675500
MA
4052014-01-19 Michael Albinus <michael.albinus@gmx.de>
406
407 * eshell/esh-mode.el (eshell-password-prompt-regexp):
408 Use `password-word-equivalents'.
409 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
410 to t. (Bug#5664, Bug#13124)
411
e3af763f
AM
4122014-01-19 Alan Mackenzie <acm@muc.de>
413
414 Bind open-paren-in-column-0-is-defun-start to nil at some entry
415 points.
416 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 417 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
418 * progmodes/cc-mode.el (c-before-change, c-after-change)
419 (c-font-lock-fontify-region): Bind it here.
420
4ff6d92d
MR
4212014-01-19 Martin Rudalics <rudalics@gmx.at>
422
423 * term.el (term-window-width): Call window-text-width instead of
424 window-width (Bug#16470).
425
9a685cf6
PE
4262014-01-18 Paul Eggert <eggert@cs.ucla.edu>
427
428 * simple.el (password-word-equivalents): Remove duplicates.
429 Sort, to make this easier next time.
430 Downcase. Omit ": " after "jelszó".
431
5aa78c2d
JD
4322014-01-18 Jan Djärv <jan.h.d@swipnet.se>
433
434 * term/common-win.el (saved-region-selection): Defvar it.
435 (x-select-text): Set saved-region-selection (Bug#16382).
436
cabb250c
GM
4372014-01-18 Glenn Morris <rgm@gnu.org>
438
439 * emacs-lisp/authors.el (authors-aliases)
440 (authors-renamed-files-alist): Add some entries.
441
a1340440
MA
4422014-01-17 Michael Albinus <michael.albinus@gmx.de>
443
93675500
MA
444 * net/tramp.el (tramp-password-prompt-regexp):
445 Use `password-word-equivalents' if available.
a1340440
MA
446 (tramp-action-password, tramp-process-one-action)
447 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
448
681ce5d2
CY
4492014-01-17 Chong Yidong <cyd@gnu.org>
450
451 * simple.el (password-word-equivalents): New defcustom.
452 * comint.el (comint-password-prompt-regexp): Use it. Bump version
453 to 24.4.
454 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
455 to t. (Bug#13124)
456
fb3d479c
DG
4572014-01-17 Dmitry Gutov <dgutov@yandex.ru>
458
459 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
460 (ruby-align-to-stmt-keywords): Change the default value.
461 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
462 choices.
463 (ruby-smie-rules): Instead of using a hardcoded list of alignable
464 keywords, check against the value of `ruby-alignable-keywords'
465 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
466
0d613483
GM
4672014-01-17 Glenn Morris <rgm@gnu.org>
468
fc23fe2d
GM
469 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
470
0d613483
GM
471 Make M-x authors return zero *Authors Errors* from current logs.
472 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
473 (authors-ignored-files): Add some entries, remove others.
474 (authors-ambiguous-files, authors-valid-file-names):
475 Add some entries.
476 (authors-renamed-files-alist): Add, remove, and adjust entries.
477 (authors-renamed-files-regexps): Add some entries.
478 Remove some very broad ones. Make some entries `lax'.
479 (authors-lax-changelogs): New constant.
480 (authors-disambiguate-file-name): Treat top-level specially.
481 (authors-lax-changelog-p): New function.
482 (authors-canonical-file-name): Check file as written against
483 authors-valid-file-names. Do not special-case etc/.
484 Handle `lax' logs and authors-renamed-files-regexps elements.
485
2dbf4ffd
DG
4862014-01-16 Dmitry Gutov <dgutov@yandex.ru>
487
488 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
489 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
490 callers.
2dbf4ffd 491
87b2a7f2
SM
4922014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
493
494 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
495 Assume we're already in the proper buffer.
496 Inspired by Anders Lindgren <andlind@gmail.com>.
497 (follow-post-command-hook): Call it from the right buffer.
498 (follow-comint-scroll-to-bottom): Adjust call.
499 (follow-all-followers): Use get-buffer-window-list.
500
93acfb0e
DC
5012014-01-15 Daniel Colascione <dancol@dancol.org>
502
503 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
504 `buffer-file-name' in interactive-form so that we don't leave
505 pathless file names in `file-name-history'.
506
ccc6b208
JL
5072014-01-15 Juri Linkov <juri@jurta.org>
508
509 * indent.el (indent-rigidly): Set deactivate-mark to nil
510 in transient indentation mode. (Bug#16438)
511
5c92e00d
DG
5122014-01-15 Dmitry Gutov <dgutov@yandex.ru>
513
514 * emacs-lisp/package.el (package-desc-keywords): New function
515 (Bug#16222).
516 (describe-package-1, package-all-keywords)
517 (package--has-keyword-p): Use it.
518
dac69660
NR
5192014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
520
521 * simple.el (define-alternatives): When creating the
522 COMMAND-alternatives variable, assign COMMAND as its definition
523 name so that `describe-variable' can relocate it.
524
8b63edf8
ML
5252014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
526
527 * font-lock.el (font-lock-keywords): Fix typo in docstring
528 (bug#16307).
529
c6a0b8eb
AM
5302014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
531
532 * ispell.el (ispell-region): Reset `in-comment' for new line
533 instead of wrongly reset `add-coment' (bug#13577).
534
02bf443d
DU
5352014-01-14 Daiki Ueno <ueno@gnu.org>
536
537 * epa-file.el (epa-file-write-region): Encode the region according
538 to `buffer-file-format'. Problem reported at:
539 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
540
fd7fde15
SM
5412014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
542
543 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
544 so it applies in the right buffer (bug#16410).
545
c176054f
DC
5462014-01-13 Daniel Colascione <dancol@dancol.org>
547
548 * textmodes/rst.el (rst-define-key): Provide deprecated
549 keybindings through named functions instead of anonymous ones so
550 that "??" doesn't appear in describe-mode output.
551
e3f33e5d
BG
5522014-01-13 Bastien Guerry <bzg@gnu.org>
553
554 * simple.el (define-alternatives): Call the selected command
555 interactively. When setting `COMMAND--implementation' for the
556 first time, tell the user how to chose another implementation.
557 Enhance the docstring.
558
c055d654
SM
5592014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
560
561 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
562 (log-edit--match-first-line): New function.
563 (log-edit-font-lock-keywords): Use it.
564 (log-edit-mode): Make jit-lock-defer-multiline work.
565
d791cc3b
BG
5662014-01-13 Bastien Guerry <bzg@gnu.org>
567
568 * rect.el (rectangle-mark-mode): When the region is not active,
569 display a message saying that the mark as been set and that
570 rectangle mode is in use.
571 (rectangle--highlight-for-redisplay): Only put an overlay with a
572 visible vertical bar when (display-graphic-p) is non-nil.
573 This partially fixes Bug#16403.
574
3c0c4562
JL
5752014-01-13 Juri Linkov <juri@jurta.org>
576
577 * info.el (Info-find-file): Go to DIR before displaying the error
578 about a nonexistent file if no previous Info file is visited.
579 Use `user-error' instead of `error' for "Info file %s does not exist".
580 (Info-find-node-2): In case of a nonexistent node in unwind forms
581 go to the Top node if there is no previous node to revert to.
582 (Bug#16405)
583
25a700d0
MR
5842014-01-13 Martin Rudalics <rudalics@gmx.at>
585
586 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
587 * window.el (fit-frame-to-buffer): Fix doc-string.
588 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
589 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
590 when avoiding that frame goes partially off-screen.
591 (fit-window-to-buffer): Respect window-min-height/-width
592 (Bug#14096).
593
6ae948d8
SM
5942014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
595
596 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
597 after an empty line.
598
6137cb82
SM
5992014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
600
601 * net/shr.el (shr-render-region): Autoload.
602
e6344e17
XF
6032014-01-12 Xue Fuqiao <xfq.free@gmail.com>
604
605 * net/eww.el (eww-download-directory): Rename from
606 `eww-download-path' (Bug#16419).
607
3b922c70
LL
6082014-01-12 Leo Liu <sdl.web@gmail.com>
609
610 * dired-x.el (dired-mode-map): Fix last change.
611
612 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
613
4fa51741
PE
6142014-01-12 Paul Eggert <eggert@cs.ucla.edu>
615
616 Spelling fixes.
617 * emacs-lisp/generic.el (generic--normalize-comments):
618 Rename from generic--normalise-comments. All uses changed.
619 * play/bubbles.el (bubbles--neighborhood-score):
620 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
621 (bubbles--neighborhood-available)
622 (bubbles--update-neighborhood-score):
623 Rename from names with 'neighbourhood'. All uses changed.
624
9b335362
LL
6252014-01-12 Leo Liu <sdl.web@gmail.com>
626
627 Re-implement the feature of showing eldoc info after editing.
628 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
629 (eldoc-edit-message-commands): New function.
630 (eldoc-print-after-edit): New variable.
631 (eldoc-pre-command-refresh-echo-area): Emit message only by
632 eldoc-message-commands.
633 (eldoc-mode): Restrict eldoc-message-commands to editing commands
634 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 635 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 636 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 637
e2a095b1
GM
6382014-01-11 Dani Moncayo <dmoncayo@gmail.com>
639 Eric S. Raymond <esr@thyrsus.com>
9685190b 640
841a6d0c 641 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 642 function works correctly in either a Bazaar or Git repo.
0abf4134 643
e2a095b1
GM
6442014-01-11 Eric S. Raymond <esr@thyrsus.com>
645
6137cb82
SM
646 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
647 Goes with removal of the joke manpages from /etc.
9685190b 648
3923e7bd
KH
6492014-01-10 K. Handa <handa@gnu.org>
650
6137cb82
SM
651 * mail/rmail.el (rmail-get-coding-system):
652 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 653
d2f16e93
GM
6542014-01-10 Glenn Morris <rgm@gnu.org>
655
656 * emacs-lisp/authors.el (authors-fixed-entries):
657 Update for files that no longer exist.
658
7e03bb32
ER
6592014-01-10 Eric S. Raymond <esr@thyrsus.com>
660
661 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 662 24.3 (Tested).
7e03bb32 663
dd806710
BB
6642014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
665
666 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
667 and Podfile.
668
ed6ec139
EZ
6692014-01-10 Eli Zaretskii <eliz@gnu.org>
670
671 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
672
cc33cac9
CY
6732014-01-10 Chong Yidong <cyd@gnu.org>
674
6137cb82 675 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 676
d9d836b5
AL
6772014-01-10 Anders Lindgren <andlind@gmail.com>
678
679 * follow.el (follow-cache-command-list): Include right-char and
680 left-char.
681
06827ec8
PE
6822014-01-10 Paul Eggert <eggert@cs.ucla.edu>
683
684 Spelling fixes.
685 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
686 * woman.el (woman-mark-horizontal-position):
687 Rename from woman-mark-horizonal-position. Use changed.
688
458dbf5e
GM
6892014-01-10 Glenn Morris <rgm@gnu.org>
690
dad6fae7
GM
691 * info.el (info-initialize): If running uninstalled, ensure our
692 own info files are always found first, even if INFOPATH is set.
693
458dbf5e
GM
694 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
695
05e0afce
DE
6962014-01-09 David Engster <deng@randomsample.de>
697
698 * emacs-lisp/eieio-custom.el:
699 * emacs-lisp/eieio-opt.el: Set generated autoload file to
700 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
701 * emacs-lisp/eieio.el: Regenerate autoloads.
702
f29778b3
ER
7032014-01-09 Eric S. Raymond <esr@thyrsus.com>
704
705 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 706 following renames. (Bug#8756)
f29778b3 707
684d44ef
SM
7082014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
709
710 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
711 (bug#16382).
712 (activate-mark): Add `no-tmm' argument.
713 (set-mark, push-mark-command): Use it instead of running
714 activate-mark-hook by hand.
715
9475054f
ER
7162014-01-08 Eric S. Raymond <esr@thyrsus.com>
717
718 In preparation for the move to git, sanitize out some
719 Bazaar-specific names.
720
38942b9c
GM
721 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
722
9475054f 723 * version.el (emacs-bzr-version): Name changed to
689c9ca5 724 emacs-repository-version. Obsolete-variable alias made.
9475054f 725 * loadup.el: Follow through on this name change.
a12bf61e 726 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
727 assumption about the version control system in use.
728
0f918d96 7292014-01-08 David Engster <deng@randomsample.de>
abb82152 730
684d44ef
SM
731 * help-fns.el (help-fns-describe-function-functions):
732 New variable to call functions for augmenting help buffers.
abb82152
DE
733 (describe-function-1): Remove explicit calls to
734 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
735 `help-fns--obsolete'. Put them in above new variable instead, and
736 call them through `run-hook-with-args'.
737 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
738 `eieio-describe-class'. Not meant for interactive use anymore,
739 but to augment existing help buffers. Remove optional second
684d44ef
SM
740 argument. Create proper button for file location.
741 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
742 possible.
743 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
744 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
745 (describe-method, describe-generic, eieio-describe-method):
746 Remove aliases.
0f918d96
DE
747 (eieio-help-constructor, eieio-help-generic): Rename from
748 `eieio-describe-constructor' and `eieio-describe-generic', resp.
749 Rewrite to use `insert' in the current buffer and use proper help
750 buttons.
751 (eieio-help-find-method-definition)
752 (eieio-help-find-class-definition): Also accept symbols as
753 arguments.
754 (eieio-help-mode-augmentation-maybee): Remove.
755 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
756 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
757 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 758
136b74c5
PE
7592014-01-08 Paul Eggert <eggert@cs.ucla.edu>
760
761 Spelling fixes.
762 * language/china-util.el (hz-ascii-designation):
763 Rename from hz-ascii-designnation.
764 (hz-ascii-designation): Rename from hz-ascii-designnation.
765 All uses changed.
766
ec6c7de2
SM
7672014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
768
769 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
770 package-alist.
771
d6262c7c
BG
7722014-01-08 Bastien Guerry <bzg@gnu.org>
773
4b9e6087
GM
774 * emacs-lisp/package.el (package-delete):
775 Correctly delete the package from package-alist.
d6262c7c 776
0a3eec32
DU
7772014-01-08 Daiki Ueno <ueno@gnu.org>
778
779 * emacs-lisp/package.el (url-recreate-url): Declare.
780 (url-http-target-url): Declare.
4b9e6087 781 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
782 (package--check-signature): Don't re-signal errors from
783 package--with-work-buffer. Suggested by Stefan Monnier.
784
68f0bb97
BG
7852014-01-07 Bastien Guerry <bzg@gnu.org>
786
787 * minibuffer.el (completion--try-word-completion): When both a
788 hyphen and a space are possible candidates for the character
789 following a word, display both candidates. (Bug#15980)
790
7e1899d7
MR
7912014-01-07 Martin Rudalics <rudalics@gmx.at>
792
793 * window.el (balance-windows-2): While rounding don't give a
794 window more than the remainder. Bug#16351, Bug#16383.
795
0030ec15
GM
7962014-01-07 Glenn Morris <rgm@gnu.org>
797
798 * menu-bar.el (menu-bar-help-extra-packages): Remove.
799 (menu-bar-help-menu): Use view-external-packages instead.
800
2b6b4f20
BG
8012014-01-07 Bastien Guerry <bzg@gnu.org>
802
803 * emacs-lisp/package.el (package-delete): Also delete the package
804 name from `package-alist', not its description only.
805
e9be0a13
GM
8062014-01-07 Glenn Morris <rgm@gnu.org>
807
808 * help.el (view-external-packages):
809 * menu-bar.el (menu-bar-help-extra-packages):
810 Visit efaq.info rather than etc/MORE.STUFF.
811
e4f74da9
JL
8122014-01-07 Juri Linkov <juri@jurta.org>
813
814 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
815 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
816
817 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
818 that shadows RET. (Bug#16342)
819
de7ce2d1
CY
8202014-01-07 Chong Yidong <cyd@gnu.org>
821
822 * isearch.el (isearch-yank-char, isearch-yank-word)
823 (isearch-yank-line): Doc fix.
824
6bdd9204
SM
8252014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
828 * emacs-lisp/elint.el (elint-find-builtins):
829 * emacs-lisp/eldoc.el (eldoc-symbol-function):
830 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
831 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
832 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
833 * apropos.el (apropos-safe-documentation):
834 * subr.el (symbol-file): Remove redundant fboundp.
835 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
836
daccca97
BG
8372014-01-06 Bastien Guerry <bzg@gnu.org>
838
839 * hl-line.el (global-hl-line-overlay): Make a local variable.
840 (global-hl-line-overlays): New variable to store all overlays.
841 (global-hl-line-mode): Don't delete overlays from the current
842 buffer when `global-hl-line-sticky-flag' is non-nil.
843 (global-hl-line-highlight): Add new overlays to
844 `global-hl-line-overlays'.
845 (global-hl-line-unhighlight-all): New function to delete all
846 overlays when turning off `global-hl-line-mode'.
847 This fixes Bug#16183.
848
ec00f20f
SM
8492014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
850
851 * subr.el (set-transient-map): Fix nested case and docstring.
852
a0031f97
TH
8532014-01-06 Tassilo Horn <tsdh@gnu.org>
854
855 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
856 `Texinfo' entry.
857
bf6a77f3
DC
8582014-01-06 Daniel Colascione <dancol@dancol.org>
859
860 Fix defun navigation in vc log view.
861
862 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
863 like `beginning-of-defun'.
864 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
865 log-view-end-of-defun to log-view-end-of-defun-1. Replace
866 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 867 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 868 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 869
d5081c1e
PE
8702014-01-06 Paul Eggert <eggert@cs.ucla.edu>
871
872 Spelling fixes.
873 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
874 * emacs-lisp/debug.el (cancel-debug-on-entry):
875 * epg.el (epg-error-to-string):
876 * files.el (recover-file):
877 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
878 * mail/emacsbug.el (report-emacs-bug-hook):
879 * mail/sendmail.el (mail-recover):
880 * ses.el (ses-yank-resize):
881 * term/ns-win.el (ns-print-buffer):
882 Spelling fixes in diagnostics, mostly for "canceled" with one L.
883 * epg.el (epg-key-capability-alist): Rename from misspelled version.
884 All uses changed.
885 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
886
53f6b148
LL
8872014-01-06 Leo Liu <sdl.web@gmail.com>
888
889 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 890 to avoid shadowing global key. (Bug#16354)
53f6b148 891
b82ace2f
DC
8922014-01-06 Daniel Colascione <dancol@dancol.org>
893
894 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
895 rst-mode.
896
3669b636
MR
8972014-01-05 Martin Rudalics <rudalics@gmx.at>
898
899 * window.el (balance-windows): Add mising t to fix Bug#16351.
900
1a29adc2
LMI
9012014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
902
903 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
904 (bug#16285).
3d95a0f4
LMI
905 (shr-insert): If we have a word that's longer than `shr-width',
906 break after it anyway. Otherwise we'll do no breaking once we get
907 such a long word.
1a29adc2 908
f4018140
KN
9092014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
910
3fcfc4ee 911 * net/eww.el (eww): Support single/double quote for search.
189340f5
KN
912 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
913 (eww-history-quit): Delete and use quit-window.
914 (eww-history-kill): Delete, because it doesn't work well and
915 not necessary.
916 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 917
4e619754
PE
9182014-01-05 Paul Eggert <eggert@cs.ucla.edu>
919
73dbf960
PE
920 Fix misspelling of 'chinese' in rx (Bug#16237).
921 * emacs-lisp/rx.el (rx-categories): Correct spelling of
922 chinese-two-byte.
923
4e619754
PE
924 Change subword regexps back to vars (Bug#16296).
925 * progmodes/subword.el (subword-forward-regexp)
926 (subword-backward-regexp): Change these back to variables.
927
e18b70fc
SM
9282014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
929
930 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
931 syntax-begin-function (bug#16247).
932
0d53f628
CY
9332014-01-03 Chong Yidong <cyd@gnu.org>
934
935 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
936 (advice--docstring): Delete variable.
937 (advice--make-1): Leave the docstring empty.
938 (advice-add): Use function-documentation for advised docstring.
939
940 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
941 Ignore function-documentation property when getting documentation.
942 (ad-activate-advised-definition): Use function-documentation
943 generate the docstring.
944 (ad-make-advised-definition): Don't call
945 ad-make-advised-definition-docstring.
946 (ad-make-advised-definition-docstring, ad-advised-definition-p):
947 Delete functions.
948
949 * progmodes/sql.el (sql-help): Use function-documentation instead
950 of dynamic-docstring-function property. No need to autoload now.
951 (sql--help-docstring): New variable.
952 (sql--make-help-docstring): Use it.
953
6f547583
SM
9542014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
955
6ef9aed8
SM
956 * ielm.el (ielm-tab): Retarget.
957 (ielm-map): Use ielm-tab for tab.
958 (ielm-complete-filename): Use comint-filename-completion.
959 (ielm-complete-symbol): Remove.
960 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
961 remove ielm-tab from completion-at-point-functions (bug#16224).
962
6f547583
SM
963 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
964 Beware signals raised by predicates (bug#16201).
965
a574edbe
RS
9662014-01-02 Richard Stallman <rms@gnu.org>
967
e831604d
RS
968 * dired-aux.el (dired-do-print): Handle printer-name.
969
6f547583
SM
970 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
971 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
972 (rmail-epa-decrypt): Turn off mime processing.
973
3fcfc4ee 974 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
975 Add parens in message-id.
976
977 * mail/rmail.el (rmail-get-coding-function): Variable.
978 (rmail-get-coding-system): Use it.
979
04311a16
KH
9802013-12-31 Eli Zaretskii <eliz@gnu.org>
981
982 * international/mule-conf.el: Unify the charset indian-is13194.
983 (indian-is13194): Specify unify-map.
984
c8d89778
LL
9852013-12-31 Leo Liu <sdl.web@gmail.com>
986
987 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
988
e63ace37
DC
9892013-12-30 Daniel Colascione <dancol@dancol.org>
990
9e0bf19a
DC
991 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
992 of printing a useless when we resume from sleep.
993
e63ace37
DC
994 * progmodes/sh-script.el
995 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
996 in indentation code. (Bug#16233)
997
e9d6c46a
JT
9982013-12-28 João Távora <joaotavora@gmail.com>
999
6f547583
SM
1000 * elec-pair.el (electric-pair-post-self-insert-function):
1001 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1002
bf7bea5d
EZ
10032013-12-28 Eli Zaretskii <eliz@gnu.org>
1004
1005 * frame.el (window-system-for-display): Don't allow to create a
1006 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1007
8449dd1f
GM
10082013-12-28 Glenn Morris <rgm@gnu.org>
1009
9c5a5c77
GM
1010 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1011 Update callers.
1012
1013 * apropos.el (apropos-match-face):
1014 * calculator.el (calculator-displayer):
1015 * dabbrev.el (dabbrev-search-these-buffers-only):
1016 * face-remap.el (buffer-face-mode-face):
1017 * simple.el (yank-handled-properties):
1018 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1019 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1020 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1021 (hashcash-double-spend-database):
1022 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1023 (ruby-deep-indent-paren-style):
1024 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1025 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1026 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1027 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1028 Specify custom types.
1029
bb098075
GM
1030 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1031 * bookmark.el (bookmark-bmenu-use-header-line):
1032 * doc-view.el (doc-view-scale-internally):
1033 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1034 * register.el (register-preview-delay):
1035 * net/shr.el (shr-bullet):
1036 * progmodes/cfengine.el (cfengine-cf-promises)
1037 (cfengine-parameters-indent):
1038 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1039 * textmodes/reftex-vars.el (reftex-label-regexps):
1040 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1041
9c61f806
GM
1042 * net/tls.el (tls-certtool-program): Fix default value.
1043
1044 * desktop.el (desktop-restore-in-current-display):
1045 * newcomment.el (comment-empty-lines):
1046 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1047 (idlwave-pad-keyword):
1048 * progmodes/tcl.el (tcl-tab-always-indent):
1049 * textmodes/reftex-vars.el (reftex-index-default-tag):
1050 * elec-pair.el (electric-pair-skip-whitespace):
1051 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1052
8449dd1f
GM
1053 * emacs-lisp/authors.el (authors-ignored-files)
1054 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1055
fdadeb49
JC
10562013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1057
72140a0f
GM
1058 * shell.el (shell-dynamic-complete-command): Doc fix.
1059 (shell--command-completion-data): Shell completion now matches
1060 executable filenames from the current buffer's directory, on
da5ecfa9 1061 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1062
e572a7d8
LI
10632013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1064
1065 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1066
7514d3f8
SM
10672013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1068
a4151f3b
SM
1069 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1070 (bug#16251).
1071
7514d3f8
SM
1072 * electric.el: Move all electric-pair-* to elec-pair.el.
1073 * elec-pair.el: New file, split from electric.el.
1074
ac5758d1
LI
10752013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1076
1077 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1078 indentation level is larger than the width, because that will
1079 infloop.
1080 (shr-insert): Fill repeatedly long texts, so that Japanese is
1081 formatted correctly (bug#16263).
24a6b65e
LI
1082 (shr-find-fill-point): Off by one error in comparison with the
1083 indentation.
ac5758d1 1084
7514d3f8 10852013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1086
1087 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1088 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1089 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1090 if that keeps or improves their balance in buffers.
1091 (electric-pair-delete-adjacent-pairs): Delete the pair when
1092 backspacing over adjacent matched delimiters.
1093 (electric-pair-open-extra-newline): Open extra newline when
1094 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1095 (electric--sort-post-self-insertion-hook):
1096 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1097 minor-modes are activated.
1098 * simple.el (newline-and-indent): Call newline with interactive
1099 set to t.
1100 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1101 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1102 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1103 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1104 electric-pair-open-newline-between-pairs to nil.
1105
fbcc63a3
FEG
11062013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1107
1108 * progmodes/python.el: Use lexical-binding.
1109 (python-nav-beginning-of-defun): Stop searching ASAP.
1110
ed78d16c
XF
11112013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1112
1113 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1114 Fix interactive spec. Doc fix. (Bug#15754)
1115
38b2c142
KY
11162013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1117
1118 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1119 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1120 Fix edebug spec (bug#16184).
1121
3c856c14
LI
11222013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1123
83fa295c 1124 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1125 (shr-insert): Don't infloop if we can't find a good place to break
1126 the line (bug#16256).
3c856c14 1127
01379221
FEG
11282013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1129
1130 * progmodes/python.el:
1131 (python-nav--lisp-forward-sexp): New function.
1132 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1133 python-nav-lisp-forward-sexp-safe.
1134 (python-nav--forward-sexp): New argument SAFE allows switching
1135 forward sexp movement behavior for parens.
1136 (python-nav-forward-sexp): Throw errors on unterminated parens
1137 (Bug#16191).
1138 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1139 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1140 (python-shell-buffer-substring):
1141 Use `python-nav-forward-sexp-safe'.
01379221 1142
99e4926f
LI
11432013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1144
1145 * net/shr.el (shr-find-fill-point): Don't break lines before a
1146 quotation mark.
c6c20584
LI
1147 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1148 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1149 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1150
fec0e828
KN
11512013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1152
1153 * net/eww.el (eww-form-textarea): Use a different face for
1154 textareas than text input since they have different keymaps
1155 (bug#16142).
1156
89c868ad
FEG
11572013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1158
7514d3f8
SM
1159 * progmodes/python.el (python-nav-beginning-of-statement):
1160 Speed up (Bug#15295).
89c868ad 1161
eeef121a
LI
11622013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1163
1164 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1165 the window configuration.
1166
121ea65f
EZ
11672013-12-24 Eli Zaretskii <eliz@gnu.org>
1168
1169 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1170 we run on MS-Windows or MS-DOS.
1171
18cee9ec
MR
11722013-12-24 Martin Rudalics <rudalics@gmx.at>
1173
1174 * window.el (balance-windows-area): Call window-size instead of
1175 window-height and window-width. Bug#16241.
1176
58f2b9a5
LI
11772013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1178
1179 * net/eww.el (eww-bookmark-quit): Remove.
1180 (eww-bookmark-browse): Restore the window configuration when you
1181 choose a bookmark (bug#16144).
1182
d64b6308
DC
11832013-12-24 Daniel Colascione <dancol@dancol.org>
1184
1185 * icomplete.el: Remove redundant :group arguments to `defcustom'
1186 throughout.
1187 (icomplete-show-matches-on-no-input): New customizable variable.
1188 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1189 we have something to show.
7514d3f8 1190 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1191
0da54898
DC
11922013-12-23 Daniel Colascione <dancol@dancol.org>
1193
1194 * icomplete.el: Move `provide' to end of file.
1195
b90aa4f4
TZ
11962013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1197
1198 * net/gnutls.el (gnutls-verify-error): Add version tag.
1199
8cd22a08
CY
12002013-12-23 Chong Yidong <cyd@gnu.org>
1201
1202 * subr.el (set-transient-map): Rename from
1203 set-temporary-overlay-map. Doc fix.
1204
1205 * face-remap.el (text-scale-adjust):
1206 * indent.el (indent-rigidly):
1207 * kmacro.el (kmacro-call-macro):
1208 * minibuffer.el (minibuffer-force-complete):
1209 * repeat.el (repeat):
1210 * simple.el (universal-argument--mode):
1211 * calendar/todo-mode.el (todo-insert-item--next-param):
1212 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1213
7510b021
CY
1214 * indent.el (indent-rigidly): Use substitute-command-keys.
1215
72140a0f 12162013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1217
1218 * net/eww.el (eww-tag-select): Add text-property to jump to next
1219 select field.
e9dc713d 1220 (eww): Add non-supported ftp error.
56890ecd 1221
1f87a56c
DG
12222013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1223
1224 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1225 comments. Handle electric indent after typing `?' and `!'.
1226
dca38cf9
CY
12272013-12-22 Chong Yidong <cyd@gnu.org>
1228
1229 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1230 applicable to a frame, fall back on the defface spec.
1231 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1232
f2351498
DG
12332013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1234
1235 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1236 after `{'. We need it after block openers, and it doesn't seem
1237 to hurt after hash openers.
1238
6cddebc1
DG
12392013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1240
1241 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1242 extracted from `ruby-smie-rules'.
1243 (ruby--electric-indent-chars): New variable.
1244 (ruby--electric-indent-p): New function.
1245 (ruby-mode): Use `electric-indent-functions' instead of
1246 `electric-indent-chars'.
1247
65a1da00
DG
12482013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1249
1250 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1251 docstring.
1252 (ruby-smie-rules): Indent plus one level after `=>'.
1253
b51ad4cf
RS
12542013-12-21 Richard Stallman <rms@gnu.org>
1255
1256 * simple.el (newline): Doc fix.
1257
72140a0f 12582013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1259
e9dc713d 1260 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1261 (eww-history-browse, eww-history-quit, eww-history-kill)
1262 (eww-history-mode-map, eww-history-mode): New command and
1263 functions to list browser histories.
e9dc713d
JB
1264 (eww-form-text): Support text form with disabled
1265 and readonly attributes.
1266 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1267
5e1901c1
RS
12682013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1269
1270 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1271 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1272 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1273 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1274 Use `user-error'.
1275 (eww-bookmark-mode-map): Add menu.
1276 (eww-render, eww-mode): Use `setq-local'.
1277 (eww-tool-bar-map): New variable.
1278 (eww-mode): Set `tool-bar-map'.
1279 (eww-view-source): Check for `html-mode' with `fboundp'.
1280
073d5cfd
LMI
12812013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1282
1283 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1284 elements with text inside. Also remove debugging.
1285
41cf3d11
JD
12862013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1287
1288 * cus-start.el (all): Add ns-use-srgb-colorspace.
1289
aac2b673
CY
12902013-12-21 Chong Yidong <cyd@gnu.org>
1291
1292 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1293 undefined. Thus, theme settings for undefined faces do not take
1294 effect until the faces are defined with defface, the same as with
1295 theme variables.
1296
1297 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1298 (face-spec-reset-face): Don't assign extra properties in temacs.
1299 (face-spec-recalc): Apply X resources too.
1300
bacb0e77
CY
13012013-12-21 Chong Yidong <cyd@gnu.org>
1302
1303 * faces.el (face-spec-set):
1304 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1305 * custom.el (defface): Doc fixes (Bug#16203).
1306
77221051
CY
1307 * indent.el (indent-rigidly-map): Add docstring, and move commands
1308 into named functions.
1309 (indent-rigidly-left, indent-rigidly-right)
1310 (indent-rigidly-left-to-tab-stop)
1311 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1312 indentation direction based on bidi direction, and accumulate
1313 sequential commands in a single undo boundary.
1314 (indent-rigidly--pop-undo): New utility function.
1315
e0eb0550
JB
13162013-12-20 Juanma Barranquero <lekktu@gmail.com>
1317
1318 * faces.el (read-face-name): Require crm.el when using crm-separator.
1319
3282bd2e
DC
13202013-12-20 Daniel Colascione <dancol@dancol.org>
1321
1322 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1323 so that we don't reflow comments into the shebang line.
1324
1d42e5b6
JL
13252013-12-20 Juri Linkov <juri@jurta.org>
1326
1327 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1328 a position when `dired-directory' is non-nil. Check integer
1329 positions with `integerp'.
1330 (toggle-save-place, save-places-to-alist): Add check for
1331 `dired-directory'.
1332 (save-place-find-file-hook): Check integer positions with
1333 `integerp'.
1334 (save-place-dired-hook): Use `dired-goto-file' when
1335 `dired-filename' is found in the assoc list. Check integer
1336 positions with `integerp'.
1337 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1338
1339 * dired.el (dired-initial-position-hook): Rename back from
1340 `dired-initial-point-hook'.
1341 (dired-initial-position): Rename `dired-initial-point-hook' to
1342 `dired-initial-position-hook'.
1343 (dired-file-name-at-point): Doc fix. (Bug#15329)
1344
24da7273
JL
13452013-12-20 Juri Linkov <juri@jurta.org>
1346
1347 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1348 (read-regexp-suggestions): New function.
1349 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1350 Use `read-regexp-suggestions'. Add non-empty default to history
1351 for empty input.
1352 (occur-read-regexp-defaults-function): Remove function.
1353 (occur-read-primary-args): Use `regexp-history-last' instead of
1354 `occur-read-regexp-defaults-function'.
1355
1356 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1357 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1358 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1359 `hi-lock-read-regexp-defaults-function'. Doc fix.
1360 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1361 with `find-tag-default-as-symbol-regexp'. Doc fix.
1362 (hi-lock-read-regexp-defaults): Remove function.
1363 (hi-lock-regexp-okay): Add check for null.
1364
1365 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1366 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1367
1368 * subr.el (find-tag-default-as-symbol-regexp): New function.
1369 (find-tag-default-as-regexp): Move symbol regexp formatting to
1370 `find-tag-default-as-symbol-regexp'.
1371
137f57c8
S
13722013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1373
1374 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1375 (Bug#14179)
1376
f3a66082
SB
13772013-12-20 Stephen Berman <stephen.berman@gmx.net>
1378
1379 * calendar/todo-mode.el: New implementation of item insertion
1380 commands and key bindings.
1381 (todo-key-prompt): New face.
1382 (todo-insert-item): New command.
1383 (todo-insert-item--parameters): New defconst, replacing defvar
1384 todo-insertion-commands-args-genlist.
1385 (todo-insert-item--param-key-alist): New defconst, replacing
1386 defvar todo-insertion-commands-arg-key-list.
1387 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1388 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1389 (todo-insert-item--next-param): New functions.
1390 (todo-insert-item--args, todo-insert-item--argleft)
1391 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1392 New variables.
1393 (todo-key-bindings-t): Change binding of "i" from
1394 todo-insertion-map to todo-insert-item.
1395 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1396 (todo-insertion-command-name, todo-insertion-commands-names)
1397 (todo-define-insertion-command, todo-insertion-commands)
1398 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1399
2f99433b
SB
14002013-12-20 Stephen Berman <stephen.berman@gmx.net>
1401
1402 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1403 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1404 eval-when-compile.
1405 (todo-move-category): Allow choosing a non-existing todo file to
1406 move the category to, and create that file.
1407 (todo-default-priority): New user option.
1408 (todo-set-item-priority): Use it.
1409 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1410 (desktop-restore-file-buffer): Declare.
1411 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1412 (todo-modes-set-2): Locally set desktop-save-buffer to
1413 todo-desktop-save-buffer.
1414 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1415 (auto-mode-alist): Add autoload cookie.
1416
131e4695
BB
14172013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1418
1419 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1420 helpers.el was a poor choice of name.
3cbfb935
BB
1421 (string-remove-prefix): New function.
1422 (string-remove-suffix): New function.
131e4695 1423
c44de18d
MR
14242013-12-20 Martin Rudalics <rudalics@gmx.at>
1425
1426 Fix assignment for new window total sizes.
1427 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1428 (window--pixel-to-total-1, window--pixel-to-total):
1429 Fix calculation of new total sizes.
c44de18d 1430
ca65efcc
VS
14312013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1432
1433 * comint.el (comint-output-filter): Fix rear-nonsticky property
1434 placement (Bug#16010).
1435
a9574eb7
CY
14362013-12-20 Chong Yidong <cyd@gnu.org>
1437
1438 * faces.el (read-color): Minor fix for completion function.
1439
b520f210
DG
14402013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1441
e0eb0550
JB
1442 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1443 New option. (Bug#16182)
b520f210
DG
1444 (ruby-smie--indent-to-stmt-p): Use it.
1445 (ruby-smie-rules): Revert the logic in the handling of `when'.
1446 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1447 (ruby-deep-arglist, ruby-deep-indent-paren)
1448 (ruby-deep-indent-paren-style): Update docstrings to note that the
1449 vars don't have any effect with SMIE.
1450
26b75b45
JB
14512013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1452
1453 * calc/calc.el (calc-enter, calc-pop): Use the variable
1454 `calc-context-sensitive-enter'.
1455
cf91cee7
LMI
14562013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1457
1458 * net/shr.el (shr-insert): Protect against infloops in degenerate
1459 tables.
1460
51d971b4
RS
14612013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1462
1463 * progmodes/octave.el (octave): Add link to manual and octave
1464 homepage.
1465 (octave-mode-menu): Link to octave-mode manual.
1466
8c2e462a
LL
14672013-12-20 Leo Liu <sdl.web@gmail.com>
1468
1469 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1470 insertion using skeleton-end-newline. (Bug#16138)
1471
501158bc
JL
14722013-12-20 Juri Linkov <juri@jurta.org>
1473
1474 * replace.el (occur-engine): Use `add-face-text-property'
1475 to add the face property to matches and titles. (Bug#14645)
1476
1477 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1478 the palette of other hi-lock colors.
1479 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1480
50ab1da6
JL
14812013-12-19 Juri Linkov <juri@jurta.org>
1482
1483 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1484 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1485 (minibuffer-history-symbol): Move variable declaration closer to
1486 its usage.
1487
1488 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1489 (Bug#14785)
1490
3d6e95e7
JL
14912013-12-19 Juri Linkov <juri@jurta.org>
1492
1493 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1494 New function.
1495 (log-edit-hook): Add it to :options. (Bug#16170)
1496
b41594fd
JL
14972013-12-19 Juri Linkov <juri@jurta.org>
1498
1499 * simple.el (eval-expression-print-format): Don't check for
1500 command names and the last command. Always display additional
1501 formats of the integer result in the echo area, and insert them
1502 to the current buffer only with a zero prefix arg.
1503 Display character when char-displayable-p is non-nil.
1504 (eval-expression): With a zero prefix arg, set `print-length' and
1505 `print-level' to nil, and insert the integer values from
1506 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1507
1508 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1509 `eval-last-sexp-arg-internal'. Doc fix.
1510 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1511 `eval-last-sexp-print-value'. Doc fix.
1512 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1513 Set `print-length' and `print-level' to nil when arg is zero.
1514 (eval-last-sexp): Doc fix.
1515 (eval-defun-2): Print the integer values from
1516 `eval-expression-print-format' at the end.
1517
1518 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1519 values from `eval-expression-print-format' at the end.
1520
1521 * ielm.el (ielm-eval-input): Print the integer
1522 values from `eval-expression-print-format' at the end.
1523
8f2be364
TZ
15242013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1525
1526 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1527 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1528
2230a6e3
SM
15292013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1530
1531 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1532 (hl-line-highlight, global-hl-line-highlight): Use it.
1533 (hl-line-overlay): Use defvar-local.
1534
1269a680
JD
15352013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1536
1537 * term/ns-win.el: Require dnd.
1538 (global-map): Remove drag items.
1539 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1540 (ns-set-background-at-mouse):
1541 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1542 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1543 New functions.
1269a680 1544
049638ad
GM
15452013-12-19 Glenn Morris <rgm@gnu.org>
1546
1547 * emacs-lisp/ert.el (ert-select-tests):
1548 Fix string/symbol mixup. (Bug#16121)
1549
ce41edb4
DG
15502013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1551
1552 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1553 keywords to their parent.
1554
7e1549c9
DG
15552013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1556
1557 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1558 first arg to be a string (fixed dead code), or an operator symbol.
1559 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1560 operator symbols.
1561 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1562 did nothing. Don't respond to `(:after ".")', it will be called
1563 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1564 change anything. Only return indentation for binary operators
1565 when they are hanging. De-dent opening paren when its parent is
1566 `.', otherwise it looks bad when the dot is not at bol or eol
1567 (bug#16182).
1568
3ee4cd64
JL
15692013-12-19 Juri Linkov <juri@jurta.org>
1570
1571 * replace.el (query-replace-read-args): Split a non-negative arg
1572 and a negative arg into separate elements.
1573 (query-replace, query-replace-regexp, replace-string)
1574 (replace-regexp): Add arg `backward'. Doc fix.
1575 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1576 move point to the beginning of the match.
1577 (replace-search, replace-highlight): Use new arg `backward'
1578 to set the value of `isearch-forward'.
1579 (perform-replace): Add arg `backward' and use it to perform
1580 replacement backward. (Bug#14979)
1581
1582 * isearch.el (isearch-query-replace): Use a negative prefix arg
1583 to call `perform-replace' with a non-nil arg `backward'.
1584
0cda6b7b
JL
15852013-12-18 Juri Linkov <juri@jurta.org>
1586
1587 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1588 to the default list. Move `log-edit-show-files' to the end.
1589 Add more available functions to options.
1590 (log-edit): Move default specific settings to
1591 `log-edit-insert-message-template'. Don't move point.
1592 (log-edit-insert-message-template): New function.
1593 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1594 (Bug#16170)
1595
b216f0a6
JL
15962013-12-18 Juri Linkov <juri@jurta.org>
1597
1598 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1599 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1600
1d1c55dc
LL
16012013-12-18 Leo Liu <sdl.web@gmail.com>
1602
e9dc713d
JB
1603 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1604 (Bug#16186)
1d1c55dc 1605
64e4c76e
EZ
16062013-12-18 Eli Zaretskii <eliz@gnu.org>
1607
1608 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1609 formats for displaying file sizes when the -s switch is given.
1610 Instead, compute a separate format for displaying the size in
1611 blocks, which is displayed in addition to the "regular" size.
1612 When -h is given in addition to -s, produce size in blocks in
1613 human-readable form as well. (Bug#16179)
1614
b2984e39
TH
16152013-12-18 Tassilo Horn <tsdh@gnu.org>
1616
2230a6e3
SM
1617 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1618 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1619
50ff2e06
CY
16202013-12-18 Chong Yidong <cyd@gnu.org>
1621
0081bc84
CY
1622 * cus-edit.el (custom-magic-alist): Fix "themed" description
1623 (Bug#14348).
1624
a7ee9424
CY
1625 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1626 is non-nil, do not create a new entry in the symbol's theme-value
1627 or theme-face property; update theme-settings only (Bug#14664).
18874304 1628 (custom-available-themes): Doc fix.
a7ee9424 1629
8f942537
CY
1630 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1631 (Bug#15674).
1632
50ff2e06
CY
1633 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1634
83c60f60
KI
16352013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1636
1637 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1638 (Bug#13914).
1639
e0eb0550 16402013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1641
1642 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1643
1f41ee56
GM
16442013-12-18 Glenn Morris <rgm@gnu.org>
1645
1646 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1647 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1648
e82134b1
LW
16492013-12-18 Le Wang <l26wang@gmail.com>
1650
2230a6e3
SM
1651 * comint.el (comint-previous-matching-input-from-input):
1652 Retain point (Bug#13404).
e82134b1 1653
33f5d4c1
CY
16542013-12-18 Chong Yidong <cyd@gnu.org>
1655
1656 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1657
ccc9f6dc
GM
16582013-12-18 Glenn Morris <rgm@gnu.org>
1659
1660 * mail/emacsbug.el (report-emacs-bug):
1661 Only mention enable-multibyte-characters if non-standard.
1662
33dd8e95
JL
16632013-12-17 Juri Linkov <juri@jurta.org>
1664
1665 * arc-mode.el (archive-extract-by-file): Check if directory exists
1666 before deletion to not show irrelevant errors if it doesn't exist.
1667
7a409b30
JL
16682013-12-17 Juri Linkov <juri@jurta.org>
1669
1670 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1671 (Bug#14751)
1672
1673 * net/eww.el (browse-web): Add alias to `eww'.
1674 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1675 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1676
1677 * net/browse-url.el (browse-url-browser-function): Move `eww'
1678 closer to similar functions.
1679
1680 * startup.el (fancy-startup-screen, fancy-about-screen):
1681 Set browse-url-browser-function to eww-browse-url locally.
1682 (Bug#14751)
1683
2d6b6005
SM
16842013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1685
1686 * window.el (window--pixel-to-total): Remove unused `mini' var.
1687 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1688 (split-window): Remove unused `new' var.
1689 (window--display-buffer): Remove unused `frame' and `delta' vars.
1690 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1691 and display-width'.
1692
cf2b7efc
MR
16932013-12-17 Martin Rudalics <rudalics@gmx.at>
1694
1695 * dired.el (dired-mark-pop-up):
1696 * register.el (register-preview): Don't bind
1697 split-height-threshold here since it's now done in
1698 display-buffer-below-selected.
1699
ed3af8a7 17002013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1701
1702 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1703 xterm-rgb-convert-to-16bit.
1704 (rxvt-register-default-colors): Standardize with
1705 xterm-register-default-colors (Bug#14078).
1706
76da3455
DK
17072013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1708
1709 * simple.el (kill-region): Pass mark first, then point, so that
1710 kill-append works right (Bug#12819).
1711 (copy-region-as-kill, kill-ring-save): Likewise.
1712
2b84d763
LL
17132013-12-17 Leo Liu <sdl.web@gmail.com>
1714
1715 * net/rcirc.el (rcirc-add-face):
1716 * eshell/em-prompt.el (eshell-emit-prompt):
1717 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1718 (Bug#16167)
1719
e2f6a0bc
CY
17202013-12-17 Chong Yidong <cyd@gnu.org>
1721
1722 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1723 Suggested by Xue Fuqiao.
1724
35b249a6
DG
17252013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1726
1727 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1728
e9145444
SM
17292013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1730
1731 * net/shr.el (shr-insert-document): Remove unused var
1732 `shr-preliminary-table-render'.
1733 (shr-rescale-image): Remove unused arg `force'.
1734 (shr-put-image): Update calls accordingly.
1735 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1736
5556c0ce
DG
17372013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1738
1739 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1740 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1741 :close-all, to see which indentation method to use (Bug#16116).
1742 (smie-rules-function): Document the method :close-all.
1743
11bade0a
LMI
17442013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1745
1c4b1e61
LMI
1746 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1747
11bade0a
LMI
1748 * net/eww.el (eww-display-html): If we can't find the anchor we're
1749 looking for, then go to point-min.
1750
8fb8c4f3
PE
17512013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1752
1753 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1754 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1755 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1756 Expand dir too, in case it's relative.
1757
6c8e0ae6
JL
17582013-12-16 Juri Linkov <juri@jurta.org>
1759
1760 * desktop.el (desktop-auto-save-timeout): Change default to
1761 `auto-save-timeout'. Doc fix.
1762 (desktop-save): Skip the timestamp in desktop-saved-frameset
1763 when checking for auto-save changes.
1764 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1765 `desktop-auto-save' is called repeatedly by the idle timer.
1766 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1767 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1768 (Bug#15331)
1769
2178e858
JL
17702013-12-16 Juri Linkov <juri@jurta.org>
1771
1772 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1773 (Bug#16035)
1774 (isearch-pre-command-hook): Check `this-command' for symbolp.
1775
39cb42c6
SM
17762013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1777
1778 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1779
5b9b750a
TZ
17802013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1781
1782 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1783 (cfengine3--current-function): Bring in the current-function
1784 functionality from `cfengine3--current-word'.
1785 (cfengine3-completion-function): Bring in the
1786 bounds-of-current-word functionality from
1787 `cfengine3--current-word'.
1788
d144ef06
MR
17892013-12-16 Martin Rudalics <rudalics@gmx.at>
1790
39cb42c6
SM
1791 * window.el (display-buffer-below-selected):
1792 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1793
a8bbe298
LL
17942013-12-16 Leo Liu <sdl.web@gmail.com>
1795
1796 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1797 Remove NOMSG arg and all uses changed.
1798
2013a2f9
SM
17992013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1800
1801 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1802 (cua--deactivate-rectangle): Don't deactivate the mark.
1803 (cua-set-rectangle-mark): Don't set mark-active since
1804 cua--activate-rectangle already does it for us.
1805 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1806 non-rectangular region.
1807
1808 * emulation/cua-base.el (cua-repeat-replace-region):
1809 Use with-current-buffer.
1810
1811 * net/gnutls.el: Use cl-lib.
1812 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1813
5ae811dd
TZ
18142013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1815
1816 * emacs-lisp/package.el (package-built-in-p): Support both
1817 built-in and the package.el converted package descriptions.
1818 (package-show-package-list): Allow keywords.
1819 (package-keyword-button-action): Use it instead of
1820 `finder-list-matches'.
1821 (package-menu-filter-interactive): Interactive filtering (by
1822 keyword) function.
1823 (package-menu--generate): Support keywords and change keymappings
1824 and headers when they are given.
1825 (package--has-keyword-p): Helper function.
1826 (package-menu--refresh): Use it.
1827 (package--mapc): Helper function.
1828 (package-all-keywords): Use it.
1829 (package-menu-mode-map): Set up menu items and keybindings to
1830 provide a filtering UI.
1831
31b4827e
TZ
18322013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1833
1834 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1835 the behavior when a certificate fails validation. Defaults to
1836 old behavior: never abort, just warn.
1837 (gnutls-negotiate): Use it.
1838
f93cc74f
MR
18392013-12-14 Martin Rudalics <rudalics@gmx.at>
1840
1841 * window.el (display-buffer-below-selected): Never split window
1842 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1843
f77d7d17
TW
18442013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1845
1846 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1847 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1848
7514d3f8
SM
18492013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1850
aa2bddd7 1851 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1852 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1853
276bc333
DG
18542013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1855
1856 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1857 open-paren tokens when preceded by a open-paren, too.
1858 (ruby-smie-rules): Handle virtual indentation after open-paren
1859 tokens specially. If there is code between it and eol, return the
1860 column where is starts (Bug#16118).
1861
d43957f3
TZ
18622013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1863
a5c1ac0c 1864 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1865 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1866 (cfengine3--current-word): Fix parameters.
1867 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1868 (cfengine3-completion-function, cfengine3--current-function):
1869 Use `assq' for symbols.
d43957f3
TZ
1870 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1871
06a4f110
GM
18722013-12-13 Glenn Morris <rgm@gnu.org>
1873
1874 * loadup.el (load-path): Warn if site-load or site-init changes it.
1875 No more need to reset it when bootstrapping.
1876
978a5fda
TZ
18772013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1878
1879 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1880 locations for cf-promises.
1881 (cfengine-mode-syntax-functions-regex): New caching variable.
1882 (cfengine3-fallback-syntax): Fallback syntax for cases where
1883 cf-promises doesn't run.
1884 (cfengine3--current-word): Reimplement using
1885 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1886 (cfengine3-completion-function, cfengine3--current-function):
1887 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1888 (cfengine3-clear-syntax-cache): New function.
1889 (cfengine3-make-syntax-cache): Simplify and create
1890 `cfengine-mode-syntax-functions-regex' on demand.
1891 (cfengine3-format-function-docstring): Don't call
1892 `cfengine3-make-syntax-cache' explicitly.
1893
71e6691e
MR
18942013-12-13 Martin Rudalics <rudalics@gmx.at>
1895
1896 Fix windmove-find-other-window broken after pixelwise resizing
1897 (Bug#16017).
1898 * windmove.el (windmove-other-window-loc): Revert change from
1899 2013-12-04.
1900 (windmove-find-other-window): Call window-in-direction.
1901 * window.el (window-in-direction): New arguments SIGN, WRAP and
1902 MINI to emulate original windmove-find-other-window behavior.
1903
84c73ba0
DG
19042013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1905
1906 * simple.el (blink-matching--overlay): New variable.
1907 (blink-matching-open): Instead of moving point, highlight the
1908 matching paren with an overlay
1909 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1910
1911 * faces.el (paren-showing-faces, show-paren-match)
1912 (show-paren-mismatch): Move from paren.el.
1913
b9e20952
LL
19142013-12-13 Leo Liu <sdl.web@gmail.com>
1915
1916 * indent.el (indent-region): Disable progress reporter in
1917 minibuffer. (Bug#16108)
1918
1919 * bindings.el (visual-order-cursor-movement): Fix version.
1920
ce030451
FEG
19212013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1922
1923 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1924 Also match after beginning of line.
1925 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1926 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1927
4a9c6865
JL
19282013-12-13 Juri Linkov <juri@jurta.org>
1929
1930 * simple.el <Keypad support>: Remove key bindings duplicated
1931 with bindings.el. (Bug#14397)
1932
2bc170c3
JL
19332013-12-13 Juri Linkov <juri@jurta.org>
1934
1935 * comint.el (comint-mode-map): Replace `delete-char' with
1936 `delete-forward-char'. (Bug#16109)
1937
bc9222c9
FEG
19382013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1939
aa2bddd7 1940 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1941 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1942
cb3a1380
SM
19432013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1944
1945 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1946 (advice--make): Pay attention to `depth'.
1947 (advice--make-1): Don't autoload commands eagerly.
1948 * emacs-lisp/elp.el (elp-instrument-function):
1949 * emacs-lisp/trace.el (trace-function-internal):
1950 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1951
1952 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1953
01633a17
EZ
19542013-12-12 Eli Zaretskii <eliz@gnu.org>
1955
1956 * term/w32-win.el (w32-handle-dropped-file):
1957 * startup.el (normal-top-level):
1958 * net/browse-url.el (browse-url-file-url):
1959 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1960 decode file names using 'utf-8' rather than
1961 file-name-coding-system.
1962
09faee72
FEG
19632013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1964
1965 * progmodes/python.el (python-indent-context)
1966 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1967 behavior for comment blocks. (Bug#15916)
09faee72 1968
f4f84024 19692013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1970
cb3a1380
SM
1971 * progmodes/python.el (python-indent-calculate-indentation):
1972 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1973 operators when they are just string constituents. (Bug#15812)
1974
d5ccb7be
JL
19752013-12-12 Juri Linkov <juri@jurta.org>
1976
1977 * uniquify.el (uniquify-buffer-name-style): Change default to
1978 `post-forward-angle-brackets'.
1979
1980 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1981 `uniquify'. Change default to `post-forward-angle-brackets'.
1982
7b3f5679
GM
19832013-12-11 Glenn Morris <rgm@gnu.org>
1984
1985 * emacs-lisp/package.el (finder-list-matches):
1986 Autoload rather than falsely declaring.
1987
f4fe8fdd
TZ
19882013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1989
1990 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1991 (eww-mode-map): Use them.
1992
3c29190f
MR
19932013-12-11 Martin Rudalics <rudalics@gmx.at>
1994
1995 * window.el (display-buffer-in-side-window): Fix doc-string
1996 (Bug#16115).
1997
0cd616a2
JB
19982013-12-11 Juanma Barranquero <lekktu@gmail.com>
1999
2000 * vc/vc-git.el: Silence byte-compiler warnings.
2001 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2002 (log-edit-set-header): Declare.
2003
3ef8e0d1
EZ
20042013-12-11 Eli Zaretskii <eliz@gnu.org>
2005
2006 * Makefile.in (custom-deps, finder-data): Run output file names
2007 through unmsys--file-name. (Bug#16099)
2008
afdadaf7
SM
20092013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2010
7ae3ae39 2011 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2012 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2013
5b4f37ab
SM
2014 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2015 instead of deleting the selection "by hand" (bug#16098).
2016 Rely on insert-for-yank to yank rectangles.
2017 (cua-highlight-region-shift-only): Mark obsolete.
2018 (cua-mode): Don't enable/disable transient-mark-mode,
2019 shift-select-mode (cua-mode works both with and without them), and
2020 pc-selection-mode (obsolete).
2021 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2022 (cua--deactivate-rectangle): Deactivate it.
2023
4b72c12b
SM
2024 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2025 (delete-selection-helper): Make sure yank starts at the top of the
2026 deleted region.
2027 (minibuffer-keyboard-quit): Use region-active-p.
2028
e82af72d
SM
2029 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2030
afdadaf7
SM
2031 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2032 to `delete' (bug#16109).
2033
ed4bc201
RS
20342013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2035
2036 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2037 info manual and show keybindings and set `:group' keyword.
2038
bb8097b9
JL
20392013-12-11 Juri Linkov <juri@jurta.org>
2040
2041 * delsel.el (delete-active-region): Let-bind `this-command'
2042 to prevent `kill-region' from changing its original value.
2043 (delete-selection-helper): Handle `overwrite-mode' for the type
2044 `kill' exactly the same way as for the type `t'.
2045 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2046 Support more commands. (Bug#13312)
2047
c1916ff5
JL
20482013-12-11 Juri Linkov <juri@jurta.org>
2049
2050 * bindings.el: Map kp keys to non-kp keys systematically
2051 with basic modifiers control, meta and shift. (Bug#14397)
2052
7514d3f8 20532013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2054
2055 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2056 "Close browser" menu items. Fix wrong function of "List
2057 bookmarks".
2058
4cc51eaf
JL
20592013-12-11 Juri Linkov <juri@jurta.org>
2060
2061 * misearch.el (multi-isearch-buffers): Set the value of
2062 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2063 arg of isearch-forward to t.
2064 (multi-isearch-buffers-regexp): Set the value of
2065 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2066 arg of isearch-forward-regexp to t.
2067 (multi-isearch-files): Set the value of
2068 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2069 arg of isearch-forward to t.
2070 (multi-isearch-files-regexp): Set the value of
2071 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2072 arg of isearch-forward-regexp to t. (Bug#16035)
2073
2074 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2075 arg of isearch-forward to t.
2076 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2077 arg of isearch-forward-regexp to t.
2078 (dired-isearch-filter-filenames): Remove unnecessary check for
2079 `dired-isearch-filenames'.
2080
2081 * comint.el (comint-history-isearch-backward):
2082 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2083 (comint-history-isearch-backward-regexp):
2084 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2085
ceac12b7
EZ
20862013-12-10 Eli Zaretskii <eliz@gnu.org>
2087
2088 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2089 unmsys--file-name. (Bug#16099)
2090
5a565782
TZ
20912013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2092
cb3a1380
SM
2093 * emacs-lisp/package.el (package-keyword-button-action):
2094 Remove finder.el require dependency.
5a565782 2095
a81fc7ba
TZ
20962013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2097
2098 * emacs-lisp/package.el: Require finder.el.
2099 (describe-package-1): Add keyword buttons.
2100 (package-make-button): New convenience function.
2101 (package-keyword-button-action): Keyword button action using
e0eb0550 2102 `finder-list-matches'.
a81fc7ba 2103
6aaca951
EZ
21042013-12-09 Eli Zaretskii <eliz@gnu.org>
2105
2106 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2107 last commit.
2108
a1099a91
MA
21092013-12-09 Michael Albinus <michael.albinus@gmx.de>
2110
2111 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2112 symlinked files.
2113
8212d9c0
DG
21142013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2115
2116 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2117 after the end of a percent literal.
2118
8f48d131
CD
21192013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2120
cb3a1380
SM
2121 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2122 Handle caret-delimited strings (Bug#16079).
8f48d131 2123
ff8c9764
DG
21242013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2125
cb3a1380
SM
2126 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2127 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2128 `ruby-parse-partial' (Bug#16078).
2129
d64643b4
LL
21302013-12-09 Leo Liu <sdl.web@gmail.com>
2131
2132 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2133
47e59c66
DG
21342013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2135
2136 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2137 (js-switch-indent-offset): New option.
2138 (js--proper-indentation): Use it. And handle the case when
2139 "default" is actually a key in an object literal.
2140 (js--same-line): New function.
2141 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2142 (js--indent-in-array-comp, js--array-comp-indentation):
2143 New functions.
47e59c66
DG
2144 (js--proper-indentation): Use them, to handle array comprehension
2145 continuations.
2146
974ebc9c
LL
21472013-12-08 Leo Liu <sdl.web@gmail.com>
2148
2149 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2150 (flymake-make-overlay): Remove arg MOUSE-FACE.
2151 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2152
27262e39
SM
21532013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2154
2155 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2156 New function.
2157 (redisplay-highlight-region-function): Use it.
2158
2159 * emulation/cua-base.el (cua--explicit-region-start)
2160 (cua--last-region-shifted): Remove.
2161 (cua--deactivate): Use deactivate-mark.
2162 (cua--pre-command-handler-1): Don't handle shift-selection.
2163 (cua--post-command-handler-1): Don't change transient-mark-mode.
2164 (cua--select-keymaps): Use region-active-p rather than
2165 cua--explicit-region-start or cua--last-region-shifted.
2166 (cua-mode): Enable shift-select-mode.
2167
6407822c
LL
21682013-12-08 Leo Liu <sdl.web@gmail.com>
2169
27262e39
SM
2170 * progmodes/flymake.el (flymake-popup-current-error-menu):
2171 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2172 (flymake-posn-at-point-as-event, flymake-popup-menu)
2173 (flymake-make-emacs-menu): Remove. (Bug#16077)
2174
00a2b823
SM
21752013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2176
02033d49
SM
2177 * rect.el (rectangle-mark-mode): Activate mark even if
2178 transient-mark-mode is off (bug#16066).
2179 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2180 is > mark and at bolp.
2181
6f8dfccf
SM
2182 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2183 (region-extract-function): Use it.
2184 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2185 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2186 Delete functions.
2187 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2188 kill-ring-save, kill-region, delete-char, delete-forward-char.
2189 Ignore self-insert-iso.
2190
2191 * emulation/cua-gmrk.el (cua--init-global-mark):
2192 Ignore `self-insert-iso'.
2193
2194 * emulation/cua-base.el (cua--prefix-copy-handler)
2195 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2196 checking cua--rectangle.
2197 (cua-delete-region): Use region-extract-function.
2198 (cua-replace-region): Delete function.
2199 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2200 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2201 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2202 (cua--init-keymaps): Don't remap delete-selection commands.
2203 (cua-mode): Use delete-selection-mode instead of rolling our own
2204 (bug#16085).
2205
2206 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2207 Obey region-extract-function.
2208
00a2b823
SM
2209 Make registers and delete-selection-mode work on rectangles.
2210 * register.el (describe-register-1): Don't modify the register's value.
2211 (copy-to-register): Obey region-extract-function.
2212 * delsel.el (delete-active-region): Obey region-extract-function.
2213
a92fa5f1
LL
22142013-12-08 Leo Liu <sdl.web@gmail.com>
2215
2216 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2217 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2218 (flymake-compilation-prevents-syntax-check)
2219 (flymake-start-syntax-check-on-newline)
2220 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2221 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2222 (flymake-xml-program, flymake-master-file-dirs)
2223 (flymake-master-file-count-limit)
2224 (flymake-allowed-file-name-masks): Relocate.
2225 (flymake-makehash, flymake-float-time)
2226 (flymake-replace-regexp-in-string, flymake-split-string)
2227 (flymake-get-temp-dir): Remove.
2228 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2229 (flymake-current-row, flymake-selected-frame)
2230 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2231 related functions. (Bug#16077)
2232
73c8ceea
BB
22332013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2234
2235 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2236
faec28d9
TH
22372013-12-07 Tassilo Horn <tsdh@gnu.org>
2238
2239 * help-fns.el (describe-function-1): Use new advice-* functions
2240 rather than old ad-* functions. Fix function type description and
2241 source links for advised functions and subrs.
2242
e330b646
LMI
22432013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2244
00a2b823 2245 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2246
4803595d
MA
22472013-12-06 Michael Albinus <michael.albinus@gmx.de>
2248
2249 * progmodes/compile.el (compilation-start):
2250 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2251
2252 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2253 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2254
fa834a93
DG
22552013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2256
00a2b823
SM
2257 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2258 Touch up the last change.
fa834a93 2259
b2856a6f
LL
22602013-12-06 Leo Liu <sdl.web@gmail.com>
2261
2262 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2263 (inferior-octave-startup): Always use "octave> " for prompt.
2264 (octave-goto-function-definition)
2265 (octave-sync-function-file-names)
2266 (octave-find-definition-default-filename): Remove redundant backquotes.
2267
af67e79a
DG
22682013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2269
2270 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2271 syntax for `?'.
2272 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2273 where appropriate already.
2274 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2275 end of method names (Bug#15874).
2276
bf093209
JL
22772013-12-06 Juri Linkov <juri@jurta.org>
2278
2279 * isearch.el (isearch--saved-overriding-local-map):
2280 New internal variable.
2281 (isearch-mode): Set it to the initial value of
2282 `overriding-terminal-local-map'.
2283 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2284 with `isearch--saved-overriding-local-map'. (Bug#16035)
2285
16588fad
DG
22862013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2287
00a2b823
SM
2288 * progmodes/octave.el (inferior-octave-completion-table):
2289 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2290 (Bug#11906). Update all references.
2291
2292 * minibuffer.el (completion-table-with-cache): New function.
2293
bf4906d7
CD
22942013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2295
2296 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2297
ff69c18f
TZ
22982013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2299
2300 * net/eww.el (eww-current-source): New variable to store page
2301 source.
2302 (eww-display-html, eww-mode, eww-save-history)
2303 (eww-restore-history): Use it.
2304 (eww-view-source): New command to view page source.
2305 Opportunistically uses `html-mode' to highlight the buffer.
2306 (eww-mode-map): Install it.
2307
b85eff45
MA
23082013-12-05 Michael Albinus <michael.albinus@gmx.de>
2309
2310 * net/dbus.el (dbus-unregister-service)
2311 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2312 Fix docstring.
2313 (dbus-unregister-service): Skip :serial entries in
2314 `dbus-registered-objects-table'.
2315 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2316
39eb0899
TZ
23172013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2318
2319 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2320 around keywords with extra `split-string' argument.
2321
456760a5
MR
23222013-12-04 Martin Rudalics <rudalics@gmx.at>
2323
2324 * windmove.el (windmove-other-window-loc): Handle navigation
2325 between windows (excluding the minibuffer window - Bug#16017).
2326
81961e4c
MA
23272013-12-04 Michael Albinus <michael.albinus@gmx.de>
2328
2329 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2330 in D-Bus type syntax.
2331 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2332 preserve unibyte strings. (Bug#16048)
2333
8497f938
SM
23342013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2335
2336 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2337 Call force-mode-line-update is the proper buffer (bug#16042).
2338
dda61916
DG
23392013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2340
2341 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2342 `log-edit-remember-comment', make argument optional. Adjust all
2343 callers.
2344 (log-edit-mode): Add `log-edit-remember-comment' to
2345 `kill-buffer-hook' locally.
2346 (log-edit-kill-buffer): Don't remember comment explicitly since
2347 the buffer is killed anyway.
2348
c085e5b9
JL
23492013-12-04 Juri Linkov <juri@jurta.org>
2350
2351 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2352 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2353
e0eb0550 23542013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2355
2356 * notifications.el (notifications-close-notification): Call the
81961e4c 2357 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2358
39fa32d6
KY
23592013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2360
2361 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2362
9139632a
JL
23632013-12-03 Juri Linkov <juri@jurta.org>
2364
2365 * progmodes/compile.el (compilation-start): Rename window alist
2366 entry `no-display-ok' to `allow-no-window'.
2367
2368 * simple.el (shell-command): Add window alist entry
2369 `allow-no-window' to `display-buffer'.
2370 (async-shell-command): Doc fix.
2371
2372 * window.el (display-buffer-no-window): New action function.
2373 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2374
0f457a37
DG
23752013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2376
2377 * vc/log-edit.el (log-edit-set-header): Extract from
2378 `log-edit-toggle-header'.
2379 (log-edit-extract-headers): Separate the summary, when extracted
2380 from header, from the rest of the message with an empty line.
2381
2382 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2383 line, if present, to the Summary header.
2384
0962f376
SM
23852013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2386
2387 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2388 in current-buffer (bug#16029).
2389
f345395c
HE
23902013-12-02 Helmut Eller <eller.helmut@gmail.com>
2391
2392 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2393 (debugger-mode-map): Bind it.
2394 (debugger--backtrace-base): New function.
2395 (debugger-eval-expression): Use it.
2396 (debugger-frame-number): Skip local vars when present.
2397 (debugger--locals-visible-p, debugger--insert-locals)
2398 (debugger--show-locals, debugger--hide-locals): New functions.
2399
a8a15d9d
MA
24002013-12-02 Michael Albinus <michael.albinus@gmx.de>
2401
2402 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2403 "LC_ALL".
2404 (tramp-get-remote-locale): New defun.
2405 (tramp-open-connection-setup-interactive-shell): Use it.
2406
0518b057
LL
24072013-12-02 Leo Liu <sdl.web@gmail.com>
2408
2409 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2410
2411 * progmodes/sh-script.el (sh-shell-process):
2412 * progmodes/octave.el (inferior-octave-process-live-p):
2413 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2414 (gdb-inferior-io-sentinel):
2415 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2416
3adc9c6d
DG
24172013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2418
2419 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2420 `save-selected-window' to `log-edit-hide-buf'. This makes
2421 `log-edit-show-files' idempotent.
2422 (log-edit-show-files): Mark the new window as dedicated.
2423
47e8b74e
DG
24242013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2425
2426 * vc/log-edit.el (log-edit-mode-map): Add binding for
2427 `log-edit-kill-biffer'.
2428 (log-edit-hide-buf): Add a FIXME comment.
2429 (log-edit-add-new-comment): New function, extracted from
2430 `log-edit-done'.
2431 (log-edit-done, log-edit-add-to-changelog): Use it.
2432 (log-edit-kill-buffer): New command.
2433
1f6e1bb0
LMI
24342013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2435
2436 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2437 instead of killing the buffer.
2438
fb651d15
SM
24392013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2442
8feacce0
RS
24432013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2444
fb651d15 2445 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2446 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2447 (eww-form-checkbox, eww-toggle-checkbox):
2448 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2449
e0eb0550 2450 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2451 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2452 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2453 no :src tag was specified.
2454
fb651d15 2455 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2456 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2457 Use \\` to match beginning of string instead of ^.
2458 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2459 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2460
177948a5
RS
2461 * net/shr.el (shr-tag-video): Display content for video if no
2462 poster is available.
eb2dd24d 2463 (shr-tag-audio): Add support for <audio> tag.
177948a5 2464
e0eb0550 2465 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2466 (eww-process-text-input): Treat input types in
2467 `eww-text-input-types' as text.
2468
8feacce0
RS
2469 * net/shr.el (shr-tag-table): Fix comment typo.
2470
513562a1
LMI
24712013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2472
2473 * net/eww.el (eww-follow-link): New command to avoid reloading
2474 pages when we follow #target links (bug#15243).
de8a5633 2475 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2476
9dd99753
KN
24772013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2478
2479 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2480 forms.
2481
3e9876de
LMI
24822013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2483
2484 * net/eww.el (eww-restore-history): Update the window title after
2485 moving in the history.
ab6dea82 2486 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2487
52789f7f
DG
24882013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2489
2490 * vc/log-edit.el (log-edit-mode-map): Add binding for
2491 `log-edit-beginning-of-line'.
2492 (log-edit-setup-add-author): New user option.
2493 (log-edit-beginning-of-line): New command.
2494 (log-edit): Move major mode call above the contents setup so that
2495 the local variable values are already applied.
2496 (log-edit): Only insert "Author: " when
2497 `log-edit-setup-add-author' is non-nil.
2498 (log-edit): When SETUP is non-nil, position point after ": "
2499 instead of point-min.
2500
2e6710c3
GM
25012013-12-01 Glenn Morris <rgm@gnu.org>
2502
2503 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2504
fadec31f
EZ
25052013-11-30 Eli Zaretskii <eliz@gnu.org>
2506
2507 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2508 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2509 visible. (Bug#16014)
2510
10634b40 25112013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2512
2513 Support resizing frames and windows pixelwise.
2514 * cus-start.el (frame-resize-pixelwise)
2515 (window-resize-pixelwise): New entries.
2516 * emacs-lisp/debug.el (debug): Use window-total-height instead
2517 of window-total-size.
2518 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2519 * help.el (describe-bindings-internal): Call help-buffer
2520 (temp-buffer-max-width): New option.
2521 (resize-temp-buffer-window, help-window-setup)
2522 (with-help-window): Rewrite.
2523 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2524 dragging dividers.
2525 * window.el (frame-char-size, window-min-pixel-height)
2526 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2527 (window-min-pixel-width, window-safe-min-pixel-size)
2528 (window-combination-p, window-safe-min-size)
2529 (window-resizable-p, window--size-to-pixel)
2530 (window--pixel-to-size, window--resize-apply-p): New functions.
2531 (window-safe-min-height): Fix doc-string.
2532 (window-size, window-min-size, window--min-size-1)
2533 (window-sizable, window-sizable-p, window--min-delta-1)
2534 (window-min-delta, window--max-delta-1, window-max-delta)
2535 (window--resizable, window--resizable-p, window-resizable)
2536 (window-full-height-p, window-full-width-p, window-at-side-p)
2537 (window--in-direction-2, window-in-direction)
2538 (window--resize-reset-1, window--resize-mini-window)
2539 (window-resize, window-resize-no-error)
2540 (window--resize-child-windows-normal)
2541 (window--resize-child-windows, window--resize-siblings)
2542 (window--resize-this-window, window--resize-root-window)
2543 (window--resize-root-window-vertically)
2544 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2545 (maximize-window, minimize-window, delete-window)
2546 (quit-restore-window, window-split-min-size, split-window)
2547 (balance-windows-2, balance-windows)
2548 (balance-windows-area-adjust, balance-windows-area)
2549 (window--state-get-1, window-state-get, window--state-put-1)
2550 (window--state-put-2, window-state-put)
fb651d15
SM
2551 (display-buffer-record-window, window--display-buffer):
2552 Make functions handle pixelwise sizing of windows.
880e6158 2553 (display-buffer--action-function-custom-type)
fb651d15
SM
2554 (display-buffer-fallback-action):
2555 Add display-buffer-in-previous-window.
880e6158
MR
2556 (display-buffer-use-some-window): Resize window to height it had
2557 before.
2558 (fit-window-to-buffer-horizontally): New option.
2559 (fit-frame-to-buffer): Describe new values.
2560 (fit-frame-to-buffer-bottom-margin): Replace with
2561 fit-frame-to-buffer-margins.
2562 (window--sanitize-margin): New function.
2563 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2564 using window-text-pixel-size.
2565
f9b697dd
GM
25662013-11-30 Glenn Morris <rgm@gnu.org>
2567
3e2fb4db
GM
2568 * emacs-lisp/bytecomp.el (byte-compile-form):
2569 Make the `interactive-only' warning like the `obsolete' one.
2570 * comint.el (comint-run):
2571 * files.el (insert-file-literally, insert-file):
2572 * replace.el (replace-string, replace-regexp):
2573 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2574 (goto-line, insert-buffer, next-line, previous-line):
2575 Tweak `interactive-only' spec.
2576
f9b697dd
GM
2577 Stop keeping (most) generated cedet grammar files in the repository.
2578 * Makefile.in (semantic): New.
2579 (compile-main): Depend on semantic.
2580
da048127
SM
25812013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2582
7784b779
SM
2583 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2584 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2585
4e36a6a6
SM
2586 * uniquify.el (uniquify-buffer-name-style): Change default.
2587
2588 * loadup.el: Preload "uniquify".
2589
e0ba1308
SM
2590 * time.el (display-time-update): Update all mode lines (bug#15999).
2591
da048127
SM
2592 * electric.el (electric-indent-mode): Enable by default.
2593 * loadup.el: Preload "electric".
2594
015b3b3e
BB
25952013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2596
2597 * emacs-lisp/helpers.el (string-empty-p): New function.
2598 (string-blank-p): New function.
2599
7efb806d
AP
26002013-11-29 Andreas Politz <politza@hochschule-trier.de>
2601
2602 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2603 (Bug#14029).
2604
c8f0efc2
AP
26052013-11-29 Andreas Politz <politza@fh-trier.de>
2606 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2607 allow non-lambda lists as functions.
2608 (imenu--in-alist): Don't recurse into non-subalists.
2609 (imenu): Don't pass function itself as an argument (Bug#14029).
2610
bd15d9d1
SM
26112013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2612
2613 * progmodes/python.el (python-mode-map): Remove binding for ":".
2614 (python-indent-electric-colon): Remove command.
2615 (python-indent-post-self-insert-function): Integrate the previous code
2616 of python-indent-electric-colon. Make it conditional on
2617 electric-indent-mode.
2618 (python-mode): Add ?: to electric-indent-chars.
2619 Move python-indent-post-self-insert-function to the end of
2620 post-self-insert-hook.
2621
1b10adb6
SM
26222013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2623
655ab9a3
SM
2624 * doc-view.el (doc-view-goto-page): Update mode-line.
2625
1b10adb6
SM
2626 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2627
7e3bf78c
GM
26282013-11-27 Glenn Morris <rgm@gnu.org>
2629
2630 * international/charprop.el, international/uni-bidi.el:
2631 * international/uni-category.el, international/uni-combining.el:
2632 * international/uni-comment.el, international/uni-decimal.el:
2633 * international/uni-decomposition.el, international/uni-digit.el:
2634 * international/uni-lowercase.el, international/uni-mirrored.el:
2635 * international/uni-name.el, international/uni-numeric.el:
2636 * international/uni-old-name.el, international/uni-titlecase.el:
2637 * international/uni-uppercase.el:
2638 Remove generated files from VCS repository.
2639
fb6a5d68
EZ
26402013-11-27 Eli Zaretskii <eliz@gnu.org>
2641
2642 * filenotify.el (file-notify-add-watch): Don't special-case
2643 w32notify when computing the directory to watch.
2644
cb6c95a3
GM
26452013-11-27 Glenn Morris <rgm@gnu.org>
2646
20372d0c
GM
2647 Make bootstrap without generated uni-*.el files possible again.
2648 * loadup.el: Update command-line-args checking for unidata-gen.
2649 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2650 * composite.el, international/characters.el:
2651 Handle unicode tables being undefined.
2652
52d6635f 2653 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2654 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2655 (compile-main): Depend on leim rule.
2656 (leim): New rule.
2657 * loadup.el: Move leim-list.el to leim/ subdirectory.
2658 * startup.el (normal-top-level): No more leim directory.
2659 * international/ja-dic-cnv.el (skkdic-convert):
2660 Disable version-control and autoloads in output files.
2661 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2662 Disable version-control and autoloads in output files.
2663 * leim/quail: Move here from ../leim.
2664 * leim/quail/hangul.el (hangul-input-method-activate):
2665 Add autoload cookie.
2666 (generated-autoload-load-name): Set file-local value.
2667 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2668 (generated-autoload-load-name): Set file-local value.
2669
7514d3f8 26702013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2671
e0eb0550 2672 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2673 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2674 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2675
0e2c793f
EZ
26762013-11-26 Eli Zaretskii <eliz@gnu.org>
2677
2678 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2679 reading output from Diff on MS-Windows and MS-DOS.
2680
447bdcb8
BB
26812013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2682
2683 * emacs-lisp/helpers.el (string-reverse): New function.
2684
5fbf6856
MA
26852013-11-26 Michael Albinus <michael.albinus@gmx.de>
2686
2687 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2688 names on MS Windows, like "/[::1]:".
2689
2690 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2691 SWITCHES.
2692
624780f0
GM
26932013-11-26 Glenn Morris <rgm@gnu.org>
2694
0bf3f0fa
GM
2695 * progmodes/python.el (python-indent-guess-indent-offset):
2696 Avoid corner-case error. (Bug#15975)
2697
624780f0
GM
2698 Preload leim-list.el. (Bug#4789)
2699 * loadup.el: Load leim-list.el when found.
2700 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2701
4301875e 27022013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2703
2704 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2705
4301875e
BB
2706 * emacs-lisp/helpers.el (string-join): New function.
2707
1633a815 27082013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2709
2710 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2711 Mark as obsolete and replace it with a symbol property.
2712 (byte-compile-form): Use new 'interactive-only property.
2713 * comint.el, files.el, replace.el, simple.el:
2714 Apply new 'interactive-only properly.
2715
00139435
MR
27162013-11-25 Martin Rudalics <rudalics@gmx.at>
2717
2718 * window.el (display-buffer-at-bottom): Make sure that
2719 split-window-sensibly creates the new window on bottom
2720 (Bug#15961).
2721
5f5b128d
DK
27222013-11-23 David Kastrup <dak@gnu.org>
2723
2724 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2725 on the conflict markers when available.
2726 (smerge--get-marker): New function.
2727 (smerge-end-re, smerge-base-re): Add subgroup.
2728
623891e5
SM
27292013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * frame.el (handle-focus-in, handle-focus-out): Add missing
2732 interactive spec.
2733
05ca27d8
MA
27342013-11-25 Michael Albinus <michael.albinus@gmx.de>
2735
2736 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2737 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2738
511fa0d3
SM
27392013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2740
e82ad66c
SM
2741 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2742 (gomoku--last-pos): New var.
2743 (gomoku--intangible-chars): New const.
2744 (gomoku--intangible): New function.
2745 (gomoku-mode): Use it. Derive from special-mode.
2746 (gomoku-move-up): Adjust line count.
2747 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2748 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2749 Simplify accordingly.
2750
511fa0d3
SM
2751 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2752 Remove blink-cursor code.
2753 (blink-cursor-timer-function, blink-cursor-suspend):
2754 Don't special-case GUIs.
2755 (blink-cursor-mode): Use focus-in/out-hook.
2756
6f20dd03
DG
27572013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2758
2759 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2760 work when annotation is invisible (Bug#13886).
2761
431dec31 27622013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2763
2764 * json.el (json-alist-p): Only return non-nil if the alist has
2765 simple keys (Bug#13518).
2766
431dec31 27672013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2768
2769 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2770 when control-statement is the first statement in a buffer (Bug#15956).
2771
ee4f0261
DG
27722013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2773
2774 * imenu.el (imenu-generic-skip-comments-and-strings):
2775 New option (Bug#15560).
2776 (imenu--generic-function): Use it.
2777
c484f866
JS
27782013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2779
e9dc713d
JB
2780 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2781 (Bug#13898)
c484f866 2782
41ce6f70
BB
27832013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2784
b55aea38
BB
2785 * emacs-lisp/helpers.el: Add some string helpers.
2786 (string-trim-left): Removes leading whitespace.
2787 (string-trim-right): Removes trailing whitespace.
2788 (string-trim): Removes leading and trailing whitespace.
2789
41ce6f70
BB
2790 * subr.el (string-suffix-p): New function.
2791
3cfb6af3
GM
27922013-11-23 Glenn Morris <rgm@gnu.org>
2793
2794 * progmodes/python.el (python-shell-send-file):
2795 Add option to delete file when done. (Bug#15647)
2796 (python-shell-send-string, python-shell-send-region): Use it.
2797
c27924b7
IS
27982013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2799
e1b01c7f
IS
2800 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2801 to set buffer-read-only to t, never to nil. (Bug#15938)
2802
c27924b7
IS
2803 * textmodes/tex-mode.el (latex-noindent-environments):
2804 Add safe-local-variable property. (Bug#15936)
2805
17e0445b
GM
28062013-11-23 Glenn Morris <rgm@gnu.org>
2807
92f78ea3
GM
2808 * textmodes/enriched.el (enriched-mode): Doc fix.
2809 * emacs-lisp/authors.el (authors-renamed-files-alist):
2810 Add enriched.doc -> enriched.txt.
2811
17e0445b
GM
2812 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2813
965bb23a
LL
28142013-11-22 Leo Liu <sdl.web@gmail.com>
2815
2816 * progmodes/octave.el (inferior-octave-startup): Spit out error
2817 message.
2818
d19ffd64
BB
28192013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2820
2821 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2822 Improve docstring.
15ba2182
BB
2823 Add :version.
2824 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2825
7a7567d2
LL
28262013-11-22 Leo Liu <sdl.web@gmail.com>
2827
2828 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2829 (Bug#15076)
8c09f64b
LL
2830 (octave-help-mode): Adapt to change to help-mode-finish to use
2831 derived-mode-p on 2013-09-17.
2832 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2833 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2834
724bc265
LL
28352013-11-22 Leo Liu <sdl.web@gmail.com>
2836
2837 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2838 (inferior-octave-startup, inferior-octave-check-process)
2839 (inferior-octave-track-window-width-change)
2840 (octave-completion-at-point, octave-eldoc-function): Use it.
2841 (octave-kill-process): Provide confirmation. (Bug#10564)
2842
38637cca
LL
28432013-11-21 Leo Liu <sdl.web@gmail.com>
2844
511fa0d3
SM
2845 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2846 Fix obsolete variable comment-use-global-state.
38637cca 2847
06e752b4
RS
28482013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2849
511fa0d3
SM
2850 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2851 Add `octave-source-file'.
06e752b4
RS
2852 (octave-source-file): New function. (Bug#15935)
2853
7514d3f8 28542013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2855
2856 * net/eww.el (eww-local-regex): New variable.
2857 (eww): Use it to detect localhost and similar.
2858
b6ffa04a
LL
28592013-11-21 Leo Liu <sdl.web@gmail.com>
2860
2861 Add completion for command `ag'.
2021a200
LL
2862 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2863 (pcomplete/ag): New function.
e9dc713d 2864 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2865
d1a6bccc
SM
28662013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2869 (bug#14646).
2870 (make-obsolete): Remove interactive spec.
2871
2df10228
GM
28722013-11-21 Glenn Morris <rgm@gnu.org>
2873
2874 * startup.el (command-line-1): Use path-separator with -L.
2875
86fd16b6
TZ
28762013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2877
2878 * emacs-lisp/package.el (describe-package-1): Add package archive
2879 to shown fields.
2880
0449d6cd 28812013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2882
2883 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2884 Change default to "# encoding: %s" to differentiate it from the
2885 default Ruby encoding comment template.
2886
dc7e8c17 28872013-11-20 era eriksson <era+emacsbugs@iki.fi>
2888
2889 * ses.el (ses-mode): Doc fix. (Bug#14748)
2890
f0cfa5fe
LL
28912013-11-20 Leo Liu <sdl.web@gmail.com>
2892
2893 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2894
826dc7b6
DN
28952013-11-19 Dan Nicolaescu <dann@gnu.org>
2896
2897 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2898 when rebase or bisect are in progress.
2899
a6e3a5d5
XF
29002013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2901
2902 * filenotify.el (file-notify-add-watch): Doc fix.
2903
f130cb76
LL
29042013-11-19 Leo Liu <sdl.web@gmail.com>
2905
e0855d7d
LL
2906 * obsolete/rcompile.el: Mark obsolete.
2907
f130cb76 2908 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2909 (compilation-goto-locus, compilation-find-file):
2910 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2911 (Bug#13594)
2912
2913 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2914 new parameter no-display-ok. Return either a window or nil
2915 but never a non-window value.
f130cb76 2916
1f35d401
SM
29172013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2918
25158c76
SM
2919 * electric.el (electric-indent-mode-map): Remove.
2920 (electric-indent-mode): Change the global-map instead (bug#15915).
2921
2922 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2923 Use add-function.
1f35d401 2924
9bc67baa
SM
29252013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2926
986545b5
SM
2927 * emacs-lisp/nadvice.el (remove-function): Align with
2928 add-function's behavior.
2929
9bc67baa
SM
2930 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2931 (gdb--string-regexp): New constant.
2932 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2933 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2934 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2935 submatch 1.
2936 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2937 Adjust use accordingly.
2938 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2939
56cd894e
AS
29402013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2941
2942 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2943 interpolation curlies (Bug#15914).
2944
014690de
JB
29452013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2946
2947 * calc/calc.el (calc-context-sensitive-enter): New variable.
2948 (calc-enter): Use `calc-context-sensitive-enter'.
2949
7e26a6c3
TZ
29502013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2951
2952 * progmodes/cfengine.el: Version bump.
2953 (cfengine-cf-promises): New defcustom to locate cf-promises.
2954 (cfengine3-vartypes): Add new "data" type.
2955 (cfengine3--current-word): New function to get current name-like
2956 word or its bounds.
2957 (cfengine3--current-function): New function to look up a CFEngine
2958 function's definition.
2959 (cfengine3-format-function-docstring): New function.
2960 (cfengine3-make-syntax-cache): New function.
2961 (cfengine3-documentation-function): New function: ElDoc glue.
2962 (cfengine3-completion-function): New function: completion glue.
2963 (cfengine3-mode): Set `compile-command',
2964 `eldoc-documentation-function', and add to
2965 `completion-at-point-functions'.
2966
355204dd
MA
29672013-11-16 Michael Albinus <michael.albinus@gmx.de>
2968
2969 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2970 `tramp-current-connection'.
2971
43cebc23
DG
29722013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2973
2974 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2975 nil/self/true/false with "end of symbol".
2976
a3fed6ff
BB
29772013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2978
2979 * subr.el (version-regexp-alist): Fix a typo.
2980
e675b3e4
MA
29812013-11-15 Michael Albinus <michael.albinus@gmx.de>
2982
2983 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2984 "en_US.utf8" and "LC_CTYPE" to "".
2985 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2986 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2987
a1f03e89
LL
29882013-11-15 Leo Liu <sdl.web@gmail.com>
2989
2990 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2991
5d9d9451
SM
29922013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2993
58362662
CS
2994 * progmodes/gud.el (ctl-x-map):
2995 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2996 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2997
6c1bf086
BB
29982013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2999
0d5363c4
BB
3000 * subr.el (version-regexp-alist):
3001 Recognize hg, svn and darcs versions as snapshot versions.
3002
4e9fc48c
BB
3003 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3004 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3005 (ruby--encoding-comment-required-p): Extract from
3006 `ruby-mode-set-encoding'.
3007 (ruby-mode-set-encoding): Add the ability to always insert an
3008 utf-8 encoding comment. Fix and simplify coding comment update
3009 logic.
6c1bf086 3010
2f7e72f8
MA
30112013-11-14 Michael Albinus <michael.albinus@gmx.de>
3012
3013 * net/tramp-gvfs.el (top): Run init code only when
3014 `tramp-gvfs-enabled' is not nil.
3015 (tramp-gvfs-enabled): Check also :system bus.
3016
0f137a73
SM
30172013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3018
3019 Sync with upstream verilog-mode revision 78e66ba.
3020 * progmodes/verilog-mode.el (verilog-end-of-defun)
3021 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3022 (verilog-get-end-of-defun): Remove unused argument.
3023 (verilog-comment-depth): Remove unused local `e'.
3024 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3025 Don't pass arg to verilog-get-end-of-defun.
3026
1c276bdd
GM
30272013-11-14 Glenn Morris <rgm@gnu.org>
3028
3029 * obsolete/assoc.el (aget): Prefix dynamic variable.
3030
3031 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3032
ff6ec81d
SM
30332013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3034
3035 * widget.el, hfy-cmap.el: Remove bogus package version number.
3036
75f777b6
GM
30372013-11-13 Glenn Morris <rgm@gnu.org>
3038
1d43dba1
GM
3039 * replace.el (replace-eval-replacement):
3040 Try to give more helpful error message. (Bug#15836)
3041
ff4b7bd5
GM
3042 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3043 (archive-7z-update): Avoid custom type mismatches.
3044
75f777b6
GM
3045 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3046
11151a06
MA
30472013-11-13 Michael Albinus <michael.albinus@gmx.de>
3048
e675b3e4 3049 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3050 address can be empty.
3051
3052 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3053 Accept nil SWITCHES.
3054 (tramp-gvfs-handle-write-region): Implement APPEND.
3055
7b08f97e
DG
30562013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3057
3058 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3059 binary "|" operator and closing block args delimiter.
3060 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3061 (ruby-smie--implicit-semi-p): Not after "|" operator.
3062 (ruby-smie--closing-pipe-p): New function.
3063 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3064 (ruby-smie-rules): Indent after "|".
3065
f201cf3a
GM
30662013-11-12 Glenn Morris <rgm@gnu.org>
3067
3068 * ps-print.el (ps-face-attribute-list):
3069 Handle anonymous faces. (Bug#15827)
3070
e6f759f9
MR
30712013-11-12 Martin Rudalics <rudalics@gmx.at>
3072
3073 * window.el (display-buffer-other-frame): Fix doc-string.
3074 (Bug#15868)
3075
ecda65d4
SM
30762013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3077
3078 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3079
7ce8fcc3
MA
30802013-11-11 Michael Albinus <michael.albinus@gmx.de>
3081
3082 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3083 (tramp-sh-handle-file-local-copy): Don't write a message when
3084 saving temporary files.
3085
3086 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3087 both directories are remote.
3088 (tramp-smb-handle-directory-files): Do not return double entries.
3089 Do not expand full file names.
3090 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3091 (tramp-smb-handle-write-region): Implement APPEND.
3092 (tramp-smb-get-stat-capability): Fix a stupid bug.
3093
7818df11
SM
30942013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3097
608c2085
NT
30982013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3099
3100 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3101 throwing error over malformed let/let* (bug#15814).
3102
122a7e46
SM
31032013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3104
3105 * iswitchb.el (iswitchb-mode): Mark obsolete.
3106
766284d9
GM
31072013-11-11 Glenn Morris <rgm@gnu.org>
3108
3109 * international/uni-bidi.el, international/uni-category.el:
3110 * international/uni-name.el, international/uni-numeric.el:
3111 Regenerate for Unicode 6.3.0.
3112
7072a4e9
MA
31132013-11-10 Michael Albinus <michael.albinus@gmx.de>
3114
3115 * net/tramp.el (tramp-methods):
3116 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3117 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3118
c9df215b
AS
31192013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3120
608c2085
NT
3121 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3122 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3123
fa47d796
DG
31242013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3125
3126 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3127 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3128 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3129 (ispell-complete-word): Call `ispell-lookup-words' with the value
3130 independent of `ispell-look-p'.
3131
1629a329
DG
31322013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3133
3134 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3135 Not after "||".
3136 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3137 their parent.
3138
ad16897c
SM
31392013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3140
3141 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3142 (ruby-font-lock-keywords): Use backquote.
3143
ffa2df72
DG
31442013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3145
3146 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3147 (ruby-smie--backward-token): Only consider full-string matches.
3148
5b97b4c0
JD
31492013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3150
3151 * faces.el (describe-face): Add distant-foreground.
3152
71731c03
BB
31532013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3154
4e9fc48c
BB
3155 * progmodes/ruby-mode.el: Improve encoding comment handling.
3156 (ruby-encoding-magic-comment-style): New option.
3157 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3158 (ruby--insert-coding-comment, ruby--detect-encoding):
3159 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3160 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3161 to control the style of the auto-inserted encoding comment.
71731c03 3162
da3b328d
DG
31632013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3164
ad16897c
SM
3165 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3166 Use `smie-backward-sexp' with token argument.
da3b328d 3167
1606c2d3
MA
31682013-11-08 Michael Albinus <michael.albinus@gmx.de>
3169
3170 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3171 Remove instrumentation code.
3172
b0f4c320
GM
31732013-11-08 Glenn Morris <rgm@gnu.org>
3174
3175 * progmodes/autoconf.el (autoconf-mode):
3176 Tweak comment-start-skip. (Bug#15822)
3177
43668fb1
SM
31782013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3179
3180 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3181 at bobp (bug#15826).
3182 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3183
daddb3fd
DH
31842013-11-08 Darren Hoo <darren.hoo@gmail.com>
3185
3186 * man.el (Man-start-calling): New macro, extracted from
3187 Man-getpage-in-background.
3188 (Man-getpage-in-background): Use it.
3189 (Man-update-manpage): New command.
3190 (Man-mode-map): Bind it.
3191
1f923923
DG
31922013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3193
3194 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3195 of "and", "or", "&&" and "||".
3196 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3197 argument. Prohibit opening curly brace because it could only be a
3198 block opener in that position.
daddb3fd
DH
3199 (ruby-smie--forward-token, ruby-smie--backward-token):
3200 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3201 arguments.
3202 (ruby-smie--indent-to-stmt): New function, seeks the end of
3203 previous statement or beginning of buffer.
3204 (ruby-smie-rules): Use it.
3205 (ruby-smie-rules): Check if there's a ":" before a curly block
3206 opener candidate; if there is, it's a hash.
3207
3220d527
SM
32082013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3209
3210 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3211 (cl--block-wrapper): Fix last accidental change.
3212
1eb1f9e0
MA
32132013-11-07 Michael Albinus <michael.albinus@gmx.de>
3214
3215 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3216 Instrument, in order to hunt failure on hydra.
3217
e6e4db3c
NT
32182013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3219
3220 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3221 malformed bindings form (bug#15814).
3222
b420ccfc
DG
32232013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3224
3225 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3226 "." compared to " @ ". This incidentally fixes some indentation
3227 examples with "do".
e6e4db3c 3228 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3229 (ruby-smie-grammar): New tokens: "and" and "or".
3230 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3231 Exclude "and" and "or". Remove "do" in order to work around token
3232 priorities.
3233 (ruby-smie-rules): Add all infix tokens. Handle the case of
3234 beginning-of-buffer.
b420ccfc 3235
6b4ac03e
GM
32362013-11-06 Glenn Morris <rgm@gnu.org>
3237
3238 * Makefile.in (setwins_almost, setwins_for_subdirs):
3239 Avoid accidental matches.
3240
5ca114d1
SM
32412013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3242
3243 * menu-bar.el (popup-menu): Use key-binding.
3244
f72552bd
EZ
32452013-11-06 Eli Zaretskii <eliz@gnu.org>
3246
3247 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3248 menus, support also the menus produced by minor modes.
3249 (Bug#15817)
3250
5d5c701e
LL
32512013-11-06 Leo Liu <sdl.web@gmail.com>
3252
3253 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3254 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3255
0a8b75e2
GM
32562013-11-06 Glenn Morris <rgm@gnu.org>
3257
3258 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3259 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3260 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3261
a35287ea
SM
32622013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3263
feca4e2d
SM
3264 * electric.el (electric-indent-just-newline): New command.
3265 (electric-indent-mode-map): New keymap.
3266 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3267 Re-add :group which weren't redundant.
3268
a35287ea
SM
3269 * electric.el (electric-indent-local-mode): New minor mode.
3270 (electric-indent-functions-without-reindent): New var.
3271 (electric-indent-post-self-insert-function): Use it.
3272 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3273
375761b2
EZ
32742013-11-05 Eli Zaretskii <eliz@gnu.org>
3275
9a6ad735
EZ
3276 * international/quail.el (quail-help): Be more explicit about the
3277 meaning of the labels shown on the keys. (Bug#15800)
3278
375761b2
EZ
3279 * startup.el (normal-top-level): Load the subdirs.el files before
3280 setting the locale environment. (Bug#15805)
3281
520a6e4a
SM
32822013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3283
0acfafef
SM
3284 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3285 via arguments so as to get the right ones (bug#15418).
3286
520a6e4a
SM
3287 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3288
15826261
MA
32892013-11-05 Michael Albinus <michael.albinus@gmx.de>
3290
3291 Fix problems found while writing a test suite.
3292
3293 * net/tramp-compat.el (tramp-compat-load): New defun.
3294 * net/tramp.el (tramp-handle-load): Use it.
3295
3296 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3297 "(numberp ok-if-already-exists)" correctly.
3298
d35f31a4
XF
32992013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3300
3301 * international/characters.el (glyphless-char-display-control):
3302 Add usage note.
3303
ae93bc74
BB
33042013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3305
520a6e4a
SM
3306 * progmodes/python.el (python-mode):
3307 * progmodes/scheme.el (scheme-mode):
3308 * progmodes/prolog.el (prolog-mode):
3309 * progmodes/ruby-mode.el (ruby-mode):
3310 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3311 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3312
0ade65b5
SM
33132013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3314
a0d5f7a4
SM
3315 * rect.el (rectangle--highlight-for-redisplay):
3316 * emacs-lisp/smie.el (smie--next-indent-change):
3317 Use buffer-chars-modified-tick.
3318
c93f3f5c
SM
3319 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3320
0ade65b5
SM
3321 * electric.el (electric-indent-post-self-insert-function):
3322 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3323
ef9dd188
HE
33242013-11-04 Helmut Eller <eller.helmut@gmail.com>
3325
3326 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3327
306e7308
NT
33282013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3329
3330 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3331 (bug#15786).
3332
e5afbcac
SM
33332013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3334
1d01ad41
SM
3335 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3336
e5afbcac
SM
3337 * progmodes/python.el: Fix up last change.
3338 (python-shell--save-temp-file): New function.
3339 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3340 `string' comes from the current buffer.
3341 (python-shell-send-string-no-output): Remove `msg' arg.
3342 (python--use-fake-loc): New var.
3343 (python-shell-buffer-substring): Obey it. Try to compensate for the
3344 extra coding line added by python-shell--save-temp-file.
3345 (python-shell-send-region): Use python-shell--save-temp-file and
3346 python-shell-send-file directly. Add `nomain' argument.
3347 (python-shell-send-buffer): Use python-shell-send-region.
3348 (python-electric-pair-string-delimiter): New function.
3349 (python-mode): Use it.
3350
d0065ff1
EZ
33512013-11-04 Eli Zaretskii <eliz@gnu.org>
3352
3353 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3354 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3355 environment and decoding all of the default-directory's to here
3356 from command-line.
3357 (command-line): Decode also argv[0].
3358
3359 * loadup.el: Error out if default-directory is a multibyte string
3360 when we are dumping.
3361
3362 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3363
7397c587
TZ
33642013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3365
3366 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3367 (package-menu--print-info, package-menu--archive-predicate):
3368 Add Archive column to package list.
7397c587 3369
b27cc9fc
MA
33702013-11-04 Michael Albinus <michael.albinus@gmx.de>
3371
3372 Fix problems found while writing a test suite.
3373
3374 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3375 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3376 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3377 to nil when running original file name handler. Otherwise,
3378 there are problems with constructs like "$$FOO".
3379
3380 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3381 for `localname'.
3382
d8c4f18a
BB
33832013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3384
7b530552
BB
3385 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3386
3387 * subr.el (version<, version<=, version=):
3388 Update docstrings with information for snapshot versions.
3389
d8c4f18a
BB
3390 * helpers.el: New library for misc helper functions.
3391 (hash-table-keys): New function returning a list of hash keys.
3392 (hash-table-values): New function returning a list of hash values.
3393
dca01b09
DG
33942013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3395
3396 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3397 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3398
0a749fa0
MN
33992013-11-04 Michal Nazarewicz <mina86@mina86.com>
3400
3401 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3402 checking whether point is after a 1-letter word.
3403
34042013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3405
3406 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3407 Don't infloop when expanding region over `multiline' syntax-type that
3408 begins a line (bug#15778).
3409
4aca7145
SM
34102013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3411
3412 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3413 Make it into a proper minor mode.
3414 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3415 (rectangle-mark-mode-map): New keymap.
3416 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3417
a0833f62
GM
34182013-11-04 Glenn Morris <rgm@gnu.org>
3419
3420 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3421
e61845c1
SM
34222013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3423
3424 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3425 (ruby-smie-rules): Use smie-rule-parent instead.
3426
3427 * emacs-lisp/smie.el (smie-rule-parent): Always call
3428 smie-indent-virtual rather than only for hanging tokens.
3429 (smie--next-indent-change): New helper command.
3430
62942f89
GM
34312013-11-03 Glenn Morris <rgm@gnu.org>
3432
3433 * Makefile.in (abs_srcdir): Remove.
3434 (emacs): Unset EMACSLOADPATH.
3435
b0b9e592
GM
34362013-11-02 Glenn Morris <rgm@gnu.org>
3437
18ba6a33 3438 * Makefile.in (EMACS): Use a relative filename.
8061810d 3439 (abs_top_builddir): Remove.
18ba6a33
GM
3440 (custom-deps, finder-data, autoloads): Use --chdir.
3441
6a8b929e
GM
3442 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3443
c617f3d0
GM
3444 Use relative filenames in TAGS files.
3445 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3446 (lisptagsfiles4, TAGS): Use relative file names.
3447 (TAGS-LISP): Remove.
3448 (maintainer-clean): No more TAGS-LISP file.
3449
b0b9e592
GM
3450 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3451 (lisptagsfiles4): Use absolute filenames again.
3452 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3453 Remove all *loaddefs files, not just the first. Remove esh-groups.
3454 (maintainer-clean): Delete TAGS, TAGS-LISP.
3455
d1c0ea6a
BB
34562013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3457
e61845c1
SM
3458 * emacs-lisp/package.el (package-version-join):
3459 Recognize snapshot versions.
d1c0ea6a 3460
684d71c6
BB
34612013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3462
3463 * subr.el (version-regexp-alist): Add support for snapshot versions.
3464
3d42b968
DG
34652013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3466
e61845c1
SM
3467 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3468 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3469 skip over our direct parent if it's an assignment token..
3470 (ruby-smie-rules): Use it.
3471
7ffd3721
DG
34722013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3473
8449dd1f 3474 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3475 unconditionally. Remove now unnecessary forward declarations.
3476 Remove XEmacs-specific setup.
3477 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3478 (ruby-font-lock-syntactic-keywords)
3479 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3480 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3481 (ruby-here-doc-end-syntax): Remove.
3482 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3483 defined as function.
3484
a3996a2e
BB
34852013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3486
3487 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3488
6f9260e8
BB
34892013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3490
3491 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3492 table and abbrev table, `define-derived-mode' does that for us
3493 anyway.
3494
6014de84
GM
34952013-11-01 Glenn Morris <rgm@gnu.org>
3496
3497 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3498 files is atomic for some time, so no parallel compilation issues).
3499
3c334c14
JD
35002013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3501
3502 * faces.el (face-x-resources): Add :distant-foreground.
3503 (region): Use :distant-foreground for gtk and ns.
3504
9bc236c8
TH
35052013-11-01 Tassilo Horn <tsdh@gnu.org>
3506
5246583b 3507 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3508 BibTeX.
3509 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3510 (reftex-locate-bibliography-files): Us it.
3511
d14c81ee
CB
35122013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3513
0e7690de
CB
3514 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3515 allow comments in pbm files.
3516
d14c81ee
CB
3517 * term/w32-win.el (dynamic-library-alist): Support newer versions
3518 of libjpeg starting with v7: look only for the DLL from the
3519 version against which Emacs was built.
ac1bf374 3520 Support versions of libpng beyond 1.4.x.
019c8218 3521 Support libtiff v4.x.
d14c81ee 3522
983d0df5
BB
35232013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3524
3525 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3526 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3527 Add property :safe.
3528 (ruby-deep-arglist): Add property :type.
3529
47f58d85
GM
35302013-10-31 Glenn Morris <rgm@gnu.org>
3531
3532 * Makefile.in (custom-deps, finder-data): No need to setq the target
3533 variables, we are in the right directory and the defaults work fine.
3534
4f85b479
GM
35352013-10-30 Glenn Morris <rgm@gnu.org>
3536
ca7dd4cd
GM
3537 * Makefile.in (autoloads): Do not use abs_lisp.
3538
4f85b479
GM
3539 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3540 `newline' does not respect `standard-output', so use `princ'.
3541
cf59e41c
AA
35422013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3543
3544 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3545 * buff-menu.el (Buffer-menu--unmark): New function.
3546 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3547
74cf04fb
GM
35482013-10-30 Glenn Morris <rgm@gnu.org>
3549
b040b60e
GM
3550 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3551
f53d3815
GM
3552 * emacs-lisp/package.el (lm-homepage): Declare.
3553
5413d873
GM
3554 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3555 Fix doc typos.
3556
cecedb36
GM
3557 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3558
74cf04fb
GM
3559 * Makefile.in (finder-data, autoloads, update-subdirs)
3560 (compile-main, compile-clean, compile-always, bootstrap-clean):
3561 Check return value of cd.
3562 (compile-calc): Remove.
3563
195ee2f0
SM
35642013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3565
ae4002ce
SM
3566 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3567
3568 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3569 (byte-compile-and-folded): New function.
3570 (=, <, >, <=, >=): Use it.
3571
3572 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3573 (path-separator, null-device, buffer-file-coding-system)
3574 (lpr-headers-switches): Check system-type before modifying them.
3575 (find-buffer-file-type-coding-system): Mark obsolete.
3576 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3577 find-file-not-found-set-buffer-file-coding-system.
3578 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3579 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3580 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3581 (w32-direct-print-region-helper, w32-direct-print-region-function)
3582 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3583 * startup.el (normal-top-level-add-subdirs-to-load-path):
3584 * ps-print.el (ps-print-region-function):
3585 * lpr.el (print-region-function): Use new name.
3586
53b39e89
SM
3587 * subr.el (custom-declare-variable-early): Remove function.
3588 (custom-declare-variable-list): Remove var.
3589 (error, user-error): Remove `while' loop.
3590 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3591 (user-emacs-directory-warning, locate-user-emacs-file):
3592 Move to files.el.
3593 * simple.el (read-quoted-char-radix, read-quoted-char):
3594 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3595 Move from subr.el.
3596 * custom.el (custom-declare-variable-list): Don't process
3597 custom-declare-variable-list.
3598
195ee2f0
SM
3599 * progmodes/python.el (python-shell-get-buffer): New function.
3600 (python-shell-get-process): Use it.
3601 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3602 Python which encoding was used. Don't split-string since we only care
3603 about the first line. Return the temp-file, if applicable.
3604 (python-shell-send-region): Tell compile.el how to turn locations in
3605 the temp-file into locations in the source buffer.
3606
7e3561ee
SM
36072013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3608
4c9797cb
SM
3609 * subr.el (undefined): Add missing behavior from the C code for
3610 unbound keys.
3611
3472b6c6
SM
3612 * rect.el: Use lexical-binding. Add new rectangular region support.
3613 (rectangle-mark): New command.
3614 (rectangle--region): New var.
3615 (deactivate-mark-hook): Reset rectangle--region.
3616 (rectangle--extract-region, rectangle--insert-for-yank)
3617 (rectangle--highlight-for-redisplay)
3618 (rectangle--unhighlight-for-redisplay): New functions.
3619 (region-extract-function, redisplay-unhighlight-region-function)
3620 (redisplay-highlight-region-function): Use them to handle
3621 rectangular region.
3622 * simple.el (region-extract-function): New var.
3623 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3624 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3625 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3626 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3627 (redisplay-unhighlight-region-function)
3628 (redisplay-highlight-region-function): New vars.
3629 (redisplay--update-region-highlight): New function.
3630 (pre-redisplay-function): Use it.
3631 (exchange-point-and-mark): Don't deactivate the mark before
3632 reactivate-it anyway.
3633 * comint.el (comint-kill-region): Remove yank-handler argument.
3634 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3635 (delete-char): Remove property, since it's now part of their
3636 default behavior.
3637 (self-insert-iso): Remove property since this command doesn't exist.
3638
7e3561ee
SM
3639 * emacs-lisp/package.el (package--download-one-archive)
3640 (describe-package-1): Don't query the user about final newline.
3641
b9bef71f
DC
36422013-10-29 Daniel Colascione <dancol@dancol.org>
3643
3644 * net/tramp.el (tramp-methods): Document new functionality.
3645 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3646 tramp-hostname-checker if method provides one instead of scanning
3647 argument list for "%h" to decide hostname acceptability.
3648
4efc33f0
MA
36492013-10-28 Michael Albinus <michael.albinus@gmx.de>
3650
3651 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3652 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3653 Handle COPY-CONTENTS. (Bug#15737)
3654
ed42a877
DU
36552013-10-28 Daiki Ueno <ueno@gnu.org>
3656
3657 * epa-file.el
7e3561ee
SM
3658 (epa-file-cache-passphrase-for-symmetric-encryption):
3659 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3660
18c9f8a2
XF
36612013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3662
7a4bc7be
XF
3663 * image.el (defimage):
3664 (image-load-path): Doc fixes.
18c9f8a2 3665
b1e8e010
AM
36662013-10-27 Alan Mackenzie <acm@muc.de>
3667
3668 Indent statements in macros following "##" correctly.
7e3561ee
SM
3669 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3670 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3671
73d40d1e 36722013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3673
3674 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3675
c8c605ac
DG
36762013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3677
3678 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3679 after `=' is probably a new expression.
3680
ca7e59d4
RS
36812013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3682
3683 * man.el (man-imenu-title): New option.
3684 (Man-mode-map): Add menu. (Bug#15722)
3685 (Man-mode): Add imenu to menu.
3686
bae91342
DG
36872013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3688
3689 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3690 specific in what the first arg can be: a non-keyword word,
3691 string/regexp/percent literal opener, opening paren, or unary
3692 operator followed directly by word.
3693
eb89dc14
SM
36942013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3695
3696 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3697 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3698 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3699 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3700 Remove vars, they do not apply any more.
3701 (prolog-mode-abbrev-table): Remove redundant declaration.
3702 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3703 (prolog-use-smie): Remove.
3704 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3705 supported by prolog-electric-if-then-else-flag.
3706 (prolog-mode-variables, prolog-menu): Use setq-local.
3707 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3708 Remove binding to `Backspace' since this key doesn't exist anyway.
3709 Remove bindings for electric self-inserting keys.
3710 (prog-mode): Assume it's defined.
3711 (prolog-post-self-insert): New function.
3712 (prolog-mode): Use it.
3713 (prolog-indent-line, prolog-indent-level)
3714 (prolog-find-indent-of-matching-paren)
3715 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3716 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3717 (prolog-goto-next-paren, prolog-in-string-or-comment)
3718 (prolog-tokenize, prolog-inside-mline-comment)
3719 (prolog-find-start-of-mline-comment): Remove functions.
3720 (prolog-find-unmatched-paren, prolog-clause-end)
3721 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3722 (prolog-electric--if-then-else): Rename from
3723 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3724 (prolog-tokenize-searchkey): Remove const.
3725 (prolog-clause-info): Use forward-sexp.
3726 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3727 (prolog-electric-if-then-else): Remove commands.
3728 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3729 for use in post-self-insert-hook.
3730 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3731 for use in post-self-insert-hook.
3732 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3733 for use in post-self-insert-hook.
3734 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3735 adapt it for use in post-self-insert-hook.
3736
3dab0a83
MA
37372013-10-25 Michael Albinus <michael.albinus@gmx.de>
3738
3739 * emacs-lisp/ert.el (ert-run-tests-interactively):
3740 Use `completing-read'. (Bug#9756)
3741
fbfd0e1d
EZ
37422013-10-25 Eli Zaretskii <eliz@gnu.org>
3743
3744 * simple.el (line-move): Call line-move-1 instead of
3745 line-move-visual when the current window hscroll is zero, but
3746 temporary-goal-column indicates we will need to hscroll as result
3747 of the movement. (Bug#15712)
3748
963ce636
DG
37492013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3750
3751 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3752 capitalization. Use :visible instead of :active.
3753 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3754 commands that are used with SMIE.
3755 (ruby-do-end-to-brace): Insert space after `{'.
3756
a0be396a
JA
37572013-10-25 John Anthony <john@jo.hnanthony.com>
3758
f73754c9
JA
3759 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3760
3761 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3762
f5bf77df
GM
37632013-10-25 Glenn Morris <rgm@gnu.org>
3764
3765 * vc/vc.el (vc-print-log): Don't use a working revision unless
3766 one was explicitly specified. (Bug#15322)
3767
37241f62
SM
37682013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3769
3770 * subr.el (add-to-list): Preserve return value in compiler-macro
3771 (bug#15692).
3772
6408a65d
RS
37732013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3774
3775 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3776 result. Ask user to retry using '-all' flag. (Bug#15701)
3777
71e3276b
SM
37782013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3779
3780 * emacs-lisp/smie.el: New smie-config system.
3781 (smie-config): New defcustom.
3782 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3783 (smie-config-guess, smie-config-save): New commands.
3784 (smie-config--mode-local, smie-config--buffer-local)
3785 (smie-config--trace, smie-config--modefuns): New vars.
3786 (smie-config--advice, smie-config--mode-hook)
3787 (smie-config--setter, smie-config-local, smie-config--get-trace)
3788 (smie-config--guess-value, smie-config--guess): New functions.
3789 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3790 text properties. Treat "string fence" syntax like string syntax.
3791
3792 * progmodes/sh-script.el (sh-use-smie): Change default.
3793 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3794 (sh-var-value): Simplify by CSE.
3795 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3796 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3797 is used.
3798 (sh-guess-basic-offset): Use cl-incf.
3799 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3800
60db713e
HE
38012013-10-24 Helmut Eller <eller.helmut@gmail.com>
3802
3803 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3804 (bug#15699).
3805
8b251df6
GM
38062013-10-24 Glenn Morris <rgm@gnu.org>
3807
3808 * Makefile.in (abs_top_srcdir): Remove.
3809 (update-subdirs): Use relative path to update-subdirs.
3810
6be0e22b
EZ
38112013-10-24 Eli Zaretskii <eliz@gnu.org>
3812
3813 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3814 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3815 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3816 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3817
50b5b857
MA
38182013-10-24 Michael Albinus <michael.albinus@gmx.de>
3819
3820 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3821 (ert-test-skipped): New error.
3822 (ert-skip, ert-stats-skipped): New defuns.
3823 (ert--skip-unless): New macro.
3824 (ert-test-skipped): New struct.
3825 (ert--run-test-debugger, ert-test-result-type-p)
3826 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3827 (ert--stats-set-test-and-result, ert-char-for-test-result)
3828 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3829 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3830 Handle skipped tests. (Bug#9803)
50b5b857 3831
6f317c2f
GM
38322013-10-24 Glenn Morris <rgm@gnu.org>
3833
e43817c1
GM
3834 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3835
6f317c2f
GM
3836 * Makefile.in (abs_top_srcdir): New, set by configure.
3837 (update-subdirs): Correct build-aux location.
3838
369bbf71
DG
38392013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3840
8297b2cf
DG
3841 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3842 value, whether we could auto-deduce `backend', or not.
3843
369bbf71
DG
3844 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3845 with parameters" example. Simplify the "is it block or is it
3846 hash" check, but also make it more thorough.
3847
d5f1282f
MF
38482013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3849
3850 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3851
bc4aaa31
SM
38522013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3853
03d44565
SM
3854 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3855 { if it is hanging.
3856
bc4aaa31
SM
3857 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3858 :before ";".
3859
f493ff19
JB
38602013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3861
3862 * progmodes/compile.el (compilation-directory-matcher)
3863 (compilation-page-delimiter):
3864 Support GNU Make-4.0 directory quoting. (Bug#15678)
3865
c744a3b9
LL
38662013-10-23 Leo Liu <sdl.web@gmail.com>
3867
3868 * ido.el (ido-tidy): Handle read-only text.
3869
b8e3b0a9
GM
38702013-10-23 Glenn Morris <rgm@gnu.org>
3871
3872 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3873 (emacs, compile, compile-always):
3874 Quote entities that might contain whitespace.
3875 (custom-deps, finder-data, autoloads): Use abs_lisp.
3876 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3877 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3878 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3879
ee4282cd
DG
38802013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3881
bc4aaa31
SM
3882 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3883 Use `following-char'.
7790a270 3884
ee4282cd 38852013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3886
3887 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3888 * progmodes/ruby-mode.el (ruby-smie-rules):
3889 Remove corresponding workaround. Fix indentation rule of ";" so it
3890 also applies when ";" is the parent.
3891
d40a46d7
XF
38922013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3893
3894 * frame.el (display-screens, display-pixel-height)
3895 (display-pixel-width, display-mm-width, display-backing-store)
3896 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3897 (display-visual-class, display-monitor-attributes-list):
3898 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3899
a0f143c9
MG
39002013-10-22 Michael Gauland <mikelygee@amuri.net>
3901
3902 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3903 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3904
18cacc39
DG
39052013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3906
3907 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3908 TODO. Add "." after " @ ".
3909 (ruby-smie--at-dot-call): New function. Checks if point at method
3910 call with explicit target.
3911 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3912 to the method name tokens when it precedes them.
3913 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3914 (ruby-smie-rules): Add rule for indentation before and after "."
3915 token.
3916
df74c4be
SM
39172013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3918
c6dab55f
SM
3919 * textmodes/remember.el (remember-diary-extract-entries):
3920 Avoid add-to-list.
3921
df74c4be
SM
3922 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3923 an instruction.
3924
8c1ae481
DG
39252013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3926
e9dc713d
JB
3927 * progmodes/ruby-mode.el (ruby-smie-grammar):
3928 Add (almost) all infix operators.
cfef16c0
DG
3929 (ruby-smie--implicit-semi-p): Add new operator chars.
3930
8c1ae481
DG
3931 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3932 `smie-down-list'.
3933 (ruby-smie--args-separator-p): Check that there's no newline
3934 between method call and its arguments.
3935
87756ca9
AM
39362013-10-20 Alan Mackenzie <acm@muc.de>
3937
3938 Allow comma separated lists after Java "implements".
3939
df74c4be
SM
3940 * progmodes/cc-engine.el (c-backward-over-enum-header):
3941 Parse commas.
87756ca9
AM
3942 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3943 from a "disallowed" list in enum fontification.
3944
c25f8957
JB
39452013-10-20 Johan Bockgård <bojohan@gnu.org>
3946
df74c4be 3947 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3948
c25f8957
JB
3949 * progmodes/verilog-mode.el (verilog-mode): Don't set
3950 comment-indent-function globally.
3951
aca5fcdc
JD
39522013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3953
5f161884
JD
3954 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3955 Move Info menu item creation to ns-win.el.
3956
3957 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3958 in menu bar.
3959
a6c4680a 3960 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
3961
3962 * term/ns-win.el (ns-initialize-window-system): ... to here.
3963
914b7f98
SM
39642013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3965
3966 * simple.el (newline): Only run post-self-insert-hook when
3967 called interactively.
3968
846ffe77
JB
39692013-10-19 Johan Bockgård <bojohan@gnu.org>
3970
3971 * icomplete.el (icomplete-with-completion-tables): Add :version.
3972
033f22dd
AM
39732013-10-19 Alan Mackenzie <acm@muc.de>
3974
3975 Fix fontification bugs with constructors and const.
3976
3977 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3978 CASE 2) Remove the check for the absence of a suffix construct
3979 after a function declaration with only types (no identifiers) in
3980 the parentheses. Also, accept a function declaration with just a
3981 type inside the parentheses, if this type can be positively
3982 recognised as such, or if a prefix keyword like "explicit" nails
3983 down the construct as a declaration.
3984
58ce0cfc
EZ
39852013-10-19 Eli Zaretskii <eliz@gnu.org>
3986
3987 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3988 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3989 the problem whereby selecting a menu item that leads to a
3990 minibuffer prompt moves the cursor out of the minibuffer window,
3991 making it hard to type at the prompt. Suggested by Stefan Monnier
3992 <monnier@iro.umontreal.ca>.
3993
50e28e7d
JD
39942013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3995
3996 * menu-bar.el: Don't make Services menu.
3997
7deed4bf
RS
39982013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3999
4000 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4001 (ffap-alist): Use ffap-c++-mode for c++-mode.
4002 (ffap-c++-path): New variable.
4003 (ffap-c++-mode): New function.
4004
7bcb455b
JVJ
40052013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4006
4007 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4008
f0ff1cd5
MA
40092013-10-18 Michael Albinus <michael.albinus@gmx.de>
4010
4011 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4012 introduced on 2013-09-08, which results in an infinite loop
4013 requesting a password.
4014
d64da4b7
GM
40152013-10-18 Glenn Morris <rgm@gnu.org>
4016
4017 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4018
ea89ff08
WS
40192013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4020
4021 Sync with upstream verilog-mode revision 1a6ecec7.
4022 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4023 (verilog-mode-release-date): Remove.
4024 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4025 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4026 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4027 (verilog-auto-tieoff-ignore-regexp)
4028 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4029 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4030 (verilog-signals-with, verilog-dir-cache-preserving)
4031 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4032 Doc fixes.
4033 (verilog-case-fold): New option, to control case folding in
4034 regexp searches, bug597.
4035 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4036 (verilog-string-match-fold, verilog-in-paren-count)
4037 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4038 (verilog-at-close-struct-p): New functions.
4039 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4040 (verilog-forward-sexp, verilog-set-auto-endcomments):
4041 (verilog-leap-to-case-head): Handle "unique0" case.
4042 (verilog-in-constraint-re): New constant.
4043 (verilog-keywords, verilog-type-font-keywords):
4044 Add some SystemVerilog 1800-2012 keywords.
4045 (verilog-label-be): Remove unimplemented argument, bug669.
4046 (verilog-batch-execute-func): When batch expanding clear
4047 create-lockfiles to prevent spurious user locks when a file ends
4048 up not changing.
4049 (verilog-calculate-indent, verilog-calc-1)
4050 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4051 (verilog-do-indent): Fix indentation of nested constraints
4052 and structures.
4053 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4054 (verilog-auto-inst-param): Use verilog-string-match-fold.
4055 (verilog-read-inst-module-matcher):
4056 Fix AUTOINST on gate primitives with #1.
4057 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4058 Reads all user-defined typed variables.
4059 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4060 (verilog-signals-matching-regexp)
4061 (verilog-signals-not-matching-regexp, verilog-auto):
4062 Respect verilog-case-fold.
4063 (verilog-diff-report): Fix line count.
4064 (verilog-auto-assign-modport): Remove unused local `modi'.
4065 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4066 better handle multidimensional arrays.
4067 Fix packed array ports misadding bit index in AUTOINST, bug637.
4068 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4069 to not double-declare existing outputs and inputs, respectively.
4070 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4071 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4072 (verilog-sk-uvm-component): New skeleton.
4073 (verilog-submit-bug-report): Add verilog-case-fold,
4074 remove verilog-mode-release-date.
4075
ef566920
BR
40762013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4077
a12bf61e 4078 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4079 as before.
4080
29df8a0b
RT
40812013-10-18 Reuben Thomas <rrt@sc3d.org>
4082
e0eb0550 4083 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4084 remember buffers (bug#13566).
4085
04a19a79
DC
40862013-10-18 Daniel Colascione <dancol@dancol.org>
4087
4088 When evaluating forms in ielm, direct standard output to ielm
4089 buffer. Add new ielm-return-for-effect command. Remove trailing
4090 whitespace throughout.
4091
4092 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4093 (ielm-return-for-effect): New command.
4094 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4095 (ielm-eval-input): Accept optional `for-effect' parameter.
4096 Bind `standard-output' to stream we create using
04a19a79
DC
4097 `ielm-standard-output-impl'. Suppress printing result when
4098 `for-effect'.
4099 (ielm-standard-output-impl): New function.
4100 (inferior-emacs-lisp-mode): Explain new features in documentation.
4101
4c1f03ef
MA
41022013-10-17 Michael Albinus <michael.albinus@gmx.de>
4103
4104 Code cleanup.
4105
4106 * net/tramp.el (tramp-debug-message): Do not check for connection
4107 buffer.
4108 (tramp-message): Use "vector" connection property.
4109
4110 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4111 (tramp-equal-remote, tramp-eshell-directory-change)
4112 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4113 (tramp-adb-handle-rename-file)
4114 * net/tramp-cmds.el (tramp-list-remote-buffers)
4115 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4116 * net/tramp-compat.el (tramp-compat-process-running-p)
4117 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4118 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4119 (tramp-gvfs-handle-rename-file)
4120 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4121 (tramp-set-file-uid-gid)
4122 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4123 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4124 of `file-remote-p'.
4125
4126 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4127 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4128 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4129 (tramp-gw-open-network-stream): Suppress unrelated traces.
4130
4131 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4132 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4133 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4134 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4135 connection property.
4136
4137 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4138 persistency file.
4c1f03ef
MA
4139
4140 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4141 Refactor common code. Improve debug message.
4142 (tramp-maybe-open-connection)
4143 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4144 connection buffer too early.
4145
4146 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4147 from `tramp-smb-actions-with-acl'.
4148 (tramp-smb-actions-set-acl): New defconst.
4149 (tramp-smb-handle-copy-directory)
4150 (tramp-smb-action-get-acl): New defun, renamed from
4151 `tramp-smb-action-with-acl'.
4152 (tramp-smb-action-set-acl): New defun.
4153 (tramp-smb-handle-set-file-acl): Rewrite.
4154
642eb8b6
GM
41552013-10-17 Glenn Morris <rgm@gnu.org>
4156
4157 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4158
85527ff3
SM
41592013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4160
921c1d62
SM
4161 * skeleton.el (skeleton-newline): Remove.
4162 (skeleton-internal-1): Use (insert "\n") instead.
4163
e333fb10
SM
4164 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4165 let-bindings.
4166
85527ff3
SM
4167 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4168 forward-sexp-function while we redo its job (bug#15613).
4169
c8722a97
JB
41702013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4171
4172 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4173 represented by lists.
4174
7a550bbb
GM
41752013-10-16 Glenn Morris <rgm@gnu.org>
4176
4177 * tmm.el (tmm--history): New dynamic variable.
4178 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4179
f19da8ad
MA
41802013-10-16 Michael Albinus <michael.albinus@gmx.de>
4181
4182 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4183 (tramp-smb-errors): Add error messages.
4184 (tramp-smb-actions-with-acl): New defconst.
4185 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4186 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4187 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4188 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4189 (tramp-smb-get-stat-capability): Fix tests.
4190
a24b9961
DK
41912013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4192
4193 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4194 (bug#15580).
4195
62ad85e6
GM
41962013-10-16 Glenn Morris <rgm@gnu.org>
4197
0283d6b0
GM
4198 * ansi-color.el (ansi-color-drop-regexp):
4199 Add 1J, 1K, 2K. (Bug#15617)
4200
012e2f9f
GM
4201 * files.el (hack-local-variables--warned-lexical): New.
4202 (hack-local-variables):
4203 Warn about misplaced lexical-binding. (Bug#15616)
4204
62ad85e6
GM
4205 * net/eww.el (eww-render): Always set eww-current-url,
4206 and update header line. (Bug#15622)
4207 (eww-display-html): ... Rather than just doing it here.
4208
6456c0ea
EZ
42092013-10-15 Eli Zaretskii <eliz@gnu.org>
4210
4211 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4212 menu navigations commands.
4213
c2de5588
DK
42142013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4215
4216 * progmodes/subword.el (subword-capitalize): Be careful when
4217 the search for [[:alpha:]] fails (bug#15580).
4218
ccd4a783
EZ
42192013-10-14 Eli Zaretskii <eliz@gnu.org>
4220
4221 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4222 to commands that scroll the menu.
4223
1eda1d8d
DG
42242013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4225
c2de5588
DK
4226 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4227 Handle methods ending with `?' and `!'.
1eda1d8d 4228
e70181b8
AM
42292013-10-14 Akinori MUSHA <knu@iDaemons.org>
4230
4231 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4232 `japanese-cp932' to `cp932' to fix the problem where saving a
4233 source file written in Shift_JIS twice would end up having
4234 `coding: japanese-cp932' which Ruby could not recognize.
4235 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4236 in `ruby-encoding-map'.
4237 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4238 doesn't need to be explicitly declared in magic comment.
4239 (ruby-encoding-map): Add type declaration for better customize UI.
4240
9148ee92
GM
42412013-10-13 Glenn Morris <rgm@gnu.org>
4242
a5d38e34
GM
4243 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4244 Occur buffers are read-only. http://bugs.debian.org/720775
4245
9148ee92
GM
4246 * emacs-lisp/authors.el (authors-fixed-entries):
4247 Comment out old alpha stuff.
4248
a9ba094b
DG
42492013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4250
4251 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4252 to `after-save-hook' instead of `before-save-hook'.
4253 (ruby-mode-set-encoding): Use the value of coding system used to
4254 write the file. Call `basic-save-buffer-1' after modifying the
4255 buffer.
4256
7a068717
AM
42572013-10-13 Alan Mackenzie <acm@muc.de>
4258
4259 Fix indentation/fontification of Java enum with
4260 "implements"/generic.
4261
c2de5588
DK
4262 * progmodes/cc-engine.el (c-backward-over-enum-header):
4263 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4264 (c-inside-bracelist-p): Uses new function above.
4265 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4266 function above.
4267 (c-font-lock-enum-tail): Uses new function above.
4268
85b64f02
KH
42692013-10-13 Kenichi Handa <handa@gnu.org>
4270
4271 * international/mule-cmds.el (select-safe-coding-system): Remove a
4272 superfluous condition in chekcing whether a coding system is safe
4273 or not.
4274
fc7f501b
OK
42752013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4276
4277 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4278
fdcb2049
AP
42792013-10-13 Andreas Politz <politza@hochschule-trier.de>
4280
4281 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4282
8c106d17
GM
42832013-10-13 Glenn Morris <rgm@gnu.org>
4284
feab892d
GM
4285 * menu-bar.el (menu-bar-update-buffers):
4286 Unify Buffers menu prompt string. (Bug#15576)
4287
b22d0686
GM
4288 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4289
8c106d17
GM
4290 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4291 Add some entries.
4292 (authors-fixed-entries): Use accented form of name.
4293
1b12c797
SM
42942013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4295
650fa7bf 4296 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4297 method calls (bug#15594).
650fa7bf
SM
4298 (ruby-smie--args-separator-p): New function.
4299 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4300 recognize paren-free method calls.
4301
1b12c797
SM
4302 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4303 internals of universal-argument.
4304
029619c8
EZ
43052013-10-11 Eli Zaretskii <eliz@gnu.org>
4306
4307 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4308 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4309 dropped menu on second mouse click on the menu bar.
029619c8 4310
dd070019
SM
43112013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4314 (explicit-shell-file-name): Declare.
4315 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4316 (sh-completion-at-point-function): New function.
4317 (sh-mode): Use it.
4318 (sh-smie--keyword-p): Remove unused argument.
4319 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4320 vars.
4321 (sh-set-shell): Always setup SMIE, even if we use the
4322 old indentation code.
4323
0922b826
DG
43242013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4325
b68e2926
DG
4326 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4327 cases of ? and =.
4328 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4329 predicate would return nil are almost non-existent.
4330 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4331
0922b826
DG
4332 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4333 cache also after commands that modify the buffer but don't move
4334 point.
4335
ee041f2d
SM
43362013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4337
4338 * env.el (substitute-env-in-file-name): New function.
4339 (substitute-env-vars): Extend the meaning of the optional arg.
4340
a5dab159
EZ
43412013-10-10 Eli Zaretskii <eliz@gnu.org>
4342
4343 * term/w32-win.el (dynamic-library-alist): Define separate lists
4344 of GIF DLLs for versions before and after 5.0.0 of giflib.
4345 (Bug#15531)
4346
0449d6cd 43472013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4348
4349 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4350 not locked, use last revision and current source as
4351 defaults. (Bug#15569)
4352
2f6e161e
MY
43532013-10-10 Masatake YAMATO <yamato@redhat.com>
4354
4355 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4356 menu-bar is hidden.
4357
6c8413fc
MR
43582013-10-10 Martin Rudalics <rudalics@gmx.at>
4359
4360 * window.el (pop-to-buffer-same-window): Fix doc-string.
4361 (Bug#15492)
4362
20832de0
SM
43632013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4366
c6e8ae77
AC
43672013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4368
4369 * calendar/icalendar.el (icalendar-import-file):
4370 Fix interactive spec. (Bug#15482)
4371
9db13baf
GM
43722013-10-10 Glenn Morris <rgm@gnu.org>
4373
9271e90e
GM
4374 * desktop.el (desktop-save): Default to saving in .emacs.d,
4375 since PWD is no longer in desktop-path by default. (Bug#15319)
4376
9db13baf
GM
4377 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4378 now that text mode has a menu with the same entry.
4379 (menu-bar-text-mode-auto-fill): Remove now unused func.
4380 * textmodes/text-mode.el (text-mode-map):
4381 Use auto-fill help text from menu-bar.el.
4382
a0be396a 43832013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4384
4385 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4386
2edcd3c7
JL
43872013-10-09 Juri Linkov <juri@jurta.org>
4388
4389 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4390 instead of this-command-keys. Add universal-argument-more and
4391 universal-argument-minus to the list of prefix commands. (Bug#15568)
4392
574411d0
GM
43932013-10-09 Glenn Morris <rgm@gnu.org>
4394
14afa541
GM
4395 * vc/vc-svn.el (vc-svn-create-repo):
4396 Expand paths in file://... url. (Bug#15446)
4397
574411d0
GM
4398 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4399 Add some entries.
4400 (authors): Remove unused local variables.
4401
79804536
SM
44022013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4403
4404 * profiler.el: Create a more coherent calltree from partial backtraces.
4405 (profiler-format): Hide the tail with `invisible' so that C-s can still
4406 find the hidden elements.
4407 (profiler-calltree-depth): Don't recurse so enthusiastically.
4408 (profiler-function-equal): New hash-table-test.
4409 (profiler-calltree-build-unified): New function.
4410 (profiler-calltree-build): Use it.
4411 (profiler-report-make-name-part): Indent the calltree less.
4412 (profiler-report-mode): Add visibility specs for profiler-format.
4413 (profiler-report-expand-entry, profiler-report-toggle-entry):
4414 Expand the whole subtree when provided with a prefix arg.
4415
238150c8
DG
44162013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4417
4418 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4419 iuwu-mod token.
4420 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4421 hanging iuwu-mod token.
4422 (ruby-smie--forward-token): Do not include a dot after a token in
4423 that token.
4424 (ruby-smie--backward-token): Likewise.
4425
b0949cc4
JL
44262013-10-08 Juri Linkov <juri@jurta.org>
4427
4428 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4429 to isearch-other-control-char.
4430 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4431 and isearch-post-command-hook to post-command-hook.
4432 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4433 and isearch-post-command-hook from post-command-hook.
4434 (isearch-unread-key-sequence)
4435 (isearch-reread-key-sequence-naturally)
4436 (isearch-lookup-scroll-key, isearch-other-control-char)
4437 (isearch-other-meta-char): Remove functions.
4438 (isearch-pre-command-hook, isearch-post-command-hook):
4439 New functions based on isearch-other-meta-char rewritten
4440 relying on the new behavior of overriding-terminal-local-map
4441 that does not replace the local keymaps any more. (Bug#15200)
4442
4ed77415
EZ
44432013-10-08 Eli Zaretskii <eliz@gnu.org>
4444
4445 Support menus on text-mode terminals.
4446 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4447 functionality.
4448
4449 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4450
c2de5588
DK
4451 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4452 Move here from mouse.el.
4ed77415
EZ
4453 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4454 and arrow keys.
4455 (tty-menu-navigation-map): New map for TTY menu navigation.
4456
4457 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4458
4459 * frame.el (display-mouse-p): Report text-mode mouse as available
4460 on w32.
4461 (display-popup-menus-p): Report availability if mouse is
4462 available; don't condition on window-system.
4463
4464 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4465 (tty-menu-selected-face): New faces.
4466
b7d5bd82
TL
44672013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4468
06286513
SM
4469 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4470 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4471 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4472 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4473 New constants.
4474 (lisp-mode-variables): New `elisp' argument.
4475 (emacs-lisp-mode): Use it.
4476 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4477 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4478
b7d5bd82
TL
4479 * indent.el: Use lexical-binding.
4480 (indent-region): Add progress reporter.
4481 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4482 last step.
4483 (indent--next-tab-stop): New function to implement this behavior.
4484 (tab-to-tab-stop, move-to-tab-stop): Use it.
4485
44862013-10-08 Teemu Likonen <tlikonen@iki.fi>
4487
4488 * indent.el (indent-rigidly--current-indentation): New function.
4489 (indent-rigidly-map): New var.
4490 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4491
5ea75d23
BG
44922013-10-08 Bastien Guerry <bzg@gnu.org>
4493
f2726fa2 4494 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 4495
cc5da1ec
SM
44962013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4497
8ffa1a0b
SM
4498 * progmodes/perl-mode.el: Use lexical-binding.
4499 Remove redundant :group args.
4500 (perl-nochange): Change default to be closer to other major modes's
4501 standard behavior.
4502 (perl-indent-line): Don't consider text on current line as a
4503 valid beginning of function from which to indent.
4504
f2223371
SM
4505 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4506 with more than one argument (bug#15538).
4507
44256060
SM
4508 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4509
cc5da1ec
SM
4510 * vc/pcvs.el: Use lexical-binding.
4511 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4512 environment of `eval'.
4513 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4514 than a list of expressions. Adjust callers.
4515 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4516
0ea1599d
DG
45172013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4518
4519 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4520 case of the dot in a chained method call being on the following line.
0ea1599d 4521
da3e5ebb
SM
45222013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4523
2abb4e65
SM
4524 * electric.el (electric-indent-inhibit): New var.
4525 (electric-indent-post-self-insert-function): Use it.
4526 * progmodes/python.el (python-mode): Set it.
4527
d2e0e795
SM
4528 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4529 open braces.
4530
4531 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4532
bdc6b4c8
SM
4533 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4534 (css-mode): Use electric-indent-chars.
4535
da3e5ebb
SM
4536 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4537 (font-lock-beg, font-lock-end): Move before first use.
4538 (nxml-mode): Use syntax-propertize-function.
4539 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4540 (nxml-extend-after-change-region): Remove.
4541 * nxml/xmltok.el: Use lexical-binding.
4542 (xmltok-save): Use `declare'.
4543 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4544 * nxml/nxml-util.el: Use lexical-binding.
4545 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4546 Use `declare'.
4547 * nxml/nxml-ns.el: Use lexical-binding.
4548 (nxml-ns-save): Use `declare'.
4549 (nxml-ns-prefixes-for): Avoid add-to-list.
4550 * nxml/rng-match.el: Use lexical-binding.
4551 (rng--ipattern): Use cl-defstruct.
4552 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4553 (rng-cons-group-after, rng-subst-group-after)
4554 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4555 Use closures instead of `(lambda...).
4556
f8f91d5d
MA
45572013-10-07 Michael Albinus <michael.albinus@gmx.de>
4558
4559 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4560 of BEG and END.
4561
da3e5ebb
SM
4562 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4563 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4564 (tramp-gvfs-handle-insert-file-contents): Remove function.
4565
da3e5ebb
SM
4566 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4567 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4568
4569 * net/trampver.el: Update release number.
4570
7ccae3b1
SM
45712013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4572
55ca2c0d
SM
4573 * progmodes/compile.el (compilation-parse-errors):
4574 Use compilation--put-prop.
4575 (compilation--ensure-parse): Check compilation-multiline.
4576
731fc3ae
SM
4577 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4578
da3e5ebb
SM
4579 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4580 lexical-binding.
a5833280 4581
2e7ba2c2
SM
4582 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4583
7ccae3b1
SM
4584 * progmodes/ruby-mode.el: Fix recently added tests.
4585 (ruby-smie-grammar): Add - and +.
4586 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4587 (ruby-smie--backward-id): New functions.
4588 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4589 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4590 any more.
4591
85698d63
LL
45922013-10-07 Leo Liu <sdl.web@gmail.com>
4593
4594 * register.el (register-preview-delay)
4595 (register-preview-functions): New variables.
4596 (register-read-with-preview, register-preview)
4597 (register-describe-oneline): New functions.
4598 (point-to-register, window-configuration-to-register)
4599 (frame-configuration-to-register, jump-to-register)
4600 (number-to-register, view-register, insert-register)
4601 (copy-to-register, append-to-register, prepend-to-register)
4602 (copy-rectangle-to-register): Use register-read-with-preview to
4603 read register. (Bug#15525)
4604
3986af6c
DS
46052013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4606
4607 * net/network-stream.el (network-stream-open-starttls): Don't add
4608 --insecure if it's already present, because that gnutls-cli
4609 rejects getting that parameter twice.
4610
5cd9cda9
DG
46112013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4612
4613 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4614 keyword, too.
4615
da9ea6d9
DG
46162013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4617
4618 * newcomment.el (comment-use-global-state): Change default value
4619 to t, mark obsolete (Bug#15251).
4620 (comment-beginning): In addition to `comment-to-syntax', check the
4621 value of `comment-use-global-state'.
4622
34d1a133
SM
46232013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4624
4625 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4626 (ruby-comment-column): Follow the global default, by default.
4627 (ruby-smie-grammar): Add assignment syntax.
4628 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4629 open-paren, a comma, or a \.
4630 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4631 and line continuations.
4632 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4633 followed by implicit semi-colons. Add rule for string concatenation
4634 and for indentation at BOB.
4635 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4636
4637 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4638 calling next-sexp, since next-token may have skipped chars which
4639 next-sexp doesn't know should be skipped!
4640
6f6ab820
LL
46412013-10-05 Leo Liu <sdl.web@gmail.com>
4642
34d1a133
SM
4643 * progmodes/octave.el (octave-send-region):
4644 Call compilation-forget-errors.
6f6ab820 4645
34ca0f4c
XF
46462013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4647
4648 * vc/vc-svn.el (vc-svn-find-admin-dir):
4649 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4650 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4651 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4652 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4653
a27c1b72
SM
46542013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4655
4656 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4657
258ab3bc
SM
46582013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4659
4660 * subr.el (read-passwd): Hide chars even when called within a context
4661 where after-change-functions is disabled (bug#15501).
4662 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4663 until we removed ourself from overriding-terminal-local-map.
4664
939fb29c
LL
46652013-10-04 Leo Liu <sdl.web@gmail.com>
4666
258ab3bc
SM
4667 * progmodes/octave.el (inferior-octave-mode):
4668 Call compilation-forget-errors.
939fb29c 4669
63bd7f35
XF
46702013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4671
4672 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4673
9e6229fa
MA
46742013-10-04 Michael Albinus <michael.albinus@gmx.de>
4675
4676 * net/secrets.el (secrets-create-collection): Add optional
4677 argument ALIAS. Use proper Label keyword. Append ALIAS as
4678 dbus-call-method argument. (Bug#15516)
4679
1dab32a3
LL
46802013-10-04 Leo Liu <sdl.web@gmail.com>
4681
4682 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4683 (inferior-octave-compilation-font-lock-keywords): New variables.
4684 (compilation-error-regexp-alist)
4685 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4686 (inferior-octave-mode): Use compilation-shell-minor-mode.
4687
6cad7ba3
JS
46882013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4689
4690 * minibuffer.el (completion--replace): Be careful that `end' might be
4691 a marker.
4692
acbadd00
DU
46932013-10-03 Daiki Ueno <ueno@gnu.org>
4694
4695 Add support for package signature checking.
4696 * emacs-lisp/package.el (url-http-file-exists-p)
4697 (epg-make-context, epg-context-set-home-directory)
4698 (epg-verify-string, epg-context-result-for)
4699 (epg-signature-status, epg-signature-to-string)
4700 (epg-check-configuration, epg-configuration)
4701 (epg-import-keys-from-file): Declare.
4702 (package-check-signature): New user option.
4703 (package-unsigned-archives): New user option.
4704 (package-desc): Add `signed' field.
4705 (package-load-descriptor): Set `signed' field if .signed file exists.
4706 (package--archive-file-exists-p): New function.
4707 (package--check-signature): New function.
4708 (package-install-from-archive): Check package signature.
4709 (package--download-one-archive): Check archive signature.
4710 (package-delete): Remove .signed file.
4711 (package-import-keyring): New command.
4712 (package-refresh-contents): Import default keyring.
4713 (package-desc-status): Add "unsigned" status.
4714 (describe-package-1, package-menu--print-info)
4715 (package-menu-mark-delete, package-menu--find-upgrades)
4716 (package-menu--status-predicate): Support "unsigned" status.
4717
adf2aa61
SM
47182013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4719
4720 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4721 the new compilation scheme using the new byte-codes.
4722
4723 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4724 (byte-pophandler): New byte codes.
4725 (byte-goto-ops): Adjust accordingly.
4726 (byte-compile--use-old-handlers): New var.
4727 (byte-compile-catch): Use new byte codes depending on
4728 byte-compile--use-old-handlers.
4729 (byte-compile-condition-case--old): Rename from
4730 byte-compile-condition-case.
4731 (byte-compile-condition-case--new): New function.
4732 (byte-compile-condition-case): New function that dispatches depending
4733 on byte-compile--use-old-handlers.
4734 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4735 when we can.
4736
4737 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4738 Optimize under `condition-case' and `catch' if
4739 byte-compile--use-old-handlers is nil.
4740 (disassemble-offset): Handle new bytecodes.
4741
328a8179
SM
47422013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4743
4744 * subr.el (error): Use `declare'.
4745 (decode-char, encode-char): Use advertised-calling-convention instead
4746 of the docstring to discourage use of the `restriction' arg.
4747
15a1e936
DU
47482013-10-03 Daiki Ueno <ueno@gnu.org>
4749
4750 * epg.el (epg-verify-file): Add a comment saying that it does not
4751 notify verification error as a return value nor a signal.
4752 (epg-verify-string): Ditto.
4753
376f862a
KR
47542013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4755
4756 * progmodes/compile.el (compilation-start): Try globbing the arg to
4757 `cd' (bug#15417).
4758
a2f93a5f
MA
47592013-10-02 Michael Albinus <michael.albinus@gmx.de>
4760
4761 Sync with Tramp 2.2.8.
4762
4763 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4764 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4765 * net/trampver.el: Update release number.
4766
0daa0804
JD
47672013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4768
4769 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4770 and default-process-coding-system for darwin only.
4771
abd1ae34
SM
47722013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4773
4774 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4775
be4e325d
MH
47762013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4777
4778 * vc/vc-git.el (vc-git-grep): Disable pager.
4779
e9155c4a
DG
47802013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4781
494e898b
DG
4782 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4783 Use :url instead of :homepage, as per
4784 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4785
e9155c4a
DG
4786 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4787 non-nil, use `syntax-ppss' (Bug#15251).
4788
481a8e0f
RS
47892013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4790
be4e325d
MH
4791 * progmodes/octave.el (inferior-octave-startup-file):
4792 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4793
056453c6
DG
47942013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4795
be4e325d
MH
4796 * emacs-lisp/package.el (package-desc-from-define):
4797 Accept additional arguments as plist, convert them to an alist and store
4798 them in the `extras' slot.
056453c6
DG
4799 (package-generate-description-file): Convert extras alist back to
4800 plist and append to the `define-package' form arguments.
4801 (package--alist-to-plist): New function.
4802 (package--ac-desc): Add `extras' slot.
4803 (package--add-to-archive-contents): Check if the archive-contents
4804 vector is long enough, and if it is, pass its `extras' slot value
4805 to `package-desc-create'.
4806 (package-buffer-info): Call `lm-homepage', pass the returned value
4807 to `package-desc-from-define'.
4808 (describe-package-1): Render the homepage button (Bug#13291).
4809
be4e325d
MH
4810 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4811 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4812
832966e5
JD
48132013-09-29 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 to utf-8-unix (Bug#15402).
4817
6cfe977d
XF
48182013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4819
4820 * subr.el (looking-back): Do not recommend using looking-back.
4821
38de11bd
AM
48222013-09-28 Alan Mackenzie <acm@muc.de>
4823
4824 Fix indentation/fontification of Java enum with "implements".
4825
4826 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4827 regexp which matches "implements", etc., in Java.
4828 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4829 specifier clauses coming after "enum".
4830 * progmodes/cc-fonts.el (c-font-lock-declarations)
4831 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4832 after "enum".
4833
1610938f
JD
48342013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4835
4836 * faces.el (region): Change ns_selection_color to
4837 ns_selection_fg_color, add ns_selection_bg_color.
4838
e090f499
LL
48392013-09-28 Leo Liu <sdl.web@gmail.com>
4840
4d2e94d1
LL
4841 * progmodes/octave.el (inferior-octave-completion-table)
4842 (inferior-octave-completion-at-point): Minor tweaks.
4843
e090f499
LL
4844 * textmodes/ispell.el (ispell-lookup-words): Rename from
4845 lookup-words. (Bug#15460)
4846 (lookup-words): Obsolete.
4847 (ispell-complete-word, ispell-command-loop): All uses changed.
4848
7e138a62
RS
48492013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4850
a12bf61e 4851 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4852 (octave-mode-menu): Add octave-send-buffer.
4853 (octave-send-buffer): New function.
4854
5af5ed08
RS
48552013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4856
a12bf61e 4857 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4858 octave-lookfor.
4859 (octave-mode-menu): Add octave-lookfor.
4860 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4861 octave-lookfor.
4862 (octave-lookfor): New function.
4863
3b7b2692
SM
48642013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * emacs-lisp/cl-macs.el:
4867 (cl--loop-destr-temps): Remove.
4868 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4869 its convention.
4870 (cl--loop-set-iterator-function): New function.
4871 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4872 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4873 Bind `it' with `let' instead of substituting it with `cl-subst'.
4874 (cl--unused-var-p): New function.
4875 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4876 Eliminate some unused variable warnings (bug#15326).
4877
529fb53f
TH
48782013-09-27 Tassilo Horn <tsdh@gnu.org>
4879
4880 * doc-view.el (doc-view-scale-reset): Rename from
4881 `doc-view-reset-zoom-level'.
4882 (doc-view-scale-adjust): New command.
4883 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4884 `doc-view-scale-adjust'.
4885
0550c95a
TH
48862013-09-26 Tassilo Horn <tsdh@gnu.org>
4887
4888 * doc-view.el (doc-view-reset-zoom-level): New command.
4889 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4890 zoom commands (bug#15466).
4891
6950f152
KH
48922013-09-26 Kenichi Handa <handa@gnu.org>
4893
4894 * international/quail.el (quail-help): Make it not a command.
4895
39587580
LL
48962013-09-26 Leo Liu <sdl.web@gmail.com>
4897
4898 * minibuffer.el (completion-all-sorted-completions): Make args
4899 optional as they are.
4900
00578659
DC
49012013-09-25 Daniel Colascione <dancol@dancol.org>
4902
4903 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4904 specs are and that they're not evaluated.
4905
0c173878
SS
49062013-09-24 Sam Steingold <sds@gnu.org>
4907
4908 * midnight.el (clean-buffer-list-kill-regexps)
4909 (clean-buffer-list-kill-buffer-names): Update for the new Man
4910 buffer naming which includes the object name.
4911
84998447
SM
49122013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4913
4914 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4915 (eshell-parse-command, eshell-parse-pipeline): Use it since
4916 eshell-separate-commands requires a dynamic scoped var.
4917 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4918
33215353
LL
49192013-09-23 Leo Liu <sdl.web@gmail.com>
4920
4921 * autoinsert.el (auto-insert-alist): Make the value of
4922 lexical-binding match its file setting.
4923
57b16162
JB
49242013-09-23 Juanma Barranquero <lekktu@gmail.com>
4925
c8af4e67
JB
4926 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4927
57b16162
JB
4928 * autoarg.el (autoarg-kp-digit-argument):
4929 * electric.el (Electric-command-loop):
4930 * kmacro.el (kmacro-step-edit-insert):
4931 Do not set universal-argument-num-events.
4932
7186ba60
LL
49332013-09-22 Leo Liu <sdl.web@gmail.com>
4934
4935 * files.el (interpreter-mode-alist): Add octave.
4936
ece15004
AM
49372013-09-21 Alan Mackenzie <acm@muc.de>
4938
4939 C++: fontify identifier in declaration following "public:" correctly.
4940 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4941 to match "public", etc.
4942 (c-decl-prefix-re): Add ":" into the C++ value.
4943 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4944 bit. Add a check for a ":" preceded by "public", etc.
4945
75d83e22
EZ
49462013-09-21 Eli Zaretskii <eliz@gnu.org>
4947
4948 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4949 recognized by GDB 7.5 and later.
4950
d052d3bd
XF
49512013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4952
4953 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4954
31dca772
R
49552013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4956
4957 * subr.el (internal--call-interactively): New const.
4958 (called-interactively-p): Use it (bug#3984).
4959
98ccf24e
XF
49602013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4961
4962 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4963 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4964 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4965
c39cc7d1
SM
49662013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4967
4968 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4969 (eshell-ls-orig-insert-directory): Remove.
4970 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4971 (eshell-ls-use-in-dired): Use advice-add/remove.
4972 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4973 Add `orig-fun' arg for use in :around advice.
4974 Make it check (redundantly) eshell-ls-use-in-dired.
4975
9a0289a2
GM
49762013-09-19 Glenn Morris <rgm@gnu.org>
4977
a2c501b8
GM
4978 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4979
c440407a
GM
4980 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4981
9a0289a2
GM
4982 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4983
85e05915
MA
49842013-09-19 Michael Albinus <michael.albinus@gmx.de>
4985
4986 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4987 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4988 (tramp-get-remote-python): New defuns.
4989 (tramp-get-remote-uid-with-perl)
4990 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4991 contributed by yary <not.com@gmail.com> (tiny change).
4992 (tramp-get-remote-uid-with-python)
4993 (tramp-get-remote-gid-with-python): New defuns. Python code
4994 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4995 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4996
ce503312
GM
49972013-09-19 Glenn Morris <rgm@gnu.org>
4998
f7544773
GM
4999 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5000
72fd2877
GM
5001 * eshell/em-unix.el (eshell-remove-entries):
5002 Rename argument to avoid name-clash with global `top-level'.
5003
336b5a56
GM
5004 * eshell/esh-proc.el (eshell-kill-process-function):
5005 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5006 (eshell-reset-after-proc): Remove unused arg `proc'.
5007
57a3a53d
GM
5008 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5009 (directory-files-and-attributes): Mark unused arg.
5010
3261d4af
GM
5011 * eshell/em-unix.el (eshell-remove-entries):
5012 Remove unused arg `path'. Update callers.
5013
8e51b5d0
GM
5014 * eshell/em-hist.el (eshell-hist-parse-arguments):
5015 Remove unused arg `silent'. Update callers.
5016
ce503312
GM
5017 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5018 Fix (f)boundp mix-up.
5019
5020 * eshell/em-smart.el (eshell-smart-scroll-window)
5021 (eshell-disable-after-change):
336b5a56 5022 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5023
ee3ce8a7
AM
50242013-09-18 Alan Mackenzie <acm@muc.de>
5025
5026 Fix fontification of type when followed by "const".
5027 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5028 "known" types from fontification.
5029
ec9177ba
GM
50302013-09-18 Glenn Morris <rgm@gnu.org>
5031
7bb3e768
GM
5032 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5033 (chart-face-list): Drop Emacsen without display-color-p.
5034
5148da15
GM
5035 * net/eww.el (libxml-parse-html-region): Declare.
5036 (eww-display-html): Explicit error if no libxml2 support.
5037
2f68e157
GM
5038 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5039
9019d095
GM
5040 * image.el (image-type-from-buffer, image-multi-frame-p):
5041 Remove --without-x warning/error.
67645389 5042
5f30349b 5043 * mouse.el (mouse-yank-primary):
45069b2e 5044 * term.el (term-mouse-paste):
5f30349b
GM
5045 Reorder to silence --without-x compilation.
5046
cd8edbbe
GM
5047 * mpc.el (doc-view-mode): Silence --without-x compilation.
5048
8a78544e
GM
5049 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5050 Silence --without-x compilation.
5051
12679bfd
GM
5052 * progmodes/gud.el (gud-find-file, gud-mode):
5053 Silence --without-x compilation.
5054 (tooltip-mode): Declare.
30810a05 5055
f0047cb9
GM
5056 * wdired.el (dired-backup-overwrite): Remove declaration.
5057 (wdired-mode-map): Add doc string.
5058
e740f9d2
GM
5059 * custom.el (x-get-resource): Declare.
5060
92d77c89
GM
5061 * eshell/em-glob.el (ange-cache):
5062 * eshell/em-unix.el (ange-cache): Declare.
5063
76e69577
GM
5064 * faces.el (x-display-list, x-open-connection, x-get-resource):
5065 Declare.
7e58af4b
GM
5066
5067 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5068 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5069 Declare.
76e69577 5070
4bd4c0af 5071 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5072
ffb82dbd
GM
5073 * net/gnutls.el (gnutls-log-level): Declare.
5074
986ed135
GM
5075 * net/shr.el (image-size, image-animate): Declare.
5076
e740f9d2
GM
5077 * simple.el (font-info): Declare.
5078
d2f3e9f8
GM
5079 * subr.el (x-popup-dialog): Declare.
5080
047a1a4c
GM
5081 * term/common-win.el (x-select-enable-primary)
5082 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5083 Declare.
5084
f4a1d572
GM
5085 * term/ns-win.el (x-handle-args): Declare.
5086
e843de77
GM
5087 * term/x-win.el (x-select-enable-clipboard): Declare.
5088
5fa89513
GM
5089 * term/w32-win.el (create-default-fontset): Declare.
5090
38702b5b
GM
5091 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5092 Declare.
5093
e740f9d2
GM
5094 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5095 (fit-frame-to-buffer): Explicit error if --without-x.
5096 (mouse-autoselect-window-select): Silence compiler.
5097
49a053fc
GM
5098 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5099
5100 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5101 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5102 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5103 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5104 Remove unused local variables.
5105
5106 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5107
ec9177ba
GM
5108 * textmodes/two-column.el: Make 2C-split work for --without-x.
5109 (scroll-bar-columns): Autoload.
5110 (top-level): Require fringe when compiling.
5111
9f25cb77
LL
51122013-09-18 Leo Liu <sdl.web@gmail.com>
5113
5114 * subr.el (add-hook): Robustify to handle closure as well.
5115
2b42da98
GM
51162013-09-17 Glenn Morris <rgm@gnu.org>
5117
5118 * simple.el (messages-buffer-mode-map): Unbind "g".
5119
e8b66a6a
SM
51202013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5121
9c0ad4f7
SM
5122 * help-mode.el (help-mode-finish): Use derived-mode-p.
5123 Remove obsolete highlighting.
5124
7a806dfb
SM
5125 * play/life.el (life-mode): Use define-derived-mode. Derive from
5126 special-mode.
5127 (life): Let-bind inhibit-read-only.
5128 (life-setup): Avoid `setq'. Use `life-mode'.
5129
96dbf5a8
SM
5130 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5131 which should not be needed any more.
5132 (package-menu-refresh, package-menu-describe-package): Use user-error.
5133
e8b66a6a
SM
5134 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5135 (eshell-post-rewrite-command-hook): Make obsolete.
5136 (eshell-parse-command): Simplify.
5137 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5138 (eshell--cmd): Declare.
5139 (eshell-parse-pipeline): Remove unused var `final-p'.
5140 Pass a dynvar to eshell-post-rewrite-command-hook.
5141 Implement the new eshell-post-rewrite-command-function.
5142 (eshell-invoke-directly): Remove unused arg `input'.
5143 * eshell/esh-io.el (eshell-io-initialize):
5144 Use eshell-post-rewrite-command-function (bug#15399).
5145 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5146 adjust to new calling convention.
5147 (eshell-create-handles): Rename args to avoid clashing with dynvar
5148 `standard-output'.
5149
90582f05
GM
51502013-09-17 Glenn Morris <rgm@gnu.org>
5151
5152 * simple.el (messages-buffer-mode): New major mode.
5153 (messages-buffer): New function.
5154 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5155 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5156 (ert-run-test): Use `messages-buffer' function.
90582f05 5157 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5158 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5159 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5160
39eb0cb5 51612013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5162
5163 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5164
1d42e5b6 5165 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5166
70568a90
SM
51672013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5168
504a0381
SM
5169 * icomplete.el (icomplete-in-buffer): New var.
5170 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5171 vars and replace them with functions.
5172 (icomplete-minibuffer-setup): Adjust accordingly.
5173 (icomplete--completion-table, icomplete--completion-predicate)
5174 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5175 New functions.
5176 (icomplete-forward-completions, icomplete-backward-completions)
5177 (icomplete-simple-completing-p, icomplete-exhibit)
5178 (icomplete-completions): Use them.
5179 (icomplete--in-region-buffer): New var.
5180 (icomplete--in-region-setup): New function.
5181 (icomplete-mode): Use it.
5182
70568a90
SM
5183 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5184 (bug#15379).
5185 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5186 return args and options.
5187 (eshell-eval-using-options): Use the new return value of
5188 eshell--do-opts to set the options's vars in their scope.
5189 (eshell--set-option): Rename from eshell-set-option.
5190 Add arg `opt-vals'.
5191 (eshell--process-option): Rename from eshell-process-option.
5192 Add arg `opt-vals'.
5193 (eshell--process-args): Use an `opt-vals' alist to store the options's
5194 values during their processing and return them additionally to the
5195 remaining args.
5196
578c21bc
DG
51972013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5198
5199 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5200 continuation character an operator, as far as indentation is
5201 concerned (Bug#15369).
5202
c089653d
MR
52032013-09-15 Martin Rudalics <rudalics@gmx.at>
5204
5205 * window.el (window--state-put-2): Don't process buffer state
5206 when buffer doesn't exist any more (Bug#15382).
5207
1e53bb4b
GM
52082013-09-15 Glenn Morris <rgm@gnu.org>
5209
30753242
GM
5210 * eshell/em-unix.el (eshell/rm):
5211 Make -f ignore missing files. (Bug#15373)
5212
1e53bb4b
GM
5213 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5214 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5215 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5216
0d8863b3
GM
52172013-09-14 Glenn Morris <rgm@gnu.org>
5218
5219 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5220
d3fc6549
GM
52212013-09-13 Glenn Morris <rgm@gnu.org>
5222
5223 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5224 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5225
fcd42c11
DA
52262013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5227
5228 * frame.el (x-focus-frame): Mark as declared in frame.c.
5229
7830899f
SM
52302013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5231
5232 * ls-lisp.el: Use advice-add.
5233 (original-insert-directory): Remove.
5234 (ls-lisp--insert-directory): Rename from insert-directory; add
5235 `orig-fun' argument.
5236 (insert-directory): Advise.
5237
84387cd2
EZ
52382013-09-13 Eli Zaretskii <eliz@gnu.org>
5239
5240 * term.el (term-emulate-terminal): Decode the command string
5241 before passing it to term-command-hook. (Bug#15337)
5242
35ffc6ba
GM
52432013-09-13 Glenn Morris <rgm@gnu.org>
5244
5c3f9bcc
GM
5245 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5246
2ada368a
GM
5247 * eshell/esh-ext.el (eshell-search-path): Declare.
5248
fcef2e13
GM
5249 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5250 Otherwise an error occurs if eshell-dirs module not loaded.
5251
35ffc6ba
GM
5252 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5253
35c3d36e
MA
52542013-09-13 Michael Albinus <michael.albinus@gmx.de>
5255
5256 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5257 `tramp-check-proper-host'. Check for a valid method name.
5258
5259 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5260 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5261 * net/tramp-sh.el (tramp-maybe-open-connection):
5262 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5263
5264 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5265 also for hash values.
5266
ae5e4c48
SM
52672013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5268
379add74
SM
5269 * term/ns-win.el (parameters): Don't declare as dynamic.
5270 (before-make-frame-hook): Don't add ineffective function.
5271
ae5e4c48
SM
5272 * eshell/*.el: Use lexical-binding (bug#15231).
5273
b5623270
KH
52742013-09-12 Kenichi Handa <handa@gnu.org>
5275
ae5e4c48 5276 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5277
30213927
GM
52782013-09-12 Glenn Morris <rgm@gnu.org>
5279
be94d713 5280 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5281 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5282
44915370
GM
5283 * subr.el (do-after-load-evaluation): Also give compiler warnings
5284 when obsolete files are used (except by obsolete files).
5285
a6ae021f
GM
5286 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5287 in the status output, assume `filename' is the first. (Bug#15322)
5288
40e64f0c
GM
5289 * vc/vc.el (vc-deduce-fileset): Doc fix.
5290
16d9f896
GM
5291 * calc/calc-help.el (Info-goto-node):
5292 * progmodes/cperl-mode.el (Info-find-node):
5293 * vc/ediff.el (Info-goto-node): Update declarations.
5294
dea01c6e
GM
5295 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5296
759880bf 5297 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5298 (vc-bzr-pull): Require vc-dispatcher.
5299 * vc/vc-git.el (vc-compilation-mode): Declare.
5300 (vc-git-pull): Require vc-dispatcher.
5301
08d66420
GM
5302 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5303
30b626e9
GM
5304 * progmodes/octave.el (help-button-action): Declare.
5305
8c05cb10
GM
5306 * shell.el (shell-directory-tracker): Output error as a message
5307 rather than just returning it as a string.
5308 (shell-process-pushd): Remove useless use of message.
5309
30213927
GM
5310 * dframe.el (dframe-timer-fn):
5311 * files.el (dir-locals-read-from-file):
5312 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5313 (mpc-format):
5314 * reveal.el (reveal-post-command):
5315 * saveplace.el (load-save-place-alist-from-file):
5316 * shell.el (shell-resync-dirs):
5317 * w32-common-fns.el (x-get-selection-value):
5318 * emacs-lisp/copyright.el (copyright-find-copyright):
5319 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5320 * emulation/tpu-edt.el (tpu-copy-keyfile):
5321 * play/bubbles.el (bubbles--mark-neighbourhood):
5322 * progmodes/executable.el
5323 (executable-make-buffer-file-executable-if-script-p):
5324 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5325
d3b049e6
SM
53262013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5327
170266d0
SM
5328 Cleanup Eshell to rely less on dynamic scoping.
5329 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5330 last-value, and ext-command here. Bind `args' closer to `body'.
5331 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5332 (eshell--args): Declare new dynamic var.
5333 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5334 last-value, and ext-command. Pass `args' to `body'.
5335 (eshell-process-args): Bind eshell--args.
5336 (eshell-set-option): Use eshell--args.
5337 * eshell/eshell.el (eshell): Use derived-mode-p.
5338 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5339 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5340 (eshell-glob-function): Declare.
5341 * eshell/esh-util.el: Require cl-lib.
5342 (eshell-read-hosts-file): Avoid add-to-list.
5343 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5344 `err'.
5345 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5346 Declare.
5347 (eshell/diff): Remove unused var `err'.
5348 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5349 `killflag'.
5350 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5351 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5352 first use.
5353 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5354 Move declaration before first use.
5355 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5356 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5357 rely on cl-return.
5358
56834f3b
GM
53592013-09-12 Glenn Morris <rgm@gnu.org>
5360
5361 * term/ns-win.el (global-map): Remove binding for ispell-next,
5362 deleted 1999-05-29. (Bug#15357)
5363
5c91a2b8
GM
53642013-09-11 Glenn Morris <rgm@gnu.org>
5365
da712f22
GM
5366 * echistory.el (electric-command-history): Remove call to deleted func.
5367
512e4cdc
GM
5368 * play/landmark.el (landmark-mode): Fix typos.
5369
d3506ca5
GM
5370 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5371 Check cvs-sort-ignore-file is bound.
5372
5c91a2b8
GM
5373 * savehist.el: No need for cl when compiling on Emacs.
5374
feeff482
SM
53752013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5376
656bd483
SM
5377 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5378 (bug#15338).
d3b049e6
SM
5379 (eshell-self-insert-command, eshell-send-invisible):
5380 Remove unused argument.
656bd483
SM
5381 (eshell-handle-control-codes): Remove unused var `orig'.
5382 Avoid delete-backward-char.
5383
feeff482
SM
5384 * files.el (set-auto-mode): Simplify a bit further.
5385
2a08047a
GM
53862013-09-11 Glenn Morris <rgm@gnu.org>
5387
5388 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5389 (set-auto-mode): Don't regexp-quote elements.
5390 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5391 * progmodes/cc-mode.el (interpreter-mode-alist):
5392 * progmodes/ruby-mode.el (interpreter-mode-alist):
5393 Revert previous change.
5394
34675540
SM
53952013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5396
1b3b87df
SM
5397 * play/snake.el (snake-mode):
5398 * play/mpuz.el (mpuz-mode):
5399 * play/landmark.el (lm-mode):
5400 * play/blackbox.el (blackbox-mode):
5401 * play/5x5.el (5x5-mode):
5402 * obsolete/options.el (Edit-options-mode):
5403 * net/quickurl.el (quickurl-list-mode):
5404 * net/newst-treeview.el (newsticker-treeview-mode):
5405 * mail/rmailsum.el (rmail-summary-mode):
5406 * mail/mspools.el (mspools-mode):
5407 * locate.el (locate-mode):
5408 * ibuffer.el (ibuffer-mode):
5409 * emulation/ws-mode.el (wordstar-mode):
5410 * emacs-lisp/debug.el (debugger-mode):
5411 * array.el (array-mode):
5412 * net/eudc.el (eudc-mode): Use define-derived-mode.
5413 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5414 Move initialization into declaration.
5415 (mairix-searches-mode): Use define-derived-mode.
5416 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5417 (eudc-edit-hotlist): Use dolist.
5418 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5419 (Man-mode): Use define-derived-mode.
5420 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5421 (Info-edit-mode): Use define-derived-mode.
5422 (Info-cease-edit): Use Info-mode.
5423 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5424 into declaration.
5425 (eshell-mode): Use define-derived-mode.
5426 * chistory.el (command-history-mode-map): Rename from
5427 command-history-map.
5428 (command-history-mode): Use define-derived-mode.
da712f22 5429 (Command-history-setup): Remove function.
1b3b87df
SM
5430 * calc/calc.el (calc-trail-mode-map): New var.
5431 (calc-trail-mode): Use define-derived-mode.
5432 (calc-trail-buffer): Set calc-main-buffer manually.
5433 * bookmark.el (bookmark-insert-annotation): New function.
5434 (bookmark-edit-annotation): Use it.
5435 (bookmark-edit-annotation-mode): Make it a proper major mode.
5436 (bookmark-send-edited-annotation): Use derived-mode-p.
5437 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5438 closer to its ideal place. Use \' to match EOS.
5439
34675540
SM
5440 * profiler.el (profiler-calltree-find): Use function-equal.
5441
6a5c15d9
GM
54422013-09-10 Glenn Morris <rgm@gnu.org>
5443
1af4c220
GM
5444 * files.el (interpreter-mode-alist): Convert to regexps.
5445 (set-auto-mode): Adapt for this. (Bug#15306)
5446 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5447 Comment out unused variable.
5448 * progmodes/cc-mode.el (interpreter-mode-alist):
5449 * progmodes/python.el (interpreter-mode-alist):
5450 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5451 * progmodes/sh-script.el (sh-set-shell):
5452 No longer use interpreter-mode-alist to get list of shells.
5453
6a5c15d9
GM
5454 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5455
8c27f5ff
SM
54562013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5457
02ef6c1a 5458 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5459 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5460 Bind switch-frame explicitly. Replace universal-argument-minus with
5461 a conditional binding.
5462 (universal-argument-num-events, saved-overriding-map): Remove.
5463 (restore-overriding-map): Remove.
5464 (universal-argument--mode): Rename from save&set-overriding-map,
5465 and rewrite.
5466 (universal-argument, universal-argument-more, negative-argument)
5467 (digit-argument): Adjust accordingly.
5468 (universal-argument-minus): Remove.
5469 (universal-argument-other-key): Remove.
5470
8c27f5ff
SM
5471 * subr.el (with-demoted-errors): Add `format' argument.
5472
6480194c
MA
54732013-09-10 Michael Albinus <michael.albinus@gmx.de>
5474
5475 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5476 `tramp-cleanup-connection'.
5477
5478 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5479 parameters KEEP-DEBUG and KEEP-PASSWORD.
5480
5481 * net/tramp.el (tramp-file-name-handler):
5482 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5483 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5484 (tramp-maybe-open-connection):
8c27f5ff
SM
5485 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5486 Use `tramp-cleanup-connection'.
6480194c 5487
8c27f5ff
SM
5488 * net/tramp-sh.el (tramp-maybe-open-connection):
5489 Catch 'uname-changed inside the progress reporter.
6480194c 5490
e5e916d8
GM
54912013-09-10 Glenn Morris <rgm@gnu.org>
5492
9a2c9b47
GM
5493 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5494
e5e916d8
GM
5495 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5496 returns "alternate access method" in mode (eg "-rw-r--r--.").
5497
144e38fe
GM
54982013-09-08 Glenn Morris <rgm@gnu.org>
5499
5500 * saveplace.el (load-save-place-alist-from-file):
5501 Demote errors. (Bug#15305)
5502
af9ff9e8
MA
55032013-09-08 Michael Albinus <michael.albinus@gmx.de>
5504
5505 Improve compatibility with older Emacsen, and XEmacs.
5506
5507 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5508 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5509 (with-tramp-progress-reporter): Do not let-bind `result'.
5510 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5511 (tramp-handle-make-auto-save-file-name): New function, moved from
5512 tramp-sh.el.
5513
5514 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5515 for `make-auto-save-file-name'.
8c27f5ff
SM
5516 (tramp-adb--gnu-switches-to-ash):
5517 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5518
5519 * net/tramp-cache.el (tramp-cache-print): Call
5520 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5521
5522 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5523 bound. It isn't for XEmacs.
5524
8c27f5ff
SM
5525 * net/tramp-compat.el (tramp-compat-copy-file):
5526 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5527 (tramp-compat-replace-regexp-in-string): New defun.
5528
5529 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5530 for `make-auto-save-file-name'.
5531 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5532 `copy-file'.
5533 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5534 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5535 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5536
8c27f5ff
SM
5537 * net/tramp-gw.el (tramp-gw-open-network-stream):
5538 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5539
8c27f5ff
SM
5540 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5541 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5542 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5543 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5544 (tramp-sh-file-inotifywait-process-filter):
5545 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5546 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5547
5548 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5549 for `make-auto-save-file-name'.
8c27f5ff
SM
5550 (tramp-smb-handle-copy-directory):
5551 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5552 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5553 (tramp-smb-handle-copy-file): Improve error message.
5554 (tramp-smb-handle-rename-file): Rename directly only in case
5555 `newname' does not exist yet. This is a restriction of smbclient.
5556 (tramp-smb-maybe-open-connection): Rerun the function only when
5557 `auth-sources' is non-nil.
5558
0ca754d0
KH
55592013-09-08 Kenichi Handa <handa@gnu.org>
5560
e0eb0550 5561 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5562 more characters.
5563
e8dd0787
AM
55642013-09-07 Alan Mackenzie <acm@muc.de>
5565
5566 Correctly fontify Java class constructors.
5567 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5568 in Java Mode.
5569 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5570 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5571 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5572 "typeless" declaration there.
5573
f2f248e7
RW
55742013-09-07 Roland Winkler <winkler@gnu.org>
5575
5576 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5577 field subtitle for entry type book.
5578
67982e2b
SM
55792013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * minibuffer.el: Make minibuffer-complete call completion-in-region
5582 rather than other way around.
5583 (completion--some, completion-pcm--find-all-completions):
5584 Don't delay signals when debugging.
5585 (minibuffer-completion-contents): Beware fields within the
5586 minibuffer contents.
5587 (completion-all-sorted-completions): Use defvar-local.
5588 (completion--do-completion, completion--cache-all-sorted-completions)
5589 (completion-all-sorted-completions, minibuffer-force-complete):
5590 Add args `beg' and `end'.
5591 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5592 (minibuffer-complete): Use completion-in-region.
5593 (completion-complete-and-exit): New fun, extracted from
5594 minibuffer-complete-and-exit.
5595 (minibuffer-complete-and-exit): Use it.
5596 (completion--complete-and-exit): Rename from
5597 minibuffer--complete-and-exit.
5598 (completion-in-region--single-word): New function, extracted from
5599 minibuffer-complete-word.
5600 (minibuffer-complete-word): Use it.
5601 (display-completion-list): Make `common-substring' argument obsolete.
5602 (completion--in-region): Call completion--in-region-1 instead of
5603 minibuffer-complete.
5604 (completion-help-at-point): Pass boundaries to
5605 minibuffer-completion-help as args rather than via an overlay.
5606 (completion-pcm--string->pattern): Use `any-delim'.
5607 (completion-pcm--optimize-pattern): New function.
5608 (completion-pcm--pattern->regex): Handle `any-delim'.
5609 * icomplete.el (icomplete-forward-completions)
5610 (icomplete-backward-completions, icomplete-completions):
5611 Adjust calls to completion-all-sorted-completions and
5612 completion--cache-all-sorted-completions.
5613 (icomplete-with-completion-tables): Default to t.
5614 * emacs-lisp/crm.el (crm--current-element): Rename from
5615 crm--select-current-element. Don't put an overlay but return the
5616 boundaries instead.
5617 (crm--completion-command): Take two new args to bind to the boundaries.
5618 (crm-completion-help): Adjust accordingly.
5619 (crm-complete): Use completion-in-region.
5620 (crm-complete-word): Use completion-in-region--single-word.
5621 (crm-complete-and-exit): Use completion-complete-and-exit.
5622
e17d94a5
SM
56232013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5624
5625 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5626 than dynamically.
5627
96727100
JL
56282013-09-06 Juri Linkov <juri@jurta.org>
5629
5630 * info.el (Info-display-images-node): When image file doesn't exist
5631 display text version of the image if it's provided in the Info file.
5632 Otherwise, display the location of missing image from SRC attribute.
5633 Add help-echo text property from ALT attribute. (Bug#15279)
5634
86cf7329
SM
56352013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5636
5637 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5638 (edit-abbrevs-mode): Use define-derived-mode.
5639
5640 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5641 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5642 that it's defined.
5643 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5644 Use define-derived-mode.
5645
5646 * epg.el (epg-start-encrypt): Minor CSE simplification.
5647
816244a2
WX
56482013-09-06 William Xu <william.xwl@gmail.com>
5649
5650 * arc-mode.el: Add support for 7za (bug#15264).
5651 (archive-7z-program): New var.
5652 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5653 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5654 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5655
1486fa31
MA
56562013-09-06 Michael Albinus <michael.albinus@gmx.de>
5657
5658 Remove URL syntax.
5659
5660 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5661 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5662 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5663 (tramp-postfix-host-format, tramp-file-name-regexp)
5664 (tramp-completion-file-name-regexp)
5665 (tramp-completion-dissect-file-name)
5666 (tramp-handle-substitute-in-file-name): Remove 'url case.
5667 (tramp-file-name-regexp-url)
5668 (tramp-completion-file-name-regexp-url): Remove constants.
5669
39785324
GM
56702013-09-06 Glenn Morris <rgm@gnu.org>
5671
5672 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5673
1f896cb7
DG
56742013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5675
5676 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5677 keywords" below "here-doc beginnings" (Bug#15270).
5678
c0458e0b
SM
56792013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5680
5681 * subr.el (pop): Use `car-safe'.
5682 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5683 to detect unused `pop' return value.
5684
5685 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5686 var `block-regexp'.
5687 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5688 (python-fill-string): Remove unused var `marker'.
5689 (python-skeleton-add-menu-items): Remove unused var `items'.
5690
5691 * international/mule-cmds.el: Require CL.
5692 (find-coding-systems-for-charsets): Avoid add-to-list.
5693 (sanitize-coding-system-list): New function, extracted from
5694 select-safe-coding-system-interactively.
5695 (select-safe-coding-system-interactively): Use it.
5696 (read-input-method-name): Accept symbols for `default'.
5697
5698 * emacs-lisp/advice.el (defadvice): Add indent rule.
5699
6c42fc3e
DH
57002013-09-05 Daniel Hackney <dan@haxney.org>
5701
5702 * dired-x.el:
5703 * net/ange-ftp.el:
5704 * net/browse-url.el:
5705 * net/dbus.el:
5706 * net/eudc.el:
5707 * net/eudcb-ldap.el:
5708 * net/eww.el:
5709 * net/imap.el:
5710 * printing.el:
5711 * vc/ediff-diff.el:
5712 * vc/ediff-init.el:
5713 * vc/ediff-merg.el:
5714 * vc/ediff-mult.el:
5715 * vc/ediff-util.el:
5716 * vc/ediff-wind.el:
5717 * vc/ediff.el:
5718 * vc/emerge.el:
5719 * vc/pcvs.el:
5720 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5721 byte compiler. Remove some unused let-bound variables.
5722
4c528aab
SM
57232013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5724
5725 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5726 a "ref-cell", since it gets better optimized (bug#14883).
5727
bd15c390
GM
57282013-09-05 Glenn Morris <rgm@gnu.org>
5729
5730 * progmodes/cc-awk.el (c-forward-sws): Declare.
5731
1c3ac2e5
GM
57322013-09-04 Glenn Morris <rgm@gnu.org>
5733
5734 * generic-x.el [rul-generic-mode]: Require cc-mode.
5735 (c++-mode-syntax-table): Declare.
5736 (rul-generic-mode-syntax-table): Init in the defvar.
5737
52b1cc79
SM
57382013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5739
c828af56
SM
5740 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5741 (vc-do-command, vc-set-async-update):
5742 * vc/vc-mtn.el (vc-mtn-dir-status):
5743 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5744 (vc-hg-pull, vc-hg-merge-branch):
5745 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5746 (vc-git-merge-branch):
5747 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5748 (vc-cvs-dir-status-files):
5749 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5750 (vc-bzr-dir-status-files):
5751 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5752 * vc/vc-annotate.el: Use lexical-binding.
5753 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5754 (vc-sentinel-movepoint): Declare.
5755 (vc-annotate): Don't use `goto-line'.
5756 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5757 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5758 (vc-sentinel-movepoint): Declare.
5759 * vc/vc-svn.el: Use lexical-binding.
5760 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5761 * vc/vc-sccs.el:
5762 * vc/vc-rcs.el: Use lexical-binding.
5763
abae272c
SM
5764 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5765 `deleted'. Don't drop errors silently.
5766
52b1cc79
SM
5767 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5768
63191d9f
XF
57692013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5770
5771 * vc/vc.el (vc-ignore): Rewrite.
5772 (vc-default-ignore): New function.
5773 (vc-default-ignore-completion-table): Use find-ignore-file.
5774
5775 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5776 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5777 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5778 Remove. Most code moved to vc.el.
5779
9d3f707c
SM
57802013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5781
abae272c 5782 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5783 * net/tramp-smb.el (tramp-smb-get-file-entries):
5784 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5785 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5786
fde38d49
SM
5787 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5788 Update call to it.
5789 (eww-change-select): Remove unused var `properties'.
5790 (eww-make-unique-file-name): Remove unused var `base'.
5791
5792 * finder.el (finder-compile-keywords): Don't mess with windows.
5793
84032db7
SM
5794 * calculator.el (calculator-funcall): Fix typo in last change.
5795
724f5e41
SM
5796 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5797
14b511d4
SM
5798 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5799 <pkg>-autoloads.el file stop us.
5800
9d3f707c 5801 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5802 warnings, and factor out common code.
9d3f707c 5803
88527bc0
DG
58042013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5805
5806 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5807 two-character operators and whether the character preceding them
5808 changes their meaning (Bug#15208).
5809
96edb677
FEG
58102013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5811
5812 Format code sent to Python shell for robustness.
9d3f707c
SM
5813 * progmodes/python.el (python-shell-buffer-substring):
5814 New function.
96edb677
FEG
5815 (python-shell-send-region, python-shell-send-buffer): Use it.
5816
95beaef3
MA
58172013-09-02 Michael Albinus <michael.albinus@gmx.de>
5818
5819 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5820 * net/tramp.el (tramp-user-error): ... here.
5821 (tramp-find-method, tramp-check-proper-host)
5822 (tramp-dissect-file-name, tramp-debug-message)
5823 (tramp-handle-shell-command):
5824 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5825 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5826
5827 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5828
f167c27b
MR
58292013-09-02 Martin Rudalics <rudalics@gmx.at>
5830
5831 * avoid.el (mouse-avoidance-point-position)
5832 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5833 returns nil.
5834
cd16c5f1
FEG
58352013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5836
5837 * progmodes/python.el (python-shell-completion-get-completions):
5838 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5839 (python-nav-if-name-main): New command.
cd16c5f1 5840
e73c3a0d
GM
58412013-09-01 Glenn Morris <rgm@gnu.org>
5842
f8ccce03
GM
5843 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5844 Avoid leading space in $wins. Otherwise the sed command used by
5845 eg compile-main ends up containing "/*.el". (Bug#15170)
5846
e73c3a0d
GM
5847 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5848
415f808e
GM
58492013-08-30 Glenn Morris <rgm@gnu.org>
5850
5851 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5852 Fix is-this-a-directory logic. (Bug#15220)
5853
f069bba8
SM
58542013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5855
112798c1
SM
5856 * textmodes/css-mode.el: Use SMIE.
5857 (css-smie-grammar): New var.
5858 (css-smie--forward-token, css-smie--backward-token)
5859 (css-smie-rules): New functions.
5860 (css-mode): Use them.
5861 (css-navigation-syntax-table): Remove var.
5862 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5863 (css-indent-calculate, css-indent-line): Remove functions.
5864
5865 Misc changes to reduce use of `(lambda...); and other cleanups.
5866 * cus-edit.el: Use lexical-binding.
5867 (customize-push-and-save, customize-apropos)
5868 (custom-buffer-create-internal): Use closures.
5869 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5870 * progmodes/ada-xref.el: Use setq.
5871 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5872 * dframe.el: Use lexical-binding.
5873 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5874 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5875 * descr-text.el: Use lexical-binding.
5876 (describe-text-widget, describe-text-sexp, describe-property-list):
5877 Use closures.
5878 * comint.el (comint-history-isearch-push-state): Use a closure.
5879 * calculator.el: Use lexical-binding.
5880 (calculator-number-to-string): Make it work with lexical-binding.
5881 (calculator-funcall): Same and use cl-letf.
5882
2da4c3ab
SM
5883 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5884 (lisp--company-doc-string, lisp--company-location): New functions.
5885 (lisp-completion-at-point): Use them to improve Company support.
5886
f069bba8
SM
5887 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5888 params of lambda expressions.
5889 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5890 (ruby-smie--opening-pipe-p): New function.
5891 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5892 symbols and matched |...| for formal params.
5893 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5894 from being treated as hanging. Handle "rescue".
5895
6758b6a8
GM
58962013-08-29 Glenn Morris <rgm@gnu.org>
5897
5898 * progmodes/cc-engine.el (c-pull-open-brace):
5899 Move definition before use.
5900
e8dfd197
SM
59012013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5902
5903 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5904 are immutable. Don't use `unsafe' any more.
5905 (cl--defsubst-expand): Don't substitute at the same time as keeping
5906 a residual unused let-binding. Don't use `unsafe' any more.
5907
cc585c96
GM
59082013-08-29 Glenn Morris <rgm@gnu.org>
5909
ba579ea6
GM
5910 * calendar/cal-china.el (calendar-chinese-year-cache):
5911 Recenter on 2015.
5912
8201a87e
GM
5913 * nxml/nxml-util.el (nxml-debug-clear-inside):
5914 Use cl-loop rather than loop.
5915
6ee877c7
GM
5916 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5917
cc585c96
GM
5918 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5919
27be8d39
GM
59202013-08-28 Glenn Morris <rgm@gnu.org>
5921
397440a1
GM
5922 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5923
2bb762d4
GM
5924 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5925
27be8d39
GM
5926 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5927
2d69b99e
SM
59282013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5929
f663baa7
SM
5930 * simple.el (repeat-complex-command--called-interactively-skip):
5931 New function.
5932 (repeat-complex-command): Use it (bug#14136).
5933
dd4f8b74
SM
5934 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5935 (c-define-abbrev-table): Add `doc' argument.
5936 (c-mode-abbrev-table, c++-mode-abbrev-table)
5937 (objc-mode-abbrev-table, java-mode-abbrev-table)
5938 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5939 (awk-mode-abbrev-table): Use it.
5940 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5941 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5942 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5943 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5944 Move initialization into the declaration; and remove any
5945 autoload cookie.
5946
b58969f7
SM
5947 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5948 and dynamic let binding.
5949
4021d6a6
SM
5950 * vc/smerge-mode.el: Remove redundant :group args.
5951
2d69b99e
SM
5952 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5953 to load-path.
5954
274919fd
JL
59552013-08-28 Juri Linkov <juri@jurta.org>
5956
5957 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5958 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5959 (isearch-other-meta-char): Handle an undefined shifted printing
5960 character by downshifting it. (Bug#15200)
5961
121f8c95
JL
59622013-08-28 Juri Linkov <juri@jurta.org>
5963
5964 * isearch.el (isearch-search): Change regexp error message for
5965 non-regexp searches. (Bug#15166)
5966
50b13cde
PE
59672013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5968
5969 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5970 for portability to hosts where /bin/sh has problems.
5971
95888bca
SM
59722013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5973
5974 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5975
bbe558f1
JL
59762013-08-27 Juri Linkov <juri@jurta.org>
5977
5978 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5979 in the keyboard macro. (Bug#15126)
5980
26f98a7d
JL
59812013-08-27 Juri Linkov <juri@jurta.org>
5982
5983 * isearch.el (isearch-quote-char): Comment out converting unibyte
5984 to multibyte, thus syncing with its `quoted-insert' counterpart.
5985 (Bug#15166)
5986
7c97d35e
MR
59872013-08-27 Martin Rudalics <rudalics@gmx.at>
5988
5989 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5990 argument in call of get-largest-window (Bug#15185).
5991 Reported by Stephen Leake.
7c97d35e 5992
a0b5606e 59932013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5994
5995 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5996
9e89d835
SM
59972013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6000 from a matcher-function unless there's no more matches (bug#15161).
6001
78fc2530
MA
60022013-08-26 Michael Albinus <michael.albinus@gmx.de>
6003
6004 * minibuffer.el: Revert change from 2013-08-20.
6005
6006 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6007 with text property `tramp-default', if appropriate.
6008 (tramp-check-proper-host): New defun.
6009 (tramp-dissect-file-name): Do not check hostname. Revert change
6010 of 2013-03-18.
6011 (tramp-backtrace): Make VEC-OR-PROC optional.
6012
6013 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6014 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6015 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6016 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6017 Apply `tramp-check-proper-host'.
78fc2530 6018
edca97cd
TH
60192013-08-26 Tassilo Horn <tsdh@gnu.org>
6020
6021 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6022 lambda expression in order to have `describe-variable' display it.
6023
df54bcbd
MA
60242013-08-26 Michael Albinus <michael.albinus@gmx.de>
6025
6026 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6027 BUF can be optional. (Bug#15186)
6028
eed99101
XF
60292013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6030
6031 * progmodes/flymake.el (flymake-get-real-file-name-function):
6032 Fix broken customization. (Bug#15184)
6033
b5eb9035
AM
60342013-08-25 Alan Mackenzie <acm@muc.de>
6035
8a51e842
AM
6036 Improve indentation of bracelists defined by macros (without "=").
6037
6038 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6039 expansion begins with "{", regard it as bracelist when it doesn't
6040 contain a ";".
6041
869455d4
AM
6042 Parse C++ inher-intro when there's a template split over 2 lines.
6043
6044 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6045 rigorously the search for "class" etc. followed by ":".
6046
6047 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6048 random languages a regexp which never matches rather than nil.
6049
b5eb9035
AM
6050 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6051
6052 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6053 (c-awk-regexp-one-line-possibly-open-char-list-re)
6054 (c-awk-one-line-possibly-open-regexp-re)
6055 (c-awk-one-line-non-syn-ws*-re): Remove.
6056 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6057 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6058 (c-awk-space*-unclosed-regexp-/-re): New constants.
6059 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6060 aren't regexp delimiters.
6061
6062 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6063 handling for a rare situation in AWK Mode involving unterminated
6064 strings/regexps.
6065
61611d54
GM
60662013-08-23 Glenn Morris <rgm@gnu.org>
6067
2d85dc34
GM
6068 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6069
cb8d2612
GM
6070 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6071
bb35f42f
GM
6072 * files.el (create-file-buffer): If the result would begin with
6073 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6074
b9808e77
SM
60752013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6076
e3a66363
SM
6077 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6078 text-properties (bug#15155).
6079
b9808e77
SM
6080 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6081 exist any more.
6082 (calc-keypad-redraw): Remove unused var `pad'.
6083 (calc-keypad-press): Remove unused var `menu'.
6084
7fd5f65e
MR
60852013-08-23 Martin Rudalics <rudalics@gmx.at>
6086
b9808e77
SM
6087 * window.el (display-buffer-pop-up-frame):
6088 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6089 use it as the new frame's buffer (Bug#15133).
6090
8352b530
SM
60912013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6092
6093 * calendar/timeclock.el: Minor cleanups.
6094 (timeclock-ask-before-exiting, timeclock-use-display-time):
6095 Use `symbol'.
6096 (timeclock-modeline-display): Define as alias before the
6097 actual definition.
6098 (timeclock-mode-line-display): Use define-minor-mode.
6099 (timeclock-day-list-template): Make it a function, add an argument.
6100 (timeclock-day-list-required, timeclock-day-list-length)
6101 (timeclock-day-list-debt, timeclock-day-list-span)
6102 (timeclock-day-list-break): Adjust calls accordingly.
6103
9f7b1925
SM
61042013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6105
6106 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6107 Use read--expression so that completion works again.
6108
6e50e983
SS
61092013-08-21 Sam Steingold <sds@gnu.org>
6110
6111 Add rudimentary inferior shell interaction
6112 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6113 (sh-set-shell): Reset it.
9f7b1925
SM
6114 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6115 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6116
dbb0d350
SM
61172013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6118
6119 * align.el: Use lexical-binding.
6120 (align-region): Simplify accordingly.
6121
c88586a9
MA
61222013-08-20 Michael Albinus <michael.albinus@gmx.de>
6123
6124 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6125
6126 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6127 `non-essential' up.
6128
f95527c8
MA
61292013-08-17 Michael Albinus <michael.albinus@gmx.de>
6130
6131 * net/tramp.el:
6132 * net/tramp-adb.el:
6133 * net/tramp-cmds.el:
6134 * net/tramp-ftp.el:
6135 * net/tramp-gvfs.el:
6136 * net/tramp-gw.el:
6137 * net/tramp-sh.el: Don't wrap external variable declarations by
6138 `eval-when-compile'.
6139
4b5fe4ee
LMI
61402013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6141
6142 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6143 now that Emacs supports ImageMagick animations.
6144
13c366c9
MA
61452013-08-16 Michael Albinus <michael.albinus@gmx.de>
6146
6147 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6148 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6149
3dfc5cd6
MR
61502013-08-16 Martin Rudalics <rudalics@gmx.at>
6151
6152 * window.el (mouse-autoselect-window-select): Do autoselect when
6153 mouse pointer is on margin.
6154
4bbb4381
WP
61552013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6156
6157 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6158
3a2ddc2d
GM
61592013-08-16 Glenn Morris <rgm@gnu.org>
6160
e8bedf5a
GM
6161 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6162 Handle "Remote Directory" response of some clients. (Bug#15058)
6163
58c4682f
GM
6164 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6165 Tweak warning. (Bug#14926)
6166
57953f49
GM
6167 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6168 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6169
3a2ddc2d
GM
6170 * image-mode.el (image-mode-map): Add menu items to reverse,
6171 increase, decrease, reset animation speed.
6172 (image--set-speed, image-increase-speed, image-decrease-speed)
6173 (image-reverse-speed, image-reset-speed): New functions.
6174 (image-mode-map): Add bindings for speed commands.
6175
6176 * image.el (image-animate-get-speed, image-animate-set-speed):
6177 New functions.
6178 (image-animate-timeout): Respect image :speed property.
6179
10fa0ed3
SM
61802013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6181
6182 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6183 previous line (bug#15101).
6184 (debugger-eval-expression, debugger-record-expression):
6185 Use read--expression (bug#15102).
6186
5d89d9d2
MA
61872013-08-15 Michael Albinus <michael.albinus@gmx.de>
6188
6189 Remove byte compiler warnings, visible when compiling with
6190 `byte-compile-force-lexical-warnings' set to t.
6191
6192 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6193 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6194 (tramp-handle-unhandled-file-name-directory)
6195 (tramp-handle-file-notify-add-watch, tramp-action-login)
6196 (tramp-action-succeed, tramp-action-permission-denied)
6197 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6198 arguments with "_".
6199
6200 * net/tramp-adb.el (tramp-adb-parse-device-names)
6201 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6202 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6203 (tramp-adb-handle-file-truename): Remove unused arguments.
6204
6205 * net/tramp-cache.el (tramp-flush-directory-property)
6206 (tramp-flush-connection-property, tramp-list-connections)
6207 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6208
10fa0ed3
SM
6209 * net/tramp-compat.el (tramp-compat-make-temp-file):
6210 Rename FILENAME to F.
5d89d9d2
MA
6211
6212 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6213 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6214 (tramp-zeroconf-parse-workstation-device-names)
6215 (tramp-zeroconf-parse-webdav-device-names)
6216 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6217
6218 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6219 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6220
6221 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6222 arguments.
6223 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6224 (tramp-sh-handle-insert-file-contents-literally)
6225 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6226 with "_".
6227 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6228 Remove unused variables.
6229
6230 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6231 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6232 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6233
6234 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6235 Make them a defconst.
6236 (tramp-uuencode-region): Remove unused variable.
6237
62f33bae
JB
62382013-08-14 Juanma Barranquero <lekktu@gmail.com>
6239
6240 * frameset.el (frameset--prop-setter): New function.
6241 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6242 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6243 parameter was already set in FILTERED. Doc fix.
6244 (frameset--record-minibuffer-relationships): Allow saving a
6245 minibufferless frame without its corresponding minibuffer frame.
6246 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6247 frame, if the frame id matches.
6248 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6249 frames before orphaned ones.
6250 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6251
c660a885
MR
62522013-08-14 Martin Rudalics <rudalics@gmx.at>
6253
6254 * window.el (window-make-atom): Don't overwrite parameter
6255 already present.
6256 (display-buffer-in-atom-window): Handle special case where we
6257 split an already atomic window.
6258 (window--major-non-side-window, display-buffer-in-side-window)
6259 (window--side-check): Ignore minibuffer window when walking
6260 window tree.
6261 (window-deletable-p): Return 'frame only if no other frame uses
6262 our minibuffer window.
6263 (record-window-buffer): Run buffer-list-update-hook.
6264 (split-window): Make sure window--check-frame won't destroy an
6265 existing atomic window in case the new window gets nested
6266 inside.
6267 (display-buffer-at-bottom): Ignore minibuffer window when
6268 walking window tree. Don't split a side window.
6269 (pop-to-buffer): Don't set-buffer here, the select-window call
6270 should do that.
6271 (mouse-autoselect-window-select): Autoselect only if we are in the
6272 text portion of the window.
6273
8259030d
LMI
62742013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6275
21c58ae2
LMI
6276 * net/shr.el (shr-parse-image-data): New function to grab both the
6277 data itself and the Content-Type.
6278 (shr-put-image): Use it.
6279
6280 * net/eww.el (eww-display-image): Ditto.
6281
8259030d
LMI
6282 * image.el (image-content-type-suffixes): New variable.
6283
ad756449
FEG
62842013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6285
6286 * progmodes/python.el (python-imenu--build-tree)
6287 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6288
f73f4ce6
XF
62892013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6290
6291 * simple.el (backward-word): Mention the optional argument.
6292
1f585e65
SM
62932013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6294
6295 * frameset.el (frameset--make): Rename constructor from make-frameset.
6296 (frameset-p, frameset-valid-p): Don't autoload.
6297 (frameset-valid-p): Use normal accessors.
6298
af1c6c84
GM
62992013-08-13 Glenn Morris <rgm@gnu.org>
6300
55e47f95
GM
6301 * progmodes/compile.el (compile-command): Tweak example in doc.
6302 * obsolete/scribe.el (scribe-mode):
6303 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6304
f0024d8c
GM
6305 * mail/feedmail.el (feedmail-confirm-outgoing)
6306 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6307
6308 * cus-start.el (truncate-partial-width-windows): Fix type.
6309
6310 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6311
af1c6c84
GM
6312 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6313
5514cc4c
SM
63142013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6315
6316 * emacs-lisp/timer.el (timer--time-setter): New function.
6317 (timer--time): Use it as gv-setter.
6318
6319 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6320 setter is not a symbol.
6321
7997a2f1
GJ
63222013-08-12 Grégoire Jadi <daimrod@gmail.com>
6323
6324 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6325 if sending fails. This makes debugging easier.
6326
01f1a9ab
JB
63272013-08-12 Juanma Barranquero <lekktu@gmail.com>
6328
6329 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6330 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6331 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6332
594a4307
EZ
63332013-08-12 Eli Zaretskii <eliz@gnu.org>
6334
6335 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6336
7a22490f 63372013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6338
6339 * format.el (format-annotate-function):
6340 Handle read-only text properties in the source. (Bug#14887)
6341
3e41a054
LMI
63422013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6343
5514cc4c
SM
6344 * net/eww.el (eww-display-html): Ignore coding system errors.
6345 One web site uses "utf-8lias" as the coding system.
3e41a054 6346
7ec326db
JB
63472013-08-11 Juanma Barranquero <lekktu@gmail.com>
6348
6349 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6350
5660113b
JB
63512013-08-10 Juanma Barranquero <lekktu@gmail.com>
6352
9a4ebc74
JB
6353 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6354 (tutorial--detailed-help): Remove unused local variables.
6355 (tutorial--save-tutorial-to): Use ignore-errors.
6356 (help-with-tutorial): Use looking-at-p.
6357
6358 * view.el (view-buffer-other-window, view-buffer-other-frame):
6359 Mark unused arguments.
6360
6361 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6362 (woman-select-symbol-fonts, woman, woman-find-file)
6363 (woman-insert-file-contents, woman-non-underline-faces):
6364 Use string-match-p.
6365 (woman1-unquote): Move declaration.
6366
6367 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6368 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6369 argument. Remove unused local variable.
6370 (xml-parse-elem-type): Use string-match-p.
6371 (xml-substitute-numeric-entities): Use ignore-errors.
6372
45fdb482
JB
6373 * calculator.el (calculator): Mark unused argument.
6374 (calculator-paste, calculator-quit, calculator-integer-p):
6375 Use ignore-errors.
6376 (calculator-string-to-number, calculator-decimal, calculator-exp)
6377 (calculator-op-or-exp): Use string-match-p.
6378
6379 * dired.el (dired-buffer-more-recently-used-p): Declare.
6380 (dired-insert-set-properties, dired-insert-old-subdirs):
6381 Use ignore-errors.
6382
6383 * dired-aux.el (dired-compress): Use ignore-errors.
6384 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6385 (dired-do-async-shell-command, dired-do-shell-command)
6386 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6387 (dired-insert-subdir-validate): Use string-match-p.
6388 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6389 (dired-add-entry): Use string-match-p, looking-at-p.
6390 (dired-insert-subdir-newpos): Remove unused local variable.
6391
6392 * filenotify.el (file-notify-callback): Remove unused local variable.
6393
6394 * filesets.el (filesets-error): Mark unused argument.
6395 (filesets-which-command-p, filesets-filter-dir-names)
6396 (filesets-directory-files, filesets-get-external-viewer)
6397 (filesets-ingroup-get-data): Use string-match-p.
6398
6399 * find-file.el (ff-other-file-name, ff-other-file-name)
6400 (ff-find-the-other-file, ff-cc-hh-converter):
6401 Remove unused local variables.
6402 (ff-get-file-name): Use string-match-p.
6403 (ff-all-dirs-under): Use ignore-errors.
6404
6405 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6406 (follow-select-if-visible): Remove unused local variable.
6407
6408 * forms.el (read-file-filter): Move declaration.
6409 (forms--make-format, forms--make-parser, forms-insert-record):
6410 Quote function with #'.
6411 (forms--update): Use string-match-p. Quote function with #'.
6412
6413 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6414 (help-make-xrefs): Use looking-at-p.
6415 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6416
6417 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6418 (ibuffer-confirm-operation-on): Use string-match-p.
6419
6420 * msb.el (msb-item-handler, msb-dired-item-handler):
6421 Mark unused arguments.
6422
6423 * ses.el (ses-decode-cell-symbol)
6424 (ses-kill-override): Remove unused local variable.
6425 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6426 (ses-load): Use ignore-errors, looking-at-p.
6427 (ses-jump-safe): Use ignore-errors.
6428 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6429
6430 * tabify.el (untabify, tabify): Mark unused arguments.
6431
6432 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6433 Mark unused argument.
6434 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6435 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6436
c880af52
JB
6437 * emacs-lisp/timer.el (timer--time): Define setter with
6438 gv-define-setter to avoid deprecation warning.
6439
5660113b 6440 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6441 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6442 (cmpl-statistics-block): Remove (body was commented out).
6443 All callers changed.
6444 (add-completions-from-buffer, load-completions-from-file):
6445 Remove unused variables.
6446
156aab80
JB
64472013-08-09 Juanma Barranquero <lekktu@gmail.com>
6448
5c5dee78
JB
6449 * filecache.el (file-cache-delete-file-list):
6450 Print message only when told so.
6451 (file-cache-files-matching): Use #' in mapconcat argument.
6452
156aab80
JB
6453 * ffap.el (ffap-url-at-point): Fix reference to variable
6454 thing-at-point-default-mail-uri-scheme.
6455
ad9dcd70
SM
64562013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6457
54bd972f
SM
6458 * subr.el (define-error): New function.
6459 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6460 error-file-not-found and define with define-error.
6461 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6462 and define with define-error.
6463 * userlock.el (file-locked, file-supersession):
6464 * simple.el (mark-inactive):
6465 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6466 * progmodes/ada-mode.el (ada-mode-errors):
6467 * play/life.el (life-extinct):
6468 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6469 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6470 * nxml/rng-util.el (rng-error):
6471 * nxml/rng-uri.el (rng-uri-error):
6472 * nxml/rng-match.el (rng-compile-error):
6473 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6474 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6475 * nxml/nxml-rap.el (nxml-scan-error):
6476 * nxml/nxml-outln.el (nxml-outline-error):
6477 * net/soap-client.el (soap-error):
6478 * net/gnutls.el (gnutls-error):
6479 * net/ange-ftp.el (ftp-error):
6480 * mpc.el (mpc-proc-error):
6481 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6482 (json-number-format, json-string-escape, json-string-format)
6483 (json-key-format, json-object-format):
6484 * jka-compr.el (compression-error):
6485 * international/quail.el (quail-error):
6486 * international/kkc.el (kkc-error):
6487 * emacs-lisp/ert.el (ert-test-failed):
6488 * calc/calc.el (calc-error, inexact-result, math-overflow)
6489 (math-underflow):
6490 * bookmark.el (bookmark-error-no-filename):
6491 * epg.el (epg-error): Define with define-error.
6492
0ea9e53a
SM
6493 * time.el (display-time-event-handler)
6494 (display-time-next-load-average): Don't call sit-for since it seems
6495 unnecessary (bug#15045).
6496
b0429158
SM
6497 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6498 Use #' instead of ' to quote functions.
6499 (checkdoc-output-mode): Use setq-local.
6500 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6501 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6502 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6503 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6504 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6505 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6506 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6507 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6508
ad9dcd70
SM
6509 * ido.el (ido-completion-help): Fix up compiler warning.
6510
77187e6f
JB
65112013-08-09 Juanma Barranquero <lekktu@gmail.com>
6512
6513 * frameset.el (frameset-p): Add autoload cookie.
6514 (frameset--jump-to-register): New function, based on code moved from
6515 register.el.
6516 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6517
6518 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6519 (frameset-restore, frameset-save, frameset-session-filter-alist):
6520 Remove declarations.
6521 (register-alist): Doc fix.
6522 (frameset-to-register): Move to frameset.el.
6523 (jump-to-register, describe-register-1): Remove frameset-specific code.
6524
9d3aa82c
JB
65252013-08-08 Juanma Barranquero <lekktu@gmail.com>
6526
6527 * allout-widgets.el (allout-widgets-pre-command-business)
6528 (allout-widgets-post-command-business)
6529 (allout-widgets-after-change-handler)
6530 (allout-decorate-item-and-context, allout-set-boundary-marker)
6531 (allout-body-modification-handler)
6532 (allout-graphics-modification-handler): Mark ignored arguments.
6533 (allout-widgets-post-command-business)
6534 (allout-widgets-exposure-change-processor)
6535 (allout-widgets-exposure-undo-processor)
6536 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6537 (allout-parse-item-at-point, allout-decorate-item-guides)
6538 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6539 * allout.el (epa-passphrase-callback-function): Declare.
6540 (allout-overlay-insert-in-front-handler)
6541 (allout-overlay-interior-modification-handler)
6542 (allout-isearch-end-handler, allout-chart-siblings)
6543 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6544 (allout-yank-processing, allout-process-exposed)
6545 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6546 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6547 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6548 (lisp-indent-defform): Mark ignored arguments.
6549 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6550 (calculate-lisp-indent): Remove unused variables.
6551 * international/characters.el (indian-2-column, arabic-2-column)
6552 (tibetan): Mark ignored arguments.
6553 (use-cjk-char-width-table): Mark ignored arguments.
6554 Remove unused variables.
6555 * international/fontset.el (build-default-fontset-data)
6556 (x-compose-font-name, create-fontset-from-fontset-spec):
6557 Mark ignored arguments.
6558 (fontset-plain-name): Remove unused variables.
6559 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6560 (keyboard-coding-system): Mark ignored arguments.
6561 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6562 * help.el (resize-temp-buffer-window):
6563 * window.el (display-buffer-in-major-side-window)
6564 (display-buffer-in-side-window, display-buffer-in-previous-window):
6565 Remove unused variables.
6566 * isearch.el (isearch-forward-symbol):
6567 * version.el (emacs-bzr-version-bzr):
6568 * international/mule-cmds.el (current-language-environment):
6569 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6570 (x-handle-display):
6571 * term/pc-win.el (x-list-fonts, x-display-planes)
6572 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6573 (x-server-version, x-display-screens, x-display-mm-height)
6574 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6575 (x-selection-owner-p, x-own-selection-internal)
6576 (x-disown-selection-internal, x-get-selection-internal)
6577 (msdos-initialize-window-system):
6578 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6579 * term/x-win.el (x-handle-no-bitmap-icon):
6580 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6581 (vc-default-find-file-hook, vc-default-extra-menu):
6582 Mark ignored arguments.
6583
0ca3f70e
SM
65842013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6587 break-condition in the context of the debugged code (bug#12685).
6588
74c5d24c
CS
65892013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6590
6591 * comint.el:
6592 Do not use an overlay to highlight the last prompt. (Bug#14744)
6593 (comint-mode): Make comint-last-prompt buffer local.
6594 (comint-last-prompt): New variable.
6595 (comint-last-prompt-overlay): Remove. Superseded by
6596 comint-last-prompt.
0ca3f70e
SM
6597 (comint-snapshot-last-prompt, comint-output-filter):
6598 Use comint-last-prompt.
74c5d24c 6599
c03c02ee
JB
66002013-08-08 Juanma Barranquero <lekktu@gmail.com>
6601
a3738d20 6602 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6603 (frameset-save): Check validity of the resulting frameset.
6604
04263d23
XF
66052013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6606
6607 * ido.el (ido-record-command): Add doc string.
6608
76c5e5ab
JB
66092013-08-08 Juanma Barranquero <lekktu@gmail.com>
6610
6611 * frameset.el (frameset): Do not disable creation of the default
6612 frameset-p predicate. Doc fix.
6613 (frameset-valid-p): New function, copied from the old predicate-p.
6614 Add additional checks.
6615 (frameset-restore): Check with frameset-valid-p.
6616 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6617 (frameset-name, frameset-description, frameset-properties)
6618 (frameset-states): Add docstring.
f9dbf1cb
JB
6619 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6620 (frameset-filter-alist): Doc fixes.
76c5e5ab 6621
bd0c3c0b
JB
66222013-08-08 Juanma Barranquero <lekktu@gmail.com>
6623
6624 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6625
c735544c
SM
66262013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6627
6628 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6629 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6630 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6631 (byte-compile-normal-call): Remove obsolescence check.
6632
2805a651
JB
66332013-08-08 Juanma Barranquero <lekktu@gmail.com>
6634
3677ffeb
JB
6635 * frameset.el (frameset-restore): Doc fix.
6636
2805a651
JB
6637 * register.el (frameset-frame-id, frameset-frame-with-id)
6638 (frameset-p, frameset-restore, frameset-save): Declare.
6639 (register-alist): Document framesets.
6640 (frameset-session-filter-alist): Declare.
6641 (frameset-to-register): New function.
6642 (jump-to-register): Implement jumping to framesets. Doc fix.
6643 (describe-register-1): Describe framesets.
6644
6645 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6646
a912c016
JB
66472013-08-07 Juanma Barranquero <lekktu@gmail.com>
6648
6649 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6650 Use lexical-binding.
6651
6652 * frameset.el (frameset): Use type vector, not list (incompatible
6653 change). Do not declare a new constructor, use the default one.
6654 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6655 `name' and `description', respectively, and add read-only slot
6656 `timestamp'. Doc fixes.
6657 (frameset-copy, frameset-persistent-filter-alist)
6658 (frameset-filter-alist, frameset-switch-to-gui-p)
6659 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6660 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6661 (frameset-filter-iconified, frameset-keep-original-display-p):
6662 Doc fixes.
6663 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6664 Rename from frameset-filter-(save|restore)-param. All callers changed.
6665 Doc fix.
6666 (frameset-p): Adapt to change to vector and be more thorough.
6667 Change arg name to OBJECT. Doc fix.
6668 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6669 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6670 All callers changed.
6671 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6672 All callers changed.
6673 (frameset--record-minibuffer-relationships): Rename from
6674 frameset--process-minibuffer-frames. All callers changed.
6675 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6676 Use new default constructor (again). Doc fix.
6677 (frameset--find-frame-if): Rename from `frameset--find-frame.
6678 All callers changed.
6679 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6680 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6681 Doc fix.
6682 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6683 PARAMETERS and WINDOW-STATE, respectively.
6684 (frameset-restore): Add new keyword argument PREDICATE.
6685 Reset frameset--target-display to nil. Doc fix.
6686
bb41480a
SM
66872013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6688
f001e98e
SM
6689 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6690 (bat-mode): Use it.
6691 (bat-mode-syntax-table): Mark \n as end-of-comment.
6692 (bat-font-lock-keywords): Remove comment rule.
6693
7679edb1
SM
6694 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6695 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6696
bb41480a
SM
6697 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6698 (byte-compile-callargs-warn): Use `push'.
6699 (byte-compile-arglist-warn): Ignore higher-order "calls".
6700 (byte-compile-file-form-autoload): Use `pcase'.
6701 (byte-compile-function-form): If quoting a symbol, check that it exists.
6702
cdc1ebb9
EZ
67032013-08-07 Eli Zaretskii <eliz@gnu.org>
6704
6705 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6706 and add a few popular commands found in batch files.
6707 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6708 (dos-mode): Doc fixes.
6709
312b1740
SM
67102013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6711
6712 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6713 (dos-mode): Use setq-local. Add space after "rem".
6714 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6715 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6716
400a3178
AM
67172013-08-07 Arni Magnusson <arnima@hafro.is>
6718
6719 * progmodes/dos.el: New file.
6720 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6721 dos-mode.
6722
3b5c03d3
GM
67232013-08-06 Glenn Morris <rgm@gnu.org>
6724
6725 * calendar/calendar.el: Add new faces, and day-header-array.
6726 (calendar-weekday-header, calendar-weekend-header)
6727 (calendar-month-header): New faces.
6728 (calendar-day-header-construct): New function.
6729 (calendar-day-header-width): Also :set calendar-day-header-array.
6730 (calendar-american-month-header, calendar-european-month-header)
6731 (calendar-iso-month-header): Use calendar- faces.
6732 (calendar-generate-month):
6733 Use calendar-day-header-array for day headers; apply faces to them.
6734 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6735 (calendar-abbrev-construct): Add optional maxlen argument.
6736 (calendar-day-name-array): Doc fix.
6737 (calendar-day-name-array, calendar-abbrev-length)
6738 (calendar-day-abbrev-array):
6739 Also :set calendar-day-header-array, and maybe redraw.
6740 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6741 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6742 (calendar-day-name): Add option to use header array.
6743
ec6a2d7a
LMI
67442013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6745
6746 * net/shr.el (shr-render-td): Remove debugging.
6747 (shr-render-td): Make width computation consistent by defaulting
6748 all zero-width columns to 10 characters. This may not be optimal,
6749 but it's at least consistent.
2122cb6d
LMI
6750 (shr-make-table-1): Redo last change to fix the real problem in
6751 colspan handling.
ec6a2d7a 6752
ed4fd9c5
DA
67532013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6754
0ca3f70e
SM
6755 * files.el (cache-long-line-scans):
6756 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6757
64e22afe
JB
67582013-08-06 Juanma Barranquero <lekktu@gmail.com>
6759
024b38fc
JB
6760 * frameset.el (frameset, frameset-filter-alist)
6761 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6762 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6763 (frameset-compute-pos): Rename from frameset--compute-pos,
6764 and add docstring.
6765 (frameset-move-onscreen): Use frameset-compute-pos.
6766 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6767
64e22afe
JB
6768 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6769 Fix typos in docstrings.
6770
c8c2aca8
DA
67712013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6772
6773 * frame.el (get-other-frame): Tiny cleanup.
6774
1d237bba
JB
67752013-08-06 Juanma Barranquero <lekktu@gmail.com>
6776
8951efef
JB
6777 * vc/vc.el (vc-default-ignore-completion-table):
6778 Silence byte-compiler warning.
6779
307764cc 6780 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 6781 slot, which can indeed be nil.
307764cc
JB
6782 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6783 Move entry for `left' from persistent to live filter alist.
6784 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6785 Doc fixes.
6786 (frameset-filter-params): When restoring a frame, copy items added to
6787 `filtered', to avoid unwittingly modifying the original parameters.
6788 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6789 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6790
1d237bba
JB
6791 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6792 to use looking-at-p instead of looking-at. (Bug#15028)
6793
dc6c0eda
SM
67942013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 Revert introduction of isearch-filter-predicates (bug#14714).
6797 Rely on add-function instead.
6798 * isearch.el (isearch-filter-predicates): Rename it back to
6799 isearch-filter-predicate.
6800 (isearch-message-prefix): Use advice-function-mapc and advice
6801 properties to get the isearch-message-prefix.
6802 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6803 instead of run-hook-with-args-until-failure.
6804 (isearch-filter-visible): Not obsolete any more.
6805 * loadup.el: Preload nadvice.
6806 * replace.el (perform-replace): Revert to funcall
6807 instead of run-hook-with-args-until-failure.
6808 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6809 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6810 dired-isearch-filenames-toggle; make it into a proper minor mode.
6811 Use add/remove-function.
6812 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6813 Call the minor-mode rather than add/remove-hook.
6814 (dired-isearch-filter-filenames):
6815 Remove isearch-message-prefix property.
6816 * info.el (Info--search-loop): New function, extracted from Info-search.
6817 Funcall isearch-filter-predicate instead of
6818 run-hook-with-args-until-failure isearch-filter-predicates.
6819 (Info-search): Use it.
6820 (Info-mode): Use isearch-filter-predicate instead of
6821 isearch-filter-predicates.
6822
290d5b58
DA
68232013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6824
6825 Do not call to `selected-window' where it is assumed by default.
6826 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6827 `window-hscroll', `window-width', `window-height', `window-buffer',
6828 `window-frame', `window-start', `window-point', `next-window'
6829 and `window-display-table'.
6830 * abbrev.el (abbrev--default-expand):
6831 * bs.el (bs--show-with-configuration):
6832 * buff-menu.el (Buffer-menu-mouse-select):
6833 * calc/calc.el (calc):
6834 * calendar/calendar.el (calendar-generate-window):
6835 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6836 (diary-make-entry):
6837 * comint.el (send-invisible, comint-dynamic-complete-filename)
6838 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6839 * completion.el (complete):
6840 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6841 * disp-table.el (describe-current-display-table):
6842 * doc-view.el (doc-view-insert-image):
6843 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6844 * ehelp.el (with-electric-help):
6845 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6846 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6847 * emacs-lisp/helper.el (Helper-help-scroller):
6848 * emulation/cua-base.el (cua--post-command-handler-1):
6849 * eshell/esh-mode.el (eshell-output-filter):
6850 * ffap.el (ffap-gnus-wrapper):
6851 * help-macro.el (make-help-screen):
6852 * hilit-chg.el (highlight-compare-buffers):
6853 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6854 * hl-line.el (global-hl-line-highlight):
6855 * icomplete.el (icomplete-simple-completing-p):
6856 * isearch.el (isearch-done):
6857 * jit-lock.el (jit-lock-stealth-fontify):
6858 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6859 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6860 * mpc.el (mpc-tagbrowser, mpc):
6861 * net/rcirc.el (rcirc-any-buffer):
6862 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6863 * play/landmark.el (landmark-max-width, landmark-max-height):
6864 * play/zone.el (zone):
6865 * progmodes/compile.el (compilation-goto-locus):
6866 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6867 * progmodes/etags.el (find-tag-other-window):
6868 * progmodes/fortran.el (fortran-column-ruler):
6869 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6870 * progmodes/verilog-mode.el (verilog-point-text):
6871 * reposition.el (reposition-window):
6872 * rot13.el (toggle-rot13-mode):
6873 * server.el (server-switch-buffer):
6874 * shell.el (shell-dynamic-complete-command)
6875 (shell-dynamic-complete-environment-variable):
6876 * simple.el (insert-buffer, set-selective-display)
6877 (delete-completion-window):
6878 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6879 (speedbar-recenter):
6880 * startup.el (fancy-splash-head):
6881 * textmodes/ispell.el (ispell-command-loop):
6882 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6883 * tutorial.el (help-with-tutorial):
6884 * vc/add-log.el (add-change-log-entry):
6885 * vc/compare-w.el (compare-windows):
6886 * vc/ediff-help.el (ediff-indent-help-message):
6887 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6888 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6889 (ediff-setup-control-frame):
6890 * vc/emerge.el (emerge-position-region):
6891 * vc/pcvs-util.el (cvs-bury-buffer):
6892 * window.el (walk-windows, mouse-autoselect-window-select):
6893 * winner.el (winner-set-conf, winner-undo): Related users changed.
6894
38276e01
JB
68952013-08-05 Juanma Barranquero <lekktu@gmail.com>
6896
6897 * frameset.el (frameset--set-id): Doc fix.
6898 (frameset-frame-id, frameset-frame-id-equal-p)
6899 (frameset-locate-frame-id): New functions.
6900 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6901 (frameset-restore): Use them.
6902
12b4c0ea
DA
69032013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6904
6905 Do not call to `selected-frame' where it is assumed by default.
6906 Affected functions are `raise-frame', `redraw-frame',
6907 `frame-first-window', `frame-terminal' and `delete-frame'.
6908 * calendar/appt.el (appt-disp-window):
6909 * epg.el (epg-wait-for-completion):
6910 * follow.el (follow-delete-other-windows-and-split)
6911 (follow-avoid-tail-recenter):
6912 * international/mule.el (set-terminal-coding-system):
6913 * mail/rmail.el (rmail-mail-return):
6914 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6915 * progmodes/f90.el (f90-add-imenu-menu):
6916 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6917 * server.el (server-switch-buffer):
6918 * simple.el (delete-completion-window):
6919 * talk.el (talk):
6920 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6921 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6922 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6923 * vc/ediff.el (ediff-documentation): Related users changed.
6924 * frame.el (selected-terminal): Remove the leftover.
6925
17f25e76
GM
69262013-08-05 Glenn Morris <rgm@gnu.org>
6927
6928 * calendar/calendar.el (calendar-generate-month):
6929 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6930 (calendar-generate-month, calendar-font-lock-keywords):
6931 Fix for calendar-day-header-width > length of any day name.
17f25e76 6932
063233c3
JB
69332013-08-05 Juanma Barranquero <lekktu@gmail.com>
6934
6935 * desktop.el (desktop-clear): Use new name of sort predicate.
6936
6937 * frameset.el (frameset): Add docstring. Move :version property to its
6938 own `version' slot.
6939 (frameset-copy): Rename from copy-frameset.
6940 (frameset-p): Check more thoroughly.
6941 (frameset-prop): Do not check for :version, which is no longer a prop.
6942 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6943 Use new :never value instead of t.
6944 (frameset-filter-alist): Expand and clarify docstring.
6945 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6946 (frameset-filter-minibuffer, frameset-filter-save-param)
6947 (frameset-filter-restore-param, frameset-filter-iconified):
6948 Add pointer to docstring of frameset-filter-alist.
6949 (frameset-filter-params): Rename filter values to be more meaningful:
6950 :never instead of t, and reverse the meanings of :save and :restore.
6951 (frameset--process-minibuffer-frames): Clarify error message.
6952 (frameset-save): Avoid unnecessary and confusing call to framep.
6953 Use new BOA constructor for framesets.
6954 (frameset--reuse-list): Doc fix.
6955 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6956 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6957 (frameset-minibufferless-first-p): Doc fix.
6958 Rename from frameset-sort-frames-for-deletion.
6959 (frameset-restore): Doc fixes. Use new function names.
6960 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6961
d5671a82
JB
69622013-08-04 Juanma Barranquero <lekktu@gmail.com>
6963
6964 * desktop.el (desktop-restore-forces-onscreen)
6965 (desktop-restore-reuses-frames): Document :keyword constant values.
6966 (desktop-filter-parameters-alist): Remove, now identical to
6967 frameset-filter-alist.
6968 (desktop--filter-tty*): Remove, moved to frameset.el.
6969 (desktop-save-frameset, desktop-restore-frameset):
6970 Do not pass :filters argument.
6971
6972 * frameset.el (frameset-live-filter-alist)
6973 (frameset-persistent-filter-alist): New variables.
6974 (frameset-filter-alist): Use them. Add autoload cookie.
6975 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6976 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6977 `frameset--id' (it's supposed to be internal to frameset.el).
6978 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6979 (frameset--initial-params): New function.
6980 (frameset--get-frame): Use it. Doc fix.
6981 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6982 Accept :all, not 'all.
6983 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6984 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6985 with fbound symbols. Fix frame id matching, and remove matching ids if
6986 the frame being restored is deleted. Obey :delete.
6987
671d5c16
SM
69882013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6989
6990 * subr.el (macrop): New function.
6991 (text-clone--maintaining): New var.
6992 (text-clone--maintain): Rename from text-clone-maintain. Use it
6993 instead of inhibit-modification-hooks.
6994
6995 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6996 a proxy, so as handle autoloads and redefinitions of the target.
6997 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6998
6999 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7000 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7001 (pcase--mutually-exclusive-p): New function.
7002 (pcase--split-consp): Use it.
7003 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7004 mutually exclusive with the current predicate.
7005
7006 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7007 (edebug-macrop): Remove. Use `macrop' instead.
7008 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7009 (ad-macro-p):
7010 * eshell/esh-cmd.el (eshell-macrop):
7011 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7012
1d44e9dc
SM
70132013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7014
7015 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7016 (advice-mapc): New function, using it.
7017 (advice-function-member-p): New function.
7018 (advice--normalize): Store the cdr in advice--saved-rewrite since
7019 that's the part that will be changed.
7020 (advice--symbol-function): New function.
7021 (advice-remove): Handle removal before the function is defined.
7022 Adjust to new advice--saved-rewrite.
7023 (advice-member-p): Use advice-function-member-p and
7024 advice--symbol-function.
7025
5414a283
JB
70262013-08-04 Juanma Barranquero <lekktu@gmail.com>
7027
51d30f2c
JB
7028 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7029 (frameset-filter-minibuffer): Doc fix.
7030 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7031 (frameset--set-id, frameset--process-minibuffer-frames)
7032 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7033 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7034
5414a283
JB
7035 * desktop.el (desktop-clear): Only delete frames when called
7036 interactively and desktop-restore-frames is non-nil. Doc fix.
7037 (desktop-read): Set desktop-saved-frameset to nil.
7038
ab419665
XF
70392013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7040
7041 * vc/vc.el (vc-ignore): Rewrite.
7042 (vc-default-ignore-completion-table):
7043 (vc--read-lines):
7044 (vc--add-line, vc--remove-regexp): New functions.
7045
7046 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7047 (vc-svn-ignore-completion-table): New function.
7048
7049 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7050 (vc-hg-ignore-completion-table):
7051 (vc-hg-find-ignore-file): New functions.
7052
7053 * vc/vc-git.el (vc-git-ignore): Rewrite.
7054 (vc-git-ignore-completion-table):
7055 (vc-git-find-ignore-file): New functions.
7056
7057 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7058
7059 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7060 (vc-bzr-ignore-completion-table):
7061 (vc-bzr-find-ignore-file): New functions.
7062
2613dea2
JB
70632013-08-03 Juanma Barranquero <lekktu@gmail.com>
7064
7065 * frameset.el (frameset-prop): New function and setter.
7066 (frameset-save): Do not modify frame list passed by the caller.
7067
9c959872
SM
70682013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7069
7070 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7071
a104f656
SM
70722013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7073
70122acf
SM
7074 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7075 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7076
a104f656
SM
7077 * custom.el (custom-initialize-default, custom-initialize-set)
7078 (custom-initialize-reset, custom-initialize-changed): Affect the
7079 toplevel-default-value (bug#6275, bug#14586).
7080 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7081 for bug#6275.
7082
f078d570
JB
70832013-08-02 Juanma Barranquero <lekktu@gmail.com>
7084
185e3b5a
JB
7085 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7086 Add cl-def* expressions.
7087
f078d570
JB
7088 * frameset.el (frameset-filter-params): Fix order of arguments.
7089
9421876d
JB
70902013-08-02 Juanma Barranquero <lekktu@gmail.com>
7091
7092 Move code related to saving frames to frameset.el.
7093 * desktop.el: Require frameset.
7094 (desktop-restore-frames): Doc fix.
7095 (desktop-restore-reuses-frames): Rename from
7096 desktop-restoring-reuses-frames.
7097 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7098 (desktop-clear): Clear frames too.
7099 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7100 (desktop--filter-tty*, desktop-save, desktop-read):
7101 Use frameset functions.
7102 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7103 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7104 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7105 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7106 (desktop--process-minibuffer-frames, desktop-save-frames)
7107 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7108 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7109 (desktop--sort-states, desktop-restoring-frames-p)
7110 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7111 (desktop-restoring-frameset-p, desktop-restore-frameset)
7112 (desktop--check-dont-save, desktop-save-frameset): New functions.
7113 (desktop--app-id): New constant.
7114 (desktop-first-buffer, desktop-buffer-ok-count)
7115 (desktop-buffer-fail-count): Move before first use.
7116 * frameset.el: New file.
7117
76dc5996
SM
71182013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7119
7120 * files.el: Use lexical-binding.
7121 (dir-locals-read-from-file): Remove unused `err' variable.
7122 (hack-dir-local-variables--warned-coding): New var.
7123 (hack-dir-local-variables): Use it to avoid repeated warnings.
7124 (make-backup-file-name--default-function): New function.
7125 (make-backup-file-name-function): Use it as default.
7126 (buffer-stale--default-function): New function.
7127 (buffer-stale-function): Use it as default.
7128 (revert-buffer-insert-file-contents--default-function): New function.
7129 (revert-buffer-insert-file-contents-function): Use it as default.
7130 (insert-directory): Avoid add-to-list.
7131
7132 * autorevert.el (auto-revert-handler): Simplify.
7133 Use buffer-stale--default-function.
7134
06d36e2b
TH
71352013-08-01 Tassilo Horn <tsdh@gnu.org>
7136
5f648ab4
TH
7137 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7138
06d36e2b
TH
7139 * whitespace.el (whitespace-ensure-local-variables): New function.
7140 (whitespace-cleanup-region): Call it.
7141 (whitespace-turn-on): Call it.
7142
a43dc424
MA
71432013-08-01 Michael Albinus <michael.albinus@gmx.de>
7144
7145 Complete file name handlers.
7146
7147 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7148 (tramp-handle-verify-visited-file-modtime)
7149 (tramp-handle-file-notify-rm-watch): New functions.
7150 (tramp-call-process): Do not bind `default-directory'.
7151
44e18199
JB
7152 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7153 Order alphabetically.
a43dc424
MA
7154 [access-file, add-name-to-file, dired-call-process]:
7155 [dired-compress-file, file-acl, file-notify-rm-watch]:
7156 [file-ownership-preserved-p, file-selinux-context]:
7157 [make-directory-internal, make-symbolic-link, set-file-acl]:
7158 [set-file-selinux-context, set-visited-file-modtime]:
7159 [verify-visited-file-modtime]: Add handler.
7160 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7161
7162 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7163 [file-notify-add-watch, file-notify-rm-watch]:
7164 [set-file-times, set-visited-file-modtime]:
7165 [verify-visited-file-modtime]: Add handler.
7166 (with-tramp-gvfs-error-message)
7167 (tramp-gvfs-handle-set-visited-file-modtime)
7168 (tramp-gvfs-fuse-file-name): Remove.
7169 (tramp-gvfs-handle-file-notify-add-watch)
7170 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7171 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7172
44e18199
JB
7173 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7174 Order alphabetically.
a43dc424
MA
7175 [file-notify-rm-watch ]: Use default Tramp handler.
7176 [executable-find]: Remove private handler.
7177 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7178 `default-directory'.
7179 (tramp-sh-handle-executable-find)
7180 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7181 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7182 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7183 Do not use `format' in `tramp-message'.
7184
7185 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7186 [file-notify-rm-watch, set-visited-file-modtime]:
7187 [verify-visited-file-modtime]: Add handler.
7188 (tramp-smb-call-winexe): Do not bind `default-directory'.
7189
7188b515
XF
71902013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7191
7192 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7193
2412ee1a
DG
71942013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7195
7196 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7197 use it.
7198 (log-view-diff-changeset): Same.
7199 (log-view-diff-common): Call backend command `previous-revision'
7200 to find out the previous revision, in both cases. Swap the
7201 variables `to' and `fr', so that `fr' usually refers to the
7202 earlier revision (Bug#14989).
7203
5002a754
KRC
72042013-07-31 Kan-Ru Chen <kanru@kanru.info>
7205
7206 * ibuf-ext.el (ibuffer-filter-by-filename):
7207 Make it work with dired buffers too.
7208
44e18199 72092013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7210
7211 * emacs-lisp/re-builder.el (reb-color-display-p):
7212 * files.el (save-buffers-kill-terminal):
7213 * net/browse-url.el (browse-url):
7214 * server.el (server-save-buffers-kill-terminal):
7215 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7216 Prefer nil to selected-frame for the first arg of frame-parameter.
7217
aeca3fbb
XF
72182013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7219
7220 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7221
158bc55c
SB
72222013-07-30 Stephen Berman <stephen.berman@gmx.net>
7223
7224 * minibuffer.el (completion--twq-all): Try and preserve each
7225 completion's case choice (bug#14907).
7226
d50fceab
LMI
72272013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7228
ac38e731
LMI
7229 * net/network-stream.el (open-network-stream): Mention the new
7230 :nogreeting parameter.
7231 (network-stream-open-starttls): Use the :nogreeting parameter
7232 (bug#14938).
7233
1211de50
LMI
7234 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7235
997798bf
LMI
7236 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7237 more natural than popping.
7238
d50fceab 7239 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7240 (shr-urlify): Highlight under mouse.
d50fceab 7241
5c09de04
XF
72422013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7243
207d1d04
XF
7244 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7245
7246 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7247
5c09de04
XF
7248 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7249 buffer for output.
7250
3cd51eaa
XF
7251 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7252 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7253
44e18199 7254 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7255 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7256
7257 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7258
7259 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7260 buffer for output.
7261
35a89bdd
EZ
72622013-07-29 Eli Zaretskii <eliz@gnu.org>
7263
7264 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7265 initial frame is minibuffer-less. (Bug#14841)
7266
78822e94
MA
72672013-07-29 Michael Albinus <michael.albinus@gmx.de>
7268
7269 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7270 option.
7271
7272 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7273 (tramp-maybe-open-connection): Use it.
7274
9503c190
JB
72752013-07-28 Juanma Barranquero <lekktu@gmail.com>
7276
7277 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7278 minimal set of parameters passed when creating a frame, because
7279 the minibuffer status of a frame cannot be changed later.
7280
d5a845b4
SB
72812013-07-28 Stephen Berman <stephen.berman@gmx.net>
7282
7283 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7284 replace-regexp-in-string and inadvertent omissions in previous change.
7285 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7286 name of filtered items buffer.
d5a845b4 7287
ddeffb17
JB
72882013-07-28 Juanma Barranquero <lekktu@gmail.com>
7289
7290 * desktop.el: Optionally force offscreen frames back onscreen.
7291 (desktop-restoring-reuses-frames): New option.
7292 (desktop--compute-pos, desktop--move-onscreen): New functions.
7293 (desktop--make-frame): Use desktop--move-onscreen.
7294
f5950f7a
AM
72952013-07-27 Alan Mackenzie <acm@muc.de>
7296
7297 Fontify a Java generic method as a function.
7298 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7299 value to t.
7300
ae43b66a
SB
73012013-07-27 Stephen Berman <stephen.berman@gmx.net>
7302
7303 * calendar/todo-mode.el: Add command to rename todo files.
7304 (todo-rename-file): New command.
7305 (todo-key-bindings-t): Add key binding for it. Change the
7306 bindings of todo-filter-regexp-items(-multifile) to use `x'
7307 instead of `r', since the latter is better suited to the new
7308 renaming command.
7309
5ab78d3d
AM
73102013-07-27 Alan Mackenzie <acm@muc.de>
7311
7312 Make Java try-with-resources statement parse properly.
7313 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7314 (c-block-stmt-1-2-key): New language constants/variables.
7315 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7316 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7317 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7318 with c-block-stmt-1-2-key.
5ab78d3d 7319
d85c4d50
JB
73202013-07-27 Juanma Barranquero <lekktu@gmail.com>
7321
7322 * desktop.el (desktop--make-frame): Apply most frame parameters after
7323 creating the frame to force (partially or totally) offscreen frames to
7324 be restored as such.
7325
e4c467f9
XF
73262013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7327
7328 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7329 (Bug#14948)
e4c467f9 7330
7ced0d04
SM
73312013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7334 `base' arg of backtrace-frame.
7335
fec92060
EZ
73362013-07-26 Eli Zaretskii <eliz@gnu.org>
7337
7338 * simple.el (list-processes): Doc fix.
7339
d58d31fb
JB
73402013-07-26 Juanma Barranquero <lekktu@gmail.com>
7341
7342 * desktop.el (desktop--select-frame):
d85c4d50 7343 Try harder to reuse existing frames.
d58d31fb 7344
53ff3e77
SM
73452013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7346
7347 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7348 (edebug-eval): Use backtrace-eval.
7349 (edebug--display, edebug--recursive-edit): Don't let-bind the
7350 edebug-outer-* vars that keep track of variables we locally let-bind.
7351 (edebug-outside-excursion): Don't restore outside values of locally
7352 let-bound vars.
7353 (edebug--display): Use user-error.
7354 (cl-lexical-debug, cl-debug-env): Remove.
7355
045f7a53
JB
73562013-07-26 Juanma Barranquero <lekktu@gmail.com>
7357
7358 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7359 are restored to be sure that they are visible before deleting any
7360 remaining ones.
7361
59070b32
MM
73622013-07-26 Matthias Meulien <orontee@gmail.com>
7363
742a3501
XF
7364 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7365 vc-print-root-log. (Bug#14948)
59070b32 7366
b1fb3596
RS
73672013-07-26 Richard Stallman <rms@gnu.org>
7368
7369 Add aliases for encrypting mail.
7370 * epa.el (epa-mail-aliases): New option.
7371 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7372 Bind inhibit-read-only so read-only text doesn't ruin everything.
7373 (epa-mail-default-recipients): New subroutine broken out.
7374 Handle epa-mail-aliases.
7375
56ea7291
SM
73762013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7377
7378 Add support for lexical variables to the debugger's `e' command.
7379 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7380 vars, except for debugger-outer-match-data.
7381 (debugger-frame-number): Move check for "on a function call" from
7382 callers into it. Add `skip-base' argument.
7383 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7384 (debugger-env-macro): Only reset the state stored in non-variables,
7385 i.e. current-buffer and match-data.
7386 (debugger-eval-expression): Rewrite using backtrace-eval.
7387 * subr.el (internal--called-interactively-p--get-frame): Remove.
7388 (called-interactively-p):
7389 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7390 `base' arg of backtrace-frame instead.
7391
15ac32d5
GM
73922013-07-26 Glenn Morris <rgm@gnu.org>
7393
8358a09d
GM
7394 * align.el (align-regexp): Doc fix. (Bug#14857)
7395 (align-region): Explicit error if subexpression missing/does not match.
7396
15ac32d5
GM
7397 * simple.el (global-visual-line-mode):
7398 Do not duplicate the mode lighter. (Bug#14858)
7399
f47ad11b
MR
74002013-07-25 Martin Rudalics <rudalics@gmx.at>
7401
7402 * window.el (display-buffer): In display-buffer bind
7403 split-window-keep-point to t, bug#14829.
7404
02530987
JB
74052013-07-25 Juanma Barranquero <lekktu@gmail.com>
7406
7407 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7408 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7409 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7410 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7411 Change accordingly.
f63ebeb5
JB
7412 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7413 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7414
6ccb9cab 74152013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7416
6ccb9cab 7417 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7418
cb3a56d2
JB
74192013-07-25 Juanma Barranquero <lekktu@gmail.com>
7420
7421 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7422 parameter to modify-frame-parameters if the value has not changed;
7423 this is a workaround for bug#14949.
7424 (desktop--make-frame): On cl-delete-if call, check parameter name,
7425 not full parameter.
7426
7aa7fff0
XF
74272013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7428
7429 * vc/vc.el (vc-ignore): New function.
7430
7431 * vc/vc-svn.el (vc-svn-ignore): New function.
7432
7433 * vc/vc-hg.el (vc-hg-ignore): New function.
7434
7435 * vc/vc-git.el (vc-git-ignore): New function.
7436
7437 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7438 (vc-dir-ignore): New function.
7439
7440 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7441 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7442
7443 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7444
7445 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7446
889acc5c
JB
74472013-07-24 Juanma Barranquero <lekktu@gmail.com>
7448
7449 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7450 (desktop-restore-frames): Warn when deleting an existing frame failed.
7451
86c40970
GM
74522013-07-24 Glenn Morris <rgm@gnu.org>
7453
7454 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7455
d5d3c58a
MA
74562013-07-24 Michael Albinus <michael.albinus@gmx.de>
7457
7458 * filenotify.el (file-notify-supported-p):
7459 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7460 Remove functions.
7461
7462 * autorevert.el (auto-revert-use-notify):
7463 (auto-revert-notify-add-watch):
7464 * net/tramp.el (tramp-file-name-for-operation):
7465 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7466 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7467 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7468 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7469 Remove `file-notify-supported-p' entry.
7470
d100084b
GM
74712013-07-24 Glenn Morris <rgm@gnu.org>
7472
7473 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7474 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7475
ac93e56b
SM
74762013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7477
249eea30
SM
7478 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7479 checked with memq (bug#14935).
7480
ac93e56b
SM
7481 * files.el (revert-buffer-function): Use a non-nil default.
7482 (revert-buffer-preserve-modes): Declare var to
7483 provide access to the `preserve-modes' argument.
7484 (revert-buffer): Let-bind it.
7485 (revert-buffer--default): New function, extracted from revert-buffer.
7486
2cdeb903
SM
74872013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 * lpr.el: Signal print errors more prominently.
7490 (print-region-function): Don't default to nil.
7491 (lpr-print-region): New function, extracted from print-region-1.
7492 Check lpr's return value and signal an error in case of problem.
7493 (print-region-1): Use it.
7494 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7495 versions instead.
7496 (ps-printer-name): Default to nil.
7497 (ps-printer-name-option): Default to lpr-printer-switch.
7498 (ps-print-region-function): Don't default to nil.
7499 (ps-postscript-code-directory): Simplify default.
7500 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7501 (ps-string-list, ps-eval-switch, ps-flatten-list)
7502 (ps-flatten-list-1): Remove.
7503 (ps-multibyte-buffer): Avoid setq.
7504 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7505 (print-region-function, ps-print-region-function): Don't set them here.
7506
73600831
XF
75072013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7508
0e55c076
XF
7509 * ido.el (ido-fractionp):
7510 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7511 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7512 (ido-max-directory-size, ido-max-dir-file-cache)
7513 (ido-decorations): Doc fix.
7514
73600831
XF
7515 * ansi-color.el: Fix old URL.
7516
3d012865
MM
75172013-07-23 Michael R. Mauger <michael@mauger.com>
7518
e903c210 7519 * progmodes/sql.el: Version 3.3
3d012865
MM
7520 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7521 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7522 (sql-interactive-remove-continuation-prompt): Rewrite, use
7523 functions above. Fix continuation prompt and complete output line
7524 handling.
7525 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7526 redirected output buffer.
7527 (sql-mode): Restore deleted code (Bug#13591).
7528
da77a2e2
JB
75292013-07-23 Juanma Barranquero <lekktu@gmail.com>
7530
7531 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7532
80ff0c71
MA
75332013-07-23 Michael Albinus <michael.albinus@gmx.de>
7534
7535 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7536
7537 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7538 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7539 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7540
b61d71e4
JB
75412013-07-23 Juanma Barranquero <lekktu@gmail.com>
7542
7543 * desktop.el (desktop-clear): Simplify; remove useless checks
7544 against invalid buffer names.
7545 (desktop-list*): Use cl-list*.
7546 (desktop-buffer-info, desktop-create-buffer): Simplify.
7547
c3512092
LL
75482013-07-23 Leo Liu <sdl.web@gmail.com>
7549
7550 * bookmark.el (bookmark-make-record): Restore NAME as a default
7551 value. (Bug#14933)
7552
0ac26976
SM
75532013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7554
7d22ce18
SM
7555 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7556 extracted from autoload--insert-text.
7557 (autoload--insert-text): Remove.
7558 (autoload--print-cookie-text): New function, extracted from
7559 autoload--insert-cookie-text.
7560 (autoload--insert-cookie-text): Remove.
7561 (autoload-generate-file-autoloads): Adjust calls accordingly.
7562
9b2607e8
SM
7563 * winner.el (winner-hook-installed-p): Remove.
7564 (winner-mode): Simplify accordingly.
7565
c43a8618
SM
7566 * subr.el (add-to-list): Fix compiler-macro when `append' is
7567 not constant. Don't use `cl-member' for the base case.
7568
0ac26976
SM
7569 * progmodes/subword.el: Fix boundary case (bug#13758).
7570 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7571 own group.
7572 (subword-backward-regexp): Make it a constant.
7573 (subword-forward-internal): Don't treat a trailing capital as the
7574 beginning of a word.
7575
6874724a
AR
75762013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7577
7578 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7579 global value of tabulated-list-revert-hook (bug#14930).
7580
70f1b5e8
JB
75812013-07-22 Juanma Barranquero <lekktu@gmail.com>
7582
a1c80d9d
JB
7583 * desktop.el: Require 'cl-lib.
7584 (desktop-before-saving-frames-functions): New hook.
7585 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7586 for frames being saved. Rename from desktop--save-minibuffer-frames.
7587 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7588 Do not save frames with non-nil `desktop-dont-save' parameter.
7589 Filter out deleted frames.
a1c80d9d
JB
7590 (desktop--find-frame): Use cl-find-if.
7591 (desktop--select-frame): Use cl-(first|second|third) to access values
7592 of desktop-mini.
7593 (desktop--make-frame): Use cl-delete-if.
7594 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7595 (desktop-restore-frames): Use cl-(first|second|third) to access values
7596 of desktop-mini. Look for visible frame at the end, not while
7597 restoring frames.
7598
70f1b5e8
JB
7599 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7600 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7601 Use string-match-p, looking-at-p (bug#14927).
7602
728dc3cc
JB
76032013-07-21 Juanma Barranquero <lekktu@gmail.com>
7604
56bc453c
JB
7605 * desktop.el (desktop-saved-frame-states):
7606 Rename from desktop--saved-states; all users changed.
7607 (desktop-save-frames): Rename from desktop--save-frames.
7608 Do not save state to desktop file.
7609 (desktop-save): Save desktop-saved-frame-states to desktop file
7610 and reset to nil.
7611 (desktop-restoring-frames-p): New function.
7612 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7613 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7614 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7615
728dc3cc
JB
7616 * desktop.el: Correctly restore iconified frames.
7617 (desktop--filter-iconified-position): New function.
7618 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7619
862f1c9c
GM
76202013-07-20 Glenn Morris <rgm@gnu.org>
7621
c4074c9f
GM
7622 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7623 Let `message' do the formatting.
7624 (def-gdb-preempt-display-buffer): Add explicit format.
7625
d828e5f9
GM
7626 * image-dired.el (image-dired-track-original-file):
7627 Use with-current-buffer.
7628 (image-dired-track-thumbnail): Use with-current-buffer.
7629 Avoid changing point of wrong window.
7630
862f1c9c
GM
7631 * image-dired.el (image-dired-track-original-file):
7632 Avoid changing point of wrong window. (Bug#14909)
7633
f0398ec1 76342013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7635
7636 * progmodes/gdb-mi.el (gdb-done-or-error):
7637 Guard against "%" in gdb output. (Bug#14127)
7638
1451928f
AS
76392013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7640
763a086d
JB
7641 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7642 (Bug#14826)
f7a03897 7643
1451928f
AS
7644 * international/mule.el (coding-system-iso-2022-flags): Fix last
7645 change.
7646
99107004
KH
76472013-07-20 Kenichi Handa <handa@gnu.org>
7648
763a086d
JB
7649 * international/mule.el (coding-system-iso-2022-flags):
7650 Add `8-bit-level-4'. (Bug#8522)
99107004 7651
48494e06
LMI
76522013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7653
8ba8eec5
LMI
7654 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7655 (bug#14815).
7656
dfbc66e3
LMI
7657 * net/eww.el (eww-process-text-input): Allow inputting when the
7658 point is at the start of the line, as the properties aren't
7659 front-sticky.
7660
48494e06
LMI
7661 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7662 degenerate widths.
7663
77c92cb9
RS
76642013-07-19 Richard Stallman <rms@gnu.org>
7665
aec7da77
RS
7666 * epa.el (epa-popup-info-window): Doc fix.
7667
77c92cb9
RS
7668 * subr.el (split-string): New arg TRIM.
7669
945c5bb1
JB
76702013-07-18 Juanma Barranquero <lekktu@gmail.com>
7671
7672 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7673 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7674
e06ec67f
MA
76752013-07-18 Michael Albinus <michael.albinus@gmx.de>
7676
c7064f05 7677 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7678 `file-notify-support'. Do not autoload. Adapt all uses.
7679 (file-notify-supported-p): New defun.
7680
c7064f05
JB
7681 * autorevert.el (auto-revert-use-notify):
7682 Use `file-notify-supported-p' instead of `file-notify-support'.
7683 Adapt docstring.
e06ec67f
MA
7684 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7685
7686 * net/tramp.el (tramp-file-name-for-operation):
7687 Add `file-notify-supported-p'.
7688
7689 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7690 New defun.
7691 (tramp-sh-file-name-handler-alist): Add it as handler for
7692 `file-notify-supported-p '.
7693
7694 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7695 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7696 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7697 Add `ignore' as handler for `file-notify-*' functions.
7698
5dc8a629
EZ
76992013-07-17 Eli Zaretskii <eliz@gnu.org>
7700
7701 * simple.el (line-move-partial, line-move): Don't start vscroll or
7702 scroll-up if the current line is not taller than the window.
7703 (Bug#14881)
7704
77aea2fb
DG
77052013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7706
7707 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7708 highlight question marks in the method names as strings.
ac72c08d
DG
7709 (ruby-block-beg-keywords): Inline.
7710 (ruby-font-lock-keyword-beg-re): Extract from
7711 `ruby-font-lock-keywords'.
77aea2fb 7712
18c26d81
JD
77132013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7714
7715 * frame.el (blink-cursor-blinks): New defcustom.
7716 (blink-cursor-blinks-done): New defvar.
7717 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7718 (blink-cursor-timer-function): Check if number of blinks has been
7719 done on X and NS.
7720 (blink-cursor-suspend, blink-cursor-check): New defuns.
7721
da48522e
GM
77222013-07-15 Glenn Morris <rgm@gnu.org>
7723
7724 * edmacro.el (edmacro-format-keys): Fix previous change.
7725
0463c1ef
PE
77262013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7727
7728 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7729 The hack didn't work outside English locales anyway.
7730
b43f6451
JB
77312013-07-15 Juanma Barranquero <lekktu@gmail.com>
7732
7733 * simple.el (define-alternatives): Rename from alternatives-define,
7734 per RMS' suggestion.
7735
b958c0ad
JB
77362013-07-14 Juanma Barranquero <lekktu@gmail.com>
7737
7738 * desktop.el (desktop-restore-frames): Change default to t.
7739 (desktop-restore-in-current-display): Now offer more options.
7740 (desktop-restoring-reuses-frames): New customization option.
7741 (desktop--saved-states): Doc fix.
7742 (desktop-filter-parameters-alist): New variable, renamed and expanded
7743 from desktop--excluded-frame-parameters.
7744 (desktop--target-display): New variable.
7745 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7746 (desktop--filter-tty*, desktop--filter-*-color)
7747 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7748 (desktop--filter-save-desktop-parm)
7749 (desktop-restore-in-original-display-p): New functions.
7750 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7751 (desktop--save-minibuffer-frames): New function, inspired by a similar
7752 function from Martin Rudalics.
7753 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7754 (desktop--restore-in-this-display-p): Remove.
7755 (desktop--find-frame): Rename from desktop--find-frame-in-display
7756 and add predicate argument.
7757 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7758 (desktop--reuse-list): New variable.
7759 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7760 New functions.
7761 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7762
f6dd8b36
MA
77632013-07-14 Michael Albinus <michael.albinus@gmx.de>
7764
7765 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7766
2ce3c565
DG
77672013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7768
763a086d
JB
7769 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7770 Highlight conversion methods on Kernel.
2ce3c565 7771
2cdb7698
AM
77722013-07-13 Alan Mackenzie <acm@muc.de>
7773
7774 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7775 and comment it out. This out-commenting enables certain C++
7776 declarations to be parsed correctly.
7777
1a67b811
EZ
77782013-07-13 Eli Zaretskii <eliz@gnu.org>
7779
1b796d6b
EZ
7780 * international/mule.el (define-coding-system): Doc fix.
7781
1a67b811
EZ
7782 * simple.el (default-font-height): Don't call font-info if the
7783 frame's default font didn't change since the frame was created.
7784 (Bug#14838)
7785
58fbe886
LL
77862013-07-13 Leo Liu <sdl.web@gmail.com>
7787
7788 * ido.el (ido-read-file-name): Guard against non-symbol value.
7789
1f0480d4
FEG
77902013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7791
7792 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7793 in nested defuns.
7794
97ead0e5
LL
77952013-07-13 Leo Liu <sdl.web@gmail.com>
7796
7797 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7798 ido-set-matches call. (Bug#6852)
7799
0880a952
DG
78002013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7801
7802 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7803 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7804 Ruby 2.0.
7805 (ruby-font-lock-keywords): Distinguish calls to functions with
7806 module-like names from module references. Highlight character
7807 literals.
7808
a7d8babb
SDJ
78092013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7810
7811 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7812 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7813
acfcc8c5
JB
78142013-07-12 Juanma Barranquero <lekktu@gmail.com>
7815
7816 * desktop.el (desktop--v2s): Remove unused local variable.
7817 (desktop-save-buffer): Make defvar-local; adjust docstring.
7818 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7819 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7820
051f2775
AS
78212013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7822
7823 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7824
f24e7572
GM
78252013-07-12 Eli Zaretskii <eliz@gnu.org>
7826
7827 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7828 (Bug#14842)
7829
539a920c
GM
78302013-07-12 Glenn Morris <rgm@gnu.org>
7831
7832 * doc-view.el: Require cl-lib at runtime too.
7833 (doc-view-remove-if): Remove.
7834 (doc-view-search-next-match, doc-view-search-previous-match):
7835 Use cl-remove-if.
7836
7837 * edmacro.el: Require cl-lib at runtime too.
7838 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7839 (edmacro-mismatch, edmacro-subseq): Remove.
7840
7841 * shadowfile.el: Require cl-lib.
7842 (shadow-remove-if): Remove.
7843 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7844 Use cl-remove-if.
7845
7846 * wid-edit.el: Require cl-lib.
7847 (widget-choose): Use cl-remove-if.
7848 (widget-remove-if): Remove.
7849
7850 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7851 (ebrowse-delete-if-not): Remove.
7852 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7853 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7854 Use cl-delete-if-not.
7855
1048af7c
JB
78562013-07-12 Juanma Barranquero <lekktu@gmail.com>
7857
7858 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7859 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7860
6c0674ee
LL
78612013-07-12 Leo Liu <sdl.web@gmail.com>
7862
7863 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7864
a19b3c2d
GM
78652013-07-11 Glenn Morris <rgm@gnu.org>
7866
4582a01c
GM
7867 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7868 (edebug-gensym-index, edebug-gensym):
7869 Remove reimplementation of cl-gensym.
7870 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7871
7872 * thumbs.el: Require cl-lib at run-time too.
7873 (thumbs-gensym-counter, thumbs-gensym):
7874 Remove reimplementation of cl-gensym.
7875 (thumbs-temp-file): Use cl-gensym.
7876
a19b3c2d
GM
7877 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7878 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7879 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7880 (ert--union, ert--gensym-counter, ert--gensym-counter)
7881 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7882 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7883 (ert-make-test-unbound, ert--expand-should-1)
7884 (ert--expand-should, ert--should-error-handle-error)
7885 (should-error, ert--explain-equal-rec)
7886 (ert--plist-difference-explanation, ert-select-tests)
7887 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7888 Use cl-lib functions rather than reimplementations.
7889
88f6a933
MA
78902013-07-11 Michael Albinus <michael.albinus@gmx.de>
7891
7892 * net/tramp.el (tramp-methods): Extend docstring.
7893 (tramp-connection-timeout): New defcustom.
7894 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7895 (with-tramp-progress-reporter): Simplify.
7896 (tramp-process-actions): Improve messages.
7897
7898 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7899 * net/tramp-sh.el (tramp-maybe-open-connection):
7900 Use `tramp-connection-timeout'.
7901 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7902 (Bug#14808)
7903
a43d577e
LL
79042013-07-11 Leo Liu <sdl.web@gmail.com>
7905
7906 * ido.el (ido-read-file-name): Conform to the requirements of
7907 read-file-name. (Bug#11861)
7908 (ido-read-directory-name): Conform to the requirements of
7909 read-directory-name.
7910
d77974bf
JB
79112013-07-11 Juanma Barranquero <lekktu@gmail.com>
7912
7913 * subr.el (delay-warning): New function.
7914
35cb8a3e
EZ
79152013-07-10 Eli Zaretskii <eliz@gnu.org>
7916
7917 * simple.el (default-line-height): New function.
7918 (line-move-partial, line-move): Use it instead of computing the
7919 line height inline.
7920 (line-move-partial): Always compute ROWH. If the last line is
7921 partially-visible, but its text is completely visible, allow
7922 cursor to enter such a partially-visible line.
7923
525c5c77
MA
79242013-07-10 Michael Albinus <michael.albinus@gmx.de>
7925
7926 Improve error messages. (Bug#14808)
7927
7928 * net/tramp.el (tramp-current-connection): New defvar, moved from
7929 tramp-sh.el.
0ac26976 7930 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7931 needed anymore.
0ac26976
SM
7932 (tramp-error-with-buffer): Show message in minibuffer.
7933 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7934 (with-tramp-progress-reporter): Improve messages.
7935 (tramp-process-actions): Use progress reporter. Delete process in
7936 case of error. Improve messages.
7937
763a086d
JB
7938 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7939 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7940 (tramp-current-connection): Remove.
525c5c77
MA
7941 (tramp-maybe-open-connection): The car of
7942 `tramp-current-connection' are the first 3 slots of the vector.
7943
c7a4d368
TZ
79442013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7945
7946 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7947 inside continued strings.
7948
954b166e
PE
79492013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7950
7951 Timestamp fixes for undo (Bug#14824).
7952 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7953
56973319
LL
79542013-07-10 Leo Liu <sdl.web@gmail.com>
7955
7956 * files.el (require-final-newline): Allow safe local value.
7957 (Bug#14834)
7958
5550a72c
LL
79592013-07-09 Leo Liu <sdl.web@gmail.com>
7960
7961 * ido.el (ido-read-directory-name): Handle fallback.
7962 (ido-read-file-name): Update DIR to ido-current-directory.
7963 (Bug#1516)
c28b9050 7964 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7965
70c46b28
DG
79662013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7967
7968 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7969 "autoload". Remove "warn lower camel case" section, previously
7970 commented out. Highlight negation char. Do not highlight the
7971 target in singleton method definitions.
7972
0b64b838
SM
79732013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7974
7fd72e2c
SM
7975 * faces.el (tty-setup-hook): Declare the hook.
7976
0b64b838
SM
7977 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7978 and detect when a guard/pred depends on local vars (bug#14773).
7979 (pcase--u1): Adjust caller.
7980
ab49d60b
EZ
79812013-07-08 Eli Zaretskii <eliz@gnu.org>
7982
7983 * simple.el (line-move-partial, line-move): Account for
7984 line-spacing.
701d79aa
EZ
7985 (line-move-partial): Avoid setting vscroll when the last
7986 partially-visible line in window is of default height.
ab49d60b 7987
2d756ae0
LMI
79882013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7989
7990 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7991 been used a while.
7992
ed095bd7
JB
79932013-07-07 Juanma Barranquero <lekktu@gmail.com>
7994
7995 * subr.el (read-quoted-char): Remove unused local variable `char'.
7996
f1e6674b
MK
79972013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7998
584ee3fc
GM
7999 * ediff.el (ediff-version): Version update.
8000 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8001 (ediff-merge-with-ancestor-command, ediff-directories-command)
8002 (ediff-directories3-command, ediff-merge-directories-command)
8003 (ediff-merge-directories-with-ancestor-command): New functions.
8004 All are command-line interfaces to ediff: to facilitate calling
8005 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8006
8007 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8008 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8009
584ee3fc
GM
8010 * viper.el (viper-version): Version update.
8011 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8012
584ee3fc
GM
80132013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8014
8015 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8016 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8017 (viper-intercept-ESC-key): Simplify.
8018 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8019 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8020 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8021 (viper-setup-ESC-to-escape): New functions.
8022 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8023 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8024
9aff9b38
EZ
80252013-07-07 Eli Zaretskii <eliz@gnu.org>
8026
5165d44a
JB
8027 * simple.el (default-font-height, window-screen-lines):
8028 New functions.
9aff9b38
EZ
8029 (line-move, line-move-partial): Use them instead of
8030 frame-char-height and window-text-height. This makes scrolling
8031 text smoother when the buffer's default face uses a font that is
8032 different from the frame's default font.
8033
1afb1d07
JD
80342013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8035
8036 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8037 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8038
23de972a
EZ
80392013-07-06 Eli Zaretskii <eliz@gnu.org>
8040
8041 * simple.el (line-move-partial): Adjust the row returned by
8042 posn-at-point for the current window-vscroll. (Bug#14567)
8043
54a42486
MA
80442013-07-06 Michael Albinus <michael.albinus@gmx.de>
8045
8046 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8047 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8048 spaces.
8049
34ada5f4
MR
80502013-07-06 Martin Rudalics <rudalics@gmx.at>
8051
8052 * window.el (window-state-put-stale-windows): New variable.
8053 (window--state-put-2): Save list of windows without matching buffer.
8054 (window-state-put): Remove "bufferless" windows if possible.
8055
11e03d89
JB
80562013-07-06 Juanma Barranquero <lekktu@gmail.com>
8057
8058 * simple.el (alternatives-define): Remove leftover :group keyword.
8059 Tweak docstring.
8060
3504a4be
LL
80612013-07-06 Leo Liu <sdl.web@gmail.com>
8062
8063 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8064 (ido-enable-virtual-buffers): New variable.
8065 (ido-buffer-internal, ido-toggle-virtual-buffers)
8066 (ido-make-buffer-list): Use it.
8067 (ido-exhibit): Support turning on and off virtual buffers
8068 automatically.
8069
61e56e2c
JB
80702013-07-06 Juanma Barranquero <lekktu@gmail.com>
8071
8072 * simple.el (alternatives-define): New macro.
8073
321e1a9c
SM
80742013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8075
8076 * subr.el (read-quoted-char): Use read-key.
8077 (sit-for): Let read-event decode tty input (bug#14782).
8078
d610f6dd
SB
80792013-07-05 Stephen Berman <stephen.berman@gmx.net>
8080
8081 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8082 mode command and externally. Fix various related bugs.
8083 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8084 (todo-delete-file): New command.
8085 (todo-check-file): New function.
8086 (todo-show): Handle external deletion of the file we're trying to
8087 show (bug#14688). Replace called-interactively-p by an optional
8088 prefix argument to avoid problematic interaction with catch form
8089 when byte compiled (bug#14702).
8090 (todo-quit): Handle external deletion of the archive's todo file.
8091 Make sure the buffer that was visiting the archive file is still
8092 live before trying to bury it.
8093 (todo-category-completions): Handle external deletion of any
8094 category completion files.
8095 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8096 of todo files, in case of external deletion.
8097 (todo-add-file): Replace unnecessary setq by let-binding.
8098 (todo-find-archive): Check whether there are any archives.
8099 Replace unnecessary setq by let-binding.
8100 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8101 archive buffer whether or not the archive already exists.
8102 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8103 check if the archive is new; if it is, update list of archives.
8104 (todo-default-todo-file): Allow nil to be a valid value for when
8105 there are no todo files.
8106 (todo-reevaluate-default-file-defcustom): Use corrected definition
8107 of todo-default-todo-file.
8108 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8109 (todo-delete-category, todo-show-categories-table)
8110 (todo-category-number): Clarify comment.
8111 (todo-filter-items): Clarify documentation string.
8112 (todo-show-current-file, todo-display-as-todo-file)
8113 (todo-reset-and-enable-done-separator): Tweak documentation string.
8114 (todo-done-separator): Make separator length window-width, since
8115 bug#2749 is now fixed.
8116
ddbdfd6f
MA
81172013-07-05 Michael Albinus <michael.albinus@gmx.de>
8118
321e1a9c
SM
8119 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8120 Support both "gvfs-monitor-dir" and "inotifywait".
8121 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8122 `tramp-sh-file-notify-process-filter'.
8123 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8124 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8125
96eb829a
LL
81262013-07-05 Leo Liu <sdl.web@gmail.com>
8127
8128 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8129
cf13177e
YM
81302013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8131
8132 * frame.el (display-pixel-height, display-pixel-width)
8133 (display-mm-height, display-mm-width): Mention behavior on
8134 multi-monitor setups in docstrings.
8135 (w32-display-monitor-attributes-list): Declare function.
8136 (display-monitor-attributes-list): Use it.
8137
864c58ca
MA
81382013-07-04 Michael Albinus <michael.albinus@gmx.de>
8139
8140 * filenotify.el: New package.
8141
8142 * autorevert.el (top): Require filenotify.el.
8143 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8144 instead.
8145 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8146 (auto-revert-notify-handler): Use `file-notify-*' functions.
8147
8148 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8149
321e1a9c
SM
8150 * net/tramp.el (tramp-file-name-for-operation):
8151 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8152
8153 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8154 for `file-notify-add-watch' and `file-notify-rm-watch'.
8155 (tramp-process-sentinel): Improve trace.
8156 (tramp-sh-handle-file-notify-add-watch)
8157 (tramp-sh-file-notify-process-filter)
8158 (tramp-sh-handle-file-notify-rm-watch)
8159 (tramp-get-remote-inotifywait): New defuns.
8160
96673afe
JL
81612013-07-03 Juri Linkov <juri@jurta.org>
8162
8163 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8164 call of `occur-read-primary-args' to interactive spec.
8165
8166 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8167 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8168
924494f4
MM
81692013-07-03 Matthias Meulien <orontee@gmail.com>
8170
8171 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8172 `Buffer-menu-multi-occur'. Add it to the menu.
8173 (Buffer-menu-mode): Document it in docstring.
8174 (Buffer-menu-multi-occur): New command. (Bug#14673)
8175
56f75efc
DG
81762013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8177
8178 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8179 keywords and built-ins.
8180
9b057d61
GM
81812013-07-03 Glenn Morris <rgm@gnu.org>
8182
208dee4d
GM
8183 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8184
9b057d61
GM
8185 Make info-xref checks case-sensitive by default
8186 * info.el (Info-find-node, Info-find-in-tag-table)
8187 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8188 Add option for exact case matching of nodes.
8189 * info-xref.el (info-xref): New custom group.
8190 (info-xref-case-fold): New option.
8191 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8192
e01aa29c
LL
81932013-07-03 Leo Liu <sdl.web@gmail.com>
8194
8195 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8196
3086ca2e
DG
81972013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8198
8199 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8200 middle of block statement initially, lower the depth. Remove
8201 FIXME comment, not longer valid. Remove middle of block statement
8202 detection, no need to do that anymore since we've been using
8203 `ruby-parse-region' here.
8204
a3b49114
JD
82052013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8206
8207 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8208
08e5c823 82092013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8210
8211 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8212
2addf922
JB
82132013-07-01 Juanma Barranquero <lekktu@gmail.com>
8214
8215 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8216 (desktop-restore-in-current-display): New customization option.
8217 (desktop--excluded-frame-parameters): Add `font'.
8218 (desktop--save-frames): Rename from desktop--save-windows.
8219 (desktop--restore-in-this-display-p): New function.
8220 (desktop--make-full-frame): Remove unwanted width/height from
8221 full(width|height) frames.
8222 (desktop--restore-frames): Rename from desktop--restore-windows.
8223 Obey desktop-restore-current-display. Do not delete old frames or
8224 select a new frame unless we were able to restore at least one frame.
8225
ef099a94
MN
82262013-06-30 Michal Nazarewicz <mina86@mina86.com>
8227
8228 * files.el (find-file-noselect): Simplify conditional expression.
8229
a12bf61e 8230 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8231 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8232
8233 Add `remember-notes' function to store random notes across Emacs
8234 restarts.
3fcfc4ee
JB
8235 * textmodes/remember.el (remember-data-file): Add :set callback to
8236 affect notes buffer (if any).
ef099a94
MN
8237 (remember-notes): New command.
8238 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8239 New defcustoms for the `remember-notes' function.
8240 (remember-notes-save-and-bury-buffer): New command.
8241 (remember-notes-mode-map): New variable.
8242 (remember-mode): New minor mode.
8243 (remember-notes--kill-buffer-query): New function.
8244 * startup.el (initial-buffer-choice): Add notes to custom type.
8245
0865d506
EZ
82462013-06-30 Eli Zaretskii <eliz@gnu.org>
8247
0ba54312
EZ
8248 * bindings.el (right-char, left-char): Don't call sit-for, this is
8249 no longer needed. Use arithmetic comparison only for numerical
8250 arguments.
8251
ef099a94
MN
8252 * international/mule-cmds.el (select-safe-coding-system):
8253 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8254
2fae38e5
LMI
82552013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8256
8257 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8258 progression on degenerate tables.
ef099a94 8259 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8260
a47cbd64
JB
82612013-06-30 Juanma Barranquero <lekktu@gmail.com>
8262
8263 Some fixes and improvements for desktop frame restoration.
8264 It is still experimental and disabled by default.
8265 * desktop.el (desktop--save-windows): Put the selected frame at
8266 the head of the list.
8267 (desktop--make-full-frame): New function.
8268 (desktop--restore-windows): Try to re-select the frame that was
8269 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8270 just show an error message and continue. Set up maximized frames
8271 so they have default non-maximized dimensions.
a47cbd64 8272
6dbafa30
DG
82732013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8274
ef099a94
MN
8275 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8276 Don't start heredoc inside a string or comment.
6dbafa30 8277
4c672a0f
EZ
82782013-06-29 Eli Zaretskii <eliz@gnu.org>
8279
8280 * bindings.el (visual-order-cursor-movement): New defcustom.
8281 (right-char, left-char): Provide visual-order cursor motion by
8282 calling move-point-visually. Update the doc strings.
8283
50960f36
KH
82842013-06-28 Kenichi Handa <handa@gnu.org>
8285
8286 * international/mule.el (define-coding-system): New coding system
8287 properties :inhibit-null-byte-detection,
8288 :inhibit-iso-escape-detection, and :prefer-utf-8.
8289 (set-buffer-file-coding-system): If :charset-list property of
8290 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8291 appropriate for setting.
8292
c1ea3abf
JB
8293 * international/mule-cmds.el (select-safe-coding-system):
8294 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8295 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8296
8297 * international/mule-conf.el (prefer-utf-8): New coding system.
8298 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8299 files.
8300
75dbaf9d
IK
83012013-06-28 Ivan Kanis <ivan@kanis.fr>
8302
eadb6068
IK
8303 * net/shr.el (shr-render-region): New function.
8304
75dbaf9d
IK
8305 * net/eww.el: Autoload `eww-browse-url'.
8306
9ea5cf9f
DG
83072013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8308
c1ea3abf
JB
8309 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8310 Adapt to `package-desc-version' being a list.
8311 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8312 archive element.
8313
39c0e36f
JB
83142013-06-27 Juanma Barranquero <lekktu@gmail.com>
8315
8316 New experimental feature to save&restore window and frame setup.
8317 * desktop.el (desktop-save-windows): New defcustom.
8318 (desktop--saved-states): New var.
8319 (desktop--excluded-frame-parameters): New defconst.
8320 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8321 (desktop--restore-windows, desktop--save-windows): New functions.
8322 (desktop-save): Call `desktop--save-windows'.
8323 (desktop-read): Call `desktop--restore-windows'.
8324
7f13406b
LMI
83252013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8326
ef099a94 8327 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8328
1e072639
SB
83292013-06-27 Stephen Berman <stephen.berman@gmx.net>
8330
8331 * info.el (Info-try-follow-nearest-node): Move search for footnote
8332 above search for node name to prevent missing a footnote (bug#14717).
8333
f3e2cbde
SB
83342013-06-27 Stephen Berman <stephen.berman@gmx.net>
8335
8336 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8337
99906aa0
LL
83382013-06-27 Leo Liu <sdl.web@gmail.com>
8339
8340 * net/eww.el (eww-read-bookmarks): Check file size.
8341
539f75f4
SM
83422013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8345 advice--pending if newdef is nil or an autoload (bug#13820).
8346 (advice-mapc): New function.
8347
843571cb
LMI
83482013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8349
8350 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8351 probably.
23a75d7f 8352 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8353 (eww-add-bookmark): New command.
8354 (eww-bookmark-mode): New mode and commands.
a285ce99 8355 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8356 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8357
f2136e1e
GM
83582013-06-26 Glenn Morris <rgm@gnu.org>
8359
eab35f39
GM
8360 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8361 (hfy-size): Handle ttys. (Bug#14668)
8362
f2136e1e
GM
8363 * info-xref.el: Update for Texinfo 5 change in *note format.
8364 (info-xref-node-re, info-xref-note-re): New constants.
8365 (info-xref-check-buffer): Use info-xref-note-re.
8366
a49ff80c
SM
83672013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8368
a343d218
SM
8369 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8370
a49ff80c
SM
8371 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8372 nil terminate the loop (bug#14718).
8373
8308f184
LMI
83742013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8375
8376 * net/eww.el: Rework history traversal. When going forward/back,
8377 put these actions into the history, too, so that they can be
8378 replayed.
26bf2b82 8379 (eww-render): Move the history reset to the correct buffer.
8308f184 8380
ec64c273
JL
83812013-06-25 Juri Linkov <juri@jurta.org>
8382
8383 * files-x.el (modify-dir-local-variable): Change the header comment
8384 in the file with directory local variables. (Bug#14692)
8385
e080a9d7
JL
8386 * files-x.el (read-file-local-variable-value): Add `default'.
8387 (Bug#14710)
8388
bfbc93a1
IK
83892013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8390
8391 * net/eww.el (eww-make-unique-file-name): Create a unique file
8392 name before saving to entering `y' accidentally asynchronously.
8393
83942013-06-25 Ivan Kanis <ivan@kanis.fr>
8395
8396 * net/eww.el (eww-download): New command and keystroke.
8397
16f74f10
LMI
83982013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8399
a49ff80c 8400 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8401
8402 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8403 be more consistent with Info and dired.
8404
8405 * net/eww.el (eww-mode-map): Ditto.
8406
12059709
SM
84072013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8408
8409 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8410 packages from archives.
8411 (package-archive-contents): Change format; include obsolete packages.
8412 (package-desc): Use `dir' to mark builtin packages.
8413 (package--from-builtin): Set the `dir' field to `builtin'.
8414 (generated-autoload-file, version-control): Declare.
8415 (package-compute-transaction): Change first arg and return value to be
8416 lists of package-descs. Adjust to new package-archive-contents format.
8417 (package--add-to-archive-contents): Adjust to new
8418 package-archive-contents format.
8419 (package-download-transaction): Arg is now a list of package-descs.
8420 (package-install): If `pkg' is a package name, pass it as
8421 a requirement, so it is subject to the usual (e.g. disabled) checks.
8422 (describe-package): Accept package-desc as well.
8423 (describe-package-1): Describe a specific package-desc. Add links to
8424 other package-descs for the same package name.
8425 (package-menu-describe-package): Pass the actual package-desc.
8426 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8427 works correctly.
8428 (package-desc-status): New function.
8429 (package-menu--refresh): New function, extracted
8430 from package-menu--generate.
8431 (package-menu--generate): Use it.
8432 (package-delete): Update package-alist.
8433 (package-menu-execute): Don't call package-initialize.
8434
8435 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8436 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8437 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8438 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8439 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8440 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8441
8bbdea0f
MR
84422013-06-25 Martin Rudalics <rudalics@gmx.at>
8443
8444 * window.el (window--state-get-1): Workaround for bug#14527.
8445 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8446
e82b0991
LMI
84472013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8448
8449 * net/eww.el (eww-back-url): Implement the history by stashing all
8450 the data into a list.
d3f0f918 8451 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8452
c763842b
SM
84532013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8454
8455 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8456 for values and use read--expression for expressions (bug#14710).
8457 (read-file-local-variable): Avoid setq.
8458 (read-file-local-variable-mode): Use minor-mode-list.
8459
bceff189
RW
84602013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8461
864c58ca 8462 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8463 for DOI URLs.
8464
45f431c6
RW
84652013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8466
864c58ca 8467 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8468 Update imenu-support when dialect changes.
8469
f42d8237
LL
84702013-06-25 Leo Liu <sdl.web@gmail.com>
8471
8472 * ido.el (ido-read-internal): Allow forward slash on windows.
8473
be549ce6
LMI
84742013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8475
8476 * net/eww.el (eww): Start of strings is \\`, not ^.
8477
71d4c19d
IK
84782013-06-24 Ivan Kanis <ivan@kanis.fr>
8479
5196f88a
IK
8480 * net/shr.el (shr-browse-url): Fix interactive spec.
8481
71d4c19d
IK
8482 * net/eww.el (eww): Add a trailing slash to domain names.
8483
ae36ca55
JB
84842013-06-24 Juanma Barranquero <lekktu@gmail.com>
8485
8486 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8487
0ebd92a3
LMI
84882013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8489
bdaa086b
LMI
8490 * net/shr.el (shr-browse-url): Use an external browser if given a
8491 prefix.
8492
c763842b 8493 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8494
b89fc156
IK
84952013-06-24 Ivan Kanis <ivan@kanis.fr>
8496
8497 * net/eww.el (eww): Work more correctly for file: URLs.
8498 (eww-detect-charset): Allow quoted charsets.
8499 (eww-yank-page-url): New command and keystroke.
8500
18eb4bca
DU
85012013-06-24 Daiki Ueno <ueno@gnu.org>
8502
8503 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8504 file name of gpg executable.
8505 (epg-context-program): New function.
8506 (epg-context-home-directory): New function.
8507 (epg-context-set-program): New function.
8508 (epg-context-set-home-directory): New function.
8509 (epg--start): Use `epg-context-program' instead of
8510 'epg-gpg-program'.
8511 (epg--list-keys-1): Likewise.
8512
6c6268c8
LL
85132013-06-24 Leo Liu <sdl.web@gmail.com>
8514
8515 * ido.el (ido-read-internal): Fix bug#14620.
8516
5e400cb3
JB
85172013-06-23 Juanma Barranquero <lekktu@gmail.com>
8518
8519 * faces.el (face-documentation): Simplify.
8520 (read-face-attribute, tty-find-type, x-resolve-font-name):
8521 Use `string-match-p'.
8522 (list-faces-display): Use `string-match-p'. Simplify.
8523 (face-spec-recalc): Check face to avoid face alias loops.
8524 (read-color): Use `string-match-p' and non-capturing parenthesis.
8525
f3f9606c
LMI
85262013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8527
8528 * net/shr.el (shr-rescale-image): Use the new
8529 :max-width/:max-height functionality.
8530
a3ca09b9
IK
85312013-06-23 Ivan Kanis <ivan@kanis.fr>
8532
8533 * net/eww.el (eww-search-prefix): New variable.
8534 (eww): Use it.
f865b474
IK
8535 (eww-external-browser): New variable.
8536 (eww-mode-map): New keystroke.
8537 (eww-browse-with-external-browser): New command.
a3ca09b9 8538
e854cfc7
IK
8539 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8540
18bb9e21
JB
85412013-06-23 Juanma Barranquero <lekktu@gmail.com>
8542
8543 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8544 Don't skip aligning the next header field when padding is 0;
8545 otherwise, field width is not respected unless the title is as
8546 wide as the field.
8547
5b165ade
SM
85482013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 * emacs-lisp/package.el (package-el-version): Remove.
8551 (package-process-define-package): Fix inf-loop.
8552 (package-install): Allow symbols as arguments again.
8553
12adebe9
DG
85542013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8555
8556 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8557 add some more keyword-like methods.
8558 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8559
388573ee
JB
85602013-06-22 Juanma Barranquero <lekktu@gmail.com>
8561
8562 * bs.el (bs-buffer-show-mark): Make defvar-local.
8563 (bs-mode): Use setq-local.
8564
8565 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8566 (emacs-lock--try-unlocking): Make defvar-local.
8567
4582a01c 85682013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8569
2663dd23
GM
8570 * play/cookie1.el (cookie-apropos): Minor simplification.
8571
3d94f3ad
GM
8572 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8573
f72e2fdb
DG
85742013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8575
8576 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8577 `regexp-opt', it breaks the build during dumping.
8578
73eab938
DG
85792013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8580
c763842b
SM
8581 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8582 Highlight keyword-like methods on Kernel and Module with
73eab938 8583 font-lock-builtin-face.
5cf8176d
DG
8584 (auto-mode-alist): Consolidate different entries into one regexp
8585 and add more *file-s.
73eab938 8586
d26255f6
SB
85872013-06-21 Stephen Berman <stephen.berman@gmx.net>
8588
8589 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8590
8591 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8592 (diary-entry): Use it in the action of this button type instead of
8593 diary-goto-entry.
8594
8595 * calendar/todo-mode.el: New version.
8596 (todo-add-category): Append new category to end of file and give
8597 it the highest number, instead of putting it at the beginning and
8598 giving it 0. Incorporate noninteractive functionality.
8599 (todo-forward-category): Adapt to 1-based category numbering.
8600 Allow skipping over archived categories.
8601 (todo-backward-category): Derive from todo-forward-category.
8602 (todo-backward-item, todo-forward-item): Make noninteractive and
8603 delegate interactive part to new commands. Make sensitive to done items.
8604 (todo-categories): Make value an alist of category names and
8605 vectors of item counts.
8606 (todo-category-beg): Make a defconst.
8607 (todo-category-number): Use 1 instead of 0 as initial value.
8608 (todo-category-select): Make sensitive to overlays, optional item
8609 highlighting and done items.
8610 (todo-delete-item): Make sensitive to overlays and marked and done items.
8611 (todo-edit-item): Make sensitive to overlays and editing of
8612 date/time header optional. Add format checks.
8613 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8614 no-op if point is not on an item. Advertise using todo-edit-quit.
8615 (todo-edit-mode): Make sensitive to new format, font-locking, and
8616 multiple todo files.
8617 (todo-insert-item, todo-insert-item-here): Derive from
8618 todo-basic-insert-item and extend functionality.
8619 (todo-item-end, todo-item-start): Make sensitive to done items.
8620 (todo-item-string): Don't return text properties. Restore point.
8621 (todo-jump-to-category): Make sensitive to multiple todo files and
8622 todo archives. Use extended category completion.
8623 (todo-lower-item, todo-raise-item): Rename to *-priority and
8624 derive from todo-set-item-priority.
8625 (todo-mode): Derive from special-mode. Make sensitive to new
8626 format, font-locking and multiple todo files. Make read-only.
8627 (todo-mode-map): Don't suppress digit keys, so they can supply
8628 prefix arguments. Add many new key bindings.
8629 (todo-prefix): Insert as an overlay instead of file text.
8630 Change semantics from diary date expression to purely visual mark.
8631 (todo-print): Rename to todo-print-buffer. Make buffer display
8632 features printable. Remove option to restrict number of items
8633 printed. Add option to print to file.
8634 (todo-print-function): Rename to todo-print-buffer-function.
8635 (todo-quit): Extend to handle exiting new todo modes.
8636 (todo-remove-item): Make sensitive to overlays.
8637 (todo-save): Extend to buffers of filtered items.
8638 (todo-show): Make sensitive to done items, multiple todo files and
8639 new todo modes. Offer to convert legacy todo file before creating
8640 first new todo file.
8641 (todo-show-priorities): Rename to todo-top-priorities.
8642 Change semantics of value 0.
8643 (todo-top-priorities): Rename to todo-filter-top-priorities,
8644 derive from todo-filter-items and extend functionality.
8645 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8646 and extend functionality to other types of filtered items.
8647 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8648 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8649 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8650 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8651 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8652 (todo-edit-mode-hook, todo-entry-prefix-function)
8653 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8654 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8655 (todo-initials, todo-insert-threshold, todo-item-string-start)
8656 (todo-line-string, todo-menu, todo-mode-hook)
8657 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8658 (todo-print-priorities, todo-remove-separator)
8659 (todo-save-top-priorities-too, todo-string-count-lines)
8660 (todo-string-multiline-p, todo-time-string-format)
8661 (todo-tmp-buffer-name): Remove.
8662 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8663 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8664 (todo-edit-category-diary-inclusion)
8665 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8666 (todo-edit-file, todo-edit-item-date-day)
8667 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8668 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8669 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8670 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8671 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8672 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8673 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8674 (todo-filter-top-priorities-multifile, todo-find-archive)
8675 (todo-find-filtered-items-file, todo-go-to-source-item)
8676 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8677 (todo-jump-to-archive-category, todo-lower-category)
8678 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8679 (todo-move-category, todo-move-item, todo-next-button)
8680 (todo-next-item, todo-padded-string, todo-powerset)
8681 (todo-previous-button, todo-previous-item)
8682 (todo-print-buffer-to-file, todo-raise-category)
8683 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8684 (todo-set-category-number, todo-set-item-priority)
8685 (todo-set-top-priorities-in-category)
8686 (todo-set-top-priorities-in-file, todo-show-categories-table)
8687 (todo-sort-categories-alphabetically-or-numerically)
8688 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8689 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8690 (todo-toggle-item-header, todo-toggle-item-highlighting)
8691 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8692 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8693 (todo-unarchive-items, todo-unmark-category): New commands.
8694 (todo-absolute-file-name, todo-add-to-buffer-list)
8695 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8696 (todo-basic-insert-item, todo-category-completions)
8697 (todo-category-number, todo-category-string-matcher-1)
8698 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8699 (todo-check-format, todo-clear-matches)
8700 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8701 (todo-current-category, todo-date-string-matcher)
8702 (todo-define-insertion-command, todo-diary-expired-matcher)
8703 (todo-diary-goto-entry, todo-diary-item-p)
8704 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8705 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8706 (todo-done-item-section-p, todo-done-separator)
8707 (todo-done-string-matcher, todo-files, todo-filter-items)
8708 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8709 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8710 (todo-insert-category-line, todo-insert-item-from-calendar)
8711 (todo-insert-sort-button, todo-insert-with-overlays)
8712 (todo-insertion-command-name, todo-insertion-key-bindings)
8713 (todo-label-to-key, todo-longest-category-name-length)
8714 (todo-make-categories-list, todo-mode-external-set)
8715 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8716 (todo-modes-set-3, todo-multiple-filter-files)
8717 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8718 (todo-read-category, todo-read-date, todo-read-dayname)
8719 (todo-read-file-name, todo-read-time)
8720 (todo-reevaluate-category-completions-files-defcustom)
8721 (todo-reevaluate-default-file-defcustom)
8722 (todo-reevaluate-filelist-defcustoms)
8723 (todo-reevaluate-filter-files-defcustom)
8724 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8725 (todo-reset-done-separator, todo-reset-done-separator-string)
8726 (todo-reset-done-string, todo-reset-global-current-todo-file)
8727 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8728 (todo-reset-prefix, todo-set-categories)
8729 (todo-set-date-from-calendar, todo-set-show-current-file)
8730 (todo-set-top-priorities, todo-short-file-name)
8731 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8732 (todo-total-item-counts, todo-update-buffer-list)
8733 (todo-update-categories-display, todo-update-categories-sexp)
8734 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8735 New functions.
8736 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8737 New major modes.
8738 (todo-categories, todo-display, todo-edit, todo-faces)
8739 (todo-filtered): New defgroups.
8740 (todo-archived-only, todo-button, todo-category-string, todo-date)
8741 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8742 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8743 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8744 (todo-add-item-if-new-category, todo-always-add-time-string)
8745 (todo-categories-align, todo-categories-archived-label)
8746 (todo-categories-category-label, todo-categories-diary-label)
8747 (todo-categories-done-label, todo-categories-number-separator)
8748 (todo-categories-todo-label, todo-categories-totals-label)
8749 (todo-category-completions-files, todo-completion-ignore-case)
8750 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8751 (todo-done-separator-string, todo-done-string)
8752 (todo-files-function, todo-filter-done-items, todo-filter-files)
8753 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8754 (todo-initial-category, todo-initial-file, todo-item-mark)
8755 (todo-legacy-date-time-regexp, todo-mode-line-function)
8756 (todo-nondiary-marker, todo-number-prefix)
8757 (todo-print-buffer-function, todo-show-current-file)
8758 (todo-show-done-only, todo-show-first, todo-show-with-done)
8759 (todo-skip-archived-categories, todo-top-priorities-overrides)
8760 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8761 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8762 New defcustoms.
8763 (todo-category-done, todo-date-pattern, todo-date-string-start)
8764 (todo-diary-items-buffer, todo-done-string-start)
8765 (todo-filtered-items-buffer, todo-item-start)
8766 (todo-month-abbrev-array, todo-month-name-array)
8767 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8768 (todo-top-priorities-buffer): New defconsts.
8769 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8770 (todo-categories-with-marks, todo-category-string-face)
8771 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8772 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8773 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8774 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8775 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8776 (todo-font-lock-keywords, todo-global-current-todo-file)
8777 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8778 (todo-insertion-commands-args)
8779 (todo-insertion-commands-args-genlist)
8780 (todo-insertion-commands-names, todo-insertion-map)
8781 (todo-key-bindings-t, todo-key-bindings-t+a)
8782 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8783 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8784 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8785 (todo-visited): New variables.
8786
cad5d1cb
GM
87872013-06-21 Glenn Morris <rgm@gnu.org>
8788
8789 * play/cookie1.el (cookie-apropos): Add optional display argument.
8790 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8791 (psychoanalyze-pinhead): Use cookie-doctor.
8792
9e277302
JB
87932013-06-21 Juanma Barranquero <lekktu@gmail.com>
8794
8795 * emacs-lisp/package.el (tar-get-file-descriptor)
8796 (tar--extract): Declare.
8797
c5b0993e
EW
87982013-06-21 Eduard Wiebe <usenet@pusto.de>
8799
8800 Extend flymake's warning predicate to be a function (bug#14217).
8801 * progmodes/flymake.el (flymake-warning-predicate): New.
8802 (flymake-parse-line): Use it.
8803 (flymake-warning-re): Make obsolete alias to
8804 `flymake-warning-predicate'.
8805
a7d2d465
SM
88062013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8807
8808 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8809 (package-obsolete-list): Remove.
8810 (package-activate): Remove min-version argument. Add `force' argument.
8811 Adjust to new package-alist format.
8812 (package-mark-obsolete): Remove.
8813 (package-unpack): Force reload of the package's autoloads.
8814 (package-installed-p): Check builtins if the installed package is not
8815 recent enough.
8816 (package-initialize): Don't reset package-obsolete-list.
8817 Don't specify which package version to activate.
8818 (package-process-define-package, describe-package-1)
8819 (package-menu--generate): Adjust to new package-alist format.
8820
cedf5c9d
JB
88212013-06-21 Juanma Barranquero <lekktu@gmail.com>
8822
8823 * allout-widgets.el (allout-widgets-mode-off)
8824 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8825 (allout-widgets-post-command-business)
8826 (allout-widgets-after-copy-or-kill-function)
8827 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8828 (allout-decorate-item-and-context)
8829 (allout-graphics-modification-handler): Fix typos in docstrings.
8830 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8831
8832 * cmuscheme.el (scheme-start-file): Doc fix.
8833 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8834 (scheme-input-filter): Use `string-match-p'.
8835
8836 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8837
8838 * dired-x.el: Use Dired consistently in docstrings.
8839
8840 * dired.el: Use Dired consistently in docstrings.
8841 (dired-readin, dired-mode): Use `setq-local'.
8842 (dired-switches-alist): Make defvar-local.
8843 (dired-buffers-for-dir): Use `zerop'.
8844 (dired-safe-switches-p, dired-switches-escape-p)
8845 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8846 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8847 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8848 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8849 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8850 (dired-toggle-marks, dired-mark-files-containing-regexp)
8851 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8852 (dired-flag-auto-save-files, dired-flag-backup-files):
8853 Use `looking-at-p'.
8854 (dired-mark-files-regexp, dired-build-subdir-alist):
8855 Use `string-match-p', `looking-at-p'.
8856
8857 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8858 (direct-print-region-helper): Use `string-match-p'.
8859
aed838b5
LL
88602013-06-21 Leo Liu <sdl.web@gmail.com>
8861
cedf5c9d
JB
8862 * comint.el (comint-redirect-results-list-from-process):
8863 Fix infinite loop.
aed838b5 8864
d80a808f
LMI
88652013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8866
8867 * net/eww.el (eww-update-header-line-format): Quote % characters.
8868
e7a526e3
GM
88692013-06-21 Glenn Morris <rgm@gnu.org>
8870
8871 * play/cookie1.el (cookie): New custom group.
8872 (cookie-file): New option.
8873 (cookie-check-file): New function.
8874 (cookie): Make it interactive. Make start and end messages optional.
8875 Interactively, display the result. Default to cookie-file.
8876 (cookie-insert): Default to cookie-file.
8877 (cookie-snarf): Make start and end messages optional.
8878 Default to cookie-file. Use with-temp-buffer.
8879 (cookie-read): Rename from read-cookie.
8880 Make start and end messages optional. Default to cookie-file.
8881 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8882 Do not autoload it.
e7a526e3
GM
8883 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8884 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8885
62efb35e
LL
88862013-06-21 Leo Liu <sdl.web@gmail.com>
8887
8888 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8889
21e3f963
GM
88902013-06-21 Glenn Morris <rgm@gnu.org>
8891
8892 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8893
fd846ab4
SM
88942013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8895 Daniel Hackney <dan@haxney.org>
8896
8897 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8898 Consolidate the single-file vs tarball code.
8899 (package-desc-suffix): New function.
8900 (package-desc-full-name): Don't bother inlining it.
8901 (package-load-descriptor): Return the new package-desc.
8902 (package-mark-obsolete): Remove unused arg `package'.
8903 (package-unpack): Make it work for single files as well.
8904 Make it update package-alist.
8905 (package--make-autoloads-and-stuff): Rename from
8906 package--make-autoloads-and-compile. Don't compile any more.
8907 (package--compile): New function.
8908 (package-generate-description-file): New function, extracted from
8909 package-unpack-single.
8910 (package-unpack-single): Remove.
8911 (package--with-work-buffer): Add indentation and debugging info.
8912 (package-download-single): Remove.
8913 (package-install-from-archive): Rename from package-download-tar, make
8914 it take a pkg-desc, and make it work for single files as well.
8915 (package-download-transaction): Simplify.
8916 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8917 external tar program.
8918 (package-install-from-buffer): Remove `pkg-desc' argument.
8919 Use package-tar-file-info for tar-mode buffers.
8920 (package-install-file): Simplify accordingly.
8921 (package-archive-base): Change to take a pkg-desc.
8922 * tar-mode.el (tar--check-descriptor): New function, extracted from
8923 tar-get-descriptor.
8924 (tar-get-descriptor): Use it.
8925 (tar-get-file-descriptor): New function.
8926 (tar--extract): New function, extracted from tar-extract.
8927 (tar--extract): Use it.
8928 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8929 case the summary uses non-ascii. Adjust to new calling convention of
8930 package-tar-file-info.
8931
b7deae5e
LL
89322013-06-21 Leo Liu <sdl.web@gmail.com>
8933
fd846ab4
SM
8934 * comint.el (comint-redirect-results-list-from-process):
8935 Fix random delay. (Bug#14681)
b7deae5e 8936
7a65a0b2
JB
89372013-06-21 Juanma Barranquero <lekktu@gmail.com>
8938
8939 * profiler.el (profiler-format-number): Use log, not log10.
8940
1493c2af
JB
89412013-06-20 Juanma Barranquero <lekktu@gmail.com>
8942
8943 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8944
aff6371e
SM
89452013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8946
8947 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8948 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8949 yet available.
8950 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8951 (AUTOGENEL): ... here.
8952 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8953 (cl--defsubst-expand): Use it.
8954
89561f72
PE
89552013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8956
8957 * subr.el (log10): Move here from C code, and declare as obsolete.
8958 All uses of (log10 X) replaced with (log X 10).
8959
47199123
JB
89602013-06-20 Juanma Barranquero <lekktu@gmail.com>
8961
8962 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8963 Declare with `defvar-local'.
8964 (tabulated-list-use-header-line, tabulated-list-entries)
8965 (tabulated-list-padding, tabulated-list-printer)
8966 (tabulated-list-sort-key): Declare with `defvar-local'.
8967 (tabulated-list-init-header, tabulated-list-print-fake-header):
8968 Use `setq-local'.
8969
4a172eab
MA
89702013-06-20 Michael Albinus <michael.albinus@gmx.de>
8971
47199123
JB
8972 * arc-mode.el (archive-mode): Add `archive-write-file' to
8973 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8974
5fc0acc0
JB
89752013-06-20 Juanma Barranquero <lekktu@gmail.com>
8976
d5b27848
JB
8977 * cus-edit.el (custom-commands): Fix typos.
8978 (custom-display): Fix tooltip text.
8979 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8980 Fix typos in docstrings.
8981 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8982 (custom-unlispify-menu-entry, custom-magic-value-create)
8983 (custom-add-see-also, custom-group-value-create): Use ?\s.
8984 (custom-guess-type, customize-apropos, editable-field)
8985 (custom-face-value-create): Use `string-match-p'.
8986 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8987
8988 * custom.el (custom-load-symbol): Use `string-match-p'.
8989
a5c581d8
JB
8990 * ansi-color.el: Convert to lexical binding.
8991 (ansi-colors): Fix URL.
8992 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8993 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8994 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8995
970ad972
G
89962013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8997
8998 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8999
9000 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9001
90022013-06-19 Tom Tromey <tromey@redhat.com>
9003
9004 * net/eww.el (eww-top-url): Remove.
9005 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9006 (eww-render): Set new variables. Don't set eww-top-url.
9007 (eww-handle-link): Handle "prev", "home", and "contents".
9008 Downcase the rel text.
9009 (eww-top-url): Choose best top URL.
9010
90112013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9012
9013 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9014 relying in widget.el. Using widget.el leads to too many
9015 user interface inconsistencies.
9016 (eww-self-insert): Implement entering commands in text fields.
9017 (eww-process-text-input): New function to make text input field editing
9018 work.
9019 (eww-submit): Rewrite to use the new-style form methods.
9020 (eww-select-display): Display the correct selected item.
9021 (eww-change-select): Implement changing the select value.
9022 (eww-toggle-checkbox): Implement radio/checkboxes.
9023 (eww-update-field): Fix compilation error.
9024 (eww-tag-textarea): Implement <textarea>.
9025
9026 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9027 we don't shadow mode-specific bindings.
9028
9029 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9030 nothing to push.
9031
9032 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9033
4582a01c 90342013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9035
9036 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9037
15b263dc
MA
90382013-06-19 Michael Albinus <michael.albinus@gmx.de>
9039
9040 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9041 not needed.
9042
9043 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9044
8f5297f7
LMI
90452013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9046
9047 * net/browse-url.el (browse-url-browser-function):
9048 `eww-browse-url' has the right calling signature, `eww' does not.
9049
011c4552
GM
90502013-06-19 Glenn Morris <rgm@gnu.org>
9051
2285bd27
GM
9052 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9053 Only eval autoloaded macros.
9054 (byte-compile-autoload): Only give the macro warning for macros.
9055
1d653303
GM
9056 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9057 (ps-underlined-faces): Declare.
9058
bdd779ec
GM
9059 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9060 (speedbar-add-supported-extension): Declare.
9061
011c4552
GM
9062 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9063 Don't include a date stamp in the header of the generated file;
9064 it leads to needless differences between output files.
9065
e59dfb0e
MA
90662013-06-19 Michael Albinus <michael.albinus@gmx.de>
9067
c763842b
SM
9068 * net/secrets.el (secrets-struct-secret-content-type):
9069 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9070 Some servers do not offer introspection.
e59dfb0e 9071
102626e2
SM
90722013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9073
9074 * electric.el (electric-pair-mode): Improve interaction with
9075 electric-layout-mode.
9076 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9077 (electric-pair-syntax): Use text-mode-syntax-table in comments
9078 and strings.
9079 (electric-pair--insert): New function.
9080 (electric-pair-post-self-insert-function): Use it and
9081 electric--after-char-pos.
9082
ad528125
LL
90832013-06-19 Leo Liu <sdl.web@gmail.com>
9084
9085 * progmodes/octave.el (octave-help): Fix regexp.
9086
924d6997
G
90872013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9088
9089 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9090 (shr-table-horizontal-line): Allow nil as a value, and change the
9091 default.
9092 (shr-insert-table-ruler): Respect the nil value.
9093
90942013-06-18 Tom Tromey <tromey@barimba>
9095
9096 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9097 New defvars.
9098 (eww-open-file): New defun.
9099 (eww-render): Initialize new variables.
9100 (eww-display-html): Handle "link" and "a".
9101 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9102 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9103 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9104 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9105 New defuns.
924d6997 9106
d1bbba4f
DG
91072013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9108
9109 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9110 Distinguish ternary operator tokens from slash symbol and slash
9111 char literal.
9112
14dd22d2
JB
91132013-06-18 Juanma Barranquero <lekktu@gmail.com>
9114
9115 Convert symbol prettification into minor mode and global minor mode.
9116
9117 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9118 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9119 (prettify-symbols--keywords): Rename from
9120 `prog-prettify-symbols-alist' and make a local defvar.
9121 (prettify-symbols--compose-symbol): Rename from
9122 `prog--prettify-font-lock-compose-symbol'.
9123 (prettify-symbols--make-keywords): Rename from
9124 `prog-prettify-font-lock-symbols-keywords' and simplify.
9125 (prog-prettify-install): Remove.
9126 (prettify-symbols-mode): New minor mode, based on
9127 `prog-prettify-install'.
9128 (turn-on-prettify-symbols-mode): New function.
9129 (global-prettify-symbols-mode): New globalized minor mode.
9130
9131 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9132 * progmodes/cfengine.el (cfengine3-mode):
9133 * progmodes/perl-mode.el (perl-mode): Don't call
9134 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9135
292c880c
JL
91362013-06-18 Juri Linkov <juri@jurta.org>
9137
9138 * files-x.el (modify-file-local-variable-message): New function.
9139 (modify-file-local-variable)
9140 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9141 and call `modify-file-local-variable-message' when it's non-nil.
9142 (add-file-local-variable, delete-file-local-variable)
9143 (add-file-local-variable-prop-line)
9144 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9145 and use it. (Bug#9820)
9146
0950aa27
JL
91472013-06-18 Juri Linkov <juri@jurta.org>
9148
9149 * emulation/vi.el (vi-shell-op):
9150 * emulation/vip.el (vip-execute-com, ex-command):
9151 * emulation/viper-cmd.el (viper-exec-bang):
9152 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9153 the call of `shell-command-on-region'. (Bug#14637)
9154
9155 * simple.el (shell-command-on-region): Doc fix.
9156
8fbcca16
SM
91572013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9158
9159 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9160 (bug#14633).
9161
dd7426ea
GM
91622013-06-18 Glenn Morris <rgm@gnu.org>
9163
4ba54f7d
GM
9164 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9165
dd7426ea
GM
9166 * newcomment.el (comment-search-forward, comment-search-backward):
9167 Doc fix. (Bug#14376)
9168
58aa805b
JB
91692013-06-18 Juanma Barranquero <lekktu@gmail.com>
9170
9171 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9172 (buffer-face-mode-invoke): Doc fix.
9173
9a08a617
MM
91742013-06-18 Matthias Meulien <orontee@gmail.com>
9175
9176 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9177 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9178
f2f426ca
GM
91792013-06-18 Glenn Morris <rgm@gnu.org>
9180
9445f99b
GM
9181 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9182 Replace obsolete function generic-make-keywords with its expansion.
9183
e0df2d14
GM
9184 * progmodes/python.el (ffap-alist): Declare.
9185
f2f426ca
GM
9186 * textmodes/reftex.el (bibtex-mode-map): Declare.
9187
f7f9a720
SM
91882013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9189
9190 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9191 (package-unpack, package-unpack-single): Return the pkg-dir.
9192 (package-download-transaction): Use it to update package-alist.
9193
57ff04e0
LMI
91942013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9195
9196 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9197 possible choice.
9198
c048c022
JL
91992013-06-17 Juri Linkov <juri@jurta.org>
9200
9201 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9202
b5bcaee5
DG
92032013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9204
a020afb9
JB
9205 * emacs-lisp/package.el (package-load-descriptor):
9206 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9207 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9208
551e07e5
JB
92092013-06-17 Juanma Barranquero <lekktu@gmail.com>
9210
9211 * startup.el (command-line): Expand package name returned by
9212 `package--description-file' (bug#14639).
9213
d363bffb
DG
92142013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9215
9216 * emacs-lisp/package.el (package-load-descriptor): Do not call
9217 `emacs-lisp-mode', just use its syntax table.
9218
f612933b
JB
92192013-06-17 Juanma Barranquero <lekktu@gmail.com>
9220
9221 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9222 `font-lock-extra-managed-props' if any prettifying keyword is added.
9223 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9224 (prog-mode): Use `setq-local'.
9225
db3b7db5
SM
92262013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9227
9228 * international/characters.el (standard-case-table): Set syntax of ?»
9229 and ?« to punctuation.
9230
f3d674df
JB
92312013-06-16 Juanma Barranquero <lekktu@gmail.com>
9232
9233 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9234 Save relevant match data before calling `syntax-ppss' (bug#14595).
9235
31489a32
JL
92362013-06-15 Juri Linkov <juri@jurta.org>
9237
9238 * files-x.el (modify-file-local-variable-prop-line): Add local
9239 variables to the end of the existing comment on the first line.
9240 Use `file-auto-mode-skip' to skip interpreter magic line,
9241 and also skip XML declaration.
9242
66bd25ab
SM
92432013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9244
9245 * startup.el (package--builtin-versions): New var.
9246 (package-subdirectory-regexp): Remove.
9247 (package--description-file): Hard code its value instead.
9248
9249 * emacs-lisp/package.el: Don't activate packages older than builtin.
9250 (package-obsolete-list): Rename from package-obsolete-alist, and make
9251 it into a simple list of package-desc.
9252 (package-strip-version): Remove.
9253 (package-built-in-p): Use package--builtin-versions.
9254 (package-mark-obsolete): Simplify.
9255 (package-process-define-package): Mark it obsolete if older than the
9256 builtin version.
9257 (package-handle-response): Use line-end-position.
9258 (package-read-archive-contents, package--download-one-archive):
9259 Simplify.
9260 (package--add-to-archive-contents): Skip if older than the builtin or
9261 installed version.
9262 (package-menu-describe-package): Fix last change.
9263 (package-list-unversioned): New var.
9264 (package-menu--generate): Use it.
9265
9266 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9267 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9268 (autoload-builtin-package-versions): New variable.
9269 (autoload-generate-file-autoloads): Use them.
9270 Remove the list of autoloaded functions/macros from the
9271 (autoload...) comments.
9272
9273 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9274
9583ec36
EZ
92752013-06-15 Eli Zaretskii <eliz@gnu.org>
9276
9277 * simple.el (line-move-partial): Don't jump to the next screen
9278 line as soon as it becomes visible. Instead, continue enlarging
9279 the vscroll until the portion of a tall screen line that's left on
9280 display is about the height of the frame's default font.
9281 (Bug#14567)
9282
f0100d8a
GM
92832013-06-15 Glenn Morris <rgm@gnu.org>
9284
b86a85ca
GM
9285 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9286 compilation-error-regexp-alist void, or local while let-bound.
9287
f0100d8a
GM
9288 * progmodes/make-mode.el (makefile-mode-syntax-table):
9289 Treat "=" as punctuation. (Bug#14614)
9290
05e7ce90
JB
92912013-06-15 Juanma Barranquero <lekktu@gmail.com>
9292
9293 * help-fns.el (describe-variable):
9294 Add extra line for permanent-local variables.
9295
12e5e86e
SH
92962013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9297
9298 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9299 Add export, import, library. (Bug#9164)
9300 (library): Set indent function.
9301
230dcbaf
GM
93022013-06-14 Glenn Morris <rgm@gnu.org>
9303
9304 * term/xterm.el (xterm--query):
9305 Stop after first matching handler. (Bug#14615)
9306
e36b2d20 93072013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9308
9309 Add support for dired in saveplace.
9310 * dired.el (dired-initial-position-hook): New variable.
9311 (dired-initial-position): Call hook to place cursor position.
9312 * saveplace.el (save-place-to-alist): Add dired position.
9313 (save-place-dired-hook): New function.
9314
0b31660d
SM
93152013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9316
bf1e6ae8
SM
9317 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9318 through a symbol rather than letrec.
9319
1b8dff23
SM
9320 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9321 (package-desc): Add `dir' field.
9322 (package-desc-full-name): New function.
9323 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9324 (package-maybe-load-descriptor): Remove.
9325 (package-load-all-descriptors): Just call package-load-descriptor.
9326 (package--disabled-p): New function.
9327 (package-desc-vers, package-desc-doc): Remove aliases.
9328 (package--dir): Remove function.
9329 (package-activate): Check if a package is disabled.
9330 (package-process-define-package): New function, extracted from
9331 define-package.
9332 (define-package): Turn into a place holder.
9333 (package-unpack-single, package-tar-file-info):
9334 Use package--description-file.
9335 (package-compute-transaction): Use package--disabled-p.
9336 (package-download-transaction): Don't call
9337 package-maybe-load-descriptor since they're all loaded anyway.
9338 (package-install): Change argument to be a pkg-desc.
9339 (package-delete): Use a single pkg-desc argument.
9340 (describe-package-1): Use package-desc-dir instead of package--dir.
9341 Use package-desc property instead of package-symbol.
9342 (package-install-button-action): Adjust accordingly.
9343 (package--push): Rewrite.
9344 (package-menu--print-info): Adjust accordingly. Change the ID format
9345 to be a pkg-desc.
9346 (package-menu-describe-package, package-menu-get-status)
9347 (package-menu--find-upgrades, package-menu-mark-upgrades)
9348 (package-menu-execute, package-menu--name-predicate):
9349 Adjust accordingly.
9350 * startup.el (package--description-file): New function.
9351 (command-line): Use it.
9352 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9353 Use package-desc-version.
9354
0b31660d
SM
9355 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9356 (byte-compile-preprocess): Use it.
9357 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9358 can't quite recognize.
9359 (byte-compile-add-to-list): Remove.
9360 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9361 (cconv-closure-convert): Add assertion.
9362
9363 * emacs-lisp/map-ynp.el: Use lexical-binding.
9364 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9365 Factor out some repeated code.
9366
de0503df
SM
93672013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * subr.el (with-eval-after-load): New macro.
9370 (eval-after-load): Allow form to be a function.
9371 take advantage of lexical-binding.
9372 (do-after-load-evaluation): Use dolist and adjust to new format.
9373 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9374
bc5c8c5a
JL
93752013-06-13 Juri Linkov <juri@jurta.org>
9376
9377 * replace.el (perform-replace): Display "symbol " and other search
9378 modes from `isearch-message-prefix' in the *Help* buffer.
9379
9380 * isearch.el (isearch-query-replace): Add " symbol" and other
9381 possible search modes from `isearch-message-prefix' to the prompt.
9382 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9383 when reading a regexp to collect.
9384
a22289f7
JL
93852013-06-13 Juri Linkov <juri@jurta.org>
9386
9387 * isearch.el (word-search-regexp): Match whitespace if the search
9388 string begins or ends in whitespace. The LAX arg is applied to
9389 both ends of the search string. Use `regexp-quote' and explicit
9390 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9391 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9392 boundaries are replaced with symbol boundaries, and characters
9393 between symbols match non-word non-symbol syntax. (Bug#14602)
9394
cb89acab
JL
93952013-06-13 Juri Linkov <juri@jurta.org>
9396
9397 * isearch.el (isearch-del-char): Don't exceed the length of
9398 `isearch-string' by the prefix arg. (Bug#14563)
9399
6e8cfc81
JL
94002013-06-13 Juri Linkov <juri@jurta.org>
9401
9402 * isearch.el (isearch-yank-word, isearch-yank-line)
9403 (isearch-char-by-name, isearch-quote-char)
9404 (isearch-printing-char, isearch-process-search-char):
9405 Add optional count prefix arg. (Bug#14563)
9406
9407 * international/isearch-x.el
9408 (isearch-process-search-multibyte-characters):
9409 Add optional count prefix arg.
9410
c23d55f4
VS
94112013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9412
9413 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9414 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9415 lexical-binding.
9416
94172013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9418
9419 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9420
ba947bc4
GM
94212013-06-13 Glenn Morris <rgm@gnu.org>
9422
8baeb37a
GM
9423 * startup.el (tty-handle-args):
9424 Don't just discard "--" and anything after. (Bug#14608)
9425
ba947bc4
GM
9426 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9427
9abefce4
MA
94282013-06-13 Michael Albinus <michael.albinus@gmx.de>
9429
9430 Implement changes in Secret Service API. Make it backward compatible.
9431 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9432 (secrets-create-item): Use it. Prefix properties with interface.
9433
5755011f
MH
94342013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9435
9436 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9437 (term-emulate-terminal): Respect term-suppress-hard-newline.
9438
1261d2da
S
94392013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9440
9441 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9442 Only remove a `thumb-file' overlay. (Bug#14548)
9443
868490bb
GJ
94442013-06-12 Grégoire Jadi <daimrod@gmail.com>
9445
9446 * mail/reporter.el (reporter-submit-bug-report):
9447 Handle missing package-name. (Bug#14600)
9448
79d7167f
TH
94492013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9450
9451 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9452 (reftex-citation-prompt, reftex-default-bibliography)
9453 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9454 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9455 (reftex-bib-sort-author, reftex-bib-sort-year)
9456 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9457 (reftex-extract-bib-entries-from-thebibliography)
9458 (reftex-get-bibkey-default, reftex-get-bib-names)
9459 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9460 (reftex-format-bib-entry, reftex-parse-bibitem)
9461 (reftex-format-bibitem, reftex-do-citation)
9462 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9463 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9464 (reftex-insert-bib-matches, reftex-format-citation)
9465 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9466 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9467 existing comments into docstrings.
9468
5f9dbd7a
XF
94692013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9470
9471 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9472
94df41ab
AS
94732013-06-12 Andreas Schwab <schwab@suse.de>
9474
9475 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9476 for auto-save files.
9477
a7f3fecc
GM
94782013-06-12 Glenn Morris <rgm@gnu.org>
9479
001809f6
GM
9480 * ido.el (ido-delete-ignored-files): Remove.
9481 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9482 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9483
834b5ded
EL
94842013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9485
08c73ed2
EL
9486 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9487
834b5ded
EL
9488 * ido.el (ido-delete-ignored-files): New function,
9489 split from ido-make-file-list-1.
9490 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9491 (ido-make-file-list-1): Use ido-delete-ignored-files.
9492
daabf15a
LL
94932013-06-12 Leo Liu <sdl.web@gmail.com>
9494
9495 * progmodes/octave.el (inferior-octave-startup)
9496 (inferior-octave-completion-table)
9497 (inferior-octave-track-window-width-change)
9498 (octave-eldoc-function-signatures, octave-help)
9499 (octave-find-definition): Use single quoted strings.
9500 (inferior-octave-startup-args): Change default value.
9501 (inferior-octave-startup): Do not hard code "-i" and
9502 "--no-line-editing".
9503 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9504 (inferior-octave-directory-tracker): Use it.
9505 (octave-goto-function-definition): Robustify.
9506 (octave-help): Support highlighting operators in 'See also'.
9507 (octave-find-definition): Find subfunctions only in Octave mode.
9508
cf4e5178
SM
95092013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9510
9511 * help-fns.el (help-fns--compiler-macro): If the handler function is
9512 named, then put a link to it.
9513 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9514 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9515 (cl-typep): Use it.
9516 (cl-eval-when): Simplify debug spec.
9517 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9518 compiler-macro function instead of setting `compiler-macro-file'.
9519
99c81280 95202013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9521
9522 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9523 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9524
f56be016
SM
95252013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9526 Daniel Hackney <dan@haxney.org>
9527
9528 First part of Daniel Hackney's patch to package.el.
9529 * emacs-lisp/package.el: Use defstruct.
9530 (package-desc): New, main struct.
9531 (package--bi-desc, package--ac-desc): New structs, used to describe the
9532 format in external files.
9533 (package-desc-vers): Replace with package-desc-version accessor.
9534 (package-desc-doc): Replace with package-desc-summary accessor.
9535 (package-activate-1): Remove `package' arg since the pkg-vec now
9536 includes the name.
9537 (define-package): Use package-desc-from-define.
9538 (package-unpack-single): Change file-name arg to be a symbol.
9539 (package--add-to-archive-contents): Use package-desc-create and new
9540 accessor functions to package--ac-desc.
9541 (package-buffer-info, package-tar-file-info): Return a package-desc.
9542 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9543 arg to be a package-desc.
9544 (package-install-file): Adjust accordingly. Use \' to match EOS.
9545 (package--from-builtin): New function.
9546 (describe-package-1, package-menu--generate): Use it.
9547 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9548 (package-generate-autoloads): Idem and return the name of the file.
9549 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9550 Change pkg-info arg to be a package-desc.
9551 Use package-make-ac-desc.
9552 (package-upload-file): Use \' to match EOS.
9553 * finder.el (finder-compile-keywords): Use package-make-builtin.
9554
31119d63
SM
95552013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9556
931a2762
SM
9557 * vc/vc.el (vc-deduce-fileset): Change error message.
9558 (vc-read-backend): New function.
9559 (vc-next-action): Use it.
9560
5a3eb0c6
SM
9561 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9562
e3eb1bb7
SM
9563 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9564 (prolog-font-lock-keywords): Use regexp-opt instead.
9565 Don't manually highlight strings.
9566 (prolog-mode-variables): Simplify comment-start-skip.
9567 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9568
31119d63
SM
9569 * emacs-lisp/generic.el (generic--normalise-comments)
9570 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9571 (generic-mode-set-comments): Use them.
9572 (generic-bracket-support): Use setq-local.
9573 (generic-make-keywords-list): Declare obsolete.
9574
7de135d0
GM
95752013-06-11 Glenn Morris <rgm@gnu.org>
9576
9577 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9578 Prettify after setting font-lock-defaults. (Bug#14574)
9579
fa6bc6fd
JB
95802013-06-11 Juanma Barranquero <lekktu@gmail.com>
9581
9582 * replace.el (query-replace, occur-read-regexp-defaults-function)
9583 (replace-search):
9584 * subr.el (declare-function, number-sequence, local-set-key)
9585 (substitute-key-definition, locate-user-emacs-file)
9586 (with-silent-modifications, split-string, eval-after-load):
9587 Fix typos, remove unneeded backslashes and reflow some docstrings.
9588
cf1f9b9a
SM
95892013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9590
9591 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9592 default for Elisp files.
9593
56602a4b
GM
95942013-06-11 Glenn Morris <rgm@gnu.org>
9595
9596 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9597 although define-derived-mode was doing this anyway. (Bug#14583)
9598
30ae0b2c
JB
95992013-06-10 Juanma Barranquero <lekktu@gmail.com>
9600
9601 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9602 Fix make-variable-buffer-local call to refer to the correct variable.
9603
fa472906
AG
96042013-06-10 Aidan Gauland <aidalgol@amuri.net>
9605
9606 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9607 (eshell-visual-subcommands, eshell-visual-options):
9608 Add summary line to docstrings. Add cross-references.
fa472906 9609
ff4871b9
GM
96102013-06-10 Glenn Morris <rgm@gnu.org>
9611
9612 * epa.el (epa-read-file-name): New function. (Bug#14510)
9613 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9614
04fcf1b0
AG
96152013-06-09 Aidan Gauland <aidalgol@amuri.net>
9616
9617 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9618 output redirection to be ignored with visual commands.
9619
88b00caa
AG
96202013-06-09 Aidan Gauland <aidalgol@amuri.net>
9621
9622 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9623 (eshell-term-initialize): Move long lambda to separate function
9624 eshell-visual-command-p.
e7b41c4c
JB
9625 * eshell/em-dirs.el (eshell-dirs-initialise):
9626 * eshell/em-script.el (eshell-script-initialize):
9627 Add missing #' to lambda.
88b00caa 9628
fda74125
LL
96292013-06-08 Leo Liu <sdl.web@gmail.com>
9630
9631 * progmodes/octave.el (octave-add-log-current-defun): New function.
9632 (octave-mode): Set add-log-current-defun-function.
9633 (octave-goto-function-definition): Do not move point if not found.
9634 (octave-find-definition): Enhance to try subfunctions first.
9635
467f3b33
GM
96362013-06-08 Glenn Morris <rgm@gnu.org>
9637
9638 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9639 (byte-compile-backward-char, byte-compile-backward-word):
9640 Improve previous change, to handle non-explicit nil.
9641
544badc3
SM
96422013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9643
9644 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9645 (smie--opener/closer-at-point): New function.
9646 (smie--matching-block-data): Use it. Don't match from right after an
9647 opener or right before a closer. Obey smie-blink-matching-inners.
9648 Don't signal a mismatch for repeated inners like "switch..case..case".
9649
a175bf33
LL
96502013-06-07 Leo Liu <sdl.web@gmail.com>
9651
9652 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9653 to t. (Bug#14303)
ce8209d4
LL
9654 (octave-function-header-regexp): Fix. (Bug#14570)
9655 (octave-help-mode-finish-hook, octave-help-mode-finish):
9656 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9657
9658 * newcomment.el (comment-search-backward): Revert last change.
9659 (Bug#14434)
9660
9661 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9662
a822acff
EZ
96632013-06-07 Eli Zaretskii <eliz@gnu.org>
9664
9665 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9666 through xargs, to avoid failure due to MS-Windows limitations on
9667 command-line length.
9668
961166f5
GM
96692013-06-06 Glenn Morris <rgm@gnu.org>
9670
d0341459
GM
9671 * font-lock.el (lisp-font-lock-keywords-2):
9672 Treat user-error like error.
9673
961166f5
GM
9674 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9675 (byte-compile-backward-char, byte-compile-backward-word):
9676 Handle explicit nil arguments. (Bug#14565)
9677
80fa505f
AM
96782013-06-05 Alan Mackenzie <acm@muc.de>
9679
9680 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9681 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9682 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9683 (Bug#9706)
80fa505f 9684
fccdc796
SM
96852013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9686
9687 * autorevert.el (auto-revert-notify-handler): Use memq.
9688 Hide assertion failure.
9689
9690 * skeleton.el: Use cl-lib.
9691 (skeleton-further-elements): Use defvar-local.
9692 (skeleton-insert): Use cl-progv.
9693
9bfff84b
TZ
96942013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9695
9696 * progmodes/prog-mode.el (prog-prettify-symbols)
9697 (prog-prettify-install): Update docstrings.
9698
55577e7c
SM
96992013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9700
9701 * simple.el: Move all the prog-mode code to prog-mode.el.
9702 * progmodes/prog-mode.el: New file.
9703 * loadup.el: Add prog-mode.el.
9704
8fc57765
TZ
97052013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9706
9707 * simple.el (prog-prettify-symbols): Add version.
9708 (prog-prettify-install): Add convenience function to prettify symbols.
9709
9710 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9711 (perl--augmented-font-lock-keywords-1)
9712 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9713 variables and use it.
9714
9715 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9716 (cfengine3-mode): Remove unneeded variable and use it.
9717
9718 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9719 (lisp--augmented-font-lock-keywords-1)
9720 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9721 Remove unneeded variables and use it.
9722
650645d5 97232013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9724
9725 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9726 to point when opening the connection. (Bug#14380)
28f5da6d 9727
781b4af6
SM
97282013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9729
9730 * subr.el (load-history-regexp, load-history-filename-element)
9731 (eval-after-load, after-load-functions, do-after-load-evaluation)
9732 (eval-next-after-load, display-delayed-warnings)
9733 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9734 definition of save-match-data.
9735 (overriding-local-map): Remove accidental obsolescence declaration.
9736
9737 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9738
3ca0d0b4
TZ
97392013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9740
9741 Generalize symbol prettify support to prog-mode and implement it
9742 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9743 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9744 (prog--prettify-font-lock-compose-symbol)
9745 (prog-prettify-font-lock-symbols-keywords): New variables and
9746 functions to support symbol prettification.
9747 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9748 (lisp--augmented-font-lock-keywords-1)
9749 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9750 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9751 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9752 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9753 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9754 * progmodes/perl-mode.el (perl-prettify-symbols)
9755 (perl--font-lock-compose-symbol)
9756 (perl--font-lock-symbols-keywords): Move to prog-mode.
9757 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9758 (perl-font-lock-keywords-1)
9759 (perl-font-lock-keywords-2): Remove explicit prettify support.
9760 (perl--augmented-font-lock-keywords)
9761 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9762 (perl--augmented-font-lock-keywords-2, perl-mode):
9763 Implement prettify support.
3ca0d0b4 9764
976cb066
LL
97652013-06-05 Leo Liu <sdl.web@gmail.com>
9766
9767 Re-implement smie matching block highlight using
9768 show-paren-data-function. (Bug#14395)
9769 * emacs-lisp/smie.el (smie-matching-block-highlight)
9770 (smie--highlight-matching-block-overlay)
9771 (smie--highlight-matching-block-lastpos)
9772 (smie-highlight-matching-block)
9773 (smie-highlight-matching-block-mode): Remove.
9774 (smie--matching-block-data-cache): New variable.
9775 (smie--matching-block-data): New function.
9776 (smie-setup): Use smie--matching-block-data for
9777 show-paren-data-function.
9778
9779 * progmodes/octave.el (octave-mode-menu): Fix.
9780 (octave-find-definition): Skip garbage lines.
9781
208d0342
SM
97822013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9783
9784 Fix compilation error with simultaneous dynamic+lexical scoping.
9785 Add warning when a defvar appears after the first let-binding.
9786 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9787 (byte-compile-close-variables): Initialize it.
9788 (byte-compile--declare-var): New function.
9789 (byte-compile-file-form-defvar)
9790 (byte-compile-file-form-define-abbrev-table)
9791 (byte-compile-file-form-custom-declare-variable): Use it.
9792 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9793 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9794 (byte-compile-bind): Handle dynamic bindings that shadow
9795 lexical bindings.
9796 (byte-compile-unbind): Make arg non-optional.
9797 (byte-compile-let): Simplify.
9798 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9799 (cconv--analyse-function, cconv-analyse-form): Populate it.
9800 Protect byte-compile-bound-variables to limit the scope of defvars.
9801 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9802 Remove unneeded rule for `declare'.
9803
9804 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9805 so as to avoid depending on cl-adjoin at run-time.
9806 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9807
9808 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9809 (macroexp--warn-and-return): Use it.
9810
1ac2891e
GM
98112013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9812
a12bf61e 9813 * subr.el: Convert to lexical binding.
1ac2891e
GM
9814 (overriding-local-map): Make obsolete.
9815 (add-to-list): Doc fix. Add compiler macro.
9816 (read-key): Swap values of local maps.
9817
2587b005
LL
98182013-06-05 Leo Liu <sdl.web@gmail.com>
9819
9820 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9821
f1da3c88
LL
98222013-06-04 Leo Liu <sdl.web@gmail.com>
9823
9824 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9825 (compilation-auto-jump): Suppress the "Mark set" message to give
9826 way to exit message.
9827
3caa391f
AM
98282013-06-04 Alan Mackenzie <acm@muc.de>
9829
9830 Remove faulty optimisation from indentation calculation.
9831 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9832 search limit based on 2000 characters back from indent-point.
9833
068922a2
TH
98342013-06-03 Tassilo Horn <tsdh@gnu.org>
9835
9836 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9837
1f8fdd53
SM
98382013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9839
bbcc4d97
SM
9840 * emacs-lisp/lisp.el: Use lexical-binding.
9841 (lisp--local-variables-1, lisp--local-variables): New functions.
9842 (lisp--local-variables-completion-table): New var.
208d0342 9843 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9844
1f8fdd53
SM
9845 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9846 eagerly (bug#14422).
9847
c9628c79
MA
98482013-06-03 Michael Albinus <michael.albinus@gmx.de>
9849
9850 * autorevert.el (auto-revert-notify-enabled)
9851 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9852 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9853 (auto-revert-notify-handler): Handle also gfilenotify.
9854
e7b41c4c 9855 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9856 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9857 Remove.
c9628c79 9858
e5e4a942
JL
98592013-06-03 Juri Linkov <juri@jurta.org>
9860
9861 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9862 `M-s h .'. (Bug#14427)
9863
9864 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9865 command `hi-lock-face-symbol-at-point'.
9866 (hi-lock-face-symbol-at-point): New command.
9867 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9868 (hi-lock-menu): Add `highlight-symbol-at-point'.
9869 (hi-lock-mode): Doc fix.
9870
9871 * isearch.el (isearch-forward-symbol-at-point): New command.
9872 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9873 (isearch-highlight-regexp): Add a regexp which matches
9874 words/symbols for word/symbol mode.
9875
9876 * subr.el (find-tag-default-bounds): New function with the body
9877 mostly moved from `find-tag-default'.
9878 (find-tag-default): Move most code to `find-tag-default-bounds',
9879 call it and apply `buffer-substring-no-properties' afterwards.
9880
26b3353a
TH
98812013-06-03 Tassilo Horn <tsdh@gnu.org>
9882
781b4af6
SM
9883 * eshell/em-term.el (eshell-term-initialize):
9884 Use `cl-intersection' rather than `intersection'.
26b3353a 9885
51b60f53
XF
98862013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9887
fe054b63 9888 * vc/log-view.el: Doc fix.
d3ffe17c 9889 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9890
a0eb10b3 98912013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9892
9893 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9894 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9895 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9896 (eieio-unbound, eieio-default-superclass)
9897 (eieio--define-field-accessors, method-static, method-before)
9898 (method-primary, method-after, method-num-lists)
9899 (method-generic-before, method-generic-primary)
9900 (method-generic-after, method-num-slots)
9901 (eieio-specialized-key-to-generic-key)
9902 (eieio--check-type, class-v, class-p)
9903 (eieio-class-name, define-obsolete-function-alias)
9904 (eieio-class-parents-fast, eieio-class-children-fast)
9905 (same-class-fast-p, class-constructor, generic-p)
9906 (generic-primary-only-p, generic-primary-only-one-p)
9907 (class-option-assoc, class-option, eieio-object-p)
9908 (class-abstract-p, class-method-invocation-order)
9909 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9910 (eieio-class-un-autoload, eieio-defclass)
9911 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9912 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9913 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9914 (eieio-defgeneric-reset-generic-form)
9915 (eieio-defgeneric-form-primary-only)
9916 (eieio-defgeneric-reset-generic-form-primary-only)
9917 (eieio-defgeneric-form-primary-only-one)
9918 (eieio-defgeneric-reset-generic-form-primary-only-one)
9919 (eieio-unbind-method-implementations)
9920 (eieio--defmethod, eieio--typep)
9921 (eieio-perform-slot-validation, eieio-validate-slot-value)
9922 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9923 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9924 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9925 (eieio-slot-name-index, eieio-class-slot-name-index)
9926 (eieio-set-defaults, eieio-initarg-to-attribute)
9927 (eieio-attribute-to-initarg, eieio-c3-candidate)
9928 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9929 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9930 (eieio-class-precedence-list, eieio-generic-call-methodname)
9931 (eieio-generic-call-arglst, eieio-generic-call-key)
9932 (eieio-generic-call-next-method-list)
9933 (eieio-pre-method-execution-functions, eieio-generic-call)
9934 (eieio-generic-call-primary-only, eieiomt-method-list)
9935 (eieiomt-optimizing-obarray, eieiomt-install)
9936 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9937 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9938 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9939 (defclass): Remove `eval-and-compile' from macro.
9940 (call-next-method, shared-initialize): Instead of using
9941 `scoped-class' variable, use new eieio--scoped-class, and
9942 eieio--with-scoped-class.
9943 (initialize-instance): Rename local variable 'scoped-class' to
9944 'this-class' to remove ambiguitity from old global.
9945
9946 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9947 eieio.el.
4f405069
JB
9948 (eieio--scoped-class-stack): New variable.
9949 (eieio--scoped-class): New fcn.
890f7890
DE
9950 (eieio--with-scoped-class): New scoping macro.
9951 (eieio-defclass): Use pushnew instead of add-to-list.
9952 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9953 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9954 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9955 `scoped-class' variable, use new eieio--scoped-class, and
9956 eieio--with-scoped-class.
9957
9958 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9959
d105b0e2
TH
99602013-06-02 Tassilo Horn <tsdh@gnu.org>
9961
9962 * eshell/esh-ext.el (eshell-external-command): Pass args to
9963 `eshell-find-interpreter'.
9964 (eshell-find-interpreter): Add new second parameter ARGS.
9965
9966 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9967 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9968
9969 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9970 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9971
9972 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9973 (eshell-visual-options): New defcustom.
9974 (eshell-escape-control-x): Adapt docstring.
9975 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9976 `eshell-visual-options' in addition to `eshell-visual-commands'.
9977 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9978
f46305c8 99792013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9980
9981 * progmodes/python.el (python-indent-block-enders): Add break,
9982 continue and raise keywords.
9983
d870df21
GM
99842013-06-01 Glenn Morris <rgm@gnu.org>
9985
9133b82e
GM
9986 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9987
02c992ec 9988 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9989 * progmodes/cc-cmds.el (delete-forward-p):
9990 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9991 * progmodes/cc-engine.el (buffer-syntactic-context):
9992 * progmodes/cc-fonts.el (face-property-instance):
9993 * progmodes/cc-mode.el (set-keymap-parents):
9994 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9995 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9996 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9997 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9998 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9999
31e7b090
GM
10000 * progmodes/cc-vars.el (other): Emacs has this widget since
10001 at least 21.1, so don't (re)define it.
10002
d870df21
GM
10003 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10004 Replace the obsolete alias pcomplete-arg-quote-list.
10005
c75c93c7
LL
100062013-06-01 Leo Liu <sdl.web@gmail.com>
10007
10008 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10009 punctuation syntax.
10010 (inferior-octave-minimal-columns)
10011 (inferior-octave-last-column-width): New variables.
10012 (inferior-octave-track-window-width-change): New function.
10013 (inferior-octave-mode): Adjust column width so that Octave output,
10014 for example from 'ls', can fit into the window nicely.
10015
973d1e12
DG
100162013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10017
10018 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10019 Highlight expansions inside regexp literals.
10020
0888c286
GM
100212013-05-31 Glenn Morris <rgm@gnu.org>
10022
e26aac1f
GM
10023 * obsolete/sym-comp.el (symbol-complete):
10024 Replace obsolete completion-annotate-function.
10025
0888c286
GM
10026 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10027
19bb8e62
DG
100282013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10029
781b4af6
SM
10030 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10031 New function, checks if point is inside a literal that allows
19bb8e62
DG
10032 expression expansion.
10033 (ruby-syntax-propertize-expansion): Use it.
10034 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10035 around the body.
10036
01dea85f
JL
100372013-05-30 Juri Linkov <juri@jurta.org>
10038
10039 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10040 to "\M-si".
10041 (isearch-invisible): New variable.
10042 (isearch-forward): Doc fix.
10043 (isearch-mode): Set `isearch-invisible'
10044 to the value of `search-invisible'.
10045 (isearch-toggle-case-fold): Doc fix.
10046 (isearch-toggle-invisible): New command.
10047 (isearch-query-replace): Let-bind `search-invisible'
10048 to the value of `isearch-invisible'.
10049 (isearch-search): Use `isearch-invisible' instead of
10050 `search-invisible'. Let-bind `search-invisible'
10051 to the value of `isearch-invisible'. (Bug#11378)
10052
ab1bdce5
JL
100532013-05-30 Juri Linkov <juri@jurta.org>
10054
10055 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10056 call when `query-flag' is nil and `search-invisible' is non-nil.
10057 (Bug#11746)
10058
d6d236e2
GM
100592013-05-30 Glenn Morris <rgm@gnu.org>
10060
8accd027
GM
10061 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10062
2a8bed1c
GM
10063 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10064 (cc-require): Suppress spurious "noruntime" warnings.
10065 (cc-require-when-compile): Use fboundp, for sake of compiler.
10066
d6d236e2
GM
10067 * progmodes/cc-mode.el: Move load of cc-vars before that of
10068 cc-langs (which in turn loads cc-vars), to quieten compiler.
10069
9190b35b
SM
100702013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10071
10072 * paren.el: Simplify the code.
10073 (show-paren-mode): Always start the timer.
10074 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10075 (show-paren--overlay, show-paren--overlay-1): Rename from
10076 show-paren-overlay and show-paren-overlay-1, and initialize to an
10077 overlay rather than to nil.
10078 (show-paren-function): Misc cleanup and simplifications.
10079
4f8d1cf6
SM
100802013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10081
10082 * paren.el (show-paren-data-function): New hook.
10083 (show-paren--default): New function, extracted from show-paren-function.
10084 (show-paren-function): Use show-paren-data-function.
10085
02d844b5
GM
100862013-05-30 Glenn Morris <rgm@gnu.org>
10087
d209d4a9
GM
10088 * ielm.el (ielm-map, ielm-complete-symbol):
10089 Use completion-at-point rather than obsolete functions.
10090 (inferior-emacs-lisp-mode): Doc fix.
10091 Set completion-at-point-functions, rather than
10092 comint-dynamic-complete-functions.
10093
2082faa6
GM
10094 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10095 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10096 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10097
dd8620de
GM
10098 * image.el (image-animated-p): Tweak definition.
10099
ceca95b1
GM
10100 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10101 (rlogin-process-connection-type): Tweak default. Add set-after.
10102 (rlogin-host): Doc fix.
10103 (rlogin): Tweak prompt.
10104 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10105
ee9f1acc
GM
10106 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10107 * progmodes/tcl.el (inferior-tcl-mode-map):
10108 Use completion-at-point rather than obsolete alias.
10109
45ce222e
GM
10110 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10111
02d844b5
GM
10112 * minibuffer.el (read-file-name-completion-ignore-case):
10113 Move before completion--in-region, for eager macro expansion.
10114
ac44d6c1
JL
101152013-05-29 Juri Linkov <juri@jurta.org>
10116
10117 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10118 for total count of matching lines. Add `global-matches' for total
10119 count of matches. Rename `matches' to `lines' for count of
10120 matching lines. Add `matches' for count of matches.
10121 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10122 to `prev-line' for line number of prev match endpt.
10123 Increment `matches' for every match. Print the number of
10124 matching lines in the header.
10125 (occur-context-lines): Rename `lines' to `curr-line'.
10126 Rename `prev-lines' to `prev-line'. (Bug#14017)
10127
3c9c9d38
JL
101282013-05-29 Juri Linkov <juri@jurta.org>
10129
10130 * replace.el (perform-replace): Add `skip-read-only-count',
10131 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10132 Increment them for corresponding conditions and report the number
10133 of skipped occurrences in the final message. (Bug#11746)
10134 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10135 (replace-string, replace-regexp): Doc fix.
10136
33e249a2
SM
101372013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10138
8e399682
SM
10139 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10140
33e249a2 10141 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10142 prog-mode-map (bug#14504).
33e249a2 10143
f236dd84
LL
101442013-05-29 Leo Liu <sdl.web@gmail.com>
10145
10146 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10147 (octave-help): Small simplification.
10148
10149 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10150 off the highlight first.
10151
3694d13f
GM
101522013-05-29 Glenn Morris <rgm@gnu.org>
10153
03983bdc
GM
10154 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10155 Handle idlwave-last-system-routine-info-cons-cell being nil.
10156
bc74a74a
GM
10157 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10158 (idlwave-write-paths): Simplify via with-temp-buffer.
10159
8b394200
GM
10160 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10161 * emulation/cua-rect.el: Also load cua-base at run time.
10162
3694d13f
GM
10163 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10164 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10165 (cperl-imenu-on-info): Require imenu.
10166
336d7284
AM
101672013-05-28 Alan Mackenzie <acm@muc.de>
10168
10169 Handle "capitalised keywords" correctly.
33e249a2 10170 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10171
cb29c582
AG
101722013-05-28 Aidan Gauland <aidalgol@amuri.net>
10173
781b4af6 10174 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10175
690e44b2
GM
101762013-05-28 Glenn Morris <rgm@gnu.org>
10177
e658d75c
GM
10178 * vc/vc-arch.el (vc-exec-after): Declare.
10179 (vc-switches): Autoload.
10180 * vc/vc-bzr.el: No need to require vc when compiling.
10181 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10182 (vc-resynch-buffer, vc-dir-refresh): Declare.
10183 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10184 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10185 (vc-resynch-buffer): Declare.
10186 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10187 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10188 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10189 (grep-read-regexp, grep-read-files, grep-expand-template)
10190 (vc-dir-refresh): Declare.
10191 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10192 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10193 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10194 * vc/vc-mtn.el (vc-exec-after): Declare.
10195 (vc-switches): Autoload.
10196 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10197 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10198 (vc-file-tree-walk): Declare.
712b9732
GM
10199 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10200 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10201 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10202 * vc/vc-svn.el (vc-exec-after): Declare.
10203 (vc-switches, vc-setup-buffer): Autoload.
10204 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10205 Autoload.
10206 (vc-resynch-buffer): Declare.
10207
98e87fb3
GM
10208 * obsolete/fast-lock.el (byte-compile-warnings):
10209 Don't warn about obsolete features in this obsolete file.
10210
f5379553
GM
10211 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10212 Move definition before use.
10213
7a20ef83
GM
10214 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10215 (dun-unix-verbs): Remove dun-zippy.
10216 (dun-zippy): Remove function.
10217
690e44b2
GM
10218 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10219
3a52ccf7
JL
102202013-05-27 Juri Linkov <juri@jurta.org>
10221
10222 * replace.el (replace-search): New function with code moved out
10223 from `perform-replace'.
10224 (replace-highlight, replace-dehighlight): Move function definitions
10225 up closer to `replace-search'. (Bug#11746)
10226
d289938a
JL
102272013-05-27 Juri Linkov <juri@jurta.org>
10228
10229 * replace.el (perform-replace): Ignore invisible matches.
10230 In addition to checking `query-replace-skip-read-only', also
10231 filter out matches by calling `run-hook-with-args-until-failure'
10232 on `isearch-filter-predicates', and also check `search-invisible'
10233 for t or call `isearch-range-invisible'.
10234 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10235
66fc57e3
JL
102362013-05-27 Juri Linkov <juri@jurta.org>
10237
10238 * isearch.el (isearch-filter-predicates): Rename from
10239 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10240 (isearch-message-prefix): Display text from the property
10241 `isearch-message-prefix' of the currently active filters.
10242 (isearch-search): Don't compare `isearch-filter-predicate' with
10243 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10244 on `isearch-filter-predicates'. Also check `search-invisible' for t
10245 or call `isearch-range-invisible'.
10246 (isearch-filter-visible): Make obsolete.
10247 (isearch-lazy-highlight-search):
10248 Call `run-hook-with-args-until-failure' on
10249 `isearch-filter-predicates' and use `isearch-range-invisible'.
10250
10251 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10252 `isearch-filter-predicates' instead of `funcall'ing
10253 `isearch-filter-predicate'.
10254 (Info-mode): Set `Info-isearch-filter' to
10255 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10256
10257 * dired-aux.el (dired-isearch-filter-predicate-orig):
10258 Remove variable.
10259 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10260 (dired-isearch-filenames-end): Add and remove
10261 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10262 instead of changing the value of `isearch-filter-predicate'.
10263 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10264 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10265 Put property `isearch-message-prefix' to "filename " on
10266 `dired-isearch-filter-filenames'.
10267
10268 * wdired.el (wdired-change-to-wdired-mode):
10269 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10270 locally instead of changing `isearch-filter-predicate'.
10271 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10272
f1a60a0f
DG
102732013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10274
10275 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10276 return the commit hash (Bug#14459). Also set the
10277 `vc-git-detached' property.
10278 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10279 (vc-git-mode-line-string): Use the same help-echo format whether
10280 in detached mode or not, because we know the actual revision now.
10281 When in detached mode, shorten the revision to 7 chars.
10282
7f17cc40
SM
102832013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * emacs-lisp/easy-mmode.el (define-minor-mode):
10286 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10287 mode hook and provide a docstring.
10288
25c8401c
AM
102892013-05-27 Alan Mackenzie <acm@muc.de>
10290
10291 Remove spurious syntax-table text properties inserted by C-y.
10292 * progmodes/cc-mode.el (c-after-change): Also clear hard
10293 syntax-table property with value nil.
10294
dde84790
MA
102952013-05-27 Michael Albinus <michael.albinus@gmx.de>
10296
10297 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10298 when reading the events; the buffer layout shall not be changed.
10299
837fd9af
LL
103002013-05-27 Leo Liu <sdl.web@gmail.com>
10301
10302 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10303 New variable.
10304 (inferior-octave-directory-tracker): Automatically re-sync
10305 default-directory.
10306 (octave-help): Improve handling of 'See also'.
10307
4fd996b3
SM
103082013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10309
416f1802
SM
10310 * doc-view.el: Minor naming convention tweaks.
10311 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10312
4fd996b3
SM
10313 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10314 even if there's no `display' property yet (bug#14435).
10315
a052ef3b
EZ
103162013-05-25 Eli Zaretskii <eliz@gnu.org>
10317
4fd996b3 10318 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10319
10320 * Makefile.in (custom-deps, finder-data, autoloads)
10321 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10322 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10323 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10324
c9023370
SM
103252013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10326
10327 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10328 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10329 Don't burp at EOB.
c9023370 10330
24d699fa
LL
103312013-05-25 Leo Liu <sdl.web@gmail.com>
10332
10333 * comint.el (comint-previous-matching-input): Do not flood the
10334 *Messages* buffer with trivial messages.
10335
17e5c0cc
SM
103362013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * progmodes/flymake.el (flymake-nop): Don't return a string.
10339 (flymake-set-at): Fix typo.
10340
10341 * simple.el (read--expression): New function, extracted from
10342 eval-expression. Set completion-at-point-functions (bug#14465).
10343 (eval-expression, eval-minibuffer): Use it.
10344
5d028165
XF
103452013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10346
10347 * progmodes/flymake.el (flymake-save-buffer-in-file)
10348 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10349 (flymake-selected-frame, flymake-log, flymake-ins-after)
10350 (flymake-set-at, flymake-get-buildfile-from-cache)
10351 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10352 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10353 Refine the doc string.
10354 (flymake-get-file-name-mode-and-masks): Reformat.
10355 (flymake-get-real-file-name-function): Fix a minor bug.
10356
7a1d7ba7
JL
103572013-05-24 Juri Linkov <juri@jurta.org>
10358
10359 * progmodes/grep.el (grep-mode-font-lock-keywords):
10360 Support =linenumber= format used by git-grep for lines with
10361 function names. (Bug#13549)
10362
650cff3d
SM
103632013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10364
10365 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10366 0 after a semi-colon; it works better for smie-auto-fill.
10367 (octave--indent-new-comment-line): New function.
10368 (octave-indent-new-comment-line): Use it (indirectly).
10369 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10370 modify comment-line-break-function.
10371
10372 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10373 (smie-setup): Use add-function to set it.
10374
9631677d
SS
103752013-05-24 Sam Steingold <sds@gnu.org>
10376
10377 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10378 argument (before the `interactive' argument).
10379
50105835
SM
103802013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10381
10382 * image-mode.el (image-mode-winprops): Add winprops to
10383 image-mode-winprops-alist before running
10384 image-mode-new-window-functions.
10385 * doc-view.el (doc-view-new-window-function): Don't delay
10386 doc-view-goto-page via timers (bug#14435).
10387
57b9823e
TH
103882013-05-24 Tassilo Horn <tsdh@gnu.org>
10389
10390 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10391 (doc-view-desktop-save-buffer): New function.
10392 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10393 (desktop-buffer-mode-handlers):
10394 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10395 handler.
10396 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10397 `desktop-save-buffer' function.
10398
91aafa16
MA
103992013-05-24 Michael Albinus <michael.albinus@gmx.de>
10400
10401 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10402 (tramp-gvfs-file-name-handler): Raise a user error when
10403 `tramp-gvfs-enabled' is nil.
10404 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10405 Do not raise a user error when loading package. (Bug#14447)
10406
ec076379
MA
10407 * net/xesam.el: Move to obsolete/.
10408
db785726
GM
104092013-05-24 Glenn Morris <rgm@gnu.org>
10410
af5c7606
GM
10411 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10412
e5d1916a
GM
10413 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10414
ded62b08
GM
10415 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10416 (Info-find-node, Man-getpage-in-background): Declare.
10417
9e614a3f
GM
10418 * mail/unrmail.el (unrmail):
10419 Replace obsolete detect-coding-with-priority.
10420
892f8ca3
GM
10421 * net/socks.el (socks-split-string): Use this rather than split-string.
10422 (socks-nslookup-host): Update for above change.
10423 (dynamic-choice, s5-dynamic-choice-match)
10424 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10425 Comment out unused code.
10426
3c291973
GM
10427 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10428 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10429 (gud-tooltip-echo-area): Make obsolete.
10430 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10431
43cc956b
GM
10432 * progmodes/js.el (js--optimize-arglist): Declare.
10433
dab49a3b
GM
10434 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10435
36b9d085
GM
10436 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10437 (ediff-window-C): Declare.
10438
e354ae76
GM
10439 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10440 Tweak requires to silence compiler.
10441
b8e57bf4
GM
10442 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10443 (he-search-string, he-tried-table, he-expand-list)
10444 (he-init-string, he-string-member, he-substitute-string)
10445 (he-reset-string): Declare.
10446
db785726
GM
10447 * obsolete/options.el (list-options): Use custom-variable-p,
10448 rather than obsolete alias.
10449
b3531901
SS
104502013-05-23 Sam Steingold <sds@gnu.org>
10451
10452 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10453 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10454 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10455
bdda4c66
SM
104562013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10457
10458 * emacs-lisp/smie.el (smie-indent-forward-token)
10459 (smie-indent-backward-token): Handle string tokens (bug#14381).
10460
c43d45f9
TH
104612013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10462
fe1eb856
RS
10463 * ielm.el (ielm-menu): New menu.
10464 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10465
fe1eb856
RS
104662013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10467
a12bf61e 10468 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10469 Fix deactivate action.
10470
a12bf61e 10471 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10472 Add cleveref macros.
074dd971 10473
a12bf61e 10474 * textmodes/reftex-parse.el
c43d45f9
TH
10475 (reftex-locate-bibliography-files): Accept options for
10476 bibliography commands.
a12bf61e 10477 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10478 Add addbibresource. Basic Biblatex support.
10479
7764286e
MA
104802013-05-23 Michael Albinus <michael.albinus@gmx.de>
10481
10482 * net/tramp-gvfs.el (top):
10483 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10484 when loading package. (Bug#14447)
10485
d361bc10
GM
104862013-05-23 Glenn Morris <rgm@gnu.org>
10487
8fa23984
GM
10488 * progmodes/js.el: No need to load comint when compiling.
10489 (ring-insert, comint-send-string, comint-send-input)
10490 (comint-last-input-end, ido-chop): Declare.
10491
a5c7df1a
GM
10492 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10493 * vc/ediff-mult.el: Adjust requires.
10494 (ediff-directories-internal, ediff-directory-revisions-internal)
10495 (ediff-patch-file-internal): Declare.
10496 * vc/ediff-ptch.el: Adjust requires.
10497 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10498 (ediff-find-file): Autoload.
10499 * vc/ediff-util.el: No need to load ediff when compiling.
10500 (ediff-regions-internal): Declare.
10501 * vc/ediff-wind.el: Adjust requires.
10502 (ediff-compute-toolbar-width): Define when compiling.
10503 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10504 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10505 (dired-get-filename, dired-get-marked-files)
10506 (ediff-last-dir-patch, ediff-patch-default-directory)
10507 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10508 (ediff-patch-buffer-internal): Declare.
10509
e2aec513
GM
10510 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10511 (ispell-process, ispell-buffer-local-words, lm-summary)
10512 (lm-section-start, lm-section-end): Declare.
10513 (checkdoc-ispell-init): Simplify.
10514
e68bbd7c
GM
10515 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10516 (he-string-member, he-reset-string, he-substitute-string): Declare.
10517
7efe0991
GM
10518 * eshell/em-ls.el: Adjust requires.
10519 (eshell-glob-regexp): Declare.
f87b1284
GM
10520 * eshell/em-tramp.el: Adjust requires.
10521 (eshell-parse-command): Autoload.
10522 * eshell/em-xtra.el: Adjust requires.
10523 (eshell-parse-command): Autoload.
10524 * eshell/esh-ext.el: Adjust requires.
10525 (eshell-parse-command, eshell-close-handles): Autoload.
10526 * eshell/esh-io.el: Adjust requires.
10527 (eshell-output-filter): Autoload.
10528 * eshell/esh-util.el: No need to load tramp when compiling.
10529 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10530 Declare.
10531 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10532 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10533 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10534 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10535 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10536 * eshell/esh-opt.el, eshell/esh-proc.el:
10537 * eshell/esh-var.el: Adjust requires.
10538 * eshell/eshell.el: Do not require esh-util twice.
10539 (eshell-add-input-to-history): Declare.
10540 (eshell-command): Check history module is active before using it.
10541
d361bc10
GM
10542 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10543
85d090a9
LL
105442013-05-22 Leo Liu <sdl.web@gmail.com>
10545
10546 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10547
5d0acd9d
MA
105482013-05-22 Michael Albinus <michael.albinus@gmx.de>
10549
10550 * autorevert.el (auto-revert-notify-add-watch)
10551 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10552 it indicates changes in file modification time.
10553
0cdffd7d
GM
105542013-05-22 Glenn Morris <rgm@gnu.org>
10555
ca5995ec
GM
10556 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10557 Always delete the autoloaded function from the noruntime and
10558 unresolved functions lists.
10559
6450907e
GM
10560 * allout.el: No need to load epa, epg, overlay when compiling.
10561 (epg-context-set-passphrase-callback, epg-list-keys)
10562 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10563 (epg-key-user-id-list): Declare.
10564
9c6906f6
GM
10565 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10566 (viper-set-parsing-style-toggling-macro)
10567 (viper-set-emacs-state-searchstyle-macros):
10568 Use called-interactively-p on Emacs.
10569 (viper-looking-back): Make it an obsolete alias. Update callers.
10570 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10571 Use looking-back rather than viper-looking-back.
10572 (viper-tmp-insert-at-eob, viper-enlarge-region)
10573 (viper-read-string-with-history, viper-register-to-point)
10574 (viper-append-to-register, viper-change-state-to-vi)
10575 (viper-backward-char-carefully, viper-forward-char-carefully)
10576 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10577 (viper-change-state-to-emacs): Declare.
10578 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10579 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10580 * emulation/viper-mous.el: Do not load viper-cmd.
10581 (viper-backward-char-carefully, viper-forward-char-carefully)
10582 (viper-forward-word, viper-adjust-window): Declare.
10583
5f70c169
GM
10584 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10585
b1b7f300
GM
10586 * progmodes/idlw-help.el (idlwave-help-fontify):
10587 Use called-interactively-p.
10588
f6ebbb46
GM
10589 * term/w32console.el (w32-get-console-codepage)
10590 (w32-get-console-output-codepage): Declare.
10591
0cdffd7d
GM
10592 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10593 Remove unnecessary declarations.
10594 (dframe-message): Doc fix.
10595
10596 * info.el (dframe-select-attached-frame, dframe-current-frame):
10597 Declare.
10598
10599 * speedbar.el (speedbar-message): Make it an obsolete alias.
10600 Update all callers.
10601 (speedbar-with-attached-buffer)
10602 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10603 (speedbar-with-writable): Use backquote.
10604 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10605 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10606 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10607 rather than speedbar- aliases.
10608 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10609 (speedbar-make-specialized-keymap, speedbar-insert-button)
10610 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10611 (speedbar-do-function-pointer): Declare.
10612 (rmail-speedbar-button, rmail-speedbar-find-file)
10613 (rmail-speedbar-move-message):
10614 Use dframe-with-attached-buffer rather than speedbar- alias.
10615 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10616 (dframe-message, speedbar-make-specialized-keymap)
10617 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10618 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10619 (speedbar-insert-button, dframe-select-attached-frame)
10620 (dframe-maybee-jump-to-attached-frame)
10621 (speedbar-change-initial-expansion-list)
10622 (speedbar-previously-used-expansion-list-name): Declare.
10623 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10624 Use dframe-message, dframe-with-attached-buffer rather than
10625 speedbar- aliases.
10626 (gud-sentinel): Silence compiler.
10627 * progmodes/vhdl-mode.el (speedbar-refresh)
10628 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10629 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10630 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10631 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10632 (speedbar-file-lists, speedbar-make-tag-line)
10633 (speedbar-line-directory, speedbar-goto-this-file)
10634 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10635 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10636 (speedbar-make-button, speedbar-reset-scanners)
10637 (speedbar-files-item-info, speedbar-line-text)
10638 (speedbar-find-file-in-frame, speedbar-set-timer)
10639 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10640 (speedbar-with-writable): Do not (re)define it.
10641 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10642 rather than speedbar- alias.
10643
ee44b62a
LL
106442013-05-21 Leo Liu <sdl.web@gmail.com>
10645
10646 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10647 menu items.
10648 (octave-mode): Tweak fill-nobreak-predicate.
10649 (inferior-octave-startup): Check process to avoid infinite loop.
10650 (inferior-octave): Pop to buffer first to show abornmal process
10651 exit information.
10652
640f050f
GM
106532013-05-21 Glenn Morris <rgm@gnu.org>
10654
79458038
GM
10655 * printing.el (pr-menu-bar): Define when compiling.
10656
9cc3e83f
LL
106572013-05-21 Leo Liu <sdl.web@gmail.com>
10658
10659 * progmodes/octave.el (octave-auto-fill): Remove.
10660 (octave-indent-new-comment-line): Improve.
10661 (octave-mode): Use auto fill mode through
4f405069 10662 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10663 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10664 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10665 (octave-help): Show parent directory.
10666
f440830d
GM
106672013-05-21 Glenn Morris <rgm@gnu.org>
10668
10669 * files.el (dired-unmark):
10670 * progmodes/gud.el (gdb-input): Update declarations.
10671
10672 * calculator.el (electric, ehelp): No need to load when compiling.
10673 (Electric-command-loop, electric-describe-mode): Declare.
10674
10675 * doc-view.el (doc-view-current-converter-processes): Move before use.
10676
10677 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10678 Move MODE-set-explicitly definition before use.
10679
10680 * international/mule-diag.el (mule-diag):
10681 Don't use obsolete window-system-version.
10682
10683 * mail/feedmail.el (smtpmail): No need to load when compiling.
10684 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10685
10686 * mail/mail-utils.el (rfc822): No need to load when compiling.
10687 (rfc822-addresses): Autoload it.
10688 (mail-strip-quoted-names): Trivial simplification.
10689
10690 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10691 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10692
10693 * net/snmp-mode.el (tempo): Don't duplicate requires.
10694
10695 * progmodes/prolog.el (info): No need to load when compiling.
10696 (comint): Require before shell requires it.
10697 (Info-goto-node): Autoload it.
10698 (Info-follow-nearest-node): Declare.
10699 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10700
10701 * textmodes/artist.el (picture-mode-exit): Declare.
10702
10703 * textmodes/reftex-parse.el (reftex-parse-from-file):
10704 Trivial rewrite so the compiler can parse it better.
10705
b4da2cbb
LL
107062013-05-20 Leo Liu <sdl.web@gmail.com>
10707
10708 * progmodes/octave.el (octave-help-mode-map)
10709 (octave-help-mode-finish-hook): New variables.
10710 (octave-help-mode, octave-help-mode-finish): New functions.
10711 (octave-help): Use octave-help-mode.
10712
33c0f65b
GM
107132013-05-20 Glenn Morris <rgm@gnu.org>
10714
10715 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10716
1a0a0a8a
DG
107172013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10718
10719 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10720 start at point, so that expansion starting right after opening
10721 slash in a regexp is recognized.
10722 (ruby-syntax-before-regexp-re): New defvar, extracted from
10723 ruby-syntax-propertize-function. Since the value of this regexp
10724 is looked up at runtime now, we should be able to turn
10725 `ruby-syntax-methods-before-regexp' into a defcustom later.
10726 (ruby-syntax-propertize-function): Split regexp matching into two
10727 parts, for opening and closing slashes. That allows us to skip
10728 over string interpolations and support multiline regexps.
10729 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10730 for them, which calls `ruby-syntax-propertize-expansion'.
10731 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10732 call to `ruby-syntax-propertize-function'.
10733 (ruby-syntax-propertize-expansion): Extracted from
10734 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10735 (ruby-syntax-propertize-percent-literal): Leave point right after
10736 the percent symbol, so that the expression expansion rule can
10737 propertize the contents.
462388b6
DG
10738 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10739 heredoc openers.
10740 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10741
c1a6c0a4
JL
107422013-05-18 Juri Linkov <juri@jurta.org>
10743
10744 * man.el (Man-default-man-entry): Remove `-' from the end
10745 of the default value. (Bug#14400)
10746
8051fccd
GM
107472013-05-18 Glenn Morris <rgm@gnu.org>
10748
10749 * comint.el (comint-password-prompt-regexp):
10750 Allow "password for XXX" where XXX contains colons (eg https://...).
10751
5e80b74f
LL
107522013-05-18 Leo Liu <sdl.web@gmail.com>
10753
10754 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10755 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10756 (octave-source-directories): Don't check process.
10757 (octave-source-directories, octave-find-definition): Doc fix.
10758
521a54c5
GM
107592013-05-18 Glenn Morris <rgm@gnu.org>
10760
86a94b05
GM
10761 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10762 Remove backspace/delete bindings. (Bug#14392)
10763
521a54c5
GM
10764 * cus-dep.el (custom-make-dependencies): Sort the output.
10765 (custom-versions-load-alist): Convert comment to doc.
10766
42caeb89
LL
107672013-05-17 Leo Liu <sdl.web@gmail.com>
10768
10769 * newcomment.el (comment-search-backward): Stricter in finding
10770 comment start. (Bug#14303)
10771
10772 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10773 (octave-comment-start-skip): Properly anchored.
10774
e219dd97
LL
107752013-05-17 Leo Liu <sdl.web@gmail.com>
10776
fe1eb856
RS
10777 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10778 Clean up when turned off. (Bug#14395)
e219dd97
LL
10779 (smie--highlight-matching-block-overlay): No longer buffer-local.
10780 (smie-highlight-matching-block): Adjust.
10781
dc5dcb4b
PE
107822013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10783
10784 Doc string fix for "nanoseconds" (Bug#14406).
10785 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10786 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10787
1db165f0
JB
107882013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10789
10790 * calc/calc-units.el (math-extract-units): Preserve powers
10791 of units.
10792
c7a8fcac
LL
107932013-05-17 Leo Liu <sdl.web@gmail.com>
10794
10795 * subr.el (delete-consecutive-dups): New function.
10796 * ido.el (ido-set-matches-1): Use it.
10797 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10798 * ido.el (ido-remove-consecutive-dups): Remove.
10799
f678b18a
SM
108002013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10801
10802 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10803 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10804 regexp-opt's `words'.
10805
ebfe68e8
LL
108062013-05-16 Leo Liu <sdl.web@gmail.com>
10807
10808 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10809 (smie--highlight-matching-block-overlay)
10810 (smie--highlight-matching-block-lastpos)
10811 (smie--highlight-matching-block-timer): New variables.
10812 (smie-highlight-matching-block): New function.
10813 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10814 (smie-setup): Conditionally enable smie-blink-matching-open.
10815
bc8bc17d
WS
108162013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10817
10818 Sync with upstream verilog-mode r840.
10819 * progmodes/verilog-mode.el (verilog-mode-version)
10820 (verilog-mode-release-date): Update.
10821 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10822 (verilog-sig-tieoff): Fix string error on
10823 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10824 (verilog-read-decls): Fix parameters confusing
10825 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10826
df065a0b
EZ
108272013-05-16 Eli Zaretskii <eliz@gnu.org>
10828
10829 * subr.el (reveal-filename): New function.
10830
10831 * loadup.el: Compute Emacs executable versions on MS-Windows,
10832 where executables have the .exe extension. Add a hard link
10833 emacs-XX.YY.ZZ.exe on MS-Windows.
10834
10835 * Makefile.in (XARGS_LIMIT): New variable.
10836 (custom-deps, finder-data, autoloads)
10837 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10838 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10839 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10840 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10841
2d4bf34b
LL
108422013-05-16 Leo Liu <sdl.web@gmail.com>
10843
10844 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10845 (octave-mode-menu, octave-mode-map): Remove its uses.
10846
6b9c2d85
RZ
108472013-05-16 Reto Zimmermann <reto@gnu.org>
10848
10849 Sync with upstream vhdl mode v3.34.2.
10850 * progmodes/vhdl-mode.el: Use `push' throughout.
10851 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10852 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10853 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10854 (vhdl-actual-generic-name): New option to derive actual generic name.
10855 (vhdl-port-paste-signals): Replace formal by actual generics.
10856 (vhdl-beautify): New name for old group vhdl-align. Update users.
10857 (vhdl-beautify-options): New option.
10858 (vhdl-last-input-event): New compat alias. Use throughout.
10859 (vhdl-goto-line): Replace user level function `goto-line'.
10860 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10861 vhdl-fix-statement-buffer.
10862 (vhdl-create-mode-menu): Add some entries.
10863 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10864 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10865 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10866 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10867 to force statements on one line.
10868 (vhdl-remove-trailing-spaces-region):
10869 New, split from vhdl-remove-trailing-spaces.
10870 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10871 Respect vhdl-beautify-options.
10872 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10873 (vhdl-update-sensitivity-list): Not add with index if exists without.
10874 Not include array index with signal. Ignore keywords in comments.
10875 (vhdl-get-visible-signals): Regexp tweaks.
10876 (vhdl-template-component-inst): Handle empty library.
10877 (vhdl-template-type): Add template for 'enum' type.
10878 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10879 Use vhdl-replace-string.
10880 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10881 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10882 (vhdl-speedbar-initialize): Update for above name change.
10883 (vhdl-compose-wire-components): Fix in handling of constants.
10884 (vhdl-error-regexp-emacs-alist): New variable.
10885 (vhdl-error-regexp-add-emacs): New function;
10886 adds support for new compile.el (Emacs 22+)
10887 (vhdl-generate-makefile-1): Change target order for single lib. units.
10888 Allow use of absolute file names.
10889
9df4ec5e
LL
108902013-05-16 Leo Liu <sdl.web@gmail.com>
10891
10892 * simple.el (prog-indent-sexp): Indent enclosing defun.
10893
f5ba00a6
GM
108942013-05-15 Glenn Morris <rgm@gnu.org>
10895
ed8be7ff
GM
10896 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10897 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10898 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10899 (whitespace-highlight): Move to whitespace group.
10900
10901 * comint.el (comint-source):
10902 * pcmpl-linux.el (pcmpl-linux):
10903 * shell.el (shell-faces):
10904 * eshell/esh-opt.el (eshell-opt):
10905 * international/ccl.el (ccl): Remove empty custom groups.
10906
10907 * completion.el (dynamic-completion-mode):
10908 * jit-lock.el (jit-lock-debug-mode):
10909 * minibuffer.el (completion-in-region-mode):
10910 * type-break.el (type-break-mode-line-message-mode)
10911 (type-break-query-mode):
10912 * emulation/tpu-edt.el (tpu-edt-mode):
10913 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10914 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10915 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10916
10917 * term/xterm.el (xterm): Change parent group to terminals.
10918
10919 * master.el (master): Remove empty custom group.
10920 (master-mode): Remove unused :group argument.
10921 * textmodes/refill.el (refill): Remove empty custom group.
10922 (refill-mode): Remove unused :group argument.
10923
10924 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10925
82a7c41b
GM
10926 * cus-dep.el: Provide a feature.
10927 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10928 Don't mistakenly ignore files whose basenames match a basename
10929 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10930 Add a fallback method for getting :group.
f5ba00a6 10931
6d65486d
JL
109322013-05-15 Juri Linkov <juri@jurta.org>
10933
da547b32
JL
10934 * isearch.el (isearch-char-by-name): Rename from
10935 `isearch-insert-char-by-name'. Doc fix.
10936 (isearch-forward): Mention `isearch-char-by-name' in
10937 the docstring. (Bug#13348)
10938
6d65486d
JL
10939 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10940 `exit-minibuffer' instead of
10941 `isearch-nonincremental-exit-minibuffer'.
10942 (isearch-edit-string): Remove mention of
10943 `isearch-nonincremental-exit-minibuffer' from docstring.
10944 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10945 (isearch-forward-exit-minibuffer)
10946 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10947
c9990474
SM
109482013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10949
6e911150
SM
10950 * loadup.el: Just use unversioned DOC.
10951
c9990474
SM
10952 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10953 literals as extending to EOB.
10954 (nxml-last-fontify-end): Remove unused variable.
10955 (nxml-after-change1): Use with-silent-modifications.
10956 (nxml-extend-after-change-region): Simplify.
10957 (nxml-extend-after-change-region1): Remove function.
10958 (nxml-after-change1): Don't adjust for dependent regions.
10959 (nxml-fontify-matcher): Simplify.
10960 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10961 (xmltok-add-dependent): Remove function.
10962 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10963 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10964 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10965 unclosed <[[, <?, comment, and other literals as extending to EOB.
10966 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10967 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10968 Remove functions.
10969 (rng-do-some-validation-1): Don't mark dependent regions.
10970 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10971 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10972 (nxml-clear-dependent-regions): Remove functions.
10973 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10974 (nxml-ensure-scan-up-to-date):
10975 Don't clear&mark dependent regions.
10976
e3772e98
LL
109772013-05-15 Leo Liu <sdl.web@gmail.com>
10978
c9990474
SM
10979 * progmodes/octave.el (octave-goto-function-definition):
10980 Improve and fix callers.
e3772e98 10981
5ac2eb34
SM
109822013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10983
c46c57b0
SM
10984 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10985 the setter (bug#14387).
10986
5ac2eb34
SM
10987 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10988 surrounding group (bug#14402).
10989
180ed218
JL
109902013-05-14 Juri Linkov <juri@jurta.org>
10991
10992 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10993 (Bug#14390)
10994
0ac0fecb
GM
109952013-05-14 Glenn Morris <rgm@gnu.org>
10996
10997 * progmodes/f90.el (f90-imenu-generic-expression):
10998 Fix typo in 2013-05-08 change. (Bug#14402)
10999
2e78e6a7
JPG
110002013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11001
5ac2eb34
SM
11002 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11003 Remove signals for which replies are never received.
2e78e6a7 11004
53267cca
JPG
110052013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11006
11007 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11008 (gdb-handler-alist, gdb-handler-number): Remove variables.
11009 (gdb-handler-list): New variable.
11010 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11011 (gdb-pending-handler-p, gdb-handle-reply)
11012 (gdb-remove-all-pending-triggers): New functions.
11013 (gdb-discard-unordered-replies): New defcustom.
11014 (gdb-handler): New defstruct.
11015 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11016 instead of gdb-pending-triggers. Update docstring.
11017 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11018 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11019 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11020 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11021 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11022 (gdb-frame-handler): Pending triggers are now automatically managed.
11023 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11024 Remove argument.
11025 (gdb-input): Automatically handles pending triggers. Update docstring.
11026 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11027 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11028 Update comments.
11029 (gdb-done-or-error): Now use gdb-handle-reply.
11030
d04ce803
JPG
110312013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11032
11033 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11034 gdb-debug-log.
11035
0114073a
GM
110362013-05-14 Glenn Morris <rgm@gnu.org>
11037
11038 * subr.el (user-emacs-directory-warning): New option.
11039 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11040
4d25fd7e
LL
110412013-05-14 Leo Liu <sdl.web@gmail.com>
11042
11043 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11044 during redisplay.
11045 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11046 (octave-font-lock-texinfo-comment): Fix invalid search bound
11047 error: wrong side of point.
4d25fd7e 11048
27c8b6eb
GM
110492013-05-14 Glenn Morris <rgm@gnu.org>
11050
61aaeb01
GM
11051 * progmodes/flymake.el (flymake-xml-program): New option.
11052 (flymake-xml-init): Use it.
11053
5bf90bc5
GM
11054 * term/xterm.el: Provide a feature.
11055
11056 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11057
f4c7dfd2
GM
110582013-05-13 Glenn Morris <rgm@gnu.org>
11059
11060 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11061 Add compat aliases as a hack workaround. (Bug#14384)
11062
2aeb3a1d
LL
110632013-05-13 Leo Liu <sdl.web@gmail.com>
11064
b0e069c2
LL
11065 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11066 ###, and %!.
f5a9432f
LL
11067 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11068 C-M-q.
b0e069c2
LL
11069 (octave-comment-start-skip): Include %!.
11070 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11071
30ea8374
LL
110722013-05-12 Leo Liu <sdl.web@gmail.com>
11073
11074 * progmodes/octave.el (inferior-octave-startup): Store the value
11075 of __octave_srcdir__ for octave-source-directories.
11076 (inferior-octave-check-process): New function refactored out of
11077 inferior-octave-send-list-and-digest.
11078 (octave-source-directories)
11079 (octave-find-definition-filename-function): New variables.
11080 (octave-source-directories)
11081 (octave-find-definition-default-filename): New functions.
11082 (octave-find-definition): Improve to find functions implemented in C++.
11083
472a3834
GM
110842013-05-12 Glenn Morris <rgm@gnu.org>
11085
11086 * calendar/diary-lib.el (diary-outlook-format-1):
11087 Don't include dayname in the output. (Bug#14349)
11088
3191b52f
GM
110892013-05-11 Glenn Morris <rgm@gnu.org>
11090
0060ac73
GM
11091 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11092
3191b52f
GM
11093 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11094 Treat cc-provide like provide.
11095
e065ba74
KR
110962013-05-11 Kevin Ryde <user42@zip.com.au>
11097
11098 * cus-dep.el (custom-make-dependencies):
11099 Use generated-autoload-load-name for the sake of files such
11100 such cedet/semantic/bovine/c.el, where the base file name
11101 is not in load-path. (Bug#5277)
11102
36f84c37
GM
111032013-05-11 Glenn Morris <rgm@gnu.org>
11104
11105 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11106 Provide features.
11107
c8730c3a
LL
111082013-05-11 Leo Liu <sdl.web@gmail.com>
11109
11110 * progmodes/octave.el (octave-indent-comment): Improve.
11111 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11112 (octave-eldoc-function-signatures, octave-eldoc-function):
11113 New functions.
c8730c3a
LL
11114 (octave-mode, inferior-octave-mode): Add eldoc support.
11115
212e29f2
RS
111162013-05-11 Richard Stallman <rms@gnu.org>
11117
11118 * epa.el (epa-decrypt-file): Take output file name as argument
11119 and read it using `interactive'.
11120
083fe0d7
LL
111212013-05-11 Leo Liu <sdl.web@gmail.com>
11122
11123 * progmodes/octave.el (octave-beginning-of-line)
11124 (octave-end-of-line): Check before using up-list because it jumps
11125 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11126 (octave-indent-comment): New function.
11127 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11128 (octave-begin-keywords, octave-end-keywords)
11129 (octave-reserved-words, octave-smie-bnf-table)
11130 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11131
8582e4c4
GM
111322013-05-11 Glenn Morris <rgm@gnu.org>
11133
f20def1f
GM
11134 * faces.el (internal-face-x-get-resource):
11135 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11136 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11137 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11138 Fix declarations.
f20def1f 11139
445f95e2
GM
11140 * calc/calc-menu.el: Make it loadable in isolation.
11141
11142 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11143 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11144 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11145 (eudc-bbdb-query-internal): Require 'bbdb.
11146
99fb2756
GM
11147 * lpr.el (lpr-headers-switches):
11148 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11149
11150 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11151
0da7ad96
GM
11152 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11153
8582e4c4
GM
11154 * term.el (term-set-escape-char): Make it idempotent.
11155
f71c50d0
LL
111562013-05-10 Leo Liu <sdl.web@gmail.com>
11157
5ac2eb34
SM
11158 * progmodes/octave.el (inferior-octave-completion-table):
11159 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11160 completion due to bug#11906.
11161 (octave-beginning-of-defun): Re-write to be more general.
11162
d5837773
GM
111632013-05-10 Glenn Morris <rgm@gnu.org>
11164
11165 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11166
027c0f75
SM
111672013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11168
11169 * comint.el (comint-redirect-send-command-to-process): Use :around
11170 rather than :override for comint-redirect-filter.
11171 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11172 Call it instead of comint-redirect-original-filter-function (which
11173 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11174
4465bfb4
JD
111752013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11176
11177 * frame.el (display-monitor-attributes-list): Add NS case.
11178 (ns-display-monitor-attributes-list): Declare.
11179
2d809ffa 111802013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11181
11182 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11183
e54eeb9b
GM
111842013-05-09 Glenn Morris <rgm@gnu.org>
11185
56cd351d
GM
11186 * international/fontset.el (vertical-centering-font-regexp):
11187 Set standard-value.
11188
d84b6108
GM
11189 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11190
a931698a
GM
11191 * bookmark.el (bookmark-search-delay):
11192 * cus-start.el (vertical-centering-font-regexp):
11193 * ps-mule.el (ps-mule-font-info-database-default):
11194 * ps-print.el (ps-default-fg, ps-default-bg):
11195 * type-break.el (type-break-good-break-interval):
11196 * whitespace.el (whitespace-indentation-regexp)
11197 (whitespace-space-after-tab-regexp):
11198 * emacs-lisp/testcover.el (testcover-1value-functions)
11199 (testcover-noreturn-functions, testcover-progn-functions)
11200 (testcover-prog1-functions):
11201 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11202 * eshell/em-glob.el (eshell-glob-translate-alist):
11203 * play/tetris.el (tetris-tty-colors):
11204 * progmodes/cpp.el (cpp-face-default-list):
11205 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11206 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11207 (idlwave-help-browser-generic-args):
11208 * progmodes/make-mode.el (makefile-special-targets-list):
11209 * progmodes/python.el (python-shell-virtualenv-path):
11210 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11211 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11212 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11213 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11214 * textmodes/reftex-vars.el (reftex-format-label-function):
11215 * textmodes/remember.el (remember-diary-file): Fix custom types.
11216
e54eeb9b
GM
11217 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11218 Add :version.
11219
455851dd
LL
112202013-05-09 Leo Liu <sdl.web@gmail.com>
11221
11222 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11223 Restore file completion. (Bug#14300)
455851dd
LL
11224 (inferior-octave-startup): Fix incorrect highlighting for the
11225 first prompt.
11226
a9e4425b
SM
112272013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11228
11229 * progmodes/ruby-mode.el: First cut at SMIE support.
11230 (ruby-use-smie): New var.
11231 (ruby-smie-grammar): New constant.
11232 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11233 (ruby-smie--forward-token, ruby-smie--backward-token)
11234 (ruby-smie-rules): New functions.
11235 (ruby-mode-variables): Setup SMIE if applicable.
11236
060ca408
EZ
112372013-05-08 Eli Zaretskii <eliz@gnu.org>
11238
11239 * simple.el (line-move-visual): Signal beginning/end of buffer
11240 only if vertical-motion moved less than it was requested. Avoids
11241 silly incorrect error messages when there are display strings with
11242 multiple newlines at EOL.
11243
1d5963cc
SM
112442013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11245
11246 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11247 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11248 (prolog-char-quote-workaround):
11249 * progmodes/cperl-mode.el (cperl-under-as-char):
11250 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11251 Mark as obsolete.
11252 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11253 their declaration.
11254 (vhdl-mode-syntax-table-init): Remove.
11255
c9990474
SM
11256 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11257 last change.
1d5963cc
SM
11258
11259 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11260 syntax for "_".
11261 (ld-script-font-lock-keywords):
11262 Change regexps to use things like \_< and \_>.
11263
11264 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11265 Change all regexps to use things like \_< and \_>.
11266
11267 * progmodes/autoconf.el (autoconf-definition-regexp)
11268 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11269 Handle a _ with symbol syntax.
11270 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11271
c9990474
SM
11272 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11273 Consolidate declaration.
1d5963cc
SM
11274 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11275 the declaration.
11276 (ada-create-syntax-table): Remove.
11277 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11278 already has the right syntax nowadays.
11279 (ada-goto-next-word): Don't change the syntax of "_".
11280
11281 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11282 with-wrapper-hook.
11283
72d3cfca
SS
112842013-05-08 Sam Steingold <sds@gnu.org>
11285
11286 * thingatpt.el (thing-at-point): Accept optional second argument
11287 NO-PROPERTIES to strip the text properties from the return value.
11288 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11289 to `thing-at-point' instead of stripping the properties ourselves.
11290 Also, when `thing-at-point' fails to find a url, prepend "http://"
11291 to the filename at point on the assumption that the user is
11292 pointing at something like gnu.org/gnu.
11293
5cb15713
JB
112942013-05-08 Juanma Barranquero <lekktu@gmail.com>
11295
11296 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11297 * faces.el (crm-separator):
11298 Silence byte-compiler.
11299
11300 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11301 (tool-bar-map): Remove unneeded defvars.
11302
ea78b95b
LL
113032013-05-08 Leo Liu <sdl.web@gmail.com>
11304
11305 Re-work a fix for bug#10994 based on Le Wang's patch.
11306 * ido.el (ido-remove-consecutive-dups): New helper.
11307 (ido-completing-read): Use it.
11308 (ido-chop): Revert fix for bug#10994.
11309
dc7466df
AS
113102013-05-08 Adam Spiers <emacs@adamspiers.org>
11311
11312 * cus-edit.el (custom-save-variables):
11313 Pretty-print long values. (Bug#14187)
11314
9ecf672a
GM
113152013-05-08 Glenn Morris <rgm@gnu.org>
11316
11317 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11318 (m4-mode-syntax-table): Init in the defvar.
11319 (m4-mode-abbrev-table): Let define-derived-mode define it.
11320
3f555be8
TT
113212013-05-08 Tom Tromey <tromey@redhat.com>
11322
11323 * progmodes/m4-mode.el (m4-mode-syntax-table):
11324 Do not treat "_" as word constituent. (Bug#14167)
11325
7cc8ae06
GM
113262013-05-07 Glenn Morris <rgm@gnu.org>
11327
4f58bc06
GM
11328 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11329 Remove explicit eshell-isearch-cancel-map.
11330
7cc8ae06
GM
11331 * progmodes/f90.el (f90-smart-end-names): New option.
11332 (f90-smart-end): Doc fix.
11333 (f90-end-block-optional-name): New constant.
11334 (f90-block-match): Respect f90-smart-end-names.
11335
ceb57e59
SM
113362013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11337
11338 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11339 about implicit semi-colons (bug#14218).
11340
4e3f9230
YM
113412013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11342
11343 * frame.el (display-monitor-attributes-list)
11344 (frame-monitor-attributes): New functions.
11345
203a5572
LL
113462013-05-06 Leo Liu <sdl.web@gmail.com>
11347
11348 * progmodes/octave.el (octave-syntax-propertize-function): Change
11349 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11350 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11351 (octave-completion-at-point): Rename from
203a5572
LL
11352 octave-completion-at-point-function.
11353 (inferior-octave-directory-tracker): Robustify.
11354 (octave-text-functions): Remove and fix its uses. No such things
11355 any more.
11356
ee6cff99
SM
113572013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11358
11359 * emacs-lisp/trace.el (trace--display-buffer): New function.
11360 (trace-make-advice): Use it.
11361
32985194
JL
113622013-05-06 Juri Linkov <juri@jurta.org>
11363
11364 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11365 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11366 Doc fix.
11367 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11368 in the help string. (Bug#12985)
11369
a1c700de
KD
113702013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11371
11372 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11373
c67c0839
SM
113742013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11375
323885fd
SM
11376 * progmodes/perl-mode.el: Add support for here documents.
11377 (perl-syntax-propertize-function): Match here-doc markers.
11378 (perl-syntax-propertize-special-constructs): Find their end.
11379 (perl-imenu-generic-expression): Use [:alnum:].
11380
c67c0839
SM
11381 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11382 (advice--add-function): Refresh the advice if already present
11383 (bug#14317).
11384
d491e7a8
IA
113852013-05-06 Ivan Andrus <darthandrus@gmail.com>
11386
11387 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11388
ddf9925e
GM
113892013-05-06 Glenn Morris <rgm@gnu.org>
11390
7cc3af27
GM
11391 * w32-fns.el (w32-charset-info-alist): Declare.
11392
16e343d6
GM
11393 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11394 of its defcustom properties.
11395 (eshell-cmpl-initialize): No need to load pcomplete.
11396
7d889a47
GM
11397 * generic-x.el: No need to require comint when compiling.
11398
ddf9925e
GM
11399 * net/eudc-export.el: Make it loadable without bbdb.
11400 (top-level): Use require rather than load-library.
11401 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11402 (eudc-batch-export-records-to-bbdb)
11403 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11404 Require bbdb.
11405
1e2c18df
SM
114062013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11407
11408 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11409 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11410 some tweaks, instead.
11411
02502a5f
LL
114122013-05-05 Leo Liu <sdl.web@gmail.com>
11413
11414 * progmodes/octave.el (octave-font-lock-keywords)
11415 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11416 (inferior-octave-send-list-and-digest): Improve error message.
11417 (octave-mode, inferior-octave-mode): Use setq-local.
11418 (octave-help): Set info-lookup-mode.
11419
0dc04f42
RS
114202013-05-05 Richard Stallman <rms@gnu.org>
11421
6c54491c
RS
11422 * vc/compare-w.el (compare-windows-whitespace):
11423 Treat no-break space as whitespace.
11424
0dc04f42
RS
11425 * mail/rmailsum.el (rmail-summary-rmail-update):
11426 Detect empty summary and don't change selected message.
11427 (rmail-summary-goto-msg): Likewise.
11428
df8f35df
RS
11429 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11430 Doc fixes, rename args.
11431
5356e1a3
AM
114322013-05-05 Alan Mackenzie <acm@muc.de>
11433
11434 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11435
d44014cb
JL
114362013-05-05 Juri Linkov <juri@jurta.org>
11437
11438 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11439 to not add the length of the summary segment to the return value.
11440 (Bug#14125)
11441
c129b51f
LL
114422013-05-05 Leo Liu <sdl.web@gmail.com>
11443
11444 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11445 (inferior-octave-output-filter): Remove.
11446 (octave-send-region, inferior-octave-startup): Fix callers.
11447 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11448 (octave-binary-file-extensions): New user variable.
11449 (octave-find-definition): Confirm if opening binary files.
11450 (octave-help-file): Use octave-find-definition to get the binary
11451 confirmation.
11452 (octave-help): Adjust for octave-help-file change.
11453
aa7dab97
SM
114542013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11455
11456 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11457 Merge the two entries that handle function definitions.
11458 (pascal--syntax-propertize): New const.
11459 (pascal-mode): Use it. Use setq-local.
11460
fd3a9a6b
GM
114612013-05-04 Glenn Morris <rgm@gnu.org>
11462
11463 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11464 (diary-from-outlook): Respect diary-from-outlook-function.
11465
30c7e542
SM
114662013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11467
11468 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11469 Move the declaration from C.
11470 (read-minibuffer, eval-minibuffer): Move from C.
11471 (completion-setup-function): Avoid minibuffer-completion-contents.
11472
b54f978b
LL
114732013-05-03 Leo Liu <sdl.web@gmail.com>
11474
11475 * progmodes/octave.el (octave-font-lock-keywords): Do not
11476 dehighlight 'end' in comments or strings.
30c7e542
SM
11477 (octave-completing-read, octave-goto-function-definition):
11478 New helpers.
d4d0f9b3
LL
11479 (octave-help-buffer): New user variable.
11480 (octave-help-file, octave-help-function): New button types.
11481 (octave-help): New command and bind it to C-h ;.
11482 (octave-find-definition): New command and bind it to M-.
d74a1581 11483 (user-error): Alias to error if not defined.
b54f978b 11484
27135018
LL
114852013-05-02 Leo Liu <sdl.web@gmail.com>
11486
11487 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11488 for \. (bug#14332)
11489 (octave-font-lock-keywords): Include [ and {.
11490
0d634d3a
LL
114912013-05-02 Leo Liu <sdl.web@gmail.com>
11492
11493 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11494 (inferior-octave): Remove calling comint-mode and return the buffer.
11495 (inferior-octave-startup): Cosmetic changes.
11496
b4c8295e
LL
114972013-05-02 Leo Liu <sdl.web@gmail.com>
11498
30c7e542
SM
11499 * progmodes/octave.el (octave-syntax-propertize-function):
11500 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11501
f12ad6ec
GM
115022013-05-02 Glenn Morris <rgm@gnu.org>
11503
11504 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11505 * desktop.el (vc-dir-mode): Just autoload it here.
11506
30cac1e0
AM
115072013-05-02 Alan Mackenzie <acm@muc.de>
11508
11509 Eliminate variable c-standard-font-lock-fontify-region-function.
11510 * progmodes/cc-mode.el
11511 (c-standard-font-lock-fontify-region-function): Remove.
11512 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11513
d8ef28b1
LL
115142013-05-01 Leo Liu <sdl.web@gmail.com>
11515
2640d52e 11516 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11517 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11518 variables were removed from Octave in 2007.
d8ef28b1
LL
11519 (inferior-octave-startup): Fix uses.
11520 (comint-line-beginning-position): Remove compatibility code for
11521 emacs 21.
11522
ac63ec89
JL
115232013-05-01 Juri Linkov <juri@jurta.org>
11524
11525 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11526
9e9be37c
JL
115272013-05-01 Juri Linkov <juri@jurta.org>
11528
11529 * comint.el (comint-previous-matching-input): Don't print message
11530 "History item: %d" when `isearch-mode' is active.
11531 (comint-history-isearch-message): Print message "History item: %d"
11532 when `comint-input-ring-index' is not empty and this function is
11533 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11534
9b92c13b
LL
115352013-05-01 Leo Liu <sdl.web@gmail.com>
11536
11537 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11538 definitions. Use completion-at-point to insert keywords.
11539 (octave-abbrev-start): Remove.
11540 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11541
b12d33d7
LL
115422013-04-30 Leo Liu <sdl.web@gmail.com>
11543
11544 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11545 change.
11546
3d1c39fa
AM
115472013-04-30 Alan Mackenzie <acm@muc.de>
11548
11549 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11550 * progmodes/cc-engine.el (c-back-over-member-initializers):
11551 new function.
3d1c39fa
AM
11552 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11553 (most) member init lists.
11554
5147fc17
RS
115552013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11556
11557 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11558 variable.
11559
5b78d7fc
LL
115602013-04-30 Leo Liu <sdl.web@gmail.com>
11561
11562 * progmodes/octave.el (octave-variables): Remove. No builtin
11563 variables any more. All converted to functions.
11564 (octave-font-lock-keywords, octave-completion-at-point-function):
11565 Fix uses.
11566 (octave-font-lock-texinfo-comment): New user variable.
11567 (octave-texinfo-font-lock-keywords): New variable for texinfo
11568 comment block.
11569 (octave-function-comment-block): New face.
11570 (octave-font-lock-texinfo-comment): New function.
11571 (octave-mode): Font lock texinfo comment block.
11572
38d8527b
LL
115732013-04-29 Leo Liu <sdl.web@gmail.com>
11574
11575 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11576 indexing expression.
11577 (octave-continuation-string): Do not use \.
11578 (inferior-octave-complete-impossible): Remove.
11579 (inferior-octave-completion-table)
11580 (inferior-octave-completion-at-point): Remove its uses.
11581 (inferior-octave-startup): completion_matches was introduced to
11582 Octave in 1996 so safe to assume it.
11583 (octave-function-file-comment): Improve to follow how Octave does it.
11584 (octave-update-function-file-comment): Tweak.
11585
2ec12cb0
LL
115862013-04-29 Leo Liu <sdl.web@gmail.com>
11587
11588 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11589 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11590 (octave-function-file-comment): Fix typo.
11591 (octave-sync-function-file-names): Use read-char-choice.
11592
6eaed048
JB
115932013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11594
11595 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11596 to t for the less important warnings.
11597
3ffa2d4f
DH
115982013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11599
11600 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11601
685c9501
GM
116022013-04-27 Glenn Morris <rgm@gnu.org>
11603
11604 * vc/log-view.el (log-view-current-entry):
11605 Treat "---" separator lines as part of the following rev. (Bug#14169)
11606
0208ede7
JL
116072013-04-27 Juri Linkov <juri@jurta.org>
11608
11609 * subr.el (read-number): Doc fix about using it by interactive
11610 code letter `n'. (Bug#14254)
11611
5db9dace
JL
116122013-04-27 Juri Linkov <juri@jurta.org>
11613
11614 * desktop.el (desktop-auto-save-timeout): New option.
11615 (desktop-file-checksum): New variable.
11616 (desktop-save): Add optional arg `auto-save' and don't auto-save
11617 if nothing changed.
11618 (desktop-auto-save-timer): New variable.
11619 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11620 (after-init-hook): Call `desktop-auto-save-set-timer'.
11621 Suggested by Reuben Thomas <rrt@sc3d.org> in
11622 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11623
b7260dd4
LL
116242013-04-27 Leo Liu <sdl.web@gmail.com>
11625
11626 * progmodes/octave.el (octave-function-file-p)
11627 (octave-skip-comment-forward, octave-function-file-comment)
11628 (octave-update-function-file-comment): New functions.
11629 (octave-mode-map): Bind C-c ; to
11630 octave-update-function-file-comment.
11631 (octave-mode-menu): Add octave-update-function-file-comment.
11632 (octave-mode, inferior-octave-mode): Fix doc-string.
11633 (octave-insert-defun): Conform to Octave's coding convention.
11634 (Bug#14285)
11635
11636 * files.el (basic-save-buffer): Don't let errors in
11637 before-save-hook prevent saving buffer.
11638
c46da669
RW
116392013-04-20 Roland Winkler <winkler@gnu.org>
11640
11641 * faces.el (read-face-name): Use completing-read if arg multiple
11642 is nil.
11643
a81ee1eb
IL
116442013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11645
11646 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11647 displayed, move point to after the totals line.
11648 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11649 for the details.
11650
4fac34ce
SM
116512013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11652
11653 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11654 Add current dir to the load-path.
11655 (package-generate-autoloads): Don't rely on
11656 autoload-ensure-default-file.
11657
f6bfc063
RT
116582013-04-26 Reuben Thomas <rrt@sc3d.org>
11659
d40ab5cf
BG
11660 * textmodes/remember.el (remember-store-in-files): Document that
11661 the file name format is passed to `format-time-string'.
f6bfc063 11662
e55d3b04
LL
116632013-04-26 Leo Liu <sdl.web@gmail.com>
11664
11665 * progmodes/octave.el (octave-sync-function-file-names): New function.
11666 (octave-mode): Use it in before-save-hook.
11667
e53052d3
SM
116682013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11669
140ef50c
SM
11670 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11671 (bug#14274).
11672
e53052d3
SM
11673 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11674 \n and comment, even if it's not an implicit ; (bug#14218).
11675
af80458d 116762013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11677
11678 * subr.el (read-number): Once more use `read' rather than
11679 `string-to-number', to trap non-numeric input. (Bug#14254)
11680
af80458d 116812013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11682
11683 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11684 Use `syntax-multiline' text property consistently instead of
8a621d53 11685 `font-lock-multiline'. (Bug#14237)
70203c2e 11686
e6ea1f6c
GM
116872013-04-26 Glenn Morris <rgm@gnu.org>
11688
11689 * emacs-lisp/shadow.el (list-load-path-shadows):
11690 No longer necessary to check for duplicate simple.el, since
11691 2012-07-07 change to init_lread to not include installation lisp
11692 directories in load-path when running uninstalled. (Bug#14270)
11693
070ccca4
LL
116942013-04-26 Leo Liu <sdl.web@gmail.com>
11695
11696 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11697 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11698 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11699 octave-in-string-or-comment-p.
11700 (octave-in-comment-p, octave-in-string-p)
11701 (octave-in-string-or-comment-p): Replace defsubst with defun.
11702
9d1c5fb6
PE
117032013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11704
11705 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11706
c034abda
BG
117072013-04-25 Bastien Guerry <bzg@gnu.org>
11708
11709 * textmodes/remember.el (remember-data-directory)
11710 (remember-directory-file-name-format): Fix custom types.
11711
584ea277
LL
117122013-04-25 Leo Liu <sdl.web@gmail.com>
11713
e53052d3
SM
11714 * progmodes/octave.el (octave-completion-at-point-function):
11715 Make use of inferior octave process.
584ea277
LL
11716 (octave-initialize-completions): Remove.
11717 (inferior-octave-completion-table): New function.
11718 (inferior-octave-completion-at-point): Use it.
11719 (octave-completion-alist): Remove.
11720
1693b06a
SM
117212013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11722
11723 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11724 (opascal-mode-syntax-table): New var.
11725 (opascal-literal-kind, opascal-is-literal-end)
11726 (opascal-literal-token-at): Rewrite.
11727 (opascal--literal-start-re, opascal-font-lock-keywords)
11728 (opascal--syntax-propertize): New constants.
11729 (opascal-font-lock-defaults): Adjust.
11730 (opascal-mode): Use them. Set comment-<foo> variables as well.
11731 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11732 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11733 (delphi-other-face, opascal-other-face): Remove face variables.
11734 (opascal-save-state): Remove macro.
11735 (opascal-fontifying-progress-step): Remove constant.
11736 (opascal--ignore-changes): Remove var.
11737 (opascal-set-token-property, opascal-parse-next-literal)
11738 (opascal-is-stable-literal, opascal-complete-literal)
11739 (opascal-is-literal-start, opascal-face-of)
11740 (opascal-parse-region, opascal-parse-region-until-stable)
11741 (opascal-fontify-region, opascal-after-change)
11742 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11743 (opascal-debug-parse-region, opascal-debug-parse-window)
11744 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11745 (opascal-debug-fontify-buffer): Remove.
11746 (opascal-debug-mode-map): Adjust accordingly.
11747
be64c05d
LL
117482013-04-25 Leo Liu <sdl.web@gmail.com>
11749
11750 Merge octave-mod.el and octave-inf.el into octave.el with some
11751 cleanups.
11752 * progmodes/octave.el: New file renamed from octave-mod.el.
11753 * progmodes/octave-inf.el: Merged into octave.el.
11754 * progmodes/octave-mod.el: Renamed to octave.el.
11755
d79d37bd
TH
117562013-04-25 Tassilo Horn <tsdh@gnu.org>
11757
11758 * textmodes/reftex-vars.el
11759 (reftex-label-ignored-macros-and-environments): New defcustom.
11760
11761 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11762
ced3fc5d
SM
117632013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11764
11765 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11766 (smie-indent-keyword): Improve the check to ensure that the next
11767 comment is really on the same line.
11768 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11769
11770 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11771 semi-colons if the line is not otherwise empty (bug#14218).
11772
1c141dad
GM
117732013-04-25 Glenn Morris <rgm@gnu.org>
11774
11775 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11776
5058062a
SM
117772013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11778
11779 * progmodes/opascal.el (opascal-set-token-property): Rename from
11780 opascal-set-text-properties and only set `token' (bug#14134).
11781 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11782 (opascal-literal-text-properties): Remove.
11783 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11784 Adjust callers.
11785
5db9dace 117862013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11787
11788 * textmodes/remember.el (remember-handler-functions): Add an
11789 option for a new handler `remember-store-in-files'.
11790 (remember-data-directory, remember-directory-file-name-format):
11791 New options.
11792 (remember-store-in-files): New function to store remember notes
11793 as separate files within a directory.
11794
4391916c
MH
117952013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11796
11797 * progmodes/compile.el (compilation-next-error-function):
11798 Pass "formats" to compilation-find-file (bug#11777).
11799
bb7cdf58
GM
118002013-04-24 Glenn Morris <rgm@gnu.org>
11801
3b8fe752 11802 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11803 * vc/vc-hg.el (vc-hg-print-log):
11804 * vc/vc-svn.el (vc-svn-print-log):
11805 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11806
bb7cdf58
GM
11807 * vc/vc-bzr.el (vc-bzr-print-log):
11808 * vc/vc-cvs.el (vc-cvs-print-log):
11809 * vc/vc-git.el (vc-git-print-log):
11810 * vc/vc-hg.el (vc-hg-print-log):
11811 * vc/vc-mtn.el (vc-mtn-print-log):
11812 * vc/vc-rcs.el (vc-rcs-print-log):
11813 * vc/vc-sccs.el (vc-sccs-print-log):
11814 * vc/vc-svn.el (vc-svn-print-log):
11815 * vc/vc.el (vc-print-log-internal): Doc fixes.
11816
b46a056e
GM
118172013-04-23 Glenn Morris <rgm@gnu.org>
11818
11819 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11820 Remove venerable code attempting to avoid substitute-command-keys.
11821
0aecf718
TH
118222013-04-23 Tassilo Horn <tsdh@gnu.org>
11823
4391916c
MH
11824 * textmodes/reftex-vars.el (reftex-label-regexps):
11825 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11826
117f94cf
SM
118272013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11828
4391916c 11829 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11830 Use lexical-binding.
11831 (jit-lock-force-redisplay): Use markers, check buffer's continued
11832 existence and beware narrowed buffers.
11833 (jit-lock-fontify-now): Adjust call accordingly.
11834
1d829c64
SM
118352013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11836
11837 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11838 to avoid misleading the user.
11839
72d548a9
LL
118402013-04-22 Leo Liu <sdl.web@gmail.com>
11841
11842 * info-look.el: Prefer latex2e.info. (Bug#14240)
11843
d0853629
MA
118442013-04-22 Michael Albinus <michael.albinus@gmx.de>
11845
11846 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11847
11848 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11849 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11850 (tramp-set-completion-function, tramp-parse-putty):
11851 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11852 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11853 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11854 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11855 (tramp-call-local-coding-command): Use `tramp-call-process'
11856 instead of `tramp-compat-call-process'.
11857
11858 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11859 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11860 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11861 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11862 (tramp-maybe-send-script): Check for Perl binary.
11863 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11864
38cc0210
DU
118652013-04-22 Daiki Ueno <ueno@gnu.org>
11866
11867 * epg.el (epg-context-pinentry-mode): New function.
11868 (epg-context-set-pinentry-mode): New function.
11869 (epg--start): Pass --pinentry-mode option to gpg command.
11870
cc641ee1
XF
118712013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11872
02d844b5 11873 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11874 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11875 `completion-at-point'. (Bug#13774)
5d4e5c31 11876
cc641ee1
XF
11877 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11878 default key binding for `describe-distribution' has been moved to
11879 `C-h C-o'. (Bug#13970)
11880
1b42ee43
GM
118812013-04-21 Glenn Morris <rgm@gnu.org>
11882
11883 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11884 Add doc strings.
11885 (vc-print-log): Clarify interactive prompt.
11886
a6d63d97
GM
118872013-04-20 Glenn Morris <rgm@gnu.org>
11888
11889 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11890 No longer include timestamp etc information.
11891
d7f5c16f
RW
118922013-04-20 Roland Winkler <winkler@gnu.org>
11893
11894 * faces.el (read-face-name): Bug fix, return just one face if arg
11895 multiple is nil. (Bug#14209)
11896
bcd7a0a4
SM
118972013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11898
11899 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11900 (remove-function): Autoload.
11901
11902 * comint.el (comint-redirect-original-filter-function): Remove.
11903 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11904 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11905 (vc-cvs-annotate-command):
bcd7a0a4
SM
11906 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11907 * progmodes/prolog.el (prolog-consult-compile):
11908 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11909 Use add/remove-function instead.
11910 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11911 (gud-tooltip-process-output, gud-tooltip-tips):
11912 Use add/remove-function instead.
11913 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11914 (scheme-interaction-mode, exit-scheme-interaction-mode):
11915 Use add/remove-function instead.
11916
11917 * vc/vc-dispatcher.el: Use lexical-binding.
11918 (vc--process-sentinel): Rename from vc-process-sentinel.
11919 Change last arg to be the code to run. Don't use vc-previous-sentinel
11920 and vc-sentinel-commands any more.
11921 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11922 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11923
e36b2d20 119242013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11925
bcd7a0a4 11926 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11927 Handle function names with a single character. (Bug#14111)
4d3268ba 11928
781b4af6 119292013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11930
11931 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11932 for subroutines defined in an eval (bug#14182).
11933
7d688336
TV
119342013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11935
11936 * bookmark.el (bookmark-completing-read): Improve handling of empty
11937 string (bug#14176).
11938
31dcede0
SM
119392013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11942
adc31213
FEG
119432013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11944
11945 New faster Imenu implementation (bug#14058).
11946 * progmodes/python.el:
11947 (python-imenu-prev-index-position):
11948 (python-imenu-format-item-label-function)
11949 (python-imenu-format-parent-item-label-function)
11950 (python-imenu-format-parent-item-jump-label-function):
11951 New vars.
11952 (python-imenu-format-item-label)
11953 (python-imenu-format-parent-item-label)
11954 (python-imenu-format-parent-item-jump-label)
11955 (python-imenu--put-parent, python-imenu--build-tree)
11956 (python-imenu-create-index, python-imenu-create-flat-index)
11957 (python-util-popn): New functions.
11958 (python-mode): Set imenu-create-index-function to
11959 python-imenu-create-index.
11960
cdca8255
SM
119612013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11962
11963 * winner.el (winner-active-region): Use region-active-p, activate-mark
11964 and deactivate-mark (bug#14225).
11965
11966 * simple.el (deactivate-mark): Don't inline it.
11967
beb42340
MA
119682013-04-18 Michael Albinus <michael.albinus@gmx.de>
11969
11970 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11971
fc7f4d7e
TH
119722013-04-18 Tassilo Horn <tsdh@gnu.org>
11973
11974 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11975 file extensions from the archive-mode entry in order to prefer
11976 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11977
29f47822
LL
119782013-04-18 Leo Liu <sdl.web@gmail.com>
11979
11980 * bindings.el (help-event-list): Add ?\?.
11981
d36ed1c8
SM
119822013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11983
11984 * subr.el (with-wrapper-hook): Declare obsolete.
11985 * simple.el (filter-buffer-substring-function): New hook.
11986 (filter-buffer-substring): Use it.
11987 (filter-buffer-substring-functions): Mark obsolete.
11988 * minibuffer.el (completion-in-region-function): New hook.
11989 (completion-in-region): Use it.
11990 (completion-in-region-functions): Mark obsolete.
11991 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11992 * abbrev.el (abbrev-expand-function): New hook.
11993 (expand-abbrev): Use it.
11994 (abbrev-expand-functions): Mark obsolete.
11995 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11996 and :filter-return.
11997
04754d36
FEG
119982013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11999
12000 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12001 and do not care about match data.
12002
dd8791e9
SM
120032013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12004
12005 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12006 completion tables when completing error conditions and
12007 `declare' arguments.
12008 (lisp-complete-symbol, field-complete): Mark as obsolete.
12009 (check-parens): Unmatched parens are user errors.
12010 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12011
ffe54a13
AM
120122013-04-17 Michal Nazarewicz <mina86@mina86.com>
12013
dd8791e9
SM
12014 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12015 command changed buffer (ie. `flyspell-pre-buffer' is not current
12016 buffer), which prevents making decisions based on invalid value of
12017 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12018 cause an error when `flyspell-pre-point' was nil after switching
12019 buffers.
12020 (flyspell-post-command-hook): No longer needs to change buffers when
12021 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12022
ec7e39f2
AM
120232013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12024
12025 * textmodes/ispell.el (ispell-add-per-file-word-list):
12026 Fix `flyspell-correct-word-before-point' error when accepting
12027 words and `coment-padding' is an integer by using
12028 `comment-normalize-vars' (Bug #14214).
12029
083850a6
FEG
120302013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12031
12032 New defun movement commands.
12033 * progmodes/python.el (python-nav--syntactically)
12034 (python-nav--forward-defun, python-nav-backward-defun)
12035 (python-nav-forward-defun): New functions.
12036
619ed6e1
FEG
120372013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12038
12039 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12040 (python-syntax-context): Use named compiler-macro for backwards
12041 compatibility with Emacs 24.x.
12042
7a1beb6c
LL
120432013-04-17 Leo Liu <sdl.web@gmail.com>
12044
12045 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12046 octave-hide-process-buffer.
12047
2d3fa3e5
SM
120482013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12049
12050 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12051 (bug#14216).
12052
7ce5be54
JPG
120532013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12054
12055 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12056 Fix adjustment of offset when receiving incomplete responses from GDB
12057 (bug#14129).
12058
351edece
SM
120592013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12060
12061 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12062 python-mode-abbrev-table.
12063 (python-skeleton-define): Adjust accordingly.
12064 (python-mode-abbrev-table): New table that inherits from it so that
12065 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12066
12067 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12068 (abbrev-symbol): Use it.
12069 (abbrev--before-point): Use it since we already handle inheritance.
12070
613f9481
LL
120712013-04-16 Leo Liu <sdl.web@gmail.com>
12072
12073 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12074 binding to info-lookup-symbol.
12075
51646b62
JB
120762013-04-16 Juanma Barranquero <lekktu@gmail.com>
12077
12078 * minibuffer.el (completion--twq-all):
12079 * term/ns-win.el (ns-initialize-window-system):
12080 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12081
efb3f01d
SM
120822013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12083
36c0a301
SM
12084 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12085 global bindings.
12086
efb3f01d
SM
12087 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12088
fb549d64
DG
120892013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12090
12091 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12092 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12093 to nil.
12094 (ruby-end-of-defun): Remove the unused arg, change the docstring
12095 to reflect that this function is only used as the value of
12096 `end-of-defun-function'.
12097 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12098 to reflect an earlier change that beginning/end-of-defun functions
12099 jump between methods in a class definition, as well as top-level
12100 functions.
12101
21e8fe2f
SM
121022013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12103
12104 * minibuffer.el (minibuffer-complete): Don't just scroll
12105 a *Completions* that's been iconified.
12106 (minibuffer-force-complete): Make sure repetitions do cycle when going
12107 through completion-in-region -> minibuffer-complete.
12108
20e527d0
AM
121092013-04-15 Alan Mackenzie <acm@muc.de>
12110
12111 Correct the placement of c-cpp-delimiters when there're #s not at
12112 col 0.
12113
12114 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12115 place a submatch around the #.
21e8fe2f
SM
12116 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12117 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12118 on the #, not BOL.
12119
dabefae5
SM
121202013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12121
12122 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12123 (advice--member-p): New arg `name'.
12124 (advice--add-function, advice-member-p): Use it (bug#14202).
12125
85c9ab64
AM
121262013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12127
12128 Reformulate java imenu-generic-expression.
12129 The old expression contained ill formed regexps.
12130
12131 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12132 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12133 (cc-imenu-java-method-arg-regexp): New defconsts.
12134 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12135 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12136 handling of spaces in the regexp.
12137
0f821d99
AM
121382013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12139
12140 * textmodes/ispell.el (ispell-command-loop): Remove
12141 flyspell highlight of a word when ispell accepts it (bug #14178).
12142
eb922adf
MA
121432013-04-15 Michael Albinus <michael.albinus@gmx.de>
12144
12145 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12146 uses code from the previous `ange-ftp-run-real-handler'.
12147 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12148 only in case that function exist. This is needed for proper
12149 unloading of Tramp.
12150
4d9a0979
TH
121512013-04-15 Tassilo Horn <tsdh@gnu.org>
12152
12153 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12154
12155 * textmodes/reftex.el (reftex-compile-variables): Use it.
12156
a829b0dc
SM
121572013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12158
91e8293c
SM
12159 * files.el (normal-mode): Only use default major-mode if no other mode
12160 was specified.
12161
830aed4d
SM
12162 * emacs-lisp/trace.el (trace-values): New function.
12163
a829b0dc
SM
12164 * files.el: Allow : in local variables (bug#14089).
12165 (hack-local-variable-regexp): New var.
12166 (hack-local-variables-prop-line, hack-local-variables): Use it.
12167
7ae9f0fb
RW
121682013-04-13 Roland Winkler <winkler@gnu.org>
12169
12170 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12171 data before it gets modified by bibtex-beginning-of-entry.
12172
6646e848
RW
121732013-04-13 Roland Winkler <winkler@gnu.org>
12174
12175 * textmodes/bibtex.el (bibtex-url): Doc fix.
12176
121772013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12178
12179 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12180 does not visit a BibTeX file, exclude it from the list of buffers
12181 returned by bibtex-initialize.
12182
0aa3616e
SB
121832013-04-13 Stephen Berman <stephen.berman@gmx.net>
12184
12185 * window.el (split-window): Remove interactive form, since as a
12186 command this function is a special case of split-window-below.
12187 Correct doc string.
12188
011cddd6
RW
121892013-04-12 Roland Winkler <winkler@gnu.org>
12190
12191 * faces.el (read-face-name): Do not override value of arg default.
12192 Allow single faces and strings as default values. Remove those
12193 elements from return value that are not faces.
12194 (describe-face): Simplify.
12195 (face-at-point): New optional args thing and multiple so that this
12196 function can provide the same functionality previously provided by
12197 read-face-name.
12198 (make-face-bold, make-face-unbold, make-face-italic)
12199 (make-face-unitalic, make-face-bold-italic, invert-face)
12200 (modify-face, read-face-and-attribute): Use face-at-point.
12201
12202 * cus-edit.el (customize-face, customize-face-other-window)
12203 * cus-theme.el (custom-theme-add-face)
12204 * face-remap.el (buffer-face-set)
12205 * facemenu.el (facemenu-set-face): Use face-at-point.
12206
f24e0036
MA
122072013-04-12 Michael Albinus <michael.albinus@gmx.de>
12208
12209 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12210
da3cda2d
TH
122112013-04-10 Tassilo Horn <tsdh@gnu.org>
12212
12213 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12214 off leading { and trailing } from field values.
12215
15e54145
SM
122162013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12217
78ce603d
SM
12218 * emacs-lisp/timer.el (timer--check): New function.
12219 (timer--time, timer-set-function, timer-event-handler): Use it.
12220 (timer-set-idle-time): Simplify.
12221 (timer--activate): CSE.
12222 (timer-event-handler): Give more info in error message.
12223 (internal-timer-start-idle): New function, moved from C.
12224
15e54145
SM
12225 * mpc.el (mpc-proc): Add `restart' argument.
12226 (mpc-proc-cmd): Use it.
12227 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12228 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12229 less often.
12230
7144c627
MY
122312013-04-10 Masatake YAMATO <yamato@redhat.com>
12232
12233 * progmodes/sh-script.el: Implement `sh-mode' own
12234 `add-log-current-defun-function' (bug#14112).
12235 (sh-current-defun-name): New function.
12236 (sh-mode): Use the function.
12237
b39792eb
BG
122382013-04-09 Bastien Guerry <bzg@gnu.org>
12239
12240 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12241
8acdeb71
SM
122422013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12243
6fcdab68
SM
12244 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12245
8acdeb71
SM
12246 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12247 timer (bug#14156).
12248
e3e7b504
NF
122492013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12250
12251 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12252 declaration.
12253
201bb296
LL
122542013-04-07 Leo Liu <sdl.web@gmail.com>
12255
12256 * pcmpl-x.el: New file.
12257
ebb19708
DA
122582013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12259
12260 Do not set x-display-name until X connection is established.
12261 This is needed to prevent from weird situation described at
12262 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12263 * frame.el (make-frame): Set x-display-name after call to
12264 window system initialization function, not before.
12265 * term/x-win.el (x-initialize-window-system): Add optional
12266 display argument and use it.
12267 * term/w32-win.el (w32-initialize-window-system):
12268 * term/ns-win.el (ns-initialize-window-system):
12269 * term/pc-win.el (msdos-initialize-window-system):
12270 Add compatible optional display argument.
12271
33bb237a
EZ
122722013-04-06 Eli Zaretskii <eliz@gnu.org>
12273
12274 * files.el (normal-backup-enable-predicate): On MS-Windows and
12275 MS-DOS compare truenames of temporary-file-directory and of the
12276 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12277 don't fail comparison by compare-strings. Also, compare file
12278 names case-insensitively on MS-Windows and MS-DOS.
12279
134abf1f
SM
122802013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12281
12282 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12283 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12284
d695cb94
DG
122852013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12286
e3e7b504
NF
12287 * whitespace.el (whitespace-color-on, whitespace-color-off):
12288 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12289
f4ad7ea1 122902013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12291
12292 * ispell.el (ispell-set-spellchecker-params):
12293 Really set `ispell-args' for all equivs.
12294
632556e4
SM
122952013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12296
12297 * ido.el (ido-completions): Use extra elements of ido-decorations
12298 (bug#14143).
12299 (ido-decorations): Update docstring.
12300
2a417372
MA
123012013-04-05 Michael Albinus <michael.albinus@gmx.de>
12302
12303 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12304 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12305 nil during initialization, in order not to miss changes since the
12306 file was opened. (Bug#14140)
12307
fc164b0c
LL
123082013-04-05 Leo Liu <sdl.web@gmail.com>
12309
12310 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12311
0ccecc08
JB
123122013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12313
12314 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12315
51af1aa2
GM
123162013-04-04 Glenn Morris <rgm@gnu.org>
12317
12318 * electric.el (electric-pair-inhibit-predicate): Add :version.
12319
b208ebc6
SM
123202013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12321
12322 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12323 when a package is required several times (bug#14082).
12324
f3d3eaf0
RW
123252013-04-04 Roland Winkler <winkler@gnu.org>
12326
12327 * faces.el (read-face-name): Behave as promised by the docstring.
12328 Assume that arg default is a list of faces.
12329 (describe-face): Call read-face-name with list of default faces.
12330
2575da50
TV
123312013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12332
12333 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12334 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12335 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12336 the header.
12337 (bookmark-exit-hook-internal): Save even if list is empty.
12338
397703b4
YH
123392013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12340
12341 * emacs-lisp/package.el (package-pinned-packages): New var.
12342 (package--add-to-archive-contents): Obey it (bug#14118).
12343
691e26ae
AM
123442013-04-03 Alan Mackenzie <acm@muc.de>
12345
8a621d53
JB
12346 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12347 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12348
12349 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12350 parameter `not-in-delimiter'. Handle being inside comment opener.
12351 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12352 character in case we're typing a '*' after a '/'.
12353 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12354 instead by passing the parameter to c-state-pp-to-literal.
12355
12356 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12357 for elt. 7 of a parse state.
12358
4b725a70
PE
123592013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12360
12361 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12362 * international/latin1-disp.el, international/mule-util.el:
12363 * language/cyril-util.el, language/european.el, language/ind-util.el:
12364 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12365 * language/tibetan.el, language/viet-util.el:
12366 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12367
15c579f0
SM
123682013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12369
12370 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12371 (electric-pair-post-self-insert-function): Use it.
12372 (electric-pair-default-inhibit): New function, extracted from
12373 electric-pair-post-self-insert-function.
12374
a77e2924
RW
123752013-03-31 Roland Winkler <winkler@gnu.org>
12376
12377 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12378
2bd8a4a8
SM
123792013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12380
12381 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12382
8d3655be 123832013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12384
12385 Un-indent after "pass" and "return" statements (Bug#13888)
12386 * progmodes/python.el (python-indent-block-enders): New var.
12387 (python-indent-calculate-indentation): Use it.
12388
8d3655be 123892013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12390
12391 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12392 defun. Defining it as defalias could introduce too eager
12393 byte-compiler optimization. (Bug#14030)
12394
8d3655be 123952013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12396
12397 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12398
0b1619da
LL
123992013-03-30 Leo Liu <sdl.web@gmail.com>
12400
12401 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12402 (kmacro-execute-from-register): Pass the keyboard macro to
12403 kmacro-call-macro or repeating won't work correctly.
12404
0b938190
TZ
124052013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12406
12407 * progmodes/subword.el: Back to using `forward-symbol'.
12408
12409 * subr.el (forward-whitespace, forward-symbol)
12410 (forward-same-syntax): Move from thingatpt.el.
12411
35710234
LL
124122013-03-29 Leo Liu <sdl.web@gmail.com>
12413
12414 * kmacro.el (kmacro-to-register): New command.
12415 (kmacro-execute-from-register): New function.
12416 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12417
efc0bb73
SM
124182013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12419
12420 * mpc.el: Use defvar-local and setq-local.
12421 (mpc--proc-connect): Connection failures are not bugs.
12422 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12423 (mpc-volume-map): Bind to the up-events.
12424
75a2f981
TZ
124252013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12426
12427 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12428 instead of `forward-symbol'.
12429
17c781d1
SM
124302013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12431
12432 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12433 (edebug--recursive-edit): Use it.
12434 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12435 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12436
f67bfbcf
LL
124372013-03-28 Leo Liu <sdl.web@gmail.com>
12438
12439 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12440
b59f639d
EZ
124412013-03-27 Eli Zaretskii <eliz@gnu.org>
12442
12443 * facemenu.el (list-colors-callback): New defvar.
12444 (list-colors-redisplay): New function.
12445 (list-colors-display): Install list-colors-redisplay as the
12446 revert-buffer-function. (Bug#14063)
12447
f557c1b1
SM
124482013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12449
b1da2957
SM
12450 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12451 and suffixes don't overlap (bug#14061).
12452
f557c1b1
SM
12453 * case-table.el: Use lexical-binding.
12454 (case-table-get-table): New function.
12455 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12456
002668e1
TZ
124572013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12458
12459 * progmodes/subword.el: Add `superword-mode' to do word motion
12460 over symbol_words (parallels and leverages `subword-mode' which
12461 does word motion inside MixedCaseWords).
12462
73572c72
AG
124632013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12464
78b8f320 12465 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12466 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12467
69b2c07e
SM
124682013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12469
12470 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12471 Change return value to be a sexp. Delay `get-buffer' to after
12472 restoring the desktop (bug#13951).
12473
08bb5ee2
LL
124742013-03-26 Leo Liu <sdl.web@gmail.com>
12475
12476 * register.el: Move semantic tag handling back to
12477 cedet/semantic/senator.el. (Bug#14052)
12478
8d4c974e
SM
124792013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12480
12481 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12482 into the prompt either (bug#13963).
12483
b234d92c
SM
124842013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12485
12486 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12487 part of "(error-foo)".
12488
ddfa3cb4
JL
124892013-03-24 Juri Linkov <juri@jurta.org>
12490
12491 * replace.el (list-matching-lines-prefix-face): New defcustom.
12492 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12493 `occur-engine' if `face-differs-from-default-p' returns t.
12494 (occur-engine): Add `,' inside backquote construct to evaluate
12495 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12496 Pass `prefix-face' to the functions `occur-context-lines' and
12497 `occur-engine-add-prefix'.
12498 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12499 `prefix-face' and propertize the prefix with `prefix-face'.
12500 (Bug#14017)
12501
7b0e2f85
LL
125022013-03-24 Leo Liu <sdl.web@gmail.com>
12503
12504 * nxml/rng-valid.el (rng-validate-while-idle)
12505 (rng-validate-quick-while-idle): Guard against deleted buffer.
12506 (Bug#13999)
12507
12508 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12509 is the last entry in kill-buffer-hook.
12510
12511 * files.el (kill-buffer-hook): Doc fix.
12512
b3082f49
DG
125132013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12514
b234d92c
SM
12515 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12516 Make it safe-local.
bde73d27 12517
b3082f49
DG
12518 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12519
a320a2db
LL
125202013-03-23 Leo Liu <sdl.web@gmail.com>
12521
7e74b0fb
LL
12522 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12523 Remove.
12524
12525 * nxml/rng-valid.el (rng-validate-mode)
12526 (rng-after-change-function, rng-do-some-validation):
12527 * nxml/rng-maint.el (rng-validate-buffer):
12528 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12529 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12530 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12531 (nxml-extend-after-change-region): Use with-silent-modifications.
12532
a320a2db
LL
12533 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12534 timer-idle-list.
12535
12536 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12537 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12538 timer-idle-list. (Bug#13999)
12539
e38e6780
JL
125402013-03-23 Juri Linkov <juri@jurta.org>
12541
12542 * info.el (info-index-match): New face.
12543 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12544 main pattern and add text properties with the new face to matches
12545 in index entries relative to the beginning of the index entry.
12546 (Bug#14015)
12547
e8cc7880
DE
125482013-03-21 Eric Ludlam <zappo@gnu.org>
12549
39c87140 12550 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12551 Inhibit read only while inserting objects.
12552
9bb0d822
TZ
125532013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12554
12555 * progmodes/cfengine.el: Update docs to mention
12556 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12557 symbol motion. Remove "_" from the word syntax.
12558
aa703640
TZ
125592013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12560
12561 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12562 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12563
afff09d0
JL
125642013-03-20 Juri Linkov <juri@jurta.org>
12565
12566 * info.el (Info-next-reference-or-link)
12567 (Info-prev-reference-or-link): New functions.
12568 (Info-next-reference, Info-prev-reference): Use them.
12569 (Info-try-follow-nearest-node): Handle footnote navigation.
12570 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12571
9a1ff164
SM
125722013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12573
12574 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12575 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12576
2667d15d
PE
125772013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12578
12579 Suppress unnecessary non-ASCII chatter during build process.
12580 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12581 (batch-skkdic-convert): Suppress most of the chatter.
12582 It's not needed so much now that machines are faster,
12583 and its non-ASCII component was confusing; see Dmitry Gutov in
12584 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12585
438b0579
LL
125862013-03-20 Leo Liu <sdl.web@gmail.com>
12587
12588 * ido.el (ido-chop): Fix bug#10994.
12589
c128ab07
DG
125902013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12591
12592 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12593 Remove vars.
9a1ff164
SM
12594 (whitespace-color-on, whitespace-color-off):
12595 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12596
0e6008c5
SM
125972013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12598
12599 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12600 remapping in mode-line.
12601 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12602
627b52b0
DG
126032013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12604
12605 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12606 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12607 (whitespace-font-lock-keywords): Change description.
12608 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12609 the constructed keywords instead.
12610 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12611
50c3a20b
LL
126122013-03-19 Leo Liu <sdl.web@gmail.com>
12613
12614 * progmodes/compile.el (compilation-display-error): New command.
12615 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12616 C-o. (Bug#13992)
12617
2aa2157b
PE
126182013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12619
12620 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12621
e477dbfa
JD
126222013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12623
12624 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12625
64ab82d1
MA
126262013-03-18 Michael Albinus <michael.albinus@gmx.de>
12627
12628 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12629
12630 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12631 * net/tramp-gvfs.el (top):
12632 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12633 (tramp-handle-shell-command): Use it.
12634 (tramp-dissect-file-name): Raise an error when hostname is a
12635 method name, and neither method nor user is specified.
12636
12637 * net/trampver.el: Update release number.
12638
33cef733
LL
126392013-03-18 Leo Liu <sdl.web@gmail.com>
12640
12641 Make sure eldoc can be turned off properly.
12642 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12643 eldoc-mode.
12644 (eldoc-display-message-p): Revert last change.
12645 (eldoc-display-message-no-interference-p)
12646 (eldoc-print-current-symbol-info): Tweak.
12647
2167b7b2
TH
126482013-03-18 Tassilo Horn <tsdh@gnu.org>
12649
12650 * doc-view.el (doc-view-new-window-function): Check the new window
12651 overlay's display property instead the char property of the
12652 buffer's first char. Use `with-selected-window' instead of
12653 `save-window-excursion' with `select-window'.
12654 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12655 display property instead the char property of the buffer's first char.
2167b7b2 12656
982efbcd
PE
126572013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12658
12659 Automate the build of ja-dic.el (Bug#13984).
12660 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12661 from the input, rather than assume that it's been done for us by the
12662 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12663 the current date into a ja-dic.el comment, as that complicates
12664 regression testing.
12665
2fcc7665
SM
126662013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12667
12668 * whitespace.el: Fix double evaluation.
12669 (whitespace-space, whitespace-hspace, whitespace-tab)
12670 (whitespace-newline, whitespace-trailing, whitespace-line)
12671 (whitespace-space-before-tab, whitespace-indentation)
12672 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12673 obsolete defvars.
12674 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12675 (whitespace-color-on): Use a single font-lock-add-keywords call.
12676 Fix double-evaluation of face variables.
12677
67c0a6e6
MA
126782013-03-17 Michael Albinus <michael.albinus@gmx.de>
12679
2fcc7665
SM
12680 * net/tramp-adb.el (tramp-adb-parse-device-names):
12681 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12682 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12683
69489f1d
LL
126842013-03-17 Leo Liu <sdl.web@gmail.com>
12685
12686 Extend eldoc to display info in the mode-line. (Bug#13978)
12687 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12688 (eldoc-mode-line-string): New variable.
12689 (eldoc-minibuffer-message): New function.
12690 (eldoc-message-function): New variable.
12691 (eldoc-message): Use it.
12692 (eldoc-display-message-p)
2fcc7665
SM
12693 (eldoc-display-message-no-interference-p):
12694 Support eldoc-post-insert-mode.
69489f1d
LL
12695
12696 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12697 (eval-expression): Run it.
12698
9c44569e
RW
126992013-03-17 Roland Winkler <winkler@gnu.org>
12700
12701 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12702 strings in the list of return values.
12703
327f1f6f
JB
127042013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12705
12706 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12707 radix before checking for HMS forms.
12708
67ed8fcd
LL
127092013-03-16 Leo Liu <sdl.web@gmail.com>
12710
12711 * progmodes/scheme.el: Add indentation and font-locking for λ.
12712 (Bug#13975)
12713
78be8b64 127142013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12715
12716 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12717 token before point (bug#13942).
12718
78be8b64 127192013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12720
95b43468 12721 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12722
98e775e6
EZ
127232013-03-16 Eli Zaretskii <eliz@gnu.org>
12724
12725 * startup.el (command-line-normalize-file-name): Fix handling of
12726 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12727 <xfq.free@gmail.com> in
12728 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12729
2edd6029
MA
127302013-03-15 Michael Albinus <michael.albinus@gmx.de>
12731
12732 Sync with Tramp 2.2.7.
12733
12734 * net/trampver.el: Update release number.
12735
d35f5864
TH
127362013-03-14 Tassilo Horn <tsdh@gnu.org>
12737
e903c210 12738 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12739 (doc-view-insert-image): Don't modify overlay associated to
12740 non-live windows, and implement horizontal centering of image in
12741 case it's smaller than the window.
12742 (doc-view-new-window-function): Force redisplay of new windows on
12743 doc-view buffers.
d35f5864 12744
1c4a85ed
KF
127452013-03-13 Karl Fogel <kfogel@red-bean.com>
12746
12747 * saveplace.el (save-place-alist-to-file): Don't sort
12748 `save-place-alist', just pretty-print it (bug#13882).
12749
85b66a21
MA
127502013-03-13 Michael Albinus <michael.albinus@gmx.de>
12751
a020afb9
JB
12752 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12753 Check whether `default-file-name-coding-system' is bound.
12754 It isn't in XEmacs.
85b66a21 12755
175600da
SM
127562013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12757
e7f7cb1a
SM
12758 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12759 backquotes for `obsolete' (bug#13929).
12760
175600da
SM
12761 * international/mule.el (find-auto-coding): Include file name in
12762 obsolescence warning (bug#13922).
12763
ca68a22e
TZ
127642013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12765
12766 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12767 for CFEngine 3-specific indentation.
12768 (cfengine3-indent-line): Use it. Fix up category regex.
12769 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12770
940e5099
SM
127712013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12772
12773 * type-break.el (type-break-file-name):
12774 * textmodes/remember.el (remember-data-file):
12775 * strokes.el (strokes-file):
12776 * shadowfile.el (shadow-initialize):
12777 * saveplace.el (save-place-file):
12778 * ps-bdf.el (bdf-cache-file):
12779 * progmodes/idlwave.el (idlwave-config-directory):
12780 * net/quickurl.el (quickurl-url-file):
12781 * international/kkc.el (kkc-init-file-name):
12782 * ido.el (ido-save-directory-list-file):
12783 * emulation/viper.el (viper-custom-file-name):
12784 * emulation/vip.el (vip-startup-file):
12785 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12786 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12787
cc725808
PE
127882013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12789
12790 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12791 * language/thai-word.el: Switch to UTF-8.
12792
a020afb9 12793See ChangeLog.16 for earlier changes.
e3d51b27
MR
12794
12795;; Local Variables:
12796;; coding: utf-8
e3d51b27
MR
12797;; End:
12798
ba318903 12799 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12800
12801 This file is part of GNU Emacs.
12802
12803 GNU Emacs is free software: you can redistribute it and/or modify
12804 it under the terms of the GNU General Public License as published by
12805 the Free Software Foundation, either version 3 of the License, or
12806 (at your option) any later version.
12807
12808 GNU Emacs is distributed in the hope that it will be useful,
12809 but WITHOUT ANY WARRANTY; without even the implied warranty of
12810 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12811 GNU General Public License for more details.
12812
12813 You should have received a copy of the GNU General Public License
12814 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.