* files.el (confirm-kill-emacs): Clarify doc (bug#15455).
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6abe4589
LI
12014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2
f3c60241
LI
3 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4
3bd1d8a8
LI
5 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
6
6abe4589
LI
7 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
8 predicate function (bug#15455).
9
a11463de
DG
102014-02-10 Dmitry Gutov <dgutov@yandex.ru>
11
12 * ielm.el (inferior-emacs-lisp-mode): Instead of
13 `comment-use-global-state', set `comment-use-syntax'.
14
2ab0ad85
GM
152014-02-10 Glenn Morris <rgm@gnu.org>
16
17 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
18
411141fb
AM
192014-02-09 Alan Mackenzie <acm@muc.de>
20
21 Fix c-invalidate-state-cache on narrowed buffers.
22 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
23 Widen when setting and clearing the CPP delimiter properties.
24
d6d5fdf8
LI
252014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
26
92c70367
LI
27 * help.el (describe-bindings): Doc fix (bug#9888).
28
468ef484
LI
29 * files.el (save-buffer): Use ARG as the parameter name for
30 consistency (bug#10346).
7e34193f 31 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 32
fc2b1ffa 33 * cus-edit.el (customize-apropos): Fix error string.
382fd368 34 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 35 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 36
c7b92b88
LI
37 * dired-aux.el (dired-copy-file-recursive): Remove slighly
38 misleading comment (bug#11328).
39
790aceec
LI
40 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
41
a54a7552 42 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 43 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 44
dd163123
LI
45 * font-lock.el (font-lock-value-in-major-mode): Clarify the
46 meaning of the parameter (bug#12282).
47
9e108fe6
LI
48 * files.el (find-file-noselect): Clarify prompt when changing
49 readedness (bug#13261).
5a836f58
LI
50 (locate-file): Suffixes aren't returned, so don't say that they
51 are (bug#12674).
2356b316 52 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 53
20dda930
LI
54 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
55 before we actually start to delete things (bug#16331).
56
d6d5fdf8
LI
57 * subr.el (event-start): Doc fix (bug#14228).
58 (event-end): Ditto.
59
2abd71e5
GM
602014-02-09 Glenn Morris <rgm@gnu.org>
61
62 * emacs-lisp/warnings.el (lwarn):
63 Empower help-enable-auto-load. (Bug#15940)
64
c1b5900b
AS
652014-02-08 Andreas Schwab <schwab@linux-m68k.org>
66
67 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
68 (Bug#16690)
69
429b93bd
MA
702014-02-08 Michael Albinus <michael.albinus@gmx.de>
71
72 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
73 Insert output at end of buffer. (Bug#16120)
74
b772a699
LI
752014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
76
18c6aa8c
LI
77 * simple.el (choose-completion-string-functions): Document new
78 calling convention (bug#14153).
54dd147a 79 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 80
dce8463b
LI
81 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
82
b772a699 83 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 84 (find-grep-dired): Doc fix (bug#14288).
b772a699 85
2423c8d5
JL
862014-02-08 Juri Linkov <juri@jurta.org>
87
88 * isearch.el (isearch-quote-char): Check character validity
89 like in `quoted-insert' (bug#16677).
90
518f26c2
LI
912014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
92
893cc908
LI
93 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
94
9165ffc0
LI
95 * isearch.el (isearch-hide-immediately): Doc clarification
96 (bug#14723).
97
6ef4f3ce
LI
98 * simple.el (line-move): Document utility function used many
99 places in the Emacs sources (bug#14843).
100
be58a238 101 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 102 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 103 (dired-up-directory): Doc fix (bug#14848).
be58a238 104
dd7aafbb
LI
105 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
106
15cb9968
LI
107 * files.el (file-relative-name): Doc fix (bug#15159).
108
9788effd
LI
109 * fringe.el (fringe-styles): Doc fix (bug#15239).
110
c96411bd
LI
111 * isearch.el (isearch-filter-predicate): Documentation typo fix
112 (bug#15474).
113
ea838c36
LI
114 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
115
0d8a4ae7
LI
116 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
117
f7a17bb3
LI
118 * replace.el (replace-match-maybe-edit): Doc clarification
119 (bug#15632).
120
1bde5c3b
LI
121 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
122
518f26c2
LI
123 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
124
dd8e49fd
GM
1252014-02-08 Glenn Morris <rgm@gnu.org>
126
127 * help-fns.el (describe-variable):
128 Check {file,dir}-local-variables-alist, and buffer-file-name,
129 in the correct buffer.
130
7e088b29
IL
1312014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
132
133 * help-fns.el (describe-variable): Fix the case where
134 a value is directory-local with no dir-locals file. (Bug#16635)
135
41a4a82f
GM
1362014-02-08 Glenn Morris <rgm@gnu.org>
137
138 * abbrev.el (edit-abbrevs-mode):
139 Derive from fundamental-mode. (Bug#16682)
140
e255a703
JB
1412014-02-07 Juanma Barranquero <lekktu@gmail.com>
142
143 * simple.el (quoted-insert): Check character validity (bug#16677).
144
c99cf5ee
JL
1452014-02-07 Juri Linkov <juri@jurta.org>
146
147 * desktop.el (desktop-read): Claim the lock when the owner is not
148 the current process. (Bug#16157)
149
7d7a68d8
JL
1502014-02-07 Juri Linkov <juri@jurta.org>
151
152 * desktop.el (desktop-buffers-not-to-save): Change default from nil
153 to "\\` ". (Bug#16651)
154
2b777cd9
JL
1552014-02-07 Juri Linkov <juri@jurta.org>
156
157 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
158 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
159 (desktop-auto-save-cancel-timer): New function with some code from
160 `desktop-auto-save-set-timer'.
161 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
162 Instead of setting `desktop-save-mode' to nil, call
163 `desktop-save-mode' with arg 0. (Bug#16630)
164
60eabbb9
GM
1652014-02-07 Glenn Morris <rgm@gnu.org>
166
99cf3859
GM
167 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
168 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
169 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
170
2b568bc9
GM
171 * obsolete/iswitchb.el: Move to obsolete/.
172 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
173 since obsolete/ is not scanned for autoloads.
174 * emacs-lisp/authors.el (authors-valid-file-names):
175 Add iswitchb.el.
176
60eabbb9
GM
177 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
178 Disable now non-functional find-file-hook.
179
629de968
MA
1802014-02-06 Michael Albinus <michael.albinus@gmx.de>
181
182 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
183 instead of ";" in order to avoid additional prompts. Let heredoc
184 scripts read from tty. (Bug#16582)
185 (tramp-send-command): No special handling of heredocs, it isn't
186 necessary anymore.
187
29127376
SM
1882014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
189
190 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
191 with a space (bug#16664). Limit the symbols considered to the ones
192 that are bound or fbound (bug#16646).
193
79b6e0a9
GM
1942014-02-06 Glenn Morris <rgm@gnu.org>
195
196 * epa.el (epa-mail-aliases): Doc fix.
197
a333e4d2
DG
1982014-02-06 Dmitry Gutov <dgutov@yandex.ru>
199
29127376
SM
200 * emacs-lisp/lisp.el (lisp-completion-at-point):
201 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
202 (bug#16604).
203
204 * minibuffer.el (completion-table-merge): New function.
205
9a83b32b
MA
2062014-02-05 Michael Albinus <michael.albinus@gmx.de>
207
208 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
209 (tramp-sh-handle-set-file-acl)
210 (tramp-sh-handle-start-file-process)
211 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
212 (tramp-find-executable, tramp-send-command): Use it.
213
451ea3e6
GM
2142014-02-05 Glenn Morris <rgm@gnu.org>
215
9a83b32b 216 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 217
dd27d13b
FEG
2182014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
219
220 * progmodes/python.el (python-shell-send-string):
221 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
222
08e41897
AL
2232014-02-04 Anders Lindgren <andlind@gmail.com>
224
225 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
226 the names (bug#16620).
227
764ec9e5
MR
2282014-02-03 Martin Rudalics <rudalics@gmx.at>
229
08e41897
AL
230 * faces.el (window-divider): New default value. Rewrite doc-string.
231 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 232
6da8227c
DG
2332014-02-03 Dmitry Gutov <dgutov@yandex.ru>
234
235 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
236 `protected' and `public' can also be called without arguments.
237
6a6b8e40
GM
2382014-02-03 Glenn Morris <rgm@gnu.org>
239
7bcbca40
GM
240 * register.el (window-configuration-to-register)
241 (frame-configuration-to-register): Unadvertise unused argument.
242 * frameset.el (frameset-to-register): Remove unused argument.
243
719d965d 244 * frameset.el (frameset-to-register):
6a6b8e40
GM
245 * kmacro.el (kmacro-to-register):
246 * register.el (increment-register):
247 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
248 (calc-append-to-register, calc-prepend-to-register):
249 * play/gametree.el (gametree-layout-to-register)
250 (gametree-apply-register-layout):
251 * textmodes/picture.el (picture-clear-rectangle-to-register)
252 (picture-yank-rectangle-from-register):
253 * vc/emerge.el (emerge-combine-versions-register):
254 Use register-read-with-preview to read registers.
255
5dca7759
JT
2562014-02-03 João Távora <joaotavora@gmail.com>
257
258 * elec-pair.el (electric-pair-backward-delete-char): Don't error
259 when at beginning of (possibly narrowed) buffer.
260
709085b9
DC
2612014-02-02 Daniel Colascione <dancol@dancol.org>
262
08e41897
AL
263 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
264 Also try to display local help from just before point.
709085b9 265
99f7b0a6
AM
2662014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
267
268 c-parse-state. Don't "append-lower-brace-pair" in certain
269 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
270 recognised as a comment.
271
272 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
273 as well as normal comment starter.
274 (c-parse-state-get-strategy): Extra return possibility
275 'back-and-forward.
276 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
277 return value list to indicate replacement of a brace-pair cons
278 with its car.
279 (c-parse-state-1): With 'back-and-forward, only call
280 c-append-lower-brace-pair-to state-cache when cons-separated.
281
f0a10576
JD
2822014-02-02 Jan Djärv <jan.h.d@swipnet.se>
283
284 * term/ns-win.el (ns-suspend-error): New function.
285 (ns-initialize-window-system): Add ns-suspend-error to
286 suspend-hook (Bug#16612).
287
b8d552c2
DC
2882014-02-02 Daniel Colascione <dancol@dancol.org>
289
290 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
291
f2b7d123
DC
2922014-02-02 Daniel Colascione <dancol@dancol.org>
293
294 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
295
4472a196
GM
2962014-02-02 Glenn Morris <rgm@gnu.org>
297
298 * register.el (register-read-with-preview, point-to-register)
299 (window-configuration-to-register, frame-configuration-to-register)
300 (jump-to-register, number-to-register, view-register, insert-register)
301 (copy-to-register, append-to-register, prepend-to-register)
302 (copy-rectangle-to-register): Doc fixes.
303
70e5a261
SM
3042014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
305
306 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
307 * emacs-lisp/find-func.el (find-function-C-source): Idem.
308 * emacs-lisp/nadvice.el (advice--cd*r): New function.
309 * help-fns.el (describe-function-1): Use it.
310
7c324762
GM
3112014-02-02 Glenn Morris <rgm@gnu.org>
312
313 * register.el (register-preview-default): New function,
314 split from register-preview.
315 (register-preview-function): Rename from register-preview-functions,
316 make it not a hook.
317 (register-preview): Use register-preview-function.
318 (register-read-with-preview): Error on non-character event. (Bug#16595)
319
a09beb3d
DG
3202014-02-01 Dmitry Gutov <dgutov@yandex.ru>
321
322 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
323 `:' before binary operators (bug#16609). Don't check for `:'
324 before `[' and `(', or their syntax status. A percent literal
325 can't end with either.
68e004e0
DG
326 (ruby-font-lock-keywords): For built-ins that require arguments,
327 check that they're followed by something that looks like argument
328 (bug#16610).
a09beb3d 329
ed4d2875
LI
3302014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
331
332 * subr.el (butlast): Document what an omitted N means (bug#13437).
333 (nbutlast): Ditto.
334
dba6e3ec
LI
3352014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
336
337 * net/shr.el (shr-generic): Make into a defsubst to make the stack
338 depth shallower (bug#16587).
cc477daa
LI
339 (shr-tag-svg): Respect `shr-inhibit-images'.
340 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 341
e2a67bd0
DG
3422014-01-31 Dmitry Gutov <dgutov@yandex.ru>
343
344 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
345 (ruby-smie-grammar): Make "." right-associative. Make its priority
346 lower than the ternary and all binary operators.
347 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
348 parent, or the first "." parent at indentation.
349 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
350 (Bug#16593)
351
bd21bf41
JL
3522014-01-31 Juri Linkov <juri@jurta.org>
353
354 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
355 from `make-hash-table'.
356
357 * textmodes/ispell.el (ispell-init-process): Change message format
358 to be consistent with other messages.
359
b7e615b9
GM
3602014-01-31 Glenn Morris <rgm@gnu.org>
361
a69ecd19
GM
362 * delsel.el (delete-selection-mode): Doc fix.
363
9997d7e3
GM
364 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
365 (trace-function-background): Doc fixes.
366
fbb764b8
GM
367 * ido.el (ido-use-virtual-buffers): Doc fix.
368 Reset :version, since the default value has not changed.
369
da942af1
GM
370 * register.el (register-preview-delay, register-read-with-preview):
371 Doc fixes.
372
b7e615b9
GM
373 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
374 do not mess with mail-buffer position (fixes 2009-11-03 change).
375 * progmodes/cc-mode.el (c-submit-bug-report):
376 Check auto-fill-mode is bound. (Bug#16592)
377
0a25002d
DH
3782014-01-31 Darren Hoo <darren.hoo@gmail.com>
379
380 * startup.el (fancy-splash-image-file): New function,
381 split from fancy-splash-head.
382 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
383 so that we are both using the same image. (Bug#16574)
384
ad78f432
GM
3852014-01-30 Glenn Morris <rgm@gnu.org>
386
6bbc0c84
GM
387 * simple.el (eval-expression): Doc fix.
388
ad78f432
GM
389 * hexl.el (hexl-mode-hook):
390 * ielm.el (ielm-mode-hook):
391 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
392 (lisp-interaction-mode-hook):
393 * progmodes/cfengine.e (cfengine3-documentation-function):
394 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
395
7b2f049c
SM
3962014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
397
398 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
399 is a symbol (bug#16584).
400
0c633f13
GM
4012014-01-30 Glenn Morris <rgm@gnu.org>
402
403 * help.el (help-for-help-internal): Add "P" to text.
404
5e61c1ef
GM
4052014-01-29 Glenn Morris <rgm@gnu.org>
406
407 * simple.el (just-one-space, cycle-spacing): Doc fixes.
408
1dcb169c
MR
4092014-01-28 Martin Rudalics <rudalics@gmx.at>
410
411 * window.el (fit-frame-to-buffer): Fix calculations for margins and
412 height constraints.
413
a9128931
LL
4142014-01-28 Luke Lee <luke.yx.lee@gmail.com>
415
416 * progmodes/hideif.el: Extend to full CPP expression syntax.
417 (hif-token-alist): Add missing tokens.
418 (hif-token-regexp): Add support for float/octal/hex immediates.
419 (hif-string-literal-regexp): New const.
420 (hif-tokenize): Recognize strings and float/octal/hex immediates.
421 (hif-exprlist): New function.
422 (hif-parse-if-exp): Use it.
423 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
424 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
425 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
426 (hif-logxor, hif-comma): New functions.
427
a22359a7
GM
4282014-01-28 Glenn Morris <rgm@gnu.org>
429
793ffe81
GM
430 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
431
e3bd7eed
GM
432 * indent.el (tab-stop-list): Doc fix. Add :version.
433
a22359a7
GM
434 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
435 (cvs-append-to-ignore): Add compatibility alias.
436
52695556 4372014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 438
bac524e0
GM
439 * dired.el (dired-hide-details-mode): Don't autoload it,
440 since it cannot be used outside Dired buffers anyway.
441
52695556 442 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 443
52695556
GM
444 * dired.el (dired-hide-details-hide-symlink-targets)
445 (dired-hide-details-hide-information-lines)
446 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
447
448 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
449 * strokes.el (strokes-file): Doc fix. Bump :version.
450 (strokes-help): Doc fix.
451 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
452 * emulation/viper.el (viper): Doc fix for custom group.
453 (top-level): Remove oh-so-no-longer-relevant text about vip.
454 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
455
456 * ido.el (ido-save-directory-list-file):
457 * saveplace.el (save-place-file):
458 * calendar/timeclock.el (timeclock-file):
459 * net/quickurl.el (quickurl-url-file):
460 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
461 * progmodes/idlwave.el (idlwave-config-directory):
462 * textmodes/remember.el (remember-data-file):
463 Bump :version.
464
169d6004
GM
4652014-01-26 Glenn Morris <rgm@gnu.org>
466
de6a923b
GM
467 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
468 Doc fix. Make obsolete.
469 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
470
169d6004
GM
471 * sort.el (delete-duplicate-lines): Doc fix.
472
ed85dee6
RS
4732014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
474
475 * progmodes/ada-mode.el (ada):
476 * woman.el (woman): Link to info manual and Commentary section.
477
478 * progmodes/flymake.el (flymake):
479 * nxml/nxml-mode.el (nxml):
480 * net/eww.el (eww):
481 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
482 * htmlfontify.el (htmlfontify):
483 * ses.el (ses):
484 * epa.el (epa):
485 * ido.el (ido): Link to info manual.
486
e0c67e1d
LL
4872014-01-25 Leo Liu <sdl.web@gmail.com>
488
489 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
490
35408b1a
AS
4912014-01-25 Adam Sjøgren <asjo@koldfront.dk>
492
493 * net/shr.el (shr-tag-img): Prefer the title over the alt text
494 (bug#16537).
495
76c3fa95
JB
4962014-01-24 Juanma Barranquero <lekktu@gmail.com>
497
f77c7a99
JB
498 * net/eww.el (eww-download-callback):
499 Fix reference to eww-download-directory.
500
76c3fa95
JB
501 * emacs-lisp/bytecomp.el (byte-compile-file):
502 Remove unused local variable `file-name'.
503
1e548e40
GM
5042014-01-24 Glenn Morris <rgm@gnu.org>
505
03f3b318
GM
506 * woman.el (woman-default-faces, woman-monochrome-faces):
507 Fix obsolescence specification.
508
1e548e40
GM
509 * subr.el (with-demoted-errors): Doc fix.
510
d4f0427b
SM
5112014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
514 (cl--macroexp-fboundp): New function.
515 (cl--make-type-test): Use it.
516
1670e27f
GM
5172014-01-23 Glenn Morris <rgm@gnu.org>
518
519 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
520 * simple.el (eval-expression): Doc fixes.
521
80efa207
GM
5222014-01-22 Glenn Morris <rgm@gnu.org>
523
524 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
525
29afcbab
SM
5262014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
527
528 * emacs-lisp/package.el: Write files silently.
529 (package-autoload-ensure-default-file, package--write-file-no-coding)
530 (package-generate-description-file, package--download-one-archive)
531 (package-install-from-archive): Tell `write-region' to stay quiet.
532 (package-menu-mode, package-menu--print-info): Omit the Archive column
533 if there's only one archive.
534 (package-all-keywords, package--has-keyword-p): Remove dead code.
535
2a5bce4f
GM
5362014-01-22 Glenn Morris <rgm@gnu.org>
537
edace89f
GM
538 * version.el (emacs-bzr-version-bzr): Fix typo.
539
2a5bce4f
GM
540 * version.el (emacs-repository-get-version):
541 Check either .bzr or .git, but not both.
542 Make the git case actually use the DIR argument, and return nil
543 rather than the empty string.
983664c0 544 Avoid error if .git exists but the git executable is not found.
2a5bce4f 545
6cb4da45
MR
5462014-01-22 Martin Rudalics <rudalics@gmx.at>
547
548 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
549 * window.el (window-total-size, window-size): New argument ROUND.
550 (window--min-delta-1, window-min-delta, window--max-delta-1):
551 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
552 columns a window can shrink (Bug#16430).
553 (fit-window-to-buffer): Simplify code.
554 * term.el (term-window-width): Call window-body-width again.
555
cc0f2ece
GM
5562014-01-22 Glenn Morris <rgm@gnu.org>
557
7b997b14
GM
558 * image.el (image-format-suffixes): Doc fix.
559
44e76f9d
GM
560 * international/quail.el (quail-define-package): Doc fix.
561
73c1c6d7
GM
562 * emacs-lisp/authors.el (authors-valid-file-names):
563 (authors-renamed-files-alist): Additions.
7bfc1caa 564
85a5f61f
GM
565 * vc/vc-git.el (vc-git-print-log): Remove --follow;
566 reverts 2014-01-09 change. (Bug#16422)
567
cc0f2ece
GM
568 * calc/calc-embed.el (thing-at-point-looking-at):
569 * emacs-lisp/map-ynp.el (x-popup-dialog):
570 * obsolete/lmenu.el (x-popup-dialog):
571 * emacs-lisp/package.el (url-recreate-url):
572 * mail/mailclient.el (clipboard-kill-ring-save):
573 * subr.el (x-popup-dialog): Update declaration.
574 * mail/rmail.el (rmail-mime-message-p):
575 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
576
00d2a6bb
DC
5772014-01-21 Daniel Colascione <dancol@dancol.org>
578
579 * progmodes/sh-script.el (sh--inside-noncommand-expression):
580 Correctly detect when we're inside an arithmetic expansion form
581 containing nested parenthesis.
582 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
583 to detect cases where we shouldn't expand "<<" to a heredoc
584 skeleton.
585
dd9d2e9d
SM
5862014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
587
588 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
589 (eldoc--message-command-p): New function.
590 (eldoc-display-message-p): Use it.
591 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
592 message is not automatically erased for us.
593 (eldoc-print-current-symbol-info): Erase previous message, if any.
594
e7d807ca
TH
5952014-01-21 Tassilo Horn <tsdh@gnu.org>
596
4ff0a0e5
TH
597 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
598 specify it's an interactive function.
599
dd9d2e9d
SM
600 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
601 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
602 citations with optional arguments.
603
87503791
LL
6042014-01-21 Leo Liu <sdl.web@gmail.com>
605
606 * simple.el (read--expression): Don't enable eldoc-mode.
607
6cc750ee
SM
6082014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
609
610 * simple.el (move-beginning-of-line): Make sure we don't move forward
611 (bug#16497).
612
71f16bda
JL
6132014-01-20 Juri Linkov <juri@jurta.org>
614
615 * saveplace.el (toggle-save-place, save-place-to-alist)
616 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
617 'dired-mode) before checking for dired-directory. (Bug#16477)
618
3c5a4839
JL
6192014-01-20 Juri Linkov <juri@jurta.org>
620
621 * indent.el (indent-line-to): Use backward-to-indentation
622 instead of back-to-indentation. (Bug#16461)
623
f952002e
PE
6242014-01-20 Paul Eggert <eggert@cs.ucla.edu>
625
626 Revert some of the CANNOT_DUMP fix (Bug#16494).
627 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
628 but fixing this can wait until after the next release.
629 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
630
93675500
MA
6312014-01-19 Michael Albinus <michael.albinus@gmx.de>
632
633 * eshell/esh-mode.el (eshell-password-prompt-regexp):
634 Use `password-word-equivalents'.
635 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
636 to t. (Bug#5664, Bug#13124)
637
e3af763f
AM
6382014-01-19 Alan Mackenzie <acm@muc.de>
639
640 Bind open-paren-in-column-0-is-defun-start to nil at some entry
641 points.
642 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 643 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
644 * progmodes/cc-mode.el (c-before-change, c-after-change)
645 (c-font-lock-fontify-region): Bind it here.
646
4ff6d92d
MR
6472014-01-19 Martin Rudalics <rudalics@gmx.at>
648
649 * term.el (term-window-width): Call window-text-width instead of
650 window-width (Bug#16470).
651
9a685cf6
PE
6522014-01-18 Paul Eggert <eggert@cs.ucla.edu>
653
654 * simple.el (password-word-equivalents): Remove duplicates.
655 Sort, to make this easier next time.
656 Downcase. Omit ": " after "jelszó".
657
5aa78c2d
JD
6582014-01-18 Jan Djärv <jan.h.d@swipnet.se>
659
660 * term/common-win.el (saved-region-selection): Defvar it.
661 (x-select-text): Set saved-region-selection (Bug#16382).
662
cabb250c
GM
6632014-01-18 Glenn Morris <rgm@gnu.org>
664
665 * emacs-lisp/authors.el (authors-aliases)
666 (authors-renamed-files-alist): Add some entries.
667
a1340440
MA
6682014-01-17 Michael Albinus <michael.albinus@gmx.de>
669
93675500
MA
670 * net/tramp.el (tramp-password-prompt-regexp):
671 Use `password-word-equivalents' if available.
a1340440
MA
672 (tramp-action-password, tramp-process-one-action)
673 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
674
681ce5d2
CY
6752014-01-17 Chong Yidong <cyd@gnu.org>
676
677 * simple.el (password-word-equivalents): New defcustom.
678 * comint.el (comint-password-prompt-regexp): Use it. Bump version
679 to 24.4.
680 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
681 to t. (Bug#13124)
682
fb3d479c
DG
6832014-01-17 Dmitry Gutov <dgutov@yandex.ru>
684
685 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
686 (ruby-align-to-stmt-keywords): Change the default value.
687 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
688 choices.
689 (ruby-smie-rules): Instead of using a hardcoded list of alignable
690 keywords, check against the value of `ruby-alignable-keywords'
691 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
692
0d613483
GM
6932014-01-17 Glenn Morris <rgm@gnu.org>
694
fc23fe2d
GM
695 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
696
0d613483
GM
697 Make M-x authors return zero *Authors Errors* from current logs.
698 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
699 (authors-ignored-files): Add some entries, remove others.
700 (authors-ambiguous-files, authors-valid-file-names):
701 Add some entries.
702 (authors-renamed-files-alist): Add, remove, and adjust entries.
703 (authors-renamed-files-regexps): Add some entries.
704 Remove some very broad ones. Make some entries `lax'.
705 (authors-lax-changelogs): New constant.
706 (authors-disambiguate-file-name): Treat top-level specially.
707 (authors-lax-changelog-p): New function.
708 (authors-canonical-file-name): Check file as written against
709 authors-valid-file-names. Do not special-case etc/.
710 Handle `lax' logs and authors-renamed-files-regexps elements.
711
2dbf4ffd
DG
7122014-01-16 Dmitry Gutov <dgutov@yandex.ru>
713
714 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
715 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
716 callers.
2dbf4ffd 717
87b2a7f2
SM
7182014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
719
720 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
721 Assume we're already in the proper buffer.
722 Inspired by Anders Lindgren <andlind@gmail.com>.
723 (follow-post-command-hook): Call it from the right buffer.
724 (follow-comint-scroll-to-bottom): Adjust call.
725 (follow-all-followers): Use get-buffer-window-list.
726
93acfb0e
DC
7272014-01-15 Daniel Colascione <dancol@dancol.org>
728
729 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
730 `buffer-file-name' in interactive-form so that we don't leave
731 pathless file names in `file-name-history'.
732
ccc6b208
JL
7332014-01-15 Juri Linkov <juri@jurta.org>
734
735 * indent.el (indent-rigidly): Set deactivate-mark to nil
736 in transient indentation mode. (Bug#16438)
737
5c92e00d
DG
7382014-01-15 Dmitry Gutov <dgutov@yandex.ru>
739
740 * emacs-lisp/package.el (package-desc-keywords): New function
741 (Bug#16222).
742 (describe-package-1, package-all-keywords)
743 (package--has-keyword-p): Use it.
744
dac69660
NR
7452014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
746
747 * simple.el (define-alternatives): When creating the
748 COMMAND-alternatives variable, assign COMMAND as its definition
749 name so that `describe-variable' can relocate it.
750
8b63edf8
ML
7512014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
752
753 * font-lock.el (font-lock-keywords): Fix typo in docstring
754 (bug#16307).
755
c6a0b8eb
AM
7562014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
757
758 * ispell.el (ispell-region): Reset `in-comment' for new line
759 instead of wrongly reset `add-coment' (bug#13577).
760
02bf443d
DU
7612014-01-14 Daiki Ueno <ueno@gnu.org>
762
763 * epa-file.el (epa-file-write-region): Encode the region according
764 to `buffer-file-format'. Problem reported at:
765 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
766
fd7fde15
SM
7672014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
768
769 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
770 so it applies in the right buffer (bug#16410).
771
c176054f
DC
7722014-01-13 Daniel Colascione <dancol@dancol.org>
773
774 * textmodes/rst.el (rst-define-key): Provide deprecated
775 keybindings through named functions instead of anonymous ones so
776 that "??" doesn't appear in describe-mode output.
777
e3f33e5d
BG
7782014-01-13 Bastien Guerry <bzg@gnu.org>
779
780 * simple.el (define-alternatives): Call the selected command
781 interactively. When setting `COMMAND--implementation' for the
782 first time, tell the user how to chose another implementation.
783 Enhance the docstring.
784
c055d654
SM
7852014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
788 (log-edit--match-first-line): New function.
789 (log-edit-font-lock-keywords): Use it.
790 (log-edit-mode): Make jit-lock-defer-multiline work.
791
d791cc3b
BG
7922014-01-13 Bastien Guerry <bzg@gnu.org>
793
794 * rect.el (rectangle-mark-mode): When the region is not active,
795 display a message saying that the mark as been set and that
796 rectangle mode is in use.
797 (rectangle--highlight-for-redisplay): Only put an overlay with a
798 visible vertical bar when (display-graphic-p) is non-nil.
799 This partially fixes Bug#16403.
800
3c0c4562
JL
8012014-01-13 Juri Linkov <juri@jurta.org>
802
803 * info.el (Info-find-file): Go to DIR before displaying the error
804 about a nonexistent file if no previous Info file is visited.
805 Use `user-error' instead of `error' for "Info file %s does not exist".
806 (Info-find-node-2): In case of a nonexistent node in unwind forms
807 go to the Top node if there is no previous node to revert to.
808 (Bug#16405)
809
25a700d0
MR
8102014-01-13 Martin Rudalics <rudalics@gmx.at>
811
812 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
813 * window.el (fit-frame-to-buffer): Fix doc-string.
814 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
815 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
816 when avoiding that frame goes partially off-screen.
817 (fit-window-to-buffer): Respect window-min-height/-width
818 (Bug#14096).
819
6ae948d8
SM
8202014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
821
822 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
823 after an empty line.
824
6137cb82
SM
8252014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * net/shr.el (shr-render-region): Autoload.
828
e6344e17
XF
8292014-01-12 Xue Fuqiao <xfq.free@gmail.com>
830
831 * net/eww.el (eww-download-directory): Rename from
832 `eww-download-path' (Bug#16419).
833
3b922c70
LL
8342014-01-12 Leo Liu <sdl.web@gmail.com>
835
836 * dired-x.el (dired-mode-map): Fix last change.
837
838 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
839
4fa51741
PE
8402014-01-12 Paul Eggert <eggert@cs.ucla.edu>
841
842 Spelling fixes.
843 * emacs-lisp/generic.el (generic--normalize-comments):
844 Rename from generic--normalise-comments. All uses changed.
845 * play/bubbles.el (bubbles--neighborhood-score):
846 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
847 (bubbles--neighborhood-available)
848 (bubbles--update-neighborhood-score):
849 Rename from names with 'neighbourhood'. All uses changed.
850
9b335362
LL
8512014-01-12 Leo Liu <sdl.web@gmail.com>
852
853 Re-implement the feature of showing eldoc info after editing.
854 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
855 (eldoc-edit-message-commands): New function.
856 (eldoc-print-after-edit): New variable.
857 (eldoc-pre-command-refresh-echo-area): Emit message only by
858 eldoc-message-commands.
859 (eldoc-mode): Restrict eldoc-message-commands to editing commands
860 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 861 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 862 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 863
e2a095b1
GM
8642014-01-11 Dani Moncayo <dmoncayo@gmail.com>
865 Eric S. Raymond <esr@thyrsus.com>
9685190b 866
841a6d0c 867 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 868 function works correctly in either a Bazaar or Git repo.
0abf4134 869
e2a095b1
GM
8702014-01-11 Eric S. Raymond <esr@thyrsus.com>
871
6137cb82
SM
872 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
873 Goes with removal of the joke manpages from /etc.
9685190b 874
3923e7bd
KH
8752014-01-10 K. Handa <handa@gnu.org>
876
6137cb82
SM
877 * mail/rmail.el (rmail-get-coding-system):
878 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 879
d2f16e93
GM
8802014-01-10 Glenn Morris <rgm@gnu.org>
881
882 * emacs-lisp/authors.el (authors-fixed-entries):
883 Update for files that no longer exist.
884
7e03bb32
ER
8852014-01-10 Eric S. Raymond <esr@thyrsus.com>
886
887 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 888 24.3 (Tested).
7e03bb32 889
dd806710
BB
8902014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
891
892 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
893 and Podfile.
894
ed6ec139
EZ
8952014-01-10 Eli Zaretskii <eliz@gnu.org>
896
897 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
898
cc33cac9
CY
8992014-01-10 Chong Yidong <cyd@gnu.org>
900
6137cb82 901 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 902
d9d836b5
AL
9032014-01-10 Anders Lindgren <andlind@gmail.com>
904
905 * follow.el (follow-cache-command-list): Include right-char and
906 left-char.
907
06827ec8
PE
9082014-01-10 Paul Eggert <eggert@cs.ucla.edu>
909
910 Spelling fixes.
911 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
912 * woman.el (woman-mark-horizontal-position):
913 Rename from woman-mark-horizonal-position. Use changed.
914
458dbf5e
GM
9152014-01-10 Glenn Morris <rgm@gnu.org>
916
dad6fae7
GM
917 * info.el (info-initialize): If running uninstalled, ensure our
918 own info files are always found first, even if INFOPATH is set.
919
458dbf5e
GM
920 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
921
05e0afce
DE
9222014-01-09 David Engster <deng@randomsample.de>
923
924 * emacs-lisp/eieio-custom.el:
925 * emacs-lisp/eieio-opt.el: Set generated autoload file to
926 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
927 * emacs-lisp/eieio.el: Regenerate autoloads.
928
f29778b3
ER
9292014-01-09 Eric S. Raymond <esr@thyrsus.com>
930
931 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 932 following renames. (Bug#8756)
f29778b3 933
684d44ef
SM
9342014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
937 (bug#16382).
938 (activate-mark): Add `no-tmm' argument.
939 (set-mark, push-mark-command): Use it instead of running
940 activate-mark-hook by hand.
941
9475054f
ER
9422014-01-08 Eric S. Raymond <esr@thyrsus.com>
943
944 In preparation for the move to git, sanitize out some
945 Bazaar-specific names.
946
38942b9c
GM
947 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
948
9475054f 949 * version.el (emacs-bzr-version): Name changed to
689c9ca5 950 emacs-repository-version. Obsolete-variable alias made.
9475054f 951 * loadup.el: Follow through on this name change.
a12bf61e 952 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
953 assumption about the version control system in use.
954
0f918d96 9552014-01-08 David Engster <deng@randomsample.de>
abb82152 956
684d44ef
SM
957 * help-fns.el (help-fns-describe-function-functions):
958 New variable to call functions for augmenting help buffers.
abb82152
DE
959 (describe-function-1): Remove explicit calls to
960 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
961 `help-fns--obsolete'. Put them in above new variable instead, and
962 call them through `run-hook-with-args'.
963 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
964 `eieio-describe-class'. Not meant for interactive use anymore,
965 but to augment existing help buffers. Remove optional second
684d44ef
SM
966 argument. Create proper button for file location.
967 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
968 possible.
969 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
970 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
971 (describe-method, describe-generic, eieio-describe-method):
972 Remove aliases.
0f918d96
DE
973 (eieio-help-constructor, eieio-help-generic): Rename from
974 `eieio-describe-constructor' and `eieio-describe-generic', resp.
975 Rewrite to use `insert' in the current buffer and use proper help
976 buttons.
977 (eieio-help-find-method-definition)
978 (eieio-help-find-class-definition): Also accept symbols as
979 arguments.
980 (eieio-help-mode-augmentation-maybee): Remove.
981 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
982 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
983 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 984
136b74c5
PE
9852014-01-08 Paul Eggert <eggert@cs.ucla.edu>
986
987 Spelling fixes.
988 * language/china-util.el (hz-ascii-designation):
989 Rename from hz-ascii-designnation.
990 (hz-ascii-designation): Rename from hz-ascii-designnation.
991 All uses changed.
992
ec6c7de2
SM
9932014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
994
995 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
996 package-alist.
997
d6262c7c
BG
9982014-01-08 Bastien Guerry <bzg@gnu.org>
999
4b9e6087
GM
1000 * emacs-lisp/package.el (package-delete):
1001 Correctly delete the package from package-alist.
d6262c7c 1002
0a3eec32
DU
10032014-01-08 Daiki Ueno <ueno@gnu.org>
1004
1005 * emacs-lisp/package.el (url-recreate-url): Declare.
1006 (url-http-target-url): Declare.
4b9e6087 1007 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
1008 (package--check-signature): Don't re-signal errors from
1009 package--with-work-buffer. Suggested by Stefan Monnier.
1010
68f0bb97
BG
10112014-01-07 Bastien Guerry <bzg@gnu.org>
1012
1013 * minibuffer.el (completion--try-word-completion): When both a
1014 hyphen and a space are possible candidates for the character
1015 following a word, display both candidates. (Bug#15980)
1016
7e1899d7
MR
10172014-01-07 Martin Rudalics <rudalics@gmx.at>
1018
1019 * window.el (balance-windows-2): While rounding don't give a
1020 window more than the remainder. Bug#16351, Bug#16383.
1021
0030ec15
GM
10222014-01-07 Glenn Morris <rgm@gnu.org>
1023
1024 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1025 (menu-bar-help-menu): Use view-external-packages instead.
1026
2b6b4f20
BG
10272014-01-07 Bastien Guerry <bzg@gnu.org>
1028
1029 * emacs-lisp/package.el (package-delete): Also delete the package
1030 name from `package-alist', not its description only.
1031
e9be0a13
GM
10322014-01-07 Glenn Morris <rgm@gnu.org>
1033
1034 * help.el (view-external-packages):
1035 * menu-bar.el (menu-bar-help-extra-packages):
1036 Visit efaq.info rather than etc/MORE.STUFF.
1037
e4f74da9
JL
10382014-01-07 Juri Linkov <juri@jurta.org>
1039
1040 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1041 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1042
1043 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1044 that shadows RET. (Bug#16342)
1045
de7ce2d1
CY
10462014-01-07 Chong Yidong <cyd@gnu.org>
1047
1048 * isearch.el (isearch-yank-char, isearch-yank-word)
1049 (isearch-yank-line): Doc fix.
1050
6bdd9204
SM
10512014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1052
1053 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1054 * emacs-lisp/elint.el (elint-find-builtins):
1055 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1056 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1057 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1058 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1059 * apropos.el (apropos-safe-documentation):
1060 * subr.el (symbol-file): Remove redundant fboundp.
1061 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1062
daccca97
BG
10632014-01-06 Bastien Guerry <bzg@gnu.org>
1064
1065 * hl-line.el (global-hl-line-overlay): Make a local variable.
1066 (global-hl-line-overlays): New variable to store all overlays.
1067 (global-hl-line-mode): Don't delete overlays from the current
1068 buffer when `global-hl-line-sticky-flag' is non-nil.
1069 (global-hl-line-highlight): Add new overlays to
1070 `global-hl-line-overlays'.
1071 (global-hl-line-unhighlight-all): New function to delete all
1072 overlays when turning off `global-hl-line-mode'.
1073 This fixes Bug#16183.
1074
ec00f20f
SM
10752014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1076
1077 * subr.el (set-transient-map): Fix nested case and docstring.
1078
a0031f97
TH
10792014-01-06 Tassilo Horn <tsdh@gnu.org>
1080
1081 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1082 `Texinfo' entry.
1083
bf6a77f3
DC
10842014-01-06 Daniel Colascione <dancol@dancol.org>
1085
1086 Fix defun navigation in vc log view.
1087
1088 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1089 like `beginning-of-defun'.
1090 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
1091 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1092 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 1093 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 1094 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 1095
d5081c1e
PE
10962014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1097
1098 Spelling fixes.
1099 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1100 * emacs-lisp/debug.el (cancel-debug-on-entry):
1101 * epg.el (epg-error-to-string):
1102 * files.el (recover-file):
1103 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1104 * mail/emacsbug.el (report-emacs-bug-hook):
1105 * mail/sendmail.el (mail-recover):
1106 * ses.el (ses-yank-resize):
1107 * term/ns-win.el (ns-print-buffer):
1108 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1109 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1110 All uses changed.
1111 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1112
53f6b148
LL
11132014-01-06 Leo Liu <sdl.web@gmail.com>
1114
1115 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 1116 to avoid shadowing global key. (Bug#16354)
53f6b148 1117
b82ace2f
DC
11182014-01-06 Daniel Colascione <dancol@dancol.org>
1119
1120 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1121 rst-mode.
1122
3669b636
MR
11232014-01-05 Martin Rudalics <rudalics@gmx.at>
1124
1125 * window.el (balance-windows): Add mising t to fix Bug#16351.
1126
1a29adc2
LMI
11272014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1128
1129 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1130 (bug#16285).
3d95a0f4
LMI
1131 (shr-insert): If we have a word that's longer than `shr-width',
1132 break after it anyway. Otherwise we'll do no breaking once we get
1133 such a long word.
1a29adc2 1134
f4018140
KN
11352014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1136
3fcfc4ee 1137 * net/eww.el (eww): Support single/double quote for search.
189340f5
KN
1138 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1139 (eww-history-quit): Delete and use quit-window.
1140 (eww-history-kill): Delete, because it doesn't work well and
1141 not necessary.
1142 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 1143
4e619754
PE
11442014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1145
73dbf960
PE
1146 Fix misspelling of 'chinese' in rx (Bug#16237).
1147 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1148 chinese-two-byte.
1149
4e619754
PE
1150 Change subword regexps back to vars (Bug#16296).
1151 * progmodes/subword.el (subword-forward-regexp)
1152 (subword-backward-regexp): Change these back to variables.
1153
e18b70fc
SM
11542014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1157 syntax-begin-function (bug#16247).
1158
0d53f628
CY
11592014-01-03 Chong Yidong <cyd@gnu.org>
1160
1161 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1162 (advice--docstring): Delete variable.
1163 (advice--make-1): Leave the docstring empty.
1164 (advice-add): Use function-documentation for advised docstring.
1165
1166 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1167 Ignore function-documentation property when getting documentation.
1168 (ad-activate-advised-definition): Use function-documentation
1169 generate the docstring.
1170 (ad-make-advised-definition): Don't call
1171 ad-make-advised-definition-docstring.
1172 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1173 Delete functions.
1174
1175 * progmodes/sql.el (sql-help): Use function-documentation instead
1176 of dynamic-docstring-function property. No need to autoload now.
1177 (sql--help-docstring): New variable.
1178 (sql--make-help-docstring): Use it.
1179
6f547583
SM
11802014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1181
6ef9aed8
SM
1182 * ielm.el (ielm-tab): Retarget.
1183 (ielm-map): Use ielm-tab for tab.
1184 (ielm-complete-filename): Use comint-filename-completion.
1185 (ielm-complete-symbol): Remove.
1186 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1187 remove ielm-tab from completion-at-point-functions (bug#16224).
1188
6f547583
SM
1189 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1190 Beware signals raised by predicates (bug#16201).
1191
a574edbe
RS
11922014-01-02 Richard Stallman <rms@gnu.org>
1193
e831604d
RS
1194 * dired-aux.el (dired-do-print): Handle printer-name.
1195
6f547583
SM
1196 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1197 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
1198 (rmail-epa-decrypt): Turn off mime processing.
1199
3fcfc4ee 1200 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
1201 Add parens in message-id.
1202
1203 * mail/rmail.el (rmail-get-coding-function): Variable.
1204 (rmail-get-coding-system): Use it.
1205
04311a16
KH
12062013-12-31 Eli Zaretskii <eliz@gnu.org>
1207
1208 * international/mule-conf.el: Unify the charset indian-is13194.
1209 (indian-is13194): Specify unify-map.
1210
c8d89778
LL
12112013-12-31 Leo Liu <sdl.web@gmail.com>
1212
1213 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1214
e63ace37
DC
12152013-12-30 Daniel Colascione <dancol@dancol.org>
1216
9e0bf19a
DC
1217 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1218 of printing a useless when we resume from sleep.
1219
e63ace37
DC
1220 * progmodes/sh-script.el
1221 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1222 in indentation code. (Bug#16233)
1223
e9d6c46a
JT
12242013-12-28 João Távora <joaotavora@gmail.com>
1225
6f547583
SM
1226 * elec-pair.el (electric-pair-post-self-insert-function):
1227 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1228
bf7bea5d
EZ
12292013-12-28 Eli Zaretskii <eliz@gnu.org>
1230
1231 * frame.el (window-system-for-display): Don't allow to create a
1232 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1233
8449dd1f
GM
12342013-12-28 Glenn Morris <rgm@gnu.org>
1235
9c5a5c77
GM
1236 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1237 Update callers.
1238
1239 * apropos.el (apropos-match-face):
1240 * calculator.el (calculator-displayer):
1241 * dabbrev.el (dabbrev-search-these-buffers-only):
1242 * face-remap.el (buffer-face-mode-face):
1243 * simple.el (yank-handled-properties):
1244 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1245 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1246 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1247 (hashcash-double-spend-database):
1248 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1249 (ruby-deep-indent-paren-style):
1250 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1251 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1252 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1253 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1254 Specify custom types.
1255
bb098075
GM
1256 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1257 * bookmark.el (bookmark-bmenu-use-header-line):
1258 * doc-view.el (doc-view-scale-internally):
1259 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1260 * register.el (register-preview-delay):
1261 * net/shr.el (shr-bullet):
1262 * progmodes/cfengine.el (cfengine-cf-promises)
1263 (cfengine-parameters-indent):
1264 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1265 * textmodes/reftex-vars.el (reftex-label-regexps):
1266 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1267
9c61f806
GM
1268 * net/tls.el (tls-certtool-program): Fix default value.
1269
1270 * desktop.el (desktop-restore-in-current-display):
1271 * newcomment.el (comment-empty-lines):
1272 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1273 (idlwave-pad-keyword):
1274 * progmodes/tcl.el (tcl-tab-always-indent):
1275 * textmodes/reftex-vars.el (reftex-index-default-tag):
1276 * elec-pair.el (electric-pair-skip-whitespace):
1277 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1278
8449dd1f
GM
1279 * emacs-lisp/authors.el (authors-ignored-files)
1280 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1281
fdadeb49
JC
12822013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1283
72140a0f
GM
1284 * shell.el (shell-dynamic-complete-command): Doc fix.
1285 (shell--command-completion-data): Shell completion now matches
1286 executable filenames from the current buffer's directory, on
da5ecfa9 1287 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1288
e572a7d8
LI
12892013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1290
1291 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1292
7514d3f8
SM
12932013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1294
a4151f3b
SM
1295 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1296 (bug#16251).
1297
7514d3f8
SM
1298 * electric.el: Move all electric-pair-* to elec-pair.el.
1299 * elec-pair.el: New file, split from electric.el.
1300
ac5758d1
LI
13012013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1302
1303 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1304 indentation level is larger than the width, because that will
1305 infloop.
1306 (shr-insert): Fill repeatedly long texts, so that Japanese is
1307 formatted correctly (bug#16263).
24a6b65e
LI
1308 (shr-find-fill-point): Off by one error in comparison with the
1309 indentation.
ac5758d1 1310
7514d3f8 13112013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1312
1313 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1314 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1315 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1316 if that keeps or improves their balance in buffers.
1317 (electric-pair-delete-adjacent-pairs): Delete the pair when
1318 backspacing over adjacent matched delimiters.
1319 (electric-pair-open-extra-newline): Open extra newline when
1320 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1321 (electric--sort-post-self-insertion-hook):
1322 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1323 minor-modes are activated.
1324 * simple.el (newline-and-indent): Call newline with interactive
1325 set to t.
1326 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1327 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1328 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1329 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1330 electric-pair-open-newline-between-pairs to nil.
1331
fbcc63a3
FEG
13322013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1333
1334 * progmodes/python.el: Use lexical-binding.
1335 (python-nav-beginning-of-defun): Stop searching ASAP.
1336
ed78d16c
XF
13372013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1338
1339 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1340 Fix interactive spec. Doc fix. (Bug#15754)
1341
38b2c142
KY
13422013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1343
1344 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1345 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1346 Fix edebug spec (bug#16184).
1347
3c856c14
LI
13482013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1349
83fa295c 1350 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1351 (shr-insert): Don't infloop if we can't find a good place to break
1352 the line (bug#16256).
3c856c14 1353
01379221
FEG
13542013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1355
1356 * progmodes/python.el:
1357 (python-nav--lisp-forward-sexp): New function.
1358 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1359 python-nav-lisp-forward-sexp-safe.
1360 (python-nav--forward-sexp): New argument SAFE allows switching
1361 forward sexp movement behavior for parens.
1362 (python-nav-forward-sexp): Throw errors on unterminated parens
1363 (Bug#16191).
1364 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1365 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1366 (python-shell-buffer-substring):
1367 Use `python-nav-forward-sexp-safe'.
01379221 1368
99e4926f
LI
13692013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1370
1371 * net/shr.el (shr-find-fill-point): Don't break lines before a
1372 quotation mark.
c6c20584
LI
1373 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1374 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1375 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1376
fec0e828
KN
13772013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1378
1379 * net/eww.el (eww-form-textarea): Use a different face for
1380 textareas than text input since they have different keymaps
1381 (bug#16142).
1382
89c868ad
FEG
13832013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1384
7514d3f8
SM
1385 * progmodes/python.el (python-nav-beginning-of-statement):
1386 Speed up (Bug#15295).
89c868ad 1387
eeef121a
LI
13882013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1389
1390 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1391 the window configuration.
1392
121ea65f
EZ
13932013-12-24 Eli Zaretskii <eliz@gnu.org>
1394
1395 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1396 we run on MS-Windows or MS-DOS.
1397
18cee9ec
MR
13982013-12-24 Martin Rudalics <rudalics@gmx.at>
1399
1400 * window.el (balance-windows-area): Call window-size instead of
1401 window-height and window-width. Bug#16241.
1402
58f2b9a5
LI
14032013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1404
1405 * net/eww.el (eww-bookmark-quit): Remove.
1406 (eww-bookmark-browse): Restore the window configuration when you
1407 choose a bookmark (bug#16144).
1408
d64b6308
DC
14092013-12-24 Daniel Colascione <dancol@dancol.org>
1410
1411 * icomplete.el: Remove redundant :group arguments to `defcustom'
1412 throughout.
1413 (icomplete-show-matches-on-no-input): New customizable variable.
1414 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1415 we have something to show.
7514d3f8 1416 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1417
0da54898
DC
14182013-12-23 Daniel Colascione <dancol@dancol.org>
1419
1420 * icomplete.el: Move `provide' to end of file.
1421
b90aa4f4
TZ
14222013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1423
1424 * net/gnutls.el (gnutls-verify-error): Add version tag.
1425
8cd22a08
CY
14262013-12-23 Chong Yidong <cyd@gnu.org>
1427
1428 * subr.el (set-transient-map): Rename from
1429 set-temporary-overlay-map. Doc fix.
1430
1431 * face-remap.el (text-scale-adjust):
1432 * indent.el (indent-rigidly):
1433 * kmacro.el (kmacro-call-macro):
1434 * minibuffer.el (minibuffer-force-complete):
1435 * repeat.el (repeat):
1436 * simple.el (universal-argument--mode):
1437 * calendar/todo-mode.el (todo-insert-item--next-param):
1438 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1439
7510b021
CY
1440 * indent.el (indent-rigidly): Use substitute-command-keys.
1441
72140a0f 14422013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1443
1444 * net/eww.el (eww-tag-select): Add text-property to jump to next
1445 select field.
e9dc713d 1446 (eww): Add non-supported ftp error.
56890ecd 1447
1f87a56c
DG
14482013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1449
1450 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1451 comments. Handle electric indent after typing `?' and `!'.
1452
dca38cf9
CY
14532013-12-22 Chong Yidong <cyd@gnu.org>
1454
1455 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1456 applicable to a frame, fall back on the defface spec.
1457 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1458
f2351498
DG
14592013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1460
1461 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1462 after `{'. We need it after block openers, and it doesn't seem
1463 to hurt after hash openers.
1464
6cddebc1
DG
14652013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1466
1467 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1468 extracted from `ruby-smie-rules'.
1469 (ruby--electric-indent-chars): New variable.
1470 (ruby--electric-indent-p): New function.
1471 (ruby-mode): Use `electric-indent-functions' instead of
1472 `electric-indent-chars'.
1473
65a1da00
DG
14742013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1475
1476 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1477 docstring.
1478 (ruby-smie-rules): Indent plus one level after `=>'.
1479
b51ad4cf
RS
14802013-12-21 Richard Stallman <rms@gnu.org>
1481
1482 * simple.el (newline): Doc fix.
1483
72140a0f 14842013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1485
e9dc713d 1486 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1487 (eww-history-browse, eww-history-quit, eww-history-kill)
1488 (eww-history-mode-map, eww-history-mode): New command and
1489 functions to list browser histories.
e9dc713d
JB
1490 (eww-form-text): Support text form with disabled
1491 and readonly attributes.
1492 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1493
5e1901c1
RS
14942013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1495
1496 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1497 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1498 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1499 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1500 Use `user-error'.
1501 (eww-bookmark-mode-map): Add menu.
1502 (eww-render, eww-mode): Use `setq-local'.
1503 (eww-tool-bar-map): New variable.
1504 (eww-mode): Set `tool-bar-map'.
1505 (eww-view-source): Check for `html-mode' with `fboundp'.
1506
073d5cfd
LMI
15072013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1508
1509 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1510 elements with text inside. Also remove debugging.
1511
41cf3d11
JD
15122013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1513
1514 * cus-start.el (all): Add ns-use-srgb-colorspace.
1515
aac2b673
CY
15162013-12-21 Chong Yidong <cyd@gnu.org>
1517
1518 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1519 undefined. Thus, theme settings for undefined faces do not take
1520 effect until the faces are defined with defface, the same as with
1521 theme variables.
1522
1523 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1524 (face-spec-reset-face): Don't assign extra properties in temacs.
1525 (face-spec-recalc): Apply X resources too.
1526
bacb0e77
CY
15272013-12-21 Chong Yidong <cyd@gnu.org>
1528
1529 * faces.el (face-spec-set):
1530 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1531 * custom.el (defface): Doc fixes (Bug#16203).
1532
77221051
CY
1533 * indent.el (indent-rigidly-map): Add docstring, and move commands
1534 into named functions.
1535 (indent-rigidly-left, indent-rigidly-right)
1536 (indent-rigidly-left-to-tab-stop)
1537 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1538 indentation direction based on bidi direction, and accumulate
1539 sequential commands in a single undo boundary.
1540 (indent-rigidly--pop-undo): New utility function.
1541
e0eb0550
JB
15422013-12-20 Juanma Barranquero <lekktu@gmail.com>
1543
1544 * faces.el (read-face-name): Require crm.el when using crm-separator.
1545
3282bd2e
DC
15462013-12-20 Daniel Colascione <dancol@dancol.org>
1547
1548 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1549 so that we don't reflow comments into the shebang line.
1550
1d42e5b6
JL
15512013-12-20 Juri Linkov <juri@jurta.org>
1552
1553 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1554 a position when `dired-directory' is non-nil. Check integer
1555 positions with `integerp'.
1556 (toggle-save-place, save-places-to-alist): Add check for
1557 `dired-directory'.
1558 (save-place-find-file-hook): Check integer positions with
1559 `integerp'.
1560 (save-place-dired-hook): Use `dired-goto-file' when
1561 `dired-filename' is found in the assoc list. Check integer
1562 positions with `integerp'.
1563 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1564
1565 * dired.el (dired-initial-position-hook): Rename back from
1566 `dired-initial-point-hook'.
1567 (dired-initial-position): Rename `dired-initial-point-hook' to
1568 `dired-initial-position-hook'.
1569 (dired-file-name-at-point): Doc fix. (Bug#15329)
1570
24da7273
JL
15712013-12-20 Juri Linkov <juri@jurta.org>
1572
1573 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1574 (read-regexp-suggestions): New function.
1575 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1576 Use `read-regexp-suggestions'. Add non-empty default to history
1577 for empty input.
1578 (occur-read-regexp-defaults-function): Remove function.
1579 (occur-read-primary-args): Use `regexp-history-last' instead of
1580 `occur-read-regexp-defaults-function'.
1581
1582 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1583 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1584 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1585 `hi-lock-read-regexp-defaults-function'. Doc fix.
1586 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1587 with `find-tag-default-as-symbol-regexp'. Doc fix.
1588 (hi-lock-read-regexp-defaults): Remove function.
1589 (hi-lock-regexp-okay): Add check for null.
1590
1591 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1592 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1593
1594 * subr.el (find-tag-default-as-symbol-regexp): New function.
1595 (find-tag-default-as-regexp): Move symbol regexp formatting to
1596 `find-tag-default-as-symbol-regexp'.
1597
137f57c8
S
15982013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1599
1600 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1601 (Bug#14179)
1602
f3a66082
SB
16032013-12-20 Stephen Berman <stephen.berman@gmx.net>
1604
1605 * calendar/todo-mode.el: New implementation of item insertion
1606 commands and key bindings.
1607 (todo-key-prompt): New face.
1608 (todo-insert-item): New command.
1609 (todo-insert-item--parameters): New defconst, replacing defvar
1610 todo-insertion-commands-args-genlist.
1611 (todo-insert-item--param-key-alist): New defconst, replacing
1612 defvar todo-insertion-commands-arg-key-list.
1613 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1614 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1615 (todo-insert-item--next-param): New functions.
1616 (todo-insert-item--args, todo-insert-item--argleft)
1617 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1618 New variables.
1619 (todo-key-bindings-t): Change binding of "i" from
1620 todo-insertion-map to todo-insert-item.
1621 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1622 (todo-insertion-command-name, todo-insertion-commands-names)
1623 (todo-define-insertion-command, todo-insertion-commands)
1624 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1625
2f99433b
SB
16262013-12-20 Stephen Berman <stephen.berman@gmx.net>
1627
1628 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1629 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1630 eval-when-compile.
1631 (todo-move-category): Allow choosing a non-existing todo file to
1632 move the category to, and create that file.
1633 (todo-default-priority): New user option.
1634 (todo-set-item-priority): Use it.
1635 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1636 (desktop-restore-file-buffer): Declare.
1637 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1638 (todo-modes-set-2): Locally set desktop-save-buffer to
1639 todo-desktop-save-buffer.
1640 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1641 (auto-mode-alist): Add autoload cookie.
1642
131e4695
BB
16432013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1644
1645 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1646 helpers.el was a poor choice of name.
3cbfb935
BB
1647 (string-remove-prefix): New function.
1648 (string-remove-suffix): New function.
131e4695 1649
c44de18d
MR
16502013-12-20 Martin Rudalics <rudalics@gmx.at>
1651
1652 Fix assignment for new window total sizes.
1653 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1654 (window--pixel-to-total-1, window--pixel-to-total):
1655 Fix calculation of new total sizes.
c44de18d 1656
ca65efcc
VS
16572013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1658
1659 * comint.el (comint-output-filter): Fix rear-nonsticky property
1660 placement (Bug#16010).
1661
a9574eb7
CY
16622013-12-20 Chong Yidong <cyd@gnu.org>
1663
1664 * faces.el (read-color): Minor fix for completion function.
1665
b520f210
DG
16662013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1667
e0eb0550
JB
1668 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1669 New option. (Bug#16182)
b520f210
DG
1670 (ruby-smie--indent-to-stmt-p): Use it.
1671 (ruby-smie-rules): Revert the logic in the handling of `when'.
1672 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1673 (ruby-deep-arglist, ruby-deep-indent-paren)
1674 (ruby-deep-indent-paren-style): Update docstrings to note that the
1675 vars don't have any effect with SMIE.
1676
26b75b45
JB
16772013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1678
1679 * calc/calc.el (calc-enter, calc-pop): Use the variable
1680 `calc-context-sensitive-enter'.
1681
cf91cee7
LMI
16822013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1683
1684 * net/shr.el (shr-insert): Protect against infloops in degenerate
1685 tables.
1686
51d971b4
RS
16872013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1688
1689 * progmodes/octave.el (octave): Add link to manual and octave
1690 homepage.
1691 (octave-mode-menu): Link to octave-mode manual.
1692
8c2e462a
LL
16932013-12-20 Leo Liu <sdl.web@gmail.com>
1694
1695 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1696 insertion using skeleton-end-newline. (Bug#16138)
1697
501158bc
JL
16982013-12-20 Juri Linkov <juri@jurta.org>
1699
1700 * replace.el (occur-engine): Use `add-face-text-property'
1701 to add the face property to matches and titles. (Bug#14645)
1702
1703 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1704 the palette of other hi-lock colors.
1705 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1706
50ab1da6
JL
17072013-12-19 Juri Linkov <juri@jurta.org>
1708
1709 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1710 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1711 (minibuffer-history-symbol): Move variable declaration closer to
1712 its usage.
1713
1714 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1715 (Bug#14785)
1716
3d6e95e7
JL
17172013-12-19 Juri Linkov <juri@jurta.org>
1718
1719 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1720 New function.
1721 (log-edit-hook): Add it to :options. (Bug#16170)
1722
b41594fd
JL
17232013-12-19 Juri Linkov <juri@jurta.org>
1724
1725 * simple.el (eval-expression-print-format): Don't check for
1726 command names and the last command. Always display additional
1727 formats of the integer result in the echo area, and insert them
1728 to the current buffer only with a zero prefix arg.
1729 Display character when char-displayable-p is non-nil.
1730 (eval-expression): With a zero prefix arg, set `print-length' and
1731 `print-level' to nil, and insert the integer values from
1732 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1733
1734 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1735 `eval-last-sexp-arg-internal'. Doc fix.
1736 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1737 `eval-last-sexp-print-value'. Doc fix.
1738 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1739 Set `print-length' and `print-level' to nil when arg is zero.
1740 (eval-last-sexp): Doc fix.
1741 (eval-defun-2): Print the integer values from
1742 `eval-expression-print-format' at the end.
1743
1744 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1745 values from `eval-expression-print-format' at the end.
1746
1747 * ielm.el (ielm-eval-input): Print the integer
1748 values from `eval-expression-print-format' at the end.
1749
8f2be364
TZ
17502013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1751
1752 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1753 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1754
2230a6e3
SM
17552013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1756
1757 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1758 (hl-line-highlight, global-hl-line-highlight): Use it.
1759 (hl-line-overlay): Use defvar-local.
1760
1269a680
JD
17612013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1762
1763 * term/ns-win.el: Require dnd.
1764 (global-map): Remove drag items.
1765 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1766 (ns-set-background-at-mouse):
1767 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1768 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1769 New functions.
1269a680 1770
049638ad
GM
17712013-12-19 Glenn Morris <rgm@gnu.org>
1772
1773 * emacs-lisp/ert.el (ert-select-tests):
1774 Fix string/symbol mixup. (Bug#16121)
1775
ce41edb4
DG
17762013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1777
1778 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1779 keywords to their parent.
1780
7e1549c9
DG
17812013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1782
1783 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1784 first arg to be a string (fixed dead code), or an operator symbol.
1785 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1786 operator symbols.
1787 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1788 did nothing. Don't respond to `(:after ".")', it will be called
1789 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1790 change anything. Only return indentation for binary operators
1791 when they are hanging. De-dent opening paren when its parent is
1792 `.', otherwise it looks bad when the dot is not at bol or eol
1793 (bug#16182).
1794
3ee4cd64
JL
17952013-12-19 Juri Linkov <juri@jurta.org>
1796
1797 * replace.el (query-replace-read-args): Split a non-negative arg
1798 and a negative arg into separate elements.
1799 (query-replace, query-replace-regexp, replace-string)
1800 (replace-regexp): Add arg `backward'. Doc fix.
1801 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1802 move point to the beginning of the match.
1803 (replace-search, replace-highlight): Use new arg `backward'
1804 to set the value of `isearch-forward'.
1805 (perform-replace): Add arg `backward' and use it to perform
1806 replacement backward. (Bug#14979)
1807
1808 * isearch.el (isearch-query-replace): Use a negative prefix arg
1809 to call `perform-replace' with a non-nil arg `backward'.
1810
0cda6b7b
JL
18112013-12-18 Juri Linkov <juri@jurta.org>
1812
1813 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1814 to the default list. Move `log-edit-show-files' to the end.
1815 Add more available functions to options.
1816 (log-edit): Move default specific settings to
1817 `log-edit-insert-message-template'. Don't move point.
1818 (log-edit-insert-message-template): New function.
1819 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1820 (Bug#16170)
1821
b216f0a6
JL
18222013-12-18 Juri Linkov <juri@jurta.org>
1823
1824 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1825 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1826
1d1c55dc
LL
18272013-12-18 Leo Liu <sdl.web@gmail.com>
1828
e9dc713d
JB
1829 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1830 (Bug#16186)
1d1c55dc 1831
64e4c76e
EZ
18322013-12-18 Eli Zaretskii <eliz@gnu.org>
1833
1834 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1835 formats for displaying file sizes when the -s switch is given.
1836 Instead, compute a separate format for displaying the size in
1837 blocks, which is displayed in addition to the "regular" size.
1838 When -h is given in addition to -s, produce size in blocks in
1839 human-readable form as well. (Bug#16179)
1840
b2984e39
TH
18412013-12-18 Tassilo Horn <tsdh@gnu.org>
1842
2230a6e3
SM
1843 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1844 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1845
50ff2e06
CY
18462013-12-18 Chong Yidong <cyd@gnu.org>
1847
0081bc84
CY
1848 * cus-edit.el (custom-magic-alist): Fix "themed" description
1849 (Bug#14348).
1850
a7ee9424
CY
1851 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1852 is non-nil, do not create a new entry in the symbol's theme-value
1853 or theme-face property; update theme-settings only (Bug#14664).
18874304 1854 (custom-available-themes): Doc fix.
a7ee9424 1855
8f942537
CY
1856 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1857 (Bug#15674).
1858
50ff2e06
CY
1859 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1860
83c60f60
KI
18612013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1862
1863 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1864 (Bug#13914).
1865
e0eb0550 18662013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1867
1868 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1869
1f41ee56
GM
18702013-12-18 Glenn Morris <rgm@gnu.org>
1871
1872 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1873 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1874
e82134b1
LW
18752013-12-18 Le Wang <l26wang@gmail.com>
1876
2230a6e3
SM
1877 * comint.el (comint-previous-matching-input-from-input):
1878 Retain point (Bug#13404).
e82134b1 1879
33f5d4c1
CY
18802013-12-18 Chong Yidong <cyd@gnu.org>
1881
1882 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1883
ccc9f6dc
GM
18842013-12-18 Glenn Morris <rgm@gnu.org>
1885
1886 * mail/emacsbug.el (report-emacs-bug):
1887 Only mention enable-multibyte-characters if non-standard.
1888
33dd8e95
JL
18892013-12-17 Juri Linkov <juri@jurta.org>
1890
1891 * arc-mode.el (archive-extract-by-file): Check if directory exists
1892 before deletion to not show irrelevant errors if it doesn't exist.
1893
7a409b30
JL
18942013-12-17 Juri Linkov <juri@jurta.org>
1895
1896 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1897 (Bug#14751)
1898
1899 * net/eww.el (browse-web): Add alias to `eww'.
1900 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1901 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1902
1903 * net/browse-url.el (browse-url-browser-function): Move `eww'
1904 closer to similar functions.
1905
1906 * startup.el (fancy-startup-screen, fancy-about-screen):
1907 Set browse-url-browser-function to eww-browse-url locally.
1908 (Bug#14751)
1909
2d6b6005
SM
19102013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1911
1912 * window.el (window--pixel-to-total): Remove unused `mini' var.
1913 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1914 (split-window): Remove unused `new' var.
1915 (window--display-buffer): Remove unused `frame' and `delta' vars.
1916 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1917 and display-width'.
1918
cf2b7efc
MR
19192013-12-17 Martin Rudalics <rudalics@gmx.at>
1920
1921 * dired.el (dired-mark-pop-up):
1922 * register.el (register-preview): Don't bind
1923 split-height-threshold here since it's now done in
1924 display-buffer-below-selected.
1925
ed3af8a7 19262013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1927
1928 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1929 xterm-rgb-convert-to-16bit.
1930 (rxvt-register-default-colors): Standardize with
1931 xterm-register-default-colors (Bug#14078).
1932
76da3455
DK
19332013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1934
1935 * simple.el (kill-region): Pass mark first, then point, so that
1936 kill-append works right (Bug#12819).
1937 (copy-region-as-kill, kill-ring-save): Likewise.
1938
2b84d763
LL
19392013-12-17 Leo Liu <sdl.web@gmail.com>
1940
1941 * net/rcirc.el (rcirc-add-face):
1942 * eshell/em-prompt.el (eshell-emit-prompt):
1943 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1944 (Bug#16167)
1945
e2f6a0bc
CY
19462013-12-17 Chong Yidong <cyd@gnu.org>
1947
1948 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1949 Suggested by Xue Fuqiao.
1950
35b249a6
DG
19512013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1952
1953 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1954
e9145444
SM
19552013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1956
1957 * net/shr.el (shr-insert-document): Remove unused var
1958 `shr-preliminary-table-render'.
1959 (shr-rescale-image): Remove unused arg `force'.
1960 (shr-put-image): Update calls accordingly.
1961 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1962
5556c0ce
DG
19632013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1964
1965 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1966 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1967 :close-all, to see which indentation method to use (Bug#16116).
1968 (smie-rules-function): Document the method :close-all.
1969
11bade0a
LMI
19702013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1971
1c4b1e61
LMI
1972 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1973
11bade0a
LMI
1974 * net/eww.el (eww-display-html): If we can't find the anchor we're
1975 looking for, then go to point-min.
1976
8fb8c4f3
PE
19772013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1978
1979 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1980 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1981 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1982 Expand dir too, in case it's relative.
1983
6c8e0ae6
JL
19842013-12-16 Juri Linkov <juri@jurta.org>
1985
1986 * desktop.el (desktop-auto-save-timeout): Change default to
1987 `auto-save-timeout'. Doc fix.
1988 (desktop-save): Skip the timestamp in desktop-saved-frameset
1989 when checking for auto-save changes.
1990 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1991 `desktop-auto-save' is called repeatedly by the idle timer.
1992 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1993 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1994 (Bug#15331)
1995
2178e858
JL
19962013-12-16 Juri Linkov <juri@jurta.org>
1997
1998 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1999 (Bug#16035)
2000 (isearch-pre-command-hook): Check `this-command' for symbolp.
2001
39cb42c6
SM
20022013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2003
2004 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2005
5b9b750a
TZ
20062013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2007
2008 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2009 (cfengine3--current-function): Bring in the current-function
2010 functionality from `cfengine3--current-word'.
2011 (cfengine3-completion-function): Bring in the
2012 bounds-of-current-word functionality from
2013 `cfengine3--current-word'.
2014
d144ef06
MR
20152013-12-16 Martin Rudalics <rudalics@gmx.at>
2016
39cb42c6
SM
2017 * window.el (display-buffer-below-selected):
2018 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 2019
a8bbe298
LL
20202013-12-16 Leo Liu <sdl.web@gmail.com>
2021
2022 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2023 Remove NOMSG arg and all uses changed.
2024
2013a2f9
SM
20252013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2026
2027 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2028 (cua--deactivate-rectangle): Don't deactivate the mark.
2029 (cua-set-rectangle-mark): Don't set mark-active since
2030 cua--activate-rectangle already does it for us.
2031 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2032 non-rectangular region.
2033
2034 * emulation/cua-base.el (cua-repeat-replace-region):
2035 Use with-current-buffer.
2036
2037 * net/gnutls.el: Use cl-lib.
2038 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2039
5ae811dd
TZ
20402013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2041
2042 * emacs-lisp/package.el (package-built-in-p): Support both
2043 built-in and the package.el converted package descriptions.
2044 (package-show-package-list): Allow keywords.
2045 (package-keyword-button-action): Use it instead of
2046 `finder-list-matches'.
2047 (package-menu-filter-interactive): Interactive filtering (by
2048 keyword) function.
2049 (package-menu--generate): Support keywords and change keymappings
2050 and headers when they are given.
2051 (package--has-keyword-p): Helper function.
2052 (package-menu--refresh): Use it.
2053 (package--mapc): Helper function.
2054 (package-all-keywords): Use it.
2055 (package-menu-mode-map): Set up menu items and keybindings to
2056 provide a filtering UI.
2057
31b4827e
TZ
20582013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2059
2060 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2061 the behavior when a certificate fails validation. Defaults to
2062 old behavior: never abort, just warn.
2063 (gnutls-negotiate): Use it.
2064
f93cc74f
MR
20652013-12-14 Martin Rudalics <rudalics@gmx.at>
2066
2067 * window.el (display-buffer-below-selected): Never split window
2068 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2069
f77d7d17
TW
20702013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2071
2072 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2073 (package-buffer-info): Use it (bug#15108).
aa2bddd7 2074
7514d3f8
SM
20752013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2076
aa2bddd7 2077 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 2078 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 2079
276bc333
DG
20802013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2081
2082 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2083 open-paren tokens when preceded by a open-paren, too.
2084 (ruby-smie-rules): Handle virtual indentation after open-paren
2085 tokens specially. If there is code between it and eol, return the
2086 column where is starts (Bug#16118).
2087
d43957f3
TZ
20882013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2089
a5c1ac0c 2090 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 2091 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
2092 (cfengine3--current-word): Fix parameters.
2093 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
2094 (cfengine3-completion-function, cfengine3--current-function):
2095 Use `assq' for symbols.
d43957f3
TZ
2096 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2097
06a4f110
GM
20982013-12-13 Glenn Morris <rgm@gnu.org>
2099
2100 * loadup.el (load-path): Warn if site-load or site-init changes it.
2101 No more need to reset it when bootstrapping.
2102
978a5fda
TZ
21032013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2104
2105 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2106 locations for cf-promises.
2107 (cfengine-mode-syntax-functions-regex): New caching variable.
2108 (cfengine3-fallback-syntax): Fallback syntax for cases where
2109 cf-promises doesn't run.
2110 (cfengine3--current-word): Reimplement using
2111 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
2112 (cfengine3-completion-function, cfengine3--current-function):
2113 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
2114 (cfengine3-clear-syntax-cache): New function.
2115 (cfengine3-make-syntax-cache): Simplify and create
2116 `cfengine-mode-syntax-functions-regex' on demand.
2117 (cfengine3-format-function-docstring): Don't call
2118 `cfengine3-make-syntax-cache' explicitly.
2119
71e6691e
MR
21202013-12-13 Martin Rudalics <rudalics@gmx.at>
2121
2122 Fix windmove-find-other-window broken after pixelwise resizing
2123 (Bug#16017).
2124 * windmove.el (windmove-other-window-loc): Revert change from
2125 2013-12-04.
2126 (windmove-find-other-window): Call window-in-direction.
2127 * window.el (window-in-direction): New arguments SIGN, WRAP and
2128 MINI to emulate original windmove-find-other-window behavior.
2129
84c73ba0
DG
21302013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2131
2132 * simple.el (blink-matching--overlay): New variable.
2133 (blink-matching-open): Instead of moving point, highlight the
2134 matching paren with an overlay
2135 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2136
2137 * faces.el (paren-showing-faces, show-paren-match)
2138 (show-paren-mismatch): Move from paren.el.
2139
b9e20952
LL
21402013-12-13 Leo Liu <sdl.web@gmail.com>
2141
2142 * indent.el (indent-region): Disable progress reporter in
2143 minibuffer. (Bug#16108)
2144
2145 * bindings.el (visual-order-cursor-movement): Fix version.
2146
ce030451
FEG
21472013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2148
2149 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2150 Also match after beginning of line.
2151 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 2152 files. Thanks to Russell Sim. (Bug#15378)
ce030451 2153
4a9c6865
JL
21542013-12-13 Juri Linkov <juri@jurta.org>
2155
2156 * simple.el <Keypad support>: Remove key bindings duplicated
2157 with bindings.el. (Bug#14397)
2158
2bc170c3
JL
21592013-12-13 Juri Linkov <juri@jurta.org>
2160
2161 * comint.el (comint-mode-map): Replace `delete-char' with
2162 `delete-forward-char'. (Bug#16109)
2163
bc9222c9
FEG
21642013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2165
aa2bddd7 2166 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 2167 Fix de-denters cornercase. (Bug#15731)
bc9222c9 2168
cb3a1380
SM
21692013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2172 (advice--make): Pay attention to `depth'.
2173 (advice--make-1): Don't autoload commands eagerly.
2174 * emacs-lisp/elp.el (elp-instrument-function):
2175 * emacs-lisp/trace.el (trace-function-internal):
2176 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2177
2178 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2179
01633a17
EZ
21802013-12-12 Eli Zaretskii <eliz@gnu.org>
2181
2182 * term/w32-win.el (w32-handle-dropped-file):
2183 * startup.el (normal-top-level):
2184 * net/browse-url.el (browse-url-file-url):
2185 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2186 decode file names using 'utf-8' rather than
2187 file-name-coding-system.
2188
09faee72
FEG
21892013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2190
2191 * progmodes/python.el (python-indent-context)
2192 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 2193 behavior for comment blocks. (Bug#15916)
09faee72 2194
f4f84024 21952013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 2196
cb3a1380
SM
2197 * progmodes/python.el (python-indent-calculate-indentation):
2198 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
2199 operators when they are just string constituents. (Bug#15812)
2200
d5ccb7be
JL
22012013-12-12 Juri Linkov <juri@jurta.org>
2202
2203 * uniquify.el (uniquify-buffer-name-style): Change default to
2204 `post-forward-angle-brackets'.
2205
2206 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2207 `uniquify'. Change default to `post-forward-angle-brackets'.
2208
7b3f5679
GM
22092013-12-11 Glenn Morris <rgm@gnu.org>
2210
2211 * emacs-lisp/package.el (finder-list-matches):
2212 Autoload rather than falsely declaring.
2213
f4fe8fdd
TZ
22142013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2215
2216 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2217 (eww-mode-map): Use them.
2218
3c29190f
MR
22192013-12-11 Martin Rudalics <rudalics@gmx.at>
2220
2221 * window.el (display-buffer-in-side-window): Fix doc-string
2222 (Bug#16115).
2223
0cd616a2
JB
22242013-12-11 Juanma Barranquero <lekktu@gmail.com>
2225
2226 * vc/vc-git.el: Silence byte-compiler warnings.
2227 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2228 (log-edit-set-header): Declare.
2229
3ef8e0d1
EZ
22302013-12-11 Eli Zaretskii <eliz@gnu.org>
2231
2232 * Makefile.in (custom-deps, finder-data): Run output file names
2233 through unmsys--file-name. (Bug#16099)
2234
afdadaf7
SM
22352013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2236
7ae3ae39 2237 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2238 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2239
5b4f37ab
SM
2240 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2241 instead of deleting the selection "by hand" (bug#16098).
2242 Rely on insert-for-yank to yank rectangles.
2243 (cua-highlight-region-shift-only): Mark obsolete.
2244 (cua-mode): Don't enable/disable transient-mark-mode,
2245 shift-select-mode (cua-mode works both with and without them), and
2246 pc-selection-mode (obsolete).
2247 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2248 (cua--deactivate-rectangle): Deactivate it.
2249
4b72c12b
SM
2250 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2251 (delete-selection-helper): Make sure yank starts at the top of the
2252 deleted region.
2253 (minibuffer-keyboard-quit): Use region-active-p.
2254
e82af72d
SM
2255 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2256
afdadaf7
SM
2257 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2258 to `delete' (bug#16109).
2259
ed4bc201
RS
22602013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2261
2262 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2263 info manual and show keybindings and set `:group' keyword.
2264
bb8097b9
JL
22652013-12-11 Juri Linkov <juri@jurta.org>
2266
2267 * delsel.el (delete-active-region): Let-bind `this-command'
2268 to prevent `kill-region' from changing its original value.
2269 (delete-selection-helper): Handle `overwrite-mode' for the type
2270 `kill' exactly the same way as for the type `t'.
2271 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2272 Support more commands. (Bug#13312)
2273
c1916ff5
JL
22742013-12-11 Juri Linkov <juri@jurta.org>
2275
2276 * bindings.el: Map kp keys to non-kp keys systematically
2277 with basic modifiers control, meta and shift. (Bug#14397)
2278
7514d3f8 22792013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2280
2281 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2282 "Close browser" menu items. Fix wrong function of "List
2283 bookmarks".
2284
4cc51eaf
JL
22852013-12-11 Juri Linkov <juri@jurta.org>
2286
2287 * misearch.el (multi-isearch-buffers): Set the value of
2288 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2289 arg of isearch-forward to t.
2290 (multi-isearch-buffers-regexp): Set the value of
2291 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2292 arg of isearch-forward-regexp to t.
2293 (multi-isearch-files): Set the value of
2294 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2295 arg of isearch-forward to t.
2296 (multi-isearch-files-regexp): Set the value of
2297 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2298 arg of isearch-forward-regexp to t. (Bug#16035)
2299
2300 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2301 arg of isearch-forward to t.
2302 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2303 arg of isearch-forward-regexp to t.
2304 (dired-isearch-filter-filenames): Remove unnecessary check for
2305 `dired-isearch-filenames'.
2306
2307 * comint.el (comint-history-isearch-backward):
2308 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2309 (comint-history-isearch-backward-regexp):
2310 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2311
ceac12b7
EZ
23122013-12-10 Eli Zaretskii <eliz@gnu.org>
2313
2314 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2315 unmsys--file-name. (Bug#16099)
2316
5a565782
TZ
23172013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2318
cb3a1380
SM
2319 * emacs-lisp/package.el (package-keyword-button-action):
2320 Remove finder.el require dependency.
5a565782 2321
a81fc7ba
TZ
23222013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2323
2324 * emacs-lisp/package.el: Require finder.el.
2325 (describe-package-1): Add keyword buttons.
2326 (package-make-button): New convenience function.
2327 (package-keyword-button-action): Keyword button action using
e0eb0550 2328 `finder-list-matches'.
a81fc7ba 2329
6aaca951
EZ
23302013-12-09 Eli Zaretskii <eliz@gnu.org>
2331
2332 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2333 last commit.
2334
a1099a91
MA
23352013-12-09 Michael Albinus <michael.albinus@gmx.de>
2336
2337 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2338 symlinked files.
2339
8212d9c0
DG
23402013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2341
2342 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2343 after the end of a percent literal.
2344
8f48d131
CD
23452013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2346
cb3a1380
SM
2347 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2348 Handle caret-delimited strings (Bug#16079).
8f48d131 2349
ff8c9764
DG
23502013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2351
cb3a1380
SM
2352 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2353 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2354 `ruby-parse-partial' (Bug#16078).
2355
d64643b4
LL
23562013-12-09 Leo Liu <sdl.web@gmail.com>
2357
2358 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2359
47e59c66
DG
23602013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2361
2362 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2363 (js-switch-indent-offset): New option.
2364 (js--proper-indentation): Use it. And handle the case when
2365 "default" is actually a key in an object literal.
2366 (js--same-line): New function.
2367 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2368 (js--indent-in-array-comp, js--array-comp-indentation):
2369 New functions.
47e59c66
DG
2370 (js--proper-indentation): Use them, to handle array comprehension
2371 continuations.
2372
974ebc9c
LL
23732013-12-08 Leo Liu <sdl.web@gmail.com>
2374
2375 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2376 (flymake-make-overlay): Remove arg MOUSE-FACE.
2377 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2378
27262e39
SM
23792013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2380
2381 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2382 New function.
2383 (redisplay-highlight-region-function): Use it.
2384
2385 * emulation/cua-base.el (cua--explicit-region-start)
2386 (cua--last-region-shifted): Remove.
2387 (cua--deactivate): Use deactivate-mark.
2388 (cua--pre-command-handler-1): Don't handle shift-selection.
2389 (cua--post-command-handler-1): Don't change transient-mark-mode.
2390 (cua--select-keymaps): Use region-active-p rather than
2391 cua--explicit-region-start or cua--last-region-shifted.
2392 (cua-mode): Enable shift-select-mode.
2393
6407822c
LL
23942013-12-08 Leo Liu <sdl.web@gmail.com>
2395
27262e39
SM
2396 * progmodes/flymake.el (flymake-popup-current-error-menu):
2397 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2398 (flymake-posn-at-point-as-event, flymake-popup-menu)
2399 (flymake-make-emacs-menu): Remove. (Bug#16077)
2400
00a2b823
SM
24012013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2402
02033d49
SM
2403 * rect.el (rectangle-mark-mode): Activate mark even if
2404 transient-mark-mode is off (bug#16066).
2405 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2406 is > mark and at bolp.
2407
6f8dfccf
SM
2408 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2409 (region-extract-function): Use it.
2410 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2411 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2412 Delete functions.
2413 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2414 kill-ring-save, kill-region, delete-char, delete-forward-char.
2415 Ignore self-insert-iso.
2416
2417 * emulation/cua-gmrk.el (cua--init-global-mark):
2418 Ignore `self-insert-iso'.
2419
2420 * emulation/cua-base.el (cua--prefix-copy-handler)
2421 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2422 checking cua--rectangle.
2423 (cua-delete-region): Use region-extract-function.
2424 (cua-replace-region): Delete function.
2425 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2426 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2427 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2428 (cua--init-keymaps): Don't remap delete-selection commands.
2429 (cua-mode): Use delete-selection-mode instead of rolling our own
2430 (bug#16085).
2431
2432 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2433 Obey region-extract-function.
2434
00a2b823
SM
2435 Make registers and delete-selection-mode work on rectangles.
2436 * register.el (describe-register-1): Don't modify the register's value.
2437 (copy-to-register): Obey region-extract-function.
2438 * delsel.el (delete-active-region): Obey region-extract-function.
2439
a92fa5f1
LL
24402013-12-08 Leo Liu <sdl.web@gmail.com>
2441
2442 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2443 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2444 (flymake-compilation-prevents-syntax-check)
2445 (flymake-start-syntax-check-on-newline)
2446 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2447 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2448 (flymake-xml-program, flymake-master-file-dirs)
2449 (flymake-master-file-count-limit)
2450 (flymake-allowed-file-name-masks): Relocate.
2451 (flymake-makehash, flymake-float-time)
2452 (flymake-replace-regexp-in-string, flymake-split-string)
2453 (flymake-get-temp-dir): Remove.
2454 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2455 (flymake-current-row, flymake-selected-frame)
2456 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2457 related functions. (Bug#16077)
2458
73c8ceea
BB
24592013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2460
2461 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2462
faec28d9
TH
24632013-12-07 Tassilo Horn <tsdh@gnu.org>
2464
2465 * help-fns.el (describe-function-1): Use new advice-* functions
2466 rather than old ad-* functions. Fix function type description and
2467 source links for advised functions and subrs.
2468
e330b646
LMI
24692013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2470
00a2b823 2471 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2472
4803595d
MA
24732013-12-06 Michael Albinus <michael.albinus@gmx.de>
2474
2475 * progmodes/compile.el (compilation-start):
2476 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2477
2478 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2479 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2480
fa834a93
DG
24812013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2482
00a2b823
SM
2483 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2484 Touch up the last change.
fa834a93 2485
b2856a6f
LL
24862013-12-06 Leo Liu <sdl.web@gmail.com>
2487
2488 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2489 (inferior-octave-startup): Always use "octave> " for prompt.
2490 (octave-goto-function-definition)
2491 (octave-sync-function-file-names)
2492 (octave-find-definition-default-filename): Remove redundant backquotes.
2493
af67e79a
DG
24942013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2495
2496 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2497 syntax for `?'.
2498 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2499 where appropriate already.
2500 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2501 end of method names (Bug#15874).
2502
bf093209
JL
25032013-12-06 Juri Linkov <juri@jurta.org>
2504
2505 * isearch.el (isearch--saved-overriding-local-map):
2506 New internal variable.
2507 (isearch-mode): Set it to the initial value of
2508 `overriding-terminal-local-map'.
2509 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2510 with `isearch--saved-overriding-local-map'. (Bug#16035)
2511
16588fad
DG
25122013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2513
00a2b823
SM
2514 * progmodes/octave.el (inferior-octave-completion-table):
2515 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2516 (Bug#11906). Update all references.
2517
2518 * minibuffer.el (completion-table-with-cache): New function.
2519
bf4906d7
CD
25202013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2521
2522 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2523
ff69c18f
TZ
25242013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2525
2526 * net/eww.el (eww-current-source): New variable to store page
2527 source.
2528 (eww-display-html, eww-mode, eww-save-history)
2529 (eww-restore-history): Use it.
2530 (eww-view-source): New command to view page source.
2531 Opportunistically uses `html-mode' to highlight the buffer.
2532 (eww-mode-map): Install it.
2533
b85eff45
MA
25342013-12-05 Michael Albinus <michael.albinus@gmx.de>
2535
2536 * net/dbus.el (dbus-unregister-service)
2537 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2538 Fix docstring.
2539 (dbus-unregister-service): Skip :serial entries in
2540 `dbus-registered-objects-table'.
2541 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2542
39eb0899
TZ
25432013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2544
2545 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2546 around keywords with extra `split-string' argument.
2547
456760a5
MR
25482013-12-04 Martin Rudalics <rudalics@gmx.at>
2549
2550 * windmove.el (windmove-other-window-loc): Handle navigation
2551 between windows (excluding the minibuffer window - Bug#16017).
2552
81961e4c
MA
25532013-12-04 Michael Albinus <michael.albinus@gmx.de>
2554
2555 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2556 in D-Bus type syntax.
2557 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2558 preserve unibyte strings. (Bug#16048)
2559
8497f938
SM
25602013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2561
2562 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2563 Call force-mode-line-update is the proper buffer (bug#16042).
2564
dda61916
DG
25652013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2566
2567 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2568 `log-edit-remember-comment', make argument optional. Adjust all
2569 callers.
2570 (log-edit-mode): Add `log-edit-remember-comment' to
2571 `kill-buffer-hook' locally.
2572 (log-edit-kill-buffer): Don't remember comment explicitly since
2573 the buffer is killed anyway.
2574
c085e5b9
JL
25752013-12-04 Juri Linkov <juri@jurta.org>
2576
2577 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2578 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2579
e0eb0550 25802013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2581
2582 * notifications.el (notifications-close-notification): Call the
81961e4c 2583 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2584
39fa32d6
KY
25852013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2586
2587 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2588
9139632a
JL
25892013-12-03 Juri Linkov <juri@jurta.org>
2590
2591 * progmodes/compile.el (compilation-start): Rename window alist
2592 entry `no-display-ok' to `allow-no-window'.
2593
2594 * simple.el (shell-command): Add window alist entry
2595 `allow-no-window' to `display-buffer'.
2596 (async-shell-command): Doc fix.
2597
2598 * window.el (display-buffer-no-window): New action function.
2599 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2600
0f457a37
DG
26012013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2602
2603 * vc/log-edit.el (log-edit-set-header): Extract from
2604 `log-edit-toggle-header'.
2605 (log-edit-extract-headers): Separate the summary, when extracted
2606 from header, from the rest of the message with an empty line.
2607
2608 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2609 line, if present, to the Summary header.
2610
0962f376
SM
26112013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2612
2613 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2614 in current-buffer (bug#16029).
2615
f345395c
HE
26162013-12-02 Helmut Eller <eller.helmut@gmail.com>
2617
2618 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2619 (debugger-mode-map): Bind it.
2620 (debugger--backtrace-base): New function.
2621 (debugger-eval-expression): Use it.
2622 (debugger-frame-number): Skip local vars when present.
2623 (debugger--locals-visible-p, debugger--insert-locals)
2624 (debugger--show-locals, debugger--hide-locals): New functions.
2625
a8a15d9d
MA
26262013-12-02 Michael Albinus <michael.albinus@gmx.de>
2627
2628 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2629 "LC_ALL".
2630 (tramp-get-remote-locale): New defun.
2631 (tramp-open-connection-setup-interactive-shell): Use it.
2632
0518b057
LL
26332013-12-02 Leo Liu <sdl.web@gmail.com>
2634
2635 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2636
2637 * progmodes/sh-script.el (sh-shell-process):
2638 * progmodes/octave.el (inferior-octave-process-live-p):
2639 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2640 (gdb-inferior-io-sentinel):
2641 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2642
3adc9c6d
DG
26432013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2644
2645 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2646 `save-selected-window' to `log-edit-hide-buf'. This makes
2647 `log-edit-show-files' idempotent.
2648 (log-edit-show-files): Mark the new window as dedicated.
2649
47e8b74e
DG
26502013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2651
2652 * vc/log-edit.el (log-edit-mode-map): Add binding for
2653 `log-edit-kill-biffer'.
2654 (log-edit-hide-buf): Add a FIXME comment.
2655 (log-edit-add-new-comment): New function, extracted from
2656 `log-edit-done'.
2657 (log-edit-done, log-edit-add-to-changelog): Use it.
2658 (log-edit-kill-buffer): New command.
2659
1f6e1bb0
LMI
26602013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2661
2662 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2663 instead of killing the buffer.
2664
fb651d15
SM
26652013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2666
2667 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2668
8feacce0
RS
26692013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2670
fb651d15 2671 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2672 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2673 (eww-form-checkbox, eww-toggle-checkbox):
2674 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2675
e0eb0550 2676 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2677 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2678 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2679 no :src tag was specified.
2680
fb651d15 2681 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2682 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2683 Use \\` to match beginning of string instead of ^.
2684 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2685 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2686
177948a5
RS
2687 * net/shr.el (shr-tag-video): Display content for video if no
2688 poster is available.
eb2dd24d 2689 (shr-tag-audio): Add support for <audio> tag.
177948a5 2690
e0eb0550 2691 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2692 (eww-process-text-input): Treat input types in
2693 `eww-text-input-types' as text.
2694
8feacce0
RS
2695 * net/shr.el (shr-tag-table): Fix comment typo.
2696
513562a1
LMI
26972013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2698
2699 * net/eww.el (eww-follow-link): New command to avoid reloading
2700 pages when we follow #target links (bug#15243).
de8a5633 2701 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2702
9dd99753
KN
27032013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2704
2705 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2706 forms.
2707
3e9876de
LMI
27082013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2709
2710 * net/eww.el (eww-restore-history): Update the window title after
2711 moving in the history.
ab6dea82 2712 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2713
52789f7f
DG
27142013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2715
2716 * vc/log-edit.el (log-edit-mode-map): Add binding for
2717 `log-edit-beginning-of-line'.
2718 (log-edit-setup-add-author): New user option.
2719 (log-edit-beginning-of-line): New command.
2720 (log-edit): Move major mode call above the contents setup so that
2721 the local variable values are already applied.
2722 (log-edit): Only insert "Author: " when
2723 `log-edit-setup-add-author' is non-nil.
2724 (log-edit): When SETUP is non-nil, position point after ": "
2725 instead of point-min.
2726
2e6710c3
GM
27272013-12-01 Glenn Morris <rgm@gnu.org>
2728
2729 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2730
fadec31f
EZ
27312013-11-30 Eli Zaretskii <eliz@gnu.org>
2732
2733 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2734 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2735 visible. (Bug#16014)
2736
10634b40 27372013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2738
2739 Support resizing frames and windows pixelwise.
2740 * cus-start.el (frame-resize-pixelwise)
2741 (window-resize-pixelwise): New entries.
2742 * emacs-lisp/debug.el (debug): Use window-total-height instead
2743 of window-total-size.
2744 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2745 * help.el (describe-bindings-internal): Call help-buffer
2746 (temp-buffer-max-width): New option.
2747 (resize-temp-buffer-window, help-window-setup)
2748 (with-help-window): Rewrite.
2749 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2750 dragging dividers.
2751 * window.el (frame-char-size, window-min-pixel-height)
2752 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2753 (window-min-pixel-width, window-safe-min-pixel-size)
2754 (window-combination-p, window-safe-min-size)
2755 (window-resizable-p, window--size-to-pixel)
2756 (window--pixel-to-size, window--resize-apply-p): New functions.
2757 (window-safe-min-height): Fix doc-string.
2758 (window-size, window-min-size, window--min-size-1)
2759 (window-sizable, window-sizable-p, window--min-delta-1)
2760 (window-min-delta, window--max-delta-1, window-max-delta)
2761 (window--resizable, window--resizable-p, window-resizable)
2762 (window-full-height-p, window-full-width-p, window-at-side-p)
2763 (window--in-direction-2, window-in-direction)
2764 (window--resize-reset-1, window--resize-mini-window)
2765 (window-resize, window-resize-no-error)
2766 (window--resize-child-windows-normal)
2767 (window--resize-child-windows, window--resize-siblings)
2768 (window--resize-this-window, window--resize-root-window)
2769 (window--resize-root-window-vertically)
2770 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2771 (maximize-window, minimize-window, delete-window)
2772 (quit-restore-window, window-split-min-size, split-window)
2773 (balance-windows-2, balance-windows)
2774 (balance-windows-area-adjust, balance-windows-area)
2775 (window--state-get-1, window-state-get, window--state-put-1)
2776 (window--state-put-2, window-state-put)
fb651d15
SM
2777 (display-buffer-record-window, window--display-buffer):
2778 Make functions handle pixelwise sizing of windows.
880e6158 2779 (display-buffer--action-function-custom-type)
fb651d15
SM
2780 (display-buffer-fallback-action):
2781 Add display-buffer-in-previous-window.
880e6158
MR
2782 (display-buffer-use-some-window): Resize window to height it had
2783 before.
2784 (fit-window-to-buffer-horizontally): New option.
2785 (fit-frame-to-buffer): Describe new values.
2786 (fit-frame-to-buffer-bottom-margin): Replace with
2787 fit-frame-to-buffer-margins.
2788 (window--sanitize-margin): New function.
2789 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2790 using window-text-pixel-size.
2791
f9b697dd
GM
27922013-11-30 Glenn Morris <rgm@gnu.org>
2793
3e2fb4db
GM
2794 * emacs-lisp/bytecomp.el (byte-compile-form):
2795 Make the `interactive-only' warning like the `obsolete' one.
2796 * comint.el (comint-run):
2797 * files.el (insert-file-literally, insert-file):
2798 * replace.el (replace-string, replace-regexp):
2799 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2800 (goto-line, insert-buffer, next-line, previous-line):
2801 Tweak `interactive-only' spec.
2802
f9b697dd
GM
2803 Stop keeping (most) generated cedet grammar files in the repository.
2804 * Makefile.in (semantic): New.
2805 (compile-main): Depend on semantic.
2806
da048127
SM
28072013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2808
7784b779
SM
2809 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2810 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2811
4e36a6a6
SM
2812 * uniquify.el (uniquify-buffer-name-style): Change default.
2813
2814 * loadup.el: Preload "uniquify".
2815
e0ba1308
SM
2816 * time.el (display-time-update): Update all mode lines (bug#15999).
2817
da048127
SM
2818 * electric.el (electric-indent-mode): Enable by default.
2819 * loadup.el: Preload "electric".
2820
015b3b3e
BB
28212013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2822
2823 * emacs-lisp/helpers.el (string-empty-p): New function.
2824 (string-blank-p): New function.
2825
7efb806d
AP
28262013-11-29 Andreas Politz <politza@hochschule-trier.de>
2827
2828 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2829 (Bug#14029).
2830
c8f0efc2
AP
28312013-11-29 Andreas Politz <politza@fh-trier.de>
2832 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2833 allow non-lambda lists as functions.
2834 (imenu--in-alist): Don't recurse into non-subalists.
2835 (imenu): Don't pass function itself as an argument (Bug#14029).
2836
bd15d9d1
SM
28372013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2838
2839 * progmodes/python.el (python-mode-map): Remove binding for ":".
2840 (python-indent-electric-colon): Remove command.
2841 (python-indent-post-self-insert-function): Integrate the previous code
2842 of python-indent-electric-colon. Make it conditional on
2843 electric-indent-mode.
2844 (python-mode): Add ?: to electric-indent-chars.
2845 Move python-indent-post-self-insert-function to the end of
2846 post-self-insert-hook.
2847
1b10adb6
SM
28482013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2849
655ab9a3
SM
2850 * doc-view.el (doc-view-goto-page): Update mode-line.
2851
1b10adb6
SM
2852 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2853
7e3bf78c
GM
28542013-11-27 Glenn Morris <rgm@gnu.org>
2855
2856 * international/charprop.el, international/uni-bidi.el:
2857 * international/uni-category.el, international/uni-combining.el:
2858 * international/uni-comment.el, international/uni-decimal.el:
2859 * international/uni-decomposition.el, international/uni-digit.el:
2860 * international/uni-lowercase.el, international/uni-mirrored.el:
2861 * international/uni-name.el, international/uni-numeric.el:
2862 * international/uni-old-name.el, international/uni-titlecase.el:
2863 * international/uni-uppercase.el:
2864 Remove generated files from VCS repository.
2865
fb6a5d68
EZ
28662013-11-27 Eli Zaretskii <eliz@gnu.org>
2867
2868 * filenotify.el (file-notify-add-watch): Don't special-case
2869 w32notify when computing the directory to watch.
2870
cb6c95a3
GM
28712013-11-27 Glenn Morris <rgm@gnu.org>
2872
20372d0c
GM
2873 Make bootstrap without generated uni-*.el files possible again.
2874 * loadup.el: Update command-line-args checking for unidata-gen.
2875 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2876 * composite.el, international/characters.el:
2877 Handle unicode tables being undefined.
2878
52d6635f 2879 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2880 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2881 (compile-main): Depend on leim rule.
2882 (leim): New rule.
2883 * loadup.el: Move leim-list.el to leim/ subdirectory.
2884 * startup.el (normal-top-level): No more leim directory.
2885 * international/ja-dic-cnv.el (skkdic-convert):
2886 Disable version-control and autoloads in output files.
2887 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2888 Disable version-control and autoloads in output files.
2889 * leim/quail: Move here from ../leim.
2890 * leim/quail/hangul.el (hangul-input-method-activate):
2891 Add autoload cookie.
2892 (generated-autoload-load-name): Set file-local value.
2893 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2894 (generated-autoload-load-name): Set file-local value.
2895
7514d3f8 28962013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2897
e0eb0550 2898 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2899 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2900 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2901
0e2c793f
EZ
29022013-11-26 Eli Zaretskii <eliz@gnu.org>
2903
2904 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2905 reading output from Diff on MS-Windows and MS-DOS.
2906
447bdcb8
BB
29072013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2908
2909 * emacs-lisp/helpers.el (string-reverse): New function.
2910
5fbf6856
MA
29112013-11-26 Michael Albinus <michael.albinus@gmx.de>
2912
2913 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2914 names on MS Windows, like "/[::1]:".
2915
2916 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2917 SWITCHES.
2918
624780f0
GM
29192013-11-26 Glenn Morris <rgm@gnu.org>
2920
0bf3f0fa
GM
2921 * progmodes/python.el (python-indent-guess-indent-offset):
2922 Avoid corner-case error. (Bug#15975)
2923
624780f0
GM
2924 Preload leim-list.el. (Bug#4789)
2925 * loadup.el: Load leim-list.el when found.
2926 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2927
4301875e 29282013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2929
2930 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2931
4301875e
BB
2932 * emacs-lisp/helpers.el (string-join): New function.
2933
1633a815 29342013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2935
2936 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2937 Mark as obsolete and replace it with a symbol property.
2938 (byte-compile-form): Use new 'interactive-only property.
2939 * comint.el, files.el, replace.el, simple.el:
2940 Apply new 'interactive-only properly.
2941
00139435
MR
29422013-11-25 Martin Rudalics <rudalics@gmx.at>
2943
2944 * window.el (display-buffer-at-bottom): Make sure that
2945 split-window-sensibly creates the new window on bottom
2946 (Bug#15961).
2947
5f5b128d
DK
29482013-11-23 David Kastrup <dak@gnu.org>
2949
2950 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2951 on the conflict markers when available.
2952 (smerge--get-marker): New function.
2953 (smerge-end-re, smerge-base-re): Add subgroup.
2954
623891e5
SM
29552013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2956
2957 * frame.el (handle-focus-in, handle-focus-out): Add missing
2958 interactive spec.
2959
05ca27d8
MA
29602013-11-25 Michael Albinus <michael.albinus@gmx.de>
2961
2962 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2963 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2964
511fa0d3
SM
29652013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2966
e82ad66c
SM
2967 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2968 (gomoku--last-pos): New var.
2969 (gomoku--intangible-chars): New const.
2970 (gomoku--intangible): New function.
2971 (gomoku-mode): Use it. Derive from special-mode.
2972 (gomoku-move-up): Adjust line count.
2973 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2974 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2975 Simplify accordingly.
2976
511fa0d3
SM
2977 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2978 Remove blink-cursor code.
2979 (blink-cursor-timer-function, blink-cursor-suspend):
2980 Don't special-case GUIs.
2981 (blink-cursor-mode): Use focus-in/out-hook.
2982
6f20dd03
DG
29832013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2984
2985 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2986 work when annotation is invisible (Bug#13886).
2987
431dec31 29882013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2989
2990 * json.el (json-alist-p): Only return non-nil if the alist has
2991 simple keys (Bug#13518).
2992
431dec31 29932013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2994
2995 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2996 when control-statement is the first statement in a buffer (Bug#15956).
2997
ee4f0261
DG
29982013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2999
3000 * imenu.el (imenu-generic-skip-comments-and-strings):
3001 New option (Bug#15560).
3002 (imenu--generic-function): Use it.
3003
c484f866
JS
30042013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3005
e9dc713d
JB
3006 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3007 (Bug#13898)
c484f866 3008
41ce6f70
BB
30092013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3010
b55aea38
BB
3011 * emacs-lisp/helpers.el: Add some string helpers.
3012 (string-trim-left): Removes leading whitespace.
3013 (string-trim-right): Removes trailing whitespace.
3014 (string-trim): Removes leading and trailing whitespace.
3015
41ce6f70
BB
3016 * subr.el (string-suffix-p): New function.
3017
3cfb6af3
GM
30182013-11-23 Glenn Morris <rgm@gnu.org>
3019
3020 * progmodes/python.el (python-shell-send-file):
3021 Add option to delete file when done. (Bug#15647)
3022 (python-shell-send-string, python-shell-send-region): Use it.
3023
c27924b7
IS
30242013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3025
e1b01c7f
IS
3026 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3027 to set buffer-read-only to t, never to nil. (Bug#15938)
3028
c27924b7
IS
3029 * textmodes/tex-mode.el (latex-noindent-environments):
3030 Add safe-local-variable property. (Bug#15936)
3031
17e0445b
GM
30322013-11-23 Glenn Morris <rgm@gnu.org>
3033
92f78ea3
GM
3034 * textmodes/enriched.el (enriched-mode): Doc fix.
3035 * emacs-lisp/authors.el (authors-renamed-files-alist):
3036 Add enriched.doc -> enriched.txt.
3037
17e0445b
GM
3038 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3039
965bb23a
LL
30402013-11-22 Leo Liu <sdl.web@gmail.com>
3041
3042 * progmodes/octave.el (inferior-octave-startup): Spit out error
3043 message.
3044
d19ffd64
BB
30452013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3046
3047 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3048 Improve docstring.
15ba2182
BB
3049 Add :version.
3050 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 3051
7a7567d2
LL
30522013-11-22 Leo Liu <sdl.web@gmail.com>
3053
3054 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3055 (Bug#15076)
8c09f64b
LL
3056 (octave-help-mode): Adapt to change to help-mode-finish to use
3057 derived-mode-p on 2013-09-17.
3058 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 3059 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 3060
724bc265
LL
30612013-11-22 Leo Liu <sdl.web@gmail.com>
3062
3063 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3064 (inferior-octave-startup, inferior-octave-check-process)
3065 (inferior-octave-track-window-width-change)
3066 (octave-completion-at-point, octave-eldoc-function): Use it.
3067 (octave-kill-process): Provide confirmation. (Bug#10564)
3068
38637cca
LL
30692013-11-21 Leo Liu <sdl.web@gmail.com>
3070
511fa0d3
SM
3071 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3072 Fix obsolete variable comment-use-global-state.
38637cca 3073
06e752b4
RS
30742013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3075
511fa0d3
SM
3076 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3077 Add `octave-source-file'.
06e752b4
RS
3078 (octave-source-file): New function. (Bug#15935)
3079
7514d3f8 30802013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
3081
3082 * net/eww.el (eww-local-regex): New variable.
3083 (eww): Use it to detect localhost and similar.
3084
b6ffa04a
LL
30852013-11-21 Leo Liu <sdl.web@gmail.com>
3086
3087 Add completion for command `ag'.
2021a200
LL
3088 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3089 (pcomplete/ag): New function.
e9dc713d 3090 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 3091
d1a6bccc
SM
30922013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3093
3094 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3095 (bug#14646).
3096 (make-obsolete): Remove interactive spec.
3097
2df10228
GM
30982013-11-21 Glenn Morris <rgm@gnu.org>
3099
3100 * startup.el (command-line-1): Use path-separator with -L.
3101
86fd16b6
TZ
31022013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3103
3104 * emacs-lisp/package.el (describe-package-1): Add package archive
3105 to shown fields.
3106
0449d6cd 31072013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
3108
3109 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3110 Change default to "# encoding: %s" to differentiate it from the
3111 default Ruby encoding comment template.
3112
dc7e8c17 31132013-11-20 era eriksson <era+emacsbugs@iki.fi>
3114
3115 * ses.el (ses-mode): Doc fix. (Bug#14748)
3116
f0cfa5fe
LL
31172013-11-20 Leo Liu <sdl.web@gmail.com>
3118
3119 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3120
826dc7b6
DN
31212013-11-19 Dan Nicolaescu <dann@gnu.org>
3122
3123 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3124 when rebase or bisect are in progress.
3125
a6e3a5d5
XF
31262013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3127
3128 * filenotify.el (file-notify-add-watch): Doc fix.
3129
f130cb76
LL
31302013-11-19 Leo Liu <sdl.web@gmail.com>
3131
e0855d7d
LL
3132 * obsolete/rcompile.el: Mark obsolete.
3133
f130cb76 3134 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
3135 (compilation-goto-locus, compilation-find-file):
3136 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
3137 (Bug#13594)
3138
3139 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
3140 new parameter no-display-ok. Return either a window or nil
3141 but never a non-window value.
f130cb76 3142
1f35d401
SM
31432013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3144
25158c76
SM
3145 * electric.el (electric-indent-mode-map): Remove.
3146 (electric-indent-mode): Change the global-map instead (bug#15915).
3147
3148 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3149 Use add-function.
1f35d401 3150
9bc67baa
SM
31512013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3152
986545b5
SM
3153 * emacs-lisp/nadvice.el (remove-function): Align with
3154 add-function's behavior.
3155
9bc67baa
SM
3156 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3157 (gdb--string-regexp): New constant.
3158 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3159 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3160 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3161 submatch 1.
3162 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3163 Adjust use accordingly.
3164 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3165
56cd894e
AS
31662013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3167
3168 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3169 interpolation curlies (Bug#15914).
3170
014690de
JB
31712013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3172
3173 * calc/calc.el (calc-context-sensitive-enter): New variable.
3174 (calc-enter): Use `calc-context-sensitive-enter'.
3175
7e26a6c3
TZ
31762013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3177
3178 * progmodes/cfengine.el: Version bump.
3179 (cfengine-cf-promises): New defcustom to locate cf-promises.
3180 (cfengine3-vartypes): Add new "data" type.
3181 (cfengine3--current-word): New function to get current name-like
3182 word or its bounds.
3183 (cfengine3--current-function): New function to look up a CFEngine
3184 function's definition.
3185 (cfengine3-format-function-docstring): New function.
3186 (cfengine3-make-syntax-cache): New function.
3187 (cfengine3-documentation-function): New function: ElDoc glue.
3188 (cfengine3-completion-function): New function: completion glue.
3189 (cfengine3-mode): Set `compile-command',
3190 `eldoc-documentation-function', and add to
3191 `completion-at-point-functions'.
3192
355204dd
MA
31932013-11-16 Michael Albinus <michael.albinus@gmx.de>
3194
3195 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3196 `tramp-current-connection'.
3197
43cebc23
DG
31982013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3199
3200 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3201 nil/self/true/false with "end of symbol".
3202
a3fed6ff
BB
32032013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3204
3205 * subr.el (version-regexp-alist): Fix a typo.
3206
e675b3e4
MA
32072013-11-15 Michael Albinus <michael.albinus@gmx.de>
3208
3209 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3210 "en_US.utf8" and "LC_CTYPE" to "".
3211 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3212 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3213
a1f03e89
LL
32142013-11-15 Leo Liu <sdl.web@gmail.com>
3215
3216 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3217
5d9d9451
SM
32182013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3219
58362662
CS
3220 * progmodes/gud.el (ctl-x-map):
3221 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
3222 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3223
6c1bf086
BB
32242013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3225
0d5363c4
BB
3226 * subr.el (version-regexp-alist):
3227 Recognize hg, svn and darcs versions as snapshot versions.
3228
4e9fc48c
BB
3229 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3230 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3231 (ruby--encoding-comment-required-p): Extract from
3232 `ruby-mode-set-encoding'.
3233 (ruby-mode-set-encoding): Add the ability to always insert an
3234 utf-8 encoding comment. Fix and simplify coding comment update
3235 logic.
6c1bf086 3236
2f7e72f8
MA
32372013-11-14 Michael Albinus <michael.albinus@gmx.de>
3238
3239 * net/tramp-gvfs.el (top): Run init code only when
3240 `tramp-gvfs-enabled' is not nil.
3241 (tramp-gvfs-enabled): Check also :system bus.
3242
0f137a73
SM
32432013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3244
3245 Sync with upstream verilog-mode revision 78e66ba.
3246 * progmodes/verilog-mode.el (verilog-end-of-defun)
3247 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3248 (verilog-get-end-of-defun): Remove unused argument.
3249 (verilog-comment-depth): Remove unused local `e'.
3250 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3251 Don't pass arg to verilog-get-end-of-defun.
3252
1c276bdd
GM
32532013-11-14 Glenn Morris <rgm@gnu.org>
3254
3255 * obsolete/assoc.el (aget): Prefix dynamic variable.
3256
3257 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3258
ff6ec81d
SM
32592013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3260
3261 * widget.el, hfy-cmap.el: Remove bogus package version number.
3262
75f777b6
GM
32632013-11-13 Glenn Morris <rgm@gnu.org>
3264
1d43dba1
GM
3265 * replace.el (replace-eval-replacement):
3266 Try to give more helpful error message. (Bug#15836)
3267
ff4b7bd5
GM
3268 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3269 (archive-7z-update): Avoid custom type mismatches.
3270
75f777b6
GM
3271 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3272
11151a06
MA
32732013-11-13 Michael Albinus <michael.albinus@gmx.de>
3274
e675b3e4 3275 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3276 address can be empty.
3277
3278 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3279 Accept nil SWITCHES.
3280 (tramp-gvfs-handle-write-region): Implement APPEND.
3281
7b08f97e
DG
32822013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3283
3284 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3285 binary "|" operator and closing block args delimiter.
3286 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3287 (ruby-smie--implicit-semi-p): Not after "|" operator.
3288 (ruby-smie--closing-pipe-p): New function.
3289 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3290 (ruby-smie-rules): Indent after "|".
3291
f201cf3a
GM
32922013-11-12 Glenn Morris <rgm@gnu.org>
3293
3294 * ps-print.el (ps-face-attribute-list):
3295 Handle anonymous faces. (Bug#15827)
3296
e6f759f9
MR
32972013-11-12 Martin Rudalics <rudalics@gmx.at>
3298
3299 * window.el (display-buffer-other-frame): Fix doc-string.
3300 (Bug#15868)
3301
ecda65d4
SM
33022013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3303
3304 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3305
7ce8fcc3
MA
33062013-11-11 Michael Albinus <michael.albinus@gmx.de>
3307
3308 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3309 (tramp-sh-handle-file-local-copy): Don't write a message when
3310 saving temporary files.
3311
3312 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3313 both directories are remote.
3314 (tramp-smb-handle-directory-files): Do not return double entries.
3315 Do not expand full file names.
3316 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3317 (tramp-smb-handle-write-region): Implement APPEND.
3318 (tramp-smb-get-stat-capability): Fix a stupid bug.
3319
7818df11
SM
33202013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3321
3322 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3323
608c2085
NT
33242013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3325
3326 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3327 throwing error over malformed let/let* (bug#15814).
3328
122a7e46
SM
33292013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3330
3331 * iswitchb.el (iswitchb-mode): Mark obsolete.
3332
766284d9
GM
33332013-11-11 Glenn Morris <rgm@gnu.org>
3334
3335 * international/uni-bidi.el, international/uni-category.el:
3336 * international/uni-name.el, international/uni-numeric.el:
3337 Regenerate for Unicode 6.3.0.
3338
7072a4e9
MA
33392013-11-10 Michael Albinus <michael.albinus@gmx.de>
3340
3341 * net/tramp.el (tramp-methods):
3342 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3343 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3344
c9df215b
AS
33452013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3346
608c2085
NT
3347 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3348 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3349
fa47d796
DG
33502013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3351
3352 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3353 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3354 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3355 (ispell-complete-word): Call `ispell-lookup-words' with the value
3356 independent of `ispell-look-p'.
3357
1629a329
DG
33582013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3359
3360 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3361 Not after "||".
3362 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3363 their parent.
3364
ad16897c
SM
33652013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3366
3367 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3368 (ruby-font-lock-keywords): Use backquote.
3369
ffa2df72
DG
33702013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3371
3372 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3373 (ruby-smie--backward-token): Only consider full-string matches.
3374
5b97b4c0
JD
33752013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3376
3377 * faces.el (describe-face): Add distant-foreground.
3378
71731c03
BB
33792013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3380
4e9fc48c
BB
3381 * progmodes/ruby-mode.el: Improve encoding comment handling.
3382 (ruby-encoding-magic-comment-style): New option.
3383 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3384 (ruby--insert-coding-comment, ruby--detect-encoding):
3385 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3386 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3387 to control the style of the auto-inserted encoding comment.
71731c03 3388
da3b328d
DG
33892013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3390
ad16897c
SM
3391 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3392 Use `smie-backward-sexp' with token argument.
da3b328d 3393
1606c2d3
MA
33942013-11-08 Michael Albinus <michael.albinus@gmx.de>
3395
3396 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3397 Remove instrumentation code.
3398
b0f4c320
GM
33992013-11-08 Glenn Morris <rgm@gnu.org>
3400
3401 * progmodes/autoconf.el (autoconf-mode):
3402 Tweak comment-start-skip. (Bug#15822)
3403
43668fb1
SM
34042013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3405
3406 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3407 at bobp (bug#15826).
3408 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3409
daddb3fd
DH
34102013-11-08 Darren Hoo <darren.hoo@gmail.com>
3411
3412 * man.el (Man-start-calling): New macro, extracted from
3413 Man-getpage-in-background.
3414 (Man-getpage-in-background): Use it.
3415 (Man-update-manpage): New command.
3416 (Man-mode-map): Bind it.
3417
1f923923
DG
34182013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3419
3420 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3421 of "and", "or", "&&" and "||".
3422 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3423 argument. Prohibit opening curly brace because it could only be a
3424 block opener in that position.
daddb3fd
DH
3425 (ruby-smie--forward-token, ruby-smie--backward-token):
3426 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3427 arguments.
3428 (ruby-smie--indent-to-stmt): New function, seeks the end of
3429 previous statement or beginning of buffer.
3430 (ruby-smie-rules): Use it.
3431 (ruby-smie-rules): Check if there's a ":" before a curly block
3432 opener candidate; if there is, it's a hash.
3433
3220d527
SM
34342013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3435
3436 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3437 (cl--block-wrapper): Fix last accidental change.
3438
1eb1f9e0
MA
34392013-11-07 Michael Albinus <michael.albinus@gmx.de>
3440
3441 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3442 Instrument, in order to hunt failure on hydra.
3443
e6e4db3c
NT
34442013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3445
3446 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3447 malformed bindings form (bug#15814).
3448
b420ccfc
DG
34492013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3450
3451 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3452 "." compared to " @ ". This incidentally fixes some indentation
3453 examples with "do".
e6e4db3c 3454 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3455 (ruby-smie-grammar): New tokens: "and" and "or".
3456 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3457 Exclude "and" and "or". Remove "do" in order to work around token
3458 priorities.
3459 (ruby-smie-rules): Add all infix tokens. Handle the case of
3460 beginning-of-buffer.
b420ccfc 3461
6b4ac03e
GM
34622013-11-06 Glenn Morris <rgm@gnu.org>
3463
3464 * Makefile.in (setwins_almost, setwins_for_subdirs):
3465 Avoid accidental matches.
3466
5ca114d1
SM
34672013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3468
3469 * menu-bar.el (popup-menu): Use key-binding.
3470
f72552bd
EZ
34712013-11-06 Eli Zaretskii <eliz@gnu.org>
3472
3473 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3474 menus, support also the menus produced by minor modes.
3475 (Bug#15817)
3476
5d5c701e
LL
34772013-11-06 Leo Liu <sdl.web@gmail.com>
3478
3479 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3480 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3481
0a8b75e2
GM
34822013-11-06 Glenn Morris <rgm@gnu.org>
3483
3484 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3485 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3486 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3487
a35287ea
SM
34882013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3489
feca4e2d
SM
3490 * electric.el (electric-indent-just-newline): New command.
3491 (electric-indent-mode-map): New keymap.
3492 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3493 Re-add :group which weren't redundant.
3494
a35287ea
SM
3495 * electric.el (electric-indent-local-mode): New minor mode.
3496 (electric-indent-functions-without-reindent): New var.
3497 (electric-indent-post-self-insert-function): Use it.
3498 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3499
375761b2
EZ
35002013-11-05 Eli Zaretskii <eliz@gnu.org>
3501
9a6ad735
EZ
3502 * international/quail.el (quail-help): Be more explicit about the
3503 meaning of the labels shown on the keys. (Bug#15800)
3504
375761b2
EZ
3505 * startup.el (normal-top-level): Load the subdirs.el files before
3506 setting the locale environment. (Bug#15805)
3507
520a6e4a
SM
35082013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3509
0acfafef
SM
3510 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3511 via arguments so as to get the right ones (bug#15418).
3512
520a6e4a
SM
3513 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3514
15826261
MA
35152013-11-05 Michael Albinus <michael.albinus@gmx.de>
3516
3517 Fix problems found while writing a test suite.
3518
3519 * net/tramp-compat.el (tramp-compat-load): New defun.
3520 * net/tramp.el (tramp-handle-load): Use it.
3521
3522 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3523 "(numberp ok-if-already-exists)" correctly.
3524
d35f31a4
XF
35252013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3526
3527 * international/characters.el (glyphless-char-display-control):
3528 Add usage note.
3529
ae93bc74
BB
35302013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3531
520a6e4a
SM
3532 * progmodes/python.el (python-mode):
3533 * progmodes/scheme.el (scheme-mode):
3534 * progmodes/prolog.el (prolog-mode):
3535 * progmodes/ruby-mode.el (ruby-mode):
3536 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3537 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3538
0ade65b5
SM
35392013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3540
a0d5f7a4
SM
3541 * rect.el (rectangle--highlight-for-redisplay):
3542 * emacs-lisp/smie.el (smie--next-indent-change):
3543 Use buffer-chars-modified-tick.
3544
c93f3f5c
SM
3545 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3546
0ade65b5
SM
3547 * electric.el (electric-indent-post-self-insert-function):
3548 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3549
ef9dd188
HE
35502013-11-04 Helmut Eller <eller.helmut@gmail.com>
3551
3552 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3553
306e7308
NT
35542013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3555
3556 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3557 (bug#15786).
3558
e5afbcac
SM
35592013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3560
1d01ad41
SM
3561 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3562
e5afbcac
SM
3563 * progmodes/python.el: Fix up last change.
3564 (python-shell--save-temp-file): New function.
3565 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3566 `string' comes from the current buffer.
3567 (python-shell-send-string-no-output): Remove `msg' arg.
3568 (python--use-fake-loc): New var.
3569 (python-shell-buffer-substring): Obey it. Try to compensate for the
3570 extra coding line added by python-shell--save-temp-file.
3571 (python-shell-send-region): Use python-shell--save-temp-file and
3572 python-shell-send-file directly. Add `nomain' argument.
3573 (python-shell-send-buffer): Use python-shell-send-region.
3574 (python-electric-pair-string-delimiter): New function.
3575 (python-mode): Use it.
3576
d0065ff1
EZ
35772013-11-04 Eli Zaretskii <eliz@gnu.org>
3578
3579 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3580 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3581 environment and decoding all of the default-directory's to here
3582 from command-line.
3583 (command-line): Decode also argv[0].
3584
3585 * loadup.el: Error out if default-directory is a multibyte string
3586 when we are dumping.
3587
3588 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3589
7397c587
TZ
35902013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3591
3592 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3593 (package-menu--print-info, package-menu--archive-predicate):
3594 Add Archive column to package list.
7397c587 3595
b27cc9fc
MA
35962013-11-04 Michael Albinus <michael.albinus@gmx.de>
3597
3598 Fix problems found while writing a test suite.
3599
3600 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3601 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3602 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3603 to nil when running original file name handler. Otherwise,
3604 there are problems with constructs like "$$FOO".
3605
3606 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3607 for `localname'.
3608
d8c4f18a
BB
36092013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3610
7b530552
BB
3611 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3612
3613 * subr.el (version<, version<=, version=):
3614 Update docstrings with information for snapshot versions.
3615
d8c4f18a
BB
3616 * helpers.el: New library for misc helper functions.
3617 (hash-table-keys): New function returning a list of hash keys.
3618 (hash-table-values): New function returning a list of hash values.
3619
dca01b09
DG
36202013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3621
3622 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3623 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3624
0a749fa0
MN
36252013-11-04 Michal Nazarewicz <mina86@mina86.com>
3626
3627 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3628 checking whether point is after a 1-letter word.
3629
36302013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3631
3632 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3633 Don't infloop when expanding region over `multiline' syntax-type that
3634 begins a line (bug#15778).
3635
4aca7145
SM
36362013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3637
3638 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3639 Make it into a proper minor mode.
3640 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3641 (rectangle-mark-mode-map): New keymap.
3642 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3643
a0833f62
GM
36442013-11-04 Glenn Morris <rgm@gnu.org>
3645
3646 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3647
e61845c1
SM
36482013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3649
3650 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3651 (ruby-smie-rules): Use smie-rule-parent instead.
3652
3653 * emacs-lisp/smie.el (smie-rule-parent): Always call
3654 smie-indent-virtual rather than only for hanging tokens.
3655 (smie--next-indent-change): New helper command.
3656
62942f89
GM
36572013-11-03 Glenn Morris <rgm@gnu.org>
3658
3659 * Makefile.in (abs_srcdir): Remove.
3660 (emacs): Unset EMACSLOADPATH.
3661
b0b9e592
GM
36622013-11-02 Glenn Morris <rgm@gnu.org>
3663
18ba6a33 3664 * Makefile.in (EMACS): Use a relative filename.
8061810d 3665 (abs_top_builddir): Remove.
18ba6a33
GM
3666 (custom-deps, finder-data, autoloads): Use --chdir.
3667
6a8b929e
GM
3668 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3669
c617f3d0
GM
3670 Use relative filenames in TAGS files.
3671 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3672 (lisptagsfiles4, TAGS): Use relative file names.
3673 (TAGS-LISP): Remove.
3674 (maintainer-clean): No more TAGS-LISP file.
3675
b0b9e592
GM
3676 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3677 (lisptagsfiles4): Use absolute filenames again.
3678 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3679 Remove all *loaddefs files, not just the first. Remove esh-groups.
3680 (maintainer-clean): Delete TAGS, TAGS-LISP.
3681
d1c0ea6a
BB
36822013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3683
e61845c1
SM
3684 * emacs-lisp/package.el (package-version-join):
3685 Recognize snapshot versions.
d1c0ea6a 3686
684d71c6
BB
36872013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3688
3689 * subr.el (version-regexp-alist): Add support for snapshot versions.
3690
3d42b968
DG
36912013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3692
e61845c1
SM
3693 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3694 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3695 skip over our direct parent if it's an assignment token..
3696 (ruby-smie-rules): Use it.
3697
7ffd3721
DG
36982013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3699
8449dd1f 3700 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3701 unconditionally. Remove now unnecessary forward declarations.
3702 Remove XEmacs-specific setup.
3703 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3704 (ruby-font-lock-syntactic-keywords)
3705 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3706 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3707 (ruby-here-doc-end-syntax): Remove.
3708 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3709 defined as function.
3710
a3996a2e
BB
37112013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3712
3713 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3714
6f9260e8
BB
37152013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3716
3717 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3718 table and abbrev table, `define-derived-mode' does that for us
3719 anyway.
3720
6014de84
GM
37212013-11-01 Glenn Morris <rgm@gnu.org>
3722
3723 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3724 files is atomic for some time, so no parallel compilation issues).
3725
3c334c14
JD
37262013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3727
3728 * faces.el (face-x-resources): Add :distant-foreground.
3729 (region): Use :distant-foreground for gtk and ns.
3730
9bc236c8
TH
37312013-11-01 Tassilo Horn <tsdh@gnu.org>
3732
5246583b 3733 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3734 BibTeX.
3735 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3736 (reftex-locate-bibliography-files): Us it.
3737
d14c81ee
CB
37382013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3739
0e7690de
CB
3740 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3741 allow comments in pbm files.
3742
d14c81ee
CB
3743 * term/w32-win.el (dynamic-library-alist): Support newer versions
3744 of libjpeg starting with v7: look only for the DLL from the
3745 version against which Emacs was built.
ac1bf374 3746 Support versions of libpng beyond 1.4.x.
019c8218 3747 Support libtiff v4.x.
d14c81ee 3748
983d0df5
BB
37492013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3750
3751 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3752 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3753 Add property :safe.
3754 (ruby-deep-arglist): Add property :type.
3755
47f58d85
GM
37562013-10-31 Glenn Morris <rgm@gnu.org>
3757
3758 * Makefile.in (custom-deps, finder-data): No need to setq the target
3759 variables, we are in the right directory and the defaults work fine.
3760
4f85b479
GM
37612013-10-30 Glenn Morris <rgm@gnu.org>
3762
ca7dd4cd
GM
3763 * Makefile.in (autoloads): Do not use abs_lisp.
3764
4f85b479
GM
3765 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3766 `newline' does not respect `standard-output', so use `princ'.
3767
cf59e41c
AA
37682013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3769
3770 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3771 * buff-menu.el (Buffer-menu--unmark): New function.
3772 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3773
74cf04fb
GM
37742013-10-30 Glenn Morris <rgm@gnu.org>
3775
b040b60e
GM
3776 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3777
f53d3815
GM
3778 * emacs-lisp/package.el (lm-homepage): Declare.
3779
5413d873
GM
3780 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3781 Fix doc typos.
3782
cecedb36
GM
3783 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3784
74cf04fb
GM
3785 * Makefile.in (finder-data, autoloads, update-subdirs)
3786 (compile-main, compile-clean, compile-always, bootstrap-clean):
3787 Check return value of cd.
3788 (compile-calc): Remove.
3789
195ee2f0
SM
37902013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3791
ae4002ce
SM
3792 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3793
3794 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3795 (byte-compile-and-folded): New function.
3796 (=, <, >, <=, >=): Use it.
3797
3798 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3799 (path-separator, null-device, buffer-file-coding-system)
3800 (lpr-headers-switches): Check system-type before modifying them.
3801 (find-buffer-file-type-coding-system): Mark obsolete.
3802 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3803 find-file-not-found-set-buffer-file-coding-system.
3804 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3805 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3806 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3807 (w32-direct-print-region-helper, w32-direct-print-region-function)
3808 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3809 * startup.el (normal-top-level-add-subdirs-to-load-path):
3810 * ps-print.el (ps-print-region-function):
3811 * lpr.el (print-region-function): Use new name.
3812
53b39e89
SM
3813 * subr.el (custom-declare-variable-early): Remove function.
3814 (custom-declare-variable-list): Remove var.
3815 (error, user-error): Remove `while' loop.
3816 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3817 (user-emacs-directory-warning, locate-user-emacs-file):
3818 Move to files.el.
3819 * simple.el (read-quoted-char-radix, read-quoted-char):
3820 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3821 Move from subr.el.
3822 * custom.el (custom-declare-variable-list): Don't process
3823 custom-declare-variable-list.
3824
195ee2f0
SM
3825 * progmodes/python.el (python-shell-get-buffer): New function.
3826 (python-shell-get-process): Use it.
3827 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3828 Python which encoding was used. Don't split-string since we only care
3829 about the first line. Return the temp-file, if applicable.
3830 (python-shell-send-region): Tell compile.el how to turn locations in
3831 the temp-file into locations in the source buffer.
3832
7e3561ee
SM
38332013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3834
4c9797cb
SM
3835 * subr.el (undefined): Add missing behavior from the C code for
3836 unbound keys.
3837
3472b6c6
SM
3838 * rect.el: Use lexical-binding. Add new rectangular region support.
3839 (rectangle-mark): New command.
3840 (rectangle--region): New var.
3841 (deactivate-mark-hook): Reset rectangle--region.
3842 (rectangle--extract-region, rectangle--insert-for-yank)
3843 (rectangle--highlight-for-redisplay)
3844 (rectangle--unhighlight-for-redisplay): New functions.
3845 (region-extract-function, redisplay-unhighlight-region-function)
3846 (redisplay-highlight-region-function): Use them to handle
3847 rectangular region.
3848 * simple.el (region-extract-function): New var.
3849 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3850 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3851 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3852 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3853 (redisplay-unhighlight-region-function)
3854 (redisplay-highlight-region-function): New vars.
3855 (redisplay--update-region-highlight): New function.
3856 (pre-redisplay-function): Use it.
3857 (exchange-point-and-mark): Don't deactivate the mark before
3858 reactivate-it anyway.
3859 * comint.el (comint-kill-region): Remove yank-handler argument.
3860 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3861 (delete-char): Remove property, since it's now part of their
3862 default behavior.
3863 (self-insert-iso): Remove property since this command doesn't exist.
3864
7e3561ee
SM
3865 * emacs-lisp/package.el (package--download-one-archive)
3866 (describe-package-1): Don't query the user about final newline.
3867
b9bef71f
DC
38682013-10-29 Daniel Colascione <dancol@dancol.org>
3869
3870 * net/tramp.el (tramp-methods): Document new functionality.
3871 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3872 tramp-hostname-checker if method provides one instead of scanning
3873 argument list for "%h" to decide hostname acceptability.
3874
4efc33f0
MA
38752013-10-28 Michael Albinus <michael.albinus@gmx.de>
3876
3877 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3878 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3879 Handle COPY-CONTENTS. (Bug#15737)
3880
ed42a877
DU
38812013-10-28 Daiki Ueno <ueno@gnu.org>
3882
3883 * epa-file.el
7e3561ee
SM
3884 (epa-file-cache-passphrase-for-symmetric-encryption):
3885 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3886
18c9f8a2
XF
38872013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3888
7a4bc7be
XF
3889 * image.el (defimage):
3890 (image-load-path): Doc fixes.
18c9f8a2 3891
b1e8e010
AM
38922013-10-27 Alan Mackenzie <acm@muc.de>
3893
3894 Indent statements in macros following "##" correctly.
7e3561ee
SM
3895 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3896 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3897
73d40d1e 38982013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3899
3900 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3901
c8c605ac
DG
39022013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3903
3904 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3905 after `=' is probably a new expression.
3906
ca7e59d4
RS
39072013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3908
3909 * man.el (man-imenu-title): New option.
3910 (Man-mode-map): Add menu. (Bug#15722)
3911 (Man-mode): Add imenu to menu.
3912
bae91342
DG
39132013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3914
3915 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3916 specific in what the first arg can be: a non-keyword word,
3917 string/regexp/percent literal opener, opening paren, or unary
3918 operator followed directly by word.
3919
eb89dc14
SM
39202013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3921
3922 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3923 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3924 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3925 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3926 Remove vars, they do not apply any more.
3927 (prolog-mode-abbrev-table): Remove redundant declaration.
3928 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3929 (prolog-use-smie): Remove.
3930 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3931 supported by prolog-electric-if-then-else-flag.
3932 (prolog-mode-variables, prolog-menu): Use setq-local.
3933 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3934 Remove binding to `Backspace' since this key doesn't exist anyway.
3935 Remove bindings for electric self-inserting keys.
3936 (prog-mode): Assume it's defined.
3937 (prolog-post-self-insert): New function.
3938 (prolog-mode): Use it.
3939 (prolog-indent-line, prolog-indent-level)
3940 (prolog-find-indent-of-matching-paren)
3941 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3942 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3943 (prolog-goto-next-paren, prolog-in-string-or-comment)
3944 (prolog-tokenize, prolog-inside-mline-comment)
3945 (prolog-find-start-of-mline-comment): Remove functions.
3946 (prolog-find-unmatched-paren, prolog-clause-end)
3947 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3948 (prolog-electric--if-then-else): Rename from
3949 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3950 (prolog-tokenize-searchkey): Remove const.
3951 (prolog-clause-info): Use forward-sexp.
3952 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3953 (prolog-electric-if-then-else): Remove commands.
3954 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3955 for use in post-self-insert-hook.
3956 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3957 for use in post-self-insert-hook.
3958 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3959 for use in post-self-insert-hook.
3960 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3961 adapt it for use in post-self-insert-hook.
3962
3dab0a83
MA
39632013-10-25 Michael Albinus <michael.albinus@gmx.de>
3964
3965 * emacs-lisp/ert.el (ert-run-tests-interactively):
3966 Use `completing-read'. (Bug#9756)
3967
fbfd0e1d
EZ
39682013-10-25 Eli Zaretskii <eliz@gnu.org>
3969
3970 * simple.el (line-move): Call line-move-1 instead of
3971 line-move-visual when the current window hscroll is zero, but
3972 temporary-goal-column indicates we will need to hscroll as result
3973 of the movement. (Bug#15712)
3974
963ce636
DG
39752013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3976
3977 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3978 capitalization. Use :visible instead of :active.
3979 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3980 commands that are used with SMIE.
3981 (ruby-do-end-to-brace): Insert space after `{'.
3982
a0be396a
JA
39832013-10-25 John Anthony <john@jo.hnanthony.com>
3984
f73754c9
JA
3985 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3986
3987 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3988
f5bf77df
GM
39892013-10-25 Glenn Morris <rgm@gnu.org>
3990
3991 * vc/vc.el (vc-print-log): Don't use a working revision unless
3992 one was explicitly specified. (Bug#15322)
3993
37241f62
SM
39942013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * subr.el (add-to-list): Preserve return value in compiler-macro
3997 (bug#15692).
3998
6408a65d
RS
39992013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4000
4001 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4002 result. Ask user to retry using '-all' flag. (Bug#15701)
4003
71e3276b
SM
40042013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 * emacs-lisp/smie.el: New smie-config system.
4007 (smie-config): New defcustom.
4008 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4009 (smie-config-guess, smie-config-save): New commands.
4010 (smie-config--mode-local, smie-config--buffer-local)
4011 (smie-config--trace, smie-config--modefuns): New vars.
4012 (smie-config--advice, smie-config--mode-hook)
4013 (smie-config--setter, smie-config-local, smie-config--get-trace)
4014 (smie-config--guess-value, smie-config--guess): New functions.
4015 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4016 text properties. Treat "string fence" syntax like string syntax.
4017
4018 * progmodes/sh-script.el (sh-use-smie): Change default.
4019 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4020 (sh-var-value): Simplify by CSE.
4021 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4022 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4023 is used.
4024 (sh-guess-basic-offset): Use cl-incf.
4025 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4026
60db713e
HE
40272013-10-24 Helmut Eller <eller.helmut@gmail.com>
4028
4029 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4030 (bug#15699).
4031
8b251df6
GM
40322013-10-24 Glenn Morris <rgm@gnu.org>
4033
4034 * Makefile.in (abs_top_srcdir): Remove.
4035 (update-subdirs): Use relative path to update-subdirs.
4036
6be0e22b
EZ
40372013-10-24 Eli Zaretskii <eliz@gnu.org>
4038
4039 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4040 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
4041 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4042 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 4043
50b5b857
MA
40442013-10-24 Michael Albinus <michael.albinus@gmx.de>
4045
4046 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4047 (ert-test-skipped): New error.
4048 (ert-skip, ert-stats-skipped): New defuns.
4049 (ert--skip-unless): New macro.
4050 (ert-test-skipped): New struct.
4051 (ert--run-test-debugger, ert-test-result-type-p)
4052 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4053 (ert--stats-set-test-and-result, ert-char-for-test-result)
4054 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 4055 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 4056 Handle skipped tests. (Bug#9803)
50b5b857 4057
6f317c2f
GM
40582013-10-24 Glenn Morris <rgm@gnu.org>
4059
e43817c1
GM
4060 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4061
6f317c2f
GM
4062 * Makefile.in (abs_top_srcdir): New, set by configure.
4063 (update-subdirs): Correct build-aux location.
4064
369bbf71
DG
40652013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4066
8297b2cf
DG
4067 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4068 value, whether we could auto-deduce `backend', or not.
4069
369bbf71
DG
4070 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4071 with parameters" example. Simplify the "is it block or is it
4072 hash" check, but also make it more thorough.
4073
d5f1282f
MF
40742013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4075
4076 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4077
bc4aaa31
SM
40782013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4079
03d44565
SM
4080 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4081 { if it is hanging.
4082
bc4aaa31
SM
4083 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4084 :before ";".
4085
f493ff19
JB
40862013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4087
4088 * progmodes/compile.el (compilation-directory-matcher)
4089 (compilation-page-delimiter):
4090 Support GNU Make-4.0 directory quoting. (Bug#15678)
4091
c744a3b9
LL
40922013-10-23 Leo Liu <sdl.web@gmail.com>
4093
4094 * ido.el (ido-tidy): Handle read-only text.
4095
b8e3b0a9
GM
40962013-10-23 Glenn Morris <rgm@gnu.org>
4097
4098 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4099 (emacs, compile, compile-always):
4100 Quote entities that might contain whitespace.
4101 (custom-deps, finder-data, autoloads): Use abs_lisp.
4102 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4103 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4104 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4105
ee4282cd
DG
41062013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4107
bc4aaa31
SM
4108 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4109 Use `following-char'.
7790a270 4110
ee4282cd 41112013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
4112
4113 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4114 * progmodes/ruby-mode.el (ruby-smie-rules):
4115 Remove corresponding workaround. Fix indentation rule of ";" so it
4116 also applies when ";" is the parent.
4117
d40a46d7
XF
41182013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4119
4120 * frame.el (display-screens, display-pixel-height)
4121 (display-pixel-width, display-mm-width, display-backing-store)
4122 (display-save-under, display-planes, display-color-cells)
7790a270
SM
4123 (display-visual-class, display-monitor-attributes-list):
4124 Mention the optional ‘display’ argument in doc strings.
d40a46d7 4125
a0f143c9
MG
41262013-10-22 Michael Gauland <mikelygee@amuri.net>
4127
4128 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4129 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4130
18cacc39
DG
41312013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4132
4133 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4134 TODO. Add "." after " @ ".
4135 (ruby-smie--at-dot-call): New function. Checks if point at method
4136 call with explicit target.
4137 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4138 to the method name tokens when it precedes them.
4139 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4140 (ruby-smie-rules): Add rule for indentation before and after "."
4141 token.
4142
df74c4be
SM
41432013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4144
c6dab55f
SM
4145 * textmodes/remember.el (remember-diary-extract-entries):
4146 Avoid add-to-list.
4147
df74c4be
SM
4148 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4149 an instruction.
4150
8c1ae481
DG
41512013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4152
e9dc713d
JB
4153 * progmodes/ruby-mode.el (ruby-smie-grammar):
4154 Add (almost) all infix operators.
cfef16c0
DG
4155 (ruby-smie--implicit-semi-p): Add new operator chars.
4156
8c1ae481
DG
4157 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4158 `smie-down-list'.
4159 (ruby-smie--args-separator-p): Check that there's no newline
4160 between method call and its arguments.
4161
87756ca9
AM
41622013-10-20 Alan Mackenzie <acm@muc.de>
4163
4164 Allow comma separated lists after Java "implements".
4165
df74c4be
SM
4166 * progmodes/cc-engine.el (c-backward-over-enum-header):
4167 Parse commas.
87756ca9
AM
4168 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4169 from a "disallowed" list in enum fontification.
4170
c25f8957
JB
41712013-10-20 Johan Bockgård <bojohan@gnu.org>
4172
df74c4be 4173 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 4174
c25f8957
JB
4175 * progmodes/verilog-mode.el (verilog-mode): Don't set
4176 comment-indent-function globally.
4177
aca5fcdc
JD
41782013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4179
5f161884
JD
4180 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4181 Move Info menu item creation to ns-win.el.
4182
4183 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4184 in menu bar.
4185
a6c4680a 4186 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
4187
4188 * term/ns-win.el (ns-initialize-window-system): ... to here.
4189
914b7f98
SM
41902013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * simple.el (newline): Only run post-self-insert-hook when
4193 called interactively.
4194
846ffe77
JB
41952013-10-19 Johan Bockgård <bojohan@gnu.org>
4196
4197 * icomplete.el (icomplete-with-completion-tables): Add :version.
4198
033f22dd
AM
41992013-10-19 Alan Mackenzie <acm@muc.de>
4200
4201 Fix fontification bugs with constructors and const.
4202
4203 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4204 CASE 2) Remove the check for the absence of a suffix construct
4205 after a function declaration with only types (no identifiers) in
4206 the parentheses. Also, accept a function declaration with just a
4207 type inside the parentheses, if this type can be positively
4208 recognised as such, or if a prefix keyword like "explicit" nails
4209 down the construct as a declaration.
4210
58ce0cfc
EZ
42112013-10-19 Eli Zaretskii <eliz@gnu.org>
4212
4213 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4214 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4215 the problem whereby selecting a menu item that leads to a
4216 minibuffer prompt moves the cursor out of the minibuffer window,
4217 making it hard to type at the prompt. Suggested by Stefan Monnier
4218 <monnier@iro.umontreal.ca>.
4219
50e28e7d
JD
42202013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4221
4222 * menu-bar.el: Don't make Services menu.
4223
7deed4bf
RS
42242013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4225
4226 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4227 (ffap-alist): Use ffap-c++-mode for c++-mode.
4228 (ffap-c++-path): New variable.
4229 (ffap-c++-mode): New function.
4230
7bcb455b
JVJ
42312013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4232
4233 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4234
f0ff1cd5
MA
42352013-10-18 Michael Albinus <michael.albinus@gmx.de>
4236
4237 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4238 introduced on 2013-09-08, which results in an infinite loop
4239 requesting a password.
4240
d64da4b7
GM
42412013-10-18 Glenn Morris <rgm@gnu.org>
4242
4243 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4244
ea89ff08
WS
42452013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4246
4247 Sync with upstream verilog-mode revision 1a6ecec7.
4248 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4249 (verilog-mode-release-date): Remove.
4250 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4251 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4252 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4253 (verilog-auto-tieoff-ignore-regexp)
4254 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4255 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4256 (verilog-signals-with, verilog-dir-cache-preserving)
4257 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4258 Doc fixes.
4259 (verilog-case-fold): New option, to control case folding in
4260 regexp searches, bug597.
4261 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4262 (verilog-string-match-fold, verilog-in-paren-count)
4263 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4264 (verilog-at-close-struct-p): New functions.
4265 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4266 (verilog-forward-sexp, verilog-set-auto-endcomments):
4267 (verilog-leap-to-case-head): Handle "unique0" case.
4268 (verilog-in-constraint-re): New constant.
4269 (verilog-keywords, verilog-type-font-keywords):
4270 Add some SystemVerilog 1800-2012 keywords.
4271 (verilog-label-be): Remove unimplemented argument, bug669.
4272 (verilog-batch-execute-func): When batch expanding clear
4273 create-lockfiles to prevent spurious user locks when a file ends
4274 up not changing.
4275 (verilog-calculate-indent, verilog-calc-1)
4276 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4277 (verilog-do-indent): Fix indentation of nested constraints
4278 and structures.
4279 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4280 (verilog-auto-inst-param): Use verilog-string-match-fold.
4281 (verilog-read-inst-module-matcher):
4282 Fix AUTOINST on gate primitives with #1.
4283 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4284 Reads all user-defined typed variables.
4285 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4286 (verilog-signals-matching-regexp)
4287 (verilog-signals-not-matching-regexp, verilog-auto):
4288 Respect verilog-case-fold.
4289 (verilog-diff-report): Fix line count.
4290 (verilog-auto-assign-modport): Remove unused local `modi'.
4291 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4292 better handle multidimensional arrays.
4293 Fix packed array ports misadding bit index in AUTOINST, bug637.
4294 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4295 to not double-declare existing outputs and inputs, respectively.
4296 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4297 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4298 (verilog-sk-uvm-component): New skeleton.
4299 (verilog-submit-bug-report): Add verilog-case-fold,
4300 remove verilog-mode-release-date.
4301
ef566920
BR
43022013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4303
a12bf61e 4304 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4305 as before.
4306
29df8a0b
RT
43072013-10-18 Reuben Thomas <rrt@sc3d.org>
4308
e0eb0550 4309 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4310 remember buffers (bug#13566).
4311
04a19a79
DC
43122013-10-18 Daniel Colascione <dancol@dancol.org>
4313
4314 When evaluating forms in ielm, direct standard output to ielm
4315 buffer. Add new ielm-return-for-effect command. Remove trailing
4316 whitespace throughout.
4317
4318 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4319 (ielm-return-for-effect): New command.
4320 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4321 (ielm-eval-input): Accept optional `for-effect' parameter.
4322 Bind `standard-output' to stream we create using
04a19a79
DC
4323 `ielm-standard-output-impl'. Suppress printing result when
4324 `for-effect'.
4325 (ielm-standard-output-impl): New function.
4326 (inferior-emacs-lisp-mode): Explain new features in documentation.
4327
4c1f03ef
MA
43282013-10-17 Michael Albinus <michael.albinus@gmx.de>
4329
4330 Code cleanup.
4331
4332 * net/tramp.el (tramp-debug-message): Do not check for connection
4333 buffer.
4334 (tramp-message): Use "vector" connection property.
4335
4336 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4337 (tramp-equal-remote, tramp-eshell-directory-change)
4338 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4339 (tramp-adb-handle-rename-file)
4340 * net/tramp-cmds.el (tramp-list-remote-buffers)
4341 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4342 * net/tramp-compat.el (tramp-compat-process-running-p)
4343 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4344 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4345 (tramp-gvfs-handle-rename-file)
4346 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4347 (tramp-set-file-uid-gid)
4348 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4349 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4350 of `file-remote-p'.
4351
4352 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4353 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4354 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4355 (tramp-gw-open-network-stream): Suppress unrelated traces.
4356
4357 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4358 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4359 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4360 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4361 connection property.
4362
4363 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4364 persistency file.
4c1f03ef
MA
4365
4366 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4367 Refactor common code. Improve debug message.
4368 (tramp-maybe-open-connection)
4369 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4370 connection buffer too early.
4371
4372 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4373 from `tramp-smb-actions-with-acl'.
4374 (tramp-smb-actions-set-acl): New defconst.
4375 (tramp-smb-handle-copy-directory)
4376 (tramp-smb-action-get-acl): New defun, renamed from
4377 `tramp-smb-action-with-acl'.
4378 (tramp-smb-action-set-acl): New defun.
4379 (tramp-smb-handle-set-file-acl): Rewrite.
4380
642eb8b6
GM
43812013-10-17 Glenn Morris <rgm@gnu.org>
4382
4383 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4384
85527ff3
SM
43852013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4386
921c1d62
SM
4387 * skeleton.el (skeleton-newline): Remove.
4388 (skeleton-internal-1): Use (insert "\n") instead.
4389
e333fb10
SM
4390 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4391 let-bindings.
4392
85527ff3
SM
4393 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4394 forward-sexp-function while we redo its job (bug#15613).
4395
c8722a97
JB
43962013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4397
4398 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4399 represented by lists.
4400
7a550bbb
GM
44012013-10-16 Glenn Morris <rgm@gnu.org>
4402
4403 * tmm.el (tmm--history): New dynamic variable.
4404 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4405
f19da8ad
MA
44062013-10-16 Michael Albinus <michael.albinus@gmx.de>
4407
4408 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4409 (tramp-smb-errors): Add error messages.
4410 (tramp-smb-actions-with-acl): New defconst.
4411 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4412 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4413 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4414 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4415 (tramp-smb-get-stat-capability): Fix tests.
4416
a24b9961
DK
44172013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4418
4419 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4420 (bug#15580).
4421
62ad85e6
GM
44222013-10-16 Glenn Morris <rgm@gnu.org>
4423
0283d6b0
GM
4424 * ansi-color.el (ansi-color-drop-regexp):
4425 Add 1J, 1K, 2K. (Bug#15617)
4426
012e2f9f
GM
4427 * files.el (hack-local-variables--warned-lexical): New.
4428 (hack-local-variables):
4429 Warn about misplaced lexical-binding. (Bug#15616)
4430
62ad85e6
GM
4431 * net/eww.el (eww-render): Always set eww-current-url,
4432 and update header line. (Bug#15622)
4433 (eww-display-html): ... Rather than just doing it here.
4434
6456c0ea
EZ
44352013-10-15 Eli Zaretskii <eliz@gnu.org>
4436
4437 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4438 menu navigations commands.
4439
c2de5588
DK
44402013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4441
4442 * progmodes/subword.el (subword-capitalize): Be careful when
4443 the search for [[:alpha:]] fails (bug#15580).
4444
ccd4a783
EZ
44452013-10-14 Eli Zaretskii <eliz@gnu.org>
4446
4447 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4448 to commands that scroll the menu.
4449
1eda1d8d
DG
44502013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4451
c2de5588
DK
4452 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4453 Handle methods ending with `?' and `!'.
1eda1d8d 4454
e70181b8
AM
44552013-10-14 Akinori MUSHA <knu@iDaemons.org>
4456
4457 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4458 `japanese-cp932' to `cp932' to fix the problem where saving a
4459 source file written in Shift_JIS twice would end up having
4460 `coding: japanese-cp932' which Ruby could not recognize.
4461 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4462 in `ruby-encoding-map'.
4463 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4464 doesn't need to be explicitly declared in magic comment.
4465 (ruby-encoding-map): Add type declaration for better customize UI.
4466
9148ee92
GM
44672013-10-13 Glenn Morris <rgm@gnu.org>
4468
a5d38e34
GM
4469 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4470 Occur buffers are read-only. http://bugs.debian.org/720775
4471
9148ee92
GM
4472 * emacs-lisp/authors.el (authors-fixed-entries):
4473 Comment out old alpha stuff.
4474
a9ba094b
DG
44752013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4476
4477 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4478 to `after-save-hook' instead of `before-save-hook'.
4479 (ruby-mode-set-encoding): Use the value of coding system used to
4480 write the file. Call `basic-save-buffer-1' after modifying the
4481 buffer.
4482
7a068717
AM
44832013-10-13 Alan Mackenzie <acm@muc.de>
4484
4485 Fix indentation/fontification of Java enum with
4486 "implements"/generic.
4487
c2de5588
DK
4488 * progmodes/cc-engine.el (c-backward-over-enum-header):
4489 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4490 (c-inside-bracelist-p): Uses new function above.
4491 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4492 function above.
4493 (c-font-lock-enum-tail): Uses new function above.
4494
85b64f02
KH
44952013-10-13 Kenichi Handa <handa@gnu.org>
4496
4497 * international/mule-cmds.el (select-safe-coding-system): Remove a
4498 superfluous condition in chekcing whether a coding system is safe
4499 or not.
4500
fc7f501b
OK
45012013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4502
4503 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4504
fdcb2049
AP
45052013-10-13 Andreas Politz <politza@hochschule-trier.de>
4506
4507 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4508
8c106d17
GM
45092013-10-13 Glenn Morris <rgm@gnu.org>
4510
feab892d
GM
4511 * menu-bar.el (menu-bar-update-buffers):
4512 Unify Buffers menu prompt string. (Bug#15576)
4513
b22d0686
GM
4514 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4515
8c106d17
GM
4516 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4517 Add some entries.
4518 (authors-fixed-entries): Use accented form of name.
4519
1b12c797
SM
45202013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4521
650fa7bf 4522 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4523 method calls (bug#15594).
650fa7bf
SM
4524 (ruby-smie--args-separator-p): New function.
4525 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4526 recognize paren-free method calls.
4527
1b12c797
SM
4528 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4529 internals of universal-argument.
4530
029619c8
EZ
45312013-10-11 Eli Zaretskii <eliz@gnu.org>
4532
4533 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4534 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4535 dropped menu on second mouse click on the menu bar.
029619c8 4536
dd070019
SM
45372013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4538
4539 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4540 (explicit-shell-file-name): Declare.
4541 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4542 (sh-completion-at-point-function): New function.
4543 (sh-mode): Use it.
4544 (sh-smie--keyword-p): Remove unused argument.
4545 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4546 vars.
4547 (sh-set-shell): Always setup SMIE, even if we use the
4548 old indentation code.
4549
0922b826
DG
45502013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4551
b68e2926
DG
4552 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4553 cases of ? and =.
4554 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4555 predicate would return nil are almost non-existent.
4556 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4557
0922b826
DG
4558 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4559 cache also after commands that modify the buffer but don't move
4560 point.
4561
ee041f2d
SM
45622013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4563
4564 * env.el (substitute-env-in-file-name): New function.
4565 (substitute-env-vars): Extend the meaning of the optional arg.
4566
a5dab159
EZ
45672013-10-10 Eli Zaretskii <eliz@gnu.org>
4568
4569 * term/w32-win.el (dynamic-library-alist): Define separate lists
4570 of GIF DLLs for versions before and after 5.0.0 of giflib.
4571 (Bug#15531)
4572
0449d6cd 45732013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4574
4575 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4576 not locked, use last revision and current source as
4577 defaults. (Bug#15569)
4578
2f6e161e
MY
45792013-10-10 Masatake YAMATO <yamato@redhat.com>
4580
4581 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4582 menu-bar is hidden.
4583
6c8413fc
MR
45842013-10-10 Martin Rudalics <rudalics@gmx.at>
4585
4586 * window.el (pop-to-buffer-same-window): Fix doc-string.
4587 (Bug#15492)
4588
20832de0
SM
45892013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4592
c6e8ae77
AC
45932013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4594
4595 * calendar/icalendar.el (icalendar-import-file):
4596 Fix interactive spec. (Bug#15482)
4597
9db13baf
GM
45982013-10-10 Glenn Morris <rgm@gnu.org>
4599
9271e90e
GM
4600 * desktop.el (desktop-save): Default to saving in .emacs.d,
4601 since PWD is no longer in desktop-path by default. (Bug#15319)
4602
9db13baf
GM
4603 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4604 now that text mode has a menu with the same entry.
4605 (menu-bar-text-mode-auto-fill): Remove now unused func.
4606 * textmodes/text-mode.el (text-mode-map):
4607 Use auto-fill help text from menu-bar.el.
4608
a0be396a 46092013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4610
4611 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4612
2edcd3c7
JL
46132013-10-09 Juri Linkov <juri@jurta.org>
4614
4615 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4616 instead of this-command-keys. Add universal-argument-more and
4617 universal-argument-minus to the list of prefix commands. (Bug#15568)
4618
574411d0
GM
46192013-10-09 Glenn Morris <rgm@gnu.org>
4620
14afa541
GM
4621 * vc/vc-svn.el (vc-svn-create-repo):
4622 Expand paths in file://... url. (Bug#15446)
4623
574411d0
GM
4624 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4625 Add some entries.
4626 (authors): Remove unused local variables.
4627
79804536
SM
46282013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4629
4630 * profiler.el: Create a more coherent calltree from partial backtraces.
4631 (profiler-format): Hide the tail with `invisible' so that C-s can still
4632 find the hidden elements.
4633 (profiler-calltree-depth): Don't recurse so enthusiastically.
4634 (profiler-function-equal): New hash-table-test.
4635 (profiler-calltree-build-unified): New function.
4636 (profiler-calltree-build): Use it.
4637 (profiler-report-make-name-part): Indent the calltree less.
4638 (profiler-report-mode): Add visibility specs for profiler-format.
4639 (profiler-report-expand-entry, profiler-report-toggle-entry):
4640 Expand the whole subtree when provided with a prefix arg.
4641
238150c8
DG
46422013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4643
4644 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4645 iuwu-mod token.
4646 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4647 hanging iuwu-mod token.
4648 (ruby-smie--forward-token): Do not include a dot after a token in
4649 that token.
4650 (ruby-smie--backward-token): Likewise.
4651
b0949cc4
JL
46522013-10-08 Juri Linkov <juri@jurta.org>
4653
4654 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4655 to isearch-other-control-char.
4656 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4657 and isearch-post-command-hook to post-command-hook.
4658 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4659 and isearch-post-command-hook from post-command-hook.
4660 (isearch-unread-key-sequence)
4661 (isearch-reread-key-sequence-naturally)
4662 (isearch-lookup-scroll-key, isearch-other-control-char)
4663 (isearch-other-meta-char): Remove functions.
4664 (isearch-pre-command-hook, isearch-post-command-hook):
4665 New functions based on isearch-other-meta-char rewritten
4666 relying on the new behavior of overriding-terminal-local-map
4667 that does not replace the local keymaps any more. (Bug#15200)
4668
4ed77415
EZ
46692013-10-08 Eli Zaretskii <eliz@gnu.org>
4670
4671 Support menus on text-mode terminals.
4672 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4673 functionality.
4674
4675 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4676
c2de5588
DK
4677 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4678 Move here from mouse.el.
4ed77415
EZ
4679 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4680 and arrow keys.
4681 (tty-menu-navigation-map): New map for TTY menu navigation.
4682
4683 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4684
4685 * frame.el (display-mouse-p): Report text-mode mouse as available
4686 on w32.
4687 (display-popup-menus-p): Report availability if mouse is
4688 available; don't condition on window-system.
4689
4690 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4691 (tty-menu-selected-face): New faces.
4692
b7d5bd82
TL
46932013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4694
06286513
SM
4695 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4696 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4697 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4698 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4699 New constants.
4700 (lisp-mode-variables): New `elisp' argument.
4701 (emacs-lisp-mode): Use it.
4702 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4703 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4704
b7d5bd82
TL
4705 * indent.el: Use lexical-binding.
4706 (indent-region): Add progress reporter.
4707 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4708 last step.
4709 (indent--next-tab-stop): New function to implement this behavior.
4710 (tab-to-tab-stop, move-to-tab-stop): Use it.
4711
47122013-10-08 Teemu Likonen <tlikonen@iki.fi>
4713
4714 * indent.el (indent-rigidly--current-indentation): New function.
4715 (indent-rigidly-map): New var.
4716 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4717
5ea75d23
BG
47182013-10-08 Bastien Guerry <bzg@gnu.org>
4719
f2726fa2 4720 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 4721
cc5da1ec
SM
47222013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4723
8ffa1a0b
SM
4724 * progmodes/perl-mode.el: Use lexical-binding.
4725 Remove redundant :group args.
4726 (perl-nochange): Change default to be closer to other major modes's
4727 standard behavior.
4728 (perl-indent-line): Don't consider text on current line as a
4729 valid beginning of function from which to indent.
4730
f2223371
SM
4731 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4732 with more than one argument (bug#15538).
4733
44256060
SM
4734 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4735
cc5da1ec
SM
4736 * vc/pcvs.el: Use lexical-binding.
4737 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4738 environment of `eval'.
4739 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4740 than a list of expressions. Adjust callers.
4741 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4742
0ea1599d
DG
47432013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4744
4745 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4746 case of the dot in a chained method call being on the following line.
0ea1599d 4747
da3e5ebb
SM
47482013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4749
2abb4e65
SM
4750 * electric.el (electric-indent-inhibit): New var.
4751 (electric-indent-post-self-insert-function): Use it.
4752 * progmodes/python.el (python-mode): Set it.
4753
d2e0e795
SM
4754 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4755 open braces.
4756
4757 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4758
bdc6b4c8
SM
4759 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4760 (css-mode): Use electric-indent-chars.
4761
da3e5ebb
SM
4762 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4763 (font-lock-beg, font-lock-end): Move before first use.
4764 (nxml-mode): Use syntax-propertize-function.
4765 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4766 (nxml-extend-after-change-region): Remove.
4767 * nxml/xmltok.el: Use lexical-binding.
4768 (xmltok-save): Use `declare'.
4769 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4770 * nxml/nxml-util.el: Use lexical-binding.
4771 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4772 Use `declare'.
4773 * nxml/nxml-ns.el: Use lexical-binding.
4774 (nxml-ns-save): Use `declare'.
4775 (nxml-ns-prefixes-for): Avoid add-to-list.
4776 * nxml/rng-match.el: Use lexical-binding.
4777 (rng--ipattern): Use cl-defstruct.
4778 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4779 (rng-cons-group-after, rng-subst-group-after)
4780 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4781 Use closures instead of `(lambda...).
4782
f8f91d5d
MA
47832013-10-07 Michael Albinus <michael.albinus@gmx.de>
4784
4785 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4786 of BEG and END.
4787
da3e5ebb
SM
4788 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4789 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4790 (tramp-gvfs-handle-insert-file-contents): Remove function.
4791
da3e5ebb
SM
4792 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4793 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4794
4795 * net/trampver.el: Update release number.
4796
7ccae3b1
SM
47972013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4798
55ca2c0d
SM
4799 * progmodes/compile.el (compilation-parse-errors):
4800 Use compilation--put-prop.
4801 (compilation--ensure-parse): Check compilation-multiline.
4802
731fc3ae
SM
4803 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4804
da3e5ebb
SM
4805 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4806 lexical-binding.
a5833280 4807
2e7ba2c2
SM
4808 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4809
7ccae3b1
SM
4810 * progmodes/ruby-mode.el: Fix recently added tests.
4811 (ruby-smie-grammar): Add - and +.
4812 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4813 (ruby-smie--backward-id): New functions.
4814 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4815 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4816 any more.
4817
85698d63
LL
48182013-10-07 Leo Liu <sdl.web@gmail.com>
4819
4820 * register.el (register-preview-delay)
4821 (register-preview-functions): New variables.
4822 (register-read-with-preview, register-preview)
4823 (register-describe-oneline): New functions.
4824 (point-to-register, window-configuration-to-register)
4825 (frame-configuration-to-register, jump-to-register)
4826 (number-to-register, view-register, insert-register)
4827 (copy-to-register, append-to-register, prepend-to-register)
4828 (copy-rectangle-to-register): Use register-read-with-preview to
4829 read register. (Bug#15525)
4830
3986af6c
DS
48312013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4832
4833 * net/network-stream.el (network-stream-open-starttls): Don't add
4834 --insecure if it's already present, because that gnutls-cli
4835 rejects getting that parameter twice.
4836
5cd9cda9
DG
48372013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4838
4839 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4840 keyword, too.
4841
da9ea6d9
DG
48422013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4843
4844 * newcomment.el (comment-use-global-state): Change default value
4845 to t, mark obsolete (Bug#15251).
4846 (comment-beginning): In addition to `comment-to-syntax', check the
4847 value of `comment-use-global-state'.
4848
34d1a133
SM
48492013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4850
4851 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4852 (ruby-comment-column): Follow the global default, by default.
4853 (ruby-smie-grammar): Add assignment syntax.
4854 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4855 open-paren, a comma, or a \.
4856 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4857 and line continuations.
4858 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4859 followed by implicit semi-colons. Add rule for string concatenation
4860 and for indentation at BOB.
4861 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4862
4863 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4864 calling next-sexp, since next-token may have skipped chars which
4865 next-sexp doesn't know should be skipped!
4866
6f6ab820
LL
48672013-10-05 Leo Liu <sdl.web@gmail.com>
4868
34d1a133
SM
4869 * progmodes/octave.el (octave-send-region):
4870 Call compilation-forget-errors.
6f6ab820 4871
34ca0f4c
XF
48722013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4873
4874 * vc/vc-svn.el (vc-svn-find-admin-dir):
4875 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4876 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4877 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4878 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4879
a27c1b72
SM
48802013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4881
4882 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4883
258ab3bc
SM
48842013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4885
4886 * subr.el (read-passwd): Hide chars even when called within a context
4887 where after-change-functions is disabled (bug#15501).
4888 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4889 until we removed ourself from overriding-terminal-local-map.
4890
939fb29c
LL
48912013-10-04 Leo Liu <sdl.web@gmail.com>
4892
258ab3bc
SM
4893 * progmodes/octave.el (inferior-octave-mode):
4894 Call compilation-forget-errors.
939fb29c 4895
63bd7f35
XF
48962013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4897
4898 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4899
9e6229fa
MA
49002013-10-04 Michael Albinus <michael.albinus@gmx.de>
4901
4902 * net/secrets.el (secrets-create-collection): Add optional
4903 argument ALIAS. Use proper Label keyword. Append ALIAS as
4904 dbus-call-method argument. (Bug#15516)
4905
1dab32a3
LL
49062013-10-04 Leo Liu <sdl.web@gmail.com>
4907
4908 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4909 (inferior-octave-compilation-font-lock-keywords): New variables.
4910 (compilation-error-regexp-alist)
4911 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4912 (inferior-octave-mode): Use compilation-shell-minor-mode.
4913
6cad7ba3
JS
49142013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4915
4916 * minibuffer.el (completion--replace): Be careful that `end' might be
4917 a marker.
4918
acbadd00
DU
49192013-10-03 Daiki Ueno <ueno@gnu.org>
4920
4921 Add support for package signature checking.
4922 * emacs-lisp/package.el (url-http-file-exists-p)
4923 (epg-make-context, epg-context-set-home-directory)
4924 (epg-verify-string, epg-context-result-for)
4925 (epg-signature-status, epg-signature-to-string)
4926 (epg-check-configuration, epg-configuration)
4927 (epg-import-keys-from-file): Declare.
4928 (package-check-signature): New user option.
4929 (package-unsigned-archives): New user option.
4930 (package-desc): Add `signed' field.
4931 (package-load-descriptor): Set `signed' field if .signed file exists.
4932 (package--archive-file-exists-p): New function.
4933 (package--check-signature): New function.
4934 (package-install-from-archive): Check package signature.
4935 (package--download-one-archive): Check archive signature.
4936 (package-delete): Remove .signed file.
4937 (package-import-keyring): New command.
4938 (package-refresh-contents): Import default keyring.
4939 (package-desc-status): Add "unsigned" status.
4940 (describe-package-1, package-menu--print-info)
4941 (package-menu-mark-delete, package-menu--find-upgrades)
4942 (package-menu--status-predicate): Support "unsigned" status.
4943
adf2aa61
SM
49442013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4945
4946 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4947 the new compilation scheme using the new byte-codes.
4948
4949 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4950 (byte-pophandler): New byte codes.
4951 (byte-goto-ops): Adjust accordingly.
4952 (byte-compile--use-old-handlers): New var.
4953 (byte-compile-catch): Use new byte codes depending on
4954 byte-compile--use-old-handlers.
4955 (byte-compile-condition-case--old): Rename from
4956 byte-compile-condition-case.
4957 (byte-compile-condition-case--new): New function.
4958 (byte-compile-condition-case): New function that dispatches depending
4959 on byte-compile--use-old-handlers.
4960 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4961 when we can.
4962
4963 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4964 Optimize under `condition-case' and `catch' if
4965 byte-compile--use-old-handlers is nil.
4966 (disassemble-offset): Handle new bytecodes.
4967
328a8179
SM
49682013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4969
4970 * subr.el (error): Use `declare'.
4971 (decode-char, encode-char): Use advertised-calling-convention instead
4972 of the docstring to discourage use of the `restriction' arg.
4973
15a1e936
DU
49742013-10-03 Daiki Ueno <ueno@gnu.org>
4975
4976 * epg.el (epg-verify-file): Add a comment saying that it does not
4977 notify verification error as a return value nor a signal.
4978 (epg-verify-string): Ditto.
4979
376f862a
KR
49802013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4981
4982 * progmodes/compile.el (compilation-start): Try globbing the arg to
4983 `cd' (bug#15417).
4984
a2f93a5f
MA
49852013-10-02 Michael Albinus <michael.albinus@gmx.de>
4986
4987 Sync with Tramp 2.2.8.
4988
4989 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4990 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4991 * net/trampver.el: Update release number.
4992
0daa0804
JD
49932013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4994
4995 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4996 and default-process-coding-system for darwin only.
4997
abd1ae34
SM
49982013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4999
5000 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5001
be4e325d
MH
50022013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5003
5004 * vc/vc-git.el (vc-git-grep): Disable pager.
5005
e9155c4a
DG
50062013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5007
494e898b
DG
5008 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5009 Use :url instead of :homepage, as per
5010 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5011
e9155c4a
DG
5012 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5013 non-nil, use `syntax-ppss' (Bug#15251).
5014
481a8e0f
RS
50152013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5016
be4e325d
MH
5017 * progmodes/octave.el (inferior-octave-startup-file):
5018 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 5019
056453c6
DG
50202013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5021
be4e325d
MH
5022 * emacs-lisp/package.el (package-desc-from-define):
5023 Accept additional arguments as plist, convert them to an alist and store
5024 them in the `extras' slot.
056453c6
DG
5025 (package-generate-description-file): Convert extras alist back to
5026 plist and append to the `define-package' form arguments.
5027 (package--alist-to-plist): New function.
5028 (package--ac-desc): Add `extras' slot.
5029 (package--add-to-archive-contents): Check if the archive-contents
5030 vector is long enough, and if it is, pass its `extras' slot value
5031 to `package-desc-create'.
5032 (package-buffer-info): Call `lm-homepage', pass the returned value
5033 to `package-desc-from-define'.
5034 (describe-package-1): Render the homepage button (Bug#13291).
5035
be4e325d
MH
5036 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5037 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 5038
832966e5
JD
50392013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5040
5041 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5042 and default-process-coding-system to utf-8-unix (Bug#15402).
5043
6cfe977d
XF
50442013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5045
5046 * subr.el (looking-back): Do not recommend using looking-back.
5047
38de11bd
AM
50482013-09-28 Alan Mackenzie <acm@muc.de>
5049
5050 Fix indentation/fontification of Java enum with "implements".
5051
5052 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5053 regexp which matches "implements", etc., in Java.
5054 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5055 specifier clauses coming after "enum".
5056 * progmodes/cc-fonts.el (c-font-lock-declarations)
5057 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5058 after "enum".
5059
1610938f
JD
50602013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5061
5062 * faces.el (region): Change ns_selection_color to
5063 ns_selection_fg_color, add ns_selection_bg_color.
5064
e090f499
LL
50652013-09-28 Leo Liu <sdl.web@gmail.com>
5066
4d2e94d1
LL
5067 * progmodes/octave.el (inferior-octave-completion-table)
5068 (inferior-octave-completion-at-point): Minor tweaks.
5069
e090f499
LL
5070 * textmodes/ispell.el (ispell-lookup-words): Rename from
5071 lookup-words. (Bug#15460)
5072 (lookup-words): Obsolete.
5073 (ispell-complete-word, ispell-command-loop): All uses changed.
5074
7e138a62
RS
50752013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5076
a12bf61e 5077 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
5078 (octave-mode-menu): Add octave-send-buffer.
5079 (octave-send-buffer): New function.
5080
5af5ed08
RS
50812013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5082
a12bf61e 5083 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
5084 octave-lookfor.
5085 (octave-mode-menu): Add octave-lookfor.
5086 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5087 octave-lookfor.
5088 (octave-lookfor): New function.
5089
3b7b2692
SM
50902013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5091
5092 * emacs-lisp/cl-macs.el:
5093 (cl--loop-destr-temps): Remove.
5094 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5095 its convention.
5096 (cl--loop-set-iterator-function): New function.
5097 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5098 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5099 Bind `it' with `let' instead of substituting it with `cl-subst'.
5100 (cl--unused-var-p): New function.
5101 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5102 Eliminate some unused variable warnings (bug#15326).
5103
529fb53f
TH
51042013-09-27 Tassilo Horn <tsdh@gnu.org>
5105
5106 * doc-view.el (doc-view-scale-reset): Rename from
5107 `doc-view-reset-zoom-level'.
5108 (doc-view-scale-adjust): New command.
5109 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5110 `doc-view-scale-adjust'.
5111
0550c95a
TH
51122013-09-26 Tassilo Horn <tsdh@gnu.org>
5113
5114 * doc-view.el (doc-view-reset-zoom-level): New command.
5115 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5116 zoom commands (bug#15466).
5117
6950f152
KH
51182013-09-26 Kenichi Handa <handa@gnu.org>
5119
5120 * international/quail.el (quail-help): Make it not a command.
5121
39587580
LL
51222013-09-26 Leo Liu <sdl.web@gmail.com>
5123
5124 * minibuffer.el (completion-all-sorted-completions): Make args
5125 optional as they are.
5126
00578659
DC
51272013-09-25 Daniel Colascione <dancol@dancol.org>
5128
5129 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5130 specs are and that they're not evaluated.
5131
0c173878
SS
51322013-09-24 Sam Steingold <sds@gnu.org>
5133
5134 * midnight.el (clean-buffer-list-kill-regexps)
5135 (clean-buffer-list-kill-buffer-names): Update for the new Man
5136 buffer naming which includes the object name.
5137
84998447
SM
51382013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5141 (eshell-parse-command, eshell-parse-pipeline): Use it since
5142 eshell-separate-commands requires a dynamic scoped var.
5143 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5144
33215353
LL
51452013-09-23 Leo Liu <sdl.web@gmail.com>
5146
5147 * autoinsert.el (auto-insert-alist): Make the value of
5148 lexical-binding match its file setting.
5149
57b16162
JB
51502013-09-23 Juanma Barranquero <lekktu@gmail.com>
5151
c8af4e67
JB
5152 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5153
57b16162
JB
5154 * autoarg.el (autoarg-kp-digit-argument):
5155 * electric.el (Electric-command-loop):
5156 * kmacro.el (kmacro-step-edit-insert):
5157 Do not set universal-argument-num-events.
5158
7186ba60
LL
51592013-09-22 Leo Liu <sdl.web@gmail.com>
5160
5161 * files.el (interpreter-mode-alist): Add octave.
5162
ece15004
AM
51632013-09-21 Alan Mackenzie <acm@muc.de>
5164
5165 C++: fontify identifier in declaration following "public:" correctly.
5166 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5167 to match "public", etc.
5168 (c-decl-prefix-re): Add ":" into the C++ value.
5169 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5170 bit. Add a check for a ":" preceded by "public", etc.
5171
75d83e22
EZ
51722013-09-21 Eli Zaretskii <eliz@gnu.org>
5173
5174 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5175 recognized by GDB 7.5 and later.
5176
d052d3bd
XF
51772013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5178
5179 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5180
31dca772
R
51812013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5182
5183 * subr.el (internal--call-interactively): New const.
5184 (called-interactively-p): Use it (bug#3984).
5185
98ccf24e
XF
51862013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5187
5188 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
5189 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5190 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 5191
c39cc7d1
SM
51922013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5195 (eshell-ls-orig-insert-directory): Remove.
5196 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5197 (eshell-ls-use-in-dired): Use advice-add/remove.
5198 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5199 Add `orig-fun' arg for use in :around advice.
5200 Make it check (redundantly) eshell-ls-use-in-dired.
5201
9a0289a2
GM
52022013-09-19 Glenn Morris <rgm@gnu.org>
5203
a2c501b8
GM
5204 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5205
c440407a
GM
5206 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5207
9a0289a2
GM
5208 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5209
85e05915
MA
52102013-09-19 Michael Albinus <michael.albinus@gmx.de>
5211
5212 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5213 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5214 (tramp-get-remote-python): New defuns.
5215 (tramp-get-remote-uid-with-perl)
5216 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5217 contributed by yary <not.com@gmail.com> (tiny change).
5218 (tramp-get-remote-uid-with-python)
5219 (tramp-get-remote-gid-with-python): New defuns. Python code
5220 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5221 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5222
ce503312
GM
52232013-09-19 Glenn Morris <rgm@gnu.org>
5224
f7544773
GM
5225 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5226
72fd2877
GM
5227 * eshell/em-unix.el (eshell-remove-entries):
5228 Rename argument to avoid name-clash with global `top-level'.
5229
336b5a56
GM
5230 * eshell/esh-proc.el (eshell-kill-process-function):
5231 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5232 (eshell-reset-after-proc): Remove unused arg `proc'.
5233
57a3a53d
GM
5234 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5235 (directory-files-and-attributes): Mark unused arg.
5236
3261d4af
GM
5237 * eshell/em-unix.el (eshell-remove-entries):
5238 Remove unused arg `path'. Update callers.
5239
8e51b5d0
GM
5240 * eshell/em-hist.el (eshell-hist-parse-arguments):
5241 Remove unused arg `silent'. Update callers.
5242
ce503312
GM
5243 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5244 Fix (f)boundp mix-up.
5245
5246 * eshell/em-smart.el (eshell-smart-scroll-window)
5247 (eshell-disable-after-change):
336b5a56 5248 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5249
ee3ce8a7
AM
52502013-09-18 Alan Mackenzie <acm@muc.de>
5251
5252 Fix fontification of type when followed by "const".
5253 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5254 "known" types from fontification.
5255
ec9177ba
GM
52562013-09-18 Glenn Morris <rgm@gnu.org>
5257
7bb3e768
GM
5258 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5259 (chart-face-list): Drop Emacsen without display-color-p.
5260
5148da15
GM
5261 * net/eww.el (libxml-parse-html-region): Declare.
5262 (eww-display-html): Explicit error if no libxml2 support.
5263
2f68e157
GM
5264 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5265
9019d095
GM
5266 * image.el (image-type-from-buffer, image-multi-frame-p):
5267 Remove --without-x warning/error.
67645389 5268
5f30349b 5269 * mouse.el (mouse-yank-primary):
45069b2e 5270 * term.el (term-mouse-paste):
5f30349b
GM
5271 Reorder to silence --without-x compilation.
5272
cd8edbbe
GM
5273 * mpc.el (doc-view-mode): Silence --without-x compilation.
5274
8a78544e
GM
5275 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5276 Silence --without-x compilation.
5277
12679bfd
GM
5278 * progmodes/gud.el (gud-find-file, gud-mode):
5279 Silence --without-x compilation.
5280 (tooltip-mode): Declare.
30810a05 5281
f0047cb9
GM
5282 * wdired.el (dired-backup-overwrite): Remove declaration.
5283 (wdired-mode-map): Add doc string.
5284
e740f9d2
GM
5285 * custom.el (x-get-resource): Declare.
5286
92d77c89
GM
5287 * eshell/em-glob.el (ange-cache):
5288 * eshell/em-unix.el (ange-cache): Declare.
5289
76e69577
GM
5290 * faces.el (x-display-list, x-open-connection, x-get-resource):
5291 Declare.
7e58af4b
GM
5292
5293 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5294 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5295 Declare.
76e69577 5296
4bd4c0af 5297 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5298
ffb82dbd
GM
5299 * net/gnutls.el (gnutls-log-level): Declare.
5300
986ed135
GM
5301 * net/shr.el (image-size, image-animate): Declare.
5302
e740f9d2
GM
5303 * simple.el (font-info): Declare.
5304
d2f3e9f8
GM
5305 * subr.el (x-popup-dialog): Declare.
5306
047a1a4c
GM
5307 * term/common-win.el (x-select-enable-primary)
5308 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5309 Declare.
5310
f4a1d572
GM
5311 * term/ns-win.el (x-handle-args): Declare.
5312
e843de77
GM
5313 * term/x-win.el (x-select-enable-clipboard): Declare.
5314
5fa89513
GM
5315 * term/w32-win.el (create-default-fontset): Declare.
5316
38702b5b
GM
5317 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5318 Declare.
5319
e740f9d2
GM
5320 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5321 (fit-frame-to-buffer): Explicit error if --without-x.
5322 (mouse-autoselect-window-select): Silence compiler.
5323
49a053fc
GM
5324 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5325
5326 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5327 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5328 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5329 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5330 Remove unused local variables.
5331
5332 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5333
ec9177ba
GM
5334 * textmodes/two-column.el: Make 2C-split work for --without-x.
5335 (scroll-bar-columns): Autoload.
5336 (top-level): Require fringe when compiling.
5337
9f25cb77
LL
53382013-09-18 Leo Liu <sdl.web@gmail.com>
5339
5340 * subr.el (add-hook): Robustify to handle closure as well.
5341
2b42da98
GM
53422013-09-17 Glenn Morris <rgm@gnu.org>
5343
5344 * simple.el (messages-buffer-mode-map): Unbind "g".
5345
e8b66a6a
SM
53462013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5347
9c0ad4f7
SM
5348 * help-mode.el (help-mode-finish): Use derived-mode-p.
5349 Remove obsolete highlighting.
5350
7a806dfb
SM
5351 * play/life.el (life-mode): Use define-derived-mode. Derive from
5352 special-mode.
5353 (life): Let-bind inhibit-read-only.
5354 (life-setup): Avoid `setq'. Use `life-mode'.
5355
96dbf5a8
SM
5356 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5357 which should not be needed any more.
5358 (package-menu-refresh, package-menu-describe-package): Use user-error.
5359
e8b66a6a
SM
5360 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5361 (eshell-post-rewrite-command-hook): Make obsolete.
5362 (eshell-parse-command): Simplify.
5363 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5364 (eshell--cmd): Declare.
5365 (eshell-parse-pipeline): Remove unused var `final-p'.
5366 Pass a dynvar to eshell-post-rewrite-command-hook.
5367 Implement the new eshell-post-rewrite-command-function.
5368 (eshell-invoke-directly): Remove unused arg `input'.
5369 * eshell/esh-io.el (eshell-io-initialize):
5370 Use eshell-post-rewrite-command-function (bug#15399).
5371 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5372 adjust to new calling convention.
5373 (eshell-create-handles): Rename args to avoid clashing with dynvar
5374 `standard-output'.
5375
90582f05
GM
53762013-09-17 Glenn Morris <rgm@gnu.org>
5377
5378 * simple.el (messages-buffer-mode): New major mode.
5379 (messages-buffer): New function.
5380 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5381 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5382 (ert-run-test): Use `messages-buffer' function.
90582f05 5383 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5384 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5385 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5386
39eb0cb5 53872013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5388
5389 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5390
1d42e5b6 5391 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5392
70568a90
SM
53932013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5394
504a0381
SM
5395 * icomplete.el (icomplete-in-buffer): New var.
5396 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5397 vars and replace them with functions.
5398 (icomplete-minibuffer-setup): Adjust accordingly.
5399 (icomplete--completion-table, icomplete--completion-predicate)
5400 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5401 New functions.
5402 (icomplete-forward-completions, icomplete-backward-completions)
5403 (icomplete-simple-completing-p, icomplete-exhibit)
5404 (icomplete-completions): Use them.
5405 (icomplete--in-region-buffer): New var.
5406 (icomplete--in-region-setup): New function.
5407 (icomplete-mode): Use it.
5408
70568a90
SM
5409 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5410 (bug#15379).
5411 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5412 return args and options.
5413 (eshell-eval-using-options): Use the new return value of
5414 eshell--do-opts to set the options's vars in their scope.
5415 (eshell--set-option): Rename from eshell-set-option.
5416 Add arg `opt-vals'.
5417 (eshell--process-option): Rename from eshell-process-option.
5418 Add arg `opt-vals'.
5419 (eshell--process-args): Use an `opt-vals' alist to store the options's
5420 values during their processing and return them additionally to the
5421 remaining args.
5422
578c21bc
DG
54232013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5424
5425 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5426 continuation character an operator, as far as indentation is
5427 concerned (Bug#15369).
5428
c089653d
MR
54292013-09-15 Martin Rudalics <rudalics@gmx.at>
5430
5431 * window.el (window--state-put-2): Don't process buffer state
5432 when buffer doesn't exist any more (Bug#15382).
5433
1e53bb4b
GM
54342013-09-15 Glenn Morris <rgm@gnu.org>
5435
30753242
GM
5436 * eshell/em-unix.el (eshell/rm):
5437 Make -f ignore missing files. (Bug#15373)
5438
1e53bb4b
GM
5439 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5440 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5441 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5442
0d8863b3
GM
54432013-09-14 Glenn Morris <rgm@gnu.org>
5444
5445 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5446
d3fc6549
GM
54472013-09-13 Glenn Morris <rgm@gnu.org>
5448
5449 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5450 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5451
fcd42c11
DA
54522013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5453
5454 * frame.el (x-focus-frame): Mark as declared in frame.c.
5455
7830899f
SM
54562013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * ls-lisp.el: Use advice-add.
5459 (original-insert-directory): Remove.
5460 (ls-lisp--insert-directory): Rename from insert-directory; add
5461 `orig-fun' argument.
5462 (insert-directory): Advise.
5463
84387cd2
EZ
54642013-09-13 Eli Zaretskii <eliz@gnu.org>
5465
5466 * term.el (term-emulate-terminal): Decode the command string
5467 before passing it to term-command-hook. (Bug#15337)
5468
35ffc6ba
GM
54692013-09-13 Glenn Morris <rgm@gnu.org>
5470
5c3f9bcc
GM
5471 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5472
2ada368a
GM
5473 * eshell/esh-ext.el (eshell-search-path): Declare.
5474
fcef2e13
GM
5475 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5476 Otherwise an error occurs if eshell-dirs module not loaded.
5477
35ffc6ba
GM
5478 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5479
35c3d36e
MA
54802013-09-13 Michael Albinus <michael.albinus@gmx.de>
5481
5482 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5483 `tramp-check-proper-host'. Check for a valid method name.
5484
5485 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5486 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5487 * net/tramp-sh.el (tramp-maybe-open-connection):
5488 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5489
5490 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5491 also for hash values.
5492
ae5e4c48
SM
54932013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5494
379add74
SM
5495 * term/ns-win.el (parameters): Don't declare as dynamic.
5496 (before-make-frame-hook): Don't add ineffective function.
5497
ae5e4c48
SM
5498 * eshell/*.el: Use lexical-binding (bug#15231).
5499
b5623270
KH
55002013-09-12 Kenichi Handa <handa@gnu.org>
5501
ae5e4c48 5502 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5503
30213927
GM
55042013-09-12 Glenn Morris <rgm@gnu.org>
5505
be94d713 5506 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5507 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5508
44915370
GM
5509 * subr.el (do-after-load-evaluation): Also give compiler warnings
5510 when obsolete files are used (except by obsolete files).
5511
a6ae021f
GM
5512 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5513 in the status output, assume `filename' is the first. (Bug#15322)
5514
40e64f0c
GM
5515 * vc/vc.el (vc-deduce-fileset): Doc fix.
5516
16d9f896
GM
5517 * calc/calc-help.el (Info-goto-node):
5518 * progmodes/cperl-mode.el (Info-find-node):
5519 * vc/ediff.el (Info-goto-node): Update declarations.
5520
dea01c6e
GM
5521 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5522
759880bf 5523 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5524 (vc-bzr-pull): Require vc-dispatcher.
5525 * vc/vc-git.el (vc-compilation-mode): Declare.
5526 (vc-git-pull): Require vc-dispatcher.
5527
08d66420
GM
5528 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5529
30b626e9
GM
5530 * progmodes/octave.el (help-button-action): Declare.
5531
8c05cb10
GM
5532 * shell.el (shell-directory-tracker): Output error as a message
5533 rather than just returning it as a string.
5534 (shell-process-pushd): Remove useless use of message.
5535
30213927
GM
5536 * dframe.el (dframe-timer-fn):
5537 * files.el (dir-locals-read-from-file):
5538 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5539 (mpc-format):
5540 * reveal.el (reveal-post-command):
5541 * saveplace.el (load-save-place-alist-from-file):
5542 * shell.el (shell-resync-dirs):
5543 * w32-common-fns.el (x-get-selection-value):
5544 * emacs-lisp/copyright.el (copyright-find-copyright):
5545 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5546 * emulation/tpu-edt.el (tpu-copy-keyfile):
5547 * play/bubbles.el (bubbles--mark-neighbourhood):
5548 * progmodes/executable.el
5549 (executable-make-buffer-file-executable-if-script-p):
5550 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5551
d3b049e6
SM
55522013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5553
170266d0
SM
5554 Cleanup Eshell to rely less on dynamic scoping.
5555 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5556 last-value, and ext-command here. Bind `args' closer to `body'.
5557 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5558 (eshell--args): Declare new dynamic var.
5559 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5560 last-value, and ext-command. Pass `args' to `body'.
5561 (eshell-process-args): Bind eshell--args.
5562 (eshell-set-option): Use eshell--args.
5563 * eshell/eshell.el (eshell): Use derived-mode-p.
5564 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5565 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5566 (eshell-glob-function): Declare.
5567 * eshell/esh-util.el: Require cl-lib.
5568 (eshell-read-hosts-file): Avoid add-to-list.
5569 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5570 `err'.
5571 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5572 Declare.
5573 (eshell/diff): Remove unused var `err'.
5574 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5575 `killflag'.
5576 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5577 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5578 first use.
5579 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5580 Move declaration before first use.
5581 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5582 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5583 rely on cl-return.
5584
56834f3b
GM
55852013-09-12 Glenn Morris <rgm@gnu.org>
5586
5587 * term/ns-win.el (global-map): Remove binding for ispell-next,
5588 deleted 1999-05-29. (Bug#15357)
5589
5c91a2b8
GM
55902013-09-11 Glenn Morris <rgm@gnu.org>
5591
da712f22
GM
5592 * echistory.el (electric-command-history): Remove call to deleted func.
5593
512e4cdc
GM
5594 * play/landmark.el (landmark-mode): Fix typos.
5595
d3506ca5
GM
5596 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5597 Check cvs-sort-ignore-file is bound.
5598
5c91a2b8
GM
5599 * savehist.el: No need for cl when compiling on Emacs.
5600
feeff482
SM
56012013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5602
656bd483
SM
5603 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5604 (bug#15338).
d3b049e6
SM
5605 (eshell-self-insert-command, eshell-send-invisible):
5606 Remove unused argument.
656bd483
SM
5607 (eshell-handle-control-codes): Remove unused var `orig'.
5608 Avoid delete-backward-char.
5609
feeff482
SM
5610 * files.el (set-auto-mode): Simplify a bit further.
5611
2a08047a
GM
56122013-09-11 Glenn Morris <rgm@gnu.org>
5613
5614 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5615 (set-auto-mode): Don't regexp-quote elements.
5616 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5617 * progmodes/cc-mode.el (interpreter-mode-alist):
5618 * progmodes/ruby-mode.el (interpreter-mode-alist):
5619 Revert previous change.
5620
34675540
SM
56212013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5622
1b3b87df
SM
5623 * play/snake.el (snake-mode):
5624 * play/mpuz.el (mpuz-mode):
5625 * play/landmark.el (lm-mode):
5626 * play/blackbox.el (blackbox-mode):
5627 * play/5x5.el (5x5-mode):
5628 * obsolete/options.el (Edit-options-mode):
5629 * net/quickurl.el (quickurl-list-mode):
5630 * net/newst-treeview.el (newsticker-treeview-mode):
5631 * mail/rmailsum.el (rmail-summary-mode):
5632 * mail/mspools.el (mspools-mode):
5633 * locate.el (locate-mode):
5634 * ibuffer.el (ibuffer-mode):
5635 * emulation/ws-mode.el (wordstar-mode):
5636 * emacs-lisp/debug.el (debugger-mode):
5637 * array.el (array-mode):
5638 * net/eudc.el (eudc-mode): Use define-derived-mode.
5639 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5640 Move initialization into declaration.
5641 (mairix-searches-mode): Use define-derived-mode.
5642 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5643 (eudc-edit-hotlist): Use dolist.
5644 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5645 (Man-mode): Use define-derived-mode.
5646 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5647 (Info-edit-mode): Use define-derived-mode.
5648 (Info-cease-edit): Use Info-mode.
5649 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5650 into declaration.
5651 (eshell-mode): Use define-derived-mode.
5652 * chistory.el (command-history-mode-map): Rename from
5653 command-history-map.
5654 (command-history-mode): Use define-derived-mode.
da712f22 5655 (Command-history-setup): Remove function.
1b3b87df
SM
5656 * calc/calc.el (calc-trail-mode-map): New var.
5657 (calc-trail-mode): Use define-derived-mode.
5658 (calc-trail-buffer): Set calc-main-buffer manually.
5659 * bookmark.el (bookmark-insert-annotation): New function.
5660 (bookmark-edit-annotation): Use it.
5661 (bookmark-edit-annotation-mode): Make it a proper major mode.
5662 (bookmark-send-edited-annotation): Use derived-mode-p.
5663 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5664 closer to its ideal place. Use \' to match EOS.
5665
34675540
SM
5666 * profiler.el (profiler-calltree-find): Use function-equal.
5667
6a5c15d9
GM
56682013-09-10 Glenn Morris <rgm@gnu.org>
5669
1af4c220
GM
5670 * files.el (interpreter-mode-alist): Convert to regexps.
5671 (set-auto-mode): Adapt for this. (Bug#15306)
5672 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5673 Comment out unused variable.
5674 * progmodes/cc-mode.el (interpreter-mode-alist):
5675 * progmodes/python.el (interpreter-mode-alist):
5676 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5677 * progmodes/sh-script.el (sh-set-shell):
5678 No longer use interpreter-mode-alist to get list of shells.
5679
6a5c15d9
GM
5680 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5681
8c27f5ff
SM
56822013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5683
02ef6c1a 5684 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5685 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5686 Bind switch-frame explicitly. Replace universal-argument-minus with
5687 a conditional binding.
5688 (universal-argument-num-events, saved-overriding-map): Remove.
5689 (restore-overriding-map): Remove.
5690 (universal-argument--mode): Rename from save&set-overriding-map,
5691 and rewrite.
5692 (universal-argument, universal-argument-more, negative-argument)
5693 (digit-argument): Adjust accordingly.
5694 (universal-argument-minus): Remove.
5695 (universal-argument-other-key): Remove.
5696
8c27f5ff
SM
5697 * subr.el (with-demoted-errors): Add `format' argument.
5698
6480194c
MA
56992013-09-10 Michael Albinus <michael.albinus@gmx.de>
5700
5701 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5702 `tramp-cleanup-connection'.
5703
5704 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5705 parameters KEEP-DEBUG and KEEP-PASSWORD.
5706
5707 * net/tramp.el (tramp-file-name-handler):
5708 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5709 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5710 (tramp-maybe-open-connection):
8c27f5ff
SM
5711 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5712 Use `tramp-cleanup-connection'.
6480194c 5713
8c27f5ff
SM
5714 * net/tramp-sh.el (tramp-maybe-open-connection):
5715 Catch 'uname-changed inside the progress reporter.
6480194c 5716
e5e916d8
GM
57172013-09-10 Glenn Morris <rgm@gnu.org>
5718
9a2c9b47
GM
5719 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5720
e5e916d8
GM
5721 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5722 returns "alternate access method" in mode (eg "-rw-r--r--.").
5723
144e38fe
GM
57242013-09-08 Glenn Morris <rgm@gnu.org>
5725
5726 * saveplace.el (load-save-place-alist-from-file):
5727 Demote errors. (Bug#15305)
5728
af9ff9e8
MA
57292013-09-08 Michael Albinus <michael.albinus@gmx.de>
5730
5731 Improve compatibility with older Emacsen, and XEmacs.
5732
5733 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5734 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5735 (with-tramp-progress-reporter): Do not let-bind `result'.
5736 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5737 (tramp-handle-make-auto-save-file-name): New function, moved from
5738 tramp-sh.el.
5739
5740 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5741 for `make-auto-save-file-name'.
8c27f5ff
SM
5742 (tramp-adb--gnu-switches-to-ash):
5743 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5744
5745 * net/tramp-cache.el (tramp-cache-print): Call
5746 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5747
5748 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5749 bound. It isn't for XEmacs.
5750
8c27f5ff
SM
5751 * net/tramp-compat.el (tramp-compat-copy-file):
5752 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5753 (tramp-compat-replace-regexp-in-string): New defun.
5754
5755 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5756 for `make-auto-save-file-name'.
5757 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5758 `copy-file'.
5759 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5760 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5761 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5762
8c27f5ff
SM
5763 * net/tramp-gw.el (tramp-gw-open-network-stream):
5764 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5765
8c27f5ff
SM
5766 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5767 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5768 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5769 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5770 (tramp-sh-file-inotifywait-process-filter):
5771 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5772 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5773
5774 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5775 for `make-auto-save-file-name'.
8c27f5ff
SM
5776 (tramp-smb-handle-copy-directory):
5777 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5778 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5779 (tramp-smb-handle-copy-file): Improve error message.
5780 (tramp-smb-handle-rename-file): Rename directly only in case
5781 `newname' does not exist yet. This is a restriction of smbclient.
5782 (tramp-smb-maybe-open-connection): Rerun the function only when
5783 `auth-sources' is non-nil.
5784
0ca754d0
KH
57852013-09-08 Kenichi Handa <handa@gnu.org>
5786
e0eb0550 5787 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5788 more characters.
5789
e8dd0787
AM
57902013-09-07 Alan Mackenzie <acm@muc.de>
5791
5792 Correctly fontify Java class constructors.
5793 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5794 in Java Mode.
5795 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5796 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5797 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5798 "typeless" declaration there.
5799
f2f248e7
RW
58002013-09-07 Roland Winkler <winkler@gnu.org>
5801
5802 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5803 field subtitle for entry type book.
5804
67982e2b
SM
58052013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5806
5807 * minibuffer.el: Make minibuffer-complete call completion-in-region
5808 rather than other way around.
5809 (completion--some, completion-pcm--find-all-completions):
5810 Don't delay signals when debugging.
5811 (minibuffer-completion-contents): Beware fields within the
5812 minibuffer contents.
5813 (completion-all-sorted-completions): Use defvar-local.
5814 (completion--do-completion, completion--cache-all-sorted-completions)
5815 (completion-all-sorted-completions, minibuffer-force-complete):
5816 Add args `beg' and `end'.
5817 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5818 (minibuffer-complete): Use completion-in-region.
5819 (completion-complete-and-exit): New fun, extracted from
5820 minibuffer-complete-and-exit.
5821 (minibuffer-complete-and-exit): Use it.
5822 (completion--complete-and-exit): Rename from
5823 minibuffer--complete-and-exit.
5824 (completion-in-region--single-word): New function, extracted from
5825 minibuffer-complete-word.
5826 (minibuffer-complete-word): Use it.
5827 (display-completion-list): Make `common-substring' argument obsolete.
5828 (completion--in-region): Call completion--in-region-1 instead of
5829 minibuffer-complete.
5830 (completion-help-at-point): Pass boundaries to
5831 minibuffer-completion-help as args rather than via an overlay.
5832 (completion-pcm--string->pattern): Use `any-delim'.
5833 (completion-pcm--optimize-pattern): New function.
5834 (completion-pcm--pattern->regex): Handle `any-delim'.
5835 * icomplete.el (icomplete-forward-completions)
5836 (icomplete-backward-completions, icomplete-completions):
5837 Adjust calls to completion-all-sorted-completions and
5838 completion--cache-all-sorted-completions.
5839 (icomplete-with-completion-tables): Default to t.
5840 * emacs-lisp/crm.el (crm--current-element): Rename from
5841 crm--select-current-element. Don't put an overlay but return the
5842 boundaries instead.
5843 (crm--completion-command): Take two new args to bind to the boundaries.
5844 (crm-completion-help): Adjust accordingly.
5845 (crm-complete): Use completion-in-region.
5846 (crm-complete-word): Use completion-in-region--single-word.
5847 (crm-complete-and-exit): Use completion-complete-and-exit.
5848
e17d94a5
SM
58492013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5850
5851 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5852 than dynamically.
5853
96727100
JL
58542013-09-06 Juri Linkov <juri@jurta.org>
5855
5856 * info.el (Info-display-images-node): When image file doesn't exist
5857 display text version of the image if it's provided in the Info file.
5858 Otherwise, display the location of missing image from SRC attribute.
5859 Add help-echo text property from ALT attribute. (Bug#15279)
5860
86cf7329
SM
58612013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5862
5863 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5864 (edit-abbrevs-mode): Use define-derived-mode.
5865
5866 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5867 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5868 that it's defined.
5869 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5870 Use define-derived-mode.
5871
5872 * epg.el (epg-start-encrypt): Minor CSE simplification.
5873
816244a2
WX
58742013-09-06 William Xu <william.xwl@gmail.com>
5875
5876 * arc-mode.el: Add support for 7za (bug#15264).
5877 (archive-7z-program): New var.
5878 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5879 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5880 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5881
1486fa31
MA
58822013-09-06 Michael Albinus <michael.albinus@gmx.de>
5883
5884 Remove URL syntax.
5885
5886 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5887 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5888 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5889 (tramp-postfix-host-format, tramp-file-name-regexp)
5890 (tramp-completion-file-name-regexp)
5891 (tramp-completion-dissect-file-name)
5892 (tramp-handle-substitute-in-file-name): Remove 'url case.
5893 (tramp-file-name-regexp-url)
5894 (tramp-completion-file-name-regexp-url): Remove constants.
5895
39785324
GM
58962013-09-06 Glenn Morris <rgm@gnu.org>
5897
5898 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5899
1f896cb7
DG
59002013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5901
5902 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5903 keywords" below "here-doc beginnings" (Bug#15270).
5904
c0458e0b
SM
59052013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5906
5907 * subr.el (pop): Use `car-safe'.
5908 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5909 to detect unused `pop' return value.
5910
5911 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5912 var `block-regexp'.
5913 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5914 (python-fill-string): Remove unused var `marker'.
5915 (python-skeleton-add-menu-items): Remove unused var `items'.
5916
5917 * international/mule-cmds.el: Require CL.
5918 (find-coding-systems-for-charsets): Avoid add-to-list.
5919 (sanitize-coding-system-list): New function, extracted from
5920 select-safe-coding-system-interactively.
5921 (select-safe-coding-system-interactively): Use it.
5922 (read-input-method-name): Accept symbols for `default'.
5923
5924 * emacs-lisp/advice.el (defadvice): Add indent rule.
5925
6c42fc3e
DH
59262013-09-05 Daniel Hackney <dan@haxney.org>
5927
5928 * dired-x.el:
5929 * net/ange-ftp.el:
5930 * net/browse-url.el:
5931 * net/dbus.el:
5932 * net/eudc.el:
5933 * net/eudcb-ldap.el:
5934 * net/eww.el:
5935 * net/imap.el:
5936 * printing.el:
5937 * vc/ediff-diff.el:
5938 * vc/ediff-init.el:
5939 * vc/ediff-merg.el:
5940 * vc/ediff-mult.el:
5941 * vc/ediff-util.el:
5942 * vc/ediff-wind.el:
5943 * vc/ediff.el:
5944 * vc/emerge.el:
5945 * vc/pcvs.el:
5946 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5947 byte compiler. Remove some unused let-bound variables.
5948
4c528aab
SM
59492013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5950
5951 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5952 a "ref-cell", since it gets better optimized (bug#14883).
5953
bd15c390
GM
59542013-09-05 Glenn Morris <rgm@gnu.org>
5955
5956 * progmodes/cc-awk.el (c-forward-sws): Declare.
5957
1c3ac2e5
GM
59582013-09-04 Glenn Morris <rgm@gnu.org>
5959
5960 * generic-x.el [rul-generic-mode]: Require cc-mode.
5961 (c++-mode-syntax-table): Declare.
5962 (rul-generic-mode-syntax-table): Init in the defvar.
5963
52b1cc79
SM
59642013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5965
c828af56
SM
5966 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5967 (vc-do-command, vc-set-async-update):
5968 * vc/vc-mtn.el (vc-mtn-dir-status):
5969 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5970 (vc-hg-pull, vc-hg-merge-branch):
5971 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5972 (vc-git-merge-branch):
5973 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5974 (vc-cvs-dir-status-files):
5975 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5976 (vc-bzr-dir-status-files):
5977 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5978 * vc/vc-annotate.el: Use lexical-binding.
5979 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5980 (vc-sentinel-movepoint): Declare.
5981 (vc-annotate): Don't use `goto-line'.
5982 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5983 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5984 (vc-sentinel-movepoint): Declare.
5985 * vc/vc-svn.el: Use lexical-binding.
5986 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5987 * vc/vc-sccs.el:
5988 * vc/vc-rcs.el: Use lexical-binding.
5989
abae272c
SM
5990 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5991 `deleted'. Don't drop errors silently.
5992
52b1cc79
SM
5993 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5994
63191d9f
XF
59952013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5996
5997 * vc/vc.el (vc-ignore): Rewrite.
5998 (vc-default-ignore): New function.
5999 (vc-default-ignore-completion-table): Use find-ignore-file.
6000
6001 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6002 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6003 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6004 Remove. Most code moved to vc.el.
6005
9d3f707c
SM
60062013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6007
abae272c 6008 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
6009 * net/tramp-smb.el (tramp-smb-get-file-entries):
6010 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6011 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6012
fde38d49
SM
6013 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6014 Update call to it.
6015 (eww-change-select): Remove unused var `properties'.
6016 (eww-make-unique-file-name): Remove unused var `base'.
6017
6018 * finder.el (finder-compile-keywords): Don't mess with windows.
6019
84032db7
SM
6020 * calculator.el (calculator-funcall): Fix typo in last change.
6021
724f5e41
SM
6022 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6023
14b511d4
SM
6024 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6025 <pkg>-autoloads.el file stop us.
6026
9d3f707c 6027 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 6028 warnings, and factor out common code.
9d3f707c 6029
88527bc0
DG
60302013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6031
6032 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6033 two-character operators and whether the character preceding them
6034 changes their meaning (Bug#15208).
6035
96edb677
FEG
60362013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6037
6038 Format code sent to Python shell for robustness.
9d3f707c
SM
6039 * progmodes/python.el (python-shell-buffer-substring):
6040 New function.
96edb677
FEG
6041 (python-shell-send-region, python-shell-send-buffer): Use it.
6042
95beaef3
MA
60432013-09-02 Michael Albinus <michael.albinus@gmx.de>
6044
6045 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6046 * net/tramp.el (tramp-user-error): ... here.
6047 (tramp-find-method, tramp-check-proper-host)
6048 (tramp-dissect-file-name, tramp-debug-message)
6049 (tramp-handle-shell-command):
6050 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6051 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6052
6053 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6054
f167c27b
MR
60552013-09-02 Martin Rudalics <rudalics@gmx.at>
6056
6057 * avoid.el (mouse-avoidance-point-position)
6058 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6059 returns nil.
6060
cd16c5f1
FEG
60612013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6062
6063 * progmodes/python.el (python-shell-completion-get-completions):
6064 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 6065 (python-nav-if-name-main): New command.
cd16c5f1 6066
e73c3a0d
GM
60672013-09-01 Glenn Morris <rgm@gnu.org>
6068
f8ccce03
GM
6069 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6070 Avoid leading space in $wins. Otherwise the sed command used by
6071 eg compile-main ends up containing "/*.el". (Bug#15170)
6072
e73c3a0d
GM
6073 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6074
415f808e
GM
60752013-08-30 Glenn Morris <rgm@gnu.org>
6076
6077 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6078 Fix is-this-a-directory logic. (Bug#15220)
6079
f069bba8
SM
60802013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6081
112798c1
SM
6082 * textmodes/css-mode.el: Use SMIE.
6083 (css-smie-grammar): New var.
6084 (css-smie--forward-token, css-smie--backward-token)
6085 (css-smie-rules): New functions.
6086 (css-mode): Use them.
6087 (css-navigation-syntax-table): Remove var.
6088 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6089 (css-indent-calculate, css-indent-line): Remove functions.
6090
6091 Misc changes to reduce use of `(lambda...); and other cleanups.
6092 * cus-edit.el: Use lexical-binding.
6093 (customize-push-and-save, customize-apropos)
6094 (custom-buffer-create-internal): Use closures.
6095 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6096 * progmodes/ada-xref.el: Use setq.
6097 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6098 * dframe.el: Use lexical-binding.
6099 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6100 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6101 * descr-text.el: Use lexical-binding.
6102 (describe-text-widget, describe-text-sexp, describe-property-list):
6103 Use closures.
6104 * comint.el (comint-history-isearch-push-state): Use a closure.
6105 * calculator.el: Use lexical-binding.
6106 (calculator-number-to-string): Make it work with lexical-binding.
6107 (calculator-funcall): Same and use cl-letf.
6108
2da4c3ab
SM
6109 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6110 (lisp--company-doc-string, lisp--company-location): New functions.
6111 (lisp-completion-at-point): Use them to improve Company support.
6112
f069bba8
SM
6113 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6114 params of lambda expressions.
6115 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6116 (ruby-smie--opening-pipe-p): New function.
6117 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6118 symbols and matched |...| for formal params.
6119 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6120 from being treated as hanging. Handle "rescue".
6121
6758b6a8
GM
61222013-08-29 Glenn Morris <rgm@gnu.org>
6123
6124 * progmodes/cc-engine.el (c-pull-open-brace):
6125 Move definition before use.
6126
e8dfd197
SM
61272013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6128
6129 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6130 are immutable. Don't use `unsafe' any more.
6131 (cl--defsubst-expand): Don't substitute at the same time as keeping
6132 a residual unused let-binding. Don't use `unsafe' any more.
6133
cc585c96
GM
61342013-08-29 Glenn Morris <rgm@gnu.org>
6135
ba579ea6
GM
6136 * calendar/cal-china.el (calendar-chinese-year-cache):
6137 Recenter on 2015.
6138
8201a87e
GM
6139 * nxml/nxml-util.el (nxml-debug-clear-inside):
6140 Use cl-loop rather than loop.
6141
6ee877c7
GM
6142 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6143
cc585c96
GM
6144 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6145
27be8d39
GM
61462013-08-28 Glenn Morris <rgm@gnu.org>
6147
397440a1
GM
6148 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6149
2bb762d4
GM
6150 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6151
27be8d39
GM
6152 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6153
2d69b99e
SM
61542013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6155
f663baa7
SM
6156 * simple.el (repeat-complex-command--called-interactively-skip):
6157 New function.
6158 (repeat-complex-command): Use it (bug#14136).
6159
dd4f8b74
SM
6160 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6161 (c-define-abbrev-table): Add `doc' argument.
6162 (c-mode-abbrev-table, c++-mode-abbrev-table)
6163 (objc-mode-abbrev-table, java-mode-abbrev-table)
6164 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6165 (awk-mode-abbrev-table): Use it.
6166 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6167 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6168 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6169 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6170 Move initialization into the declaration; and remove any
6171 autoload cookie.
6172
b58969f7
SM
6173 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6174 and dynamic let binding.
6175
4021d6a6
SM
6176 * vc/smerge-mode.el: Remove redundant :group args.
6177
2d69b99e
SM
6178 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6179 to load-path.
6180
274919fd
JL
61812013-08-28 Juri Linkov <juri@jurta.org>
6182
6183 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6184 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6185 (isearch-other-meta-char): Handle an undefined shifted printing
6186 character by downshifting it. (Bug#15200)
6187
121f8c95
JL
61882013-08-28 Juri Linkov <juri@jurta.org>
6189
6190 * isearch.el (isearch-search): Change regexp error message for
6191 non-regexp searches. (Bug#15166)
6192
50b13cde
PE
61932013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6194
6195 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6196 for portability to hosts where /bin/sh has problems.
6197
95888bca
SM
61982013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6199
6200 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6201
bbe558f1
JL
62022013-08-27 Juri Linkov <juri@jurta.org>
6203
6204 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6205 in the keyboard macro. (Bug#15126)
6206
26f98a7d
JL
62072013-08-27 Juri Linkov <juri@jurta.org>
6208
6209 * isearch.el (isearch-quote-char): Comment out converting unibyte
6210 to multibyte, thus syncing with its `quoted-insert' counterpart.
6211 (Bug#15166)
6212
7c97d35e
MR
62132013-08-27 Martin Rudalics <rudalics@gmx.at>
6214
6215 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
6216 argument in call of get-largest-window (Bug#15185).
6217 Reported by Stephen Leake.
7c97d35e 6218
a0b5606e 62192013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
6220
6221 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6222
9e89d835
SM
62232013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6224
6225 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6226 from a matcher-function unless there's no more matches (bug#15161).
6227
78fc2530
MA
62282013-08-26 Michael Albinus <michael.albinus@gmx.de>
6229
6230 * minibuffer.el: Revert change from 2013-08-20.
6231
6232 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6233 with text property `tramp-default', if appropriate.
6234 (tramp-check-proper-host): New defun.
6235 (tramp-dissect-file-name): Do not check hostname. Revert change
6236 of 2013-03-18.
6237 (tramp-backtrace): Make VEC-OR-PROC optional.
6238
6239 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6240 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6241 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6242 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6243 Apply `tramp-check-proper-host'.
78fc2530 6244
edca97cd
TH
62452013-08-26 Tassilo Horn <tsdh@gnu.org>
6246
6247 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6248 lambda expression in order to have `describe-variable' display it.
6249
df54bcbd
MA
62502013-08-26 Michael Albinus <michael.albinus@gmx.de>
6251
6252 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6253 BUF can be optional. (Bug#15186)
6254
eed99101
XF
62552013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6256
6257 * progmodes/flymake.el (flymake-get-real-file-name-function):
6258 Fix broken customization. (Bug#15184)
6259
b5eb9035
AM
62602013-08-25 Alan Mackenzie <acm@muc.de>
6261
8a51e842
AM
6262 Improve indentation of bracelists defined by macros (without "=").
6263
6264 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6265 expansion begins with "{", regard it as bracelist when it doesn't
6266 contain a ";".
6267
869455d4
AM
6268 Parse C++ inher-intro when there's a template split over 2 lines.
6269
6270 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6271 rigorously the search for "class" etc. followed by ":".
6272
6273 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6274 random languages a regexp which never matches rather than nil.
6275
b5eb9035
AM
6276 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6277
6278 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6279 (c-awk-regexp-one-line-possibly-open-char-list-re)
6280 (c-awk-one-line-possibly-open-regexp-re)
6281 (c-awk-one-line-non-syn-ws*-re): Remove.
6282 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6283 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6284 (c-awk-space*-unclosed-regexp-/-re): New constants.
6285 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6286 aren't regexp delimiters.
6287
6288 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6289 handling for a rare situation in AWK Mode involving unterminated
6290 strings/regexps.
6291
61611d54
GM
62922013-08-23 Glenn Morris <rgm@gnu.org>
6293
2d85dc34
GM
6294 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6295
cb8d2612
GM
6296 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6297
bb35f42f
GM
6298 * files.el (create-file-buffer): If the result would begin with
6299 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6300
b9808e77
SM
63012013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6302
e3a66363
SM
6303 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6304 text-properties (bug#15155).
6305
b9808e77
SM
6306 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6307 exist any more.
6308 (calc-keypad-redraw): Remove unused var `pad'.
6309 (calc-keypad-press): Remove unused var `menu'.
6310
7fd5f65e
MR
63112013-08-23 Martin Rudalics <rudalics@gmx.at>
6312
b9808e77
SM
6313 * window.el (display-buffer-pop-up-frame):
6314 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6315 use it as the new frame's buffer (Bug#15133).
6316
8352b530
SM
63172013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6318
6319 * calendar/timeclock.el: Minor cleanups.
6320 (timeclock-ask-before-exiting, timeclock-use-display-time):
6321 Use `symbol'.
6322 (timeclock-modeline-display): Define as alias before the
6323 actual definition.
6324 (timeclock-mode-line-display): Use define-minor-mode.
6325 (timeclock-day-list-template): Make it a function, add an argument.
6326 (timeclock-day-list-required, timeclock-day-list-length)
6327 (timeclock-day-list-debt, timeclock-day-list-span)
6328 (timeclock-day-list-break): Adjust calls accordingly.
6329
9f7b1925
SM
63302013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6331
6332 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6333 Use read--expression so that completion works again.
6334
6e50e983
SS
63352013-08-21 Sam Steingold <sds@gnu.org>
6336
6337 Add rudimentary inferior shell interaction
6338 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6339 (sh-set-shell): Reset it.
9f7b1925
SM
6340 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6341 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6342
dbb0d350
SM
63432013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * align.el: Use lexical-binding.
6346 (align-region): Simplify accordingly.
6347
c88586a9
MA
63482013-08-20 Michael Albinus <michael.albinus@gmx.de>
6349
6350 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6351
6352 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6353 `non-essential' up.
6354
f95527c8
MA
63552013-08-17 Michael Albinus <michael.albinus@gmx.de>
6356
6357 * net/tramp.el:
6358 * net/tramp-adb.el:
6359 * net/tramp-cmds.el:
6360 * net/tramp-ftp.el:
6361 * net/tramp-gvfs.el:
6362 * net/tramp-gw.el:
6363 * net/tramp-sh.el: Don't wrap external variable declarations by
6364 `eval-when-compile'.
6365
4b5fe4ee
LMI
63662013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6367
6368 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6369 now that Emacs supports ImageMagick animations.
6370
13c366c9
MA
63712013-08-16 Michael Albinus <michael.albinus@gmx.de>
6372
6373 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6374 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6375
3dfc5cd6
MR
63762013-08-16 Martin Rudalics <rudalics@gmx.at>
6377
6378 * window.el (mouse-autoselect-window-select): Do autoselect when
6379 mouse pointer is on margin.
6380
4bbb4381
WP
63812013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6382
6383 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6384
3a2ddc2d
GM
63852013-08-16 Glenn Morris <rgm@gnu.org>
6386
e8bedf5a
GM
6387 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6388 Handle "Remote Directory" response of some clients. (Bug#15058)
6389
58c4682f
GM
6390 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6391 Tweak warning. (Bug#14926)
6392
57953f49
GM
6393 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6394 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6395
3a2ddc2d
GM
6396 * image-mode.el (image-mode-map): Add menu items to reverse,
6397 increase, decrease, reset animation speed.
6398 (image--set-speed, image-increase-speed, image-decrease-speed)
6399 (image-reverse-speed, image-reset-speed): New functions.
6400 (image-mode-map): Add bindings for speed commands.
6401
6402 * image.el (image-animate-get-speed, image-animate-set-speed):
6403 New functions.
6404 (image-animate-timeout): Respect image :speed property.
6405
10fa0ed3
SM
64062013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6407
6408 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6409 previous line (bug#15101).
6410 (debugger-eval-expression, debugger-record-expression):
6411 Use read--expression (bug#15102).
6412
5d89d9d2
MA
64132013-08-15 Michael Albinus <michael.albinus@gmx.de>
6414
6415 Remove byte compiler warnings, visible when compiling with
6416 `byte-compile-force-lexical-warnings' set to t.
6417
6418 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6419 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6420 (tramp-handle-unhandled-file-name-directory)
6421 (tramp-handle-file-notify-add-watch, tramp-action-login)
6422 (tramp-action-succeed, tramp-action-permission-denied)
6423 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6424 arguments with "_".
6425
6426 * net/tramp-adb.el (tramp-adb-parse-device-names)
6427 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6428 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6429 (tramp-adb-handle-file-truename): Remove unused arguments.
6430
6431 * net/tramp-cache.el (tramp-flush-directory-property)
6432 (tramp-flush-connection-property, tramp-list-connections)
6433 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6434
10fa0ed3
SM
6435 * net/tramp-compat.el (tramp-compat-make-temp-file):
6436 Rename FILENAME to F.
5d89d9d2
MA
6437
6438 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6439 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6440 (tramp-zeroconf-parse-workstation-device-names)
6441 (tramp-zeroconf-parse-webdav-device-names)
6442 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6443
6444 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6445 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6446
6447 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6448 arguments.
6449 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6450 (tramp-sh-handle-insert-file-contents-literally)
6451 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6452 with "_".
6453 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6454 Remove unused variables.
6455
6456 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6457 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6458 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6459
6460 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6461 Make them a defconst.
6462 (tramp-uuencode-region): Remove unused variable.
6463
62f33bae
JB
64642013-08-14 Juanma Barranquero <lekktu@gmail.com>
6465
6466 * frameset.el (frameset--prop-setter): New function.
6467 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6468 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6469 parameter was already set in FILTERED. Doc fix.
6470 (frameset--record-minibuffer-relationships): Allow saving a
6471 minibufferless frame without its corresponding minibuffer frame.
6472 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6473 frame, if the frame id matches.
6474 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6475 frames before orphaned ones.
6476 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6477
c660a885
MR
64782013-08-14 Martin Rudalics <rudalics@gmx.at>
6479
6480 * window.el (window-make-atom): Don't overwrite parameter
6481 already present.
6482 (display-buffer-in-atom-window): Handle special case where we
6483 split an already atomic window.
6484 (window--major-non-side-window, display-buffer-in-side-window)
6485 (window--side-check): Ignore minibuffer window when walking
6486 window tree.
6487 (window-deletable-p): Return 'frame only if no other frame uses
6488 our minibuffer window.
6489 (record-window-buffer): Run buffer-list-update-hook.
6490 (split-window): Make sure window--check-frame won't destroy an
6491 existing atomic window in case the new window gets nested
6492 inside.
6493 (display-buffer-at-bottom): Ignore minibuffer window when
6494 walking window tree. Don't split a side window.
6495 (pop-to-buffer): Don't set-buffer here, the select-window call
6496 should do that.
6497 (mouse-autoselect-window-select): Autoselect only if we are in the
6498 text portion of the window.
6499
8259030d
LMI
65002013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6501
21c58ae2
LMI
6502 * net/shr.el (shr-parse-image-data): New function to grab both the
6503 data itself and the Content-Type.
6504 (shr-put-image): Use it.
6505
6506 * net/eww.el (eww-display-image): Ditto.
6507
8259030d
LMI
6508 * image.el (image-content-type-suffixes): New variable.
6509
ad756449
FEG
65102013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6511
6512 * progmodes/python.el (python-imenu--build-tree)
6513 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6514
f73f4ce6
XF
65152013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6516
6517 * simple.el (backward-word): Mention the optional argument.
6518
1f585e65
SM
65192013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * frameset.el (frameset--make): Rename constructor from make-frameset.
6522 (frameset-p, frameset-valid-p): Don't autoload.
6523 (frameset-valid-p): Use normal accessors.
6524
af1c6c84
GM
65252013-08-13 Glenn Morris <rgm@gnu.org>
6526
55e47f95
GM
6527 * progmodes/compile.el (compile-command): Tweak example in doc.
6528 * obsolete/scribe.el (scribe-mode):
6529 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6530
f0024d8c
GM
6531 * mail/feedmail.el (feedmail-confirm-outgoing)
6532 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6533
6534 * cus-start.el (truncate-partial-width-windows): Fix type.
6535
6536 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6537
af1c6c84
GM
6538 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6539
5514cc4c
SM
65402013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6541
6542 * emacs-lisp/timer.el (timer--time-setter): New function.
6543 (timer--time): Use it as gv-setter.
6544
6545 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6546 setter is not a symbol.
6547
7997a2f1
GJ
65482013-08-12 Grégoire Jadi <daimrod@gmail.com>
6549
6550 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6551 if sending fails. This makes debugging easier.
6552
01f1a9ab
JB
65532013-08-12 Juanma Barranquero <lekktu@gmail.com>
6554
6555 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6556 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6557 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6558
594a4307
EZ
65592013-08-12 Eli Zaretskii <eliz@gnu.org>
6560
6561 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6562
7a22490f 65632013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6564
6565 * format.el (format-annotate-function):
6566 Handle read-only text properties in the source. (Bug#14887)
6567
3e41a054
LMI
65682013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6569
5514cc4c
SM
6570 * net/eww.el (eww-display-html): Ignore coding system errors.
6571 One web site uses "utf-8lias" as the coding system.
3e41a054 6572
7ec326db
JB
65732013-08-11 Juanma Barranquero <lekktu@gmail.com>
6574
6575 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6576
5660113b
JB
65772013-08-10 Juanma Barranquero <lekktu@gmail.com>
6578
9a4ebc74
JB
6579 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6580 (tutorial--detailed-help): Remove unused local variables.
6581 (tutorial--save-tutorial-to): Use ignore-errors.
6582 (help-with-tutorial): Use looking-at-p.
6583
6584 * view.el (view-buffer-other-window, view-buffer-other-frame):
6585 Mark unused arguments.
6586
6587 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6588 (woman-select-symbol-fonts, woman, woman-find-file)
6589 (woman-insert-file-contents, woman-non-underline-faces):
6590 Use string-match-p.
6591 (woman1-unquote): Move declaration.
6592
6593 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6594 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6595 argument. Remove unused local variable.
6596 (xml-parse-elem-type): Use string-match-p.
6597 (xml-substitute-numeric-entities): Use ignore-errors.
6598
45fdb482
JB
6599 * calculator.el (calculator): Mark unused argument.
6600 (calculator-paste, calculator-quit, calculator-integer-p):
6601 Use ignore-errors.
6602 (calculator-string-to-number, calculator-decimal, calculator-exp)
6603 (calculator-op-or-exp): Use string-match-p.
6604
6605 * dired.el (dired-buffer-more-recently-used-p): Declare.
6606 (dired-insert-set-properties, dired-insert-old-subdirs):
6607 Use ignore-errors.
6608
6609 * dired-aux.el (dired-compress): Use ignore-errors.
6610 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6611 (dired-do-async-shell-command, dired-do-shell-command)
6612 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6613 (dired-insert-subdir-validate): Use string-match-p.
6614 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6615 (dired-add-entry): Use string-match-p, looking-at-p.
6616 (dired-insert-subdir-newpos): Remove unused local variable.
6617
6618 * filenotify.el (file-notify-callback): Remove unused local variable.
6619
6620 * filesets.el (filesets-error): Mark unused argument.
6621 (filesets-which-command-p, filesets-filter-dir-names)
6622 (filesets-directory-files, filesets-get-external-viewer)
6623 (filesets-ingroup-get-data): Use string-match-p.
6624
6625 * find-file.el (ff-other-file-name, ff-other-file-name)
6626 (ff-find-the-other-file, ff-cc-hh-converter):
6627 Remove unused local variables.
6628 (ff-get-file-name): Use string-match-p.
6629 (ff-all-dirs-under): Use ignore-errors.
6630
6631 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6632 (follow-select-if-visible): Remove unused local variable.
6633
6634 * forms.el (read-file-filter): Move declaration.
6635 (forms--make-format, forms--make-parser, forms-insert-record):
6636 Quote function with #'.
6637 (forms--update): Use string-match-p. Quote function with #'.
6638
6639 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6640 (help-make-xrefs): Use looking-at-p.
6641 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6642
6643 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6644 (ibuffer-confirm-operation-on): Use string-match-p.
6645
6646 * msb.el (msb-item-handler, msb-dired-item-handler):
6647 Mark unused arguments.
6648
6649 * ses.el (ses-decode-cell-symbol)
6650 (ses-kill-override): Remove unused local variable.
6651 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6652 (ses-load): Use ignore-errors, looking-at-p.
6653 (ses-jump-safe): Use ignore-errors.
6654 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6655
6656 * tabify.el (untabify, tabify): Mark unused arguments.
6657
6658 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6659 Mark unused argument.
6660 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6661 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6662
c880af52
JB
6663 * emacs-lisp/timer.el (timer--time): Define setter with
6664 gv-define-setter to avoid deprecation warning.
6665
5660113b 6666 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6667 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6668 (cmpl-statistics-block): Remove (body was commented out).
6669 All callers changed.
6670 (add-completions-from-buffer, load-completions-from-file):
6671 Remove unused variables.
6672
156aab80
JB
66732013-08-09 Juanma Barranquero <lekktu@gmail.com>
6674
5c5dee78
JB
6675 * filecache.el (file-cache-delete-file-list):
6676 Print message only when told so.
6677 (file-cache-files-matching): Use #' in mapconcat argument.
6678
156aab80
JB
6679 * ffap.el (ffap-url-at-point): Fix reference to variable
6680 thing-at-point-default-mail-uri-scheme.
6681
ad9dcd70
SM
66822013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6683
54bd972f
SM
6684 * subr.el (define-error): New function.
6685 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6686 error-file-not-found and define with define-error.
6687 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6688 and define with define-error.
6689 * userlock.el (file-locked, file-supersession):
6690 * simple.el (mark-inactive):
6691 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6692 * progmodes/ada-mode.el (ada-mode-errors):
6693 * play/life.el (life-extinct):
6694 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6695 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6696 * nxml/rng-util.el (rng-error):
6697 * nxml/rng-uri.el (rng-uri-error):
6698 * nxml/rng-match.el (rng-compile-error):
6699 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6700 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6701 * nxml/nxml-rap.el (nxml-scan-error):
6702 * nxml/nxml-outln.el (nxml-outline-error):
6703 * net/soap-client.el (soap-error):
6704 * net/gnutls.el (gnutls-error):
6705 * net/ange-ftp.el (ftp-error):
6706 * mpc.el (mpc-proc-error):
6707 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6708 (json-number-format, json-string-escape, json-string-format)
6709 (json-key-format, json-object-format):
6710 * jka-compr.el (compression-error):
6711 * international/quail.el (quail-error):
6712 * international/kkc.el (kkc-error):
6713 * emacs-lisp/ert.el (ert-test-failed):
6714 * calc/calc.el (calc-error, inexact-result, math-overflow)
6715 (math-underflow):
6716 * bookmark.el (bookmark-error-no-filename):
6717 * epg.el (epg-error): Define with define-error.
6718
0ea9e53a
SM
6719 * time.el (display-time-event-handler)
6720 (display-time-next-load-average): Don't call sit-for since it seems
6721 unnecessary (bug#15045).
6722
b0429158
SM
6723 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6724 Use #' instead of ' to quote functions.
6725 (checkdoc-output-mode): Use setq-local.
6726 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6727 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6728 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6729 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6730 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6731 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6732 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6733 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6734
ad9dcd70
SM
6735 * ido.el (ido-completion-help): Fix up compiler warning.
6736
77187e6f
JB
67372013-08-09 Juanma Barranquero <lekktu@gmail.com>
6738
6739 * frameset.el (frameset-p): Add autoload cookie.
6740 (frameset--jump-to-register): New function, based on code moved from
6741 register.el.
6742 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6743
6744 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6745 (frameset-restore, frameset-save, frameset-session-filter-alist):
6746 Remove declarations.
6747 (register-alist): Doc fix.
6748 (frameset-to-register): Move to frameset.el.
6749 (jump-to-register, describe-register-1): Remove frameset-specific code.
6750
9d3aa82c
JB
67512013-08-08 Juanma Barranquero <lekktu@gmail.com>
6752
6753 * allout-widgets.el (allout-widgets-pre-command-business)
6754 (allout-widgets-post-command-business)
6755 (allout-widgets-after-change-handler)
6756 (allout-decorate-item-and-context, allout-set-boundary-marker)
6757 (allout-body-modification-handler)
6758 (allout-graphics-modification-handler): Mark ignored arguments.
6759 (allout-widgets-post-command-business)
6760 (allout-widgets-exposure-change-processor)
6761 (allout-widgets-exposure-undo-processor)
6762 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6763 (allout-parse-item-at-point, allout-decorate-item-guides)
6764 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6765 * allout.el (epa-passphrase-callback-function): Declare.
6766 (allout-overlay-insert-in-front-handler)
6767 (allout-overlay-interior-modification-handler)
6768 (allout-isearch-end-handler, allout-chart-siblings)
6769 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6770 (allout-yank-processing, allout-process-exposed)
6771 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6772 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6773 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6774 (lisp-indent-defform): Mark ignored arguments.
6775 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6776 (calculate-lisp-indent): Remove unused variables.
6777 * international/characters.el (indian-2-column, arabic-2-column)
6778 (tibetan): Mark ignored arguments.
6779 (use-cjk-char-width-table): Mark ignored arguments.
6780 Remove unused variables.
6781 * international/fontset.el (build-default-fontset-data)
6782 (x-compose-font-name, create-fontset-from-fontset-spec):
6783 Mark ignored arguments.
6784 (fontset-plain-name): Remove unused variables.
6785 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6786 (keyboard-coding-system): Mark ignored arguments.
6787 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6788 * help.el (resize-temp-buffer-window):
6789 * window.el (display-buffer-in-major-side-window)
6790 (display-buffer-in-side-window, display-buffer-in-previous-window):
6791 Remove unused variables.
6792 * isearch.el (isearch-forward-symbol):
6793 * version.el (emacs-bzr-version-bzr):
6794 * international/mule-cmds.el (current-language-environment):
6795 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6796 (x-handle-display):
6797 * term/pc-win.el (x-list-fonts, x-display-planes)
6798 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6799 (x-server-version, x-display-screens, x-display-mm-height)
6800 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6801 (x-selection-owner-p, x-own-selection-internal)
6802 (x-disown-selection-internal, x-get-selection-internal)
6803 (msdos-initialize-window-system):
6804 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6805 * term/x-win.el (x-handle-no-bitmap-icon):
6806 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6807 (vc-default-find-file-hook, vc-default-extra-menu):
6808 Mark ignored arguments.
6809
0ca3f70e
SM
68102013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6811
6812 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6813 break-condition in the context of the debugged code (bug#12685).
6814
74c5d24c
CS
68152013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6816
6817 * comint.el:
6818 Do not use an overlay to highlight the last prompt. (Bug#14744)
6819 (comint-mode): Make comint-last-prompt buffer local.
6820 (comint-last-prompt): New variable.
6821 (comint-last-prompt-overlay): Remove. Superseded by
6822 comint-last-prompt.
0ca3f70e
SM
6823 (comint-snapshot-last-prompt, comint-output-filter):
6824 Use comint-last-prompt.
74c5d24c 6825
c03c02ee
JB
68262013-08-08 Juanma Barranquero <lekktu@gmail.com>
6827
a3738d20 6828 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6829 (frameset-save): Check validity of the resulting frameset.
6830
04263d23
XF
68312013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6832
6833 * ido.el (ido-record-command): Add doc string.
6834
76c5e5ab
JB
68352013-08-08 Juanma Barranquero <lekktu@gmail.com>
6836
6837 * frameset.el (frameset): Do not disable creation of the default
6838 frameset-p predicate. Doc fix.
6839 (frameset-valid-p): New function, copied from the old predicate-p.
6840 Add additional checks.
6841 (frameset-restore): Check with frameset-valid-p.
6842 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6843 (frameset-name, frameset-description, frameset-properties)
6844 (frameset-states): Add docstring.
f9dbf1cb
JB
6845 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6846 (frameset-filter-alist): Doc fixes.
76c5e5ab 6847
bd0c3c0b
JB
68482013-08-08 Juanma Barranquero <lekktu@gmail.com>
6849
6850 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6851
c735544c
SM
68522013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6853
6854 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6855 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6856 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6857 (byte-compile-normal-call): Remove obsolescence check.
6858
2805a651
JB
68592013-08-08 Juanma Barranquero <lekktu@gmail.com>
6860
3677ffeb
JB
6861 * frameset.el (frameset-restore): Doc fix.
6862
2805a651
JB
6863 * register.el (frameset-frame-id, frameset-frame-with-id)
6864 (frameset-p, frameset-restore, frameset-save): Declare.
6865 (register-alist): Document framesets.
6866 (frameset-session-filter-alist): Declare.
6867 (frameset-to-register): New function.
6868 (jump-to-register): Implement jumping to framesets. Doc fix.
6869 (describe-register-1): Describe framesets.
6870
6871 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6872
a912c016
JB
68732013-08-07 Juanma Barranquero <lekktu@gmail.com>
6874
6875 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6876 Use lexical-binding.
6877
6878 * frameset.el (frameset): Use type vector, not list (incompatible
6879 change). Do not declare a new constructor, use the default one.
6880 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6881 `name' and `description', respectively, and add read-only slot
6882 `timestamp'. Doc fixes.
6883 (frameset-copy, frameset-persistent-filter-alist)
6884 (frameset-filter-alist, frameset-switch-to-gui-p)
6885 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6886 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6887 (frameset-filter-iconified, frameset-keep-original-display-p):
6888 Doc fixes.
6889 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6890 Rename from frameset-filter-(save|restore)-param. All callers changed.
6891 Doc fix.
6892 (frameset-p): Adapt to change to vector and be more thorough.
6893 Change arg name to OBJECT. Doc fix.
6894 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6895 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6896 All callers changed.
6897 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6898 All callers changed.
6899 (frameset--record-minibuffer-relationships): Rename from
6900 frameset--process-minibuffer-frames. All callers changed.
6901 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6902 Use new default constructor (again). Doc fix.
6903 (frameset--find-frame-if): Rename from `frameset--find-frame.
6904 All callers changed.
6905 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6906 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6907 Doc fix.
6908 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6909 PARAMETERS and WINDOW-STATE, respectively.
6910 (frameset-restore): Add new keyword argument PREDICATE.
6911 Reset frameset--target-display to nil. Doc fix.
6912
bb41480a
SM
69132013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6914
f001e98e
SM
6915 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6916 (bat-mode): Use it.
6917 (bat-mode-syntax-table): Mark \n as end-of-comment.
6918 (bat-font-lock-keywords): Remove comment rule.
6919
7679edb1
SM
6920 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6921 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6922
bb41480a
SM
6923 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6924 (byte-compile-callargs-warn): Use `push'.
6925 (byte-compile-arglist-warn): Ignore higher-order "calls".
6926 (byte-compile-file-form-autoload): Use `pcase'.
6927 (byte-compile-function-form): If quoting a symbol, check that it exists.
6928
cdc1ebb9
EZ
69292013-08-07 Eli Zaretskii <eliz@gnu.org>
6930
6931 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6932 and add a few popular commands found in batch files.
6933 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6934 (dos-mode): Doc fixes.
6935
312b1740
SM
69362013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6937
6938 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6939 (dos-mode): Use setq-local. Add space after "rem".
6940 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6941 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6942
400a3178
AM
69432013-08-07 Arni Magnusson <arnima@hafro.is>
6944
6945 * progmodes/dos.el: New file.
6946 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6947 dos-mode.
6948
3b5c03d3
GM
69492013-08-06 Glenn Morris <rgm@gnu.org>
6950
6951 * calendar/calendar.el: Add new faces, and day-header-array.
6952 (calendar-weekday-header, calendar-weekend-header)
6953 (calendar-month-header): New faces.
6954 (calendar-day-header-construct): New function.
6955 (calendar-day-header-width): Also :set calendar-day-header-array.
6956 (calendar-american-month-header, calendar-european-month-header)
6957 (calendar-iso-month-header): Use calendar- faces.
6958 (calendar-generate-month):
6959 Use calendar-day-header-array for day headers; apply faces to them.
6960 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6961 (calendar-abbrev-construct): Add optional maxlen argument.
6962 (calendar-day-name-array): Doc fix.
6963 (calendar-day-name-array, calendar-abbrev-length)
6964 (calendar-day-abbrev-array):
6965 Also :set calendar-day-header-array, and maybe redraw.
6966 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6967 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6968 (calendar-day-name): Add option to use header array.
6969
ec6a2d7a
LMI
69702013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6971
6972 * net/shr.el (shr-render-td): Remove debugging.
6973 (shr-render-td): Make width computation consistent by defaulting
6974 all zero-width columns to 10 characters. This may not be optimal,
6975 but it's at least consistent.
2122cb6d
LMI
6976 (shr-make-table-1): Redo last change to fix the real problem in
6977 colspan handling.
ec6a2d7a 6978
ed4fd9c5
DA
69792013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6980
0ca3f70e
SM
6981 * files.el (cache-long-line-scans):
6982 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6983
64e22afe
JB
69842013-08-06 Juanma Barranquero <lekktu@gmail.com>
6985
024b38fc
JB
6986 * frameset.el (frameset, frameset-filter-alist)
6987 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6988 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6989 (frameset-compute-pos): Rename from frameset--compute-pos,
6990 and add docstring.
6991 (frameset-move-onscreen): Use frameset-compute-pos.
6992 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6993
64e22afe
JB
6994 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6995 Fix typos in docstrings.
6996
c8c2aca8
DA
69972013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6998
6999 * frame.el (get-other-frame): Tiny cleanup.
7000
1d237bba
JB
70012013-08-06 Juanma Barranquero <lekktu@gmail.com>
7002
8951efef
JB
7003 * vc/vc.el (vc-default-ignore-completion-table):
7004 Silence byte-compiler warning.
7005
307764cc 7006 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 7007 slot, which can indeed be nil.
307764cc
JB
7008 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7009 Move entry for `left' from persistent to live filter alist.
7010 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7011 Doc fixes.
7012 (frameset-filter-params): When restoring a frame, copy items added to
7013 `filtered', to avoid unwittingly modifying the original parameters.
7014 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7015 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7016
1d237bba
JB
7017 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7018 to use looking-at-p instead of looking-at. (Bug#15028)
7019
dc6c0eda
SM
70202013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7021
7022 Revert introduction of isearch-filter-predicates (bug#14714).
7023 Rely on add-function instead.
7024 * isearch.el (isearch-filter-predicates): Rename it back to
7025 isearch-filter-predicate.
7026 (isearch-message-prefix): Use advice-function-mapc and advice
7027 properties to get the isearch-message-prefix.
7028 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7029 instead of run-hook-with-args-until-failure.
7030 (isearch-filter-visible): Not obsolete any more.
7031 * loadup.el: Preload nadvice.
7032 * replace.el (perform-replace): Revert to funcall
7033 instead of run-hook-with-args-until-failure.
7034 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7035 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7036 dired-isearch-filenames-toggle; make it into a proper minor mode.
7037 Use add/remove-function.
7038 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7039 Call the minor-mode rather than add/remove-hook.
7040 (dired-isearch-filter-filenames):
7041 Remove isearch-message-prefix property.
7042 * info.el (Info--search-loop): New function, extracted from Info-search.
7043 Funcall isearch-filter-predicate instead of
7044 run-hook-with-args-until-failure isearch-filter-predicates.
7045 (Info-search): Use it.
7046 (Info-mode): Use isearch-filter-predicate instead of
7047 isearch-filter-predicates.
7048
290d5b58
DA
70492013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7050
7051 Do not call to `selected-window' where it is assumed by default.
7052 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7053 `window-hscroll', `window-width', `window-height', `window-buffer',
7054 `window-frame', `window-start', `window-point', `next-window'
7055 and `window-display-table'.
7056 * abbrev.el (abbrev--default-expand):
7057 * bs.el (bs--show-with-configuration):
7058 * buff-menu.el (Buffer-menu-mouse-select):
7059 * calc/calc.el (calc):
7060 * calendar/calendar.el (calendar-generate-window):
7061 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7062 (diary-make-entry):
7063 * comint.el (send-invisible, comint-dynamic-complete-filename)
7064 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7065 * completion.el (complete):
7066 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7067 * disp-table.el (describe-current-display-table):
7068 * doc-view.el (doc-view-insert-image):
7069 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7070 * ehelp.el (with-electric-help):
7071 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7072 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7073 * emacs-lisp/helper.el (Helper-help-scroller):
7074 * emulation/cua-base.el (cua--post-command-handler-1):
7075 * eshell/esh-mode.el (eshell-output-filter):
7076 * ffap.el (ffap-gnus-wrapper):
7077 * help-macro.el (make-help-screen):
7078 * hilit-chg.el (highlight-compare-buffers):
7079 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7080 * hl-line.el (global-hl-line-highlight):
7081 * icomplete.el (icomplete-simple-completing-p):
7082 * isearch.el (isearch-done):
7083 * jit-lock.el (jit-lock-stealth-fontify):
7084 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 7085 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
7086 * mpc.el (mpc-tagbrowser, mpc):
7087 * net/rcirc.el (rcirc-any-buffer):
7088 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7089 * play/landmark.el (landmark-max-width, landmark-max-height):
7090 * play/zone.el (zone):
7091 * progmodes/compile.el (compilation-goto-locus):
7092 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7093 * progmodes/etags.el (find-tag-other-window):
7094 * progmodes/fortran.el (fortran-column-ruler):
7095 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7096 * progmodes/verilog-mode.el (verilog-point-text):
7097 * reposition.el (reposition-window):
7098 * rot13.el (toggle-rot13-mode):
7099 * server.el (server-switch-buffer):
7100 * shell.el (shell-dynamic-complete-command)
7101 (shell-dynamic-complete-environment-variable):
7102 * simple.el (insert-buffer, set-selective-display)
7103 (delete-completion-window):
7104 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7105 (speedbar-recenter):
7106 * startup.el (fancy-splash-head):
7107 * textmodes/ispell.el (ispell-command-loop):
7108 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7109 * tutorial.el (help-with-tutorial):
7110 * vc/add-log.el (add-change-log-entry):
7111 * vc/compare-w.el (compare-windows):
7112 * vc/ediff-help.el (ediff-indent-help-message):
7113 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7114 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7115 (ediff-setup-control-frame):
7116 * vc/emerge.el (emerge-position-region):
7117 * vc/pcvs-util.el (cvs-bury-buffer):
7118 * window.el (walk-windows, mouse-autoselect-window-select):
7119 * winner.el (winner-set-conf, winner-undo): Related users changed.
7120
38276e01
JB
71212013-08-05 Juanma Barranquero <lekktu@gmail.com>
7122
7123 * frameset.el (frameset--set-id): Doc fix.
7124 (frameset-frame-id, frameset-frame-id-equal-p)
7125 (frameset-locate-frame-id): New functions.
7126 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7127 (frameset-restore): Use them.
7128
12b4c0ea
DA
71292013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7130
7131 Do not call to `selected-frame' where it is assumed by default.
7132 Affected functions are `raise-frame', `redraw-frame',
7133 `frame-first-window', `frame-terminal' and `delete-frame'.
7134 * calendar/appt.el (appt-disp-window):
7135 * epg.el (epg-wait-for-completion):
7136 * follow.el (follow-delete-other-windows-and-split)
7137 (follow-avoid-tail-recenter):
7138 * international/mule.el (set-terminal-coding-system):
7139 * mail/rmail.el (rmail-mail-return):
7140 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7141 * progmodes/f90.el (f90-add-imenu-menu):
7142 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7143 * server.el (server-switch-buffer):
7144 * simple.el (delete-completion-window):
7145 * talk.el (talk):
7146 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7147 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7148 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7149 * vc/ediff.el (ediff-documentation): Related users changed.
7150 * frame.el (selected-terminal): Remove the leftover.
7151
17f25e76
GM
71522013-08-05 Glenn Morris <rgm@gnu.org>
7153
7154 * calendar/calendar.el (calendar-generate-month):
7155 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
7156 (calendar-generate-month, calendar-font-lock-keywords):
7157 Fix for calendar-day-header-width > length of any day name.
17f25e76 7158
063233c3
JB
71592013-08-05 Juanma Barranquero <lekktu@gmail.com>
7160
7161 * desktop.el (desktop-clear): Use new name of sort predicate.
7162
7163 * frameset.el (frameset): Add docstring. Move :version property to its
7164 own `version' slot.
7165 (frameset-copy): Rename from copy-frameset.
7166 (frameset-p): Check more thoroughly.
7167 (frameset-prop): Do not check for :version, which is no longer a prop.
7168 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7169 Use new :never value instead of t.
7170 (frameset-filter-alist): Expand and clarify docstring.
7171 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7172 (frameset-filter-minibuffer, frameset-filter-save-param)
7173 (frameset-filter-restore-param, frameset-filter-iconified):
7174 Add pointer to docstring of frameset-filter-alist.
7175 (frameset-filter-params): Rename filter values to be more meaningful:
7176 :never instead of t, and reverse the meanings of :save and :restore.
7177 (frameset--process-minibuffer-frames): Clarify error message.
7178 (frameset-save): Avoid unnecessary and confusing call to framep.
7179 Use new BOA constructor for framesets.
7180 (frameset--reuse-list): Doc fix.
7181 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7182 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7183 (frameset-minibufferless-first-p): Doc fix.
7184 Rename from frameset-sort-frames-for-deletion.
7185 (frameset-restore): Doc fixes. Use new function names.
7186 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7187
d5671a82
JB
71882013-08-04 Juanma Barranquero <lekktu@gmail.com>
7189
7190 * desktop.el (desktop-restore-forces-onscreen)
7191 (desktop-restore-reuses-frames): Document :keyword constant values.
7192 (desktop-filter-parameters-alist): Remove, now identical to
7193 frameset-filter-alist.
7194 (desktop--filter-tty*): Remove, moved to frameset.el.
7195 (desktop-save-frameset, desktop-restore-frameset):
7196 Do not pass :filters argument.
7197
7198 * frameset.el (frameset-live-filter-alist)
7199 (frameset-persistent-filter-alist): New variables.
7200 (frameset-filter-alist): Use them. Add autoload cookie.
7201 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7202 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7203 `frameset--id' (it's supposed to be internal to frameset.el).
7204 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7205 (frameset--initial-params): New function.
7206 (frameset--get-frame): Use it. Doc fix.
7207 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7208 Accept :all, not 'all.
7209 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7210 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7211 with fbound symbols. Fix frame id matching, and remove matching ids if
7212 the frame being restored is deleted. Obey :delete.
7213
671d5c16
SM
72142013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7215
7216 * subr.el (macrop): New function.
7217 (text-clone--maintaining): New var.
7218 (text-clone--maintain): Rename from text-clone-maintain. Use it
7219 instead of inhibit-modification-hooks.
7220
7221 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7222 a proxy, so as handle autoloads and redefinitions of the target.
7223 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7224
7225 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7226 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7227 (pcase--mutually-exclusive-p): New function.
7228 (pcase--split-consp): Use it.
7229 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7230 mutually exclusive with the current predicate.
7231
7232 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7233 (edebug-macrop): Remove. Use `macrop' instead.
7234 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7235 (ad-macro-p):
7236 * eshell/esh-cmd.el (eshell-macrop):
7237 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7238
1d44e9dc
SM
72392013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7240
7241 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7242 (advice-mapc): New function, using it.
7243 (advice-function-member-p): New function.
7244 (advice--normalize): Store the cdr in advice--saved-rewrite since
7245 that's the part that will be changed.
7246 (advice--symbol-function): New function.
7247 (advice-remove): Handle removal before the function is defined.
7248 Adjust to new advice--saved-rewrite.
7249 (advice-member-p): Use advice-function-member-p and
7250 advice--symbol-function.
7251
5414a283
JB
72522013-08-04 Juanma Barranquero <lekktu@gmail.com>
7253
51d30f2c
JB
7254 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7255 (frameset-filter-minibuffer): Doc fix.
7256 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7257 (frameset--set-id, frameset--process-minibuffer-frames)
7258 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7259 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7260
5414a283
JB
7261 * desktop.el (desktop-clear): Only delete frames when called
7262 interactively and desktop-restore-frames is non-nil. Doc fix.
7263 (desktop-read): Set desktop-saved-frameset to nil.
7264
ab419665
XF
72652013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7266
7267 * vc/vc.el (vc-ignore): Rewrite.
7268 (vc-default-ignore-completion-table):
7269 (vc--read-lines):
7270 (vc--add-line, vc--remove-regexp): New functions.
7271
7272 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7273 (vc-svn-ignore-completion-table): New function.
7274
7275 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7276 (vc-hg-ignore-completion-table):
7277 (vc-hg-find-ignore-file): New functions.
7278
7279 * vc/vc-git.el (vc-git-ignore): Rewrite.
7280 (vc-git-ignore-completion-table):
7281 (vc-git-find-ignore-file): New functions.
7282
7283 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7284
7285 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7286 (vc-bzr-ignore-completion-table):
7287 (vc-bzr-find-ignore-file): New functions.
7288
2613dea2
JB
72892013-08-03 Juanma Barranquero <lekktu@gmail.com>
7290
7291 * frameset.el (frameset-prop): New function and setter.
7292 (frameset-save): Do not modify frame list passed by the caller.
7293
9c959872
SM
72942013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7295
7296 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7297
a104f656
SM
72982013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7299
70122acf
SM
7300 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7301 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7302
a104f656
SM
7303 * custom.el (custom-initialize-default, custom-initialize-set)
7304 (custom-initialize-reset, custom-initialize-changed): Affect the
7305 toplevel-default-value (bug#6275, bug#14586).
7306 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7307 for bug#6275.
7308
f078d570
JB
73092013-08-02 Juanma Barranquero <lekktu@gmail.com>
7310
185e3b5a
JB
7311 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7312 Add cl-def* expressions.
7313
f078d570
JB
7314 * frameset.el (frameset-filter-params): Fix order of arguments.
7315
9421876d
JB
73162013-08-02 Juanma Barranquero <lekktu@gmail.com>
7317
7318 Move code related to saving frames to frameset.el.
7319 * desktop.el: Require frameset.
7320 (desktop-restore-frames): Doc fix.
7321 (desktop-restore-reuses-frames): Rename from
7322 desktop-restoring-reuses-frames.
7323 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7324 (desktop-clear): Clear frames too.
7325 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7326 (desktop--filter-tty*, desktop-save, desktop-read):
7327 Use frameset functions.
7328 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7329 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7330 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7331 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7332 (desktop--process-minibuffer-frames, desktop-save-frames)
7333 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7334 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7335 (desktop--sort-states, desktop-restoring-frames-p)
7336 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7337 (desktop-restoring-frameset-p, desktop-restore-frameset)
7338 (desktop--check-dont-save, desktop-save-frameset): New functions.
7339 (desktop--app-id): New constant.
7340 (desktop-first-buffer, desktop-buffer-ok-count)
7341 (desktop-buffer-fail-count): Move before first use.
7342 * frameset.el: New file.
7343
76dc5996
SM
73442013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7345
7346 * files.el: Use lexical-binding.
7347 (dir-locals-read-from-file): Remove unused `err' variable.
7348 (hack-dir-local-variables--warned-coding): New var.
7349 (hack-dir-local-variables): Use it to avoid repeated warnings.
7350 (make-backup-file-name--default-function): New function.
7351 (make-backup-file-name-function): Use it as default.
7352 (buffer-stale--default-function): New function.
7353 (buffer-stale-function): Use it as default.
7354 (revert-buffer-insert-file-contents--default-function): New function.
7355 (revert-buffer-insert-file-contents-function): Use it as default.
7356 (insert-directory): Avoid add-to-list.
7357
7358 * autorevert.el (auto-revert-handler): Simplify.
7359 Use buffer-stale--default-function.
7360
06d36e2b
TH
73612013-08-01 Tassilo Horn <tsdh@gnu.org>
7362
5f648ab4
TH
7363 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7364
06d36e2b
TH
7365 * whitespace.el (whitespace-ensure-local-variables): New function.
7366 (whitespace-cleanup-region): Call it.
7367 (whitespace-turn-on): Call it.
7368
a43dc424
MA
73692013-08-01 Michael Albinus <michael.albinus@gmx.de>
7370
7371 Complete file name handlers.
7372
7373 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7374 (tramp-handle-verify-visited-file-modtime)
7375 (tramp-handle-file-notify-rm-watch): New functions.
7376 (tramp-call-process): Do not bind `default-directory'.
7377
44e18199
JB
7378 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7379 Order alphabetically.
a43dc424
MA
7380 [access-file, add-name-to-file, dired-call-process]:
7381 [dired-compress-file, file-acl, file-notify-rm-watch]:
7382 [file-ownership-preserved-p, file-selinux-context]:
7383 [make-directory-internal, make-symbolic-link, set-file-acl]:
7384 [set-file-selinux-context, set-visited-file-modtime]:
7385 [verify-visited-file-modtime]: Add handler.
7386 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7387
7388 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7389 [file-notify-add-watch, file-notify-rm-watch]:
7390 [set-file-times, set-visited-file-modtime]:
7391 [verify-visited-file-modtime]: Add handler.
7392 (with-tramp-gvfs-error-message)
7393 (tramp-gvfs-handle-set-visited-file-modtime)
7394 (tramp-gvfs-fuse-file-name): Remove.
7395 (tramp-gvfs-handle-file-notify-add-watch)
7396 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7397 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7398
44e18199
JB
7399 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7400 Order alphabetically.
a43dc424
MA
7401 [file-notify-rm-watch ]: Use default Tramp handler.
7402 [executable-find]: Remove private handler.
7403 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7404 `default-directory'.
7405 (tramp-sh-handle-executable-find)
7406 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7407 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7408 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7409 Do not use `format' in `tramp-message'.
7410
7411 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7412 [file-notify-rm-watch, set-visited-file-modtime]:
7413 [verify-visited-file-modtime]: Add handler.
7414 (tramp-smb-call-winexe): Do not bind `default-directory'.
7415
7188b515
XF
74162013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7417
7418 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7419
2412ee1a
DG
74202013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7421
7422 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7423 use it.
7424 (log-view-diff-changeset): Same.
7425 (log-view-diff-common): Call backend command `previous-revision'
7426 to find out the previous revision, in both cases. Swap the
7427 variables `to' and `fr', so that `fr' usually refers to the
7428 earlier revision (Bug#14989).
7429
5002a754
KRC
74302013-07-31 Kan-Ru Chen <kanru@kanru.info>
7431
7432 * ibuf-ext.el (ibuffer-filter-by-filename):
7433 Make it work with dired buffers too.
7434
44e18199 74352013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7436
7437 * emacs-lisp/re-builder.el (reb-color-display-p):
7438 * files.el (save-buffers-kill-terminal):
7439 * net/browse-url.el (browse-url):
7440 * server.el (server-save-buffers-kill-terminal):
7441 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7442 Prefer nil to selected-frame for the first arg of frame-parameter.
7443
aeca3fbb
XF
74442013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7445
7446 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7447
158bc55c
SB
74482013-07-30 Stephen Berman <stephen.berman@gmx.net>
7449
7450 * minibuffer.el (completion--twq-all): Try and preserve each
7451 completion's case choice (bug#14907).
7452
d50fceab
LMI
74532013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7454
ac38e731
LMI
7455 * net/network-stream.el (open-network-stream): Mention the new
7456 :nogreeting parameter.
7457 (network-stream-open-starttls): Use the :nogreeting parameter
7458 (bug#14938).
7459
1211de50
LMI
7460 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7461
997798bf
LMI
7462 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7463 more natural than popping.
7464
d50fceab 7465 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7466 (shr-urlify): Highlight under mouse.
d50fceab 7467
5c09de04
XF
74682013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7469
207d1d04
XF
7470 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7471
7472 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7473
5c09de04
XF
7474 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7475 buffer for output.
7476
3cd51eaa
XF
7477 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7478 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7479
44e18199 7480 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7481 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7482
7483 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7484
7485 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7486 buffer for output.
7487
35a89bdd
EZ
74882013-07-29 Eli Zaretskii <eliz@gnu.org>
7489
7490 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7491 initial frame is minibuffer-less. (Bug#14841)
7492
78822e94
MA
74932013-07-29 Michael Albinus <michael.albinus@gmx.de>
7494
7495 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7496 option.
7497
7498 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7499 (tramp-maybe-open-connection): Use it.
7500
9503c190
JB
75012013-07-28 Juanma Barranquero <lekktu@gmail.com>
7502
7503 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7504 minimal set of parameters passed when creating a frame, because
7505 the minibuffer status of a frame cannot be changed later.
7506
d5a845b4
SB
75072013-07-28 Stephen Berman <stephen.berman@gmx.net>
7508
7509 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7510 replace-regexp-in-string and inadvertent omissions in previous change.
7511 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7512 name of filtered items buffer.
d5a845b4 7513
ddeffb17
JB
75142013-07-28 Juanma Barranquero <lekktu@gmail.com>
7515
7516 * desktop.el: Optionally force offscreen frames back onscreen.
7517 (desktop-restoring-reuses-frames): New option.
7518 (desktop--compute-pos, desktop--move-onscreen): New functions.
7519 (desktop--make-frame): Use desktop--move-onscreen.
7520
f5950f7a
AM
75212013-07-27 Alan Mackenzie <acm@muc.de>
7522
7523 Fontify a Java generic method as a function.
7524 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7525 value to t.
7526
ae43b66a
SB
75272013-07-27 Stephen Berman <stephen.berman@gmx.net>
7528
7529 * calendar/todo-mode.el: Add command to rename todo files.
7530 (todo-rename-file): New command.
7531 (todo-key-bindings-t): Add key binding for it. Change the
7532 bindings of todo-filter-regexp-items(-multifile) to use `x'
7533 instead of `r', since the latter is better suited to the new
7534 renaming command.
7535
5ab78d3d
AM
75362013-07-27 Alan Mackenzie <acm@muc.de>
7537
7538 Make Java try-with-resources statement parse properly.
7539 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7540 (c-block-stmt-1-2-key): New language constants/variables.
7541 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7542 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7543 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7544 with c-block-stmt-1-2-key.
5ab78d3d 7545
d85c4d50
JB
75462013-07-27 Juanma Barranquero <lekktu@gmail.com>
7547
7548 * desktop.el (desktop--make-frame): Apply most frame parameters after
7549 creating the frame to force (partially or totally) offscreen frames to
7550 be restored as such.
7551
e4c467f9
XF
75522013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7553
7554 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7555 (Bug#14948)
e4c467f9 7556
7ced0d04
SM
75572013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7560 `base' arg of backtrace-frame.
7561
fec92060
EZ
75622013-07-26 Eli Zaretskii <eliz@gnu.org>
7563
7564 * simple.el (list-processes): Doc fix.
7565
d58d31fb
JB
75662013-07-26 Juanma Barranquero <lekktu@gmail.com>
7567
7568 * desktop.el (desktop--select-frame):
d85c4d50 7569 Try harder to reuse existing frames.
d58d31fb 7570
53ff3e77
SM
75712013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7572
7573 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7574 (edebug-eval): Use backtrace-eval.
7575 (edebug--display, edebug--recursive-edit): Don't let-bind the
7576 edebug-outer-* vars that keep track of variables we locally let-bind.
7577 (edebug-outside-excursion): Don't restore outside values of locally
7578 let-bound vars.
7579 (edebug--display): Use user-error.
7580 (cl-lexical-debug, cl-debug-env): Remove.
7581
045f7a53
JB
75822013-07-26 Juanma Barranquero <lekktu@gmail.com>
7583
7584 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7585 are restored to be sure that they are visible before deleting any
7586 remaining ones.
7587
59070b32
MM
75882013-07-26 Matthias Meulien <orontee@gmail.com>
7589
742a3501
XF
7590 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7591 vc-print-root-log. (Bug#14948)
59070b32 7592
b1fb3596
RS
75932013-07-26 Richard Stallman <rms@gnu.org>
7594
7595 Add aliases for encrypting mail.
7596 * epa.el (epa-mail-aliases): New option.
7597 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7598 Bind inhibit-read-only so read-only text doesn't ruin everything.
7599 (epa-mail-default-recipients): New subroutine broken out.
7600 Handle epa-mail-aliases.
7601
56ea7291
SM
76022013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7603
7604 Add support for lexical variables to the debugger's `e' command.
7605 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7606 vars, except for debugger-outer-match-data.
7607 (debugger-frame-number): Move check for "on a function call" from
7608 callers into it. Add `skip-base' argument.
7609 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7610 (debugger-env-macro): Only reset the state stored in non-variables,
7611 i.e. current-buffer and match-data.
7612 (debugger-eval-expression): Rewrite using backtrace-eval.
7613 * subr.el (internal--called-interactively-p--get-frame): Remove.
7614 (called-interactively-p):
7615 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7616 `base' arg of backtrace-frame instead.
7617
15ac32d5
GM
76182013-07-26 Glenn Morris <rgm@gnu.org>
7619
8358a09d
GM
7620 * align.el (align-regexp): Doc fix. (Bug#14857)
7621 (align-region): Explicit error if subexpression missing/does not match.
7622
15ac32d5
GM
7623 * simple.el (global-visual-line-mode):
7624 Do not duplicate the mode lighter. (Bug#14858)
7625
f47ad11b
MR
76262013-07-25 Martin Rudalics <rudalics@gmx.at>
7627
7628 * window.el (display-buffer): In display-buffer bind
7629 split-window-keep-point to t, bug#14829.
7630
02530987
JB
76312013-07-25 Juanma Barranquero <lekktu@gmail.com>
7632
7633 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7634 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7635 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7636 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7637 Change accordingly.
f63ebeb5
JB
7638 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7639 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7640
6ccb9cab 76412013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7642
6ccb9cab 7643 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7644
cb3a56d2
JB
76452013-07-25 Juanma Barranquero <lekktu@gmail.com>
7646
7647 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7648 parameter to modify-frame-parameters if the value has not changed;
7649 this is a workaround for bug#14949.
7650 (desktop--make-frame): On cl-delete-if call, check parameter name,
7651 not full parameter.
7652
7aa7fff0
XF
76532013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7654
7655 * vc/vc.el (vc-ignore): New function.
7656
7657 * vc/vc-svn.el (vc-svn-ignore): New function.
7658
7659 * vc/vc-hg.el (vc-hg-ignore): New function.
7660
7661 * vc/vc-git.el (vc-git-ignore): New function.
7662
7663 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7664 (vc-dir-ignore): New function.
7665
7666 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7667 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7668
7669 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7670
7671 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7672
889acc5c
JB
76732013-07-24 Juanma Barranquero <lekktu@gmail.com>
7674
7675 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7676 (desktop-restore-frames): Warn when deleting an existing frame failed.
7677
86c40970
GM
76782013-07-24 Glenn Morris <rgm@gnu.org>
7679
7680 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7681
d5d3c58a
MA
76822013-07-24 Michael Albinus <michael.albinus@gmx.de>
7683
7684 * filenotify.el (file-notify-supported-p):
7685 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7686 Remove functions.
7687
7688 * autorevert.el (auto-revert-use-notify):
7689 (auto-revert-notify-add-watch):
7690 * net/tramp.el (tramp-file-name-for-operation):
7691 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7692 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7693 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7694 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7695 Remove `file-notify-supported-p' entry.
7696
d100084b
GM
76972013-07-24 Glenn Morris <rgm@gnu.org>
7698
7699 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7700 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7701
ac93e56b
SM
77022013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7703
249eea30
SM
7704 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7705 checked with memq (bug#14935).
7706
ac93e56b
SM
7707 * files.el (revert-buffer-function): Use a non-nil default.
7708 (revert-buffer-preserve-modes): Declare var to
7709 provide access to the `preserve-modes' argument.
7710 (revert-buffer): Let-bind it.
7711 (revert-buffer--default): New function, extracted from revert-buffer.
7712
2cdeb903
SM
77132013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7714
7715 * lpr.el: Signal print errors more prominently.
7716 (print-region-function): Don't default to nil.
7717 (lpr-print-region): New function, extracted from print-region-1.
7718 Check lpr's return value and signal an error in case of problem.
7719 (print-region-1): Use it.
7720 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7721 versions instead.
7722 (ps-printer-name): Default to nil.
7723 (ps-printer-name-option): Default to lpr-printer-switch.
7724 (ps-print-region-function): Don't default to nil.
7725 (ps-postscript-code-directory): Simplify default.
7726 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7727 (ps-string-list, ps-eval-switch, ps-flatten-list)
7728 (ps-flatten-list-1): Remove.
7729 (ps-multibyte-buffer): Avoid setq.
7730 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7731 (print-region-function, ps-print-region-function): Don't set them here.
7732
73600831
XF
77332013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7734
0e55c076
XF
7735 * ido.el (ido-fractionp):
7736 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7737 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7738 (ido-max-directory-size, ido-max-dir-file-cache)
7739 (ido-decorations): Doc fix.
7740
73600831
XF
7741 * ansi-color.el: Fix old URL.
7742
3d012865
MM
77432013-07-23 Michael R. Mauger <michael@mauger.com>
7744
e903c210 7745 * progmodes/sql.el: Version 3.3
3d012865
MM
7746 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7747 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7748 (sql-interactive-remove-continuation-prompt): Rewrite, use
7749 functions above. Fix continuation prompt and complete output line
7750 handling.
7751 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7752 redirected output buffer.
7753 (sql-mode): Restore deleted code (Bug#13591).
7754
da77a2e2
JB
77552013-07-23 Juanma Barranquero <lekktu@gmail.com>
7756
7757 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7758
80ff0c71
MA
77592013-07-23 Michael Albinus <michael.albinus@gmx.de>
7760
7761 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7762
7763 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7764 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7765 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7766
b61d71e4
JB
77672013-07-23 Juanma Barranquero <lekktu@gmail.com>
7768
7769 * desktop.el (desktop-clear): Simplify; remove useless checks
7770 against invalid buffer names.
7771 (desktop-list*): Use cl-list*.
7772 (desktop-buffer-info, desktop-create-buffer): Simplify.
7773
c3512092
LL
77742013-07-23 Leo Liu <sdl.web@gmail.com>
7775
7776 * bookmark.el (bookmark-make-record): Restore NAME as a default
7777 value. (Bug#14933)
7778
0ac26976
SM
77792013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7d22ce18
SM
7781 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7782 extracted from autoload--insert-text.
7783 (autoload--insert-text): Remove.
7784 (autoload--print-cookie-text): New function, extracted from
7785 autoload--insert-cookie-text.
7786 (autoload--insert-cookie-text): Remove.
7787 (autoload-generate-file-autoloads): Adjust calls accordingly.
7788
9b2607e8
SM
7789 * winner.el (winner-hook-installed-p): Remove.
7790 (winner-mode): Simplify accordingly.
7791
c43a8618
SM
7792 * subr.el (add-to-list): Fix compiler-macro when `append' is
7793 not constant. Don't use `cl-member' for the base case.
7794
0ac26976
SM
7795 * progmodes/subword.el: Fix boundary case (bug#13758).
7796 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7797 own group.
7798 (subword-backward-regexp): Make it a constant.
7799 (subword-forward-internal): Don't treat a trailing capital as the
7800 beginning of a word.
7801
6874724a
AR
78022013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7803
7804 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7805 global value of tabulated-list-revert-hook (bug#14930).
7806
70f1b5e8
JB
78072013-07-22 Juanma Barranquero <lekktu@gmail.com>
7808
a1c80d9d
JB
7809 * desktop.el: Require 'cl-lib.
7810 (desktop-before-saving-frames-functions): New hook.
7811 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7812 for frames being saved. Rename from desktop--save-minibuffer-frames.
7813 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7814 Do not save frames with non-nil `desktop-dont-save' parameter.
7815 Filter out deleted frames.
a1c80d9d
JB
7816 (desktop--find-frame): Use cl-find-if.
7817 (desktop--select-frame): Use cl-(first|second|third) to access values
7818 of desktop-mini.
7819 (desktop--make-frame): Use cl-delete-if.
7820 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7821 (desktop-restore-frames): Use cl-(first|second|third) to access values
7822 of desktop-mini. Look for visible frame at the end, not while
7823 restoring frames.
7824
70f1b5e8
JB
7825 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7826 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7827 Use string-match-p, looking-at-p (bug#14927).
7828
728dc3cc
JB
78292013-07-21 Juanma Barranquero <lekktu@gmail.com>
7830
56bc453c
JB
7831 * desktop.el (desktop-saved-frame-states):
7832 Rename from desktop--saved-states; all users changed.
7833 (desktop-save-frames): Rename from desktop--save-frames.
7834 Do not save state to desktop file.
7835 (desktop-save): Save desktop-saved-frame-states to desktop file
7836 and reset to nil.
7837 (desktop-restoring-frames-p): New function.
7838 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7839 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7840 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7841
728dc3cc
JB
7842 * desktop.el: Correctly restore iconified frames.
7843 (desktop--filter-iconified-position): New function.
7844 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7845
862f1c9c
GM
78462013-07-20 Glenn Morris <rgm@gnu.org>
7847
c4074c9f
GM
7848 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7849 Let `message' do the formatting.
7850 (def-gdb-preempt-display-buffer): Add explicit format.
7851
d828e5f9
GM
7852 * image-dired.el (image-dired-track-original-file):
7853 Use with-current-buffer.
7854 (image-dired-track-thumbnail): Use with-current-buffer.
7855 Avoid changing point of wrong window.
7856
862f1c9c
GM
7857 * image-dired.el (image-dired-track-original-file):
7858 Avoid changing point of wrong window. (Bug#14909)
7859
f0398ec1 78602013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7861
7862 * progmodes/gdb-mi.el (gdb-done-or-error):
7863 Guard against "%" in gdb output. (Bug#14127)
7864
1451928f
AS
78652013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7866
763a086d
JB
7867 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7868 (Bug#14826)
f7a03897 7869
1451928f
AS
7870 * international/mule.el (coding-system-iso-2022-flags): Fix last
7871 change.
7872
99107004
KH
78732013-07-20 Kenichi Handa <handa@gnu.org>
7874
763a086d
JB
7875 * international/mule.el (coding-system-iso-2022-flags):
7876 Add `8-bit-level-4'. (Bug#8522)
99107004 7877
48494e06
LMI
78782013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7879
8ba8eec5
LMI
7880 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7881 (bug#14815).
7882
dfbc66e3
LMI
7883 * net/eww.el (eww-process-text-input): Allow inputting when the
7884 point is at the start of the line, as the properties aren't
7885 front-sticky.
7886
48494e06
LMI
7887 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7888 degenerate widths.
7889
77c92cb9
RS
78902013-07-19 Richard Stallman <rms@gnu.org>
7891
aec7da77
RS
7892 * epa.el (epa-popup-info-window): Doc fix.
7893
77c92cb9
RS
7894 * subr.el (split-string): New arg TRIM.
7895
945c5bb1
JB
78962013-07-18 Juanma Barranquero <lekktu@gmail.com>
7897
7898 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7899 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7900
e06ec67f
MA
79012013-07-18 Michael Albinus <michael.albinus@gmx.de>
7902
c7064f05 7903 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7904 `file-notify-support'. Do not autoload. Adapt all uses.
7905 (file-notify-supported-p): New defun.
7906
c7064f05
JB
7907 * autorevert.el (auto-revert-use-notify):
7908 Use `file-notify-supported-p' instead of `file-notify-support'.
7909 Adapt docstring.
e06ec67f
MA
7910 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7911
7912 * net/tramp.el (tramp-file-name-for-operation):
7913 Add `file-notify-supported-p'.
7914
7915 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7916 New defun.
7917 (tramp-sh-file-name-handler-alist): Add it as handler for
7918 `file-notify-supported-p '.
7919
7920 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7921 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7922 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7923 Add `ignore' as handler for `file-notify-*' functions.
7924
5dc8a629
EZ
79252013-07-17 Eli Zaretskii <eliz@gnu.org>
7926
7927 * simple.el (line-move-partial, line-move): Don't start vscroll or
7928 scroll-up if the current line is not taller than the window.
7929 (Bug#14881)
7930
77aea2fb
DG
79312013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7932
7933 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7934 highlight question marks in the method names as strings.
ac72c08d
DG
7935 (ruby-block-beg-keywords): Inline.
7936 (ruby-font-lock-keyword-beg-re): Extract from
7937 `ruby-font-lock-keywords'.
77aea2fb 7938
18c26d81
JD
79392013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7940
7941 * frame.el (blink-cursor-blinks): New defcustom.
7942 (blink-cursor-blinks-done): New defvar.
7943 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7944 (blink-cursor-timer-function): Check if number of blinks has been
7945 done on X and NS.
7946 (blink-cursor-suspend, blink-cursor-check): New defuns.
7947
da48522e
GM
79482013-07-15 Glenn Morris <rgm@gnu.org>
7949
7950 * edmacro.el (edmacro-format-keys): Fix previous change.
7951
0463c1ef
PE
79522013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7953
7954 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7955 The hack didn't work outside English locales anyway.
7956
b43f6451
JB
79572013-07-15 Juanma Barranquero <lekktu@gmail.com>
7958
7959 * simple.el (define-alternatives): Rename from alternatives-define,
7960 per RMS' suggestion.
7961
b958c0ad
JB
79622013-07-14 Juanma Barranquero <lekktu@gmail.com>
7963
7964 * desktop.el (desktop-restore-frames): Change default to t.
7965 (desktop-restore-in-current-display): Now offer more options.
7966 (desktop-restoring-reuses-frames): New customization option.
7967 (desktop--saved-states): Doc fix.
7968 (desktop-filter-parameters-alist): New variable, renamed and expanded
7969 from desktop--excluded-frame-parameters.
7970 (desktop--target-display): New variable.
7971 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7972 (desktop--filter-tty*, desktop--filter-*-color)
7973 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7974 (desktop--filter-save-desktop-parm)
7975 (desktop-restore-in-original-display-p): New functions.
7976 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7977 (desktop--save-minibuffer-frames): New function, inspired by a similar
7978 function from Martin Rudalics.
7979 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7980 (desktop--restore-in-this-display-p): Remove.
7981 (desktop--find-frame): Rename from desktop--find-frame-in-display
7982 and add predicate argument.
7983 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7984 (desktop--reuse-list): New variable.
7985 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7986 New functions.
7987 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7988
f6dd8b36
MA
79892013-07-14 Michael Albinus <michael.albinus@gmx.de>
7990
7991 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7992
2ce3c565
DG
79932013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7994
763a086d
JB
7995 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7996 Highlight conversion methods on Kernel.
2ce3c565 7997
2cdb7698
AM
79982013-07-13 Alan Mackenzie <acm@muc.de>
7999
8000 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8001 and comment it out. This out-commenting enables certain C++
8002 declarations to be parsed correctly.
8003
1a67b811
EZ
80042013-07-13 Eli Zaretskii <eliz@gnu.org>
8005
1b796d6b
EZ
8006 * international/mule.el (define-coding-system): Doc fix.
8007
1a67b811
EZ
8008 * simple.el (default-font-height): Don't call font-info if the
8009 frame's default font didn't change since the frame was created.
8010 (Bug#14838)
8011
58fbe886
LL
80122013-07-13 Leo Liu <sdl.web@gmail.com>
8013
8014 * ido.el (ido-read-file-name): Guard against non-symbol value.
8015
1f0480d4
FEG
80162013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8017
8018 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8019 in nested defuns.
8020
97ead0e5
LL
80212013-07-13 Leo Liu <sdl.web@gmail.com>
8022
8023 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8024 ido-set-matches call. (Bug#6852)
8025
0880a952
DG
80262013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8027
8028 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8029 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8030 Ruby 2.0.
8031 (ruby-font-lock-keywords): Distinguish calls to functions with
8032 module-like names from module references. Highlight character
8033 literals.
8034
a7d8babb
SDJ
80352013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8036
8037 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 8038 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 8039
acfcc8c5
JB
80402013-07-12 Juanma Barranquero <lekktu@gmail.com>
8041
8042 * desktop.el (desktop--v2s): Remove unused local variable.
8043 (desktop-save-buffer): Make defvar-local; adjust docstring.
8044 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8045 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8046
051f2775
AS
80472013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8048
8049 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8050
f24e7572
GM
80512013-07-12 Eli Zaretskii <eliz@gnu.org>
8052
8053 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8054 (Bug#14842)
8055
539a920c
GM
80562013-07-12 Glenn Morris <rgm@gnu.org>
8057
8058 * doc-view.el: Require cl-lib at runtime too.
8059 (doc-view-remove-if): Remove.
8060 (doc-view-search-next-match, doc-view-search-previous-match):
8061 Use cl-remove-if.
8062
8063 * edmacro.el: Require cl-lib at runtime too.
8064 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8065 (edmacro-mismatch, edmacro-subseq): Remove.
8066
8067 * shadowfile.el: Require cl-lib.
8068 (shadow-remove-if): Remove.
8069 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8070 Use cl-remove-if.
8071
8072 * wid-edit.el: Require cl-lib.
8073 (widget-choose): Use cl-remove-if.
8074 (widget-remove-if): Remove.
8075
8076 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8077 (ebrowse-delete-if-not): Remove.
8078 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8079 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8080 Use cl-delete-if-not.
8081
1048af7c
JB
80822013-07-12 Juanma Barranquero <lekktu@gmail.com>
8083
8084 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8085 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8086
6c0674ee
LL
80872013-07-12 Leo Liu <sdl.web@gmail.com>
8088
8089 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8090
a19b3c2d
GM
80912013-07-11 Glenn Morris <rgm@gnu.org>
8092
4582a01c
GM
8093 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8094 (edebug-gensym-index, edebug-gensym):
8095 Remove reimplementation of cl-gensym.
8096 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8097
8098 * thumbs.el: Require cl-lib at run-time too.
8099 (thumbs-gensym-counter, thumbs-gensym):
8100 Remove reimplementation of cl-gensym.
8101 (thumbs-temp-file): Use cl-gensym.
8102
a19b3c2d
GM
8103 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8104 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8105 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8106 (ert--union, ert--gensym-counter, ert--gensym-counter)
8107 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8108 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8109 (ert-make-test-unbound, ert--expand-should-1)
8110 (ert--expand-should, ert--should-error-handle-error)
8111 (should-error, ert--explain-equal-rec)
8112 (ert--plist-difference-explanation, ert-select-tests)
8113 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8114 Use cl-lib functions rather than reimplementations.
8115
88f6a933
MA
81162013-07-11 Michael Albinus <michael.albinus@gmx.de>
8117
8118 * net/tramp.el (tramp-methods): Extend docstring.
8119 (tramp-connection-timeout): New defcustom.
8120 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8121 (with-tramp-progress-reporter): Simplify.
8122 (tramp-process-actions): Improve messages.
8123
8124 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8125 * net/tramp-sh.el (tramp-maybe-open-connection):
8126 Use `tramp-connection-timeout'.
8127 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8128 (Bug#14808)
8129
a43d577e
LL
81302013-07-11 Leo Liu <sdl.web@gmail.com>
8131
8132 * ido.el (ido-read-file-name): Conform to the requirements of
8133 read-file-name. (Bug#11861)
8134 (ido-read-directory-name): Conform to the requirements of
8135 read-directory-name.
8136
d77974bf
JB
81372013-07-11 Juanma Barranquero <lekktu@gmail.com>
8138
8139 * subr.el (delay-warning): New function.
8140
35cb8a3e
EZ
81412013-07-10 Eli Zaretskii <eliz@gnu.org>
8142
8143 * simple.el (default-line-height): New function.
8144 (line-move-partial, line-move): Use it instead of computing the
8145 line height inline.
8146 (line-move-partial): Always compute ROWH. If the last line is
8147 partially-visible, but its text is completely visible, allow
8148 cursor to enter such a partially-visible line.
8149
525c5c77
MA
81502013-07-10 Michael Albinus <michael.albinus@gmx.de>
8151
8152 Improve error messages. (Bug#14808)
8153
8154 * net/tramp.el (tramp-current-connection): New defvar, moved from
8155 tramp-sh.el.
0ac26976 8156 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 8157 needed anymore.
0ac26976
SM
8158 (tramp-error-with-buffer): Show message in minibuffer.
8159 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
8160 (with-tramp-progress-reporter): Improve messages.
8161 (tramp-process-actions): Use progress reporter. Delete process in
8162 case of error. Improve messages.
8163
763a086d
JB
8164 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8165 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 8166 (tramp-current-connection): Remove.
525c5c77
MA
8167 (tramp-maybe-open-connection): The car of
8168 `tramp-current-connection' are the first 3 slots of the vector.
8169
c7a4d368
TZ
81702013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8171
8172 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8173 inside continued strings.
8174
954b166e
PE
81752013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8176
8177 Timestamp fixes for undo (Bug#14824).
8178 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8179
56973319
LL
81802013-07-10 Leo Liu <sdl.web@gmail.com>
8181
8182 * files.el (require-final-newline): Allow safe local value.
8183 (Bug#14834)
8184
5550a72c
LL
81852013-07-09 Leo Liu <sdl.web@gmail.com>
8186
8187 * ido.el (ido-read-directory-name): Handle fallback.
8188 (ido-read-file-name): Update DIR to ido-current-directory.
8189 (Bug#1516)
c28b9050 8190 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 8191
70c46b28
DG
81922013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8193
8194 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8195 "autoload". Remove "warn lower camel case" section, previously
8196 commented out. Highlight negation char. Do not highlight the
8197 target in singleton method definitions.
8198
0b64b838
SM
81992013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8200
7fd72e2c
SM
8201 * faces.el (tty-setup-hook): Declare the hook.
8202
0b64b838
SM
8203 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8204 and detect when a guard/pred depends on local vars (bug#14773).
8205 (pcase--u1): Adjust caller.
8206
ab49d60b
EZ
82072013-07-08 Eli Zaretskii <eliz@gnu.org>
8208
8209 * simple.el (line-move-partial, line-move): Account for
8210 line-spacing.
701d79aa
EZ
8211 (line-move-partial): Avoid setting vscroll when the last
8212 partially-visible line in window is of default height.
ab49d60b 8213
2d756ae0
LMI
82142013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8215
8216 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8217 been used a while.
8218
ed095bd7
JB
82192013-07-07 Juanma Barranquero <lekktu@gmail.com>
8220
8221 * subr.el (read-quoted-char): Remove unused local variable `char'.
8222
f1e6674b
MK
82232013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8224
584ee3fc
GM
8225 * ediff.el (ediff-version): Version update.
8226 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8227 (ediff-merge-with-ancestor-command, ediff-directories-command)
8228 (ediff-directories3-command, ediff-merge-directories-command)
8229 (ediff-merge-directories-with-ancestor-command): New functions.
8230 All are command-line interfaces to ediff: to facilitate calling
8231 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8232
8233 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8234 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8235
584ee3fc
GM
8236 * viper.el (viper-version): Version update.
8237 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8238
584ee3fc
GM
82392013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8242 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8243 (viper-intercept-ESC-key): Simplify.
8244 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8245 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8246 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8247 (viper-setup-ESC-to-escape): New functions.
8248 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8249 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8250
9aff9b38
EZ
82512013-07-07 Eli Zaretskii <eliz@gnu.org>
8252
5165d44a
JB
8253 * simple.el (default-font-height, window-screen-lines):
8254 New functions.
9aff9b38
EZ
8255 (line-move, line-move-partial): Use them instead of
8256 frame-char-height and window-text-height. This makes scrolling
8257 text smoother when the buffer's default face uses a font that is
8258 different from the frame's default font.
8259
1afb1d07
JD
82602013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8261
8262 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8263 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8264
23de972a
EZ
82652013-07-06 Eli Zaretskii <eliz@gnu.org>
8266
8267 * simple.el (line-move-partial): Adjust the row returned by
8268 posn-at-point for the current window-vscroll. (Bug#14567)
8269
54a42486
MA
82702013-07-06 Michael Albinus <michael.albinus@gmx.de>
8271
8272 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8273 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8274 spaces.
8275
34ada5f4
MR
82762013-07-06 Martin Rudalics <rudalics@gmx.at>
8277
8278 * window.el (window-state-put-stale-windows): New variable.
8279 (window--state-put-2): Save list of windows without matching buffer.
8280 (window-state-put): Remove "bufferless" windows if possible.
8281
11e03d89
JB
82822013-07-06 Juanma Barranquero <lekktu@gmail.com>
8283
8284 * simple.el (alternatives-define): Remove leftover :group keyword.
8285 Tweak docstring.
8286
3504a4be
LL
82872013-07-06 Leo Liu <sdl.web@gmail.com>
8288
8289 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8290 (ido-enable-virtual-buffers): New variable.
8291 (ido-buffer-internal, ido-toggle-virtual-buffers)
8292 (ido-make-buffer-list): Use it.
8293 (ido-exhibit): Support turning on and off virtual buffers
8294 automatically.
8295
61e56e2c
JB
82962013-07-06 Juanma Barranquero <lekktu@gmail.com>
8297
8298 * simple.el (alternatives-define): New macro.
8299
321e1a9c
SM
83002013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8301
8302 * subr.el (read-quoted-char): Use read-key.
8303 (sit-for): Let read-event decode tty input (bug#14782).
8304
d610f6dd
SB
83052013-07-05 Stephen Berman <stephen.berman@gmx.net>
8306
8307 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8308 mode command and externally. Fix various related bugs.
8309 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8310 (todo-delete-file): New command.
8311 (todo-check-file): New function.
8312 (todo-show): Handle external deletion of the file we're trying to
8313 show (bug#14688). Replace called-interactively-p by an optional
8314 prefix argument to avoid problematic interaction with catch form
8315 when byte compiled (bug#14702).
8316 (todo-quit): Handle external deletion of the archive's todo file.
8317 Make sure the buffer that was visiting the archive file is still
8318 live before trying to bury it.
8319 (todo-category-completions): Handle external deletion of any
8320 category completion files.
8321 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8322 of todo files, in case of external deletion.
8323 (todo-add-file): Replace unnecessary setq by let-binding.
8324 (todo-find-archive): Check whether there are any archives.
8325 Replace unnecessary setq by let-binding.
8326 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8327 archive buffer whether or not the archive already exists.
8328 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8329 check if the archive is new; if it is, update list of archives.
8330 (todo-default-todo-file): Allow nil to be a valid value for when
8331 there are no todo files.
8332 (todo-reevaluate-default-file-defcustom): Use corrected definition
8333 of todo-default-todo-file.
8334 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8335 (todo-delete-category, todo-show-categories-table)
8336 (todo-category-number): Clarify comment.
8337 (todo-filter-items): Clarify documentation string.
8338 (todo-show-current-file, todo-display-as-todo-file)
8339 (todo-reset-and-enable-done-separator): Tweak documentation string.
8340 (todo-done-separator): Make separator length window-width, since
8341 bug#2749 is now fixed.
8342
ddbdfd6f
MA
83432013-07-05 Michael Albinus <michael.albinus@gmx.de>
8344
321e1a9c
SM
8345 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8346 Support both "gvfs-monitor-dir" and "inotifywait".
8347 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8348 `tramp-sh-file-notify-process-filter'.
8349 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8350 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8351
96eb829a
LL
83522013-07-05 Leo Liu <sdl.web@gmail.com>
8353
8354 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8355
cf13177e
YM
83562013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8357
8358 * frame.el (display-pixel-height, display-pixel-width)
8359 (display-mm-height, display-mm-width): Mention behavior on
8360 multi-monitor setups in docstrings.
8361 (w32-display-monitor-attributes-list): Declare function.
8362 (display-monitor-attributes-list): Use it.
8363
864c58ca
MA
83642013-07-04 Michael Albinus <michael.albinus@gmx.de>
8365
8366 * filenotify.el: New package.
8367
8368 * autorevert.el (top): Require filenotify.el.
8369 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8370 instead.
8371 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8372 (auto-revert-notify-handler): Use `file-notify-*' functions.
8373
8374 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8375
321e1a9c
SM
8376 * net/tramp.el (tramp-file-name-for-operation):
8377 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8378
8379 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8380 for `file-notify-add-watch' and `file-notify-rm-watch'.
8381 (tramp-process-sentinel): Improve trace.
8382 (tramp-sh-handle-file-notify-add-watch)
8383 (tramp-sh-file-notify-process-filter)
8384 (tramp-sh-handle-file-notify-rm-watch)
8385 (tramp-get-remote-inotifywait): New defuns.
8386
96673afe
JL
83872013-07-03 Juri Linkov <juri@jurta.org>
8388
8389 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8390 call of `occur-read-primary-args' to interactive spec.
8391
8392 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8393 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8394
924494f4
MM
83952013-07-03 Matthias Meulien <orontee@gmail.com>
8396
8397 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8398 `Buffer-menu-multi-occur'. Add it to the menu.
8399 (Buffer-menu-mode): Document it in docstring.
8400 (Buffer-menu-multi-occur): New command. (Bug#14673)
8401
56f75efc
DG
84022013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8403
8404 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8405 keywords and built-ins.
8406
9b057d61
GM
84072013-07-03 Glenn Morris <rgm@gnu.org>
8408
208dee4d
GM
8409 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8410
9b057d61
GM
8411 Make info-xref checks case-sensitive by default
8412 * info.el (Info-find-node, Info-find-in-tag-table)
8413 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8414 Add option for exact case matching of nodes.
8415 * info-xref.el (info-xref): New custom group.
8416 (info-xref-case-fold): New option.
8417 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8418
e01aa29c
LL
84192013-07-03 Leo Liu <sdl.web@gmail.com>
8420
8421 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8422
3086ca2e
DG
84232013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8424
8425 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8426 middle of block statement initially, lower the depth. Remove
8427 FIXME comment, not longer valid. Remove middle of block statement
8428 detection, no need to do that anymore since we've been using
8429 `ruby-parse-region' here.
8430
a3b49114
JD
84312013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8432
8433 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8434
08e5c823 84352013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8436
8437 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8438
2addf922
JB
84392013-07-01 Juanma Barranquero <lekktu@gmail.com>
8440
8441 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8442 (desktop-restore-in-current-display): New customization option.
8443 (desktop--excluded-frame-parameters): Add `font'.
8444 (desktop--save-frames): Rename from desktop--save-windows.
8445 (desktop--restore-in-this-display-p): New function.
8446 (desktop--make-full-frame): Remove unwanted width/height from
8447 full(width|height) frames.
8448 (desktop--restore-frames): Rename from desktop--restore-windows.
8449 Obey desktop-restore-current-display. Do not delete old frames or
8450 select a new frame unless we were able to restore at least one frame.
8451
ef099a94
MN
84522013-06-30 Michal Nazarewicz <mina86@mina86.com>
8453
8454 * files.el (find-file-noselect): Simplify conditional expression.
8455
a12bf61e 8456 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8457 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8458
8459 Add `remember-notes' function to store random notes across Emacs
8460 restarts.
3fcfc4ee
JB
8461 * textmodes/remember.el (remember-data-file): Add :set callback to
8462 affect notes buffer (if any).
ef099a94
MN
8463 (remember-notes): New command.
8464 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8465 New defcustoms for the `remember-notes' function.
8466 (remember-notes-save-and-bury-buffer): New command.
8467 (remember-notes-mode-map): New variable.
8468 (remember-mode): New minor mode.
8469 (remember-notes--kill-buffer-query): New function.
8470 * startup.el (initial-buffer-choice): Add notes to custom type.
8471
0865d506
EZ
84722013-06-30 Eli Zaretskii <eliz@gnu.org>
8473
0ba54312
EZ
8474 * bindings.el (right-char, left-char): Don't call sit-for, this is
8475 no longer needed. Use arithmetic comparison only for numerical
8476 arguments.
8477
ef099a94
MN
8478 * international/mule-cmds.el (select-safe-coding-system):
8479 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8480
2fae38e5
LMI
84812013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8482
8483 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8484 progression on degenerate tables.
ef099a94 8485 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8486
a47cbd64
JB
84872013-06-30 Juanma Barranquero <lekktu@gmail.com>
8488
8489 Some fixes and improvements for desktop frame restoration.
8490 It is still experimental and disabled by default.
8491 * desktop.el (desktop--save-windows): Put the selected frame at
8492 the head of the list.
8493 (desktop--make-full-frame): New function.
8494 (desktop--restore-windows): Try to re-select the frame that was
8495 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8496 just show an error message and continue. Set up maximized frames
8497 so they have default non-maximized dimensions.
a47cbd64 8498
6dbafa30
DG
84992013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8500
ef099a94
MN
8501 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8502 Don't start heredoc inside a string or comment.
6dbafa30 8503
4c672a0f
EZ
85042013-06-29 Eli Zaretskii <eliz@gnu.org>
8505
8506 * bindings.el (visual-order-cursor-movement): New defcustom.
8507 (right-char, left-char): Provide visual-order cursor motion by
8508 calling move-point-visually. Update the doc strings.
8509
50960f36
KH
85102013-06-28 Kenichi Handa <handa@gnu.org>
8511
8512 * international/mule.el (define-coding-system): New coding system
8513 properties :inhibit-null-byte-detection,
8514 :inhibit-iso-escape-detection, and :prefer-utf-8.
8515 (set-buffer-file-coding-system): If :charset-list property of
8516 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8517 appropriate for setting.
8518
c1ea3abf
JB
8519 * international/mule-cmds.el (select-safe-coding-system):
8520 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8521 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8522
8523 * international/mule-conf.el (prefer-utf-8): New coding system.
8524 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8525 files.
8526
75dbaf9d
IK
85272013-06-28 Ivan Kanis <ivan@kanis.fr>
8528
eadb6068
IK
8529 * net/shr.el (shr-render-region): New function.
8530
75dbaf9d
IK
8531 * net/eww.el: Autoload `eww-browse-url'.
8532
9ea5cf9f
DG
85332013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8534
c1ea3abf
JB
8535 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8536 Adapt to `package-desc-version' being a list.
8537 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8538 archive element.
8539
39c0e36f
JB
85402013-06-27 Juanma Barranquero <lekktu@gmail.com>
8541
8542 New experimental feature to save&restore window and frame setup.
8543 * desktop.el (desktop-save-windows): New defcustom.
8544 (desktop--saved-states): New var.
8545 (desktop--excluded-frame-parameters): New defconst.
8546 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8547 (desktop--restore-windows, desktop--save-windows): New functions.
8548 (desktop-save): Call `desktop--save-windows'.
8549 (desktop-read): Call `desktop--restore-windows'.
8550
7f13406b
LMI
85512013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8552
ef099a94 8553 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8554
1e072639
SB
85552013-06-27 Stephen Berman <stephen.berman@gmx.net>
8556
8557 * info.el (Info-try-follow-nearest-node): Move search for footnote
8558 above search for node name to prevent missing a footnote (bug#14717).
8559
f3e2cbde
SB
85602013-06-27 Stephen Berman <stephen.berman@gmx.net>
8561
8562 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8563
99906aa0
LL
85642013-06-27 Leo Liu <sdl.web@gmail.com>
8565
8566 * net/eww.el (eww-read-bookmarks): Check file size.
8567
539f75f4
SM
85682013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8569
8570 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8571 advice--pending if newdef is nil or an autoload (bug#13820).
8572 (advice-mapc): New function.
8573
843571cb
LMI
85742013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8575
8576 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8577 probably.
23a75d7f 8578 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8579 (eww-add-bookmark): New command.
8580 (eww-bookmark-mode): New mode and commands.
a285ce99 8581 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8582 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8583
f2136e1e
GM
85842013-06-26 Glenn Morris <rgm@gnu.org>
8585
eab35f39
GM
8586 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8587 (hfy-size): Handle ttys. (Bug#14668)
8588
f2136e1e
GM
8589 * info-xref.el: Update for Texinfo 5 change in *note format.
8590 (info-xref-node-re, info-xref-note-re): New constants.
8591 (info-xref-check-buffer): Use info-xref-note-re.
8592
a49ff80c
SM
85932013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8594
a343d218
SM
8595 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8596
a49ff80c
SM
8597 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8598 nil terminate the loop (bug#14718).
8599
8308f184
LMI
86002013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8601
8602 * net/eww.el: Rework history traversal. When going forward/back,
8603 put these actions into the history, too, so that they can be
8604 replayed.
26bf2b82 8605 (eww-render): Move the history reset to the correct buffer.
8308f184 8606
ec64c273
JL
86072013-06-25 Juri Linkov <juri@jurta.org>
8608
8609 * files-x.el (modify-dir-local-variable): Change the header comment
8610 in the file with directory local variables. (Bug#14692)
8611
e080a9d7
JL
8612 * files-x.el (read-file-local-variable-value): Add `default'.
8613 (Bug#14710)
8614
bfbc93a1
IK
86152013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8616
8617 * net/eww.el (eww-make-unique-file-name): Create a unique file
8618 name before saving to entering `y' accidentally asynchronously.
8619
86202013-06-25 Ivan Kanis <ivan@kanis.fr>
8621
8622 * net/eww.el (eww-download): New command and keystroke.
8623
16f74f10
LMI
86242013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8625
a49ff80c 8626 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8627
8628 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8629 be more consistent with Info and dired.
8630
8631 * net/eww.el (eww-mode-map): Ditto.
8632
12059709
SM
86332013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8636 packages from archives.
8637 (package-archive-contents): Change format; include obsolete packages.
8638 (package-desc): Use `dir' to mark builtin packages.
8639 (package--from-builtin): Set the `dir' field to `builtin'.
8640 (generated-autoload-file, version-control): Declare.
8641 (package-compute-transaction): Change first arg and return value to be
8642 lists of package-descs. Adjust to new package-archive-contents format.
8643 (package--add-to-archive-contents): Adjust to new
8644 package-archive-contents format.
8645 (package-download-transaction): Arg is now a list of package-descs.
8646 (package-install): If `pkg' is a package name, pass it as
8647 a requirement, so it is subject to the usual (e.g. disabled) checks.
8648 (describe-package): Accept package-desc as well.
8649 (describe-package-1): Describe a specific package-desc. Add links to
8650 other package-descs for the same package name.
8651 (package-menu-describe-package): Pass the actual package-desc.
8652 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8653 works correctly.
8654 (package-desc-status): New function.
8655 (package-menu--refresh): New function, extracted
8656 from package-menu--generate.
8657 (package-menu--generate): Use it.
8658 (package-delete): Update package-alist.
8659 (package-menu-execute): Don't call package-initialize.
8660
8661 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8662 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8663 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8664 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8665 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8666 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8667
8bbdea0f
MR
86682013-06-25 Martin Rudalics <rudalics@gmx.at>
8669
8670 * window.el (window--state-get-1): Workaround for bug#14527.
8671 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8672
e82b0991
LMI
86732013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8674
8675 * net/eww.el (eww-back-url): Implement the history by stashing all
8676 the data into a list.
d3f0f918 8677 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8678
c763842b
SM
86792013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8680
8681 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8682 for values and use read--expression for expressions (bug#14710).
8683 (read-file-local-variable): Avoid setq.
8684 (read-file-local-variable-mode): Use minor-mode-list.
8685
bceff189
RW
86862013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8687
864c58ca 8688 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8689 for DOI URLs.
8690
45f431c6
RW
86912013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8692
864c58ca 8693 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8694 Update imenu-support when dialect changes.
8695
f42d8237
LL
86962013-06-25 Leo Liu <sdl.web@gmail.com>
8697
8698 * ido.el (ido-read-internal): Allow forward slash on windows.
8699
be549ce6
LMI
87002013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8701
8702 * net/eww.el (eww): Start of strings is \\`, not ^.
8703
71d4c19d
IK
87042013-06-24 Ivan Kanis <ivan@kanis.fr>
8705
5196f88a
IK
8706 * net/shr.el (shr-browse-url): Fix interactive spec.
8707
71d4c19d
IK
8708 * net/eww.el (eww): Add a trailing slash to domain names.
8709
ae36ca55
JB
87102013-06-24 Juanma Barranquero <lekktu@gmail.com>
8711
8712 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8713
0ebd92a3
LMI
87142013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8715
bdaa086b
LMI
8716 * net/shr.el (shr-browse-url): Use an external browser if given a
8717 prefix.
8718
c763842b 8719 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8720
b89fc156
IK
87212013-06-24 Ivan Kanis <ivan@kanis.fr>
8722
8723 * net/eww.el (eww): Work more correctly for file: URLs.
8724 (eww-detect-charset): Allow quoted charsets.
8725 (eww-yank-page-url): New command and keystroke.
8726
18eb4bca
DU
87272013-06-24 Daiki Ueno <ueno@gnu.org>
8728
8729 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8730 file name of gpg executable.
8731 (epg-context-program): New function.
8732 (epg-context-home-directory): New function.
8733 (epg-context-set-program): New function.
8734 (epg-context-set-home-directory): New function.
8735 (epg--start): Use `epg-context-program' instead of
8736 'epg-gpg-program'.
8737 (epg--list-keys-1): Likewise.
8738
6c6268c8
LL
87392013-06-24 Leo Liu <sdl.web@gmail.com>
8740
8741 * ido.el (ido-read-internal): Fix bug#14620.
8742
5e400cb3
JB
87432013-06-23 Juanma Barranquero <lekktu@gmail.com>
8744
8745 * faces.el (face-documentation): Simplify.
8746 (read-face-attribute, tty-find-type, x-resolve-font-name):
8747 Use `string-match-p'.
8748 (list-faces-display): Use `string-match-p'. Simplify.
8749 (face-spec-recalc): Check face to avoid face alias loops.
8750 (read-color): Use `string-match-p' and non-capturing parenthesis.
8751
f3f9606c
LMI
87522013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8753
8754 * net/shr.el (shr-rescale-image): Use the new
8755 :max-width/:max-height functionality.
8756
a3ca09b9
IK
87572013-06-23 Ivan Kanis <ivan@kanis.fr>
8758
8759 * net/eww.el (eww-search-prefix): New variable.
8760 (eww): Use it.
f865b474
IK
8761 (eww-external-browser): New variable.
8762 (eww-mode-map): New keystroke.
8763 (eww-browse-with-external-browser): New command.
a3ca09b9 8764
e854cfc7
IK
8765 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8766
18bb9e21
JB
87672013-06-23 Juanma Barranquero <lekktu@gmail.com>
8768
8769 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8770 Don't skip aligning the next header field when padding is 0;
8771 otherwise, field width is not respected unless the title is as
8772 wide as the field.
8773
5b165ade
SM
87742013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8775
8776 * emacs-lisp/package.el (package-el-version): Remove.
8777 (package-process-define-package): Fix inf-loop.
8778 (package-install): Allow symbols as arguments again.
8779
12adebe9
DG
87802013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8781
8782 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8783 add some more keyword-like methods.
8784 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8785
388573ee
JB
87862013-06-22 Juanma Barranquero <lekktu@gmail.com>
8787
8788 * bs.el (bs-buffer-show-mark): Make defvar-local.
8789 (bs-mode): Use setq-local.
8790
8791 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8792 (emacs-lock--try-unlocking): Make defvar-local.
8793
4582a01c 87942013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8795
2663dd23
GM
8796 * play/cookie1.el (cookie-apropos): Minor simplification.
8797
3d94f3ad
GM
8798 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8799
f72e2fdb
DG
88002013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8801
8802 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8803 `regexp-opt', it breaks the build during dumping.
8804
73eab938
DG
88052013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8806
c763842b
SM
8807 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8808 Highlight keyword-like methods on Kernel and Module with
73eab938 8809 font-lock-builtin-face.
5cf8176d
DG
8810 (auto-mode-alist): Consolidate different entries into one regexp
8811 and add more *file-s.
73eab938 8812
d26255f6
SB
88132013-06-21 Stephen Berman <stephen.berman@gmx.net>
8814
8815 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8816
8817 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8818 (diary-entry): Use it in the action of this button type instead of
8819 diary-goto-entry.
8820
8821 * calendar/todo-mode.el: New version.
8822 (todo-add-category): Append new category to end of file and give
8823 it the highest number, instead of putting it at the beginning and
8824 giving it 0. Incorporate noninteractive functionality.
8825 (todo-forward-category): Adapt to 1-based category numbering.
8826 Allow skipping over archived categories.
8827 (todo-backward-category): Derive from todo-forward-category.
8828 (todo-backward-item, todo-forward-item): Make noninteractive and
8829 delegate interactive part to new commands. Make sensitive to done items.
8830 (todo-categories): Make value an alist of category names and
8831 vectors of item counts.
8832 (todo-category-beg): Make a defconst.
8833 (todo-category-number): Use 1 instead of 0 as initial value.
8834 (todo-category-select): Make sensitive to overlays, optional item
8835 highlighting and done items.
8836 (todo-delete-item): Make sensitive to overlays and marked and done items.
8837 (todo-edit-item): Make sensitive to overlays and editing of
8838 date/time header optional. Add format checks.
8839 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8840 no-op if point is not on an item. Advertise using todo-edit-quit.
8841 (todo-edit-mode): Make sensitive to new format, font-locking, and
8842 multiple todo files.
8843 (todo-insert-item, todo-insert-item-here): Derive from
8844 todo-basic-insert-item and extend functionality.
8845 (todo-item-end, todo-item-start): Make sensitive to done items.
8846 (todo-item-string): Don't return text properties. Restore point.
8847 (todo-jump-to-category): Make sensitive to multiple todo files and
8848 todo archives. Use extended category completion.
8849 (todo-lower-item, todo-raise-item): Rename to *-priority and
8850 derive from todo-set-item-priority.
8851 (todo-mode): Derive from special-mode. Make sensitive to new
8852 format, font-locking and multiple todo files. Make read-only.
8853 (todo-mode-map): Don't suppress digit keys, so they can supply
8854 prefix arguments. Add many new key bindings.
8855 (todo-prefix): Insert as an overlay instead of file text.
8856 Change semantics from diary date expression to purely visual mark.
8857 (todo-print): Rename to todo-print-buffer. Make buffer display
8858 features printable. Remove option to restrict number of items
8859 printed. Add option to print to file.
8860 (todo-print-function): Rename to todo-print-buffer-function.
8861 (todo-quit): Extend to handle exiting new todo modes.
8862 (todo-remove-item): Make sensitive to overlays.
8863 (todo-save): Extend to buffers of filtered items.
8864 (todo-show): Make sensitive to done items, multiple todo files and
8865 new todo modes. Offer to convert legacy todo file before creating
8866 first new todo file.
8867 (todo-show-priorities): Rename to todo-top-priorities.
8868 Change semantics of value 0.
8869 (todo-top-priorities): Rename to todo-filter-top-priorities,
8870 derive from todo-filter-items and extend functionality.
8871 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8872 and extend functionality to other types of filtered items.
8873 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8874 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8875 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8876 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8877 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8878 (todo-edit-mode-hook, todo-entry-prefix-function)
8879 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8880 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8881 (todo-initials, todo-insert-threshold, todo-item-string-start)
8882 (todo-line-string, todo-menu, todo-mode-hook)
8883 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8884 (todo-print-priorities, todo-remove-separator)
8885 (todo-save-top-priorities-too, todo-string-count-lines)
8886 (todo-string-multiline-p, todo-time-string-format)
8887 (todo-tmp-buffer-name): Remove.
8888 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8889 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8890 (todo-edit-category-diary-inclusion)
8891 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8892 (todo-edit-file, todo-edit-item-date-day)
8893 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8894 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8895 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8896 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8897 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8898 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8899 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8900 (todo-filter-top-priorities-multifile, todo-find-archive)
8901 (todo-find-filtered-items-file, todo-go-to-source-item)
8902 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8903 (todo-jump-to-archive-category, todo-lower-category)
8904 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8905 (todo-move-category, todo-move-item, todo-next-button)
8906 (todo-next-item, todo-padded-string, todo-powerset)
8907 (todo-previous-button, todo-previous-item)
8908 (todo-print-buffer-to-file, todo-raise-category)
8909 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8910 (todo-set-category-number, todo-set-item-priority)
8911 (todo-set-top-priorities-in-category)
8912 (todo-set-top-priorities-in-file, todo-show-categories-table)
8913 (todo-sort-categories-alphabetically-or-numerically)
8914 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8915 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8916 (todo-toggle-item-header, todo-toggle-item-highlighting)
8917 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8918 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8919 (todo-unarchive-items, todo-unmark-category): New commands.
8920 (todo-absolute-file-name, todo-add-to-buffer-list)
8921 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8922 (todo-basic-insert-item, todo-category-completions)
8923 (todo-category-number, todo-category-string-matcher-1)
8924 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8925 (todo-check-format, todo-clear-matches)
8926 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8927 (todo-current-category, todo-date-string-matcher)
8928 (todo-define-insertion-command, todo-diary-expired-matcher)
8929 (todo-diary-goto-entry, todo-diary-item-p)
8930 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8931 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8932 (todo-done-item-section-p, todo-done-separator)
8933 (todo-done-string-matcher, todo-files, todo-filter-items)
8934 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8935 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8936 (todo-insert-category-line, todo-insert-item-from-calendar)
8937 (todo-insert-sort-button, todo-insert-with-overlays)
8938 (todo-insertion-command-name, todo-insertion-key-bindings)
8939 (todo-label-to-key, todo-longest-category-name-length)
8940 (todo-make-categories-list, todo-mode-external-set)
8941 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8942 (todo-modes-set-3, todo-multiple-filter-files)
8943 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8944 (todo-read-category, todo-read-date, todo-read-dayname)
8945 (todo-read-file-name, todo-read-time)
8946 (todo-reevaluate-category-completions-files-defcustom)
8947 (todo-reevaluate-default-file-defcustom)
8948 (todo-reevaluate-filelist-defcustoms)
8949 (todo-reevaluate-filter-files-defcustom)
8950 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8951 (todo-reset-done-separator, todo-reset-done-separator-string)
8952 (todo-reset-done-string, todo-reset-global-current-todo-file)
8953 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8954 (todo-reset-prefix, todo-set-categories)
8955 (todo-set-date-from-calendar, todo-set-show-current-file)
8956 (todo-set-top-priorities, todo-short-file-name)
8957 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8958 (todo-total-item-counts, todo-update-buffer-list)
8959 (todo-update-categories-display, todo-update-categories-sexp)
8960 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8961 New functions.
8962 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8963 New major modes.
8964 (todo-categories, todo-display, todo-edit, todo-faces)
8965 (todo-filtered): New defgroups.
8966 (todo-archived-only, todo-button, todo-category-string, todo-date)
8967 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8968 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8969 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8970 (todo-add-item-if-new-category, todo-always-add-time-string)
8971 (todo-categories-align, todo-categories-archived-label)
8972 (todo-categories-category-label, todo-categories-diary-label)
8973 (todo-categories-done-label, todo-categories-number-separator)
8974 (todo-categories-todo-label, todo-categories-totals-label)
8975 (todo-category-completions-files, todo-completion-ignore-case)
8976 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8977 (todo-done-separator-string, todo-done-string)
8978 (todo-files-function, todo-filter-done-items, todo-filter-files)
8979 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8980 (todo-initial-category, todo-initial-file, todo-item-mark)
8981 (todo-legacy-date-time-regexp, todo-mode-line-function)
8982 (todo-nondiary-marker, todo-number-prefix)
8983 (todo-print-buffer-function, todo-show-current-file)
8984 (todo-show-done-only, todo-show-first, todo-show-with-done)
8985 (todo-skip-archived-categories, todo-top-priorities-overrides)
8986 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8987 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8988 New defcustoms.
8989 (todo-category-done, todo-date-pattern, todo-date-string-start)
8990 (todo-diary-items-buffer, todo-done-string-start)
8991 (todo-filtered-items-buffer, todo-item-start)
8992 (todo-month-abbrev-array, todo-month-name-array)
8993 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8994 (todo-top-priorities-buffer): New defconsts.
8995 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8996 (todo-categories-with-marks, todo-category-string-face)
8997 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8998 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8999 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9000 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9001 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9002 (todo-font-lock-keywords, todo-global-current-todo-file)
9003 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9004 (todo-insertion-commands-args)
9005 (todo-insertion-commands-args-genlist)
9006 (todo-insertion-commands-names, todo-insertion-map)
9007 (todo-key-bindings-t, todo-key-bindings-t+a)
9008 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9009 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9010 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9011 (todo-visited): New variables.
9012
cad5d1cb
GM
90132013-06-21 Glenn Morris <rgm@gnu.org>
9014
9015 * play/cookie1.el (cookie-apropos): Add optional display argument.
9016 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9017 (psychoanalyze-pinhead): Use cookie-doctor.
9018
9e277302
JB
90192013-06-21 Juanma Barranquero <lekktu@gmail.com>
9020
9021 * emacs-lisp/package.el (tar-get-file-descriptor)
9022 (tar--extract): Declare.
9023
c5b0993e
EW
90242013-06-21 Eduard Wiebe <usenet@pusto.de>
9025
9026 Extend flymake's warning predicate to be a function (bug#14217).
9027 * progmodes/flymake.el (flymake-warning-predicate): New.
9028 (flymake-parse-line): Use it.
9029 (flymake-warning-re): Make obsolete alias to
9030 `flymake-warning-predicate'.
9031
a7d2d465
SM
90322013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9033
9034 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9035 (package-obsolete-list): Remove.
9036 (package-activate): Remove min-version argument. Add `force' argument.
9037 Adjust to new package-alist format.
9038 (package-mark-obsolete): Remove.
9039 (package-unpack): Force reload of the package's autoloads.
9040 (package-installed-p): Check builtins if the installed package is not
9041 recent enough.
9042 (package-initialize): Don't reset package-obsolete-list.
9043 Don't specify which package version to activate.
9044 (package-process-define-package, describe-package-1)
9045 (package-menu--generate): Adjust to new package-alist format.
9046
cedf5c9d
JB
90472013-06-21 Juanma Barranquero <lekktu@gmail.com>
9048
9049 * allout-widgets.el (allout-widgets-mode-off)
9050 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9051 (allout-widgets-post-command-business)
9052 (allout-widgets-after-copy-or-kill-function)
9053 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9054 (allout-decorate-item-and-context)
9055 (allout-graphics-modification-handler): Fix typos in docstrings.
9056 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9057
9058 * cmuscheme.el (scheme-start-file): Doc fix.
9059 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9060 (scheme-input-filter): Use `string-match-p'.
9061
9062 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9063
9064 * dired-x.el: Use Dired consistently in docstrings.
9065
9066 * dired.el: Use Dired consistently in docstrings.
9067 (dired-readin, dired-mode): Use `setq-local'.
9068 (dired-switches-alist): Make defvar-local.
9069 (dired-buffers-for-dir): Use `zerop'.
9070 (dired-safe-switches-p, dired-switches-escape-p)
9071 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9072 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9073 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9074 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9075 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9076 (dired-toggle-marks, dired-mark-files-containing-regexp)
9077 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9078 (dired-flag-auto-save-files, dired-flag-backup-files):
9079 Use `looking-at-p'.
9080 (dired-mark-files-regexp, dired-build-subdir-alist):
9081 Use `string-match-p', `looking-at-p'.
9082
9083 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9084 (direct-print-region-helper): Use `string-match-p'.
9085
aed838b5
LL
90862013-06-21 Leo Liu <sdl.web@gmail.com>
9087
cedf5c9d
JB
9088 * comint.el (comint-redirect-results-list-from-process):
9089 Fix infinite loop.
aed838b5 9090
d80a808f
LMI
90912013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9092
9093 * net/eww.el (eww-update-header-line-format): Quote % characters.
9094
e7a526e3
GM
90952013-06-21 Glenn Morris <rgm@gnu.org>
9096
9097 * play/cookie1.el (cookie): New custom group.
9098 (cookie-file): New option.
9099 (cookie-check-file): New function.
9100 (cookie): Make it interactive. Make start and end messages optional.
9101 Interactively, display the result. Default to cookie-file.
9102 (cookie-insert): Default to cookie-file.
9103 (cookie-snarf): Make start and end messages optional.
9104 Default to cookie-file. Use with-temp-buffer.
9105 (cookie-read): Rename from read-cookie.
9106 Make start and end messages optional. Default to cookie-file.
9107 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 9108 Do not autoload it.
e7a526e3
GM
9109 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9110 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9111
62efb35e
LL
91122013-06-21 Leo Liu <sdl.web@gmail.com>
9113
9114 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9115
21e3f963
GM
91162013-06-21 Glenn Morris <rgm@gnu.org>
9117
9118 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9119
fd846ab4
SM
91202013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9121 Daniel Hackney <dan@haxney.org>
9122
9123 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9124 Consolidate the single-file vs tarball code.
9125 (package-desc-suffix): New function.
9126 (package-desc-full-name): Don't bother inlining it.
9127 (package-load-descriptor): Return the new package-desc.
9128 (package-mark-obsolete): Remove unused arg `package'.
9129 (package-unpack): Make it work for single files as well.
9130 Make it update package-alist.
9131 (package--make-autoloads-and-stuff): Rename from
9132 package--make-autoloads-and-compile. Don't compile any more.
9133 (package--compile): New function.
9134 (package-generate-description-file): New function, extracted from
9135 package-unpack-single.
9136 (package-unpack-single): Remove.
9137 (package--with-work-buffer): Add indentation and debugging info.
9138 (package-download-single): Remove.
9139 (package-install-from-archive): Rename from package-download-tar, make
9140 it take a pkg-desc, and make it work for single files as well.
9141 (package-download-transaction): Simplify.
9142 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9143 external tar program.
9144 (package-install-from-buffer): Remove `pkg-desc' argument.
9145 Use package-tar-file-info for tar-mode buffers.
9146 (package-install-file): Simplify accordingly.
9147 (package-archive-base): Change to take a pkg-desc.
9148 * tar-mode.el (tar--check-descriptor): New function, extracted from
9149 tar-get-descriptor.
9150 (tar-get-descriptor): Use it.
9151 (tar-get-file-descriptor): New function.
9152 (tar--extract): New function, extracted from tar-extract.
9153 (tar--extract): Use it.
9154 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9155 case the summary uses non-ascii. Adjust to new calling convention of
9156 package-tar-file-info.
9157
b7deae5e
LL
91582013-06-21 Leo Liu <sdl.web@gmail.com>
9159
fd846ab4
SM
9160 * comint.el (comint-redirect-results-list-from-process):
9161 Fix random delay. (Bug#14681)
b7deae5e 9162
7a65a0b2
JB
91632013-06-21 Juanma Barranquero <lekktu@gmail.com>
9164
9165 * profiler.el (profiler-format-number): Use log, not log10.
9166
1493c2af
JB
91672013-06-20 Juanma Barranquero <lekktu@gmail.com>
9168
9169 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9170
aff6371e
SM
91712013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9172
9173 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9174 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9175 yet available.
9176 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9177 (AUTOGENEL): ... here.
9178 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9179 (cl--defsubst-expand): Use it.
9180
89561f72
PE
91812013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9182
9183 * subr.el (log10): Move here from C code, and declare as obsolete.
9184 All uses of (log10 X) replaced with (log X 10).
9185
47199123
JB
91862013-06-20 Juanma Barranquero <lekktu@gmail.com>
9187
9188 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9189 Declare with `defvar-local'.
9190 (tabulated-list-use-header-line, tabulated-list-entries)
9191 (tabulated-list-padding, tabulated-list-printer)
9192 (tabulated-list-sort-key): Declare with `defvar-local'.
9193 (tabulated-list-init-header, tabulated-list-print-fake-header):
9194 Use `setq-local'.
9195
4a172eab
MA
91962013-06-20 Michael Albinus <michael.albinus@gmx.de>
9197
47199123
JB
9198 * arc-mode.el (archive-mode): Add `archive-write-file' to
9199 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 9200
5fc0acc0
JB
92012013-06-20 Juanma Barranquero <lekktu@gmail.com>
9202
d5b27848
JB
9203 * cus-edit.el (custom-commands): Fix typos.
9204 (custom-display): Fix tooltip text.
9205 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9206 Fix typos in docstrings.
9207 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9208 (custom-unlispify-menu-entry, custom-magic-value-create)
9209 (custom-add-see-also, custom-group-value-create): Use ?\s.
9210 (custom-guess-type, customize-apropos, editable-field)
9211 (custom-face-value-create): Use `string-match-p'.
9212 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9213
9214 * custom.el (custom-load-symbol): Use `string-match-p'.
9215
a5c581d8
JB
9216 * ansi-color.el: Convert to lexical binding.
9217 (ansi-colors): Fix URL.
9218 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9219 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9220 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9221
970ad972
G
92222013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9223
9224 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9225
9226 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9227
92282013-06-19 Tom Tromey <tromey@redhat.com>
9229
9230 * net/eww.el (eww-top-url): Remove.
9231 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9232 (eww-render): Set new variables. Don't set eww-top-url.
9233 (eww-handle-link): Handle "prev", "home", and "contents".
9234 Downcase the rel text.
9235 (eww-top-url): Choose best top URL.
9236
92372013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9238
9239 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9240 relying in widget.el. Using widget.el leads to too many
9241 user interface inconsistencies.
9242 (eww-self-insert): Implement entering commands in text fields.
9243 (eww-process-text-input): New function to make text input field editing
9244 work.
9245 (eww-submit): Rewrite to use the new-style form methods.
9246 (eww-select-display): Display the correct selected item.
9247 (eww-change-select): Implement changing the select value.
9248 (eww-toggle-checkbox): Implement radio/checkboxes.
9249 (eww-update-field): Fix compilation error.
9250 (eww-tag-textarea): Implement <textarea>.
9251
9252 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9253 we don't shadow mode-specific bindings.
9254
9255 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9256 nothing to push.
9257
9258 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9259
4582a01c 92602013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9261
9262 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9263
15b263dc
MA
92642013-06-19 Michael Albinus <michael.albinus@gmx.de>
9265
9266 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9267 not needed.
9268
9269 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9270
8f5297f7
LMI
92712013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9272
9273 * net/browse-url.el (browse-url-browser-function):
9274 `eww-browse-url' has the right calling signature, `eww' does not.
9275
011c4552
GM
92762013-06-19 Glenn Morris <rgm@gnu.org>
9277
2285bd27
GM
9278 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9279 Only eval autoloaded macros.
9280 (byte-compile-autoload): Only give the macro warning for macros.
9281
1d653303
GM
9282 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9283 (ps-underlined-faces): Declare.
9284
bdd779ec
GM
9285 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9286 (speedbar-add-supported-extension): Declare.
9287
011c4552
GM
9288 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9289 Don't include a date stamp in the header of the generated file;
9290 it leads to needless differences between output files.
9291
e59dfb0e
MA
92922013-06-19 Michael Albinus <michael.albinus@gmx.de>
9293
c763842b
SM
9294 * net/secrets.el (secrets-struct-secret-content-type):
9295 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9296 Some servers do not offer introspection.
e59dfb0e 9297
102626e2
SM
92982013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9299
9300 * electric.el (electric-pair-mode): Improve interaction with
9301 electric-layout-mode.
9302 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9303 (electric-pair-syntax): Use text-mode-syntax-table in comments
9304 and strings.
9305 (electric-pair--insert): New function.
9306 (electric-pair-post-self-insert-function): Use it and
9307 electric--after-char-pos.
9308
ad528125
LL
93092013-06-19 Leo Liu <sdl.web@gmail.com>
9310
9311 * progmodes/octave.el (octave-help): Fix regexp.
9312
924d6997
G
93132013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9314
9315 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9316 (shr-table-horizontal-line): Allow nil as a value, and change the
9317 default.
9318 (shr-insert-table-ruler): Respect the nil value.
9319
93202013-06-18 Tom Tromey <tromey@barimba>
9321
9322 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9323 New defvars.
9324 (eww-open-file): New defun.
9325 (eww-render): Initialize new variables.
9326 (eww-display-html): Handle "link" and "a".
9327 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9328 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9329 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9330 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9331 New defuns.
924d6997 9332
d1bbba4f
DG
93332013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9334
9335 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9336 Distinguish ternary operator tokens from slash symbol and slash
9337 char literal.
9338
14dd22d2
JB
93392013-06-18 Juanma Barranquero <lekktu@gmail.com>
9340
9341 Convert symbol prettification into minor mode and global minor mode.
9342
9343 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9344 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9345 (prettify-symbols--keywords): Rename from
9346 `prog-prettify-symbols-alist' and make a local defvar.
9347 (prettify-symbols--compose-symbol): Rename from
9348 `prog--prettify-font-lock-compose-symbol'.
9349 (prettify-symbols--make-keywords): Rename from
9350 `prog-prettify-font-lock-symbols-keywords' and simplify.
9351 (prog-prettify-install): Remove.
9352 (prettify-symbols-mode): New minor mode, based on
9353 `prog-prettify-install'.
9354 (turn-on-prettify-symbols-mode): New function.
9355 (global-prettify-symbols-mode): New globalized minor mode.
9356
9357 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9358 * progmodes/cfengine.el (cfengine3-mode):
9359 * progmodes/perl-mode.el (perl-mode): Don't call
9360 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9361
292c880c
JL
93622013-06-18 Juri Linkov <juri@jurta.org>
9363
9364 * files-x.el (modify-file-local-variable-message): New function.
9365 (modify-file-local-variable)
9366 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9367 and call `modify-file-local-variable-message' when it's non-nil.
9368 (add-file-local-variable, delete-file-local-variable)
9369 (add-file-local-variable-prop-line)
9370 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9371 and use it. (Bug#9820)
9372
0950aa27
JL
93732013-06-18 Juri Linkov <juri@jurta.org>
9374
9375 * emulation/vi.el (vi-shell-op):
9376 * emulation/vip.el (vip-execute-com, ex-command):
9377 * emulation/viper-cmd.el (viper-exec-bang):
9378 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9379 the call of `shell-command-on-region'. (Bug#14637)
9380
9381 * simple.el (shell-command-on-region): Doc fix.
9382
8fbcca16
SM
93832013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9384
9385 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9386 (bug#14633).
9387
dd7426ea
GM
93882013-06-18 Glenn Morris <rgm@gnu.org>
9389
4ba54f7d
GM
9390 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9391
dd7426ea
GM
9392 * newcomment.el (comment-search-forward, comment-search-backward):
9393 Doc fix. (Bug#14376)
9394
58aa805b
JB
93952013-06-18 Juanma Barranquero <lekktu@gmail.com>
9396
9397 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9398 (buffer-face-mode-invoke): Doc fix.
9399
9a08a617
MM
94002013-06-18 Matthias Meulien <orontee@gmail.com>
9401
9402 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9403 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9404
f2f426ca
GM
94052013-06-18 Glenn Morris <rgm@gnu.org>
9406
9445f99b
GM
9407 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9408 Replace obsolete function generic-make-keywords with its expansion.
9409
e0df2d14
GM
9410 * progmodes/python.el (ffap-alist): Declare.
9411
f2f426ca
GM
9412 * textmodes/reftex.el (bibtex-mode-map): Declare.
9413
f7f9a720
SM
94142013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9415
9416 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9417 (package-unpack, package-unpack-single): Return the pkg-dir.
9418 (package-download-transaction): Use it to update package-alist.
9419
57ff04e0
LMI
94202013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9421
9422 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9423 possible choice.
9424
c048c022
JL
94252013-06-17 Juri Linkov <juri@jurta.org>
9426
9427 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9428
b5bcaee5
DG
94292013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9430
a020afb9
JB
9431 * emacs-lisp/package.el (package-load-descriptor):
9432 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9433 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9434
551e07e5
JB
94352013-06-17 Juanma Barranquero <lekktu@gmail.com>
9436
9437 * startup.el (command-line): Expand package name returned by
9438 `package--description-file' (bug#14639).
9439
d363bffb
DG
94402013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9441
9442 * emacs-lisp/package.el (package-load-descriptor): Do not call
9443 `emacs-lisp-mode', just use its syntax table.
9444
f612933b
JB
94452013-06-17 Juanma Barranquero <lekktu@gmail.com>
9446
9447 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9448 `font-lock-extra-managed-props' if any prettifying keyword is added.
9449 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9450 (prog-mode): Use `setq-local'.
9451
db3b7db5
SM
94522013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * international/characters.el (standard-case-table): Set syntax of ?»
9455 and ?« to punctuation.
9456
f3d674df
JB
94572013-06-16 Juanma Barranquero <lekktu@gmail.com>
9458
9459 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9460 Save relevant match data before calling `syntax-ppss' (bug#14595).
9461
31489a32
JL
94622013-06-15 Juri Linkov <juri@jurta.org>
9463
9464 * files-x.el (modify-file-local-variable-prop-line): Add local
9465 variables to the end of the existing comment on the first line.
9466 Use `file-auto-mode-skip' to skip interpreter magic line,
9467 and also skip XML declaration.
9468
66bd25ab
SM
94692013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9470
9471 * startup.el (package--builtin-versions): New var.
9472 (package-subdirectory-regexp): Remove.
9473 (package--description-file): Hard code its value instead.
9474
9475 * emacs-lisp/package.el: Don't activate packages older than builtin.
9476 (package-obsolete-list): Rename from package-obsolete-alist, and make
9477 it into a simple list of package-desc.
9478 (package-strip-version): Remove.
9479 (package-built-in-p): Use package--builtin-versions.
9480 (package-mark-obsolete): Simplify.
9481 (package-process-define-package): Mark it obsolete if older than the
9482 builtin version.
9483 (package-handle-response): Use line-end-position.
9484 (package-read-archive-contents, package--download-one-archive):
9485 Simplify.
9486 (package--add-to-archive-contents): Skip if older than the builtin or
9487 installed version.
9488 (package-menu-describe-package): Fix last change.
9489 (package-list-unversioned): New var.
9490 (package-menu--generate): Use it.
9491
9492 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9493 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9494 (autoload-builtin-package-versions): New variable.
9495 (autoload-generate-file-autoloads): Use them.
9496 Remove the list of autoloaded functions/macros from the
9497 (autoload...) comments.
9498
9499 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9500
9583ec36
EZ
95012013-06-15 Eli Zaretskii <eliz@gnu.org>
9502
9503 * simple.el (line-move-partial): Don't jump to the next screen
9504 line as soon as it becomes visible. Instead, continue enlarging
9505 the vscroll until the portion of a tall screen line that's left on
9506 display is about the height of the frame's default font.
9507 (Bug#14567)
9508
f0100d8a
GM
95092013-06-15 Glenn Morris <rgm@gnu.org>
9510
b86a85ca
GM
9511 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9512 compilation-error-regexp-alist void, or local while let-bound.
9513
f0100d8a
GM
9514 * progmodes/make-mode.el (makefile-mode-syntax-table):
9515 Treat "=" as punctuation. (Bug#14614)
9516
05e7ce90
JB
95172013-06-15 Juanma Barranquero <lekktu@gmail.com>
9518
9519 * help-fns.el (describe-variable):
9520 Add extra line for permanent-local variables.
9521
12e5e86e
SH
95222013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9523
9524 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9525 Add export, import, library. (Bug#9164)
9526 (library): Set indent function.
9527
230dcbaf
GM
95282013-06-14 Glenn Morris <rgm@gnu.org>
9529
9530 * term/xterm.el (xterm--query):
9531 Stop after first matching handler. (Bug#14615)
9532
e36b2d20 95332013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9534
9535 Add support for dired in saveplace.
9536 * dired.el (dired-initial-position-hook): New variable.
9537 (dired-initial-position): Call hook to place cursor position.
9538 * saveplace.el (save-place-to-alist): Add dired position.
9539 (save-place-dired-hook): New function.
9540
0b31660d
SM
95412013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9542
bf1e6ae8
SM
9543 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9544 through a symbol rather than letrec.
9545
1b8dff23
SM
9546 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9547 (package-desc): Add `dir' field.
9548 (package-desc-full-name): New function.
9549 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9550 (package-maybe-load-descriptor): Remove.
9551 (package-load-all-descriptors): Just call package-load-descriptor.
9552 (package--disabled-p): New function.
9553 (package-desc-vers, package-desc-doc): Remove aliases.
9554 (package--dir): Remove function.
9555 (package-activate): Check if a package is disabled.
9556 (package-process-define-package): New function, extracted from
9557 define-package.
9558 (define-package): Turn into a place holder.
9559 (package-unpack-single, package-tar-file-info):
9560 Use package--description-file.
9561 (package-compute-transaction): Use package--disabled-p.
9562 (package-download-transaction): Don't call
9563 package-maybe-load-descriptor since they're all loaded anyway.
9564 (package-install): Change argument to be a pkg-desc.
9565 (package-delete): Use a single pkg-desc argument.
9566 (describe-package-1): Use package-desc-dir instead of package--dir.
9567 Use package-desc property instead of package-symbol.
9568 (package-install-button-action): Adjust accordingly.
9569 (package--push): Rewrite.
9570 (package-menu--print-info): Adjust accordingly. Change the ID format
9571 to be a pkg-desc.
9572 (package-menu-describe-package, package-menu-get-status)
9573 (package-menu--find-upgrades, package-menu-mark-upgrades)
9574 (package-menu-execute, package-menu--name-predicate):
9575 Adjust accordingly.
9576 * startup.el (package--description-file): New function.
9577 (command-line): Use it.
9578 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9579 Use package-desc-version.
9580
0b31660d
SM
9581 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9582 (byte-compile-preprocess): Use it.
9583 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9584 can't quite recognize.
9585 (byte-compile-add-to-list): Remove.
9586 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9587 (cconv-closure-convert): Add assertion.
9588
9589 * emacs-lisp/map-ynp.el: Use lexical-binding.
9590 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9591 Factor out some repeated code.
9592
de0503df
SM
95932013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9594
9595 * subr.el (with-eval-after-load): New macro.
9596 (eval-after-load): Allow form to be a function.
9597 take advantage of lexical-binding.
9598 (do-after-load-evaluation): Use dolist and adjust to new format.
9599 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9600
bc5c8c5a
JL
96012013-06-13 Juri Linkov <juri@jurta.org>
9602
9603 * replace.el (perform-replace): Display "symbol " and other search
9604 modes from `isearch-message-prefix' in the *Help* buffer.
9605
9606 * isearch.el (isearch-query-replace): Add " symbol" and other
9607 possible search modes from `isearch-message-prefix' to the prompt.
9608 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9609 when reading a regexp to collect.
9610
a22289f7
JL
96112013-06-13 Juri Linkov <juri@jurta.org>
9612
9613 * isearch.el (word-search-regexp): Match whitespace if the search
9614 string begins or ends in whitespace. The LAX arg is applied to
9615 both ends of the search string. Use `regexp-quote' and explicit
9616 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9617 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9618 boundaries are replaced with symbol boundaries, and characters
9619 between symbols match non-word non-symbol syntax. (Bug#14602)
9620
cb89acab
JL
96212013-06-13 Juri Linkov <juri@jurta.org>
9622
9623 * isearch.el (isearch-del-char): Don't exceed the length of
9624 `isearch-string' by the prefix arg. (Bug#14563)
9625
6e8cfc81
JL
96262013-06-13 Juri Linkov <juri@jurta.org>
9627
9628 * isearch.el (isearch-yank-word, isearch-yank-line)
9629 (isearch-char-by-name, isearch-quote-char)
9630 (isearch-printing-char, isearch-process-search-char):
9631 Add optional count prefix arg. (Bug#14563)
9632
9633 * international/isearch-x.el
9634 (isearch-process-search-multibyte-characters):
9635 Add optional count prefix arg.
9636
c23d55f4
VS
96372013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9638
9639 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9640 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9641 lexical-binding.
9642
96432013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9644
9645 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9646
ba947bc4
GM
96472013-06-13 Glenn Morris <rgm@gnu.org>
9648
8baeb37a
GM
9649 * startup.el (tty-handle-args):
9650 Don't just discard "--" and anything after. (Bug#14608)
9651
ba947bc4
GM
9652 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9653
9abefce4
MA
96542013-06-13 Michael Albinus <michael.albinus@gmx.de>
9655
9656 Implement changes in Secret Service API. Make it backward compatible.
9657 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9658 (secrets-create-item): Use it. Prefix properties with interface.
9659
5755011f
MH
96602013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9661
9662 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9663 (term-emulate-terminal): Respect term-suppress-hard-newline.
9664
1261d2da
S
96652013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9666
9667 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9668 Only remove a `thumb-file' overlay. (Bug#14548)
9669
868490bb
GJ
96702013-06-12 Grégoire Jadi <daimrod@gmail.com>
9671
9672 * mail/reporter.el (reporter-submit-bug-report):
9673 Handle missing package-name. (Bug#14600)
9674
79d7167f
TH
96752013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9676
9677 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9678 (reftex-citation-prompt, reftex-default-bibliography)
9679 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9680 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9681 (reftex-bib-sort-author, reftex-bib-sort-year)
9682 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9683 (reftex-extract-bib-entries-from-thebibliography)
9684 (reftex-get-bibkey-default, reftex-get-bib-names)
9685 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9686 (reftex-format-bib-entry, reftex-parse-bibitem)
9687 (reftex-format-bibitem, reftex-do-citation)
9688 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9689 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9690 (reftex-insert-bib-matches, reftex-format-citation)
9691 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9692 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9693 existing comments into docstrings.
9694
5f9dbd7a
XF
96952013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9696
9697 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9698
94df41ab
AS
96992013-06-12 Andreas Schwab <schwab@suse.de>
9700
9701 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9702 for auto-save files.
9703
a7f3fecc
GM
97042013-06-12 Glenn Morris <rgm@gnu.org>
9705
001809f6
GM
9706 * ido.el (ido-delete-ignored-files): Remove.
9707 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9708 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9709
834b5ded
EL
97102013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9711
08c73ed2
EL
9712 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9713
834b5ded
EL
9714 * ido.el (ido-delete-ignored-files): New function,
9715 split from ido-make-file-list-1.
9716 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9717 (ido-make-file-list-1): Use ido-delete-ignored-files.
9718
daabf15a
LL
97192013-06-12 Leo Liu <sdl.web@gmail.com>
9720
9721 * progmodes/octave.el (inferior-octave-startup)
9722 (inferior-octave-completion-table)
9723 (inferior-octave-track-window-width-change)
9724 (octave-eldoc-function-signatures, octave-help)
9725 (octave-find-definition): Use single quoted strings.
9726 (inferior-octave-startup-args): Change default value.
9727 (inferior-octave-startup): Do not hard code "-i" and
9728 "--no-line-editing".
9729 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9730 (inferior-octave-directory-tracker): Use it.
9731 (octave-goto-function-definition): Robustify.
9732 (octave-help): Support highlighting operators in 'See also'.
9733 (octave-find-definition): Find subfunctions only in Octave mode.
9734
cf4e5178
SM
97352013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9736
9737 * help-fns.el (help-fns--compiler-macro): If the handler function is
9738 named, then put a link to it.
9739 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9740 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9741 (cl-typep): Use it.
9742 (cl-eval-when): Simplify debug spec.
9743 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9744 compiler-macro function instead of setting `compiler-macro-file'.
9745
99c81280 97462013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9747
9748 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9749 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9750
f56be016
SM
97512013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9752 Daniel Hackney <dan@haxney.org>
9753
9754 First part of Daniel Hackney's patch to package.el.
9755 * emacs-lisp/package.el: Use defstruct.
9756 (package-desc): New, main struct.
9757 (package--bi-desc, package--ac-desc): New structs, used to describe the
9758 format in external files.
9759 (package-desc-vers): Replace with package-desc-version accessor.
9760 (package-desc-doc): Replace with package-desc-summary accessor.
9761 (package-activate-1): Remove `package' arg since the pkg-vec now
9762 includes the name.
9763 (define-package): Use package-desc-from-define.
9764 (package-unpack-single): Change file-name arg to be a symbol.
9765 (package--add-to-archive-contents): Use package-desc-create and new
9766 accessor functions to package--ac-desc.
9767 (package-buffer-info, package-tar-file-info): Return a package-desc.
9768 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9769 arg to be a package-desc.
9770 (package-install-file): Adjust accordingly. Use \' to match EOS.
9771 (package--from-builtin): New function.
9772 (describe-package-1, package-menu--generate): Use it.
9773 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9774 (package-generate-autoloads): Idem and return the name of the file.
9775 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9776 Change pkg-info arg to be a package-desc.
9777 Use package-make-ac-desc.
9778 (package-upload-file): Use \' to match EOS.
9779 * finder.el (finder-compile-keywords): Use package-make-builtin.
9780
31119d63
SM
97812013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9782
931a2762
SM
9783 * vc/vc.el (vc-deduce-fileset): Change error message.
9784 (vc-read-backend): New function.
9785 (vc-next-action): Use it.
9786
5a3eb0c6
SM
9787 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9788
e3eb1bb7
SM
9789 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9790 (prolog-font-lock-keywords): Use regexp-opt instead.
9791 Don't manually highlight strings.
9792 (prolog-mode-variables): Simplify comment-start-skip.
9793 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9794
31119d63
SM
9795 * emacs-lisp/generic.el (generic--normalise-comments)
9796 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9797 (generic-mode-set-comments): Use them.
9798 (generic-bracket-support): Use setq-local.
9799 (generic-make-keywords-list): Declare obsolete.
9800
7de135d0
GM
98012013-06-11 Glenn Morris <rgm@gnu.org>
9802
9803 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9804 Prettify after setting font-lock-defaults. (Bug#14574)
9805
fa6bc6fd
JB
98062013-06-11 Juanma Barranquero <lekktu@gmail.com>
9807
9808 * replace.el (query-replace, occur-read-regexp-defaults-function)
9809 (replace-search):
9810 * subr.el (declare-function, number-sequence, local-set-key)
9811 (substitute-key-definition, locate-user-emacs-file)
9812 (with-silent-modifications, split-string, eval-after-load):
9813 Fix typos, remove unneeded backslashes and reflow some docstrings.
9814
cf1f9b9a
SM
98152013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9816
9817 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9818 default for Elisp files.
9819
56602a4b
GM
98202013-06-11 Glenn Morris <rgm@gnu.org>
9821
9822 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9823 although define-derived-mode was doing this anyway. (Bug#14583)
9824
30ae0b2c
JB
98252013-06-10 Juanma Barranquero <lekktu@gmail.com>
9826
9827 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9828 Fix make-variable-buffer-local call to refer to the correct variable.
9829
fa472906
AG
98302013-06-10 Aidan Gauland <aidalgol@amuri.net>
9831
9832 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9833 (eshell-visual-subcommands, eshell-visual-options):
9834 Add summary line to docstrings. Add cross-references.
fa472906 9835
ff4871b9
GM
98362013-06-10 Glenn Morris <rgm@gnu.org>
9837
9838 * epa.el (epa-read-file-name): New function. (Bug#14510)
9839 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9840
04fcf1b0
AG
98412013-06-09 Aidan Gauland <aidalgol@amuri.net>
9842
9843 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9844 output redirection to be ignored with visual commands.
9845
88b00caa
AG
98462013-06-09 Aidan Gauland <aidalgol@amuri.net>
9847
9848 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9849 (eshell-term-initialize): Move long lambda to separate function
9850 eshell-visual-command-p.
e7b41c4c
JB
9851 * eshell/em-dirs.el (eshell-dirs-initialise):
9852 * eshell/em-script.el (eshell-script-initialize):
9853 Add missing #' to lambda.
88b00caa 9854
fda74125
LL
98552013-06-08 Leo Liu <sdl.web@gmail.com>
9856
9857 * progmodes/octave.el (octave-add-log-current-defun): New function.
9858 (octave-mode): Set add-log-current-defun-function.
9859 (octave-goto-function-definition): Do not move point if not found.
9860 (octave-find-definition): Enhance to try subfunctions first.
9861
467f3b33
GM
98622013-06-08 Glenn Morris <rgm@gnu.org>
9863
9864 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9865 (byte-compile-backward-char, byte-compile-backward-word):
9866 Improve previous change, to handle non-explicit nil.
9867
544badc3
SM
98682013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9869
9870 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9871 (smie--opener/closer-at-point): New function.
9872 (smie--matching-block-data): Use it. Don't match from right after an
9873 opener or right before a closer. Obey smie-blink-matching-inners.
9874 Don't signal a mismatch for repeated inners like "switch..case..case".
9875
a175bf33
LL
98762013-06-07 Leo Liu <sdl.web@gmail.com>
9877
9878 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9879 to t. (Bug#14303)
ce8209d4
LL
9880 (octave-function-header-regexp): Fix. (Bug#14570)
9881 (octave-help-mode-finish-hook, octave-help-mode-finish):
9882 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9883
9884 * newcomment.el (comment-search-backward): Revert last change.
9885 (Bug#14434)
9886
9887 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9888
a822acff
EZ
98892013-06-07 Eli Zaretskii <eliz@gnu.org>
9890
9891 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9892 through xargs, to avoid failure due to MS-Windows limitations on
9893 command-line length.
9894
961166f5
GM
98952013-06-06 Glenn Morris <rgm@gnu.org>
9896
d0341459
GM
9897 * font-lock.el (lisp-font-lock-keywords-2):
9898 Treat user-error like error.
9899
961166f5
GM
9900 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9901 (byte-compile-backward-char, byte-compile-backward-word):
9902 Handle explicit nil arguments. (Bug#14565)
9903
80fa505f
AM
99042013-06-05 Alan Mackenzie <acm@muc.de>
9905
9906 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9907 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9908 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9909 (Bug#9706)
80fa505f 9910
fccdc796
SM
99112013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9912
9913 * autorevert.el (auto-revert-notify-handler): Use memq.
9914 Hide assertion failure.
9915
9916 * skeleton.el: Use cl-lib.
9917 (skeleton-further-elements): Use defvar-local.
9918 (skeleton-insert): Use cl-progv.
9919
9bfff84b
TZ
99202013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9921
9922 * progmodes/prog-mode.el (prog-prettify-symbols)
9923 (prog-prettify-install): Update docstrings.
9924
55577e7c
SM
99252013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9926
9927 * simple.el: Move all the prog-mode code to prog-mode.el.
9928 * progmodes/prog-mode.el: New file.
9929 * loadup.el: Add prog-mode.el.
9930
8fc57765
TZ
99312013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9932
9933 * simple.el (prog-prettify-symbols): Add version.
9934 (prog-prettify-install): Add convenience function to prettify symbols.
9935
9936 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9937 (perl--augmented-font-lock-keywords-1)
9938 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9939 variables and use it.
9940
9941 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9942 (cfengine3-mode): Remove unneeded variable and use it.
9943
9944 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9945 (lisp--augmented-font-lock-keywords-1)
9946 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9947 Remove unneeded variables and use it.
9948
650645d5 99492013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9950
9951 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9952 to point when opening the connection. (Bug#14380)
28f5da6d 9953
781b4af6
SM
99542013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9955
9956 * subr.el (load-history-regexp, load-history-filename-element)
9957 (eval-after-load, after-load-functions, do-after-load-evaluation)
9958 (eval-next-after-load, display-delayed-warnings)
9959 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9960 definition of save-match-data.
9961 (overriding-local-map): Remove accidental obsolescence declaration.
9962
9963 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9964
3ca0d0b4
TZ
99652013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9966
9967 Generalize symbol prettify support to prog-mode and implement it
9968 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9969 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9970 (prog--prettify-font-lock-compose-symbol)
9971 (prog-prettify-font-lock-symbols-keywords): New variables and
9972 functions to support symbol prettification.
9973 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9974 (lisp--augmented-font-lock-keywords-1)
9975 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9976 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9977 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9978 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9979 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9980 * progmodes/perl-mode.el (perl-prettify-symbols)
9981 (perl--font-lock-compose-symbol)
9982 (perl--font-lock-symbols-keywords): Move to prog-mode.
9983 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9984 (perl-font-lock-keywords-1)
9985 (perl-font-lock-keywords-2): Remove explicit prettify support.
9986 (perl--augmented-font-lock-keywords)
9987 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9988 (perl--augmented-font-lock-keywords-2, perl-mode):
9989 Implement prettify support.
3ca0d0b4 9990
976cb066
LL
99912013-06-05 Leo Liu <sdl.web@gmail.com>
9992
9993 Re-implement smie matching block highlight using
9994 show-paren-data-function. (Bug#14395)
9995 * emacs-lisp/smie.el (smie-matching-block-highlight)
9996 (smie--highlight-matching-block-overlay)
9997 (smie--highlight-matching-block-lastpos)
9998 (smie-highlight-matching-block)
9999 (smie-highlight-matching-block-mode): Remove.
10000 (smie--matching-block-data-cache): New variable.
10001 (smie--matching-block-data): New function.
10002 (smie-setup): Use smie--matching-block-data for
10003 show-paren-data-function.
10004
10005 * progmodes/octave.el (octave-mode-menu): Fix.
10006 (octave-find-definition): Skip garbage lines.
10007
208d0342
SM
100082013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10009
10010 Fix compilation error with simultaneous dynamic+lexical scoping.
10011 Add warning when a defvar appears after the first let-binding.
10012 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10013 (byte-compile-close-variables): Initialize it.
10014 (byte-compile--declare-var): New function.
10015 (byte-compile-file-form-defvar)
10016 (byte-compile-file-form-define-abbrev-table)
10017 (byte-compile-file-form-custom-declare-variable): Use it.
10018 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10019 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10020 (byte-compile-bind): Handle dynamic bindings that shadow
10021 lexical bindings.
10022 (byte-compile-unbind): Make arg non-optional.
10023 (byte-compile-let): Simplify.
10024 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10025 (cconv--analyse-function, cconv-analyse-form): Populate it.
10026 Protect byte-compile-bound-variables to limit the scope of defvars.
10027 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10028 Remove unneeded rule for `declare'.
10029
10030 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10031 so as to avoid depending on cl-adjoin at run-time.
10032 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10033
10034 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10035 (macroexp--warn-and-return): Use it.
10036
1ac2891e
GM
100372013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10038
a12bf61e 10039 * subr.el: Convert to lexical binding.
1ac2891e
GM
10040 (overriding-local-map): Make obsolete.
10041 (add-to-list): Doc fix. Add compiler macro.
10042 (read-key): Swap values of local maps.
10043
2587b005
LL
100442013-06-05 Leo Liu <sdl.web@gmail.com>
10045
10046 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10047
f1da3c88
LL
100482013-06-04 Leo Liu <sdl.web@gmail.com>
10049
10050 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10051 (compilation-auto-jump): Suppress the "Mark set" message to give
10052 way to exit message.
10053
3caa391f
AM
100542013-06-04 Alan Mackenzie <acm@muc.de>
10055
10056 Remove faulty optimisation from indentation calculation.
10057 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10058 search limit based on 2000 characters back from indent-point.
10059
068922a2
TH
100602013-06-03 Tassilo Horn <tsdh@gnu.org>
10061
10062 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10063
1f8fdd53
SM
100642013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10065
bbcc4d97
SM
10066 * emacs-lisp/lisp.el: Use lexical-binding.
10067 (lisp--local-variables-1, lisp--local-variables): New functions.
10068 (lisp--local-variables-completion-table): New var.
208d0342 10069 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 10070
1f8fdd53
SM
10071 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10072 eagerly (bug#14422).
10073
c9628c79
MA
100742013-06-03 Michael Albinus <michael.albinus@gmx.de>
10075
10076 * autorevert.el (auto-revert-notify-enabled)
10077 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10078 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10079 (auto-revert-notify-handler): Handle also gfilenotify.
10080
e7b41c4c 10081 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 10082 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 10083 Remove.
c9628c79 10084
e5e4a942
JL
100852013-06-03 Juri Linkov <juri@jurta.org>
10086
10087 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10088 `M-s h .'. (Bug#14427)
10089
10090 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10091 command `hi-lock-face-symbol-at-point'.
10092 (hi-lock-face-symbol-at-point): New command.
10093 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10094 (hi-lock-menu): Add `highlight-symbol-at-point'.
10095 (hi-lock-mode): Doc fix.
10096
10097 * isearch.el (isearch-forward-symbol-at-point): New command.
10098 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10099 (isearch-highlight-regexp): Add a regexp which matches
10100 words/symbols for word/symbol mode.
10101
10102 * subr.el (find-tag-default-bounds): New function with the body
10103 mostly moved from `find-tag-default'.
10104 (find-tag-default): Move most code to `find-tag-default-bounds',
10105 call it and apply `buffer-substring-no-properties' afterwards.
10106
26b3353a
TH
101072013-06-03 Tassilo Horn <tsdh@gnu.org>
10108
781b4af6
SM
10109 * eshell/em-term.el (eshell-term-initialize):
10110 Use `cl-intersection' rather than `intersection'.
26b3353a 10111
51b60f53
XF
101122013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10113
fe054b63 10114 * vc/log-view.el: Doc fix.
d3ffe17c 10115 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 10116
a0eb10b3 101172013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
10118
10119 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10120 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10121 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10122 (eieio-unbound, eieio-default-superclass)
10123 (eieio--define-field-accessors, method-static, method-before)
10124 (method-primary, method-after, method-num-lists)
10125 (method-generic-before, method-generic-primary)
10126 (method-generic-after, method-num-slots)
10127 (eieio-specialized-key-to-generic-key)
10128 (eieio--check-type, class-v, class-p)
10129 (eieio-class-name, define-obsolete-function-alias)
10130 (eieio-class-parents-fast, eieio-class-children-fast)
10131 (same-class-fast-p, class-constructor, generic-p)
10132 (generic-primary-only-p, generic-primary-only-one-p)
10133 (class-option-assoc, class-option, eieio-object-p)
10134 (class-abstract-p, class-method-invocation-order)
10135 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10136 (eieio-class-un-autoload, eieio-defclass)
10137 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10138 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10139 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10140 (eieio-defgeneric-reset-generic-form)
10141 (eieio-defgeneric-form-primary-only)
10142 (eieio-defgeneric-reset-generic-form-primary-only)
10143 (eieio-defgeneric-form-primary-only-one)
10144 (eieio-defgeneric-reset-generic-form-primary-only-one)
10145 (eieio-unbind-method-implementations)
10146 (eieio--defmethod, eieio--typep)
10147 (eieio-perform-slot-validation, eieio-validate-slot-value)
10148 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10149 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10150 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10151 (eieio-slot-name-index, eieio-class-slot-name-index)
10152 (eieio-set-defaults, eieio-initarg-to-attribute)
10153 (eieio-attribute-to-initarg, eieio-c3-candidate)
10154 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10155 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10156 (eieio-class-precedence-list, eieio-generic-call-methodname)
10157 (eieio-generic-call-arglst, eieio-generic-call-key)
10158 (eieio-generic-call-next-method-list)
10159 (eieio-pre-method-execution-functions, eieio-generic-call)
10160 (eieio-generic-call-primary-only, eieiomt-method-list)
10161 (eieiomt-optimizing-obarray, eieiomt-install)
10162 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10163 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 10164 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
10165 (defclass): Remove `eval-and-compile' from macro.
10166 (call-next-method, shared-initialize): Instead of using
10167 `scoped-class' variable, use new eieio--scoped-class, and
10168 eieio--with-scoped-class.
10169 (initialize-instance): Rename local variable 'scoped-class' to
10170 'this-class' to remove ambiguitity from old global.
10171
10172 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10173 eieio.el.
4f405069
JB
10174 (eieio--scoped-class-stack): New variable.
10175 (eieio--scoped-class): New fcn.
890f7890
DE
10176 (eieio--with-scoped-class): New scoping macro.
10177 (eieio-defclass): Use pushnew instead of add-to-list.
10178 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10179 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10180 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10181 `scoped-class' variable, use new eieio--scoped-class, and
10182 eieio--with-scoped-class.
10183
10184 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10185
d105b0e2
TH
101862013-06-02 Tassilo Horn <tsdh@gnu.org>
10187
10188 * eshell/esh-ext.el (eshell-external-command): Pass args to
10189 `eshell-find-interpreter'.
10190 (eshell-find-interpreter): Add new second parameter ARGS.
10191
10192 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 10193 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10194
10195 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 10196 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10197
10198 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10199 (eshell-visual-options): New defcustom.
10200 (eshell-escape-control-x): Adapt docstring.
10201 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10202 `eshell-visual-options' in addition to `eshell-visual-commands'.
10203 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10204
f46305c8 102052013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
10206
10207 * progmodes/python.el (python-indent-block-enders): Add break,
10208 continue and raise keywords.
10209
d870df21
GM
102102013-06-01 Glenn Morris <rgm@gnu.org>
10211
9133b82e
GM
10212 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10213
02c992ec 10214 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
10215 * progmodes/cc-cmds.el (delete-forward-p):
10216 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10217 * progmodes/cc-engine.el (buffer-syntactic-context):
10218 * progmodes/cc-fonts.el (face-property-instance):
10219 * progmodes/cc-mode.el (set-keymap-parents):
10220 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10221 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10222 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
10223 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10224 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 10225
31e7b090
GM
10226 * progmodes/cc-vars.el (other): Emacs has this widget since
10227 at least 21.1, so don't (re)define it.
10228
d870df21
GM
10229 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10230 Replace the obsolete alias pcomplete-arg-quote-list.
10231
c75c93c7
LL
102322013-06-01 Leo Liu <sdl.web@gmail.com>
10233
10234 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10235 punctuation syntax.
10236 (inferior-octave-minimal-columns)
10237 (inferior-octave-last-column-width): New variables.
10238 (inferior-octave-track-window-width-change): New function.
10239 (inferior-octave-mode): Adjust column width so that Octave output,
10240 for example from 'ls', can fit into the window nicely.
10241
973d1e12
DG
102422013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10243
10244 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10245 Highlight expansions inside regexp literals.
10246
0888c286
GM
102472013-05-31 Glenn Morris <rgm@gnu.org>
10248
e26aac1f
GM
10249 * obsolete/sym-comp.el (symbol-complete):
10250 Replace obsolete completion-annotate-function.
10251
0888c286
GM
10252 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10253
19bb8e62
DG
102542013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10255
781b4af6
SM
10256 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10257 New function, checks if point is inside a literal that allows
19bb8e62
DG
10258 expression expansion.
10259 (ruby-syntax-propertize-expansion): Use it.
10260 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10261 around the body.
10262
01dea85f
JL
102632013-05-30 Juri Linkov <juri@jurta.org>
10264
10265 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10266 to "\M-si".
10267 (isearch-invisible): New variable.
10268 (isearch-forward): Doc fix.
10269 (isearch-mode): Set `isearch-invisible'
10270 to the value of `search-invisible'.
10271 (isearch-toggle-case-fold): Doc fix.
10272 (isearch-toggle-invisible): New command.
10273 (isearch-query-replace): Let-bind `search-invisible'
10274 to the value of `isearch-invisible'.
10275 (isearch-search): Use `isearch-invisible' instead of
10276 `search-invisible'. Let-bind `search-invisible'
10277 to the value of `isearch-invisible'. (Bug#11378)
10278
ab1bdce5
JL
102792013-05-30 Juri Linkov <juri@jurta.org>
10280
10281 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10282 call when `query-flag' is nil and `search-invisible' is non-nil.
10283 (Bug#11746)
10284
d6d236e2
GM
102852013-05-30 Glenn Morris <rgm@gnu.org>
10286
8accd027
GM
10287 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10288
2a8bed1c
GM
10289 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10290 (cc-require): Suppress spurious "noruntime" warnings.
10291 (cc-require-when-compile): Use fboundp, for sake of compiler.
10292
d6d236e2
GM
10293 * progmodes/cc-mode.el: Move load of cc-vars before that of
10294 cc-langs (which in turn loads cc-vars), to quieten compiler.
10295
9190b35b
SM
102962013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10297
10298 * paren.el: Simplify the code.
10299 (show-paren-mode): Always start the timer.
10300 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10301 (show-paren--overlay, show-paren--overlay-1): Rename from
10302 show-paren-overlay and show-paren-overlay-1, and initialize to an
10303 overlay rather than to nil.
10304 (show-paren-function): Misc cleanup and simplifications.
10305
4f8d1cf6
SM
103062013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10307
10308 * paren.el (show-paren-data-function): New hook.
10309 (show-paren--default): New function, extracted from show-paren-function.
10310 (show-paren-function): Use show-paren-data-function.
10311
02d844b5
GM
103122013-05-30 Glenn Morris <rgm@gnu.org>
10313
d209d4a9
GM
10314 * ielm.el (ielm-map, ielm-complete-symbol):
10315 Use completion-at-point rather than obsolete functions.
10316 (inferior-emacs-lisp-mode): Doc fix.
10317 Set completion-at-point-functions, rather than
10318 comint-dynamic-complete-functions.
10319
2082faa6
GM
10320 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10321 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10322 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10323
dd8620de
GM
10324 * image.el (image-animated-p): Tweak definition.
10325
ceca95b1
GM
10326 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10327 (rlogin-process-connection-type): Tweak default. Add set-after.
10328 (rlogin-host): Doc fix.
10329 (rlogin): Tweak prompt.
10330 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10331
ee9f1acc
GM
10332 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10333 * progmodes/tcl.el (inferior-tcl-mode-map):
10334 Use completion-at-point rather than obsolete alias.
10335
45ce222e
GM
10336 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10337
02d844b5
GM
10338 * minibuffer.el (read-file-name-completion-ignore-case):
10339 Move before completion--in-region, for eager macro expansion.
10340
ac44d6c1
JL
103412013-05-29 Juri Linkov <juri@jurta.org>
10342
10343 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10344 for total count of matching lines. Add `global-matches' for total
10345 count of matches. Rename `matches' to `lines' for count of
10346 matching lines. Add `matches' for count of matches.
10347 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10348 to `prev-line' for line number of prev match endpt.
10349 Increment `matches' for every match. Print the number of
10350 matching lines in the header.
10351 (occur-context-lines): Rename `lines' to `curr-line'.
10352 Rename `prev-lines' to `prev-line'. (Bug#14017)
10353
3c9c9d38
JL
103542013-05-29 Juri Linkov <juri@jurta.org>
10355
10356 * replace.el (perform-replace): Add `skip-read-only-count',
10357 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10358 Increment them for corresponding conditions and report the number
10359 of skipped occurrences in the final message. (Bug#11746)
10360 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10361 (replace-string, replace-regexp): Doc fix.
10362
33e249a2
SM
103632013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10364
8e399682
SM
10365 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10366
33e249a2 10367 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10368 prog-mode-map (bug#14504).
33e249a2 10369
f236dd84
LL
103702013-05-29 Leo Liu <sdl.web@gmail.com>
10371
10372 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10373 (octave-help): Small simplification.
10374
10375 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10376 off the highlight first.
10377
3694d13f
GM
103782013-05-29 Glenn Morris <rgm@gnu.org>
10379
03983bdc
GM
10380 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10381 Handle idlwave-last-system-routine-info-cons-cell being nil.
10382
bc74a74a
GM
10383 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10384 (idlwave-write-paths): Simplify via with-temp-buffer.
10385
8b394200
GM
10386 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10387 * emulation/cua-rect.el: Also load cua-base at run time.
10388
3694d13f
GM
10389 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10390 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10391 (cperl-imenu-on-info): Require imenu.
10392
336d7284
AM
103932013-05-28 Alan Mackenzie <acm@muc.de>
10394
10395 Handle "capitalised keywords" correctly.
33e249a2 10396 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10397
cb29c582
AG
103982013-05-28 Aidan Gauland <aidalgol@amuri.net>
10399
781b4af6 10400 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10401
690e44b2
GM
104022013-05-28 Glenn Morris <rgm@gnu.org>
10403
e658d75c
GM
10404 * vc/vc-arch.el (vc-exec-after): Declare.
10405 (vc-switches): Autoload.
10406 * vc/vc-bzr.el: No need to require vc when compiling.
10407 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10408 (vc-resynch-buffer, vc-dir-refresh): Declare.
10409 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10410 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10411 (vc-resynch-buffer): Declare.
10412 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10413 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10414 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10415 (grep-read-regexp, grep-read-files, grep-expand-template)
10416 (vc-dir-refresh): Declare.
10417 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10418 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10419 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10420 * vc/vc-mtn.el (vc-exec-after): Declare.
10421 (vc-switches): Autoload.
10422 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10423 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10424 (vc-file-tree-walk): Declare.
712b9732
GM
10425 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10426 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10427 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10428 * vc/vc-svn.el (vc-exec-after): Declare.
10429 (vc-switches, vc-setup-buffer): Autoload.
10430 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10431 Autoload.
10432 (vc-resynch-buffer): Declare.
10433
98e87fb3
GM
10434 * obsolete/fast-lock.el (byte-compile-warnings):
10435 Don't warn about obsolete features in this obsolete file.
10436
f5379553
GM
10437 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10438 Move definition before use.
10439
7a20ef83
GM
10440 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10441 (dun-unix-verbs): Remove dun-zippy.
10442 (dun-zippy): Remove function.
10443
690e44b2
GM
10444 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10445
3a52ccf7
JL
104462013-05-27 Juri Linkov <juri@jurta.org>
10447
10448 * replace.el (replace-search): New function with code moved out
10449 from `perform-replace'.
10450 (replace-highlight, replace-dehighlight): Move function definitions
10451 up closer to `replace-search'. (Bug#11746)
10452
d289938a
JL
104532013-05-27 Juri Linkov <juri@jurta.org>
10454
10455 * replace.el (perform-replace): Ignore invisible matches.
10456 In addition to checking `query-replace-skip-read-only', also
10457 filter out matches by calling `run-hook-with-args-until-failure'
10458 on `isearch-filter-predicates', and also check `search-invisible'
10459 for t or call `isearch-range-invisible'.
10460 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10461
66fc57e3
JL
104622013-05-27 Juri Linkov <juri@jurta.org>
10463
10464 * isearch.el (isearch-filter-predicates): Rename from
10465 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10466 (isearch-message-prefix): Display text from the property
10467 `isearch-message-prefix' of the currently active filters.
10468 (isearch-search): Don't compare `isearch-filter-predicate' with
10469 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10470 on `isearch-filter-predicates'. Also check `search-invisible' for t
10471 or call `isearch-range-invisible'.
10472 (isearch-filter-visible): Make obsolete.
10473 (isearch-lazy-highlight-search):
10474 Call `run-hook-with-args-until-failure' on
10475 `isearch-filter-predicates' and use `isearch-range-invisible'.
10476
10477 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10478 `isearch-filter-predicates' instead of `funcall'ing
10479 `isearch-filter-predicate'.
10480 (Info-mode): Set `Info-isearch-filter' to
10481 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10482
10483 * dired-aux.el (dired-isearch-filter-predicate-orig):
10484 Remove variable.
10485 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10486 (dired-isearch-filenames-end): Add and remove
10487 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10488 instead of changing the value of `isearch-filter-predicate'.
10489 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10490 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10491 Put property `isearch-message-prefix' to "filename " on
10492 `dired-isearch-filter-filenames'.
10493
10494 * wdired.el (wdired-change-to-wdired-mode):
10495 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10496 locally instead of changing `isearch-filter-predicate'.
10497 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10498
f1a60a0f
DG
104992013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10500
10501 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10502 return the commit hash (Bug#14459). Also set the
10503 `vc-git-detached' property.
10504 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10505 (vc-git-mode-line-string): Use the same help-echo format whether
10506 in detached mode or not, because we know the actual revision now.
10507 When in detached mode, shorten the revision to 7 chars.
10508
7f17cc40
SM
105092013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10510
10511 * emacs-lisp/easy-mmode.el (define-minor-mode):
10512 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10513 mode hook and provide a docstring.
10514
25c8401c
AM
105152013-05-27 Alan Mackenzie <acm@muc.de>
10516
10517 Remove spurious syntax-table text properties inserted by C-y.
10518 * progmodes/cc-mode.el (c-after-change): Also clear hard
10519 syntax-table property with value nil.
10520
dde84790
MA
105212013-05-27 Michael Albinus <michael.albinus@gmx.de>
10522
10523 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10524 when reading the events; the buffer layout shall not be changed.
10525
837fd9af
LL
105262013-05-27 Leo Liu <sdl.web@gmail.com>
10527
10528 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10529 New variable.
10530 (inferior-octave-directory-tracker): Automatically re-sync
10531 default-directory.
10532 (octave-help): Improve handling of 'See also'.
10533
4fd996b3
SM
105342013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10535
416f1802
SM
10536 * doc-view.el: Minor naming convention tweaks.
10537 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10538
4fd996b3
SM
10539 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10540 even if there's no `display' property yet (bug#14435).
10541
a052ef3b
EZ
105422013-05-25 Eli Zaretskii <eliz@gnu.org>
10543
4fd996b3 10544 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10545
10546 * Makefile.in (custom-deps, finder-data, autoloads)
10547 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10548 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10549 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10550
c9023370
SM
105512013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10552
10553 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10554 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10555 Don't burp at EOB.
c9023370 10556
24d699fa
LL
105572013-05-25 Leo Liu <sdl.web@gmail.com>
10558
10559 * comint.el (comint-previous-matching-input): Do not flood the
10560 *Messages* buffer with trivial messages.
10561
17e5c0cc
SM
105622013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10563
10564 * progmodes/flymake.el (flymake-nop): Don't return a string.
10565 (flymake-set-at): Fix typo.
10566
10567 * simple.el (read--expression): New function, extracted from
10568 eval-expression. Set completion-at-point-functions (bug#14465).
10569 (eval-expression, eval-minibuffer): Use it.
10570
5d028165
XF
105712013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10572
10573 * progmodes/flymake.el (flymake-save-buffer-in-file)
10574 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10575 (flymake-selected-frame, flymake-log, flymake-ins-after)
10576 (flymake-set-at, flymake-get-buildfile-from-cache)
10577 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10578 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10579 Refine the doc string.
10580 (flymake-get-file-name-mode-and-masks): Reformat.
10581 (flymake-get-real-file-name-function): Fix a minor bug.
10582
7a1d7ba7
JL
105832013-05-24 Juri Linkov <juri@jurta.org>
10584
10585 * progmodes/grep.el (grep-mode-font-lock-keywords):
10586 Support =linenumber= format used by git-grep for lines with
10587 function names. (Bug#13549)
10588
650cff3d
SM
105892013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10590
10591 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10592 0 after a semi-colon; it works better for smie-auto-fill.
10593 (octave--indent-new-comment-line): New function.
10594 (octave-indent-new-comment-line): Use it (indirectly).
10595 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10596 modify comment-line-break-function.
10597
10598 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10599 (smie-setup): Use add-function to set it.
10600
9631677d
SS
106012013-05-24 Sam Steingold <sds@gnu.org>
10602
10603 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10604 argument (before the `interactive' argument).
10605
50105835
SM
106062013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10607
10608 * image-mode.el (image-mode-winprops): Add winprops to
10609 image-mode-winprops-alist before running
10610 image-mode-new-window-functions.
10611 * doc-view.el (doc-view-new-window-function): Don't delay
10612 doc-view-goto-page via timers (bug#14435).
10613
57b9823e
TH
106142013-05-24 Tassilo Horn <tsdh@gnu.org>
10615
10616 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10617 (doc-view-desktop-save-buffer): New function.
10618 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10619 (desktop-buffer-mode-handlers):
10620 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10621 handler.
10622 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10623 `desktop-save-buffer' function.
10624
91aafa16
MA
106252013-05-24 Michael Albinus <michael.albinus@gmx.de>
10626
10627 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10628 (tramp-gvfs-file-name-handler): Raise a user error when
10629 `tramp-gvfs-enabled' is nil.
10630 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10631 Do not raise a user error when loading package. (Bug#14447)
10632
ec076379
MA
10633 * net/xesam.el: Move to obsolete/.
10634
db785726
GM
106352013-05-24 Glenn Morris <rgm@gnu.org>
10636
af5c7606
GM
10637 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10638
e5d1916a
GM
10639 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10640
ded62b08
GM
10641 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10642 (Info-find-node, Man-getpage-in-background): Declare.
10643
9e614a3f
GM
10644 * mail/unrmail.el (unrmail):
10645 Replace obsolete detect-coding-with-priority.
10646
892f8ca3
GM
10647 * net/socks.el (socks-split-string): Use this rather than split-string.
10648 (socks-nslookup-host): Update for above change.
10649 (dynamic-choice, s5-dynamic-choice-match)
10650 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10651 Comment out unused code.
10652
3c291973
GM
10653 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10654 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10655 (gud-tooltip-echo-area): Make obsolete.
10656 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10657
43cc956b
GM
10658 * progmodes/js.el (js--optimize-arglist): Declare.
10659
dab49a3b
GM
10660 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10661
36b9d085
GM
10662 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10663 (ediff-window-C): Declare.
10664
e354ae76
GM
10665 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10666 Tweak requires to silence compiler.
10667
b8e57bf4
GM
10668 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10669 (he-search-string, he-tried-table, he-expand-list)
10670 (he-init-string, he-string-member, he-substitute-string)
10671 (he-reset-string): Declare.
10672
db785726
GM
10673 * obsolete/options.el (list-options): Use custom-variable-p,
10674 rather than obsolete alias.
10675
b3531901
SS
106762013-05-23 Sam Steingold <sds@gnu.org>
10677
10678 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10679 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10680 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10681
bdda4c66
SM
106822013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10683
10684 * emacs-lisp/smie.el (smie-indent-forward-token)
10685 (smie-indent-backward-token): Handle string tokens (bug#14381).
10686
c43d45f9
TH
106872013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10688
fe1eb856
RS
10689 * ielm.el (ielm-menu): New menu.
10690 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10691
fe1eb856
RS
106922013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10693
a12bf61e 10694 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10695 Fix deactivate action.
10696
a12bf61e 10697 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10698 Add cleveref macros.
074dd971 10699
a12bf61e 10700 * textmodes/reftex-parse.el
c43d45f9
TH
10701 (reftex-locate-bibliography-files): Accept options for
10702 bibliography commands.
a12bf61e 10703 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10704 Add addbibresource. Basic Biblatex support.
10705
7764286e
MA
107062013-05-23 Michael Albinus <michael.albinus@gmx.de>
10707
10708 * net/tramp-gvfs.el (top):
10709 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10710 when loading package. (Bug#14447)
10711
d361bc10
GM
107122013-05-23 Glenn Morris <rgm@gnu.org>
10713
8fa23984
GM
10714 * progmodes/js.el: No need to load comint when compiling.
10715 (ring-insert, comint-send-string, comint-send-input)
10716 (comint-last-input-end, ido-chop): Declare.
10717
a5c7df1a
GM
10718 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10719 * vc/ediff-mult.el: Adjust requires.
10720 (ediff-directories-internal, ediff-directory-revisions-internal)
10721 (ediff-patch-file-internal): Declare.
10722 * vc/ediff-ptch.el: Adjust requires.
10723 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10724 (ediff-find-file): Autoload.
10725 * vc/ediff-util.el: No need to load ediff when compiling.
10726 (ediff-regions-internal): Declare.
10727 * vc/ediff-wind.el: Adjust requires.
10728 (ediff-compute-toolbar-width): Define when compiling.
10729 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10730 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10731 (dired-get-filename, dired-get-marked-files)
10732 (ediff-last-dir-patch, ediff-patch-default-directory)
10733 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10734 (ediff-patch-buffer-internal): Declare.
10735
e2aec513
GM
10736 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10737 (ispell-process, ispell-buffer-local-words, lm-summary)
10738 (lm-section-start, lm-section-end): Declare.
10739 (checkdoc-ispell-init): Simplify.
10740
e68bbd7c
GM
10741 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10742 (he-string-member, he-reset-string, he-substitute-string): Declare.
10743
7efe0991
GM
10744 * eshell/em-ls.el: Adjust requires.
10745 (eshell-glob-regexp): Declare.
f87b1284
GM
10746 * eshell/em-tramp.el: Adjust requires.
10747 (eshell-parse-command): Autoload.
10748 * eshell/em-xtra.el: Adjust requires.
10749 (eshell-parse-command): Autoload.
10750 * eshell/esh-ext.el: Adjust requires.
10751 (eshell-parse-command, eshell-close-handles): Autoload.
10752 * eshell/esh-io.el: Adjust requires.
10753 (eshell-output-filter): Autoload.
10754 * eshell/esh-util.el: No need to load tramp when compiling.
10755 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10756 Declare.
10757 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10758 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10759 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10760 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10761 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10762 * eshell/esh-opt.el, eshell/esh-proc.el:
10763 * eshell/esh-var.el: Adjust requires.
10764 * eshell/eshell.el: Do not require esh-util twice.
10765 (eshell-add-input-to-history): Declare.
10766 (eshell-command): Check history module is active before using it.
10767
d361bc10
GM
10768 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10769
85d090a9
LL
107702013-05-22 Leo Liu <sdl.web@gmail.com>
10771
10772 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10773
5d0acd9d
MA
107742013-05-22 Michael Albinus <michael.albinus@gmx.de>
10775
10776 * autorevert.el (auto-revert-notify-add-watch)
10777 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10778 it indicates changes in file modification time.
10779
0cdffd7d
GM
107802013-05-22 Glenn Morris <rgm@gnu.org>
10781
ca5995ec
GM
10782 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10783 Always delete the autoloaded function from the noruntime and
10784 unresolved functions lists.
10785
6450907e
GM
10786 * allout.el: No need to load epa, epg, overlay when compiling.
10787 (epg-context-set-passphrase-callback, epg-list-keys)
10788 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10789 (epg-key-user-id-list): Declare.
10790
9c6906f6
GM
10791 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10792 (viper-set-parsing-style-toggling-macro)
10793 (viper-set-emacs-state-searchstyle-macros):
10794 Use called-interactively-p on Emacs.
10795 (viper-looking-back): Make it an obsolete alias. Update callers.
10796 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10797 Use looking-back rather than viper-looking-back.
10798 (viper-tmp-insert-at-eob, viper-enlarge-region)
10799 (viper-read-string-with-history, viper-register-to-point)
10800 (viper-append-to-register, viper-change-state-to-vi)
10801 (viper-backward-char-carefully, viper-forward-char-carefully)
10802 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10803 (viper-change-state-to-emacs): Declare.
10804 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10805 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10806 * emulation/viper-mous.el: Do not load viper-cmd.
10807 (viper-backward-char-carefully, viper-forward-char-carefully)
10808 (viper-forward-word, viper-adjust-window): Declare.
10809
5f70c169
GM
10810 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10811
b1b7f300
GM
10812 * progmodes/idlw-help.el (idlwave-help-fontify):
10813 Use called-interactively-p.
10814
f6ebbb46
GM
10815 * term/w32console.el (w32-get-console-codepage)
10816 (w32-get-console-output-codepage): Declare.
10817
0cdffd7d
GM
10818 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10819 Remove unnecessary declarations.
10820 (dframe-message): Doc fix.
10821
10822 * info.el (dframe-select-attached-frame, dframe-current-frame):
10823 Declare.
10824
10825 * speedbar.el (speedbar-message): Make it an obsolete alias.
10826 Update all callers.
10827 (speedbar-with-attached-buffer)
10828 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10829 (speedbar-with-writable): Use backquote.
10830 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10831 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10832 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10833 rather than speedbar- aliases.
10834 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10835 (speedbar-make-specialized-keymap, speedbar-insert-button)
10836 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10837 (speedbar-do-function-pointer): Declare.
10838 (rmail-speedbar-button, rmail-speedbar-find-file)
10839 (rmail-speedbar-move-message):
10840 Use dframe-with-attached-buffer rather than speedbar- alias.
10841 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10842 (dframe-message, speedbar-make-specialized-keymap)
10843 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10844 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10845 (speedbar-insert-button, dframe-select-attached-frame)
10846 (dframe-maybee-jump-to-attached-frame)
10847 (speedbar-change-initial-expansion-list)
10848 (speedbar-previously-used-expansion-list-name): Declare.
10849 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10850 Use dframe-message, dframe-with-attached-buffer rather than
10851 speedbar- aliases.
10852 (gud-sentinel): Silence compiler.
10853 * progmodes/vhdl-mode.el (speedbar-refresh)
10854 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10855 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10856 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10857 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10858 (speedbar-file-lists, speedbar-make-tag-line)
10859 (speedbar-line-directory, speedbar-goto-this-file)
10860 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10861 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10862 (speedbar-make-button, speedbar-reset-scanners)
10863 (speedbar-files-item-info, speedbar-line-text)
10864 (speedbar-find-file-in-frame, speedbar-set-timer)
10865 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10866 (speedbar-with-writable): Do not (re)define it.
10867 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10868 rather than speedbar- alias.
10869
ee44b62a
LL
108702013-05-21 Leo Liu <sdl.web@gmail.com>
10871
10872 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10873 menu items.
10874 (octave-mode): Tweak fill-nobreak-predicate.
10875 (inferior-octave-startup): Check process to avoid infinite loop.
10876 (inferior-octave): Pop to buffer first to show abornmal process
10877 exit information.
10878
640f050f
GM
108792013-05-21 Glenn Morris <rgm@gnu.org>
10880
79458038
GM
10881 * printing.el (pr-menu-bar): Define when compiling.
10882
9cc3e83f
LL
108832013-05-21 Leo Liu <sdl.web@gmail.com>
10884
10885 * progmodes/octave.el (octave-auto-fill): Remove.
10886 (octave-indent-new-comment-line): Improve.
10887 (octave-mode): Use auto fill mode through
4f405069 10888 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10889 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10890 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10891 (octave-help): Show parent directory.
10892
f440830d
GM
108932013-05-21 Glenn Morris <rgm@gnu.org>
10894
10895 * files.el (dired-unmark):
10896 * progmodes/gud.el (gdb-input): Update declarations.
10897
10898 * calculator.el (electric, ehelp): No need to load when compiling.
10899 (Electric-command-loop, electric-describe-mode): Declare.
10900
10901 * doc-view.el (doc-view-current-converter-processes): Move before use.
10902
10903 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10904 Move MODE-set-explicitly definition before use.
10905
10906 * international/mule-diag.el (mule-diag):
10907 Don't use obsolete window-system-version.
10908
10909 * mail/feedmail.el (smtpmail): No need to load when compiling.
10910 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10911
10912 * mail/mail-utils.el (rfc822): No need to load when compiling.
10913 (rfc822-addresses): Autoload it.
10914 (mail-strip-quoted-names): Trivial simplification.
10915
10916 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10917 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10918
10919 * net/snmp-mode.el (tempo): Don't duplicate requires.
10920
10921 * progmodes/prolog.el (info): No need to load when compiling.
10922 (comint): Require before shell requires it.
10923 (Info-goto-node): Autoload it.
10924 (Info-follow-nearest-node): Declare.
10925 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10926
10927 * textmodes/artist.el (picture-mode-exit): Declare.
10928
10929 * textmodes/reftex-parse.el (reftex-parse-from-file):
10930 Trivial rewrite so the compiler can parse it better.
10931
b4da2cbb
LL
109322013-05-20 Leo Liu <sdl.web@gmail.com>
10933
10934 * progmodes/octave.el (octave-help-mode-map)
10935 (octave-help-mode-finish-hook): New variables.
10936 (octave-help-mode, octave-help-mode-finish): New functions.
10937 (octave-help): Use octave-help-mode.
10938
33c0f65b
GM
109392013-05-20 Glenn Morris <rgm@gnu.org>
10940
10941 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10942
1a0a0a8a
DG
109432013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10944
10945 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10946 start at point, so that expansion starting right after opening
10947 slash in a regexp is recognized.
10948 (ruby-syntax-before-regexp-re): New defvar, extracted from
10949 ruby-syntax-propertize-function. Since the value of this regexp
10950 is looked up at runtime now, we should be able to turn
10951 `ruby-syntax-methods-before-regexp' into a defcustom later.
10952 (ruby-syntax-propertize-function): Split regexp matching into two
10953 parts, for opening and closing slashes. That allows us to skip
10954 over string interpolations and support multiline regexps.
10955 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10956 for them, which calls `ruby-syntax-propertize-expansion'.
10957 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10958 call to `ruby-syntax-propertize-function'.
10959 (ruby-syntax-propertize-expansion): Extracted from
10960 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10961 (ruby-syntax-propertize-percent-literal): Leave point right after
10962 the percent symbol, so that the expression expansion rule can
10963 propertize the contents.
462388b6
DG
10964 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10965 heredoc openers.
10966 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10967
c1a6c0a4
JL
109682013-05-18 Juri Linkov <juri@jurta.org>
10969
10970 * man.el (Man-default-man-entry): Remove `-' from the end
10971 of the default value. (Bug#14400)
10972
8051fccd
GM
109732013-05-18 Glenn Morris <rgm@gnu.org>
10974
10975 * comint.el (comint-password-prompt-regexp):
10976 Allow "password for XXX" where XXX contains colons (eg https://...).
10977
5e80b74f
LL
109782013-05-18 Leo Liu <sdl.web@gmail.com>
10979
10980 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10981 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10982 (octave-source-directories): Don't check process.
10983 (octave-source-directories, octave-find-definition): Doc fix.
10984
521a54c5
GM
109852013-05-18 Glenn Morris <rgm@gnu.org>
10986
86a94b05
GM
10987 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10988 Remove backspace/delete bindings. (Bug#14392)
10989
521a54c5
GM
10990 * cus-dep.el (custom-make-dependencies): Sort the output.
10991 (custom-versions-load-alist): Convert comment to doc.
10992
42caeb89
LL
109932013-05-17 Leo Liu <sdl.web@gmail.com>
10994
10995 * newcomment.el (comment-search-backward): Stricter in finding
10996 comment start. (Bug#14303)
10997
10998 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10999 (octave-comment-start-skip): Properly anchored.
11000
e219dd97
LL
110012013-05-17 Leo Liu <sdl.web@gmail.com>
11002
fe1eb856
RS
11003 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11004 Clean up when turned off. (Bug#14395)
e219dd97
LL
11005 (smie--highlight-matching-block-overlay): No longer buffer-local.
11006 (smie-highlight-matching-block): Adjust.
11007
dc5dcb4b
PE
110082013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11009
11010 Doc string fix for "nanoseconds" (Bug#14406).
11011 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11012 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11013
1db165f0
JB
110142013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11015
11016 * calc/calc-units.el (math-extract-units): Preserve powers
11017 of units.
11018
c7a8fcac
LL
110192013-05-17 Leo Liu <sdl.web@gmail.com>
11020
11021 * subr.el (delete-consecutive-dups): New function.
11022 * ido.el (ido-set-matches-1): Use it.
11023 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11024 * ido.el (ido-remove-consecutive-dups): Remove.
11025
f678b18a
SM
110262013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11027
11028 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11029 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11030 regexp-opt's `words'.
11031
ebfe68e8
LL
110322013-05-16 Leo Liu <sdl.web@gmail.com>
11033
11034 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11035 (smie--highlight-matching-block-overlay)
11036 (smie--highlight-matching-block-lastpos)
11037 (smie--highlight-matching-block-timer): New variables.
11038 (smie-highlight-matching-block): New function.
11039 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11040 (smie-setup): Conditionally enable smie-blink-matching-open.
11041
bc8bc17d
WS
110422013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11043
11044 Sync with upstream verilog-mode r840.
11045 * progmodes/verilog-mode.el (verilog-mode-version)
11046 (verilog-mode-release-date): Update.
11047 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11048 (verilog-sig-tieoff): Fix string error on
11049 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11050 (verilog-read-decls): Fix parameters confusing
11051 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11052
df065a0b
EZ
110532013-05-16 Eli Zaretskii <eliz@gnu.org>
11054
11055 * subr.el (reveal-filename): New function.
11056
11057 * loadup.el: Compute Emacs executable versions on MS-Windows,
11058 where executables have the .exe extension. Add a hard link
11059 emacs-XX.YY.ZZ.exe on MS-Windows.
11060
11061 * Makefile.in (XARGS_LIMIT): New variable.
11062 (custom-deps, finder-data, autoloads)
11063 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11064 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11065 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11066 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11067
2d4bf34b
LL
110682013-05-16 Leo Liu <sdl.web@gmail.com>
11069
11070 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11071 (octave-mode-menu, octave-mode-map): Remove its uses.
11072
6b9c2d85
RZ
110732013-05-16 Reto Zimmermann <reto@gnu.org>
11074
11075 Sync with upstream vhdl mode v3.34.2.
11076 * progmodes/vhdl-mode.el: Use `push' throughout.
11077 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11078 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11079 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11080 (vhdl-actual-generic-name): New option to derive actual generic name.
11081 (vhdl-port-paste-signals): Replace formal by actual generics.
11082 (vhdl-beautify): New name for old group vhdl-align. Update users.
11083 (vhdl-beautify-options): New option.
11084 (vhdl-last-input-event): New compat alias. Use throughout.
11085 (vhdl-goto-line): Replace user level function `goto-line'.
11086 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11087 vhdl-fix-statement-buffer.
11088 (vhdl-create-mode-menu): Add some entries.
11089 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11090 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11091 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11092 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11093 to force statements on one line.
11094 (vhdl-remove-trailing-spaces-region):
11095 New, split from vhdl-remove-trailing-spaces.
11096 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11097 Respect vhdl-beautify-options.
11098 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11099 (vhdl-update-sensitivity-list): Not add with index if exists without.
11100 Not include array index with signal. Ignore keywords in comments.
11101 (vhdl-get-visible-signals): Regexp tweaks.
11102 (vhdl-template-component-inst): Handle empty library.
11103 (vhdl-template-type): Add template for 'enum' type.
11104 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11105 Use vhdl-replace-string.
11106 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11107 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11108 (vhdl-speedbar-initialize): Update for above name change.
11109 (vhdl-compose-wire-components): Fix in handling of constants.
11110 (vhdl-error-regexp-emacs-alist): New variable.
11111 (vhdl-error-regexp-add-emacs): New function;
11112 adds support for new compile.el (Emacs 22+)
11113 (vhdl-generate-makefile-1): Change target order for single lib. units.
11114 Allow use of absolute file names.
11115
9df4ec5e
LL
111162013-05-16 Leo Liu <sdl.web@gmail.com>
11117
11118 * simple.el (prog-indent-sexp): Indent enclosing defun.
11119
f5ba00a6
GM
111202013-05-15 Glenn Morris <rgm@gnu.org>
11121
ed8be7ff
GM
11122 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11123 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11124 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11125 (whitespace-highlight): Move to whitespace group.
11126
11127 * comint.el (comint-source):
11128 * pcmpl-linux.el (pcmpl-linux):
11129 * shell.el (shell-faces):
11130 * eshell/esh-opt.el (eshell-opt):
11131 * international/ccl.el (ccl): Remove empty custom groups.
11132
11133 * completion.el (dynamic-completion-mode):
11134 * jit-lock.el (jit-lock-debug-mode):
11135 * minibuffer.el (completion-in-region-mode):
11136 * type-break.el (type-break-mode-line-message-mode)
11137 (type-break-query-mode):
11138 * emulation/tpu-edt.el (tpu-edt-mode):
11139 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11140 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11141 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11142
11143 * term/xterm.el (xterm): Change parent group to terminals.
11144
11145 * master.el (master): Remove empty custom group.
11146 (master-mode): Remove unused :group argument.
11147 * textmodes/refill.el (refill): Remove empty custom group.
11148 (refill-mode): Remove unused :group argument.
11149
11150 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11151
82a7c41b
GM
11152 * cus-dep.el: Provide a feature.
11153 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
11154 Don't mistakenly ignore files whose basenames match a basename
11155 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 11156 Add a fallback method for getting :group.
f5ba00a6 11157
6d65486d
JL
111582013-05-15 Juri Linkov <juri@jurta.org>
11159
da547b32
JL
11160 * isearch.el (isearch-char-by-name): Rename from
11161 `isearch-insert-char-by-name'. Doc fix.
11162 (isearch-forward): Mention `isearch-char-by-name' in
11163 the docstring. (Bug#13348)
11164
6d65486d
JL
11165 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11166 `exit-minibuffer' instead of
11167 `isearch-nonincremental-exit-minibuffer'.
11168 (isearch-edit-string): Remove mention of
11169 `isearch-nonincremental-exit-minibuffer' from docstring.
11170 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11171 (isearch-forward-exit-minibuffer)
11172 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11173
c9990474
SM
111742013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11175
6e911150
SM
11176 * loadup.el: Just use unversioned DOC.
11177
c9990474
SM
11178 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11179 literals as extending to EOB.
11180 (nxml-last-fontify-end): Remove unused variable.
11181 (nxml-after-change1): Use with-silent-modifications.
11182 (nxml-extend-after-change-region): Simplify.
11183 (nxml-extend-after-change-region1): Remove function.
11184 (nxml-after-change1): Don't adjust for dependent regions.
11185 (nxml-fontify-matcher): Simplify.
11186 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11187 (xmltok-add-dependent): Remove function.
11188 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11189 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11190 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11191 unclosed <[[, <?, comment, and other literals as extending to EOB.
11192 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11193 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11194 Remove functions.
11195 (rng-do-some-validation-1): Don't mark dependent regions.
11196 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11197 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11198 (nxml-clear-dependent-regions): Remove functions.
11199 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11200 (nxml-ensure-scan-up-to-date):
11201 Don't clear&mark dependent regions.
11202
e3772e98
LL
112032013-05-15 Leo Liu <sdl.web@gmail.com>
11204
c9990474
SM
11205 * progmodes/octave.el (octave-goto-function-definition):
11206 Improve and fix callers.
e3772e98 11207
5ac2eb34
SM
112082013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11209
c46c57b0
SM
11210 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11211 the setter (bug#14387).
11212
5ac2eb34
SM
11213 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11214 surrounding group (bug#14402).
11215
180ed218
JL
112162013-05-14 Juri Linkov <juri@jurta.org>
11217
11218 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11219 (Bug#14390)
11220
0ac0fecb
GM
112212013-05-14 Glenn Morris <rgm@gnu.org>
11222
11223 * progmodes/f90.el (f90-imenu-generic-expression):
11224 Fix typo in 2013-05-08 change. (Bug#14402)
11225
2e78e6a7
JPG
112262013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11227
5ac2eb34
SM
11228 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11229 Remove signals for which replies are never received.
2e78e6a7 11230
53267cca
JPG
112312013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11232
11233 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11234 (gdb-handler-alist, gdb-handler-number): Remove variables.
11235 (gdb-handler-list): New variable.
11236 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11237 (gdb-pending-handler-p, gdb-handle-reply)
11238 (gdb-remove-all-pending-triggers): New functions.
11239 (gdb-discard-unordered-replies): New defcustom.
11240 (gdb-handler): New defstruct.
11241 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11242 instead of gdb-pending-triggers. Update docstring.
11243 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11244 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11245 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11246 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11247 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11248 (gdb-frame-handler): Pending triggers are now automatically managed.
11249 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11250 Remove argument.
11251 (gdb-input): Automatically handles pending triggers. Update docstring.
11252 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11253 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11254 Update comments.
11255 (gdb-done-or-error): Now use gdb-handle-reply.
11256
d04ce803
JPG
112572013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11258
11259 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11260 gdb-debug-log.
11261
0114073a
GM
112622013-05-14 Glenn Morris <rgm@gnu.org>
11263
11264 * subr.el (user-emacs-directory-warning): New option.
11265 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11266
4d25fd7e
LL
112672013-05-14 Leo Liu <sdl.web@gmail.com>
11268
11269 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11270 during redisplay.
11271 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11272 (octave-font-lock-texinfo-comment): Fix invalid search bound
11273 error: wrong side of point.
4d25fd7e 11274
27c8b6eb
GM
112752013-05-14 Glenn Morris <rgm@gnu.org>
11276
61aaeb01
GM
11277 * progmodes/flymake.el (flymake-xml-program): New option.
11278 (flymake-xml-init): Use it.
11279
5bf90bc5
GM
11280 * term/xterm.el: Provide a feature.
11281
11282 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11283
f4c7dfd2
GM
112842013-05-13 Glenn Morris <rgm@gnu.org>
11285
11286 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11287 Add compat aliases as a hack workaround. (Bug#14384)
11288
2aeb3a1d
LL
112892013-05-13 Leo Liu <sdl.web@gmail.com>
11290
b0e069c2
LL
11291 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11292 ###, and %!.
f5a9432f
LL
11293 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11294 C-M-q.
b0e069c2
LL
11295 (octave-comment-start-skip): Include %!.
11296 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11297
30ea8374
LL
112982013-05-12 Leo Liu <sdl.web@gmail.com>
11299
11300 * progmodes/octave.el (inferior-octave-startup): Store the value
11301 of __octave_srcdir__ for octave-source-directories.
11302 (inferior-octave-check-process): New function refactored out of
11303 inferior-octave-send-list-and-digest.
11304 (octave-source-directories)
11305 (octave-find-definition-filename-function): New variables.
11306 (octave-source-directories)
11307 (octave-find-definition-default-filename): New functions.
11308 (octave-find-definition): Improve to find functions implemented in C++.
11309
472a3834
GM
113102013-05-12 Glenn Morris <rgm@gnu.org>
11311
11312 * calendar/diary-lib.el (diary-outlook-format-1):
11313 Don't include dayname in the output. (Bug#14349)
11314
3191b52f
GM
113152013-05-11 Glenn Morris <rgm@gnu.org>
11316
0060ac73
GM
11317 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11318
3191b52f
GM
11319 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11320 Treat cc-provide like provide.
11321
e065ba74
KR
113222013-05-11 Kevin Ryde <user42@zip.com.au>
11323
11324 * cus-dep.el (custom-make-dependencies):
11325 Use generated-autoload-load-name for the sake of files such
11326 such cedet/semantic/bovine/c.el, where the base file name
11327 is not in load-path. (Bug#5277)
11328
36f84c37
GM
113292013-05-11 Glenn Morris <rgm@gnu.org>
11330
11331 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11332 Provide features.
11333
c8730c3a
LL
113342013-05-11 Leo Liu <sdl.web@gmail.com>
11335
11336 * progmodes/octave.el (octave-indent-comment): Improve.
11337 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11338 (octave-eldoc-function-signatures, octave-eldoc-function):
11339 New functions.
c8730c3a
LL
11340 (octave-mode, inferior-octave-mode): Add eldoc support.
11341
212e29f2
RS
113422013-05-11 Richard Stallman <rms@gnu.org>
11343
11344 * epa.el (epa-decrypt-file): Take output file name as argument
11345 and read it using `interactive'.
11346
083fe0d7
LL
113472013-05-11 Leo Liu <sdl.web@gmail.com>
11348
11349 * progmodes/octave.el (octave-beginning-of-line)
11350 (octave-end-of-line): Check before using up-list because it jumps
11351 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11352 (octave-indent-comment): New function.
11353 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11354 (octave-begin-keywords, octave-end-keywords)
11355 (octave-reserved-words, octave-smie-bnf-table)
11356 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11357
8582e4c4
GM
113582013-05-11 Glenn Morris <rgm@gnu.org>
11359
f20def1f
GM
11360 * faces.el (internal-face-x-get-resource):
11361 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11362 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11363 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11364 Fix declarations.
f20def1f 11365
445f95e2
GM
11366 * calc/calc-menu.el: Make it loadable in isolation.
11367
11368 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11369 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11370 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11371 (eudc-bbdb-query-internal): Require 'bbdb.
11372
99fb2756
GM
11373 * lpr.el (lpr-headers-switches):
11374 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11375
11376 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11377
0da7ad96
GM
11378 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11379
8582e4c4
GM
11380 * term.el (term-set-escape-char): Make it idempotent.
11381
f71c50d0
LL
113822013-05-10 Leo Liu <sdl.web@gmail.com>
11383
5ac2eb34
SM
11384 * progmodes/octave.el (inferior-octave-completion-table):
11385 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11386 completion due to bug#11906.
11387 (octave-beginning-of-defun): Re-write to be more general.
11388
d5837773
GM
113892013-05-10 Glenn Morris <rgm@gnu.org>
11390
11391 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11392
027c0f75
SM
113932013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11394
11395 * comint.el (comint-redirect-send-command-to-process): Use :around
11396 rather than :override for comint-redirect-filter.
11397 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11398 Call it instead of comint-redirect-original-filter-function (which
11399 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11400
4465bfb4
JD
114012013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11402
11403 * frame.el (display-monitor-attributes-list): Add NS case.
11404 (ns-display-monitor-attributes-list): Declare.
11405
2d809ffa 114062013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11407
11408 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11409
e54eeb9b
GM
114102013-05-09 Glenn Morris <rgm@gnu.org>
11411
56cd351d
GM
11412 * international/fontset.el (vertical-centering-font-regexp):
11413 Set standard-value.
11414
d84b6108
GM
11415 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11416
a931698a
GM
11417 * bookmark.el (bookmark-search-delay):
11418 * cus-start.el (vertical-centering-font-regexp):
11419 * ps-mule.el (ps-mule-font-info-database-default):
11420 * ps-print.el (ps-default-fg, ps-default-bg):
11421 * type-break.el (type-break-good-break-interval):
11422 * whitespace.el (whitespace-indentation-regexp)
11423 (whitespace-space-after-tab-regexp):
11424 * emacs-lisp/testcover.el (testcover-1value-functions)
11425 (testcover-noreturn-functions, testcover-progn-functions)
11426 (testcover-prog1-functions):
11427 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11428 * eshell/em-glob.el (eshell-glob-translate-alist):
11429 * play/tetris.el (tetris-tty-colors):
11430 * progmodes/cpp.el (cpp-face-default-list):
11431 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11432 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11433 (idlwave-help-browser-generic-args):
11434 * progmodes/make-mode.el (makefile-special-targets-list):
11435 * progmodes/python.el (python-shell-virtualenv-path):
11436 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11437 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11438 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11439 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11440 * textmodes/reftex-vars.el (reftex-format-label-function):
11441 * textmodes/remember.el (remember-diary-file): Fix custom types.
11442
e54eeb9b
GM
11443 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11444 Add :version.
11445
455851dd
LL
114462013-05-09 Leo Liu <sdl.web@gmail.com>
11447
11448 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11449 Restore file completion. (Bug#14300)
455851dd
LL
11450 (inferior-octave-startup): Fix incorrect highlighting for the
11451 first prompt.
11452
a9e4425b
SM
114532013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11454
11455 * progmodes/ruby-mode.el: First cut at SMIE support.
11456 (ruby-use-smie): New var.
11457 (ruby-smie-grammar): New constant.
11458 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11459 (ruby-smie--forward-token, ruby-smie--backward-token)
11460 (ruby-smie-rules): New functions.
11461 (ruby-mode-variables): Setup SMIE if applicable.
11462
060ca408
EZ
114632013-05-08 Eli Zaretskii <eliz@gnu.org>
11464
11465 * simple.el (line-move-visual): Signal beginning/end of buffer
11466 only if vertical-motion moved less than it was requested. Avoids
11467 silly incorrect error messages when there are display strings with
11468 multiple newlines at EOL.
11469
1d5963cc
SM
114702013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11471
11472 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11473 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11474 (prolog-char-quote-workaround):
11475 * progmodes/cperl-mode.el (cperl-under-as-char):
11476 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11477 Mark as obsolete.
11478 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11479 their declaration.
11480 (vhdl-mode-syntax-table-init): Remove.
11481
c9990474
SM
11482 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11483 last change.
1d5963cc
SM
11484
11485 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11486 syntax for "_".
11487 (ld-script-font-lock-keywords):
11488 Change regexps to use things like \_< and \_>.
11489
11490 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11491 Change all regexps to use things like \_< and \_>.
11492
11493 * progmodes/autoconf.el (autoconf-definition-regexp)
11494 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11495 Handle a _ with symbol syntax.
11496 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11497
c9990474
SM
11498 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11499 Consolidate declaration.
1d5963cc
SM
11500 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11501 the declaration.
11502 (ada-create-syntax-table): Remove.
11503 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11504 already has the right syntax nowadays.
11505 (ada-goto-next-word): Don't change the syntax of "_".
11506
11507 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11508 with-wrapper-hook.
11509
72d3cfca
SS
115102013-05-08 Sam Steingold <sds@gnu.org>
11511
11512 * thingatpt.el (thing-at-point): Accept optional second argument
11513 NO-PROPERTIES to strip the text properties from the return value.
11514 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11515 to `thing-at-point' instead of stripping the properties ourselves.
11516 Also, when `thing-at-point' fails to find a url, prepend "http://"
11517 to the filename at point on the assumption that the user is
11518 pointing at something like gnu.org/gnu.
11519
5cb15713
JB
115202013-05-08 Juanma Barranquero <lekktu@gmail.com>
11521
11522 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11523 * faces.el (crm-separator):
11524 Silence byte-compiler.
11525
11526 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11527 (tool-bar-map): Remove unneeded defvars.
11528
ea78b95b
LL
115292013-05-08 Leo Liu <sdl.web@gmail.com>
11530
11531 Re-work a fix for bug#10994 based on Le Wang's patch.
11532 * ido.el (ido-remove-consecutive-dups): New helper.
11533 (ido-completing-read): Use it.
11534 (ido-chop): Revert fix for bug#10994.
11535
dc7466df
AS
115362013-05-08 Adam Spiers <emacs@adamspiers.org>
11537
11538 * cus-edit.el (custom-save-variables):
11539 Pretty-print long values. (Bug#14187)
11540
9ecf672a
GM
115412013-05-08 Glenn Morris <rgm@gnu.org>
11542
11543 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11544 (m4-mode-syntax-table): Init in the defvar.
11545 (m4-mode-abbrev-table): Let define-derived-mode define it.
11546
3f555be8
TT
115472013-05-08 Tom Tromey <tromey@redhat.com>
11548
11549 * progmodes/m4-mode.el (m4-mode-syntax-table):
11550 Do not treat "_" as word constituent. (Bug#14167)
11551
7cc8ae06
GM
115522013-05-07 Glenn Morris <rgm@gnu.org>
11553
4f58bc06
GM
11554 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11555 Remove explicit eshell-isearch-cancel-map.
11556
7cc8ae06
GM
11557 * progmodes/f90.el (f90-smart-end-names): New option.
11558 (f90-smart-end): Doc fix.
11559 (f90-end-block-optional-name): New constant.
11560 (f90-block-match): Respect f90-smart-end-names.
11561
ceb57e59
SM
115622013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11563
11564 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11565 about implicit semi-colons (bug#14218).
11566
4e3f9230
YM
115672013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11568
11569 * frame.el (display-monitor-attributes-list)
11570 (frame-monitor-attributes): New functions.
11571
203a5572
LL
115722013-05-06 Leo Liu <sdl.web@gmail.com>
11573
11574 * progmodes/octave.el (octave-syntax-propertize-function): Change
11575 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11576 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11577 (octave-completion-at-point): Rename from
203a5572
LL
11578 octave-completion-at-point-function.
11579 (inferior-octave-directory-tracker): Robustify.
11580 (octave-text-functions): Remove and fix its uses. No such things
11581 any more.
11582
ee6cff99
SM
115832013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11584
11585 * emacs-lisp/trace.el (trace--display-buffer): New function.
11586 (trace-make-advice): Use it.
11587
32985194
JL
115882013-05-06 Juri Linkov <juri@jurta.org>
11589
11590 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11591 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11592 Doc fix.
11593 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11594 in the help string. (Bug#12985)
11595
a1c700de
KD
115962013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11597
11598 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11599
c67c0839
SM
116002013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11601
323885fd
SM
11602 * progmodes/perl-mode.el: Add support for here documents.
11603 (perl-syntax-propertize-function): Match here-doc markers.
11604 (perl-syntax-propertize-special-constructs): Find their end.
11605 (perl-imenu-generic-expression): Use [:alnum:].
11606
c67c0839
SM
11607 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11608 (advice--add-function): Refresh the advice if already present
11609 (bug#14317).
11610
d491e7a8
IA
116112013-05-06 Ivan Andrus <darthandrus@gmail.com>
11612
11613 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11614
ddf9925e
GM
116152013-05-06 Glenn Morris <rgm@gnu.org>
11616
7cc3af27
GM
11617 * w32-fns.el (w32-charset-info-alist): Declare.
11618
16e343d6
GM
11619 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11620 of its defcustom properties.
11621 (eshell-cmpl-initialize): No need to load pcomplete.
11622
7d889a47
GM
11623 * generic-x.el: No need to require comint when compiling.
11624
ddf9925e
GM
11625 * net/eudc-export.el: Make it loadable without bbdb.
11626 (top-level): Use require rather than load-library.
11627 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11628 (eudc-batch-export-records-to-bbdb)
11629 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11630 Require bbdb.
11631
1e2c18df
SM
116322013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11633
11634 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11635 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11636 some tweaks, instead.
11637
02502a5f
LL
116382013-05-05 Leo Liu <sdl.web@gmail.com>
11639
11640 * progmodes/octave.el (octave-font-lock-keywords)
11641 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11642 (inferior-octave-send-list-and-digest): Improve error message.
11643 (octave-mode, inferior-octave-mode): Use setq-local.
11644 (octave-help): Set info-lookup-mode.
11645
0dc04f42
RS
116462013-05-05 Richard Stallman <rms@gnu.org>
11647
6c54491c
RS
11648 * vc/compare-w.el (compare-windows-whitespace):
11649 Treat no-break space as whitespace.
11650
0dc04f42
RS
11651 * mail/rmailsum.el (rmail-summary-rmail-update):
11652 Detect empty summary and don't change selected message.
11653 (rmail-summary-goto-msg): Likewise.
11654
df8f35df
RS
11655 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11656 Doc fixes, rename args.
11657
5356e1a3
AM
116582013-05-05 Alan Mackenzie <acm@muc.de>
11659
11660 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11661
d44014cb
JL
116622013-05-05 Juri Linkov <juri@jurta.org>
11663
11664 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11665 to not add the length of the summary segment to the return value.
11666 (Bug#14125)
11667
c129b51f
LL
116682013-05-05 Leo Liu <sdl.web@gmail.com>
11669
11670 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11671 (inferior-octave-output-filter): Remove.
11672 (octave-send-region, inferior-octave-startup): Fix callers.
11673 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11674 (octave-binary-file-extensions): New user variable.
11675 (octave-find-definition): Confirm if opening binary files.
11676 (octave-help-file): Use octave-find-definition to get the binary
11677 confirmation.
11678 (octave-help): Adjust for octave-help-file change.
11679
aa7dab97
SM
116802013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11681
11682 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11683 Merge the two entries that handle function definitions.
11684 (pascal--syntax-propertize): New const.
11685 (pascal-mode): Use it. Use setq-local.
11686
fd3a9a6b
GM
116872013-05-04 Glenn Morris <rgm@gnu.org>
11688
11689 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11690 (diary-from-outlook): Respect diary-from-outlook-function.
11691
30c7e542
SM
116922013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11693
11694 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11695 Move the declaration from C.
11696 (read-minibuffer, eval-minibuffer): Move from C.
11697 (completion-setup-function): Avoid minibuffer-completion-contents.
11698
b54f978b
LL
116992013-05-03 Leo Liu <sdl.web@gmail.com>
11700
11701 * progmodes/octave.el (octave-font-lock-keywords): Do not
11702 dehighlight 'end' in comments or strings.
30c7e542
SM
11703 (octave-completing-read, octave-goto-function-definition):
11704 New helpers.
d4d0f9b3
LL
11705 (octave-help-buffer): New user variable.
11706 (octave-help-file, octave-help-function): New button types.
11707 (octave-help): New command and bind it to C-h ;.
11708 (octave-find-definition): New command and bind it to M-.
d74a1581 11709 (user-error): Alias to error if not defined.
b54f978b 11710
27135018
LL
117112013-05-02 Leo Liu <sdl.web@gmail.com>
11712
11713 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11714 for \. (bug#14332)
11715 (octave-font-lock-keywords): Include [ and {.
11716
0d634d3a
LL
117172013-05-02 Leo Liu <sdl.web@gmail.com>
11718
11719 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11720 (inferior-octave): Remove calling comint-mode and return the buffer.
11721 (inferior-octave-startup): Cosmetic changes.
11722
b4c8295e
LL
117232013-05-02 Leo Liu <sdl.web@gmail.com>
11724
30c7e542
SM
11725 * progmodes/octave.el (octave-syntax-propertize-function):
11726 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11727
f12ad6ec
GM
117282013-05-02 Glenn Morris <rgm@gnu.org>
11729
11730 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11731 * desktop.el (vc-dir-mode): Just autoload it here.
11732
30cac1e0
AM
117332013-05-02 Alan Mackenzie <acm@muc.de>
11734
11735 Eliminate variable c-standard-font-lock-fontify-region-function.
11736 * progmodes/cc-mode.el
11737 (c-standard-font-lock-fontify-region-function): Remove.
11738 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11739
d8ef28b1
LL
117402013-05-01 Leo Liu <sdl.web@gmail.com>
11741
2640d52e 11742 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11743 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11744 variables were removed from Octave in 2007.
d8ef28b1
LL
11745 (inferior-octave-startup): Fix uses.
11746 (comint-line-beginning-position): Remove compatibility code for
11747 emacs 21.
11748
ac63ec89
JL
117492013-05-01 Juri Linkov <juri@jurta.org>
11750
11751 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11752
9e9be37c
JL
117532013-05-01 Juri Linkov <juri@jurta.org>
11754
11755 * comint.el (comint-previous-matching-input): Don't print message
11756 "History item: %d" when `isearch-mode' is active.
11757 (comint-history-isearch-message): Print message "History item: %d"
11758 when `comint-input-ring-index' is not empty and this function is
11759 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11760
9b92c13b
LL
117612013-05-01 Leo Liu <sdl.web@gmail.com>
11762
11763 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11764 definitions. Use completion-at-point to insert keywords.
11765 (octave-abbrev-start): Remove.
11766 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11767
b12d33d7
LL
117682013-04-30 Leo Liu <sdl.web@gmail.com>
11769
11770 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11771 change.
11772
3d1c39fa
AM
117732013-04-30 Alan Mackenzie <acm@muc.de>
11774
11775 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11776 * progmodes/cc-engine.el (c-back-over-member-initializers):
11777 new function.
3d1c39fa
AM
11778 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11779 (most) member init lists.
11780
5147fc17
RS
117812013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11782
11783 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11784 variable.
11785
5b78d7fc
LL
117862013-04-30 Leo Liu <sdl.web@gmail.com>
11787
11788 * progmodes/octave.el (octave-variables): Remove. No builtin
11789 variables any more. All converted to functions.
11790 (octave-font-lock-keywords, octave-completion-at-point-function):
11791 Fix uses.
11792 (octave-font-lock-texinfo-comment): New user variable.
11793 (octave-texinfo-font-lock-keywords): New variable for texinfo
11794 comment block.
11795 (octave-function-comment-block): New face.
11796 (octave-font-lock-texinfo-comment): New function.
11797 (octave-mode): Font lock texinfo comment block.
11798
38d8527b
LL
117992013-04-29 Leo Liu <sdl.web@gmail.com>
11800
11801 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11802 indexing expression.
11803 (octave-continuation-string): Do not use \.
11804 (inferior-octave-complete-impossible): Remove.
11805 (inferior-octave-completion-table)
11806 (inferior-octave-completion-at-point): Remove its uses.
11807 (inferior-octave-startup): completion_matches was introduced to
11808 Octave in 1996 so safe to assume it.
11809 (octave-function-file-comment): Improve to follow how Octave does it.
11810 (octave-update-function-file-comment): Tweak.
11811
2ec12cb0
LL
118122013-04-29 Leo Liu <sdl.web@gmail.com>
11813
11814 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11815 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11816 (octave-function-file-comment): Fix typo.
11817 (octave-sync-function-file-names): Use read-char-choice.
11818
6eaed048
JB
118192013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11820
11821 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11822 to t for the less important warnings.
11823
3ffa2d4f
DH
118242013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11825
11826 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11827
685c9501
GM
118282013-04-27 Glenn Morris <rgm@gnu.org>
11829
11830 * vc/log-view.el (log-view-current-entry):
11831 Treat "---" separator lines as part of the following rev. (Bug#14169)
11832
0208ede7
JL
118332013-04-27 Juri Linkov <juri@jurta.org>
11834
11835 * subr.el (read-number): Doc fix about using it by interactive
11836 code letter `n'. (Bug#14254)
11837
5db9dace
JL
118382013-04-27 Juri Linkov <juri@jurta.org>
11839
11840 * desktop.el (desktop-auto-save-timeout): New option.
11841 (desktop-file-checksum): New variable.
11842 (desktop-save): Add optional arg `auto-save' and don't auto-save
11843 if nothing changed.
11844 (desktop-auto-save-timer): New variable.
11845 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11846 (after-init-hook): Call `desktop-auto-save-set-timer'.
11847 Suggested by Reuben Thomas <rrt@sc3d.org> in
11848 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11849
b7260dd4
LL
118502013-04-27 Leo Liu <sdl.web@gmail.com>
11851
11852 * progmodes/octave.el (octave-function-file-p)
11853 (octave-skip-comment-forward, octave-function-file-comment)
11854 (octave-update-function-file-comment): New functions.
11855 (octave-mode-map): Bind C-c ; to
11856 octave-update-function-file-comment.
11857 (octave-mode-menu): Add octave-update-function-file-comment.
11858 (octave-mode, inferior-octave-mode): Fix doc-string.
11859 (octave-insert-defun): Conform to Octave's coding convention.
11860 (Bug#14285)
11861
11862 * files.el (basic-save-buffer): Don't let errors in
11863 before-save-hook prevent saving buffer.
11864
c46da669
RW
118652013-04-20 Roland Winkler <winkler@gnu.org>
11866
11867 * faces.el (read-face-name): Use completing-read if arg multiple
11868 is nil.
11869
a81ee1eb
IL
118702013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11871
11872 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11873 displayed, move point to after the totals line.
11874 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11875 for the details.
11876
4fac34ce
SM
118772013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11878
11879 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11880 Add current dir to the load-path.
11881 (package-generate-autoloads): Don't rely on
11882 autoload-ensure-default-file.
11883
f6bfc063
RT
118842013-04-26 Reuben Thomas <rrt@sc3d.org>
11885
d40ab5cf
BG
11886 * textmodes/remember.el (remember-store-in-files): Document that
11887 the file name format is passed to `format-time-string'.
f6bfc063 11888
e55d3b04
LL
118892013-04-26 Leo Liu <sdl.web@gmail.com>
11890
11891 * progmodes/octave.el (octave-sync-function-file-names): New function.
11892 (octave-mode): Use it in before-save-hook.
11893
e53052d3
SM
118942013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11895
140ef50c
SM
11896 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11897 (bug#14274).
11898
e53052d3
SM
11899 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11900 \n and comment, even if it's not an implicit ; (bug#14218).
11901
af80458d 119022013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11903
11904 * subr.el (read-number): Once more use `read' rather than
11905 `string-to-number', to trap non-numeric input. (Bug#14254)
11906
af80458d 119072013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11908
11909 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11910 Use `syntax-multiline' text property consistently instead of
8a621d53 11911 `font-lock-multiline'. (Bug#14237)
70203c2e 11912
e6ea1f6c
GM
119132013-04-26 Glenn Morris <rgm@gnu.org>
11914
11915 * emacs-lisp/shadow.el (list-load-path-shadows):
11916 No longer necessary to check for duplicate simple.el, since
11917 2012-07-07 change to init_lread to not include installation lisp
11918 directories in load-path when running uninstalled. (Bug#14270)
11919
070ccca4
LL
119202013-04-26 Leo Liu <sdl.web@gmail.com>
11921
11922 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11923 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11924 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11925 octave-in-string-or-comment-p.
11926 (octave-in-comment-p, octave-in-string-p)
11927 (octave-in-string-or-comment-p): Replace defsubst with defun.
11928
9d1c5fb6
PE
119292013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11930
11931 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11932
c034abda
BG
119332013-04-25 Bastien Guerry <bzg@gnu.org>
11934
11935 * textmodes/remember.el (remember-data-directory)
11936 (remember-directory-file-name-format): Fix custom types.
11937
584ea277
LL
119382013-04-25 Leo Liu <sdl.web@gmail.com>
11939
e53052d3
SM
11940 * progmodes/octave.el (octave-completion-at-point-function):
11941 Make use of inferior octave process.
584ea277
LL
11942 (octave-initialize-completions): Remove.
11943 (inferior-octave-completion-table): New function.
11944 (inferior-octave-completion-at-point): Use it.
11945 (octave-completion-alist): Remove.
11946
1693b06a
SM
119472013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11948
11949 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11950 (opascal-mode-syntax-table): New var.
11951 (opascal-literal-kind, opascal-is-literal-end)
11952 (opascal-literal-token-at): Rewrite.
11953 (opascal--literal-start-re, opascal-font-lock-keywords)
11954 (opascal--syntax-propertize): New constants.
11955 (opascal-font-lock-defaults): Adjust.
11956 (opascal-mode): Use them. Set comment-<foo> variables as well.
11957 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11958 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11959 (delphi-other-face, opascal-other-face): Remove face variables.
11960 (opascal-save-state): Remove macro.
11961 (opascal-fontifying-progress-step): Remove constant.
11962 (opascal--ignore-changes): Remove var.
11963 (opascal-set-token-property, opascal-parse-next-literal)
11964 (opascal-is-stable-literal, opascal-complete-literal)
11965 (opascal-is-literal-start, opascal-face-of)
11966 (opascal-parse-region, opascal-parse-region-until-stable)
11967 (opascal-fontify-region, opascal-after-change)
11968 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11969 (opascal-debug-parse-region, opascal-debug-parse-window)
11970 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11971 (opascal-debug-fontify-buffer): Remove.
11972 (opascal-debug-mode-map): Adjust accordingly.
11973
be64c05d
LL
119742013-04-25 Leo Liu <sdl.web@gmail.com>
11975
11976 Merge octave-mod.el and octave-inf.el into octave.el with some
11977 cleanups.
11978 * progmodes/octave.el: New file renamed from octave-mod.el.
11979 * progmodes/octave-inf.el: Merged into octave.el.
11980 * progmodes/octave-mod.el: Renamed to octave.el.
11981
d79d37bd
TH
119822013-04-25 Tassilo Horn <tsdh@gnu.org>
11983
11984 * textmodes/reftex-vars.el
11985 (reftex-label-ignored-macros-and-environments): New defcustom.
11986
11987 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11988
ced3fc5d
SM
119892013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11990
11991 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11992 (smie-indent-keyword): Improve the check to ensure that the next
11993 comment is really on the same line.
11994 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11995
11996 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11997 semi-colons if the line is not otherwise empty (bug#14218).
11998
1c141dad
GM
119992013-04-25 Glenn Morris <rgm@gnu.org>
12000
12001 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12002
5058062a
SM
120032013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12004
12005 * progmodes/opascal.el (opascal-set-token-property): Rename from
12006 opascal-set-text-properties and only set `token' (bug#14134).
12007 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12008 (opascal-literal-text-properties): Remove.
12009 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12010 Adjust callers.
12011
5db9dace 120122013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
12013
12014 * textmodes/remember.el (remember-handler-functions): Add an
12015 option for a new handler `remember-store-in-files'.
12016 (remember-data-directory, remember-directory-file-name-format):
12017 New options.
12018 (remember-store-in-files): New function to store remember notes
12019 as separate files within a directory.
12020
4391916c
MH
120212013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12022
12023 * progmodes/compile.el (compilation-next-error-function):
12024 Pass "formats" to compilation-find-file (bug#11777).
12025
bb7cdf58
GM
120262013-04-24 Glenn Morris <rgm@gnu.org>
12027
3b8fe752 12028 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
12029 * vc/vc-hg.el (vc-hg-print-log):
12030 * vc/vc-svn.el (vc-svn-print-log):
12031 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12032
bb7cdf58
GM
12033 * vc/vc-bzr.el (vc-bzr-print-log):
12034 * vc/vc-cvs.el (vc-cvs-print-log):
12035 * vc/vc-git.el (vc-git-print-log):
12036 * vc/vc-hg.el (vc-hg-print-log):
12037 * vc/vc-mtn.el (vc-mtn-print-log):
12038 * vc/vc-rcs.el (vc-rcs-print-log):
12039 * vc/vc-sccs.el (vc-sccs-print-log):
12040 * vc/vc-svn.el (vc-svn-print-log):
12041 * vc/vc.el (vc-print-log-internal): Doc fixes.
12042
b46a056e
GM
120432013-04-23 Glenn Morris <rgm@gnu.org>
12044
12045 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12046 Remove venerable code attempting to avoid substitute-command-keys.
12047
0aecf718
TH
120482013-04-23 Tassilo Horn <tsdh@gnu.org>
12049
4391916c
MH
12050 * textmodes/reftex-vars.el (reftex-label-regexps):
12051 Call `reftex-compile-variables' after changes to this variable.
0aecf718 12052
117f94cf
SM
120532013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12054
4391916c 12055 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
12056 Use lexical-binding.
12057 (jit-lock-force-redisplay): Use markers, check buffer's continued
12058 existence and beware narrowed buffers.
12059 (jit-lock-fontify-now): Adjust call accordingly.
12060
1d829c64
SM
120612013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12062
12063 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12064 to avoid misleading the user.
12065
72d548a9
LL
120662013-04-22 Leo Liu <sdl.web@gmail.com>
12067
12068 * info-look.el: Prefer latex2e.info. (Bug#14240)
12069
d0853629
MA
120702013-04-22 Michael Albinus <michael.albinus@gmx.de>
12071
12072 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12073
12074 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 12075 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
12076 (tramp-set-completion-function, tramp-parse-putty):
12077 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12078 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12079 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12080 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12081 (tramp-call-local-coding-command): Use `tramp-call-process'
12082 instead of `tramp-compat-call-process'.
12083
12084 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12085 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12086 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 12087 (tramp-find-inline-compress): Improve traces.
d0853629
MA
12088 (tramp-maybe-send-script): Check for Perl binary.
12089 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12090
38cc0210
DU
120912013-04-22 Daiki Ueno <ueno@gnu.org>
12092
12093 * epg.el (epg-context-pinentry-mode): New function.
12094 (epg-context-set-pinentry-mode): New function.
12095 (epg--start): Pass --pinentry-mode option to gpg command.
12096
cc641ee1
XF
120972013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12098
02d844b5 12099 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 12100 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 12101 `completion-at-point'. (Bug#13774)
5d4e5c31 12102
cc641ee1
XF
12103 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12104 default key binding for `describe-distribution' has been moved to
12105 `C-h C-o'. (Bug#13970)
12106
1b42ee43
GM
121072013-04-21 Glenn Morris <rgm@gnu.org>
12108
12109 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12110 Add doc strings.
12111 (vc-print-log): Clarify interactive prompt.
12112
a6d63d97
GM
121132013-04-20 Glenn Morris <rgm@gnu.org>
12114
12115 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12116 No longer include timestamp etc information.
12117
d7f5c16f
RW
121182013-04-20 Roland Winkler <winkler@gnu.org>
12119
12120 * faces.el (read-face-name): Bug fix, return just one face if arg
12121 multiple is nil. (Bug#14209)
12122
bcd7a0a4
SM
121232013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12124
12125 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12126 (remove-function): Autoload.
12127
12128 * comint.el (comint-redirect-original-filter-function): Remove.
12129 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
12130 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12131 (vc-cvs-annotate-command):
bcd7a0a4
SM
12132 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12133 * progmodes/prolog.el (prolog-consult-compile):
12134 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12135 Use add/remove-function instead.
12136 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12137 (gud-tooltip-process-output, gud-tooltip-tips):
12138 Use add/remove-function instead.
12139 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12140 (scheme-interaction-mode, exit-scheme-interaction-mode):
12141 Use add/remove-function instead.
12142
12143 * vc/vc-dispatcher.el: Use lexical-binding.
12144 (vc--process-sentinel): Rename from vc-process-sentinel.
12145 Change last arg to be the code to run. Don't use vc-previous-sentinel
12146 and vc-sentinel-commands any more.
12147 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12148 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12149
e36b2d20 121502013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 12151
bcd7a0a4 12152 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 12153 Handle function names with a single character. (Bug#14111)
4d3268ba 12154
781b4af6 121552013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
12156
12157 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12158 for subroutines defined in an eval (bug#14182).
12159
7d688336
TV
121602013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12161
12162 * bookmark.el (bookmark-completing-read): Improve handling of empty
12163 string (bug#14176).
12164
31dcede0
SM
121652013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12166
12167 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12168
adc31213
FEG
121692013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12170
12171 New faster Imenu implementation (bug#14058).
12172 * progmodes/python.el:
12173 (python-imenu-prev-index-position):
12174 (python-imenu-format-item-label-function)
12175 (python-imenu-format-parent-item-label-function)
12176 (python-imenu-format-parent-item-jump-label-function):
12177 New vars.
12178 (python-imenu-format-item-label)
12179 (python-imenu-format-parent-item-label)
12180 (python-imenu-format-parent-item-jump-label)
12181 (python-imenu--put-parent, python-imenu--build-tree)
12182 (python-imenu-create-index, python-imenu-create-flat-index)
12183 (python-util-popn): New functions.
12184 (python-mode): Set imenu-create-index-function to
12185 python-imenu-create-index.
12186
cdca8255
SM
121872013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12188
12189 * winner.el (winner-active-region): Use region-active-p, activate-mark
12190 and deactivate-mark (bug#14225).
12191
12192 * simple.el (deactivate-mark): Don't inline it.
12193
beb42340
MA
121942013-04-18 Michael Albinus <michael.albinus@gmx.de>
12195
12196 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12197
fc7f4d7e
TH
121982013-04-18 Tassilo Horn <tsdh@gnu.org>
12199
12200 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12201 file extensions from the archive-mode entry in order to prefer
12202 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12203
29f47822
LL
122042013-04-18 Leo Liu <sdl.web@gmail.com>
12205
12206 * bindings.el (help-event-list): Add ?\?.
12207
d36ed1c8
SM
122082013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12209
12210 * subr.el (with-wrapper-hook): Declare obsolete.
12211 * simple.el (filter-buffer-substring-function): New hook.
12212 (filter-buffer-substring): Use it.
12213 (filter-buffer-substring-functions): Mark obsolete.
12214 * minibuffer.el (completion-in-region-function): New hook.
12215 (completion-in-region): Use it.
12216 (completion-in-region-functions): Mark obsolete.
12217 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12218 * abbrev.el (abbrev-expand-function): New hook.
12219 (expand-abbrev): Use it.
12220 (abbrev-expand-functions): Mark obsolete.
12221 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12222 and :filter-return.
12223
04754d36
FEG
122242013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12225
12226 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12227 and do not care about match data.
12228
dd8791e9
SM
122292013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12230
12231 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12232 completion tables when completing error conditions and
12233 `declare' arguments.
12234 (lisp-complete-symbol, field-complete): Mark as obsolete.
12235 (check-parens): Unmatched parens are user errors.
12236 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12237
ffe54a13
AM
122382013-04-17 Michal Nazarewicz <mina86@mina86.com>
12239
dd8791e9
SM
12240 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12241 command changed buffer (ie. `flyspell-pre-buffer' is not current
12242 buffer), which prevents making decisions based on invalid value of
12243 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12244 cause an error when `flyspell-pre-point' was nil after switching
12245 buffers.
12246 (flyspell-post-command-hook): No longer needs to change buffers when
12247 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12248
ec7e39f2
AM
122492013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12250
12251 * textmodes/ispell.el (ispell-add-per-file-word-list):
12252 Fix `flyspell-correct-word-before-point' error when accepting
12253 words and `coment-padding' is an integer by using
12254 `comment-normalize-vars' (Bug #14214).
12255
083850a6
FEG
122562013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12257
12258 New defun movement commands.
12259 * progmodes/python.el (python-nav--syntactically)
12260 (python-nav--forward-defun, python-nav-backward-defun)
12261 (python-nav-forward-defun): New functions.
12262
619ed6e1
FEG
122632013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12264
12265 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12266 (python-syntax-context): Use named compiler-macro for backwards
12267 compatibility with Emacs 24.x.
12268
7a1beb6c
LL
122692013-04-17 Leo Liu <sdl.web@gmail.com>
12270
12271 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12272 octave-hide-process-buffer.
12273
2d3fa3e5
SM
122742013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12275
12276 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12277 (bug#14216).
12278
7ce5be54
JPG
122792013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12280
12281 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12282 Fix adjustment of offset when receiving incomplete responses from GDB
12283 (bug#14129).
12284
351edece
SM
122852013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12286
12287 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12288 python-mode-abbrev-table.
12289 (python-skeleton-define): Adjust accordingly.
12290 (python-mode-abbrev-table): New table that inherits from it so that
12291 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12292
12293 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12294 (abbrev-symbol): Use it.
12295 (abbrev--before-point): Use it since we already handle inheritance.
12296
613f9481
LL
122972013-04-16 Leo Liu <sdl.web@gmail.com>
12298
12299 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12300 binding to info-lookup-symbol.
12301
51646b62
JB
123022013-04-16 Juanma Barranquero <lekktu@gmail.com>
12303
12304 * minibuffer.el (completion--twq-all):
12305 * term/ns-win.el (ns-initialize-window-system):
12306 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12307
efb3f01d
SM
123082013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12309
36c0a301
SM
12310 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12311 global bindings.
12312
efb3f01d
SM
12313 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12314
fb549d64
DG
123152013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12316
12317 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12318 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12319 to nil.
12320 (ruby-end-of-defun): Remove the unused arg, change the docstring
12321 to reflect that this function is only used as the value of
12322 `end-of-defun-function'.
12323 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12324 to reflect an earlier change that beginning/end-of-defun functions
12325 jump between methods in a class definition, as well as top-level
12326 functions.
12327
21e8fe2f
SM
123282013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12329
12330 * minibuffer.el (minibuffer-complete): Don't just scroll
12331 a *Completions* that's been iconified.
12332 (minibuffer-force-complete): Make sure repetitions do cycle when going
12333 through completion-in-region -> minibuffer-complete.
12334
20e527d0
AM
123352013-04-15 Alan Mackenzie <acm@muc.de>
12336
12337 Correct the placement of c-cpp-delimiters when there're #s not at
12338 col 0.
12339
12340 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12341 place a submatch around the #.
21e8fe2f
SM
12342 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12343 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12344 on the #, not BOL.
12345
dabefae5
SM
123462013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12347
12348 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12349 (advice--member-p): New arg `name'.
12350 (advice--add-function, advice-member-p): Use it (bug#14202).
12351
85c9ab64
AM
123522013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12353
12354 Reformulate java imenu-generic-expression.
12355 The old expression contained ill formed regexps.
12356
12357 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12358 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12359 (cc-imenu-java-method-arg-regexp): New defconsts.
12360 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12361 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12362 handling of spaces in the regexp.
12363
0f821d99
AM
123642013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12365
12366 * textmodes/ispell.el (ispell-command-loop): Remove
12367 flyspell highlight of a word when ispell accepts it (bug #14178).
12368
eb922adf
MA
123692013-04-15 Michael Albinus <michael.albinus@gmx.de>
12370
12371 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12372 uses code from the previous `ange-ftp-run-real-handler'.
12373 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12374 only in case that function exist. This is needed for proper
12375 unloading of Tramp.
12376
4d9a0979
TH
123772013-04-15 Tassilo Horn <tsdh@gnu.org>
12378
12379 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12380
12381 * textmodes/reftex.el (reftex-compile-variables): Use it.
12382
a829b0dc
SM
123832013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12384
91e8293c
SM
12385 * files.el (normal-mode): Only use default major-mode if no other mode
12386 was specified.
12387
830aed4d
SM
12388 * emacs-lisp/trace.el (trace-values): New function.
12389
a829b0dc
SM
12390 * files.el: Allow : in local variables (bug#14089).
12391 (hack-local-variable-regexp): New var.
12392 (hack-local-variables-prop-line, hack-local-variables): Use it.
12393
7ae9f0fb
RW
123942013-04-13 Roland Winkler <winkler@gnu.org>
12395
12396 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12397 data before it gets modified by bibtex-beginning-of-entry.
12398
6646e848
RW
123992013-04-13 Roland Winkler <winkler@gnu.org>
12400
12401 * textmodes/bibtex.el (bibtex-url): Doc fix.
12402
124032013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12404
12405 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12406 does not visit a BibTeX file, exclude it from the list of buffers
12407 returned by bibtex-initialize.
12408
0aa3616e
SB
124092013-04-13 Stephen Berman <stephen.berman@gmx.net>
12410
12411 * window.el (split-window): Remove interactive form, since as a
12412 command this function is a special case of split-window-below.
12413 Correct doc string.
12414
011cddd6
RW
124152013-04-12 Roland Winkler <winkler@gnu.org>
12416
12417 * faces.el (read-face-name): Do not override value of arg default.
12418 Allow single faces and strings as default values. Remove those
12419 elements from return value that are not faces.
12420 (describe-face): Simplify.
12421 (face-at-point): New optional args thing and multiple so that this
12422 function can provide the same functionality previously provided by
12423 read-face-name.
12424 (make-face-bold, make-face-unbold, make-face-italic)
12425 (make-face-unitalic, make-face-bold-italic, invert-face)
12426 (modify-face, read-face-and-attribute): Use face-at-point.
12427
12428 * cus-edit.el (customize-face, customize-face-other-window)
12429 * cus-theme.el (custom-theme-add-face)
12430 * face-remap.el (buffer-face-set)
12431 * facemenu.el (facemenu-set-face): Use face-at-point.
12432
f24e0036
MA
124332013-04-12 Michael Albinus <michael.albinus@gmx.de>
12434
12435 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12436
da3cda2d
TH
124372013-04-10 Tassilo Horn <tsdh@gnu.org>
12438
12439 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12440 off leading { and trailing } from field values.
12441
15e54145
SM
124422013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12443
78ce603d
SM
12444 * emacs-lisp/timer.el (timer--check): New function.
12445 (timer--time, timer-set-function, timer-event-handler): Use it.
12446 (timer-set-idle-time): Simplify.
12447 (timer--activate): CSE.
12448 (timer-event-handler): Give more info in error message.
12449 (internal-timer-start-idle): New function, moved from C.
12450
15e54145
SM
12451 * mpc.el (mpc-proc): Add `restart' argument.
12452 (mpc-proc-cmd): Use it.
12453 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12454 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12455 less often.
12456
7144c627
MY
124572013-04-10 Masatake YAMATO <yamato@redhat.com>
12458
12459 * progmodes/sh-script.el: Implement `sh-mode' own
12460 `add-log-current-defun-function' (bug#14112).
12461 (sh-current-defun-name): New function.
12462 (sh-mode): Use the function.
12463
b39792eb
BG
124642013-04-09 Bastien Guerry <bzg@gnu.org>
12465
12466 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12467
8acdeb71
SM
124682013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12469
6fcdab68
SM
12470 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12471
8acdeb71
SM
12472 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12473 timer (bug#14156).
12474
e3e7b504
NF
124752013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12476
12477 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12478 declaration.
12479
201bb296
LL
124802013-04-07 Leo Liu <sdl.web@gmail.com>
12481
12482 * pcmpl-x.el: New file.
12483
ebb19708
DA
124842013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12485
12486 Do not set x-display-name until X connection is established.
12487 This is needed to prevent from weird situation described at
12488 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12489 * frame.el (make-frame): Set x-display-name after call to
12490 window system initialization function, not before.
12491 * term/x-win.el (x-initialize-window-system): Add optional
12492 display argument and use it.
12493 * term/w32-win.el (w32-initialize-window-system):
12494 * term/ns-win.el (ns-initialize-window-system):
12495 * term/pc-win.el (msdos-initialize-window-system):
12496 Add compatible optional display argument.
12497
33bb237a
EZ
124982013-04-06 Eli Zaretskii <eliz@gnu.org>
12499
12500 * files.el (normal-backup-enable-predicate): On MS-Windows and
12501 MS-DOS compare truenames of temporary-file-directory and of the
12502 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12503 don't fail comparison by compare-strings. Also, compare file
12504 names case-insensitively on MS-Windows and MS-DOS.
12505
134abf1f
SM
125062013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12507
12508 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12509 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12510
d695cb94
DG
125112013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12512
e3e7b504
NF
12513 * whitespace.el (whitespace-color-on, whitespace-color-off):
12514 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12515
f4ad7ea1 125162013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12517
12518 * ispell.el (ispell-set-spellchecker-params):
12519 Really set `ispell-args' for all equivs.
12520
632556e4
SM
125212013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12522
12523 * ido.el (ido-completions): Use extra elements of ido-decorations
12524 (bug#14143).
12525 (ido-decorations): Update docstring.
12526
2a417372
MA
125272013-04-05 Michael Albinus <michael.albinus@gmx.de>
12528
12529 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12530 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12531 nil during initialization, in order not to miss changes since the
12532 file was opened. (Bug#14140)
12533
fc164b0c
LL
125342013-04-05 Leo Liu <sdl.web@gmail.com>
12535
12536 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12537
0ccecc08
JB
125382013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12539
12540 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12541
51af1aa2
GM
125422013-04-04 Glenn Morris <rgm@gnu.org>
12543
12544 * electric.el (electric-pair-inhibit-predicate): Add :version.
12545
b208ebc6
SM
125462013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12547
12548 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12549 when a package is required several times (bug#14082).
12550
f3d3eaf0
RW
125512013-04-04 Roland Winkler <winkler@gnu.org>
12552
12553 * faces.el (read-face-name): Behave as promised by the docstring.
12554 Assume that arg default is a list of faces.
12555 (describe-face): Call read-face-name with list of default faces.
12556
2575da50
TV
125572013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12558
12559 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12560 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12561 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12562 the header.
12563 (bookmark-exit-hook-internal): Save even if list is empty.
12564
397703b4
YH
125652013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12566
12567 * emacs-lisp/package.el (package-pinned-packages): New var.
12568 (package--add-to-archive-contents): Obey it (bug#14118).
12569
691e26ae
AM
125702013-04-03 Alan Mackenzie <acm@muc.de>
12571
8a621d53
JB
12572 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12573 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12574
12575 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12576 parameter `not-in-delimiter'. Handle being inside comment opener.
12577 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12578 character in case we're typing a '*' after a '/'.
12579 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12580 instead by passing the parameter to c-state-pp-to-literal.
12581
12582 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12583 for elt. 7 of a parse state.
12584
4b725a70
PE
125852013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12586
12587 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12588 * international/latin1-disp.el, international/mule-util.el:
12589 * language/cyril-util.el, language/european.el, language/ind-util.el:
12590 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12591 * language/tibetan.el, language/viet-util.el:
12592 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12593
15c579f0
SM
125942013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12595
12596 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12597 (electric-pair-post-self-insert-function): Use it.
12598 (electric-pair-default-inhibit): New function, extracted from
12599 electric-pair-post-self-insert-function.
12600
a77e2924
RW
126012013-03-31 Roland Winkler <winkler@gnu.org>
12602
12603 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12604
2bd8a4a8
SM
126052013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12606
12607 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12608
8d3655be 126092013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12610
12611 Un-indent after "pass" and "return" statements (Bug#13888)
12612 * progmodes/python.el (python-indent-block-enders): New var.
12613 (python-indent-calculate-indentation): Use it.
12614
8d3655be 126152013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12616
12617 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12618 defun. Defining it as defalias could introduce too eager
12619 byte-compiler optimization. (Bug#14030)
12620
8d3655be 126212013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12622
12623 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12624
0b1619da
LL
126252013-03-30 Leo Liu <sdl.web@gmail.com>
12626
12627 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12628 (kmacro-execute-from-register): Pass the keyboard macro to
12629 kmacro-call-macro or repeating won't work correctly.
12630
0b938190
TZ
126312013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12632
12633 * progmodes/subword.el: Back to using `forward-symbol'.
12634
12635 * subr.el (forward-whitespace, forward-symbol)
12636 (forward-same-syntax): Move from thingatpt.el.
12637
35710234
LL
126382013-03-29 Leo Liu <sdl.web@gmail.com>
12639
12640 * kmacro.el (kmacro-to-register): New command.
12641 (kmacro-execute-from-register): New function.
12642 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12643
efc0bb73
SM
126442013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12645
12646 * mpc.el: Use defvar-local and setq-local.
12647 (mpc--proc-connect): Connection failures are not bugs.
12648 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12649 (mpc-volume-map): Bind to the up-events.
12650
75a2f981
TZ
126512013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12652
12653 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12654 instead of `forward-symbol'.
12655
17c781d1
SM
126562013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12657
12658 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12659 (edebug--recursive-edit): Use it.
12660 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12661 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12662
f67bfbcf
LL
126632013-03-28 Leo Liu <sdl.web@gmail.com>
12664
12665 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12666
b59f639d
EZ
126672013-03-27 Eli Zaretskii <eliz@gnu.org>
12668
12669 * facemenu.el (list-colors-callback): New defvar.
12670 (list-colors-redisplay): New function.
12671 (list-colors-display): Install list-colors-redisplay as the
12672 revert-buffer-function. (Bug#14063)
12673
f557c1b1
SM
126742013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12675
b1da2957
SM
12676 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12677 and suffixes don't overlap (bug#14061).
12678
f557c1b1
SM
12679 * case-table.el: Use lexical-binding.
12680 (case-table-get-table): New function.
12681 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12682
002668e1
TZ
126832013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12684
12685 * progmodes/subword.el: Add `superword-mode' to do word motion
12686 over symbol_words (parallels and leverages `subword-mode' which
12687 does word motion inside MixedCaseWords).
12688
73572c72
AG
126892013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12690
78b8f320 12691 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12692 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12693
69b2c07e
SM
126942013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12695
12696 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12697 Change return value to be a sexp. Delay `get-buffer' to after
12698 restoring the desktop (bug#13951).
12699
08bb5ee2
LL
127002013-03-26 Leo Liu <sdl.web@gmail.com>
12701
12702 * register.el: Move semantic tag handling back to
12703 cedet/semantic/senator.el. (Bug#14052)
12704
8d4c974e
SM
127052013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12706
12707 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12708 into the prompt either (bug#13963).
12709
b234d92c
SM
127102013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12711
12712 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12713 part of "(error-foo)".
12714
ddfa3cb4
JL
127152013-03-24 Juri Linkov <juri@jurta.org>
12716
12717 * replace.el (list-matching-lines-prefix-face): New defcustom.
12718 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12719 `occur-engine' if `face-differs-from-default-p' returns t.
12720 (occur-engine): Add `,' inside backquote construct to evaluate
12721 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12722 Pass `prefix-face' to the functions `occur-context-lines' and
12723 `occur-engine-add-prefix'.
12724 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12725 `prefix-face' and propertize the prefix with `prefix-face'.
12726 (Bug#14017)
12727
7b0e2f85
LL
127282013-03-24 Leo Liu <sdl.web@gmail.com>
12729
12730 * nxml/rng-valid.el (rng-validate-while-idle)
12731 (rng-validate-quick-while-idle): Guard against deleted buffer.
12732 (Bug#13999)
12733
12734 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12735 is the last entry in kill-buffer-hook.
12736
12737 * files.el (kill-buffer-hook): Doc fix.
12738
b3082f49
DG
127392013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12740
b234d92c
SM
12741 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12742 Make it safe-local.
bde73d27 12743
b3082f49
DG
12744 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12745
a320a2db
LL
127462013-03-23 Leo Liu <sdl.web@gmail.com>
12747
7e74b0fb
LL
12748 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12749 Remove.
12750
12751 * nxml/rng-valid.el (rng-validate-mode)
12752 (rng-after-change-function, rng-do-some-validation):
12753 * nxml/rng-maint.el (rng-validate-buffer):
12754 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12755 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12756 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12757 (nxml-extend-after-change-region): Use with-silent-modifications.
12758
a320a2db
LL
12759 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12760 timer-idle-list.
12761
12762 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12763 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12764 timer-idle-list. (Bug#13999)
12765
e38e6780
JL
127662013-03-23 Juri Linkov <juri@jurta.org>
12767
12768 * info.el (info-index-match): New face.
12769 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12770 main pattern and add text properties with the new face to matches
12771 in index entries relative to the beginning of the index entry.
12772 (Bug#14015)
12773
e8cc7880
DE
127742013-03-21 Eric Ludlam <zappo@gnu.org>
12775
39c87140 12776 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12777 Inhibit read only while inserting objects.
12778
9bb0d822
TZ
127792013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12780
12781 * progmodes/cfengine.el: Update docs to mention
12782 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12783 symbol motion. Remove "_" from the word syntax.
12784
aa703640
TZ
127852013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12786
12787 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12788 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12789
afff09d0
JL
127902013-03-20 Juri Linkov <juri@jurta.org>
12791
12792 * info.el (Info-next-reference-or-link)
12793 (Info-prev-reference-or-link): New functions.
12794 (Info-next-reference, Info-prev-reference): Use them.
12795 (Info-try-follow-nearest-node): Handle footnote navigation.
12796 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12797
9a1ff164
SM
127982013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12799
12800 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12801 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12802
2667d15d
PE
128032013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12804
12805 Suppress unnecessary non-ASCII chatter during build process.
12806 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12807 (batch-skkdic-convert): Suppress most of the chatter.
12808 It's not needed so much now that machines are faster,
12809 and its non-ASCII component was confusing; see Dmitry Gutov in
12810 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12811
438b0579
LL
128122013-03-20 Leo Liu <sdl.web@gmail.com>
12813
12814 * ido.el (ido-chop): Fix bug#10994.
12815
c128ab07
DG
128162013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12817
12818 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12819 Remove vars.
9a1ff164
SM
12820 (whitespace-color-on, whitespace-color-off):
12821 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12822
0e6008c5
SM
128232013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12824
12825 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12826 remapping in mode-line.
12827 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12828
627b52b0
DG
128292013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12830
12831 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12832 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12833 (whitespace-font-lock-keywords): Change description.
12834 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12835 the constructed keywords instead.
12836 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12837
50c3a20b
LL
128382013-03-19 Leo Liu <sdl.web@gmail.com>
12839
12840 * progmodes/compile.el (compilation-display-error): New command.
12841 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12842 C-o. (Bug#13992)
12843
2aa2157b
PE
128442013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12845
12846 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12847
e477dbfa
JD
128482013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12849
12850 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12851
64ab82d1
MA
128522013-03-18 Michael Albinus <michael.albinus@gmx.de>
12853
12854 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12855
12856 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12857 * net/tramp-gvfs.el (top):
12858 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12859 (tramp-handle-shell-command): Use it.
12860 (tramp-dissect-file-name): Raise an error when hostname is a
12861 method name, and neither method nor user is specified.
12862
12863 * net/trampver.el: Update release number.
12864
33cef733
LL
128652013-03-18 Leo Liu <sdl.web@gmail.com>
12866
12867 Make sure eldoc can be turned off properly.
12868 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12869 eldoc-mode.
12870 (eldoc-display-message-p): Revert last change.
12871 (eldoc-display-message-no-interference-p)
12872 (eldoc-print-current-symbol-info): Tweak.
12873
2167b7b2
TH
128742013-03-18 Tassilo Horn <tsdh@gnu.org>
12875
12876 * doc-view.el (doc-view-new-window-function): Check the new window
12877 overlay's display property instead the char property of the
12878 buffer's first char. Use `with-selected-window' instead of
12879 `save-window-excursion' with `select-window'.
12880 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12881 display property instead the char property of the buffer's first char.
2167b7b2 12882
982efbcd
PE
128832013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12884
12885 Automate the build of ja-dic.el (Bug#13984).
12886 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12887 from the input, rather than assume that it's been done for us by the
12888 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12889 the current date into a ja-dic.el comment, as that complicates
12890 regression testing.
12891
2fcc7665
SM
128922013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12893
12894 * whitespace.el: Fix double evaluation.
12895 (whitespace-space, whitespace-hspace, whitespace-tab)
12896 (whitespace-newline, whitespace-trailing, whitespace-line)
12897 (whitespace-space-before-tab, whitespace-indentation)
12898 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12899 obsolete defvars.
12900 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12901 (whitespace-color-on): Use a single font-lock-add-keywords call.
12902 Fix double-evaluation of face variables.
12903
67c0a6e6
MA
129042013-03-17 Michael Albinus <michael.albinus@gmx.de>
12905
2fcc7665
SM
12906 * net/tramp-adb.el (tramp-adb-parse-device-names):
12907 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12908 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12909
69489f1d
LL
129102013-03-17 Leo Liu <sdl.web@gmail.com>
12911
12912 Extend eldoc to display info in the mode-line. (Bug#13978)
12913 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12914 (eldoc-mode-line-string): New variable.
12915 (eldoc-minibuffer-message): New function.
12916 (eldoc-message-function): New variable.
12917 (eldoc-message): Use it.
12918 (eldoc-display-message-p)
2fcc7665
SM
12919 (eldoc-display-message-no-interference-p):
12920 Support eldoc-post-insert-mode.
69489f1d
LL
12921
12922 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12923 (eval-expression): Run it.
12924
9c44569e
RW
129252013-03-17 Roland Winkler <winkler@gnu.org>
12926
12927 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12928 strings in the list of return values.
12929
327f1f6f
JB
129302013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12931
12932 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12933 radix before checking for HMS forms.
12934
67ed8fcd
LL
129352013-03-16 Leo Liu <sdl.web@gmail.com>
12936
12937 * progmodes/scheme.el: Add indentation and font-locking for λ.
12938 (Bug#13975)
12939
78be8b64 129402013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12941
12942 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12943 token before point (bug#13942).
12944
78be8b64 129452013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12946
95b43468 12947 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12948
98e775e6
EZ
129492013-03-16 Eli Zaretskii <eliz@gnu.org>
12950
12951 * startup.el (command-line-normalize-file-name): Fix handling of
12952 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12953 <xfq.free@gmail.com> in
12954 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12955
2edd6029
MA
129562013-03-15 Michael Albinus <michael.albinus@gmx.de>
12957
12958 Sync with Tramp 2.2.7.
12959
12960 * net/trampver.el: Update release number.
12961
d35f5864
TH
129622013-03-14 Tassilo Horn <tsdh@gnu.org>
12963
e903c210 12964 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12965 (doc-view-insert-image): Don't modify overlay associated to
12966 non-live windows, and implement horizontal centering of image in
12967 case it's smaller than the window.
12968 (doc-view-new-window-function): Force redisplay of new windows on
12969 doc-view buffers.
d35f5864 12970
1c4a85ed
KF
129712013-03-13 Karl Fogel <kfogel@red-bean.com>
12972
12973 * saveplace.el (save-place-alist-to-file): Don't sort
12974 `save-place-alist', just pretty-print it (bug#13882).
12975
85b66a21
MA
129762013-03-13 Michael Albinus <michael.albinus@gmx.de>
12977
a020afb9
JB
12978 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12979 Check whether `default-file-name-coding-system' is bound.
12980 It isn't in XEmacs.
85b66a21 12981
175600da
SM
129822013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12983
e7f7cb1a
SM
12984 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12985 backquotes for `obsolete' (bug#13929).
12986
175600da
SM
12987 * international/mule.el (find-auto-coding): Include file name in
12988 obsolescence warning (bug#13922).
12989
ca68a22e
TZ
129902013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12991
12992 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12993 for CFEngine 3-specific indentation.
12994 (cfengine3-indent-line): Use it. Fix up category regex.
12995 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12996
940e5099
SM
129972013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12998
12999 * type-break.el (type-break-file-name):
13000 * textmodes/remember.el (remember-data-file):
13001 * strokes.el (strokes-file):
13002 * shadowfile.el (shadow-initialize):
13003 * saveplace.el (save-place-file):
13004 * ps-bdf.el (bdf-cache-file):
13005 * progmodes/idlwave.el (idlwave-config-directory):
13006 * net/quickurl.el (quickurl-url-file):
13007 * international/kkc.el (kkc-init-file-name):
13008 * ido.el (ido-save-directory-list-file):
13009 * emulation/viper.el (viper-custom-file-name):
13010 * emulation/vip.el (vip-startup-file):
13011 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13012 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13013
cc725808
PE
130142013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13015
13016 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13017 * language/thai-word.el: Switch to UTF-8.
13018
a020afb9 13019See ChangeLog.16 for earlier changes.
e3d51b27
MR
13020
13021;; Local Variables:
13022;; coding: utf-8
e3d51b27
MR
13023;; End:
13024
ba318903 13025 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
13026
13027 This file is part of GNU Emacs.
13028
13029 GNU Emacs is free software: you can redistribute it and/or modify
13030 it under the terms of the GNU General Public License as published by
13031 the Free Software Foundation, either version 3 of the License, or
13032 (at your option) any later version.
13033
13034 GNU Emacs is distributed in the hope that it will be useful,
13035 but WITHOUT ANY WARRANTY; without even the implied warranty of
13036 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13037 GNU General Public License for more details.
13038
13039 You should have received a copy of the GNU General Public License
13040 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.