* emacs-lisp/lisp.el (up-list): Doc fix.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6abe4589
LI
12014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2
3bd1d8a8
LI
3 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4
6abe4589
LI
5 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
6 predicate function (bug#15455).
7
a11463de
DG
82014-02-10 Dmitry Gutov <dgutov@yandex.ru>
9
10 * ielm.el (inferior-emacs-lisp-mode): Instead of
11 `comment-use-global-state', set `comment-use-syntax'.
12
2ab0ad85
GM
132014-02-10 Glenn Morris <rgm@gnu.org>
14
15 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
16
411141fb
AM
172014-02-09 Alan Mackenzie <acm@muc.de>
18
19 Fix c-invalidate-state-cache on narrowed buffers.
20 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
21 Widen when setting and clearing the CPP delimiter properties.
22
d6d5fdf8
LI
232014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
24
92c70367
LI
25 * help.el (describe-bindings): Doc fix (bug#9888).
26
468ef484
LI
27 * files.el (save-buffer): Use ARG as the parameter name for
28 consistency (bug#10346).
7e34193f 29 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 30
fc2b1ffa 31 * cus-edit.el (customize-apropos): Fix error string.
382fd368 32 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 33 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 34
c7b92b88
LI
35 * dired-aux.el (dired-copy-file-recursive): Remove slighly
36 misleading comment (bug#11328).
37
790aceec
LI
38 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
39
a54a7552 40 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 41 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 42
dd163123
LI
43 * font-lock.el (font-lock-value-in-major-mode): Clarify the
44 meaning of the parameter (bug#12282).
45
9e108fe6
LI
46 * files.el (find-file-noselect): Clarify prompt when changing
47 readedness (bug#13261).
5a836f58
LI
48 (locate-file): Suffixes aren't returned, so don't say that they
49 are (bug#12674).
2356b316 50 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 51
20dda930
LI
52 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
53 before we actually start to delete things (bug#16331).
54
d6d5fdf8
LI
55 * subr.el (event-start): Doc fix (bug#14228).
56 (event-end): Ditto.
57
2abd71e5
GM
582014-02-09 Glenn Morris <rgm@gnu.org>
59
60 * emacs-lisp/warnings.el (lwarn):
61 Empower help-enable-auto-load. (Bug#15940)
62
c1b5900b
AS
632014-02-08 Andreas Schwab <schwab@linux-m68k.org>
64
65 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
66 (Bug#16690)
67
429b93bd
MA
682014-02-08 Michael Albinus <michael.albinus@gmx.de>
69
70 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
71 Insert output at end of buffer. (Bug#16120)
72
b772a699
LI
732014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
74
18c6aa8c
LI
75 * simple.el (choose-completion-string-functions): Document new
76 calling convention (bug#14153).
54dd147a 77 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 78
dce8463b
LI
79 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
80
b772a699 81 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 82 (find-grep-dired): Doc fix (bug#14288).
b772a699 83
2423c8d5
JL
842014-02-08 Juri Linkov <juri@jurta.org>
85
86 * isearch.el (isearch-quote-char): Check character validity
87 like in `quoted-insert' (bug#16677).
88
518f26c2
LI
892014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
90
893cc908
LI
91 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
92
9165ffc0
LI
93 * isearch.el (isearch-hide-immediately): Doc clarification
94 (bug#14723).
95
6ef4f3ce
LI
96 * simple.el (line-move): Document utility function used many
97 places in the Emacs sources (bug#14843).
98
be58a238 99 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 100 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 101 (dired-up-directory): Doc fix (bug#14848).
be58a238 102
dd7aafbb
LI
103 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
104
15cb9968
LI
105 * files.el (file-relative-name): Doc fix (bug#15159).
106
9788effd
LI
107 * fringe.el (fringe-styles): Doc fix (bug#15239).
108
c96411bd
LI
109 * isearch.el (isearch-filter-predicate): Documentation typo fix
110 (bug#15474).
111
ea838c36
LI
112 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
113
0d8a4ae7
LI
114 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
115
f7a17bb3
LI
116 * replace.el (replace-match-maybe-edit): Doc clarification
117 (bug#15632).
118
1bde5c3b
LI
119 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
120
518f26c2
LI
121 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
122
dd8e49fd
GM
1232014-02-08 Glenn Morris <rgm@gnu.org>
124
125 * help-fns.el (describe-variable):
126 Check {file,dir}-local-variables-alist, and buffer-file-name,
127 in the correct buffer.
128
7e088b29
IL
1292014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
130
131 * help-fns.el (describe-variable): Fix the case where
132 a value is directory-local with no dir-locals file. (Bug#16635)
133
41a4a82f
GM
1342014-02-08 Glenn Morris <rgm@gnu.org>
135
136 * abbrev.el (edit-abbrevs-mode):
137 Derive from fundamental-mode. (Bug#16682)
138
e255a703
JB
1392014-02-07 Juanma Barranquero <lekktu@gmail.com>
140
141 * simple.el (quoted-insert): Check character validity (bug#16677).
142
c99cf5ee
JL
1432014-02-07 Juri Linkov <juri@jurta.org>
144
145 * desktop.el (desktop-read): Claim the lock when the owner is not
146 the current process. (Bug#16157)
147
7d7a68d8
JL
1482014-02-07 Juri Linkov <juri@jurta.org>
149
150 * desktop.el (desktop-buffers-not-to-save): Change default from nil
151 to "\\` ". (Bug#16651)
152
2b777cd9
JL
1532014-02-07 Juri Linkov <juri@jurta.org>
154
155 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
156 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
157 (desktop-auto-save-cancel-timer): New function with some code from
158 `desktop-auto-save-set-timer'.
159 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
160 Instead of setting `desktop-save-mode' to nil, call
161 `desktop-save-mode' with arg 0. (Bug#16630)
162
60eabbb9
GM
1632014-02-07 Glenn Morris <rgm@gnu.org>
164
99cf3859
GM
165 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
166 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
167 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
168
2b568bc9
GM
169 * obsolete/iswitchb.el: Move to obsolete/.
170 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
171 since obsolete/ is not scanned for autoloads.
172 * emacs-lisp/authors.el (authors-valid-file-names):
173 Add iswitchb.el.
174
60eabbb9
GM
175 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
176 Disable now non-functional find-file-hook.
177
629de968
MA
1782014-02-06 Michael Albinus <michael.albinus@gmx.de>
179
180 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
181 instead of ";" in order to avoid additional prompts. Let heredoc
182 scripts read from tty. (Bug#16582)
183 (tramp-send-command): No special handling of heredocs, it isn't
184 necessary anymore.
185
29127376
SM
1862014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
187
188 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
189 with a space (bug#16664). Limit the symbols considered to the ones
190 that are bound or fbound (bug#16646).
191
79b6e0a9
GM
1922014-02-06 Glenn Morris <rgm@gnu.org>
193
194 * epa.el (epa-mail-aliases): Doc fix.
195
a333e4d2
DG
1962014-02-06 Dmitry Gutov <dgutov@yandex.ru>
197
29127376
SM
198 * emacs-lisp/lisp.el (lisp-completion-at-point):
199 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
200 (bug#16604).
201
202 * minibuffer.el (completion-table-merge): New function.
203
9a83b32b
MA
2042014-02-05 Michael Albinus <michael.albinus@gmx.de>
205
206 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
207 (tramp-sh-handle-set-file-acl)
208 (tramp-sh-handle-start-file-process)
209 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
210 (tramp-find-executable, tramp-send-command): Use it.
211
451ea3e6
GM
2122014-02-05 Glenn Morris <rgm@gnu.org>
213
9a83b32b 214 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 215
dd27d13b
FEG
2162014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
217
218 * progmodes/python.el (python-shell-send-string):
219 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
220
08e41897
AL
2212014-02-04 Anders Lindgren <andlind@gmail.com>
222
223 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
224 the names (bug#16620).
225
764ec9e5
MR
2262014-02-03 Martin Rudalics <rudalics@gmx.at>
227
08e41897
AL
228 * faces.el (window-divider): New default value. Rewrite doc-string.
229 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 230
6da8227c
DG
2312014-02-03 Dmitry Gutov <dgutov@yandex.ru>
232
233 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
234 `protected' and `public' can also be called without arguments.
235
6a6b8e40
GM
2362014-02-03 Glenn Morris <rgm@gnu.org>
237
7bcbca40
GM
238 * register.el (window-configuration-to-register)
239 (frame-configuration-to-register): Unadvertise unused argument.
240 * frameset.el (frameset-to-register): Remove unused argument.
241
719d965d 242 * frameset.el (frameset-to-register):
6a6b8e40
GM
243 * kmacro.el (kmacro-to-register):
244 * register.el (increment-register):
245 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
246 (calc-append-to-register, calc-prepend-to-register):
247 * play/gametree.el (gametree-layout-to-register)
248 (gametree-apply-register-layout):
249 * textmodes/picture.el (picture-clear-rectangle-to-register)
250 (picture-yank-rectangle-from-register):
251 * vc/emerge.el (emerge-combine-versions-register):
252 Use register-read-with-preview to read registers.
253
5dca7759
JT
2542014-02-03 João Távora <joaotavora@gmail.com>
255
256 * elec-pair.el (electric-pair-backward-delete-char): Don't error
257 when at beginning of (possibly narrowed) buffer.
258
709085b9
DC
2592014-02-02 Daniel Colascione <dancol@dancol.org>
260
08e41897
AL
261 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
262 Also try to display local help from just before point.
709085b9 263
99f7b0a6
AM
2642014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
265
266 c-parse-state. Don't "append-lower-brace-pair" in certain
267 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
268 recognised as a comment.
269
270 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
271 as well as normal comment starter.
272 (c-parse-state-get-strategy): Extra return possibility
273 'back-and-forward.
274 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
275 return value list to indicate replacement of a brace-pair cons
276 with its car.
277 (c-parse-state-1): With 'back-and-forward, only call
278 c-append-lower-brace-pair-to state-cache when cons-separated.
279
f0a10576
JD
2802014-02-02 Jan Djärv <jan.h.d@swipnet.se>
281
282 * term/ns-win.el (ns-suspend-error): New function.
283 (ns-initialize-window-system): Add ns-suspend-error to
284 suspend-hook (Bug#16612).
285
b8d552c2
DC
2862014-02-02 Daniel Colascione <dancol@dancol.org>
287
288 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
289
f2b7d123
DC
2902014-02-02 Daniel Colascione <dancol@dancol.org>
291
292 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
293
4472a196
GM
2942014-02-02 Glenn Morris <rgm@gnu.org>
295
296 * register.el (register-read-with-preview, point-to-register)
297 (window-configuration-to-register, frame-configuration-to-register)
298 (jump-to-register, number-to-register, view-register, insert-register)
299 (copy-to-register, append-to-register, prepend-to-register)
300 (copy-rectangle-to-register): Doc fixes.
301
70e5a261
SM
3022014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
303
304 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
305 * emacs-lisp/find-func.el (find-function-C-source): Idem.
306 * emacs-lisp/nadvice.el (advice--cd*r): New function.
307 * help-fns.el (describe-function-1): Use it.
308
7c324762
GM
3092014-02-02 Glenn Morris <rgm@gnu.org>
310
311 * register.el (register-preview-default): New function,
312 split from register-preview.
313 (register-preview-function): Rename from register-preview-functions,
314 make it not a hook.
315 (register-preview): Use register-preview-function.
316 (register-read-with-preview): Error on non-character event. (Bug#16595)
317
a09beb3d
DG
3182014-02-01 Dmitry Gutov <dgutov@yandex.ru>
319
320 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
321 `:' before binary operators (bug#16609). Don't check for `:'
322 before `[' and `(', or their syntax status. A percent literal
323 can't end with either.
68e004e0
DG
324 (ruby-font-lock-keywords): For built-ins that require arguments,
325 check that they're followed by something that looks like argument
326 (bug#16610).
a09beb3d 327
ed4d2875
LI
3282014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
329
330 * subr.el (butlast): Document what an omitted N means (bug#13437).
331 (nbutlast): Ditto.
332
dba6e3ec
LI
3332014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
334
335 * net/shr.el (shr-generic): Make into a defsubst to make the stack
336 depth shallower (bug#16587).
cc477daa
LI
337 (shr-tag-svg): Respect `shr-inhibit-images'.
338 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 339
e2a67bd0
DG
3402014-01-31 Dmitry Gutov <dgutov@yandex.ru>
341
342 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
343 (ruby-smie-grammar): Make "." right-associative. Make its priority
344 lower than the ternary and all binary operators.
345 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
346 parent, or the first "." parent at indentation.
347 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
348 (Bug#16593)
349
bd21bf41
JL
3502014-01-31 Juri Linkov <juri@jurta.org>
351
352 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
353 from `make-hash-table'.
354
355 * textmodes/ispell.el (ispell-init-process): Change message format
356 to be consistent with other messages.
357
b7e615b9
GM
3582014-01-31 Glenn Morris <rgm@gnu.org>
359
a69ecd19
GM
360 * delsel.el (delete-selection-mode): Doc fix.
361
9997d7e3
GM
362 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
363 (trace-function-background): Doc fixes.
364
fbb764b8
GM
365 * ido.el (ido-use-virtual-buffers): Doc fix.
366 Reset :version, since the default value has not changed.
367
da942af1
GM
368 * register.el (register-preview-delay, register-read-with-preview):
369 Doc fixes.
370
b7e615b9
GM
371 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
372 do not mess with mail-buffer position (fixes 2009-11-03 change).
373 * progmodes/cc-mode.el (c-submit-bug-report):
374 Check auto-fill-mode is bound. (Bug#16592)
375
0a25002d
DH
3762014-01-31 Darren Hoo <darren.hoo@gmail.com>
377
378 * startup.el (fancy-splash-image-file): New function,
379 split from fancy-splash-head.
380 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
381 so that we are both using the same image. (Bug#16574)
382
ad78f432
GM
3832014-01-30 Glenn Morris <rgm@gnu.org>
384
6bbc0c84
GM
385 * simple.el (eval-expression): Doc fix.
386
ad78f432
GM
387 * hexl.el (hexl-mode-hook):
388 * ielm.el (ielm-mode-hook):
389 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
390 (lisp-interaction-mode-hook):
391 * progmodes/cfengine.e (cfengine3-documentation-function):
392 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
393
7b2f049c
SM
3942014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
397 is a symbol (bug#16584).
398
0c633f13
GM
3992014-01-30 Glenn Morris <rgm@gnu.org>
400
401 * help.el (help-for-help-internal): Add "P" to text.
402
5e61c1ef
GM
4032014-01-29 Glenn Morris <rgm@gnu.org>
404
405 * simple.el (just-one-space, cycle-spacing): Doc fixes.
406
1dcb169c
MR
4072014-01-28 Martin Rudalics <rudalics@gmx.at>
408
409 * window.el (fit-frame-to-buffer): Fix calculations for margins and
410 height constraints.
411
a9128931
LL
4122014-01-28 Luke Lee <luke.yx.lee@gmail.com>
413
414 * progmodes/hideif.el: Extend to full CPP expression syntax.
415 (hif-token-alist): Add missing tokens.
416 (hif-token-regexp): Add support for float/octal/hex immediates.
417 (hif-string-literal-regexp): New const.
418 (hif-tokenize): Recognize strings and float/octal/hex immediates.
419 (hif-exprlist): New function.
420 (hif-parse-if-exp): Use it.
421 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
422 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
423 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
424 (hif-logxor, hif-comma): New functions.
425
a22359a7
GM
4262014-01-28 Glenn Morris <rgm@gnu.org>
427
793ffe81
GM
428 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
429
e3bd7eed
GM
430 * indent.el (tab-stop-list): Doc fix. Add :version.
431
a22359a7
GM
432 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
433 (cvs-append-to-ignore): Add compatibility alias.
434
52695556 4352014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 436
bac524e0
GM
437 * dired.el (dired-hide-details-mode): Don't autoload it,
438 since it cannot be used outside Dired buffers anyway.
439
52695556 440 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 441
52695556
GM
442 * dired.el (dired-hide-details-hide-symlink-targets)
443 (dired-hide-details-hide-information-lines)
444 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
445
446 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
447 * strokes.el (strokes-file): Doc fix. Bump :version.
448 (strokes-help): Doc fix.
449 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
450 * emulation/viper.el (viper): Doc fix for custom group.
451 (top-level): Remove oh-so-no-longer-relevant text about vip.
452 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
453
454 * ido.el (ido-save-directory-list-file):
455 * saveplace.el (save-place-file):
456 * calendar/timeclock.el (timeclock-file):
457 * net/quickurl.el (quickurl-url-file):
458 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
459 * progmodes/idlwave.el (idlwave-config-directory):
460 * textmodes/remember.el (remember-data-file):
461 Bump :version.
462
169d6004
GM
4632014-01-26 Glenn Morris <rgm@gnu.org>
464
de6a923b
GM
465 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
466 Doc fix. Make obsolete.
467 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
468
169d6004
GM
469 * sort.el (delete-duplicate-lines): Doc fix.
470
ed85dee6
RS
4712014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
472
473 * progmodes/ada-mode.el (ada):
474 * woman.el (woman): Link to info manual and Commentary section.
475
476 * progmodes/flymake.el (flymake):
477 * nxml/nxml-mode.el (nxml):
478 * net/eww.el (eww):
479 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
480 * htmlfontify.el (htmlfontify):
481 * ses.el (ses):
482 * epa.el (epa):
483 * ido.el (ido): Link to info manual.
484
e0c67e1d
LL
4852014-01-25 Leo Liu <sdl.web@gmail.com>
486
487 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
488
35408b1a
AS
4892014-01-25 Adam Sjøgren <asjo@koldfront.dk>
490
491 * net/shr.el (shr-tag-img): Prefer the title over the alt text
492 (bug#16537).
493
76c3fa95
JB
4942014-01-24 Juanma Barranquero <lekktu@gmail.com>
495
f77c7a99
JB
496 * net/eww.el (eww-download-callback):
497 Fix reference to eww-download-directory.
498
76c3fa95
JB
499 * emacs-lisp/bytecomp.el (byte-compile-file):
500 Remove unused local variable `file-name'.
501
1e548e40
GM
5022014-01-24 Glenn Morris <rgm@gnu.org>
503
03f3b318
GM
504 * woman.el (woman-default-faces, woman-monochrome-faces):
505 Fix obsolescence specification.
506
1e548e40
GM
507 * subr.el (with-demoted-errors): Doc fix.
508
d4f0427b
SM
5092014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
512 (cl--macroexp-fboundp): New function.
513 (cl--make-type-test): Use it.
514
1670e27f
GM
5152014-01-23 Glenn Morris <rgm@gnu.org>
516
517 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
518 * simple.el (eval-expression): Doc fixes.
519
80efa207
GM
5202014-01-22 Glenn Morris <rgm@gnu.org>
521
522 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
523
29afcbab
SM
5242014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * emacs-lisp/package.el: Write files silently.
527 (package-autoload-ensure-default-file, package--write-file-no-coding)
528 (package-generate-description-file, package--download-one-archive)
529 (package-install-from-archive): Tell `write-region' to stay quiet.
530 (package-menu-mode, package-menu--print-info): Omit the Archive column
531 if there's only one archive.
532 (package-all-keywords, package--has-keyword-p): Remove dead code.
533
2a5bce4f
GM
5342014-01-22 Glenn Morris <rgm@gnu.org>
535
edace89f
GM
536 * version.el (emacs-bzr-version-bzr): Fix typo.
537
2a5bce4f
GM
538 * version.el (emacs-repository-get-version):
539 Check either .bzr or .git, but not both.
540 Make the git case actually use the DIR argument, and return nil
541 rather than the empty string.
983664c0 542 Avoid error if .git exists but the git executable is not found.
2a5bce4f 543
6cb4da45
MR
5442014-01-22 Martin Rudalics <rudalics@gmx.at>
545
546 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
547 * window.el (window-total-size, window-size): New argument ROUND.
548 (window--min-delta-1, window-min-delta, window--max-delta-1):
549 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
550 columns a window can shrink (Bug#16430).
551 (fit-window-to-buffer): Simplify code.
552 * term.el (term-window-width): Call window-body-width again.
553
cc0f2ece
GM
5542014-01-22 Glenn Morris <rgm@gnu.org>
555
7b997b14
GM
556 * image.el (image-format-suffixes): Doc fix.
557
44e76f9d
GM
558 * international/quail.el (quail-define-package): Doc fix.
559
73c1c6d7
GM
560 * emacs-lisp/authors.el (authors-valid-file-names):
561 (authors-renamed-files-alist): Additions.
7bfc1caa 562
85a5f61f
GM
563 * vc/vc-git.el (vc-git-print-log): Remove --follow;
564 reverts 2014-01-09 change. (Bug#16422)
565
cc0f2ece
GM
566 * calc/calc-embed.el (thing-at-point-looking-at):
567 * emacs-lisp/map-ynp.el (x-popup-dialog):
568 * obsolete/lmenu.el (x-popup-dialog):
569 * emacs-lisp/package.el (url-recreate-url):
570 * mail/mailclient.el (clipboard-kill-ring-save):
571 * subr.el (x-popup-dialog): Update declaration.
572 * mail/rmail.el (rmail-mime-message-p):
573 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
574
00d2a6bb
DC
5752014-01-21 Daniel Colascione <dancol@dancol.org>
576
577 * progmodes/sh-script.el (sh--inside-noncommand-expression):
578 Correctly detect when we're inside an arithmetic expansion form
579 containing nested parenthesis.
580 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
581 to detect cases where we shouldn't expand "<<" to a heredoc
582 skeleton.
583
dd9d2e9d
SM
5842014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
585
586 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
587 (eldoc--message-command-p): New function.
588 (eldoc-display-message-p): Use it.
589 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
590 message is not automatically erased for us.
591 (eldoc-print-current-symbol-info): Erase previous message, if any.
592
e7d807ca
TH
5932014-01-21 Tassilo Horn <tsdh@gnu.org>
594
4ff0a0e5
TH
595 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
596 specify it's an interactive function.
597
dd9d2e9d
SM
598 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
599 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
600 citations with optional arguments.
601
87503791
LL
6022014-01-21 Leo Liu <sdl.web@gmail.com>
603
604 * simple.el (read--expression): Don't enable eldoc-mode.
605
6cc750ee
SM
6062014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
607
608 * simple.el (move-beginning-of-line): Make sure we don't move forward
609 (bug#16497).
610
71f16bda
JL
6112014-01-20 Juri Linkov <juri@jurta.org>
612
613 * saveplace.el (toggle-save-place, save-place-to-alist)
614 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
615 'dired-mode) before checking for dired-directory. (Bug#16477)
616
3c5a4839
JL
6172014-01-20 Juri Linkov <juri@jurta.org>
618
619 * indent.el (indent-line-to): Use backward-to-indentation
620 instead of back-to-indentation. (Bug#16461)
621
f952002e
PE
6222014-01-20 Paul Eggert <eggert@cs.ucla.edu>
623
624 Revert some of the CANNOT_DUMP fix (Bug#16494).
625 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
626 but fixing this can wait until after the next release.
627 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
628
93675500
MA
6292014-01-19 Michael Albinus <michael.albinus@gmx.de>
630
631 * eshell/esh-mode.el (eshell-password-prompt-regexp):
632 Use `password-word-equivalents'.
633 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
634 to t. (Bug#5664, Bug#13124)
635
e3af763f
AM
6362014-01-19 Alan Mackenzie <acm@muc.de>
637
638 Bind open-paren-in-column-0-is-defun-start to nil at some entry
639 points.
640 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 641 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
642 * progmodes/cc-mode.el (c-before-change, c-after-change)
643 (c-font-lock-fontify-region): Bind it here.
644
4ff6d92d
MR
6452014-01-19 Martin Rudalics <rudalics@gmx.at>
646
647 * term.el (term-window-width): Call window-text-width instead of
648 window-width (Bug#16470).
649
9a685cf6
PE
6502014-01-18 Paul Eggert <eggert@cs.ucla.edu>
651
652 * simple.el (password-word-equivalents): Remove duplicates.
653 Sort, to make this easier next time.
654 Downcase. Omit ": " after "jelszó".
655
5aa78c2d
JD
6562014-01-18 Jan Djärv <jan.h.d@swipnet.se>
657
658 * term/common-win.el (saved-region-selection): Defvar it.
659 (x-select-text): Set saved-region-selection (Bug#16382).
660
cabb250c
GM
6612014-01-18 Glenn Morris <rgm@gnu.org>
662
663 * emacs-lisp/authors.el (authors-aliases)
664 (authors-renamed-files-alist): Add some entries.
665
a1340440
MA
6662014-01-17 Michael Albinus <michael.albinus@gmx.de>
667
93675500
MA
668 * net/tramp.el (tramp-password-prompt-regexp):
669 Use `password-word-equivalents' if available.
a1340440
MA
670 (tramp-action-password, tramp-process-one-action)
671 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
672
681ce5d2
CY
6732014-01-17 Chong Yidong <cyd@gnu.org>
674
675 * simple.el (password-word-equivalents): New defcustom.
676 * comint.el (comint-password-prompt-regexp): Use it. Bump version
677 to 24.4.
678 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
679 to t. (Bug#13124)
680
fb3d479c
DG
6812014-01-17 Dmitry Gutov <dgutov@yandex.ru>
682
683 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
684 (ruby-align-to-stmt-keywords): Change the default value.
685 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
686 choices.
687 (ruby-smie-rules): Instead of using a hardcoded list of alignable
688 keywords, check against the value of `ruby-alignable-keywords'
689 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
690
0d613483
GM
6912014-01-17 Glenn Morris <rgm@gnu.org>
692
fc23fe2d
GM
693 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
694
0d613483
GM
695 Make M-x authors return zero *Authors Errors* from current logs.
696 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
697 (authors-ignored-files): Add some entries, remove others.
698 (authors-ambiguous-files, authors-valid-file-names):
699 Add some entries.
700 (authors-renamed-files-alist): Add, remove, and adjust entries.
701 (authors-renamed-files-regexps): Add some entries.
702 Remove some very broad ones. Make some entries `lax'.
703 (authors-lax-changelogs): New constant.
704 (authors-disambiguate-file-name): Treat top-level specially.
705 (authors-lax-changelog-p): New function.
706 (authors-canonical-file-name): Check file as written against
707 authors-valid-file-names. Do not special-case etc/.
708 Handle `lax' logs and authors-renamed-files-regexps elements.
709
2dbf4ffd
DG
7102014-01-16 Dmitry Gutov <dgutov@yandex.ru>
711
712 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
713 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
714 callers.
2dbf4ffd 715
87b2a7f2
SM
7162014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
717
718 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
719 Assume we're already in the proper buffer.
720 Inspired by Anders Lindgren <andlind@gmail.com>.
721 (follow-post-command-hook): Call it from the right buffer.
722 (follow-comint-scroll-to-bottom): Adjust call.
723 (follow-all-followers): Use get-buffer-window-list.
724
93acfb0e
DC
7252014-01-15 Daniel Colascione <dancol@dancol.org>
726
727 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
728 `buffer-file-name' in interactive-form so that we don't leave
729 pathless file names in `file-name-history'.
730
ccc6b208
JL
7312014-01-15 Juri Linkov <juri@jurta.org>
732
733 * indent.el (indent-rigidly): Set deactivate-mark to nil
734 in transient indentation mode. (Bug#16438)
735
5c92e00d
DG
7362014-01-15 Dmitry Gutov <dgutov@yandex.ru>
737
738 * emacs-lisp/package.el (package-desc-keywords): New function
739 (Bug#16222).
740 (describe-package-1, package-all-keywords)
741 (package--has-keyword-p): Use it.
742
dac69660
NR
7432014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
744
745 * simple.el (define-alternatives): When creating the
746 COMMAND-alternatives variable, assign COMMAND as its definition
747 name so that `describe-variable' can relocate it.
748
8b63edf8
ML
7492014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
750
751 * font-lock.el (font-lock-keywords): Fix typo in docstring
752 (bug#16307).
753
c6a0b8eb
AM
7542014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
755
756 * ispell.el (ispell-region): Reset `in-comment' for new line
757 instead of wrongly reset `add-coment' (bug#13577).
758
02bf443d
DU
7592014-01-14 Daiki Ueno <ueno@gnu.org>
760
761 * epa-file.el (epa-file-write-region): Encode the region according
762 to `buffer-file-format'. Problem reported at:
763 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
764
fd7fde15
SM
7652014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
766
767 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
768 so it applies in the right buffer (bug#16410).
769
c176054f
DC
7702014-01-13 Daniel Colascione <dancol@dancol.org>
771
772 * textmodes/rst.el (rst-define-key): Provide deprecated
773 keybindings through named functions instead of anonymous ones so
774 that "??" doesn't appear in describe-mode output.
775
e3f33e5d
BG
7762014-01-13 Bastien Guerry <bzg@gnu.org>
777
778 * simple.el (define-alternatives): Call the selected command
779 interactively. When setting `COMMAND--implementation' for the
780 first time, tell the user how to chose another implementation.
781 Enhance the docstring.
782
c055d654
SM
7832014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
786 (log-edit--match-first-line): New function.
787 (log-edit-font-lock-keywords): Use it.
788 (log-edit-mode): Make jit-lock-defer-multiline work.
789
d791cc3b
BG
7902014-01-13 Bastien Guerry <bzg@gnu.org>
791
792 * rect.el (rectangle-mark-mode): When the region is not active,
793 display a message saying that the mark as been set and that
794 rectangle mode is in use.
795 (rectangle--highlight-for-redisplay): Only put an overlay with a
796 visible vertical bar when (display-graphic-p) is non-nil.
797 This partially fixes Bug#16403.
798
3c0c4562
JL
7992014-01-13 Juri Linkov <juri@jurta.org>
800
801 * info.el (Info-find-file): Go to DIR before displaying the error
802 about a nonexistent file if no previous Info file is visited.
803 Use `user-error' instead of `error' for "Info file %s does not exist".
804 (Info-find-node-2): In case of a nonexistent node in unwind forms
805 go to the Top node if there is no previous node to revert to.
806 (Bug#16405)
807
25a700d0
MR
8082014-01-13 Martin Rudalics <rudalics@gmx.at>
809
810 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
811 * window.el (fit-frame-to-buffer): Fix doc-string.
812 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
813 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
814 when avoiding that frame goes partially off-screen.
815 (fit-window-to-buffer): Respect window-min-height/-width
816 (Bug#14096).
817
6ae948d8
SM
8182014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
819
820 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
821 after an empty line.
822
6137cb82
SM
8232014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * net/shr.el (shr-render-region): Autoload.
826
e6344e17
XF
8272014-01-12 Xue Fuqiao <xfq.free@gmail.com>
828
829 * net/eww.el (eww-download-directory): Rename from
830 `eww-download-path' (Bug#16419).
831
3b922c70
LL
8322014-01-12 Leo Liu <sdl.web@gmail.com>
833
834 * dired-x.el (dired-mode-map): Fix last change.
835
836 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
837
4fa51741
PE
8382014-01-12 Paul Eggert <eggert@cs.ucla.edu>
839
840 Spelling fixes.
841 * emacs-lisp/generic.el (generic--normalize-comments):
842 Rename from generic--normalise-comments. All uses changed.
843 * play/bubbles.el (bubbles--neighborhood-score):
844 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
845 (bubbles--neighborhood-available)
846 (bubbles--update-neighborhood-score):
847 Rename from names with 'neighbourhood'. All uses changed.
848
9b335362
LL
8492014-01-12 Leo Liu <sdl.web@gmail.com>
850
851 Re-implement the feature of showing eldoc info after editing.
852 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
853 (eldoc-edit-message-commands): New function.
854 (eldoc-print-after-edit): New variable.
855 (eldoc-pre-command-refresh-echo-area): Emit message only by
856 eldoc-message-commands.
857 (eldoc-mode): Restrict eldoc-message-commands to editing commands
858 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 859 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 860 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 861
e2a095b1
GM
8622014-01-11 Dani Moncayo <dmoncayo@gmail.com>
863 Eric S. Raymond <esr@thyrsus.com>
9685190b 864
841a6d0c 865 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 866 function works correctly in either a Bazaar or Git repo.
0abf4134 867
e2a095b1
GM
8682014-01-11 Eric S. Raymond <esr@thyrsus.com>
869
6137cb82
SM
870 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
871 Goes with removal of the joke manpages from /etc.
9685190b 872
3923e7bd
KH
8732014-01-10 K. Handa <handa@gnu.org>
874
6137cb82
SM
875 * mail/rmail.el (rmail-get-coding-system):
876 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 877
d2f16e93
GM
8782014-01-10 Glenn Morris <rgm@gnu.org>
879
880 * emacs-lisp/authors.el (authors-fixed-entries):
881 Update for files that no longer exist.
882
7e03bb32
ER
8832014-01-10 Eric S. Raymond <esr@thyrsus.com>
884
885 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 886 24.3 (Tested).
7e03bb32 887
dd806710
BB
8882014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
889
890 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
891 and Podfile.
892
ed6ec139
EZ
8932014-01-10 Eli Zaretskii <eliz@gnu.org>
894
895 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
896
cc33cac9
CY
8972014-01-10 Chong Yidong <cyd@gnu.org>
898
6137cb82 899 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 900
d9d836b5
AL
9012014-01-10 Anders Lindgren <andlind@gmail.com>
902
903 * follow.el (follow-cache-command-list): Include right-char and
904 left-char.
905
06827ec8
PE
9062014-01-10 Paul Eggert <eggert@cs.ucla.edu>
907
908 Spelling fixes.
909 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
910 * woman.el (woman-mark-horizontal-position):
911 Rename from woman-mark-horizonal-position. Use changed.
912
458dbf5e
GM
9132014-01-10 Glenn Morris <rgm@gnu.org>
914
dad6fae7
GM
915 * info.el (info-initialize): If running uninstalled, ensure our
916 own info files are always found first, even if INFOPATH is set.
917
458dbf5e
GM
918 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
919
05e0afce
DE
9202014-01-09 David Engster <deng@randomsample.de>
921
922 * emacs-lisp/eieio-custom.el:
923 * emacs-lisp/eieio-opt.el: Set generated autoload file to
924 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
925 * emacs-lisp/eieio.el: Regenerate autoloads.
926
f29778b3
ER
9272014-01-09 Eric S. Raymond <esr@thyrsus.com>
928
929 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 930 following renames. (Bug#8756)
f29778b3 931
684d44ef
SM
9322014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
935 (bug#16382).
936 (activate-mark): Add `no-tmm' argument.
937 (set-mark, push-mark-command): Use it instead of running
938 activate-mark-hook by hand.
939
9475054f
ER
9402014-01-08 Eric S. Raymond <esr@thyrsus.com>
941
942 In preparation for the move to git, sanitize out some
943 Bazaar-specific names.
944
38942b9c
GM
945 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
946
9475054f 947 * version.el (emacs-bzr-version): Name changed to
689c9ca5 948 emacs-repository-version. Obsolete-variable alias made.
9475054f 949 * loadup.el: Follow through on this name change.
a12bf61e 950 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
951 assumption about the version control system in use.
952
0f918d96 9532014-01-08 David Engster <deng@randomsample.de>
abb82152 954
684d44ef
SM
955 * help-fns.el (help-fns-describe-function-functions):
956 New variable to call functions for augmenting help buffers.
abb82152
DE
957 (describe-function-1): Remove explicit calls to
958 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
959 `help-fns--obsolete'. Put them in above new variable instead, and
960 call them through `run-hook-with-args'.
961 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
962 `eieio-describe-class'. Not meant for interactive use anymore,
963 but to augment existing help buffers. Remove optional second
684d44ef
SM
964 argument. Create proper button for file location.
965 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
966 possible.
967 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
968 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
969 (describe-method, describe-generic, eieio-describe-method):
970 Remove aliases.
0f918d96
DE
971 (eieio-help-constructor, eieio-help-generic): Rename from
972 `eieio-describe-constructor' and `eieio-describe-generic', resp.
973 Rewrite to use `insert' in the current buffer and use proper help
974 buttons.
975 (eieio-help-find-method-definition)
976 (eieio-help-find-class-definition): Also accept symbols as
977 arguments.
978 (eieio-help-mode-augmentation-maybee): Remove.
979 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
980 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
981 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 982
136b74c5
PE
9832014-01-08 Paul Eggert <eggert@cs.ucla.edu>
984
985 Spelling fixes.
986 * language/china-util.el (hz-ascii-designation):
987 Rename from hz-ascii-designnation.
988 (hz-ascii-designation): Rename from hz-ascii-designnation.
989 All uses changed.
990
ec6c7de2
SM
9912014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
992
993 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
994 package-alist.
995
d6262c7c
BG
9962014-01-08 Bastien Guerry <bzg@gnu.org>
997
4b9e6087
GM
998 * emacs-lisp/package.el (package-delete):
999 Correctly delete the package from package-alist.
d6262c7c 1000
0a3eec32
DU
10012014-01-08 Daiki Ueno <ueno@gnu.org>
1002
1003 * emacs-lisp/package.el (url-recreate-url): Declare.
1004 (url-http-target-url): Declare.
4b9e6087 1005 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
1006 (package--check-signature): Don't re-signal errors from
1007 package--with-work-buffer. Suggested by Stefan Monnier.
1008
68f0bb97
BG
10092014-01-07 Bastien Guerry <bzg@gnu.org>
1010
1011 * minibuffer.el (completion--try-word-completion): When both a
1012 hyphen and a space are possible candidates for the character
1013 following a word, display both candidates. (Bug#15980)
1014
7e1899d7
MR
10152014-01-07 Martin Rudalics <rudalics@gmx.at>
1016
1017 * window.el (balance-windows-2): While rounding don't give a
1018 window more than the remainder. Bug#16351, Bug#16383.
1019
0030ec15
GM
10202014-01-07 Glenn Morris <rgm@gnu.org>
1021
1022 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1023 (menu-bar-help-menu): Use view-external-packages instead.
1024
2b6b4f20
BG
10252014-01-07 Bastien Guerry <bzg@gnu.org>
1026
1027 * emacs-lisp/package.el (package-delete): Also delete the package
1028 name from `package-alist', not its description only.
1029
e9be0a13
GM
10302014-01-07 Glenn Morris <rgm@gnu.org>
1031
1032 * help.el (view-external-packages):
1033 * menu-bar.el (menu-bar-help-extra-packages):
1034 Visit efaq.info rather than etc/MORE.STUFF.
1035
e4f74da9
JL
10362014-01-07 Juri Linkov <juri@jurta.org>
1037
1038 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1039 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1040
1041 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1042 that shadows RET. (Bug#16342)
1043
de7ce2d1
CY
10442014-01-07 Chong Yidong <cyd@gnu.org>
1045
1046 * isearch.el (isearch-yank-char, isearch-yank-word)
1047 (isearch-yank-line): Doc fix.
1048
6bdd9204
SM
10492014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1050
1051 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1052 * emacs-lisp/elint.el (elint-find-builtins):
1053 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1054 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1055 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1056 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1057 * apropos.el (apropos-safe-documentation):
1058 * subr.el (symbol-file): Remove redundant fboundp.
1059 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1060
daccca97
BG
10612014-01-06 Bastien Guerry <bzg@gnu.org>
1062
1063 * hl-line.el (global-hl-line-overlay): Make a local variable.
1064 (global-hl-line-overlays): New variable to store all overlays.
1065 (global-hl-line-mode): Don't delete overlays from the current
1066 buffer when `global-hl-line-sticky-flag' is non-nil.
1067 (global-hl-line-highlight): Add new overlays to
1068 `global-hl-line-overlays'.
1069 (global-hl-line-unhighlight-all): New function to delete all
1070 overlays when turning off `global-hl-line-mode'.
1071 This fixes Bug#16183.
1072
ec00f20f
SM
10732014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1074
1075 * subr.el (set-transient-map): Fix nested case and docstring.
1076
a0031f97
TH
10772014-01-06 Tassilo Horn <tsdh@gnu.org>
1078
1079 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1080 `Texinfo' entry.
1081
bf6a77f3
DC
10822014-01-06 Daniel Colascione <dancol@dancol.org>
1083
1084 Fix defun navigation in vc log view.
1085
1086 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1087 like `beginning-of-defun'.
1088 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
1089 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1090 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 1091 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 1092 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 1093
d5081c1e
PE
10942014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1095
1096 Spelling fixes.
1097 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1098 * emacs-lisp/debug.el (cancel-debug-on-entry):
1099 * epg.el (epg-error-to-string):
1100 * files.el (recover-file):
1101 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1102 * mail/emacsbug.el (report-emacs-bug-hook):
1103 * mail/sendmail.el (mail-recover):
1104 * ses.el (ses-yank-resize):
1105 * term/ns-win.el (ns-print-buffer):
1106 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1107 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1108 All uses changed.
1109 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1110
53f6b148
LL
11112014-01-06 Leo Liu <sdl.web@gmail.com>
1112
1113 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 1114 to avoid shadowing global key. (Bug#16354)
53f6b148 1115
b82ace2f
DC
11162014-01-06 Daniel Colascione <dancol@dancol.org>
1117
1118 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1119 rst-mode.
1120
3669b636
MR
11212014-01-05 Martin Rudalics <rudalics@gmx.at>
1122
1123 * window.el (balance-windows): Add mising t to fix Bug#16351.
1124
1a29adc2
LMI
11252014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1126
1127 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1128 (bug#16285).
3d95a0f4
LMI
1129 (shr-insert): If we have a word that's longer than `shr-width',
1130 break after it anyway. Otherwise we'll do no breaking once we get
1131 such a long word.
1a29adc2 1132
f4018140
KN
11332014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1134
3fcfc4ee 1135 * net/eww.el (eww): Support single/double quote for search.
189340f5
KN
1136 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1137 (eww-history-quit): Delete and use quit-window.
1138 (eww-history-kill): Delete, because it doesn't work well and
1139 not necessary.
1140 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 1141
4e619754
PE
11422014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1143
73dbf960
PE
1144 Fix misspelling of 'chinese' in rx (Bug#16237).
1145 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1146 chinese-two-byte.
1147
4e619754
PE
1148 Change subword regexps back to vars (Bug#16296).
1149 * progmodes/subword.el (subword-forward-regexp)
1150 (subword-backward-regexp): Change these back to variables.
1151
e18b70fc
SM
11522014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1153
1154 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1155 syntax-begin-function (bug#16247).
1156
0d53f628
CY
11572014-01-03 Chong Yidong <cyd@gnu.org>
1158
1159 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1160 (advice--docstring): Delete variable.
1161 (advice--make-1): Leave the docstring empty.
1162 (advice-add): Use function-documentation for advised docstring.
1163
1164 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1165 Ignore function-documentation property when getting documentation.
1166 (ad-activate-advised-definition): Use function-documentation
1167 generate the docstring.
1168 (ad-make-advised-definition): Don't call
1169 ad-make-advised-definition-docstring.
1170 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1171 Delete functions.
1172
1173 * progmodes/sql.el (sql-help): Use function-documentation instead
1174 of dynamic-docstring-function property. No need to autoload now.
1175 (sql--help-docstring): New variable.
1176 (sql--make-help-docstring): Use it.
1177
6f547583
SM
11782014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1179
6ef9aed8
SM
1180 * ielm.el (ielm-tab): Retarget.
1181 (ielm-map): Use ielm-tab for tab.
1182 (ielm-complete-filename): Use comint-filename-completion.
1183 (ielm-complete-symbol): Remove.
1184 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1185 remove ielm-tab from completion-at-point-functions (bug#16224).
1186
6f547583
SM
1187 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1188 Beware signals raised by predicates (bug#16201).
1189
a574edbe
RS
11902014-01-02 Richard Stallman <rms@gnu.org>
1191
e831604d
RS
1192 * dired-aux.el (dired-do-print): Handle printer-name.
1193
6f547583
SM
1194 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1195 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
1196 (rmail-epa-decrypt): Turn off mime processing.
1197
3fcfc4ee 1198 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
1199 Add parens in message-id.
1200
1201 * mail/rmail.el (rmail-get-coding-function): Variable.
1202 (rmail-get-coding-system): Use it.
1203
04311a16
KH
12042013-12-31 Eli Zaretskii <eliz@gnu.org>
1205
1206 * international/mule-conf.el: Unify the charset indian-is13194.
1207 (indian-is13194): Specify unify-map.
1208
c8d89778
LL
12092013-12-31 Leo Liu <sdl.web@gmail.com>
1210
1211 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1212
e63ace37
DC
12132013-12-30 Daniel Colascione <dancol@dancol.org>
1214
9e0bf19a
DC
1215 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1216 of printing a useless when we resume from sleep.
1217
e63ace37
DC
1218 * progmodes/sh-script.el
1219 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1220 in indentation code. (Bug#16233)
1221
e9d6c46a
JT
12222013-12-28 João Távora <joaotavora@gmail.com>
1223
6f547583
SM
1224 * elec-pair.el (electric-pair-post-self-insert-function):
1225 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1226
bf7bea5d
EZ
12272013-12-28 Eli Zaretskii <eliz@gnu.org>
1228
1229 * frame.el (window-system-for-display): Don't allow to create a
1230 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1231
8449dd1f
GM
12322013-12-28 Glenn Morris <rgm@gnu.org>
1233
9c5a5c77
GM
1234 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1235 Update callers.
1236
1237 * apropos.el (apropos-match-face):
1238 * calculator.el (calculator-displayer):
1239 * dabbrev.el (dabbrev-search-these-buffers-only):
1240 * face-remap.el (buffer-face-mode-face):
1241 * simple.el (yank-handled-properties):
1242 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1243 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1244 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1245 (hashcash-double-spend-database):
1246 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1247 (ruby-deep-indent-paren-style):
1248 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1249 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1250 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1251 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1252 Specify custom types.
1253
bb098075
GM
1254 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1255 * bookmark.el (bookmark-bmenu-use-header-line):
1256 * doc-view.el (doc-view-scale-internally):
1257 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1258 * register.el (register-preview-delay):
1259 * net/shr.el (shr-bullet):
1260 * progmodes/cfengine.el (cfengine-cf-promises)
1261 (cfengine-parameters-indent):
1262 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1263 * textmodes/reftex-vars.el (reftex-label-regexps):
1264 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1265
9c61f806
GM
1266 * net/tls.el (tls-certtool-program): Fix default value.
1267
1268 * desktop.el (desktop-restore-in-current-display):
1269 * newcomment.el (comment-empty-lines):
1270 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1271 (idlwave-pad-keyword):
1272 * progmodes/tcl.el (tcl-tab-always-indent):
1273 * textmodes/reftex-vars.el (reftex-index-default-tag):
1274 * elec-pair.el (electric-pair-skip-whitespace):
1275 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1276
8449dd1f
GM
1277 * emacs-lisp/authors.el (authors-ignored-files)
1278 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1279
fdadeb49
JC
12802013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1281
72140a0f
GM
1282 * shell.el (shell-dynamic-complete-command): Doc fix.
1283 (shell--command-completion-data): Shell completion now matches
1284 executable filenames from the current buffer's directory, on
da5ecfa9 1285 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1286
e572a7d8
LI
12872013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1288
1289 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1290
7514d3f8
SM
12912013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1292
a4151f3b
SM
1293 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1294 (bug#16251).
1295
7514d3f8
SM
1296 * electric.el: Move all electric-pair-* to elec-pair.el.
1297 * elec-pair.el: New file, split from electric.el.
1298
ac5758d1
LI
12992013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1300
1301 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1302 indentation level is larger than the width, because that will
1303 infloop.
1304 (shr-insert): Fill repeatedly long texts, so that Japanese is
1305 formatted correctly (bug#16263).
24a6b65e
LI
1306 (shr-find-fill-point): Off by one error in comparison with the
1307 indentation.
ac5758d1 1308
7514d3f8 13092013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1310
1311 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1312 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1313 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1314 if that keeps or improves their balance in buffers.
1315 (electric-pair-delete-adjacent-pairs): Delete the pair when
1316 backspacing over adjacent matched delimiters.
1317 (electric-pair-open-extra-newline): Open extra newline when
1318 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1319 (electric--sort-post-self-insertion-hook):
1320 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1321 minor-modes are activated.
1322 * simple.el (newline-and-indent): Call newline with interactive
1323 set to t.
1324 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1325 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1326 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1327 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1328 electric-pair-open-newline-between-pairs to nil.
1329
fbcc63a3
FEG
13302013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1331
1332 * progmodes/python.el: Use lexical-binding.
1333 (python-nav-beginning-of-defun): Stop searching ASAP.
1334
ed78d16c
XF
13352013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1336
1337 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1338 Fix interactive spec. Doc fix. (Bug#15754)
1339
38b2c142
KY
13402013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1341
1342 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1343 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1344 Fix edebug spec (bug#16184).
1345
3c856c14
LI
13462013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1347
83fa295c 1348 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1349 (shr-insert): Don't infloop if we can't find a good place to break
1350 the line (bug#16256).
3c856c14 1351
01379221
FEG
13522013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1353
1354 * progmodes/python.el:
1355 (python-nav--lisp-forward-sexp): New function.
1356 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1357 python-nav-lisp-forward-sexp-safe.
1358 (python-nav--forward-sexp): New argument SAFE allows switching
1359 forward sexp movement behavior for parens.
1360 (python-nav-forward-sexp): Throw errors on unterminated parens
1361 (Bug#16191).
1362 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1363 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1364 (python-shell-buffer-substring):
1365 Use `python-nav-forward-sexp-safe'.
01379221 1366
99e4926f
LI
13672013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1368
1369 * net/shr.el (shr-find-fill-point): Don't break lines before a
1370 quotation mark.
c6c20584
LI
1371 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1372 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1373 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1374
fec0e828
KN
13752013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1376
1377 * net/eww.el (eww-form-textarea): Use a different face for
1378 textareas than text input since they have different keymaps
1379 (bug#16142).
1380
89c868ad
FEG
13812013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1382
7514d3f8
SM
1383 * progmodes/python.el (python-nav-beginning-of-statement):
1384 Speed up (Bug#15295).
89c868ad 1385
eeef121a
LI
13862013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1387
1388 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1389 the window configuration.
1390
121ea65f
EZ
13912013-12-24 Eli Zaretskii <eliz@gnu.org>
1392
1393 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1394 we run on MS-Windows or MS-DOS.
1395
18cee9ec
MR
13962013-12-24 Martin Rudalics <rudalics@gmx.at>
1397
1398 * window.el (balance-windows-area): Call window-size instead of
1399 window-height and window-width. Bug#16241.
1400
58f2b9a5
LI
14012013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1402
1403 * net/eww.el (eww-bookmark-quit): Remove.
1404 (eww-bookmark-browse): Restore the window configuration when you
1405 choose a bookmark (bug#16144).
1406
d64b6308
DC
14072013-12-24 Daniel Colascione <dancol@dancol.org>
1408
1409 * icomplete.el: Remove redundant :group arguments to `defcustom'
1410 throughout.
1411 (icomplete-show-matches-on-no-input): New customizable variable.
1412 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1413 we have something to show.
7514d3f8 1414 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1415
0da54898
DC
14162013-12-23 Daniel Colascione <dancol@dancol.org>
1417
1418 * icomplete.el: Move `provide' to end of file.
1419
b90aa4f4
TZ
14202013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1421
1422 * net/gnutls.el (gnutls-verify-error): Add version tag.
1423
8cd22a08
CY
14242013-12-23 Chong Yidong <cyd@gnu.org>
1425
1426 * subr.el (set-transient-map): Rename from
1427 set-temporary-overlay-map. Doc fix.
1428
1429 * face-remap.el (text-scale-adjust):
1430 * indent.el (indent-rigidly):
1431 * kmacro.el (kmacro-call-macro):
1432 * minibuffer.el (minibuffer-force-complete):
1433 * repeat.el (repeat):
1434 * simple.el (universal-argument--mode):
1435 * calendar/todo-mode.el (todo-insert-item--next-param):
1436 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1437
7510b021
CY
1438 * indent.el (indent-rigidly): Use substitute-command-keys.
1439
72140a0f 14402013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1441
1442 * net/eww.el (eww-tag-select): Add text-property to jump to next
1443 select field.
e9dc713d 1444 (eww): Add non-supported ftp error.
56890ecd 1445
1f87a56c
DG
14462013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1447
1448 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1449 comments. Handle electric indent after typing `?' and `!'.
1450
dca38cf9
CY
14512013-12-22 Chong Yidong <cyd@gnu.org>
1452
1453 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1454 applicable to a frame, fall back on the defface spec.
1455 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1456
f2351498
DG
14572013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1458
1459 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1460 after `{'. We need it after block openers, and it doesn't seem
1461 to hurt after hash openers.
1462
6cddebc1
DG
14632013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1464
1465 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1466 extracted from `ruby-smie-rules'.
1467 (ruby--electric-indent-chars): New variable.
1468 (ruby--electric-indent-p): New function.
1469 (ruby-mode): Use `electric-indent-functions' instead of
1470 `electric-indent-chars'.
1471
65a1da00
DG
14722013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1473
1474 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1475 docstring.
1476 (ruby-smie-rules): Indent plus one level after `=>'.
1477
b51ad4cf
RS
14782013-12-21 Richard Stallman <rms@gnu.org>
1479
1480 * simple.el (newline): Doc fix.
1481
72140a0f 14822013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1483
e9dc713d 1484 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1485 (eww-history-browse, eww-history-quit, eww-history-kill)
1486 (eww-history-mode-map, eww-history-mode): New command and
1487 functions to list browser histories.
e9dc713d
JB
1488 (eww-form-text): Support text form with disabled
1489 and readonly attributes.
1490 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1491
5e1901c1
RS
14922013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1493
1494 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1495 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1496 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1497 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1498 Use `user-error'.
1499 (eww-bookmark-mode-map): Add menu.
1500 (eww-render, eww-mode): Use `setq-local'.
1501 (eww-tool-bar-map): New variable.
1502 (eww-mode): Set `tool-bar-map'.
1503 (eww-view-source): Check for `html-mode' with `fboundp'.
1504
073d5cfd
LMI
15052013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1506
1507 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1508 elements with text inside. Also remove debugging.
1509
41cf3d11
JD
15102013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1511
1512 * cus-start.el (all): Add ns-use-srgb-colorspace.
1513
aac2b673
CY
15142013-12-21 Chong Yidong <cyd@gnu.org>
1515
1516 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1517 undefined. Thus, theme settings for undefined faces do not take
1518 effect until the faces are defined with defface, the same as with
1519 theme variables.
1520
1521 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1522 (face-spec-reset-face): Don't assign extra properties in temacs.
1523 (face-spec-recalc): Apply X resources too.
1524
bacb0e77
CY
15252013-12-21 Chong Yidong <cyd@gnu.org>
1526
1527 * faces.el (face-spec-set):
1528 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1529 * custom.el (defface): Doc fixes (Bug#16203).
1530
77221051
CY
1531 * indent.el (indent-rigidly-map): Add docstring, and move commands
1532 into named functions.
1533 (indent-rigidly-left, indent-rigidly-right)
1534 (indent-rigidly-left-to-tab-stop)
1535 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1536 indentation direction based on bidi direction, and accumulate
1537 sequential commands in a single undo boundary.
1538 (indent-rigidly--pop-undo): New utility function.
1539
e0eb0550
JB
15402013-12-20 Juanma Barranquero <lekktu@gmail.com>
1541
1542 * faces.el (read-face-name): Require crm.el when using crm-separator.
1543
3282bd2e
DC
15442013-12-20 Daniel Colascione <dancol@dancol.org>
1545
1546 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1547 so that we don't reflow comments into the shebang line.
1548
1d42e5b6
JL
15492013-12-20 Juri Linkov <juri@jurta.org>
1550
1551 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1552 a position when `dired-directory' is non-nil. Check integer
1553 positions with `integerp'.
1554 (toggle-save-place, save-places-to-alist): Add check for
1555 `dired-directory'.
1556 (save-place-find-file-hook): Check integer positions with
1557 `integerp'.
1558 (save-place-dired-hook): Use `dired-goto-file' when
1559 `dired-filename' is found in the assoc list. Check integer
1560 positions with `integerp'.
1561 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1562
1563 * dired.el (dired-initial-position-hook): Rename back from
1564 `dired-initial-point-hook'.
1565 (dired-initial-position): Rename `dired-initial-point-hook' to
1566 `dired-initial-position-hook'.
1567 (dired-file-name-at-point): Doc fix. (Bug#15329)
1568
24da7273
JL
15692013-12-20 Juri Linkov <juri@jurta.org>
1570
1571 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1572 (read-regexp-suggestions): New function.
1573 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1574 Use `read-regexp-suggestions'. Add non-empty default to history
1575 for empty input.
1576 (occur-read-regexp-defaults-function): Remove function.
1577 (occur-read-primary-args): Use `regexp-history-last' instead of
1578 `occur-read-regexp-defaults-function'.
1579
1580 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1581 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1582 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1583 `hi-lock-read-regexp-defaults-function'. Doc fix.
1584 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1585 with `find-tag-default-as-symbol-regexp'. Doc fix.
1586 (hi-lock-read-regexp-defaults): Remove function.
1587 (hi-lock-regexp-okay): Add check for null.
1588
1589 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1590 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1591
1592 * subr.el (find-tag-default-as-symbol-regexp): New function.
1593 (find-tag-default-as-regexp): Move symbol regexp formatting to
1594 `find-tag-default-as-symbol-regexp'.
1595
137f57c8
S
15962013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1597
1598 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1599 (Bug#14179)
1600
f3a66082
SB
16012013-12-20 Stephen Berman <stephen.berman@gmx.net>
1602
1603 * calendar/todo-mode.el: New implementation of item insertion
1604 commands and key bindings.
1605 (todo-key-prompt): New face.
1606 (todo-insert-item): New command.
1607 (todo-insert-item--parameters): New defconst, replacing defvar
1608 todo-insertion-commands-args-genlist.
1609 (todo-insert-item--param-key-alist): New defconst, replacing
1610 defvar todo-insertion-commands-arg-key-list.
1611 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1612 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1613 (todo-insert-item--next-param): New functions.
1614 (todo-insert-item--args, todo-insert-item--argleft)
1615 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1616 New variables.
1617 (todo-key-bindings-t): Change binding of "i" from
1618 todo-insertion-map to todo-insert-item.
1619 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1620 (todo-insertion-command-name, todo-insertion-commands-names)
1621 (todo-define-insertion-command, todo-insertion-commands)
1622 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1623
2f99433b
SB
16242013-12-20 Stephen Berman <stephen.berman@gmx.net>
1625
1626 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1627 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1628 eval-when-compile.
1629 (todo-move-category): Allow choosing a non-existing todo file to
1630 move the category to, and create that file.
1631 (todo-default-priority): New user option.
1632 (todo-set-item-priority): Use it.
1633 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1634 (desktop-restore-file-buffer): Declare.
1635 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1636 (todo-modes-set-2): Locally set desktop-save-buffer to
1637 todo-desktop-save-buffer.
1638 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1639 (auto-mode-alist): Add autoload cookie.
1640
131e4695
BB
16412013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1642
1643 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1644 helpers.el was a poor choice of name.
3cbfb935
BB
1645 (string-remove-prefix): New function.
1646 (string-remove-suffix): New function.
131e4695 1647
c44de18d
MR
16482013-12-20 Martin Rudalics <rudalics@gmx.at>
1649
1650 Fix assignment for new window total sizes.
1651 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1652 (window--pixel-to-total-1, window--pixel-to-total):
1653 Fix calculation of new total sizes.
c44de18d 1654
ca65efcc
VS
16552013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1656
1657 * comint.el (comint-output-filter): Fix rear-nonsticky property
1658 placement (Bug#16010).
1659
a9574eb7
CY
16602013-12-20 Chong Yidong <cyd@gnu.org>
1661
1662 * faces.el (read-color): Minor fix for completion function.
1663
b520f210
DG
16642013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1665
e0eb0550
JB
1666 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1667 New option. (Bug#16182)
b520f210
DG
1668 (ruby-smie--indent-to-stmt-p): Use it.
1669 (ruby-smie-rules): Revert the logic in the handling of `when'.
1670 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1671 (ruby-deep-arglist, ruby-deep-indent-paren)
1672 (ruby-deep-indent-paren-style): Update docstrings to note that the
1673 vars don't have any effect with SMIE.
1674
26b75b45
JB
16752013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1676
1677 * calc/calc.el (calc-enter, calc-pop): Use the variable
1678 `calc-context-sensitive-enter'.
1679
cf91cee7
LMI
16802013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1681
1682 * net/shr.el (shr-insert): Protect against infloops in degenerate
1683 tables.
1684
51d971b4
RS
16852013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1686
1687 * progmodes/octave.el (octave): Add link to manual and octave
1688 homepage.
1689 (octave-mode-menu): Link to octave-mode manual.
1690
8c2e462a
LL
16912013-12-20 Leo Liu <sdl.web@gmail.com>
1692
1693 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1694 insertion using skeleton-end-newline. (Bug#16138)
1695
501158bc
JL
16962013-12-20 Juri Linkov <juri@jurta.org>
1697
1698 * replace.el (occur-engine): Use `add-face-text-property'
1699 to add the face property to matches and titles. (Bug#14645)
1700
1701 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1702 the palette of other hi-lock colors.
1703 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1704
50ab1da6
JL
17052013-12-19 Juri Linkov <juri@jurta.org>
1706
1707 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1708 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1709 (minibuffer-history-symbol): Move variable declaration closer to
1710 its usage.
1711
1712 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1713 (Bug#14785)
1714
3d6e95e7
JL
17152013-12-19 Juri Linkov <juri@jurta.org>
1716
1717 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1718 New function.
1719 (log-edit-hook): Add it to :options. (Bug#16170)
1720
b41594fd
JL
17212013-12-19 Juri Linkov <juri@jurta.org>
1722
1723 * simple.el (eval-expression-print-format): Don't check for
1724 command names and the last command. Always display additional
1725 formats of the integer result in the echo area, and insert them
1726 to the current buffer only with a zero prefix arg.
1727 Display character when char-displayable-p is non-nil.
1728 (eval-expression): With a zero prefix arg, set `print-length' and
1729 `print-level' to nil, and insert the integer values from
1730 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1731
1732 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1733 `eval-last-sexp-arg-internal'. Doc fix.
1734 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1735 `eval-last-sexp-print-value'. Doc fix.
1736 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1737 Set `print-length' and `print-level' to nil when arg is zero.
1738 (eval-last-sexp): Doc fix.
1739 (eval-defun-2): Print the integer values from
1740 `eval-expression-print-format' at the end.
1741
1742 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1743 values from `eval-expression-print-format' at the end.
1744
1745 * ielm.el (ielm-eval-input): Print the integer
1746 values from `eval-expression-print-format' at the end.
1747
8f2be364
TZ
17482013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1749
1750 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1751 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1752
2230a6e3
SM
17532013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1754
1755 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1756 (hl-line-highlight, global-hl-line-highlight): Use it.
1757 (hl-line-overlay): Use defvar-local.
1758
1269a680
JD
17592013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1760
1761 * term/ns-win.el: Require dnd.
1762 (global-map): Remove drag items.
1763 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1764 (ns-set-background-at-mouse):
1765 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1766 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1767 New functions.
1269a680 1768
049638ad
GM
17692013-12-19 Glenn Morris <rgm@gnu.org>
1770
1771 * emacs-lisp/ert.el (ert-select-tests):
1772 Fix string/symbol mixup. (Bug#16121)
1773
ce41edb4
DG
17742013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1775
1776 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1777 keywords to their parent.
1778
7e1549c9
DG
17792013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1780
1781 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1782 first arg to be a string (fixed dead code), or an operator symbol.
1783 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1784 operator symbols.
1785 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1786 did nothing. Don't respond to `(:after ".")', it will be called
1787 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1788 change anything. Only return indentation for binary operators
1789 when they are hanging. De-dent opening paren when its parent is
1790 `.', otherwise it looks bad when the dot is not at bol or eol
1791 (bug#16182).
1792
3ee4cd64
JL
17932013-12-19 Juri Linkov <juri@jurta.org>
1794
1795 * replace.el (query-replace-read-args): Split a non-negative arg
1796 and a negative arg into separate elements.
1797 (query-replace, query-replace-regexp, replace-string)
1798 (replace-regexp): Add arg `backward'. Doc fix.
1799 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1800 move point to the beginning of the match.
1801 (replace-search, replace-highlight): Use new arg `backward'
1802 to set the value of `isearch-forward'.
1803 (perform-replace): Add arg `backward' and use it to perform
1804 replacement backward. (Bug#14979)
1805
1806 * isearch.el (isearch-query-replace): Use a negative prefix arg
1807 to call `perform-replace' with a non-nil arg `backward'.
1808
0cda6b7b
JL
18092013-12-18 Juri Linkov <juri@jurta.org>
1810
1811 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1812 to the default list. Move `log-edit-show-files' to the end.
1813 Add more available functions to options.
1814 (log-edit): Move default specific settings to
1815 `log-edit-insert-message-template'. Don't move point.
1816 (log-edit-insert-message-template): New function.
1817 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1818 (Bug#16170)
1819
b216f0a6
JL
18202013-12-18 Juri Linkov <juri@jurta.org>
1821
1822 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1823 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1824
1d1c55dc
LL
18252013-12-18 Leo Liu <sdl.web@gmail.com>
1826
e9dc713d
JB
1827 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1828 (Bug#16186)
1d1c55dc 1829
64e4c76e
EZ
18302013-12-18 Eli Zaretskii <eliz@gnu.org>
1831
1832 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1833 formats for displaying file sizes when the -s switch is given.
1834 Instead, compute a separate format for displaying the size in
1835 blocks, which is displayed in addition to the "regular" size.
1836 When -h is given in addition to -s, produce size in blocks in
1837 human-readable form as well. (Bug#16179)
1838
b2984e39
TH
18392013-12-18 Tassilo Horn <tsdh@gnu.org>
1840
2230a6e3
SM
1841 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1842 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1843
50ff2e06
CY
18442013-12-18 Chong Yidong <cyd@gnu.org>
1845
0081bc84
CY
1846 * cus-edit.el (custom-magic-alist): Fix "themed" description
1847 (Bug#14348).
1848
a7ee9424
CY
1849 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1850 is non-nil, do not create a new entry in the symbol's theme-value
1851 or theme-face property; update theme-settings only (Bug#14664).
18874304 1852 (custom-available-themes): Doc fix.
a7ee9424 1853
8f942537
CY
1854 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1855 (Bug#15674).
1856
50ff2e06
CY
1857 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1858
83c60f60
KI
18592013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1860
1861 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1862 (Bug#13914).
1863
e0eb0550 18642013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1865
1866 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1867
1f41ee56
GM
18682013-12-18 Glenn Morris <rgm@gnu.org>
1869
1870 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1871 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1872
e82134b1
LW
18732013-12-18 Le Wang <l26wang@gmail.com>
1874
2230a6e3
SM
1875 * comint.el (comint-previous-matching-input-from-input):
1876 Retain point (Bug#13404).
e82134b1 1877
33f5d4c1
CY
18782013-12-18 Chong Yidong <cyd@gnu.org>
1879
1880 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1881
ccc9f6dc
GM
18822013-12-18 Glenn Morris <rgm@gnu.org>
1883
1884 * mail/emacsbug.el (report-emacs-bug):
1885 Only mention enable-multibyte-characters if non-standard.
1886
33dd8e95
JL
18872013-12-17 Juri Linkov <juri@jurta.org>
1888
1889 * arc-mode.el (archive-extract-by-file): Check if directory exists
1890 before deletion to not show irrelevant errors if it doesn't exist.
1891
7a409b30
JL
18922013-12-17 Juri Linkov <juri@jurta.org>
1893
1894 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1895 (Bug#14751)
1896
1897 * net/eww.el (browse-web): Add alias to `eww'.
1898 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1899 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1900
1901 * net/browse-url.el (browse-url-browser-function): Move `eww'
1902 closer to similar functions.
1903
1904 * startup.el (fancy-startup-screen, fancy-about-screen):
1905 Set browse-url-browser-function to eww-browse-url locally.
1906 (Bug#14751)
1907
2d6b6005
SM
19082013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1909
1910 * window.el (window--pixel-to-total): Remove unused `mini' var.
1911 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1912 (split-window): Remove unused `new' var.
1913 (window--display-buffer): Remove unused `frame' and `delta' vars.
1914 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1915 and display-width'.
1916
cf2b7efc
MR
19172013-12-17 Martin Rudalics <rudalics@gmx.at>
1918
1919 * dired.el (dired-mark-pop-up):
1920 * register.el (register-preview): Don't bind
1921 split-height-threshold here since it's now done in
1922 display-buffer-below-selected.
1923
ed3af8a7 19242013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1925
1926 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1927 xterm-rgb-convert-to-16bit.
1928 (rxvt-register-default-colors): Standardize with
1929 xterm-register-default-colors (Bug#14078).
1930
76da3455
DK
19312013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1932
1933 * simple.el (kill-region): Pass mark first, then point, so that
1934 kill-append works right (Bug#12819).
1935 (copy-region-as-kill, kill-ring-save): Likewise.
1936
2b84d763
LL
19372013-12-17 Leo Liu <sdl.web@gmail.com>
1938
1939 * net/rcirc.el (rcirc-add-face):
1940 * eshell/em-prompt.el (eshell-emit-prompt):
1941 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1942 (Bug#16167)
1943
e2f6a0bc
CY
19442013-12-17 Chong Yidong <cyd@gnu.org>
1945
1946 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1947 Suggested by Xue Fuqiao.
1948
35b249a6
DG
19492013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1950
1951 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1952
e9145444
SM
19532013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1954
1955 * net/shr.el (shr-insert-document): Remove unused var
1956 `shr-preliminary-table-render'.
1957 (shr-rescale-image): Remove unused arg `force'.
1958 (shr-put-image): Update calls accordingly.
1959 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1960
5556c0ce
DG
19612013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1962
1963 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1964 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1965 :close-all, to see which indentation method to use (Bug#16116).
1966 (smie-rules-function): Document the method :close-all.
1967
11bade0a
LMI
19682013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1969
1c4b1e61
LMI
1970 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1971
11bade0a
LMI
1972 * net/eww.el (eww-display-html): If we can't find the anchor we're
1973 looking for, then go to point-min.
1974
8fb8c4f3
PE
19752013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1976
1977 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1978 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1979 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1980 Expand dir too, in case it's relative.
1981
6c8e0ae6
JL
19822013-12-16 Juri Linkov <juri@jurta.org>
1983
1984 * desktop.el (desktop-auto-save-timeout): Change default to
1985 `auto-save-timeout'. Doc fix.
1986 (desktop-save): Skip the timestamp in desktop-saved-frameset
1987 when checking for auto-save changes.
1988 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1989 `desktop-auto-save' is called repeatedly by the idle timer.
1990 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1991 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1992 (Bug#15331)
1993
2178e858
JL
19942013-12-16 Juri Linkov <juri@jurta.org>
1995
1996 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1997 (Bug#16035)
1998 (isearch-pre-command-hook): Check `this-command' for symbolp.
1999
39cb42c6
SM
20002013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2003
5b9b750a
TZ
20042013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2005
2006 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2007 (cfengine3--current-function): Bring in the current-function
2008 functionality from `cfengine3--current-word'.
2009 (cfengine3-completion-function): Bring in the
2010 bounds-of-current-word functionality from
2011 `cfengine3--current-word'.
2012
d144ef06
MR
20132013-12-16 Martin Rudalics <rudalics@gmx.at>
2014
39cb42c6
SM
2015 * window.el (display-buffer-below-selected):
2016 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 2017
a8bbe298
LL
20182013-12-16 Leo Liu <sdl.web@gmail.com>
2019
2020 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2021 Remove NOMSG arg and all uses changed.
2022
2013a2f9
SM
20232013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2024
2025 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2026 (cua--deactivate-rectangle): Don't deactivate the mark.
2027 (cua-set-rectangle-mark): Don't set mark-active since
2028 cua--activate-rectangle already does it for us.
2029 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2030 non-rectangular region.
2031
2032 * emulation/cua-base.el (cua-repeat-replace-region):
2033 Use with-current-buffer.
2034
2035 * net/gnutls.el: Use cl-lib.
2036 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2037
5ae811dd
TZ
20382013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2039
2040 * emacs-lisp/package.el (package-built-in-p): Support both
2041 built-in and the package.el converted package descriptions.
2042 (package-show-package-list): Allow keywords.
2043 (package-keyword-button-action): Use it instead of
2044 `finder-list-matches'.
2045 (package-menu-filter-interactive): Interactive filtering (by
2046 keyword) function.
2047 (package-menu--generate): Support keywords and change keymappings
2048 and headers when they are given.
2049 (package--has-keyword-p): Helper function.
2050 (package-menu--refresh): Use it.
2051 (package--mapc): Helper function.
2052 (package-all-keywords): Use it.
2053 (package-menu-mode-map): Set up menu items and keybindings to
2054 provide a filtering UI.
2055
31b4827e
TZ
20562013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2057
2058 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2059 the behavior when a certificate fails validation. Defaults to
2060 old behavior: never abort, just warn.
2061 (gnutls-negotiate): Use it.
2062
f93cc74f
MR
20632013-12-14 Martin Rudalics <rudalics@gmx.at>
2064
2065 * window.el (display-buffer-below-selected): Never split window
2066 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2067
f77d7d17
TW
20682013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2069
2070 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2071 (package-buffer-info): Use it (bug#15108).
aa2bddd7 2072
7514d3f8
SM
20732013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2074
aa2bddd7 2075 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 2076 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 2077
276bc333
DG
20782013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2079
2080 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2081 open-paren tokens when preceded by a open-paren, too.
2082 (ruby-smie-rules): Handle virtual indentation after open-paren
2083 tokens specially. If there is code between it and eol, return the
2084 column where is starts (Bug#16118).
2085
d43957f3
TZ
20862013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2087
a5c1ac0c 2088 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 2089 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
2090 (cfengine3--current-word): Fix parameters.
2091 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
2092 (cfengine3-completion-function, cfengine3--current-function):
2093 Use `assq' for symbols.
d43957f3
TZ
2094 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2095
06a4f110
GM
20962013-12-13 Glenn Morris <rgm@gnu.org>
2097
2098 * loadup.el (load-path): Warn if site-load or site-init changes it.
2099 No more need to reset it when bootstrapping.
2100
978a5fda
TZ
21012013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2102
2103 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2104 locations for cf-promises.
2105 (cfengine-mode-syntax-functions-regex): New caching variable.
2106 (cfengine3-fallback-syntax): Fallback syntax for cases where
2107 cf-promises doesn't run.
2108 (cfengine3--current-word): Reimplement using
2109 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
2110 (cfengine3-completion-function, cfengine3--current-function):
2111 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
2112 (cfengine3-clear-syntax-cache): New function.
2113 (cfengine3-make-syntax-cache): Simplify and create
2114 `cfengine-mode-syntax-functions-regex' on demand.
2115 (cfengine3-format-function-docstring): Don't call
2116 `cfengine3-make-syntax-cache' explicitly.
2117
71e6691e
MR
21182013-12-13 Martin Rudalics <rudalics@gmx.at>
2119
2120 Fix windmove-find-other-window broken after pixelwise resizing
2121 (Bug#16017).
2122 * windmove.el (windmove-other-window-loc): Revert change from
2123 2013-12-04.
2124 (windmove-find-other-window): Call window-in-direction.
2125 * window.el (window-in-direction): New arguments SIGN, WRAP and
2126 MINI to emulate original windmove-find-other-window behavior.
2127
84c73ba0
DG
21282013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2129
2130 * simple.el (blink-matching--overlay): New variable.
2131 (blink-matching-open): Instead of moving point, highlight the
2132 matching paren with an overlay
2133 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2134
2135 * faces.el (paren-showing-faces, show-paren-match)
2136 (show-paren-mismatch): Move from paren.el.
2137
b9e20952
LL
21382013-12-13 Leo Liu <sdl.web@gmail.com>
2139
2140 * indent.el (indent-region): Disable progress reporter in
2141 minibuffer. (Bug#16108)
2142
2143 * bindings.el (visual-order-cursor-movement): Fix version.
2144
ce030451
FEG
21452013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2146
2147 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2148 Also match after beginning of line.
2149 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 2150 files. Thanks to Russell Sim. (Bug#15378)
ce030451 2151
4a9c6865
JL
21522013-12-13 Juri Linkov <juri@jurta.org>
2153
2154 * simple.el <Keypad support>: Remove key bindings duplicated
2155 with bindings.el. (Bug#14397)
2156
2bc170c3
JL
21572013-12-13 Juri Linkov <juri@jurta.org>
2158
2159 * comint.el (comint-mode-map): Replace `delete-char' with
2160 `delete-forward-char'. (Bug#16109)
2161
bc9222c9
FEG
21622013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2163
aa2bddd7 2164 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 2165 Fix de-denters cornercase. (Bug#15731)
bc9222c9 2166
cb3a1380
SM
21672013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2168
2169 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2170 (advice--make): Pay attention to `depth'.
2171 (advice--make-1): Don't autoload commands eagerly.
2172 * emacs-lisp/elp.el (elp-instrument-function):
2173 * emacs-lisp/trace.el (trace-function-internal):
2174 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2175
2176 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2177
01633a17
EZ
21782013-12-12 Eli Zaretskii <eliz@gnu.org>
2179
2180 * term/w32-win.el (w32-handle-dropped-file):
2181 * startup.el (normal-top-level):
2182 * net/browse-url.el (browse-url-file-url):
2183 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2184 decode file names using 'utf-8' rather than
2185 file-name-coding-system.
2186
09faee72
FEG
21872013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2188
2189 * progmodes/python.el (python-indent-context)
2190 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 2191 behavior for comment blocks. (Bug#15916)
09faee72 2192
f4f84024 21932013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 2194
cb3a1380
SM
2195 * progmodes/python.el (python-indent-calculate-indentation):
2196 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
2197 operators when they are just string constituents. (Bug#15812)
2198
d5ccb7be
JL
21992013-12-12 Juri Linkov <juri@jurta.org>
2200
2201 * uniquify.el (uniquify-buffer-name-style): Change default to
2202 `post-forward-angle-brackets'.
2203
2204 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2205 `uniquify'. Change default to `post-forward-angle-brackets'.
2206
7b3f5679
GM
22072013-12-11 Glenn Morris <rgm@gnu.org>
2208
2209 * emacs-lisp/package.el (finder-list-matches):
2210 Autoload rather than falsely declaring.
2211
f4fe8fdd
TZ
22122013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2213
2214 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2215 (eww-mode-map): Use them.
2216
3c29190f
MR
22172013-12-11 Martin Rudalics <rudalics@gmx.at>
2218
2219 * window.el (display-buffer-in-side-window): Fix doc-string
2220 (Bug#16115).
2221
0cd616a2
JB
22222013-12-11 Juanma Barranquero <lekktu@gmail.com>
2223
2224 * vc/vc-git.el: Silence byte-compiler warnings.
2225 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2226 (log-edit-set-header): Declare.
2227
3ef8e0d1
EZ
22282013-12-11 Eli Zaretskii <eliz@gnu.org>
2229
2230 * Makefile.in (custom-deps, finder-data): Run output file names
2231 through unmsys--file-name. (Bug#16099)
2232
afdadaf7
SM
22332013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2234
7ae3ae39 2235 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2236 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2237
5b4f37ab
SM
2238 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2239 instead of deleting the selection "by hand" (bug#16098).
2240 Rely on insert-for-yank to yank rectangles.
2241 (cua-highlight-region-shift-only): Mark obsolete.
2242 (cua-mode): Don't enable/disable transient-mark-mode,
2243 shift-select-mode (cua-mode works both with and without them), and
2244 pc-selection-mode (obsolete).
2245 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2246 (cua--deactivate-rectangle): Deactivate it.
2247
4b72c12b
SM
2248 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2249 (delete-selection-helper): Make sure yank starts at the top of the
2250 deleted region.
2251 (minibuffer-keyboard-quit): Use region-active-p.
2252
e82af72d
SM
2253 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2254
afdadaf7
SM
2255 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2256 to `delete' (bug#16109).
2257
ed4bc201
RS
22582013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2259
2260 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2261 info manual and show keybindings and set `:group' keyword.
2262
bb8097b9
JL
22632013-12-11 Juri Linkov <juri@jurta.org>
2264
2265 * delsel.el (delete-active-region): Let-bind `this-command'
2266 to prevent `kill-region' from changing its original value.
2267 (delete-selection-helper): Handle `overwrite-mode' for the type
2268 `kill' exactly the same way as for the type `t'.
2269 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2270 Support more commands. (Bug#13312)
2271
c1916ff5
JL
22722013-12-11 Juri Linkov <juri@jurta.org>
2273
2274 * bindings.el: Map kp keys to non-kp keys systematically
2275 with basic modifiers control, meta and shift. (Bug#14397)
2276
7514d3f8 22772013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2278
2279 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2280 "Close browser" menu items. Fix wrong function of "List
2281 bookmarks".
2282
4cc51eaf
JL
22832013-12-11 Juri Linkov <juri@jurta.org>
2284
2285 * misearch.el (multi-isearch-buffers): Set the value of
2286 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2287 arg of isearch-forward to t.
2288 (multi-isearch-buffers-regexp): Set the value of
2289 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2290 arg of isearch-forward-regexp to t.
2291 (multi-isearch-files): Set the value of
2292 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2293 arg of isearch-forward to t.
2294 (multi-isearch-files-regexp): Set the value of
2295 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2296 arg of isearch-forward-regexp to t. (Bug#16035)
2297
2298 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2299 arg of isearch-forward to t.
2300 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2301 arg of isearch-forward-regexp to t.
2302 (dired-isearch-filter-filenames): Remove unnecessary check for
2303 `dired-isearch-filenames'.
2304
2305 * comint.el (comint-history-isearch-backward):
2306 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2307 (comint-history-isearch-backward-regexp):
2308 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2309
ceac12b7
EZ
23102013-12-10 Eli Zaretskii <eliz@gnu.org>
2311
2312 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2313 unmsys--file-name. (Bug#16099)
2314
5a565782
TZ
23152013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2316
cb3a1380
SM
2317 * emacs-lisp/package.el (package-keyword-button-action):
2318 Remove finder.el require dependency.
5a565782 2319
a81fc7ba
TZ
23202013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2321
2322 * emacs-lisp/package.el: Require finder.el.
2323 (describe-package-1): Add keyword buttons.
2324 (package-make-button): New convenience function.
2325 (package-keyword-button-action): Keyword button action using
e0eb0550 2326 `finder-list-matches'.
a81fc7ba 2327
6aaca951
EZ
23282013-12-09 Eli Zaretskii <eliz@gnu.org>
2329
2330 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2331 last commit.
2332
a1099a91
MA
23332013-12-09 Michael Albinus <michael.albinus@gmx.de>
2334
2335 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2336 symlinked files.
2337
8212d9c0
DG
23382013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2339
2340 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2341 after the end of a percent literal.
2342
8f48d131
CD
23432013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2344
cb3a1380
SM
2345 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2346 Handle caret-delimited strings (Bug#16079).
8f48d131 2347
ff8c9764
DG
23482013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2349
cb3a1380
SM
2350 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2351 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2352 `ruby-parse-partial' (Bug#16078).
2353
d64643b4
LL
23542013-12-09 Leo Liu <sdl.web@gmail.com>
2355
2356 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2357
47e59c66
DG
23582013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2359
2360 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2361 (js-switch-indent-offset): New option.
2362 (js--proper-indentation): Use it. And handle the case when
2363 "default" is actually a key in an object literal.
2364 (js--same-line): New function.
2365 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2366 (js--indent-in-array-comp, js--array-comp-indentation):
2367 New functions.
47e59c66
DG
2368 (js--proper-indentation): Use them, to handle array comprehension
2369 continuations.
2370
974ebc9c
LL
23712013-12-08 Leo Liu <sdl.web@gmail.com>
2372
2373 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2374 (flymake-make-overlay): Remove arg MOUSE-FACE.
2375 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2376
27262e39
SM
23772013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2378
2379 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2380 New function.
2381 (redisplay-highlight-region-function): Use it.
2382
2383 * emulation/cua-base.el (cua--explicit-region-start)
2384 (cua--last-region-shifted): Remove.
2385 (cua--deactivate): Use deactivate-mark.
2386 (cua--pre-command-handler-1): Don't handle shift-selection.
2387 (cua--post-command-handler-1): Don't change transient-mark-mode.
2388 (cua--select-keymaps): Use region-active-p rather than
2389 cua--explicit-region-start or cua--last-region-shifted.
2390 (cua-mode): Enable shift-select-mode.
2391
6407822c
LL
23922013-12-08 Leo Liu <sdl.web@gmail.com>
2393
27262e39
SM
2394 * progmodes/flymake.el (flymake-popup-current-error-menu):
2395 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2396 (flymake-posn-at-point-as-event, flymake-popup-menu)
2397 (flymake-make-emacs-menu): Remove. (Bug#16077)
2398
00a2b823
SM
23992013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2400
02033d49
SM
2401 * rect.el (rectangle-mark-mode): Activate mark even if
2402 transient-mark-mode is off (bug#16066).
2403 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2404 is > mark and at bolp.
2405
6f8dfccf
SM
2406 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2407 (region-extract-function): Use it.
2408 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2409 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2410 Delete functions.
2411 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2412 kill-ring-save, kill-region, delete-char, delete-forward-char.
2413 Ignore self-insert-iso.
2414
2415 * emulation/cua-gmrk.el (cua--init-global-mark):
2416 Ignore `self-insert-iso'.
2417
2418 * emulation/cua-base.el (cua--prefix-copy-handler)
2419 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2420 checking cua--rectangle.
2421 (cua-delete-region): Use region-extract-function.
2422 (cua-replace-region): Delete function.
2423 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2424 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2425 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2426 (cua--init-keymaps): Don't remap delete-selection commands.
2427 (cua-mode): Use delete-selection-mode instead of rolling our own
2428 (bug#16085).
2429
2430 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2431 Obey region-extract-function.
2432
00a2b823
SM
2433 Make registers and delete-selection-mode work on rectangles.
2434 * register.el (describe-register-1): Don't modify the register's value.
2435 (copy-to-register): Obey region-extract-function.
2436 * delsel.el (delete-active-region): Obey region-extract-function.
2437
a92fa5f1
LL
24382013-12-08 Leo Liu <sdl.web@gmail.com>
2439
2440 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2441 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2442 (flymake-compilation-prevents-syntax-check)
2443 (flymake-start-syntax-check-on-newline)
2444 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2445 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2446 (flymake-xml-program, flymake-master-file-dirs)
2447 (flymake-master-file-count-limit)
2448 (flymake-allowed-file-name-masks): Relocate.
2449 (flymake-makehash, flymake-float-time)
2450 (flymake-replace-regexp-in-string, flymake-split-string)
2451 (flymake-get-temp-dir): Remove.
2452 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2453 (flymake-current-row, flymake-selected-frame)
2454 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2455 related functions. (Bug#16077)
2456
73c8ceea
BB
24572013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2458
2459 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2460
faec28d9
TH
24612013-12-07 Tassilo Horn <tsdh@gnu.org>
2462
2463 * help-fns.el (describe-function-1): Use new advice-* functions
2464 rather than old ad-* functions. Fix function type description and
2465 source links for advised functions and subrs.
2466
e330b646
LMI
24672013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2468
00a2b823 2469 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2470
4803595d
MA
24712013-12-06 Michael Albinus <michael.albinus@gmx.de>
2472
2473 * progmodes/compile.el (compilation-start):
2474 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2475
2476 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2477 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2478
fa834a93
DG
24792013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2480
00a2b823
SM
2481 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2482 Touch up the last change.
fa834a93 2483
b2856a6f
LL
24842013-12-06 Leo Liu <sdl.web@gmail.com>
2485
2486 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2487 (inferior-octave-startup): Always use "octave> " for prompt.
2488 (octave-goto-function-definition)
2489 (octave-sync-function-file-names)
2490 (octave-find-definition-default-filename): Remove redundant backquotes.
2491
af67e79a
DG
24922013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2493
2494 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2495 syntax for `?'.
2496 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2497 where appropriate already.
2498 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2499 end of method names (Bug#15874).
2500
bf093209
JL
25012013-12-06 Juri Linkov <juri@jurta.org>
2502
2503 * isearch.el (isearch--saved-overriding-local-map):
2504 New internal variable.
2505 (isearch-mode): Set it to the initial value of
2506 `overriding-terminal-local-map'.
2507 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2508 with `isearch--saved-overriding-local-map'. (Bug#16035)
2509
16588fad
DG
25102013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2511
00a2b823
SM
2512 * progmodes/octave.el (inferior-octave-completion-table):
2513 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2514 (Bug#11906). Update all references.
2515
2516 * minibuffer.el (completion-table-with-cache): New function.
2517
bf4906d7
CD
25182013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2519
2520 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2521
ff69c18f
TZ
25222013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2523
2524 * net/eww.el (eww-current-source): New variable to store page
2525 source.
2526 (eww-display-html, eww-mode, eww-save-history)
2527 (eww-restore-history): Use it.
2528 (eww-view-source): New command to view page source.
2529 Opportunistically uses `html-mode' to highlight the buffer.
2530 (eww-mode-map): Install it.
2531
b85eff45
MA
25322013-12-05 Michael Albinus <michael.albinus@gmx.de>
2533
2534 * net/dbus.el (dbus-unregister-service)
2535 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2536 Fix docstring.
2537 (dbus-unregister-service): Skip :serial entries in
2538 `dbus-registered-objects-table'.
2539 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2540
39eb0899
TZ
25412013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2542
2543 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2544 around keywords with extra `split-string' argument.
2545
456760a5
MR
25462013-12-04 Martin Rudalics <rudalics@gmx.at>
2547
2548 * windmove.el (windmove-other-window-loc): Handle navigation
2549 between windows (excluding the minibuffer window - Bug#16017).
2550
81961e4c
MA
25512013-12-04 Michael Albinus <michael.albinus@gmx.de>
2552
2553 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2554 in D-Bus type syntax.
2555 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2556 preserve unibyte strings. (Bug#16048)
2557
8497f938
SM
25582013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2559
2560 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2561 Call force-mode-line-update is the proper buffer (bug#16042).
2562
dda61916
DG
25632013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2564
2565 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2566 `log-edit-remember-comment', make argument optional. Adjust all
2567 callers.
2568 (log-edit-mode): Add `log-edit-remember-comment' to
2569 `kill-buffer-hook' locally.
2570 (log-edit-kill-buffer): Don't remember comment explicitly since
2571 the buffer is killed anyway.
2572
c085e5b9
JL
25732013-12-04 Juri Linkov <juri@jurta.org>
2574
2575 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2576 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2577
e0eb0550 25782013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2579
2580 * notifications.el (notifications-close-notification): Call the
81961e4c 2581 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2582
39fa32d6
KY
25832013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2584
2585 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2586
9139632a
JL
25872013-12-03 Juri Linkov <juri@jurta.org>
2588
2589 * progmodes/compile.el (compilation-start): Rename window alist
2590 entry `no-display-ok' to `allow-no-window'.
2591
2592 * simple.el (shell-command): Add window alist entry
2593 `allow-no-window' to `display-buffer'.
2594 (async-shell-command): Doc fix.
2595
2596 * window.el (display-buffer-no-window): New action function.
2597 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2598
0f457a37
DG
25992013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2600
2601 * vc/log-edit.el (log-edit-set-header): Extract from
2602 `log-edit-toggle-header'.
2603 (log-edit-extract-headers): Separate the summary, when extracted
2604 from header, from the rest of the message with an empty line.
2605
2606 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2607 line, if present, to the Summary header.
2608
0962f376
SM
26092013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2610
2611 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2612 in current-buffer (bug#16029).
2613
f345395c
HE
26142013-12-02 Helmut Eller <eller.helmut@gmail.com>
2615
2616 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2617 (debugger-mode-map): Bind it.
2618 (debugger--backtrace-base): New function.
2619 (debugger-eval-expression): Use it.
2620 (debugger-frame-number): Skip local vars when present.
2621 (debugger--locals-visible-p, debugger--insert-locals)
2622 (debugger--show-locals, debugger--hide-locals): New functions.
2623
a8a15d9d
MA
26242013-12-02 Michael Albinus <michael.albinus@gmx.de>
2625
2626 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2627 "LC_ALL".
2628 (tramp-get-remote-locale): New defun.
2629 (tramp-open-connection-setup-interactive-shell): Use it.
2630
0518b057
LL
26312013-12-02 Leo Liu <sdl.web@gmail.com>
2632
2633 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2634
2635 * progmodes/sh-script.el (sh-shell-process):
2636 * progmodes/octave.el (inferior-octave-process-live-p):
2637 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2638 (gdb-inferior-io-sentinel):
2639 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2640
3adc9c6d
DG
26412013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2642
2643 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2644 `save-selected-window' to `log-edit-hide-buf'. This makes
2645 `log-edit-show-files' idempotent.
2646 (log-edit-show-files): Mark the new window as dedicated.
2647
47e8b74e
DG
26482013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2649
2650 * vc/log-edit.el (log-edit-mode-map): Add binding for
2651 `log-edit-kill-biffer'.
2652 (log-edit-hide-buf): Add a FIXME comment.
2653 (log-edit-add-new-comment): New function, extracted from
2654 `log-edit-done'.
2655 (log-edit-done, log-edit-add-to-changelog): Use it.
2656 (log-edit-kill-buffer): New command.
2657
1f6e1bb0
LMI
26582013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2659
2660 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2661 instead of killing the buffer.
2662
fb651d15
SM
26632013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2664
2665 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2666
8feacce0
RS
26672013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2668
fb651d15 2669 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2670 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2671 (eww-form-checkbox, eww-toggle-checkbox):
2672 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2673
e0eb0550 2674 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2675 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2676 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2677 no :src tag was specified.
2678
fb651d15 2679 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2680 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2681 Use \\` to match beginning of string instead of ^.
2682 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2683 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2684
177948a5
RS
2685 * net/shr.el (shr-tag-video): Display content for video if no
2686 poster is available.
eb2dd24d 2687 (shr-tag-audio): Add support for <audio> tag.
177948a5 2688
e0eb0550 2689 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2690 (eww-process-text-input): Treat input types in
2691 `eww-text-input-types' as text.
2692
8feacce0
RS
2693 * net/shr.el (shr-tag-table): Fix comment typo.
2694
513562a1
LMI
26952013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2696
2697 * net/eww.el (eww-follow-link): New command to avoid reloading
2698 pages when we follow #target links (bug#15243).
de8a5633 2699 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2700
9dd99753
KN
27012013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2702
2703 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2704 forms.
2705
3e9876de
LMI
27062013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2707
2708 * net/eww.el (eww-restore-history): Update the window title after
2709 moving in the history.
ab6dea82 2710 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2711
52789f7f
DG
27122013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2713
2714 * vc/log-edit.el (log-edit-mode-map): Add binding for
2715 `log-edit-beginning-of-line'.
2716 (log-edit-setup-add-author): New user option.
2717 (log-edit-beginning-of-line): New command.
2718 (log-edit): Move major mode call above the contents setup so that
2719 the local variable values are already applied.
2720 (log-edit): Only insert "Author: " when
2721 `log-edit-setup-add-author' is non-nil.
2722 (log-edit): When SETUP is non-nil, position point after ": "
2723 instead of point-min.
2724
2e6710c3
GM
27252013-12-01 Glenn Morris <rgm@gnu.org>
2726
2727 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2728
fadec31f
EZ
27292013-11-30 Eli Zaretskii <eliz@gnu.org>
2730
2731 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2732 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2733 visible. (Bug#16014)
2734
10634b40 27352013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2736
2737 Support resizing frames and windows pixelwise.
2738 * cus-start.el (frame-resize-pixelwise)
2739 (window-resize-pixelwise): New entries.
2740 * emacs-lisp/debug.el (debug): Use window-total-height instead
2741 of window-total-size.
2742 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2743 * help.el (describe-bindings-internal): Call help-buffer
2744 (temp-buffer-max-width): New option.
2745 (resize-temp-buffer-window, help-window-setup)
2746 (with-help-window): Rewrite.
2747 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2748 dragging dividers.
2749 * window.el (frame-char-size, window-min-pixel-height)
2750 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2751 (window-min-pixel-width, window-safe-min-pixel-size)
2752 (window-combination-p, window-safe-min-size)
2753 (window-resizable-p, window--size-to-pixel)
2754 (window--pixel-to-size, window--resize-apply-p): New functions.
2755 (window-safe-min-height): Fix doc-string.
2756 (window-size, window-min-size, window--min-size-1)
2757 (window-sizable, window-sizable-p, window--min-delta-1)
2758 (window-min-delta, window--max-delta-1, window-max-delta)
2759 (window--resizable, window--resizable-p, window-resizable)
2760 (window-full-height-p, window-full-width-p, window-at-side-p)
2761 (window--in-direction-2, window-in-direction)
2762 (window--resize-reset-1, window--resize-mini-window)
2763 (window-resize, window-resize-no-error)
2764 (window--resize-child-windows-normal)
2765 (window--resize-child-windows, window--resize-siblings)
2766 (window--resize-this-window, window--resize-root-window)
2767 (window--resize-root-window-vertically)
2768 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2769 (maximize-window, minimize-window, delete-window)
2770 (quit-restore-window, window-split-min-size, split-window)
2771 (balance-windows-2, balance-windows)
2772 (balance-windows-area-adjust, balance-windows-area)
2773 (window--state-get-1, window-state-get, window--state-put-1)
2774 (window--state-put-2, window-state-put)
fb651d15
SM
2775 (display-buffer-record-window, window--display-buffer):
2776 Make functions handle pixelwise sizing of windows.
880e6158 2777 (display-buffer--action-function-custom-type)
fb651d15
SM
2778 (display-buffer-fallback-action):
2779 Add display-buffer-in-previous-window.
880e6158
MR
2780 (display-buffer-use-some-window): Resize window to height it had
2781 before.
2782 (fit-window-to-buffer-horizontally): New option.
2783 (fit-frame-to-buffer): Describe new values.
2784 (fit-frame-to-buffer-bottom-margin): Replace with
2785 fit-frame-to-buffer-margins.
2786 (window--sanitize-margin): New function.
2787 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2788 using window-text-pixel-size.
2789
f9b697dd
GM
27902013-11-30 Glenn Morris <rgm@gnu.org>
2791
3e2fb4db
GM
2792 * emacs-lisp/bytecomp.el (byte-compile-form):
2793 Make the `interactive-only' warning like the `obsolete' one.
2794 * comint.el (comint-run):
2795 * files.el (insert-file-literally, insert-file):
2796 * replace.el (replace-string, replace-regexp):
2797 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2798 (goto-line, insert-buffer, next-line, previous-line):
2799 Tweak `interactive-only' spec.
2800
f9b697dd
GM
2801 Stop keeping (most) generated cedet grammar files in the repository.
2802 * Makefile.in (semantic): New.
2803 (compile-main): Depend on semantic.
2804
da048127
SM
28052013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2806
7784b779
SM
2807 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2808 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2809
4e36a6a6
SM
2810 * uniquify.el (uniquify-buffer-name-style): Change default.
2811
2812 * loadup.el: Preload "uniquify".
2813
e0ba1308
SM
2814 * time.el (display-time-update): Update all mode lines (bug#15999).
2815
da048127
SM
2816 * electric.el (electric-indent-mode): Enable by default.
2817 * loadup.el: Preload "electric".
2818
015b3b3e
BB
28192013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2820
2821 * emacs-lisp/helpers.el (string-empty-p): New function.
2822 (string-blank-p): New function.
2823
7efb806d
AP
28242013-11-29 Andreas Politz <politza@hochschule-trier.de>
2825
2826 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2827 (Bug#14029).
2828
c8f0efc2
AP
28292013-11-29 Andreas Politz <politza@fh-trier.de>
2830 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2831 allow non-lambda lists as functions.
2832 (imenu--in-alist): Don't recurse into non-subalists.
2833 (imenu): Don't pass function itself as an argument (Bug#14029).
2834
bd15d9d1
SM
28352013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2836
2837 * progmodes/python.el (python-mode-map): Remove binding for ":".
2838 (python-indent-electric-colon): Remove command.
2839 (python-indent-post-self-insert-function): Integrate the previous code
2840 of python-indent-electric-colon. Make it conditional on
2841 electric-indent-mode.
2842 (python-mode): Add ?: to electric-indent-chars.
2843 Move python-indent-post-self-insert-function to the end of
2844 post-self-insert-hook.
2845
1b10adb6
SM
28462013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2847
655ab9a3
SM
2848 * doc-view.el (doc-view-goto-page): Update mode-line.
2849
1b10adb6
SM
2850 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2851
7e3bf78c
GM
28522013-11-27 Glenn Morris <rgm@gnu.org>
2853
2854 * international/charprop.el, international/uni-bidi.el:
2855 * international/uni-category.el, international/uni-combining.el:
2856 * international/uni-comment.el, international/uni-decimal.el:
2857 * international/uni-decomposition.el, international/uni-digit.el:
2858 * international/uni-lowercase.el, international/uni-mirrored.el:
2859 * international/uni-name.el, international/uni-numeric.el:
2860 * international/uni-old-name.el, international/uni-titlecase.el:
2861 * international/uni-uppercase.el:
2862 Remove generated files from VCS repository.
2863
fb6a5d68
EZ
28642013-11-27 Eli Zaretskii <eliz@gnu.org>
2865
2866 * filenotify.el (file-notify-add-watch): Don't special-case
2867 w32notify when computing the directory to watch.
2868
cb6c95a3
GM
28692013-11-27 Glenn Morris <rgm@gnu.org>
2870
20372d0c
GM
2871 Make bootstrap without generated uni-*.el files possible again.
2872 * loadup.el: Update command-line-args checking for unidata-gen.
2873 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2874 * composite.el, international/characters.el:
2875 Handle unicode tables being undefined.
2876
52d6635f 2877 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2878 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2879 (compile-main): Depend on leim rule.
2880 (leim): New rule.
2881 * loadup.el: Move leim-list.el to leim/ subdirectory.
2882 * startup.el (normal-top-level): No more leim directory.
2883 * international/ja-dic-cnv.el (skkdic-convert):
2884 Disable version-control and autoloads in output files.
2885 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2886 Disable version-control and autoloads in output files.
2887 * leim/quail: Move here from ../leim.
2888 * leim/quail/hangul.el (hangul-input-method-activate):
2889 Add autoload cookie.
2890 (generated-autoload-load-name): Set file-local value.
2891 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2892 (generated-autoload-load-name): Set file-local value.
2893
7514d3f8 28942013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2895
e0eb0550 2896 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2897 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2898 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2899
0e2c793f
EZ
29002013-11-26 Eli Zaretskii <eliz@gnu.org>
2901
2902 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2903 reading output from Diff on MS-Windows and MS-DOS.
2904
447bdcb8
BB
29052013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2906
2907 * emacs-lisp/helpers.el (string-reverse): New function.
2908
5fbf6856
MA
29092013-11-26 Michael Albinus <michael.albinus@gmx.de>
2910
2911 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2912 names on MS Windows, like "/[::1]:".
2913
2914 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2915 SWITCHES.
2916
624780f0
GM
29172013-11-26 Glenn Morris <rgm@gnu.org>
2918
0bf3f0fa
GM
2919 * progmodes/python.el (python-indent-guess-indent-offset):
2920 Avoid corner-case error. (Bug#15975)
2921
624780f0
GM
2922 Preload leim-list.el. (Bug#4789)
2923 * loadup.el: Load leim-list.el when found.
2924 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2925
4301875e 29262013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2927
2928 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2929
4301875e
BB
2930 * emacs-lisp/helpers.el (string-join): New function.
2931
1633a815 29322013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2933
2934 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2935 Mark as obsolete and replace it with a symbol property.
2936 (byte-compile-form): Use new 'interactive-only property.
2937 * comint.el, files.el, replace.el, simple.el:
2938 Apply new 'interactive-only properly.
2939
00139435
MR
29402013-11-25 Martin Rudalics <rudalics@gmx.at>
2941
2942 * window.el (display-buffer-at-bottom): Make sure that
2943 split-window-sensibly creates the new window on bottom
2944 (Bug#15961).
2945
5f5b128d
DK
29462013-11-23 David Kastrup <dak@gnu.org>
2947
2948 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2949 on the conflict markers when available.
2950 (smerge--get-marker): New function.
2951 (smerge-end-re, smerge-base-re): Add subgroup.
2952
623891e5
SM
29532013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2954
2955 * frame.el (handle-focus-in, handle-focus-out): Add missing
2956 interactive spec.
2957
05ca27d8
MA
29582013-11-25 Michael Albinus <michael.albinus@gmx.de>
2959
2960 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2961 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2962
511fa0d3
SM
29632013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2964
e82ad66c
SM
2965 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2966 (gomoku--last-pos): New var.
2967 (gomoku--intangible-chars): New const.
2968 (gomoku--intangible): New function.
2969 (gomoku-mode): Use it. Derive from special-mode.
2970 (gomoku-move-up): Adjust line count.
2971 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2972 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2973 Simplify accordingly.
2974
511fa0d3
SM
2975 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2976 Remove blink-cursor code.
2977 (blink-cursor-timer-function, blink-cursor-suspend):
2978 Don't special-case GUIs.
2979 (blink-cursor-mode): Use focus-in/out-hook.
2980
6f20dd03
DG
29812013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2982
2983 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2984 work when annotation is invisible (Bug#13886).
2985
431dec31 29862013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2987
2988 * json.el (json-alist-p): Only return non-nil if the alist has
2989 simple keys (Bug#13518).
2990
431dec31 29912013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2992
2993 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2994 when control-statement is the first statement in a buffer (Bug#15956).
2995
ee4f0261
DG
29962013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2997
2998 * imenu.el (imenu-generic-skip-comments-and-strings):
2999 New option (Bug#15560).
3000 (imenu--generic-function): Use it.
3001
c484f866
JS
30022013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3003
e9dc713d
JB
3004 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3005 (Bug#13898)
c484f866 3006
41ce6f70
BB
30072013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3008
b55aea38
BB
3009 * emacs-lisp/helpers.el: Add some string helpers.
3010 (string-trim-left): Removes leading whitespace.
3011 (string-trim-right): Removes trailing whitespace.
3012 (string-trim): Removes leading and trailing whitespace.
3013
41ce6f70
BB
3014 * subr.el (string-suffix-p): New function.
3015
3cfb6af3
GM
30162013-11-23 Glenn Morris <rgm@gnu.org>
3017
3018 * progmodes/python.el (python-shell-send-file):
3019 Add option to delete file when done. (Bug#15647)
3020 (python-shell-send-string, python-shell-send-region): Use it.
3021
c27924b7
IS
30222013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3023
e1b01c7f
IS
3024 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3025 to set buffer-read-only to t, never to nil. (Bug#15938)
3026
c27924b7
IS
3027 * textmodes/tex-mode.el (latex-noindent-environments):
3028 Add safe-local-variable property. (Bug#15936)
3029
17e0445b
GM
30302013-11-23 Glenn Morris <rgm@gnu.org>
3031
92f78ea3
GM
3032 * textmodes/enriched.el (enriched-mode): Doc fix.
3033 * emacs-lisp/authors.el (authors-renamed-files-alist):
3034 Add enriched.doc -> enriched.txt.
3035
17e0445b
GM
3036 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3037
965bb23a
LL
30382013-11-22 Leo Liu <sdl.web@gmail.com>
3039
3040 * progmodes/octave.el (inferior-octave-startup): Spit out error
3041 message.
3042
d19ffd64
BB
30432013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3044
3045 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3046 Improve docstring.
15ba2182
BB
3047 Add :version.
3048 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 3049
7a7567d2
LL
30502013-11-22 Leo Liu <sdl.web@gmail.com>
3051
3052 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3053 (Bug#15076)
8c09f64b
LL
3054 (octave-help-mode): Adapt to change to help-mode-finish to use
3055 derived-mode-p on 2013-09-17.
3056 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 3057 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 3058
724bc265
LL
30592013-11-22 Leo Liu <sdl.web@gmail.com>
3060
3061 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3062 (inferior-octave-startup, inferior-octave-check-process)
3063 (inferior-octave-track-window-width-change)
3064 (octave-completion-at-point, octave-eldoc-function): Use it.
3065 (octave-kill-process): Provide confirmation. (Bug#10564)
3066
38637cca
LL
30672013-11-21 Leo Liu <sdl.web@gmail.com>
3068
511fa0d3
SM
3069 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3070 Fix obsolete variable comment-use-global-state.
38637cca 3071
06e752b4
RS
30722013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3073
511fa0d3
SM
3074 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3075 Add `octave-source-file'.
06e752b4
RS
3076 (octave-source-file): New function. (Bug#15935)
3077
7514d3f8 30782013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
3079
3080 * net/eww.el (eww-local-regex): New variable.
3081 (eww): Use it to detect localhost and similar.
3082
b6ffa04a
LL
30832013-11-21 Leo Liu <sdl.web@gmail.com>
3084
3085 Add completion for command `ag'.
2021a200
LL
3086 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3087 (pcomplete/ag): New function.
e9dc713d 3088 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 3089
d1a6bccc
SM
30902013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3093 (bug#14646).
3094 (make-obsolete): Remove interactive spec.
3095
2df10228
GM
30962013-11-21 Glenn Morris <rgm@gnu.org>
3097
3098 * startup.el (command-line-1): Use path-separator with -L.
3099
86fd16b6
TZ
31002013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3101
3102 * emacs-lisp/package.el (describe-package-1): Add package archive
3103 to shown fields.
3104
0449d6cd 31052013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
3106
3107 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3108 Change default to "# encoding: %s" to differentiate it from the
3109 default Ruby encoding comment template.
3110
dc7e8c17 31112013-11-20 era eriksson <era+emacsbugs@iki.fi>
3112
3113 * ses.el (ses-mode): Doc fix. (Bug#14748)
3114
f0cfa5fe
LL
31152013-11-20 Leo Liu <sdl.web@gmail.com>
3116
3117 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3118
826dc7b6
DN
31192013-11-19 Dan Nicolaescu <dann@gnu.org>
3120
3121 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3122 when rebase or bisect are in progress.
3123
a6e3a5d5
XF
31242013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3125
3126 * filenotify.el (file-notify-add-watch): Doc fix.
3127
f130cb76
LL
31282013-11-19 Leo Liu <sdl.web@gmail.com>
3129
e0855d7d
LL
3130 * obsolete/rcompile.el: Mark obsolete.
3131
f130cb76 3132 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
3133 (compilation-goto-locus, compilation-find-file):
3134 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
3135 (Bug#13594)
3136
3137 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
3138 new parameter no-display-ok. Return either a window or nil
3139 but never a non-window value.
f130cb76 3140
1f35d401
SM
31412013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3142
25158c76
SM
3143 * electric.el (electric-indent-mode-map): Remove.
3144 (electric-indent-mode): Change the global-map instead (bug#15915).
3145
3146 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3147 Use add-function.
1f35d401 3148
9bc67baa
SM
31492013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3150
986545b5
SM
3151 * emacs-lisp/nadvice.el (remove-function): Align with
3152 add-function's behavior.
3153
9bc67baa
SM
3154 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3155 (gdb--string-regexp): New constant.
3156 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3157 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3158 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3159 submatch 1.
3160 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3161 Adjust use accordingly.
3162 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3163
56cd894e
AS
31642013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3165
3166 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3167 interpolation curlies (Bug#15914).
3168
014690de
JB
31692013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3170
3171 * calc/calc.el (calc-context-sensitive-enter): New variable.
3172 (calc-enter): Use `calc-context-sensitive-enter'.
3173
7e26a6c3
TZ
31742013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3175
3176 * progmodes/cfengine.el: Version bump.
3177 (cfengine-cf-promises): New defcustom to locate cf-promises.
3178 (cfengine3-vartypes): Add new "data" type.
3179 (cfengine3--current-word): New function to get current name-like
3180 word or its bounds.
3181 (cfengine3--current-function): New function to look up a CFEngine
3182 function's definition.
3183 (cfengine3-format-function-docstring): New function.
3184 (cfengine3-make-syntax-cache): New function.
3185 (cfengine3-documentation-function): New function: ElDoc glue.
3186 (cfengine3-completion-function): New function: completion glue.
3187 (cfengine3-mode): Set `compile-command',
3188 `eldoc-documentation-function', and add to
3189 `completion-at-point-functions'.
3190
355204dd
MA
31912013-11-16 Michael Albinus <michael.albinus@gmx.de>
3192
3193 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3194 `tramp-current-connection'.
3195
43cebc23
DG
31962013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3197
3198 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3199 nil/self/true/false with "end of symbol".
3200
a3fed6ff
BB
32012013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3202
3203 * subr.el (version-regexp-alist): Fix a typo.
3204
e675b3e4
MA
32052013-11-15 Michael Albinus <michael.albinus@gmx.de>
3206
3207 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3208 "en_US.utf8" and "LC_CTYPE" to "".
3209 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3210 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3211
a1f03e89
LL
32122013-11-15 Leo Liu <sdl.web@gmail.com>
3213
3214 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3215
5d9d9451
SM
32162013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3217
58362662
CS
3218 * progmodes/gud.el (ctl-x-map):
3219 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
3220 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3221
6c1bf086
BB
32222013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3223
0d5363c4
BB
3224 * subr.el (version-regexp-alist):
3225 Recognize hg, svn and darcs versions as snapshot versions.
3226
4e9fc48c
BB
3227 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3228 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3229 (ruby--encoding-comment-required-p): Extract from
3230 `ruby-mode-set-encoding'.
3231 (ruby-mode-set-encoding): Add the ability to always insert an
3232 utf-8 encoding comment. Fix and simplify coding comment update
3233 logic.
6c1bf086 3234
2f7e72f8
MA
32352013-11-14 Michael Albinus <michael.albinus@gmx.de>
3236
3237 * net/tramp-gvfs.el (top): Run init code only when
3238 `tramp-gvfs-enabled' is not nil.
3239 (tramp-gvfs-enabled): Check also :system bus.
3240
0f137a73
SM
32412013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3242
3243 Sync with upstream verilog-mode revision 78e66ba.
3244 * progmodes/verilog-mode.el (verilog-end-of-defun)
3245 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3246 (verilog-get-end-of-defun): Remove unused argument.
3247 (verilog-comment-depth): Remove unused local `e'.
3248 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3249 Don't pass arg to verilog-get-end-of-defun.
3250
1c276bdd
GM
32512013-11-14 Glenn Morris <rgm@gnu.org>
3252
3253 * obsolete/assoc.el (aget): Prefix dynamic variable.
3254
3255 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3256
ff6ec81d
SM
32572013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3259 * widget.el, hfy-cmap.el: Remove bogus package version number.
3260
75f777b6
GM
32612013-11-13 Glenn Morris <rgm@gnu.org>
3262
1d43dba1
GM
3263 * replace.el (replace-eval-replacement):
3264 Try to give more helpful error message. (Bug#15836)
3265
ff4b7bd5
GM
3266 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3267 (archive-7z-update): Avoid custom type mismatches.
3268
75f777b6
GM
3269 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3270
11151a06
MA
32712013-11-13 Michael Albinus <michael.albinus@gmx.de>
3272
e675b3e4 3273 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3274 address can be empty.
3275
3276 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3277 Accept nil SWITCHES.
3278 (tramp-gvfs-handle-write-region): Implement APPEND.
3279
7b08f97e
DG
32802013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3281
3282 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3283 binary "|" operator and closing block args delimiter.
3284 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3285 (ruby-smie--implicit-semi-p): Not after "|" operator.
3286 (ruby-smie--closing-pipe-p): New function.
3287 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3288 (ruby-smie-rules): Indent after "|".
3289
f201cf3a
GM
32902013-11-12 Glenn Morris <rgm@gnu.org>
3291
3292 * ps-print.el (ps-face-attribute-list):
3293 Handle anonymous faces. (Bug#15827)
3294
e6f759f9
MR
32952013-11-12 Martin Rudalics <rudalics@gmx.at>
3296
3297 * window.el (display-buffer-other-frame): Fix doc-string.
3298 (Bug#15868)
3299
ecda65d4
SM
33002013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3303
7ce8fcc3
MA
33042013-11-11 Michael Albinus <michael.albinus@gmx.de>
3305
3306 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3307 (tramp-sh-handle-file-local-copy): Don't write a message when
3308 saving temporary files.
3309
3310 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3311 both directories are remote.
3312 (tramp-smb-handle-directory-files): Do not return double entries.
3313 Do not expand full file names.
3314 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3315 (tramp-smb-handle-write-region): Implement APPEND.
3316 (tramp-smb-get-stat-capability): Fix a stupid bug.
3317
7818df11
SM
33182013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3319
3320 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3321
608c2085
NT
33222013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3323
3324 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3325 throwing error over malformed let/let* (bug#15814).
3326
122a7e46
SM
33272013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3328
3329 * iswitchb.el (iswitchb-mode): Mark obsolete.
3330
766284d9
GM
33312013-11-11 Glenn Morris <rgm@gnu.org>
3332
3333 * international/uni-bidi.el, international/uni-category.el:
3334 * international/uni-name.el, international/uni-numeric.el:
3335 Regenerate for Unicode 6.3.0.
3336
7072a4e9
MA
33372013-11-10 Michael Albinus <michael.albinus@gmx.de>
3338
3339 * net/tramp.el (tramp-methods):
3340 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3341 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3342
c9df215b
AS
33432013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3344
608c2085
NT
3345 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3346 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3347
fa47d796
DG
33482013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3349
3350 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3351 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3352 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3353 (ispell-complete-word): Call `ispell-lookup-words' with the value
3354 independent of `ispell-look-p'.
3355
1629a329
DG
33562013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3357
3358 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3359 Not after "||".
3360 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3361 their parent.
3362
ad16897c
SM
33632013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3364
3365 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3366 (ruby-font-lock-keywords): Use backquote.
3367
ffa2df72
DG
33682013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3369
3370 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3371 (ruby-smie--backward-token): Only consider full-string matches.
3372
5b97b4c0
JD
33732013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3374
3375 * faces.el (describe-face): Add distant-foreground.
3376
71731c03
BB
33772013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3378
4e9fc48c
BB
3379 * progmodes/ruby-mode.el: Improve encoding comment handling.
3380 (ruby-encoding-magic-comment-style): New option.
3381 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3382 (ruby--insert-coding-comment, ruby--detect-encoding):
3383 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3384 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3385 to control the style of the auto-inserted encoding comment.
71731c03 3386
da3b328d
DG
33872013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3388
ad16897c
SM
3389 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3390 Use `smie-backward-sexp' with token argument.
da3b328d 3391
1606c2d3
MA
33922013-11-08 Michael Albinus <michael.albinus@gmx.de>
3393
3394 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3395 Remove instrumentation code.
3396
b0f4c320
GM
33972013-11-08 Glenn Morris <rgm@gnu.org>
3398
3399 * progmodes/autoconf.el (autoconf-mode):
3400 Tweak comment-start-skip. (Bug#15822)
3401
43668fb1
SM
34022013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3403
3404 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3405 at bobp (bug#15826).
3406 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3407
daddb3fd
DH
34082013-11-08 Darren Hoo <darren.hoo@gmail.com>
3409
3410 * man.el (Man-start-calling): New macro, extracted from
3411 Man-getpage-in-background.
3412 (Man-getpage-in-background): Use it.
3413 (Man-update-manpage): New command.
3414 (Man-mode-map): Bind it.
3415
1f923923
DG
34162013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3417
3418 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3419 of "and", "or", "&&" and "||".
3420 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3421 argument. Prohibit opening curly brace because it could only be a
3422 block opener in that position.
daddb3fd
DH
3423 (ruby-smie--forward-token, ruby-smie--backward-token):
3424 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3425 arguments.
3426 (ruby-smie--indent-to-stmt): New function, seeks the end of
3427 previous statement or beginning of buffer.
3428 (ruby-smie-rules): Use it.
3429 (ruby-smie-rules): Check if there's a ":" before a curly block
3430 opener candidate; if there is, it's a hash.
3431
3220d527
SM
34322013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3433
3434 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3435 (cl--block-wrapper): Fix last accidental change.
3436
1eb1f9e0
MA
34372013-11-07 Michael Albinus <michael.albinus@gmx.de>
3438
3439 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3440 Instrument, in order to hunt failure on hydra.
3441
e6e4db3c
NT
34422013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3443
3444 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3445 malformed bindings form (bug#15814).
3446
b420ccfc
DG
34472013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3448
3449 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3450 "." compared to " @ ". This incidentally fixes some indentation
3451 examples with "do".
e6e4db3c 3452 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3453 (ruby-smie-grammar): New tokens: "and" and "or".
3454 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3455 Exclude "and" and "or". Remove "do" in order to work around token
3456 priorities.
3457 (ruby-smie-rules): Add all infix tokens. Handle the case of
3458 beginning-of-buffer.
b420ccfc 3459
6b4ac03e
GM
34602013-11-06 Glenn Morris <rgm@gnu.org>
3461
3462 * Makefile.in (setwins_almost, setwins_for_subdirs):
3463 Avoid accidental matches.
3464
5ca114d1
SM
34652013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3466
3467 * menu-bar.el (popup-menu): Use key-binding.
3468
f72552bd
EZ
34692013-11-06 Eli Zaretskii <eliz@gnu.org>
3470
3471 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3472 menus, support also the menus produced by minor modes.
3473 (Bug#15817)
3474
5d5c701e
LL
34752013-11-06 Leo Liu <sdl.web@gmail.com>
3476
3477 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3478 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3479
0a8b75e2
GM
34802013-11-06 Glenn Morris <rgm@gnu.org>
3481
3482 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3483 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3484 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3485
a35287ea
SM
34862013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3487
feca4e2d
SM
3488 * electric.el (electric-indent-just-newline): New command.
3489 (electric-indent-mode-map): New keymap.
3490 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3491 Re-add :group which weren't redundant.
3492
a35287ea
SM
3493 * electric.el (electric-indent-local-mode): New minor mode.
3494 (electric-indent-functions-without-reindent): New var.
3495 (electric-indent-post-self-insert-function): Use it.
3496 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3497
375761b2
EZ
34982013-11-05 Eli Zaretskii <eliz@gnu.org>
3499
9a6ad735
EZ
3500 * international/quail.el (quail-help): Be more explicit about the
3501 meaning of the labels shown on the keys. (Bug#15800)
3502
375761b2
EZ
3503 * startup.el (normal-top-level): Load the subdirs.el files before
3504 setting the locale environment. (Bug#15805)
3505
520a6e4a
SM
35062013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3507
0acfafef
SM
3508 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3509 via arguments so as to get the right ones (bug#15418).
3510
520a6e4a
SM
3511 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3512
15826261
MA
35132013-11-05 Michael Albinus <michael.albinus@gmx.de>
3514
3515 Fix problems found while writing a test suite.
3516
3517 * net/tramp-compat.el (tramp-compat-load): New defun.
3518 * net/tramp.el (tramp-handle-load): Use it.
3519
3520 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3521 "(numberp ok-if-already-exists)" correctly.
3522
d35f31a4
XF
35232013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3524
3525 * international/characters.el (glyphless-char-display-control):
3526 Add usage note.
3527
ae93bc74
BB
35282013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3529
520a6e4a
SM
3530 * progmodes/python.el (python-mode):
3531 * progmodes/scheme.el (scheme-mode):
3532 * progmodes/prolog.el (prolog-mode):
3533 * progmodes/ruby-mode.el (ruby-mode):
3534 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3535 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3536
0ade65b5
SM
35372013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3538
a0d5f7a4
SM
3539 * rect.el (rectangle--highlight-for-redisplay):
3540 * emacs-lisp/smie.el (smie--next-indent-change):
3541 Use buffer-chars-modified-tick.
3542
c93f3f5c
SM
3543 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3544
0ade65b5
SM
3545 * electric.el (electric-indent-post-self-insert-function):
3546 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3547
ef9dd188
HE
35482013-11-04 Helmut Eller <eller.helmut@gmail.com>
3549
3550 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3551
306e7308
NT
35522013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3553
3554 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3555 (bug#15786).
3556
e5afbcac
SM
35572013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3558
1d01ad41
SM
3559 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3560
e5afbcac
SM
3561 * progmodes/python.el: Fix up last change.
3562 (python-shell--save-temp-file): New function.
3563 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3564 `string' comes from the current buffer.
3565 (python-shell-send-string-no-output): Remove `msg' arg.
3566 (python--use-fake-loc): New var.
3567 (python-shell-buffer-substring): Obey it. Try to compensate for the
3568 extra coding line added by python-shell--save-temp-file.
3569 (python-shell-send-region): Use python-shell--save-temp-file and
3570 python-shell-send-file directly. Add `nomain' argument.
3571 (python-shell-send-buffer): Use python-shell-send-region.
3572 (python-electric-pair-string-delimiter): New function.
3573 (python-mode): Use it.
3574
d0065ff1
EZ
35752013-11-04 Eli Zaretskii <eliz@gnu.org>
3576
3577 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3578 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3579 environment and decoding all of the default-directory's to here
3580 from command-line.
3581 (command-line): Decode also argv[0].
3582
3583 * loadup.el: Error out if default-directory is a multibyte string
3584 when we are dumping.
3585
3586 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3587
7397c587
TZ
35882013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3589
3590 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3591 (package-menu--print-info, package-menu--archive-predicate):
3592 Add Archive column to package list.
7397c587 3593
b27cc9fc
MA
35942013-11-04 Michael Albinus <michael.albinus@gmx.de>
3595
3596 Fix problems found while writing a test suite.
3597
3598 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3599 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3600 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3601 to nil when running original file name handler. Otherwise,
3602 there are problems with constructs like "$$FOO".
3603
3604 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3605 for `localname'.
3606
d8c4f18a
BB
36072013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3608
7b530552
BB
3609 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3610
3611 * subr.el (version<, version<=, version=):
3612 Update docstrings with information for snapshot versions.
3613
d8c4f18a
BB
3614 * helpers.el: New library for misc helper functions.
3615 (hash-table-keys): New function returning a list of hash keys.
3616 (hash-table-values): New function returning a list of hash values.
3617
dca01b09
DG
36182013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3619
3620 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3621 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3622
0a749fa0
MN
36232013-11-04 Michal Nazarewicz <mina86@mina86.com>
3624
3625 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3626 checking whether point is after a 1-letter word.
3627
36282013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3629
3630 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3631 Don't infloop when expanding region over `multiline' syntax-type that
3632 begins a line (bug#15778).
3633
4aca7145
SM
36342013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3635
3636 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3637 Make it into a proper minor mode.
3638 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3639 (rectangle-mark-mode-map): New keymap.
3640 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3641
a0833f62
GM
36422013-11-04 Glenn Morris <rgm@gnu.org>
3643
3644 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3645
e61845c1
SM
36462013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3649 (ruby-smie-rules): Use smie-rule-parent instead.
3650
3651 * emacs-lisp/smie.el (smie-rule-parent): Always call
3652 smie-indent-virtual rather than only for hanging tokens.
3653 (smie--next-indent-change): New helper command.
3654
62942f89
GM
36552013-11-03 Glenn Morris <rgm@gnu.org>
3656
3657 * Makefile.in (abs_srcdir): Remove.
3658 (emacs): Unset EMACSLOADPATH.
3659
b0b9e592
GM
36602013-11-02 Glenn Morris <rgm@gnu.org>
3661
18ba6a33 3662 * Makefile.in (EMACS): Use a relative filename.
8061810d 3663 (abs_top_builddir): Remove.
18ba6a33
GM
3664 (custom-deps, finder-data, autoloads): Use --chdir.
3665
6a8b929e
GM
3666 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3667
c617f3d0
GM
3668 Use relative filenames in TAGS files.
3669 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3670 (lisptagsfiles4, TAGS): Use relative file names.
3671 (TAGS-LISP): Remove.
3672 (maintainer-clean): No more TAGS-LISP file.
3673
b0b9e592
GM
3674 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3675 (lisptagsfiles4): Use absolute filenames again.
3676 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3677 Remove all *loaddefs files, not just the first. Remove esh-groups.
3678 (maintainer-clean): Delete TAGS, TAGS-LISP.
3679
d1c0ea6a
BB
36802013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3681
e61845c1
SM
3682 * emacs-lisp/package.el (package-version-join):
3683 Recognize snapshot versions.
d1c0ea6a 3684
684d71c6
BB
36852013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3686
3687 * subr.el (version-regexp-alist): Add support for snapshot versions.
3688
3d42b968
DG
36892013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3690
e61845c1
SM
3691 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3692 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3693 skip over our direct parent if it's an assignment token..
3694 (ruby-smie-rules): Use it.
3695
7ffd3721
DG
36962013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3697
8449dd1f 3698 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3699 unconditionally. Remove now unnecessary forward declarations.
3700 Remove XEmacs-specific setup.
3701 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3702 (ruby-font-lock-syntactic-keywords)
3703 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3704 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3705 (ruby-here-doc-end-syntax): Remove.
3706 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3707 defined as function.
3708
a3996a2e
BB
37092013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3710
3711 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3712
6f9260e8
BB
37132013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3714
3715 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3716 table and abbrev table, `define-derived-mode' does that for us
3717 anyway.
3718
6014de84
GM
37192013-11-01 Glenn Morris <rgm@gnu.org>
3720
3721 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3722 files is atomic for some time, so no parallel compilation issues).
3723
3c334c14
JD
37242013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3725
3726 * faces.el (face-x-resources): Add :distant-foreground.
3727 (region): Use :distant-foreground for gtk and ns.
3728
9bc236c8
TH
37292013-11-01 Tassilo Horn <tsdh@gnu.org>
3730
5246583b 3731 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3732 BibTeX.
3733 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3734 (reftex-locate-bibliography-files): Us it.
3735
d14c81ee
CB
37362013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3737
0e7690de
CB
3738 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3739 allow comments in pbm files.
3740
d14c81ee
CB
3741 * term/w32-win.el (dynamic-library-alist): Support newer versions
3742 of libjpeg starting with v7: look only for the DLL from the
3743 version against which Emacs was built.
ac1bf374 3744 Support versions of libpng beyond 1.4.x.
019c8218 3745 Support libtiff v4.x.
d14c81ee 3746
983d0df5
BB
37472013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3748
3749 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3750 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3751 Add property :safe.
3752 (ruby-deep-arglist): Add property :type.
3753
47f58d85
GM
37542013-10-31 Glenn Morris <rgm@gnu.org>
3755
3756 * Makefile.in (custom-deps, finder-data): No need to setq the target
3757 variables, we are in the right directory and the defaults work fine.
3758
4f85b479
GM
37592013-10-30 Glenn Morris <rgm@gnu.org>
3760
ca7dd4cd
GM
3761 * Makefile.in (autoloads): Do not use abs_lisp.
3762
4f85b479
GM
3763 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3764 `newline' does not respect `standard-output', so use `princ'.
3765
cf59e41c
AA
37662013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3767
3768 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3769 * buff-menu.el (Buffer-menu--unmark): New function.
3770 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3771
74cf04fb
GM
37722013-10-30 Glenn Morris <rgm@gnu.org>
3773
b040b60e
GM
3774 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3775
f53d3815
GM
3776 * emacs-lisp/package.el (lm-homepage): Declare.
3777
5413d873
GM
3778 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3779 Fix doc typos.
3780
cecedb36
GM
3781 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3782
74cf04fb
GM
3783 * Makefile.in (finder-data, autoloads, update-subdirs)
3784 (compile-main, compile-clean, compile-always, bootstrap-clean):
3785 Check return value of cd.
3786 (compile-calc): Remove.
3787
195ee2f0
SM
37882013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3789
ae4002ce
SM
3790 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3791
3792 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3793 (byte-compile-and-folded): New function.
3794 (=, <, >, <=, >=): Use it.
3795
3796 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3797 (path-separator, null-device, buffer-file-coding-system)
3798 (lpr-headers-switches): Check system-type before modifying them.
3799 (find-buffer-file-type-coding-system): Mark obsolete.
3800 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3801 find-file-not-found-set-buffer-file-coding-system.
3802 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3803 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3804 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3805 (w32-direct-print-region-helper, w32-direct-print-region-function)
3806 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3807 * startup.el (normal-top-level-add-subdirs-to-load-path):
3808 * ps-print.el (ps-print-region-function):
3809 * lpr.el (print-region-function): Use new name.
3810
53b39e89
SM
3811 * subr.el (custom-declare-variable-early): Remove function.
3812 (custom-declare-variable-list): Remove var.
3813 (error, user-error): Remove `while' loop.
3814 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3815 (user-emacs-directory-warning, locate-user-emacs-file):
3816 Move to files.el.
3817 * simple.el (read-quoted-char-radix, read-quoted-char):
3818 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3819 Move from subr.el.
3820 * custom.el (custom-declare-variable-list): Don't process
3821 custom-declare-variable-list.
3822
195ee2f0
SM
3823 * progmodes/python.el (python-shell-get-buffer): New function.
3824 (python-shell-get-process): Use it.
3825 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3826 Python which encoding was used. Don't split-string since we only care
3827 about the first line. Return the temp-file, if applicable.
3828 (python-shell-send-region): Tell compile.el how to turn locations in
3829 the temp-file into locations in the source buffer.
3830
7e3561ee
SM
38312013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3832
4c9797cb
SM
3833 * subr.el (undefined): Add missing behavior from the C code for
3834 unbound keys.
3835
3472b6c6
SM
3836 * rect.el: Use lexical-binding. Add new rectangular region support.
3837 (rectangle-mark): New command.
3838 (rectangle--region): New var.
3839 (deactivate-mark-hook): Reset rectangle--region.
3840 (rectangle--extract-region, rectangle--insert-for-yank)
3841 (rectangle--highlight-for-redisplay)
3842 (rectangle--unhighlight-for-redisplay): New functions.
3843 (region-extract-function, redisplay-unhighlight-region-function)
3844 (redisplay-highlight-region-function): Use them to handle
3845 rectangular region.
3846 * simple.el (region-extract-function): New var.
3847 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3848 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3849 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3850 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3851 (redisplay-unhighlight-region-function)
3852 (redisplay-highlight-region-function): New vars.
3853 (redisplay--update-region-highlight): New function.
3854 (pre-redisplay-function): Use it.
3855 (exchange-point-and-mark): Don't deactivate the mark before
3856 reactivate-it anyway.
3857 * comint.el (comint-kill-region): Remove yank-handler argument.
3858 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3859 (delete-char): Remove property, since it's now part of their
3860 default behavior.
3861 (self-insert-iso): Remove property since this command doesn't exist.
3862
7e3561ee
SM
3863 * emacs-lisp/package.el (package--download-one-archive)
3864 (describe-package-1): Don't query the user about final newline.
3865
b9bef71f
DC
38662013-10-29 Daniel Colascione <dancol@dancol.org>
3867
3868 * net/tramp.el (tramp-methods): Document new functionality.
3869 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3870 tramp-hostname-checker if method provides one instead of scanning
3871 argument list for "%h" to decide hostname acceptability.
3872
4efc33f0
MA
38732013-10-28 Michael Albinus <michael.albinus@gmx.de>
3874
3875 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3876 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3877 Handle COPY-CONTENTS. (Bug#15737)
3878
ed42a877
DU
38792013-10-28 Daiki Ueno <ueno@gnu.org>
3880
3881 * epa-file.el
7e3561ee
SM
3882 (epa-file-cache-passphrase-for-symmetric-encryption):
3883 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3884
18c9f8a2
XF
38852013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3886
7a4bc7be
XF
3887 * image.el (defimage):
3888 (image-load-path): Doc fixes.
18c9f8a2 3889
b1e8e010
AM
38902013-10-27 Alan Mackenzie <acm@muc.de>
3891
3892 Indent statements in macros following "##" correctly.
7e3561ee
SM
3893 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3894 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3895
73d40d1e 38962013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3897
3898 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3899
c8c605ac
DG
39002013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3901
3902 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3903 after `=' is probably a new expression.
3904
ca7e59d4
RS
39052013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3906
3907 * man.el (man-imenu-title): New option.
3908 (Man-mode-map): Add menu. (Bug#15722)
3909 (Man-mode): Add imenu to menu.
3910
bae91342
DG
39112013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3912
3913 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3914 specific in what the first arg can be: a non-keyword word,
3915 string/regexp/percent literal opener, opening paren, or unary
3916 operator followed directly by word.
3917
eb89dc14
SM
39182013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3919
3920 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3921 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3922 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3923 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3924 Remove vars, they do not apply any more.
3925 (prolog-mode-abbrev-table): Remove redundant declaration.
3926 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3927 (prolog-use-smie): Remove.
3928 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3929 supported by prolog-electric-if-then-else-flag.
3930 (prolog-mode-variables, prolog-menu): Use setq-local.
3931 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3932 Remove binding to `Backspace' since this key doesn't exist anyway.
3933 Remove bindings for electric self-inserting keys.
3934 (prog-mode): Assume it's defined.
3935 (prolog-post-self-insert): New function.
3936 (prolog-mode): Use it.
3937 (prolog-indent-line, prolog-indent-level)
3938 (prolog-find-indent-of-matching-paren)
3939 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3940 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3941 (prolog-goto-next-paren, prolog-in-string-or-comment)
3942 (prolog-tokenize, prolog-inside-mline-comment)
3943 (prolog-find-start-of-mline-comment): Remove functions.
3944 (prolog-find-unmatched-paren, prolog-clause-end)
3945 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3946 (prolog-electric--if-then-else): Rename from
3947 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3948 (prolog-tokenize-searchkey): Remove const.
3949 (prolog-clause-info): Use forward-sexp.
3950 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3951 (prolog-electric-if-then-else): Remove commands.
3952 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3953 for use in post-self-insert-hook.
3954 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3955 for use in post-self-insert-hook.
3956 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3957 for use in post-self-insert-hook.
3958 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3959 adapt it for use in post-self-insert-hook.
3960
3dab0a83
MA
39612013-10-25 Michael Albinus <michael.albinus@gmx.de>
3962
3963 * emacs-lisp/ert.el (ert-run-tests-interactively):
3964 Use `completing-read'. (Bug#9756)
3965
fbfd0e1d
EZ
39662013-10-25 Eli Zaretskii <eliz@gnu.org>
3967
3968 * simple.el (line-move): Call line-move-1 instead of
3969 line-move-visual when the current window hscroll is zero, but
3970 temporary-goal-column indicates we will need to hscroll as result
3971 of the movement. (Bug#15712)
3972
963ce636
DG
39732013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3974
3975 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3976 capitalization. Use :visible instead of :active.
3977 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3978 commands that are used with SMIE.
3979 (ruby-do-end-to-brace): Insert space after `{'.
3980
a0be396a
JA
39812013-10-25 John Anthony <john@jo.hnanthony.com>
3982
f73754c9
JA
3983 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3984
3985 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3986
f5bf77df
GM
39872013-10-25 Glenn Morris <rgm@gnu.org>
3988
3989 * vc/vc.el (vc-print-log): Don't use a working revision unless
3990 one was explicitly specified. (Bug#15322)
3991
37241f62
SM
39922013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3993
3994 * subr.el (add-to-list): Preserve return value in compiler-macro
3995 (bug#15692).
3996
6408a65d
RS
39972013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3998
3999 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4000 result. Ask user to retry using '-all' flag. (Bug#15701)
4001
71e3276b
SM
40022013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4003
4004 * emacs-lisp/smie.el: New smie-config system.
4005 (smie-config): New defcustom.
4006 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4007 (smie-config-guess, smie-config-save): New commands.
4008 (smie-config--mode-local, smie-config--buffer-local)
4009 (smie-config--trace, smie-config--modefuns): New vars.
4010 (smie-config--advice, smie-config--mode-hook)
4011 (smie-config--setter, smie-config-local, smie-config--get-trace)
4012 (smie-config--guess-value, smie-config--guess): New functions.
4013 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4014 text properties. Treat "string fence" syntax like string syntax.
4015
4016 * progmodes/sh-script.el (sh-use-smie): Change default.
4017 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4018 (sh-var-value): Simplify by CSE.
4019 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4020 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4021 is used.
4022 (sh-guess-basic-offset): Use cl-incf.
4023 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4024
60db713e
HE
40252013-10-24 Helmut Eller <eller.helmut@gmail.com>
4026
4027 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4028 (bug#15699).
4029
8b251df6
GM
40302013-10-24 Glenn Morris <rgm@gnu.org>
4031
4032 * Makefile.in (abs_top_srcdir): Remove.
4033 (update-subdirs): Use relative path to update-subdirs.
4034
6be0e22b
EZ
40352013-10-24 Eli Zaretskii <eliz@gnu.org>
4036
4037 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4038 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
4039 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4040 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 4041
50b5b857
MA
40422013-10-24 Michael Albinus <michael.albinus@gmx.de>
4043
4044 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4045 (ert-test-skipped): New error.
4046 (ert-skip, ert-stats-skipped): New defuns.
4047 (ert--skip-unless): New macro.
4048 (ert-test-skipped): New struct.
4049 (ert--run-test-debugger, ert-test-result-type-p)
4050 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4051 (ert--stats-set-test-and-result, ert-char-for-test-result)
4052 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 4053 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 4054 Handle skipped tests. (Bug#9803)
50b5b857 4055
6f317c2f
GM
40562013-10-24 Glenn Morris <rgm@gnu.org>
4057
e43817c1
GM
4058 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4059
6f317c2f
GM
4060 * Makefile.in (abs_top_srcdir): New, set by configure.
4061 (update-subdirs): Correct build-aux location.
4062
369bbf71
DG
40632013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4064
8297b2cf
DG
4065 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4066 value, whether we could auto-deduce `backend', or not.
4067
369bbf71
DG
4068 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4069 with parameters" example. Simplify the "is it block or is it
4070 hash" check, but also make it more thorough.
4071
d5f1282f
MF
40722013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4073
4074 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4075
bc4aaa31
SM
40762013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4077
03d44565
SM
4078 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4079 { if it is hanging.
4080
bc4aaa31
SM
4081 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4082 :before ";".
4083
f493ff19
JB
40842013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4085
4086 * progmodes/compile.el (compilation-directory-matcher)
4087 (compilation-page-delimiter):
4088 Support GNU Make-4.0 directory quoting. (Bug#15678)
4089
c744a3b9
LL
40902013-10-23 Leo Liu <sdl.web@gmail.com>
4091
4092 * ido.el (ido-tidy): Handle read-only text.
4093
b8e3b0a9
GM
40942013-10-23 Glenn Morris <rgm@gnu.org>
4095
4096 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4097 (emacs, compile, compile-always):
4098 Quote entities that might contain whitespace.
4099 (custom-deps, finder-data, autoloads): Use abs_lisp.
4100 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4101 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4102 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4103
ee4282cd
DG
41042013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4105
bc4aaa31
SM
4106 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4107 Use `following-char'.
7790a270 4108
ee4282cd 41092013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
4110
4111 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4112 * progmodes/ruby-mode.el (ruby-smie-rules):
4113 Remove corresponding workaround. Fix indentation rule of ";" so it
4114 also applies when ";" is the parent.
4115
d40a46d7
XF
41162013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4117
4118 * frame.el (display-screens, display-pixel-height)
4119 (display-pixel-width, display-mm-width, display-backing-store)
4120 (display-save-under, display-planes, display-color-cells)
7790a270
SM
4121 (display-visual-class, display-monitor-attributes-list):
4122 Mention the optional ‘display’ argument in doc strings.
d40a46d7 4123
a0f143c9
MG
41242013-10-22 Michael Gauland <mikelygee@amuri.net>
4125
4126 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4127 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4128
18cacc39
DG
41292013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4130
4131 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4132 TODO. Add "." after " @ ".
4133 (ruby-smie--at-dot-call): New function. Checks if point at method
4134 call with explicit target.
4135 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4136 to the method name tokens when it precedes them.
4137 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4138 (ruby-smie-rules): Add rule for indentation before and after "."
4139 token.
4140
df74c4be
SM
41412013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4142
c6dab55f
SM
4143 * textmodes/remember.el (remember-diary-extract-entries):
4144 Avoid add-to-list.
4145
df74c4be
SM
4146 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4147 an instruction.
4148
8c1ae481
DG
41492013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4150
e9dc713d
JB
4151 * progmodes/ruby-mode.el (ruby-smie-grammar):
4152 Add (almost) all infix operators.
cfef16c0
DG
4153 (ruby-smie--implicit-semi-p): Add new operator chars.
4154
8c1ae481
DG
4155 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4156 `smie-down-list'.
4157 (ruby-smie--args-separator-p): Check that there's no newline
4158 between method call and its arguments.
4159
87756ca9
AM
41602013-10-20 Alan Mackenzie <acm@muc.de>
4161
4162 Allow comma separated lists after Java "implements".
4163
df74c4be
SM
4164 * progmodes/cc-engine.el (c-backward-over-enum-header):
4165 Parse commas.
87756ca9
AM
4166 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4167 from a "disallowed" list in enum fontification.
4168
c25f8957
JB
41692013-10-20 Johan Bockgård <bojohan@gnu.org>
4170
df74c4be 4171 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 4172
c25f8957
JB
4173 * progmodes/verilog-mode.el (verilog-mode): Don't set
4174 comment-indent-function globally.
4175
aca5fcdc
JD
41762013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4177
5f161884
JD
4178 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4179 Move Info menu item creation to ns-win.el.
4180
4181 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4182 in menu bar.
4183
a6c4680a 4184 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
4185
4186 * term/ns-win.el (ns-initialize-window-system): ... to here.
4187
914b7f98
SM
41882013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4189
4190 * simple.el (newline): Only run post-self-insert-hook when
4191 called interactively.
4192
846ffe77
JB
41932013-10-19 Johan Bockgård <bojohan@gnu.org>
4194
4195 * icomplete.el (icomplete-with-completion-tables): Add :version.
4196
033f22dd
AM
41972013-10-19 Alan Mackenzie <acm@muc.de>
4198
4199 Fix fontification bugs with constructors and const.
4200
4201 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4202 CASE 2) Remove the check for the absence of a suffix construct
4203 after a function declaration with only types (no identifiers) in
4204 the parentheses. Also, accept a function declaration with just a
4205 type inside the parentheses, if this type can be positively
4206 recognised as such, or if a prefix keyword like "explicit" nails
4207 down the construct as a declaration.
4208
58ce0cfc
EZ
42092013-10-19 Eli Zaretskii <eliz@gnu.org>
4210
4211 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4212 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4213 the problem whereby selecting a menu item that leads to a
4214 minibuffer prompt moves the cursor out of the minibuffer window,
4215 making it hard to type at the prompt. Suggested by Stefan Monnier
4216 <monnier@iro.umontreal.ca>.
4217
50e28e7d
JD
42182013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4219
4220 * menu-bar.el: Don't make Services menu.
4221
7deed4bf
RS
42222013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4223
4224 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4225 (ffap-alist): Use ffap-c++-mode for c++-mode.
4226 (ffap-c++-path): New variable.
4227 (ffap-c++-mode): New function.
4228
7bcb455b
JVJ
42292013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4230
4231 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4232
f0ff1cd5
MA
42332013-10-18 Michael Albinus <michael.albinus@gmx.de>
4234
4235 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4236 introduced on 2013-09-08, which results in an infinite loop
4237 requesting a password.
4238
d64da4b7
GM
42392013-10-18 Glenn Morris <rgm@gnu.org>
4240
4241 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4242
ea89ff08
WS
42432013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4244
4245 Sync with upstream verilog-mode revision 1a6ecec7.
4246 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4247 (verilog-mode-release-date): Remove.
4248 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4249 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4250 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4251 (verilog-auto-tieoff-ignore-regexp)
4252 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4253 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4254 (verilog-signals-with, verilog-dir-cache-preserving)
4255 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4256 Doc fixes.
4257 (verilog-case-fold): New option, to control case folding in
4258 regexp searches, bug597.
4259 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4260 (verilog-string-match-fold, verilog-in-paren-count)
4261 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4262 (verilog-at-close-struct-p): New functions.
4263 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4264 (verilog-forward-sexp, verilog-set-auto-endcomments):
4265 (verilog-leap-to-case-head): Handle "unique0" case.
4266 (verilog-in-constraint-re): New constant.
4267 (verilog-keywords, verilog-type-font-keywords):
4268 Add some SystemVerilog 1800-2012 keywords.
4269 (verilog-label-be): Remove unimplemented argument, bug669.
4270 (verilog-batch-execute-func): When batch expanding clear
4271 create-lockfiles to prevent spurious user locks when a file ends
4272 up not changing.
4273 (verilog-calculate-indent, verilog-calc-1)
4274 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4275 (verilog-do-indent): Fix indentation of nested constraints
4276 and structures.
4277 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4278 (verilog-auto-inst-param): Use verilog-string-match-fold.
4279 (verilog-read-inst-module-matcher):
4280 Fix AUTOINST on gate primitives with #1.
4281 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4282 Reads all user-defined typed variables.
4283 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4284 (verilog-signals-matching-regexp)
4285 (verilog-signals-not-matching-regexp, verilog-auto):
4286 Respect verilog-case-fold.
4287 (verilog-diff-report): Fix line count.
4288 (verilog-auto-assign-modport): Remove unused local `modi'.
4289 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4290 better handle multidimensional arrays.
4291 Fix packed array ports misadding bit index in AUTOINST, bug637.
4292 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4293 to not double-declare existing outputs and inputs, respectively.
4294 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4295 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4296 (verilog-sk-uvm-component): New skeleton.
4297 (verilog-submit-bug-report): Add verilog-case-fold,
4298 remove verilog-mode-release-date.
4299
ef566920
BR
43002013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4301
a12bf61e 4302 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4303 as before.
4304
29df8a0b
RT
43052013-10-18 Reuben Thomas <rrt@sc3d.org>
4306
e0eb0550 4307 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4308 remember buffers (bug#13566).
4309
04a19a79
DC
43102013-10-18 Daniel Colascione <dancol@dancol.org>
4311
4312 When evaluating forms in ielm, direct standard output to ielm
4313 buffer. Add new ielm-return-for-effect command. Remove trailing
4314 whitespace throughout.
4315
4316 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4317 (ielm-return-for-effect): New command.
4318 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4319 (ielm-eval-input): Accept optional `for-effect' parameter.
4320 Bind `standard-output' to stream we create using
04a19a79
DC
4321 `ielm-standard-output-impl'. Suppress printing result when
4322 `for-effect'.
4323 (ielm-standard-output-impl): New function.
4324 (inferior-emacs-lisp-mode): Explain new features in documentation.
4325
4c1f03ef
MA
43262013-10-17 Michael Albinus <michael.albinus@gmx.de>
4327
4328 Code cleanup.
4329
4330 * net/tramp.el (tramp-debug-message): Do not check for connection
4331 buffer.
4332 (tramp-message): Use "vector" connection property.
4333
4334 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4335 (tramp-equal-remote, tramp-eshell-directory-change)
4336 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4337 (tramp-adb-handle-rename-file)
4338 * net/tramp-cmds.el (tramp-list-remote-buffers)
4339 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4340 * net/tramp-compat.el (tramp-compat-process-running-p)
4341 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4342 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4343 (tramp-gvfs-handle-rename-file)
4344 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4345 (tramp-set-file-uid-gid)
4346 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4347 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4348 of `file-remote-p'.
4349
4350 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4351 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4352 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4353 (tramp-gw-open-network-stream): Suppress unrelated traces.
4354
4355 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4356 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4357 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4358 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4359 connection property.
4360
4361 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4362 persistency file.
4c1f03ef
MA
4363
4364 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4365 Refactor common code. Improve debug message.
4366 (tramp-maybe-open-connection)
4367 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4368 connection buffer too early.
4369
4370 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4371 from `tramp-smb-actions-with-acl'.
4372 (tramp-smb-actions-set-acl): New defconst.
4373 (tramp-smb-handle-copy-directory)
4374 (tramp-smb-action-get-acl): New defun, renamed from
4375 `tramp-smb-action-with-acl'.
4376 (tramp-smb-action-set-acl): New defun.
4377 (tramp-smb-handle-set-file-acl): Rewrite.
4378
642eb8b6
GM
43792013-10-17 Glenn Morris <rgm@gnu.org>
4380
4381 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4382
85527ff3
SM
43832013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4384
921c1d62
SM
4385 * skeleton.el (skeleton-newline): Remove.
4386 (skeleton-internal-1): Use (insert "\n") instead.
4387
e333fb10
SM
4388 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4389 let-bindings.
4390
85527ff3
SM
4391 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4392 forward-sexp-function while we redo its job (bug#15613).
4393
c8722a97
JB
43942013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4395
4396 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4397 represented by lists.
4398
7a550bbb
GM
43992013-10-16 Glenn Morris <rgm@gnu.org>
4400
4401 * tmm.el (tmm--history): New dynamic variable.
4402 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4403
f19da8ad
MA
44042013-10-16 Michael Albinus <michael.albinus@gmx.de>
4405
4406 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4407 (tramp-smb-errors): Add error messages.
4408 (tramp-smb-actions-with-acl): New defconst.
4409 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4410 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4411 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4412 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4413 (tramp-smb-get-stat-capability): Fix tests.
4414
a24b9961
DK
44152013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4416
4417 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4418 (bug#15580).
4419
62ad85e6
GM
44202013-10-16 Glenn Morris <rgm@gnu.org>
4421
0283d6b0
GM
4422 * ansi-color.el (ansi-color-drop-regexp):
4423 Add 1J, 1K, 2K. (Bug#15617)
4424
012e2f9f
GM
4425 * files.el (hack-local-variables--warned-lexical): New.
4426 (hack-local-variables):
4427 Warn about misplaced lexical-binding. (Bug#15616)
4428
62ad85e6
GM
4429 * net/eww.el (eww-render): Always set eww-current-url,
4430 and update header line. (Bug#15622)
4431 (eww-display-html): ... Rather than just doing it here.
4432
6456c0ea
EZ
44332013-10-15 Eli Zaretskii <eliz@gnu.org>
4434
4435 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4436 menu navigations commands.
4437
c2de5588
DK
44382013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4439
4440 * progmodes/subword.el (subword-capitalize): Be careful when
4441 the search for [[:alpha:]] fails (bug#15580).
4442
ccd4a783
EZ
44432013-10-14 Eli Zaretskii <eliz@gnu.org>
4444
4445 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4446 to commands that scroll the menu.
4447
1eda1d8d
DG
44482013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4449
c2de5588
DK
4450 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4451 Handle methods ending with `?' and `!'.
1eda1d8d 4452
e70181b8
AM
44532013-10-14 Akinori MUSHA <knu@iDaemons.org>
4454
4455 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4456 `japanese-cp932' to `cp932' to fix the problem where saving a
4457 source file written in Shift_JIS twice would end up having
4458 `coding: japanese-cp932' which Ruby could not recognize.
4459 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4460 in `ruby-encoding-map'.
4461 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4462 doesn't need to be explicitly declared in magic comment.
4463 (ruby-encoding-map): Add type declaration for better customize UI.
4464
9148ee92
GM
44652013-10-13 Glenn Morris <rgm@gnu.org>
4466
a5d38e34
GM
4467 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4468 Occur buffers are read-only. http://bugs.debian.org/720775
4469
9148ee92
GM
4470 * emacs-lisp/authors.el (authors-fixed-entries):
4471 Comment out old alpha stuff.
4472
a9ba094b
DG
44732013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4474
4475 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4476 to `after-save-hook' instead of `before-save-hook'.
4477 (ruby-mode-set-encoding): Use the value of coding system used to
4478 write the file. Call `basic-save-buffer-1' after modifying the
4479 buffer.
4480
7a068717
AM
44812013-10-13 Alan Mackenzie <acm@muc.de>
4482
4483 Fix indentation/fontification of Java enum with
4484 "implements"/generic.
4485
c2de5588
DK
4486 * progmodes/cc-engine.el (c-backward-over-enum-header):
4487 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4488 (c-inside-bracelist-p): Uses new function above.
4489 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4490 function above.
4491 (c-font-lock-enum-tail): Uses new function above.
4492
85b64f02
KH
44932013-10-13 Kenichi Handa <handa@gnu.org>
4494
4495 * international/mule-cmds.el (select-safe-coding-system): Remove a
4496 superfluous condition in chekcing whether a coding system is safe
4497 or not.
4498
fc7f501b
OK
44992013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4500
4501 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4502
fdcb2049
AP
45032013-10-13 Andreas Politz <politza@hochschule-trier.de>
4504
4505 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4506
8c106d17
GM
45072013-10-13 Glenn Morris <rgm@gnu.org>
4508
feab892d
GM
4509 * menu-bar.el (menu-bar-update-buffers):
4510 Unify Buffers menu prompt string. (Bug#15576)
4511
b22d0686
GM
4512 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4513
8c106d17
GM
4514 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4515 Add some entries.
4516 (authors-fixed-entries): Use accented form of name.
4517
1b12c797
SM
45182013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4519
650fa7bf 4520 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4521 method calls (bug#15594).
650fa7bf
SM
4522 (ruby-smie--args-separator-p): New function.
4523 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4524 recognize paren-free method calls.
4525
1b12c797
SM
4526 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4527 internals of universal-argument.
4528
029619c8
EZ
45292013-10-11 Eli Zaretskii <eliz@gnu.org>
4530
4531 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4532 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4533 dropped menu on second mouse click on the menu bar.
029619c8 4534
dd070019
SM
45352013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4536
4537 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4538 (explicit-shell-file-name): Declare.
4539 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4540 (sh-completion-at-point-function): New function.
4541 (sh-mode): Use it.
4542 (sh-smie--keyword-p): Remove unused argument.
4543 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4544 vars.
4545 (sh-set-shell): Always setup SMIE, even if we use the
4546 old indentation code.
4547
0922b826
DG
45482013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4549
b68e2926
DG
4550 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4551 cases of ? and =.
4552 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4553 predicate would return nil are almost non-existent.
4554 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4555
0922b826
DG
4556 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4557 cache also after commands that modify the buffer but don't move
4558 point.
4559
ee041f2d
SM
45602013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4561
4562 * env.el (substitute-env-in-file-name): New function.
4563 (substitute-env-vars): Extend the meaning of the optional arg.
4564
a5dab159
EZ
45652013-10-10 Eli Zaretskii <eliz@gnu.org>
4566
4567 * term/w32-win.el (dynamic-library-alist): Define separate lists
4568 of GIF DLLs for versions before and after 5.0.0 of giflib.
4569 (Bug#15531)
4570
0449d6cd 45712013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4572
4573 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4574 not locked, use last revision and current source as
4575 defaults. (Bug#15569)
4576
2f6e161e
MY
45772013-10-10 Masatake YAMATO <yamato@redhat.com>
4578
4579 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4580 menu-bar is hidden.
4581
6c8413fc
MR
45822013-10-10 Martin Rudalics <rudalics@gmx.at>
4583
4584 * window.el (pop-to-buffer-same-window): Fix doc-string.
4585 (Bug#15492)
4586
20832de0
SM
45872013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4588
4589 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4590
c6e8ae77
AC
45912013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4592
4593 * calendar/icalendar.el (icalendar-import-file):
4594 Fix interactive spec. (Bug#15482)
4595
9db13baf
GM
45962013-10-10 Glenn Morris <rgm@gnu.org>
4597
9271e90e
GM
4598 * desktop.el (desktop-save): Default to saving in .emacs.d,
4599 since PWD is no longer in desktop-path by default. (Bug#15319)
4600
9db13baf
GM
4601 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4602 now that text mode has a menu with the same entry.
4603 (menu-bar-text-mode-auto-fill): Remove now unused func.
4604 * textmodes/text-mode.el (text-mode-map):
4605 Use auto-fill help text from menu-bar.el.
4606
a0be396a 46072013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4608
4609 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4610
2edcd3c7
JL
46112013-10-09 Juri Linkov <juri@jurta.org>
4612
4613 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4614 instead of this-command-keys. Add universal-argument-more and
4615 universal-argument-minus to the list of prefix commands. (Bug#15568)
4616
574411d0
GM
46172013-10-09 Glenn Morris <rgm@gnu.org>
4618
14afa541
GM
4619 * vc/vc-svn.el (vc-svn-create-repo):
4620 Expand paths in file://... url. (Bug#15446)
4621
574411d0
GM
4622 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4623 Add some entries.
4624 (authors): Remove unused local variables.
4625
79804536
SM
46262013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4627
4628 * profiler.el: Create a more coherent calltree from partial backtraces.
4629 (profiler-format): Hide the tail with `invisible' so that C-s can still
4630 find the hidden elements.
4631 (profiler-calltree-depth): Don't recurse so enthusiastically.
4632 (profiler-function-equal): New hash-table-test.
4633 (profiler-calltree-build-unified): New function.
4634 (profiler-calltree-build): Use it.
4635 (profiler-report-make-name-part): Indent the calltree less.
4636 (profiler-report-mode): Add visibility specs for profiler-format.
4637 (profiler-report-expand-entry, profiler-report-toggle-entry):
4638 Expand the whole subtree when provided with a prefix arg.
4639
238150c8
DG
46402013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4641
4642 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4643 iuwu-mod token.
4644 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4645 hanging iuwu-mod token.
4646 (ruby-smie--forward-token): Do not include a dot after a token in
4647 that token.
4648 (ruby-smie--backward-token): Likewise.
4649
b0949cc4
JL
46502013-10-08 Juri Linkov <juri@jurta.org>
4651
4652 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4653 to isearch-other-control-char.
4654 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4655 and isearch-post-command-hook to post-command-hook.
4656 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4657 and isearch-post-command-hook from post-command-hook.
4658 (isearch-unread-key-sequence)
4659 (isearch-reread-key-sequence-naturally)
4660 (isearch-lookup-scroll-key, isearch-other-control-char)
4661 (isearch-other-meta-char): Remove functions.
4662 (isearch-pre-command-hook, isearch-post-command-hook):
4663 New functions based on isearch-other-meta-char rewritten
4664 relying on the new behavior of overriding-terminal-local-map
4665 that does not replace the local keymaps any more. (Bug#15200)
4666
4ed77415
EZ
46672013-10-08 Eli Zaretskii <eliz@gnu.org>
4668
4669 Support menus on text-mode terminals.
4670 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4671 functionality.
4672
4673 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4674
c2de5588
DK
4675 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4676 Move here from mouse.el.
4ed77415
EZ
4677 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4678 and arrow keys.
4679 (tty-menu-navigation-map): New map for TTY menu navigation.
4680
4681 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4682
4683 * frame.el (display-mouse-p): Report text-mode mouse as available
4684 on w32.
4685 (display-popup-menus-p): Report availability if mouse is
4686 available; don't condition on window-system.
4687
4688 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4689 (tty-menu-selected-face): New faces.
4690
b7d5bd82
TL
46912013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4692
06286513
SM
4693 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4694 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4695 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4696 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4697 New constants.
4698 (lisp-mode-variables): New `elisp' argument.
4699 (emacs-lisp-mode): Use it.
4700 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4701 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4702
b7d5bd82
TL
4703 * indent.el: Use lexical-binding.
4704 (indent-region): Add progress reporter.
4705 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4706 last step.
4707 (indent--next-tab-stop): New function to implement this behavior.
4708 (tab-to-tab-stop, move-to-tab-stop): Use it.
4709
47102013-10-08 Teemu Likonen <tlikonen@iki.fi>
4711
4712 * indent.el (indent-rigidly--current-indentation): New function.
4713 (indent-rigidly-map): New var.
4714 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4715
5ea75d23
BG
47162013-10-08 Bastien Guerry <bzg@gnu.org>
4717
f2726fa2 4718 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 4719
cc5da1ec
SM
47202013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4721
8ffa1a0b
SM
4722 * progmodes/perl-mode.el: Use lexical-binding.
4723 Remove redundant :group args.
4724 (perl-nochange): Change default to be closer to other major modes's
4725 standard behavior.
4726 (perl-indent-line): Don't consider text on current line as a
4727 valid beginning of function from which to indent.
4728
f2223371
SM
4729 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4730 with more than one argument (bug#15538).
4731
44256060
SM
4732 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4733
cc5da1ec
SM
4734 * vc/pcvs.el: Use lexical-binding.
4735 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4736 environment of `eval'.
4737 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4738 than a list of expressions. Adjust callers.
4739 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4740
0ea1599d
DG
47412013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4742
4743 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4744 case of the dot in a chained method call being on the following line.
0ea1599d 4745
da3e5ebb
SM
47462013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4747
2abb4e65
SM
4748 * electric.el (electric-indent-inhibit): New var.
4749 (electric-indent-post-self-insert-function): Use it.
4750 * progmodes/python.el (python-mode): Set it.
4751
d2e0e795
SM
4752 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4753 open braces.
4754
4755 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4756
bdc6b4c8
SM
4757 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4758 (css-mode): Use electric-indent-chars.
4759
da3e5ebb
SM
4760 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4761 (font-lock-beg, font-lock-end): Move before first use.
4762 (nxml-mode): Use syntax-propertize-function.
4763 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4764 (nxml-extend-after-change-region): Remove.
4765 * nxml/xmltok.el: Use lexical-binding.
4766 (xmltok-save): Use `declare'.
4767 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4768 * nxml/nxml-util.el: Use lexical-binding.
4769 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4770 Use `declare'.
4771 * nxml/nxml-ns.el: Use lexical-binding.
4772 (nxml-ns-save): Use `declare'.
4773 (nxml-ns-prefixes-for): Avoid add-to-list.
4774 * nxml/rng-match.el: Use lexical-binding.
4775 (rng--ipattern): Use cl-defstruct.
4776 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4777 (rng-cons-group-after, rng-subst-group-after)
4778 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4779 Use closures instead of `(lambda...).
4780
f8f91d5d
MA
47812013-10-07 Michael Albinus <michael.albinus@gmx.de>
4782
4783 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4784 of BEG and END.
4785
da3e5ebb
SM
4786 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4787 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4788 (tramp-gvfs-handle-insert-file-contents): Remove function.
4789
da3e5ebb
SM
4790 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4791 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4792
4793 * net/trampver.el: Update release number.
4794
7ccae3b1
SM
47952013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4796
55ca2c0d
SM
4797 * progmodes/compile.el (compilation-parse-errors):
4798 Use compilation--put-prop.
4799 (compilation--ensure-parse): Check compilation-multiline.
4800
731fc3ae
SM
4801 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4802
da3e5ebb
SM
4803 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4804 lexical-binding.
a5833280 4805
2e7ba2c2
SM
4806 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4807
7ccae3b1
SM
4808 * progmodes/ruby-mode.el: Fix recently added tests.
4809 (ruby-smie-grammar): Add - and +.
4810 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4811 (ruby-smie--backward-id): New functions.
4812 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4813 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4814 any more.
4815
85698d63
LL
48162013-10-07 Leo Liu <sdl.web@gmail.com>
4817
4818 * register.el (register-preview-delay)
4819 (register-preview-functions): New variables.
4820 (register-read-with-preview, register-preview)
4821 (register-describe-oneline): New functions.
4822 (point-to-register, window-configuration-to-register)
4823 (frame-configuration-to-register, jump-to-register)
4824 (number-to-register, view-register, insert-register)
4825 (copy-to-register, append-to-register, prepend-to-register)
4826 (copy-rectangle-to-register): Use register-read-with-preview to
4827 read register. (Bug#15525)
4828
3986af6c
DS
48292013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4830
4831 * net/network-stream.el (network-stream-open-starttls): Don't add
4832 --insecure if it's already present, because that gnutls-cli
4833 rejects getting that parameter twice.
4834
5cd9cda9
DG
48352013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4836
4837 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4838 keyword, too.
4839
da9ea6d9
DG
48402013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4841
4842 * newcomment.el (comment-use-global-state): Change default value
4843 to t, mark obsolete (Bug#15251).
4844 (comment-beginning): In addition to `comment-to-syntax', check the
4845 value of `comment-use-global-state'.
4846
34d1a133
SM
48472013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4848
4849 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4850 (ruby-comment-column): Follow the global default, by default.
4851 (ruby-smie-grammar): Add assignment syntax.
4852 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4853 open-paren, a comma, or a \.
4854 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4855 and line continuations.
4856 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4857 followed by implicit semi-colons. Add rule for string concatenation
4858 and for indentation at BOB.
4859 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4860
4861 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4862 calling next-sexp, since next-token may have skipped chars which
4863 next-sexp doesn't know should be skipped!
4864
6f6ab820
LL
48652013-10-05 Leo Liu <sdl.web@gmail.com>
4866
34d1a133
SM
4867 * progmodes/octave.el (octave-send-region):
4868 Call compilation-forget-errors.
6f6ab820 4869
34ca0f4c
XF
48702013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4871
4872 * vc/vc-svn.el (vc-svn-find-admin-dir):
4873 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4874 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4875 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4876 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4877
a27c1b72
SM
48782013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4879
4880 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4881
258ab3bc
SM
48822013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4883
4884 * subr.el (read-passwd): Hide chars even when called within a context
4885 where after-change-functions is disabled (bug#15501).
4886 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4887 until we removed ourself from overriding-terminal-local-map.
4888
939fb29c
LL
48892013-10-04 Leo Liu <sdl.web@gmail.com>
4890
258ab3bc
SM
4891 * progmodes/octave.el (inferior-octave-mode):
4892 Call compilation-forget-errors.
939fb29c 4893
63bd7f35
XF
48942013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4895
4896 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4897
9e6229fa
MA
48982013-10-04 Michael Albinus <michael.albinus@gmx.de>
4899
4900 * net/secrets.el (secrets-create-collection): Add optional
4901 argument ALIAS. Use proper Label keyword. Append ALIAS as
4902 dbus-call-method argument. (Bug#15516)
4903
1dab32a3
LL
49042013-10-04 Leo Liu <sdl.web@gmail.com>
4905
4906 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4907 (inferior-octave-compilation-font-lock-keywords): New variables.
4908 (compilation-error-regexp-alist)
4909 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4910 (inferior-octave-mode): Use compilation-shell-minor-mode.
4911
6cad7ba3
JS
49122013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4913
4914 * minibuffer.el (completion--replace): Be careful that `end' might be
4915 a marker.
4916
acbadd00
DU
49172013-10-03 Daiki Ueno <ueno@gnu.org>
4918
4919 Add support for package signature checking.
4920 * emacs-lisp/package.el (url-http-file-exists-p)
4921 (epg-make-context, epg-context-set-home-directory)
4922 (epg-verify-string, epg-context-result-for)
4923 (epg-signature-status, epg-signature-to-string)
4924 (epg-check-configuration, epg-configuration)
4925 (epg-import-keys-from-file): Declare.
4926 (package-check-signature): New user option.
4927 (package-unsigned-archives): New user option.
4928 (package-desc): Add `signed' field.
4929 (package-load-descriptor): Set `signed' field if .signed file exists.
4930 (package--archive-file-exists-p): New function.
4931 (package--check-signature): New function.
4932 (package-install-from-archive): Check package signature.
4933 (package--download-one-archive): Check archive signature.
4934 (package-delete): Remove .signed file.
4935 (package-import-keyring): New command.
4936 (package-refresh-contents): Import default keyring.
4937 (package-desc-status): Add "unsigned" status.
4938 (describe-package-1, package-menu--print-info)
4939 (package-menu-mark-delete, package-menu--find-upgrades)
4940 (package-menu--status-predicate): Support "unsigned" status.
4941
adf2aa61
SM
49422013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4943
4944 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4945 the new compilation scheme using the new byte-codes.
4946
4947 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4948 (byte-pophandler): New byte codes.
4949 (byte-goto-ops): Adjust accordingly.
4950 (byte-compile--use-old-handlers): New var.
4951 (byte-compile-catch): Use new byte codes depending on
4952 byte-compile--use-old-handlers.
4953 (byte-compile-condition-case--old): Rename from
4954 byte-compile-condition-case.
4955 (byte-compile-condition-case--new): New function.
4956 (byte-compile-condition-case): New function that dispatches depending
4957 on byte-compile--use-old-handlers.
4958 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4959 when we can.
4960
4961 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4962 Optimize under `condition-case' and `catch' if
4963 byte-compile--use-old-handlers is nil.
4964 (disassemble-offset): Handle new bytecodes.
4965
328a8179
SM
49662013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4967
4968 * subr.el (error): Use `declare'.
4969 (decode-char, encode-char): Use advertised-calling-convention instead
4970 of the docstring to discourage use of the `restriction' arg.
4971
15a1e936
DU
49722013-10-03 Daiki Ueno <ueno@gnu.org>
4973
4974 * epg.el (epg-verify-file): Add a comment saying that it does not
4975 notify verification error as a return value nor a signal.
4976 (epg-verify-string): Ditto.
4977
376f862a
KR
49782013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4979
4980 * progmodes/compile.el (compilation-start): Try globbing the arg to
4981 `cd' (bug#15417).
4982
a2f93a5f
MA
49832013-10-02 Michael Albinus <michael.albinus@gmx.de>
4984
4985 Sync with Tramp 2.2.8.
4986
4987 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4988 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4989 * net/trampver.el: Update release number.
4990
0daa0804
JD
49912013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4992
4993 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4994 and default-process-coding-system for darwin only.
4995
abd1ae34
SM
49962013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4999
be4e325d
MH
50002013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5001
5002 * vc/vc-git.el (vc-git-grep): Disable pager.
5003
e9155c4a
DG
50042013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5005
494e898b
DG
5006 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5007 Use :url instead of :homepage, as per
5008 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5009
e9155c4a
DG
5010 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5011 non-nil, use `syntax-ppss' (Bug#15251).
5012
481a8e0f
RS
50132013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5014
be4e325d
MH
5015 * progmodes/octave.el (inferior-octave-startup-file):
5016 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 5017
056453c6
DG
50182013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5019
be4e325d
MH
5020 * emacs-lisp/package.el (package-desc-from-define):
5021 Accept additional arguments as plist, convert them to an alist and store
5022 them in the `extras' slot.
056453c6
DG
5023 (package-generate-description-file): Convert extras alist back to
5024 plist and append to the `define-package' form arguments.
5025 (package--alist-to-plist): New function.
5026 (package--ac-desc): Add `extras' slot.
5027 (package--add-to-archive-contents): Check if the archive-contents
5028 vector is long enough, and if it is, pass its `extras' slot value
5029 to `package-desc-create'.
5030 (package-buffer-info): Call `lm-homepage', pass the returned value
5031 to `package-desc-from-define'.
5032 (describe-package-1): Render the homepage button (Bug#13291).
5033
be4e325d
MH
5034 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5035 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 5036
832966e5
JD
50372013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5038
5039 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5040 and default-process-coding-system to utf-8-unix (Bug#15402).
5041
6cfe977d
XF
50422013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5043
5044 * subr.el (looking-back): Do not recommend using looking-back.
5045
38de11bd
AM
50462013-09-28 Alan Mackenzie <acm@muc.de>
5047
5048 Fix indentation/fontification of Java enum with "implements".
5049
5050 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5051 regexp which matches "implements", etc., in Java.
5052 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5053 specifier clauses coming after "enum".
5054 * progmodes/cc-fonts.el (c-font-lock-declarations)
5055 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5056 after "enum".
5057
1610938f
JD
50582013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5059
5060 * faces.el (region): Change ns_selection_color to
5061 ns_selection_fg_color, add ns_selection_bg_color.
5062
e090f499
LL
50632013-09-28 Leo Liu <sdl.web@gmail.com>
5064
4d2e94d1
LL
5065 * progmodes/octave.el (inferior-octave-completion-table)
5066 (inferior-octave-completion-at-point): Minor tweaks.
5067
e090f499
LL
5068 * textmodes/ispell.el (ispell-lookup-words): Rename from
5069 lookup-words. (Bug#15460)
5070 (lookup-words): Obsolete.
5071 (ispell-complete-word, ispell-command-loop): All uses changed.
5072
7e138a62
RS
50732013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5074
a12bf61e 5075 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
5076 (octave-mode-menu): Add octave-send-buffer.
5077 (octave-send-buffer): New function.
5078
5af5ed08
RS
50792013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5080
a12bf61e 5081 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
5082 octave-lookfor.
5083 (octave-mode-menu): Add octave-lookfor.
5084 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5085 octave-lookfor.
5086 (octave-lookfor): New function.
5087
3b7b2692
SM
50882013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5089
5090 * emacs-lisp/cl-macs.el:
5091 (cl--loop-destr-temps): Remove.
5092 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5093 its convention.
5094 (cl--loop-set-iterator-function): New function.
5095 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5096 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5097 Bind `it' with `let' instead of substituting it with `cl-subst'.
5098 (cl--unused-var-p): New function.
5099 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5100 Eliminate some unused variable warnings (bug#15326).
5101
529fb53f
TH
51022013-09-27 Tassilo Horn <tsdh@gnu.org>
5103
5104 * doc-view.el (doc-view-scale-reset): Rename from
5105 `doc-view-reset-zoom-level'.
5106 (doc-view-scale-adjust): New command.
5107 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5108 `doc-view-scale-adjust'.
5109
0550c95a
TH
51102013-09-26 Tassilo Horn <tsdh@gnu.org>
5111
5112 * doc-view.el (doc-view-reset-zoom-level): New command.
5113 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5114 zoom commands (bug#15466).
5115
6950f152
KH
51162013-09-26 Kenichi Handa <handa@gnu.org>
5117
5118 * international/quail.el (quail-help): Make it not a command.
5119
39587580
LL
51202013-09-26 Leo Liu <sdl.web@gmail.com>
5121
5122 * minibuffer.el (completion-all-sorted-completions): Make args
5123 optional as they are.
5124
00578659
DC
51252013-09-25 Daniel Colascione <dancol@dancol.org>
5126
5127 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5128 specs are and that they're not evaluated.
5129
0c173878
SS
51302013-09-24 Sam Steingold <sds@gnu.org>
5131
5132 * midnight.el (clean-buffer-list-kill-regexps)
5133 (clean-buffer-list-kill-buffer-names): Update for the new Man
5134 buffer naming which includes the object name.
5135
84998447
SM
51362013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5137
5138 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5139 (eshell-parse-command, eshell-parse-pipeline): Use it since
5140 eshell-separate-commands requires a dynamic scoped var.
5141 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5142
33215353
LL
51432013-09-23 Leo Liu <sdl.web@gmail.com>
5144
5145 * autoinsert.el (auto-insert-alist): Make the value of
5146 lexical-binding match its file setting.
5147
57b16162
JB
51482013-09-23 Juanma Barranquero <lekktu@gmail.com>
5149
c8af4e67
JB
5150 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5151
57b16162
JB
5152 * autoarg.el (autoarg-kp-digit-argument):
5153 * electric.el (Electric-command-loop):
5154 * kmacro.el (kmacro-step-edit-insert):
5155 Do not set universal-argument-num-events.
5156
7186ba60
LL
51572013-09-22 Leo Liu <sdl.web@gmail.com>
5158
5159 * files.el (interpreter-mode-alist): Add octave.
5160
ece15004
AM
51612013-09-21 Alan Mackenzie <acm@muc.de>
5162
5163 C++: fontify identifier in declaration following "public:" correctly.
5164 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5165 to match "public", etc.
5166 (c-decl-prefix-re): Add ":" into the C++ value.
5167 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5168 bit. Add a check for a ":" preceded by "public", etc.
5169
75d83e22
EZ
51702013-09-21 Eli Zaretskii <eliz@gnu.org>
5171
5172 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5173 recognized by GDB 7.5 and later.
5174
d052d3bd
XF
51752013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5176
5177 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5178
31dca772
R
51792013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5180
5181 * subr.el (internal--call-interactively): New const.
5182 (called-interactively-p): Use it (bug#3984).
5183
98ccf24e
XF
51842013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5185
5186 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
5187 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5188 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 5189
c39cc7d1
SM
51902013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5191
5192 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5193 (eshell-ls-orig-insert-directory): Remove.
5194 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5195 (eshell-ls-use-in-dired): Use advice-add/remove.
5196 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5197 Add `orig-fun' arg for use in :around advice.
5198 Make it check (redundantly) eshell-ls-use-in-dired.
5199
9a0289a2
GM
52002013-09-19 Glenn Morris <rgm@gnu.org>
5201
a2c501b8
GM
5202 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5203
c440407a
GM
5204 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5205
9a0289a2
GM
5206 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5207
85e05915
MA
52082013-09-19 Michael Albinus <michael.albinus@gmx.de>
5209
5210 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5211 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5212 (tramp-get-remote-python): New defuns.
5213 (tramp-get-remote-uid-with-perl)
5214 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5215 contributed by yary <not.com@gmail.com> (tiny change).
5216 (tramp-get-remote-uid-with-python)
5217 (tramp-get-remote-gid-with-python): New defuns. Python code
5218 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5219 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5220
ce503312
GM
52212013-09-19 Glenn Morris <rgm@gnu.org>
5222
f7544773
GM
5223 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5224
72fd2877
GM
5225 * eshell/em-unix.el (eshell-remove-entries):
5226 Rename argument to avoid name-clash with global `top-level'.
5227
336b5a56
GM
5228 * eshell/esh-proc.el (eshell-kill-process-function):
5229 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5230 (eshell-reset-after-proc): Remove unused arg `proc'.
5231
57a3a53d
GM
5232 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5233 (directory-files-and-attributes): Mark unused arg.
5234
3261d4af
GM
5235 * eshell/em-unix.el (eshell-remove-entries):
5236 Remove unused arg `path'. Update callers.
5237
8e51b5d0
GM
5238 * eshell/em-hist.el (eshell-hist-parse-arguments):
5239 Remove unused arg `silent'. Update callers.
5240
ce503312
GM
5241 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5242 Fix (f)boundp mix-up.
5243
5244 * eshell/em-smart.el (eshell-smart-scroll-window)
5245 (eshell-disable-after-change):
336b5a56 5246 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5247
ee3ce8a7
AM
52482013-09-18 Alan Mackenzie <acm@muc.de>
5249
5250 Fix fontification of type when followed by "const".
5251 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5252 "known" types from fontification.
5253
ec9177ba
GM
52542013-09-18 Glenn Morris <rgm@gnu.org>
5255
7bb3e768
GM
5256 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5257 (chart-face-list): Drop Emacsen without display-color-p.
5258
5148da15
GM
5259 * net/eww.el (libxml-parse-html-region): Declare.
5260 (eww-display-html): Explicit error if no libxml2 support.
5261
2f68e157
GM
5262 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5263
9019d095
GM
5264 * image.el (image-type-from-buffer, image-multi-frame-p):
5265 Remove --without-x warning/error.
67645389 5266
5f30349b 5267 * mouse.el (mouse-yank-primary):
45069b2e 5268 * term.el (term-mouse-paste):
5f30349b
GM
5269 Reorder to silence --without-x compilation.
5270
cd8edbbe
GM
5271 * mpc.el (doc-view-mode): Silence --without-x compilation.
5272
8a78544e
GM
5273 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5274 Silence --without-x compilation.
5275
12679bfd
GM
5276 * progmodes/gud.el (gud-find-file, gud-mode):
5277 Silence --without-x compilation.
5278 (tooltip-mode): Declare.
30810a05 5279
f0047cb9
GM
5280 * wdired.el (dired-backup-overwrite): Remove declaration.
5281 (wdired-mode-map): Add doc string.
5282
e740f9d2
GM
5283 * custom.el (x-get-resource): Declare.
5284
92d77c89
GM
5285 * eshell/em-glob.el (ange-cache):
5286 * eshell/em-unix.el (ange-cache): Declare.
5287
76e69577
GM
5288 * faces.el (x-display-list, x-open-connection, x-get-resource):
5289 Declare.
7e58af4b
GM
5290
5291 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5292 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5293 Declare.
76e69577 5294
4bd4c0af 5295 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5296
ffb82dbd
GM
5297 * net/gnutls.el (gnutls-log-level): Declare.
5298
986ed135
GM
5299 * net/shr.el (image-size, image-animate): Declare.
5300
e740f9d2
GM
5301 * simple.el (font-info): Declare.
5302
d2f3e9f8
GM
5303 * subr.el (x-popup-dialog): Declare.
5304
047a1a4c
GM
5305 * term/common-win.el (x-select-enable-primary)
5306 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5307 Declare.
5308
f4a1d572
GM
5309 * term/ns-win.el (x-handle-args): Declare.
5310
e843de77
GM
5311 * term/x-win.el (x-select-enable-clipboard): Declare.
5312
5fa89513
GM
5313 * term/w32-win.el (create-default-fontset): Declare.
5314
38702b5b
GM
5315 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5316 Declare.
5317
e740f9d2
GM
5318 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5319 (fit-frame-to-buffer): Explicit error if --without-x.
5320 (mouse-autoselect-window-select): Silence compiler.
5321
49a053fc
GM
5322 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5323
5324 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5325 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5326 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5327 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5328 Remove unused local variables.
5329
5330 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5331
ec9177ba
GM
5332 * textmodes/two-column.el: Make 2C-split work for --without-x.
5333 (scroll-bar-columns): Autoload.
5334 (top-level): Require fringe when compiling.
5335
9f25cb77
LL
53362013-09-18 Leo Liu <sdl.web@gmail.com>
5337
5338 * subr.el (add-hook): Robustify to handle closure as well.
5339
2b42da98
GM
53402013-09-17 Glenn Morris <rgm@gnu.org>
5341
5342 * simple.el (messages-buffer-mode-map): Unbind "g".
5343
e8b66a6a
SM
53442013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5345
9c0ad4f7
SM
5346 * help-mode.el (help-mode-finish): Use derived-mode-p.
5347 Remove obsolete highlighting.
5348
7a806dfb
SM
5349 * play/life.el (life-mode): Use define-derived-mode. Derive from
5350 special-mode.
5351 (life): Let-bind inhibit-read-only.
5352 (life-setup): Avoid `setq'. Use `life-mode'.
5353
96dbf5a8
SM
5354 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5355 which should not be needed any more.
5356 (package-menu-refresh, package-menu-describe-package): Use user-error.
5357
e8b66a6a
SM
5358 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5359 (eshell-post-rewrite-command-hook): Make obsolete.
5360 (eshell-parse-command): Simplify.
5361 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5362 (eshell--cmd): Declare.
5363 (eshell-parse-pipeline): Remove unused var `final-p'.
5364 Pass a dynvar to eshell-post-rewrite-command-hook.
5365 Implement the new eshell-post-rewrite-command-function.
5366 (eshell-invoke-directly): Remove unused arg `input'.
5367 * eshell/esh-io.el (eshell-io-initialize):
5368 Use eshell-post-rewrite-command-function (bug#15399).
5369 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5370 adjust to new calling convention.
5371 (eshell-create-handles): Rename args to avoid clashing with dynvar
5372 `standard-output'.
5373
90582f05
GM
53742013-09-17 Glenn Morris <rgm@gnu.org>
5375
5376 * simple.el (messages-buffer-mode): New major mode.
5377 (messages-buffer): New function.
5378 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5379 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5380 (ert-run-test): Use `messages-buffer' function.
90582f05 5381 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5382 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5383 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5384
39eb0cb5 53852013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5386
5387 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5388
1d42e5b6 5389 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5390
70568a90
SM
53912013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5392
504a0381
SM
5393 * icomplete.el (icomplete-in-buffer): New var.
5394 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5395 vars and replace them with functions.
5396 (icomplete-minibuffer-setup): Adjust accordingly.
5397 (icomplete--completion-table, icomplete--completion-predicate)
5398 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5399 New functions.
5400 (icomplete-forward-completions, icomplete-backward-completions)
5401 (icomplete-simple-completing-p, icomplete-exhibit)
5402 (icomplete-completions): Use them.
5403 (icomplete--in-region-buffer): New var.
5404 (icomplete--in-region-setup): New function.
5405 (icomplete-mode): Use it.
5406
70568a90
SM
5407 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5408 (bug#15379).
5409 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5410 return args and options.
5411 (eshell-eval-using-options): Use the new return value of
5412 eshell--do-opts to set the options's vars in their scope.
5413 (eshell--set-option): Rename from eshell-set-option.
5414 Add arg `opt-vals'.
5415 (eshell--process-option): Rename from eshell-process-option.
5416 Add arg `opt-vals'.
5417 (eshell--process-args): Use an `opt-vals' alist to store the options's
5418 values during their processing and return them additionally to the
5419 remaining args.
5420
578c21bc
DG
54212013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5422
5423 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5424 continuation character an operator, as far as indentation is
5425 concerned (Bug#15369).
5426
c089653d
MR
54272013-09-15 Martin Rudalics <rudalics@gmx.at>
5428
5429 * window.el (window--state-put-2): Don't process buffer state
5430 when buffer doesn't exist any more (Bug#15382).
5431
1e53bb4b
GM
54322013-09-15 Glenn Morris <rgm@gnu.org>
5433
30753242
GM
5434 * eshell/em-unix.el (eshell/rm):
5435 Make -f ignore missing files. (Bug#15373)
5436
1e53bb4b
GM
5437 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5438 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5439 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5440
0d8863b3
GM
54412013-09-14 Glenn Morris <rgm@gnu.org>
5442
5443 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5444
d3fc6549
GM
54452013-09-13 Glenn Morris <rgm@gnu.org>
5446
5447 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5448 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5449
fcd42c11
DA
54502013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5451
5452 * frame.el (x-focus-frame): Mark as declared in frame.c.
5453
7830899f
SM
54542013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5455
5456 * ls-lisp.el: Use advice-add.
5457 (original-insert-directory): Remove.
5458 (ls-lisp--insert-directory): Rename from insert-directory; add
5459 `orig-fun' argument.
5460 (insert-directory): Advise.
5461
84387cd2
EZ
54622013-09-13 Eli Zaretskii <eliz@gnu.org>
5463
5464 * term.el (term-emulate-terminal): Decode the command string
5465 before passing it to term-command-hook. (Bug#15337)
5466
35ffc6ba
GM
54672013-09-13 Glenn Morris <rgm@gnu.org>
5468
5c3f9bcc
GM
5469 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5470
2ada368a
GM
5471 * eshell/esh-ext.el (eshell-search-path): Declare.
5472
fcef2e13
GM
5473 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5474 Otherwise an error occurs if eshell-dirs module not loaded.
5475
35ffc6ba
GM
5476 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5477
35c3d36e
MA
54782013-09-13 Michael Albinus <michael.albinus@gmx.de>
5479
5480 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5481 `tramp-check-proper-host'. Check for a valid method name.
5482
5483 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5484 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5485 * net/tramp-sh.el (tramp-maybe-open-connection):
5486 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5487
5488 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5489 also for hash values.
5490
ae5e4c48
SM
54912013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5492
379add74
SM
5493 * term/ns-win.el (parameters): Don't declare as dynamic.
5494 (before-make-frame-hook): Don't add ineffective function.
5495
ae5e4c48
SM
5496 * eshell/*.el: Use lexical-binding (bug#15231).
5497
b5623270
KH
54982013-09-12 Kenichi Handa <handa@gnu.org>
5499
ae5e4c48 5500 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5501
30213927
GM
55022013-09-12 Glenn Morris <rgm@gnu.org>
5503
be94d713 5504 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5505 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5506
44915370
GM
5507 * subr.el (do-after-load-evaluation): Also give compiler warnings
5508 when obsolete files are used (except by obsolete files).
5509
a6ae021f
GM
5510 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5511 in the status output, assume `filename' is the first. (Bug#15322)
5512
40e64f0c
GM
5513 * vc/vc.el (vc-deduce-fileset): Doc fix.
5514
16d9f896
GM
5515 * calc/calc-help.el (Info-goto-node):
5516 * progmodes/cperl-mode.el (Info-find-node):
5517 * vc/ediff.el (Info-goto-node): Update declarations.
5518
dea01c6e
GM
5519 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5520
759880bf 5521 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5522 (vc-bzr-pull): Require vc-dispatcher.
5523 * vc/vc-git.el (vc-compilation-mode): Declare.
5524 (vc-git-pull): Require vc-dispatcher.
5525
08d66420
GM
5526 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5527
30b626e9
GM
5528 * progmodes/octave.el (help-button-action): Declare.
5529
8c05cb10
GM
5530 * shell.el (shell-directory-tracker): Output error as a message
5531 rather than just returning it as a string.
5532 (shell-process-pushd): Remove useless use of message.
5533
30213927
GM
5534 * dframe.el (dframe-timer-fn):
5535 * files.el (dir-locals-read-from-file):
5536 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5537 (mpc-format):
5538 * reveal.el (reveal-post-command):
5539 * saveplace.el (load-save-place-alist-from-file):
5540 * shell.el (shell-resync-dirs):
5541 * w32-common-fns.el (x-get-selection-value):
5542 * emacs-lisp/copyright.el (copyright-find-copyright):
5543 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5544 * emulation/tpu-edt.el (tpu-copy-keyfile):
5545 * play/bubbles.el (bubbles--mark-neighbourhood):
5546 * progmodes/executable.el
5547 (executable-make-buffer-file-executable-if-script-p):
5548 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5549
d3b049e6
SM
55502013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5551
170266d0
SM
5552 Cleanup Eshell to rely less on dynamic scoping.
5553 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5554 last-value, and ext-command here. Bind `args' closer to `body'.
5555 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5556 (eshell--args): Declare new dynamic var.
5557 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5558 last-value, and ext-command. Pass `args' to `body'.
5559 (eshell-process-args): Bind eshell--args.
5560 (eshell-set-option): Use eshell--args.
5561 * eshell/eshell.el (eshell): Use derived-mode-p.
5562 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5563 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5564 (eshell-glob-function): Declare.
5565 * eshell/esh-util.el: Require cl-lib.
5566 (eshell-read-hosts-file): Avoid add-to-list.
5567 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5568 `err'.
5569 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5570 Declare.
5571 (eshell/diff): Remove unused var `err'.
5572 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5573 `killflag'.
5574 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5575 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5576 first use.
5577 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5578 Move declaration before first use.
5579 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5580 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5581 rely on cl-return.
5582
56834f3b
GM
55832013-09-12 Glenn Morris <rgm@gnu.org>
5584
5585 * term/ns-win.el (global-map): Remove binding for ispell-next,
5586 deleted 1999-05-29. (Bug#15357)
5587
5c91a2b8
GM
55882013-09-11 Glenn Morris <rgm@gnu.org>
5589
da712f22
GM
5590 * echistory.el (electric-command-history): Remove call to deleted func.
5591
512e4cdc
GM
5592 * play/landmark.el (landmark-mode): Fix typos.
5593
d3506ca5
GM
5594 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5595 Check cvs-sort-ignore-file is bound.
5596
5c91a2b8
GM
5597 * savehist.el: No need for cl when compiling on Emacs.
5598
feeff482
SM
55992013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5600
656bd483
SM
5601 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5602 (bug#15338).
d3b049e6
SM
5603 (eshell-self-insert-command, eshell-send-invisible):
5604 Remove unused argument.
656bd483
SM
5605 (eshell-handle-control-codes): Remove unused var `orig'.
5606 Avoid delete-backward-char.
5607
feeff482
SM
5608 * files.el (set-auto-mode): Simplify a bit further.
5609
2a08047a
GM
56102013-09-11 Glenn Morris <rgm@gnu.org>
5611
5612 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5613 (set-auto-mode): Don't regexp-quote elements.
5614 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5615 * progmodes/cc-mode.el (interpreter-mode-alist):
5616 * progmodes/ruby-mode.el (interpreter-mode-alist):
5617 Revert previous change.
5618
34675540
SM
56192013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5620
1b3b87df
SM
5621 * play/snake.el (snake-mode):
5622 * play/mpuz.el (mpuz-mode):
5623 * play/landmark.el (lm-mode):
5624 * play/blackbox.el (blackbox-mode):
5625 * play/5x5.el (5x5-mode):
5626 * obsolete/options.el (Edit-options-mode):
5627 * net/quickurl.el (quickurl-list-mode):
5628 * net/newst-treeview.el (newsticker-treeview-mode):
5629 * mail/rmailsum.el (rmail-summary-mode):
5630 * mail/mspools.el (mspools-mode):
5631 * locate.el (locate-mode):
5632 * ibuffer.el (ibuffer-mode):
5633 * emulation/ws-mode.el (wordstar-mode):
5634 * emacs-lisp/debug.el (debugger-mode):
5635 * array.el (array-mode):
5636 * net/eudc.el (eudc-mode): Use define-derived-mode.
5637 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5638 Move initialization into declaration.
5639 (mairix-searches-mode): Use define-derived-mode.
5640 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5641 (eudc-edit-hotlist): Use dolist.
5642 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5643 (Man-mode): Use define-derived-mode.
5644 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5645 (Info-edit-mode): Use define-derived-mode.
5646 (Info-cease-edit): Use Info-mode.
5647 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5648 into declaration.
5649 (eshell-mode): Use define-derived-mode.
5650 * chistory.el (command-history-mode-map): Rename from
5651 command-history-map.
5652 (command-history-mode): Use define-derived-mode.
da712f22 5653 (Command-history-setup): Remove function.
1b3b87df
SM
5654 * calc/calc.el (calc-trail-mode-map): New var.
5655 (calc-trail-mode): Use define-derived-mode.
5656 (calc-trail-buffer): Set calc-main-buffer manually.
5657 * bookmark.el (bookmark-insert-annotation): New function.
5658 (bookmark-edit-annotation): Use it.
5659 (bookmark-edit-annotation-mode): Make it a proper major mode.
5660 (bookmark-send-edited-annotation): Use derived-mode-p.
5661 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5662 closer to its ideal place. Use \' to match EOS.
5663
34675540
SM
5664 * profiler.el (profiler-calltree-find): Use function-equal.
5665
6a5c15d9
GM
56662013-09-10 Glenn Morris <rgm@gnu.org>
5667
1af4c220
GM
5668 * files.el (interpreter-mode-alist): Convert to regexps.
5669 (set-auto-mode): Adapt for this. (Bug#15306)
5670 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5671 Comment out unused variable.
5672 * progmodes/cc-mode.el (interpreter-mode-alist):
5673 * progmodes/python.el (interpreter-mode-alist):
5674 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5675 * progmodes/sh-script.el (sh-set-shell):
5676 No longer use interpreter-mode-alist to get list of shells.
5677
6a5c15d9
GM
5678 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5679
8c27f5ff
SM
56802013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5681
02ef6c1a 5682 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5683 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5684 Bind switch-frame explicitly. Replace universal-argument-minus with
5685 a conditional binding.
5686 (universal-argument-num-events, saved-overriding-map): Remove.
5687 (restore-overriding-map): Remove.
5688 (universal-argument--mode): Rename from save&set-overriding-map,
5689 and rewrite.
5690 (universal-argument, universal-argument-more, negative-argument)
5691 (digit-argument): Adjust accordingly.
5692 (universal-argument-minus): Remove.
5693 (universal-argument-other-key): Remove.
5694
8c27f5ff
SM
5695 * subr.el (with-demoted-errors): Add `format' argument.
5696
6480194c
MA
56972013-09-10 Michael Albinus <michael.albinus@gmx.de>
5698
5699 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5700 `tramp-cleanup-connection'.
5701
5702 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5703 parameters KEEP-DEBUG and KEEP-PASSWORD.
5704
5705 * net/tramp.el (tramp-file-name-handler):
5706 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5707 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5708 (tramp-maybe-open-connection):
8c27f5ff
SM
5709 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5710 Use `tramp-cleanup-connection'.
6480194c 5711
8c27f5ff
SM
5712 * net/tramp-sh.el (tramp-maybe-open-connection):
5713 Catch 'uname-changed inside the progress reporter.
6480194c 5714
e5e916d8
GM
57152013-09-10 Glenn Morris <rgm@gnu.org>
5716
9a2c9b47
GM
5717 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5718
e5e916d8
GM
5719 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5720 returns "alternate access method" in mode (eg "-rw-r--r--.").
5721
144e38fe
GM
57222013-09-08 Glenn Morris <rgm@gnu.org>
5723
5724 * saveplace.el (load-save-place-alist-from-file):
5725 Demote errors. (Bug#15305)
5726
af9ff9e8
MA
57272013-09-08 Michael Albinus <michael.albinus@gmx.de>
5728
5729 Improve compatibility with older Emacsen, and XEmacs.
5730
5731 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5732 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5733 (with-tramp-progress-reporter): Do not let-bind `result'.
5734 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5735 (tramp-handle-make-auto-save-file-name): New function, moved from
5736 tramp-sh.el.
5737
5738 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5739 for `make-auto-save-file-name'.
8c27f5ff
SM
5740 (tramp-adb--gnu-switches-to-ash):
5741 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5742
5743 * net/tramp-cache.el (tramp-cache-print): Call
5744 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5745
5746 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5747 bound. It isn't for XEmacs.
5748
8c27f5ff
SM
5749 * net/tramp-compat.el (tramp-compat-copy-file):
5750 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5751 (tramp-compat-replace-regexp-in-string): New defun.
5752
5753 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5754 for `make-auto-save-file-name'.
5755 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5756 `copy-file'.
5757 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5758 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5759 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5760
8c27f5ff
SM
5761 * net/tramp-gw.el (tramp-gw-open-network-stream):
5762 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5763
8c27f5ff
SM
5764 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5765 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5766 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5767 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5768 (tramp-sh-file-inotifywait-process-filter):
5769 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5770 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5771
5772 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5773 for `make-auto-save-file-name'.
8c27f5ff
SM
5774 (tramp-smb-handle-copy-directory):
5775 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5776 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5777 (tramp-smb-handle-copy-file): Improve error message.
5778 (tramp-smb-handle-rename-file): Rename directly only in case
5779 `newname' does not exist yet. This is a restriction of smbclient.
5780 (tramp-smb-maybe-open-connection): Rerun the function only when
5781 `auth-sources' is non-nil.
5782
0ca754d0
KH
57832013-09-08 Kenichi Handa <handa@gnu.org>
5784
e0eb0550 5785 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5786 more characters.
5787
e8dd0787
AM
57882013-09-07 Alan Mackenzie <acm@muc.de>
5789
5790 Correctly fontify Java class constructors.
5791 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5792 in Java Mode.
5793 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5794 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5795 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5796 "typeless" declaration there.
5797
f2f248e7
RW
57982013-09-07 Roland Winkler <winkler@gnu.org>
5799
5800 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5801 field subtitle for entry type book.
5802
67982e2b
SM
58032013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5804
5805 * minibuffer.el: Make minibuffer-complete call completion-in-region
5806 rather than other way around.
5807 (completion--some, completion-pcm--find-all-completions):
5808 Don't delay signals when debugging.
5809 (minibuffer-completion-contents): Beware fields within the
5810 minibuffer contents.
5811 (completion-all-sorted-completions): Use defvar-local.
5812 (completion--do-completion, completion--cache-all-sorted-completions)
5813 (completion-all-sorted-completions, minibuffer-force-complete):
5814 Add args `beg' and `end'.
5815 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5816 (minibuffer-complete): Use completion-in-region.
5817 (completion-complete-and-exit): New fun, extracted from
5818 minibuffer-complete-and-exit.
5819 (minibuffer-complete-and-exit): Use it.
5820 (completion--complete-and-exit): Rename from
5821 minibuffer--complete-and-exit.
5822 (completion-in-region--single-word): New function, extracted from
5823 minibuffer-complete-word.
5824 (minibuffer-complete-word): Use it.
5825 (display-completion-list): Make `common-substring' argument obsolete.
5826 (completion--in-region): Call completion--in-region-1 instead of
5827 minibuffer-complete.
5828 (completion-help-at-point): Pass boundaries to
5829 minibuffer-completion-help as args rather than via an overlay.
5830 (completion-pcm--string->pattern): Use `any-delim'.
5831 (completion-pcm--optimize-pattern): New function.
5832 (completion-pcm--pattern->regex): Handle `any-delim'.
5833 * icomplete.el (icomplete-forward-completions)
5834 (icomplete-backward-completions, icomplete-completions):
5835 Adjust calls to completion-all-sorted-completions and
5836 completion--cache-all-sorted-completions.
5837 (icomplete-with-completion-tables): Default to t.
5838 * emacs-lisp/crm.el (crm--current-element): Rename from
5839 crm--select-current-element. Don't put an overlay but return the
5840 boundaries instead.
5841 (crm--completion-command): Take two new args to bind to the boundaries.
5842 (crm-completion-help): Adjust accordingly.
5843 (crm-complete): Use completion-in-region.
5844 (crm-complete-word): Use completion-in-region--single-word.
5845 (crm-complete-and-exit): Use completion-complete-and-exit.
5846
e17d94a5
SM
58472013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5848
5849 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5850 than dynamically.
5851
96727100
JL
58522013-09-06 Juri Linkov <juri@jurta.org>
5853
5854 * info.el (Info-display-images-node): When image file doesn't exist
5855 display text version of the image if it's provided in the Info file.
5856 Otherwise, display the location of missing image from SRC attribute.
5857 Add help-echo text property from ALT attribute. (Bug#15279)
5858
86cf7329
SM
58592013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5860
5861 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5862 (edit-abbrevs-mode): Use define-derived-mode.
5863
5864 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5865 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5866 that it's defined.
5867 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5868 Use define-derived-mode.
5869
5870 * epg.el (epg-start-encrypt): Minor CSE simplification.
5871
816244a2
WX
58722013-09-06 William Xu <william.xwl@gmail.com>
5873
5874 * arc-mode.el: Add support for 7za (bug#15264).
5875 (archive-7z-program): New var.
5876 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5877 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5878 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5879
1486fa31
MA
58802013-09-06 Michael Albinus <michael.albinus@gmx.de>
5881
5882 Remove URL syntax.
5883
5884 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5885 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5886 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5887 (tramp-postfix-host-format, tramp-file-name-regexp)
5888 (tramp-completion-file-name-regexp)
5889 (tramp-completion-dissect-file-name)
5890 (tramp-handle-substitute-in-file-name): Remove 'url case.
5891 (tramp-file-name-regexp-url)
5892 (tramp-completion-file-name-regexp-url): Remove constants.
5893
39785324
GM
58942013-09-06 Glenn Morris <rgm@gnu.org>
5895
5896 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5897
1f896cb7
DG
58982013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5899
5900 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5901 keywords" below "here-doc beginnings" (Bug#15270).
5902
c0458e0b
SM
59032013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 * subr.el (pop): Use `car-safe'.
5906 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5907 to detect unused `pop' return value.
5908
5909 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5910 var `block-regexp'.
5911 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5912 (python-fill-string): Remove unused var `marker'.
5913 (python-skeleton-add-menu-items): Remove unused var `items'.
5914
5915 * international/mule-cmds.el: Require CL.
5916 (find-coding-systems-for-charsets): Avoid add-to-list.
5917 (sanitize-coding-system-list): New function, extracted from
5918 select-safe-coding-system-interactively.
5919 (select-safe-coding-system-interactively): Use it.
5920 (read-input-method-name): Accept symbols for `default'.
5921
5922 * emacs-lisp/advice.el (defadvice): Add indent rule.
5923
6c42fc3e
DH
59242013-09-05 Daniel Hackney <dan@haxney.org>
5925
5926 * dired-x.el:
5927 * net/ange-ftp.el:
5928 * net/browse-url.el:
5929 * net/dbus.el:
5930 * net/eudc.el:
5931 * net/eudcb-ldap.el:
5932 * net/eww.el:
5933 * net/imap.el:
5934 * printing.el:
5935 * vc/ediff-diff.el:
5936 * vc/ediff-init.el:
5937 * vc/ediff-merg.el:
5938 * vc/ediff-mult.el:
5939 * vc/ediff-util.el:
5940 * vc/ediff-wind.el:
5941 * vc/ediff.el:
5942 * vc/emerge.el:
5943 * vc/pcvs.el:
5944 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5945 byte compiler. Remove some unused let-bound variables.
5946
4c528aab
SM
59472013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5948
5949 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5950 a "ref-cell", since it gets better optimized (bug#14883).
5951
bd15c390
GM
59522013-09-05 Glenn Morris <rgm@gnu.org>
5953
5954 * progmodes/cc-awk.el (c-forward-sws): Declare.
5955
1c3ac2e5
GM
59562013-09-04 Glenn Morris <rgm@gnu.org>
5957
5958 * generic-x.el [rul-generic-mode]: Require cc-mode.
5959 (c++-mode-syntax-table): Declare.
5960 (rul-generic-mode-syntax-table): Init in the defvar.
5961
52b1cc79
SM
59622013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5963
c828af56
SM
5964 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5965 (vc-do-command, vc-set-async-update):
5966 * vc/vc-mtn.el (vc-mtn-dir-status):
5967 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5968 (vc-hg-pull, vc-hg-merge-branch):
5969 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5970 (vc-git-merge-branch):
5971 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5972 (vc-cvs-dir-status-files):
5973 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5974 (vc-bzr-dir-status-files):
5975 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5976 * vc/vc-annotate.el: Use lexical-binding.
5977 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5978 (vc-sentinel-movepoint): Declare.
5979 (vc-annotate): Don't use `goto-line'.
5980 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5981 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5982 (vc-sentinel-movepoint): Declare.
5983 * vc/vc-svn.el: Use lexical-binding.
5984 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5985 * vc/vc-sccs.el:
5986 * vc/vc-rcs.el: Use lexical-binding.
5987
abae272c
SM
5988 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5989 `deleted'. Don't drop errors silently.
5990
52b1cc79
SM
5991 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5992
63191d9f
XF
59932013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5994
5995 * vc/vc.el (vc-ignore): Rewrite.
5996 (vc-default-ignore): New function.
5997 (vc-default-ignore-completion-table): Use find-ignore-file.
5998
5999 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6000 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6001 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6002 Remove. Most code moved to vc.el.
6003
9d3f707c
SM
60042013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6005
abae272c 6006 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
6007 * net/tramp-smb.el (tramp-smb-get-file-entries):
6008 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6009 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6010
fde38d49
SM
6011 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6012 Update call to it.
6013 (eww-change-select): Remove unused var `properties'.
6014 (eww-make-unique-file-name): Remove unused var `base'.
6015
6016 * finder.el (finder-compile-keywords): Don't mess with windows.
6017
84032db7
SM
6018 * calculator.el (calculator-funcall): Fix typo in last change.
6019
724f5e41
SM
6020 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6021
14b511d4
SM
6022 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6023 <pkg>-autoloads.el file stop us.
6024
9d3f707c 6025 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 6026 warnings, and factor out common code.
9d3f707c 6027
88527bc0
DG
60282013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6029
6030 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6031 two-character operators and whether the character preceding them
6032 changes their meaning (Bug#15208).
6033
96edb677
FEG
60342013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6035
6036 Format code sent to Python shell for robustness.
9d3f707c
SM
6037 * progmodes/python.el (python-shell-buffer-substring):
6038 New function.
96edb677
FEG
6039 (python-shell-send-region, python-shell-send-buffer): Use it.
6040
95beaef3
MA
60412013-09-02 Michael Albinus <michael.albinus@gmx.de>
6042
6043 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6044 * net/tramp.el (tramp-user-error): ... here.
6045 (tramp-find-method, tramp-check-proper-host)
6046 (tramp-dissect-file-name, tramp-debug-message)
6047 (tramp-handle-shell-command):
6048 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6049 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6050
6051 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6052
f167c27b
MR
60532013-09-02 Martin Rudalics <rudalics@gmx.at>
6054
6055 * avoid.el (mouse-avoidance-point-position)
6056 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6057 returns nil.
6058
cd16c5f1
FEG
60592013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6060
6061 * progmodes/python.el (python-shell-completion-get-completions):
6062 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 6063 (python-nav-if-name-main): New command.
cd16c5f1 6064
e73c3a0d
GM
60652013-09-01 Glenn Morris <rgm@gnu.org>
6066
f8ccce03
GM
6067 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6068 Avoid leading space in $wins. Otherwise the sed command used by
6069 eg compile-main ends up containing "/*.el". (Bug#15170)
6070
e73c3a0d
GM
6071 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6072
415f808e
GM
60732013-08-30 Glenn Morris <rgm@gnu.org>
6074
6075 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6076 Fix is-this-a-directory logic. (Bug#15220)
6077
f069bba8
SM
60782013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6079
112798c1
SM
6080 * textmodes/css-mode.el: Use SMIE.
6081 (css-smie-grammar): New var.
6082 (css-smie--forward-token, css-smie--backward-token)
6083 (css-smie-rules): New functions.
6084 (css-mode): Use them.
6085 (css-navigation-syntax-table): Remove var.
6086 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6087 (css-indent-calculate, css-indent-line): Remove functions.
6088
6089 Misc changes to reduce use of `(lambda...); and other cleanups.
6090 * cus-edit.el: Use lexical-binding.
6091 (customize-push-and-save, customize-apropos)
6092 (custom-buffer-create-internal): Use closures.
6093 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6094 * progmodes/ada-xref.el: Use setq.
6095 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6096 * dframe.el: Use lexical-binding.
6097 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6098 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6099 * descr-text.el: Use lexical-binding.
6100 (describe-text-widget, describe-text-sexp, describe-property-list):
6101 Use closures.
6102 * comint.el (comint-history-isearch-push-state): Use a closure.
6103 * calculator.el: Use lexical-binding.
6104 (calculator-number-to-string): Make it work with lexical-binding.
6105 (calculator-funcall): Same and use cl-letf.
6106
2da4c3ab
SM
6107 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6108 (lisp--company-doc-string, lisp--company-location): New functions.
6109 (lisp-completion-at-point): Use them to improve Company support.
6110
f069bba8
SM
6111 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6112 params of lambda expressions.
6113 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6114 (ruby-smie--opening-pipe-p): New function.
6115 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6116 symbols and matched |...| for formal params.
6117 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6118 from being treated as hanging. Handle "rescue".
6119
6758b6a8
GM
61202013-08-29 Glenn Morris <rgm@gnu.org>
6121
6122 * progmodes/cc-engine.el (c-pull-open-brace):
6123 Move definition before use.
6124
e8dfd197
SM
61252013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6126
6127 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6128 are immutable. Don't use `unsafe' any more.
6129 (cl--defsubst-expand): Don't substitute at the same time as keeping
6130 a residual unused let-binding. Don't use `unsafe' any more.
6131
cc585c96
GM
61322013-08-29 Glenn Morris <rgm@gnu.org>
6133
ba579ea6
GM
6134 * calendar/cal-china.el (calendar-chinese-year-cache):
6135 Recenter on 2015.
6136
8201a87e
GM
6137 * nxml/nxml-util.el (nxml-debug-clear-inside):
6138 Use cl-loop rather than loop.
6139
6ee877c7
GM
6140 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6141
cc585c96
GM
6142 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6143
27be8d39
GM
61442013-08-28 Glenn Morris <rgm@gnu.org>
6145
397440a1
GM
6146 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6147
2bb762d4
GM
6148 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6149
27be8d39
GM
6150 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6151
2d69b99e
SM
61522013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6153
f663baa7
SM
6154 * simple.el (repeat-complex-command--called-interactively-skip):
6155 New function.
6156 (repeat-complex-command): Use it (bug#14136).
6157
dd4f8b74
SM
6158 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6159 (c-define-abbrev-table): Add `doc' argument.
6160 (c-mode-abbrev-table, c++-mode-abbrev-table)
6161 (objc-mode-abbrev-table, java-mode-abbrev-table)
6162 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6163 (awk-mode-abbrev-table): Use it.
6164 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6165 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6166 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6167 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6168 Move initialization into the declaration; and remove any
6169 autoload cookie.
6170
b58969f7
SM
6171 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6172 and dynamic let binding.
6173
4021d6a6
SM
6174 * vc/smerge-mode.el: Remove redundant :group args.
6175
2d69b99e
SM
6176 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6177 to load-path.
6178
274919fd
JL
61792013-08-28 Juri Linkov <juri@jurta.org>
6180
6181 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6182 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6183 (isearch-other-meta-char): Handle an undefined shifted printing
6184 character by downshifting it. (Bug#15200)
6185
121f8c95
JL
61862013-08-28 Juri Linkov <juri@jurta.org>
6187
6188 * isearch.el (isearch-search): Change regexp error message for
6189 non-regexp searches. (Bug#15166)
6190
50b13cde
PE
61912013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6192
6193 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6194 for portability to hosts where /bin/sh has problems.
6195
95888bca
SM
61962013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6197
6198 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6199
bbe558f1
JL
62002013-08-27 Juri Linkov <juri@jurta.org>
6201
6202 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6203 in the keyboard macro. (Bug#15126)
6204
26f98a7d
JL
62052013-08-27 Juri Linkov <juri@jurta.org>
6206
6207 * isearch.el (isearch-quote-char): Comment out converting unibyte
6208 to multibyte, thus syncing with its `quoted-insert' counterpart.
6209 (Bug#15166)
6210
7c97d35e
MR
62112013-08-27 Martin Rudalics <rudalics@gmx.at>
6212
6213 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
6214 argument in call of get-largest-window (Bug#15185).
6215 Reported by Stephen Leake.
7c97d35e 6216
a0b5606e 62172013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
6218
6219 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6220
9e89d835
SM
62212013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6224 from a matcher-function unless there's no more matches (bug#15161).
6225
78fc2530
MA
62262013-08-26 Michael Albinus <michael.albinus@gmx.de>
6227
6228 * minibuffer.el: Revert change from 2013-08-20.
6229
6230 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6231 with text property `tramp-default', if appropriate.
6232 (tramp-check-proper-host): New defun.
6233 (tramp-dissect-file-name): Do not check hostname. Revert change
6234 of 2013-03-18.
6235 (tramp-backtrace): Make VEC-OR-PROC optional.
6236
6237 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6238 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6239 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6240 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6241 Apply `tramp-check-proper-host'.
78fc2530 6242
edca97cd
TH
62432013-08-26 Tassilo Horn <tsdh@gnu.org>
6244
6245 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6246 lambda expression in order to have `describe-variable' display it.
6247
df54bcbd
MA
62482013-08-26 Michael Albinus <michael.albinus@gmx.de>
6249
6250 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6251 BUF can be optional. (Bug#15186)
6252
eed99101
XF
62532013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6254
6255 * progmodes/flymake.el (flymake-get-real-file-name-function):
6256 Fix broken customization. (Bug#15184)
6257
b5eb9035
AM
62582013-08-25 Alan Mackenzie <acm@muc.de>
6259
8a51e842
AM
6260 Improve indentation of bracelists defined by macros (without "=").
6261
6262 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6263 expansion begins with "{", regard it as bracelist when it doesn't
6264 contain a ";".
6265
869455d4
AM
6266 Parse C++ inher-intro when there's a template split over 2 lines.
6267
6268 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6269 rigorously the search for "class" etc. followed by ":".
6270
6271 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6272 random languages a regexp which never matches rather than nil.
6273
b5eb9035
AM
6274 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6275
6276 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6277 (c-awk-regexp-one-line-possibly-open-char-list-re)
6278 (c-awk-one-line-possibly-open-regexp-re)
6279 (c-awk-one-line-non-syn-ws*-re): Remove.
6280 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6281 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6282 (c-awk-space*-unclosed-regexp-/-re): New constants.
6283 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6284 aren't regexp delimiters.
6285
6286 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6287 handling for a rare situation in AWK Mode involving unterminated
6288 strings/regexps.
6289
61611d54
GM
62902013-08-23 Glenn Morris <rgm@gnu.org>
6291
2d85dc34
GM
6292 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6293
cb8d2612
GM
6294 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6295
bb35f42f
GM
6296 * files.el (create-file-buffer): If the result would begin with
6297 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6298
b9808e77
SM
62992013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6300
e3a66363
SM
6301 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6302 text-properties (bug#15155).
6303
b9808e77
SM
6304 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6305 exist any more.
6306 (calc-keypad-redraw): Remove unused var `pad'.
6307 (calc-keypad-press): Remove unused var `menu'.
6308
7fd5f65e
MR
63092013-08-23 Martin Rudalics <rudalics@gmx.at>
6310
b9808e77
SM
6311 * window.el (display-buffer-pop-up-frame):
6312 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6313 use it as the new frame's buffer (Bug#15133).
6314
8352b530
SM
63152013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6316
6317 * calendar/timeclock.el: Minor cleanups.
6318 (timeclock-ask-before-exiting, timeclock-use-display-time):
6319 Use `symbol'.
6320 (timeclock-modeline-display): Define as alias before the
6321 actual definition.
6322 (timeclock-mode-line-display): Use define-minor-mode.
6323 (timeclock-day-list-template): Make it a function, add an argument.
6324 (timeclock-day-list-required, timeclock-day-list-length)
6325 (timeclock-day-list-debt, timeclock-day-list-span)
6326 (timeclock-day-list-break): Adjust calls accordingly.
6327
9f7b1925
SM
63282013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6329
6330 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6331 Use read--expression so that completion works again.
6332
6e50e983
SS
63332013-08-21 Sam Steingold <sds@gnu.org>
6334
6335 Add rudimentary inferior shell interaction
6336 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6337 (sh-set-shell): Reset it.
9f7b1925
SM
6338 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6339 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6340
dbb0d350
SM
63412013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * align.el: Use lexical-binding.
6344 (align-region): Simplify accordingly.
6345
c88586a9
MA
63462013-08-20 Michael Albinus <michael.albinus@gmx.de>
6347
6348 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6349
6350 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6351 `non-essential' up.
6352
f95527c8
MA
63532013-08-17 Michael Albinus <michael.albinus@gmx.de>
6354
6355 * net/tramp.el:
6356 * net/tramp-adb.el:
6357 * net/tramp-cmds.el:
6358 * net/tramp-ftp.el:
6359 * net/tramp-gvfs.el:
6360 * net/tramp-gw.el:
6361 * net/tramp-sh.el: Don't wrap external variable declarations by
6362 `eval-when-compile'.
6363
4b5fe4ee
LMI
63642013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6365
6366 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6367 now that Emacs supports ImageMagick animations.
6368
13c366c9
MA
63692013-08-16 Michael Albinus <michael.albinus@gmx.de>
6370
6371 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6372 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6373
3dfc5cd6
MR
63742013-08-16 Martin Rudalics <rudalics@gmx.at>
6375
6376 * window.el (mouse-autoselect-window-select): Do autoselect when
6377 mouse pointer is on margin.
6378
4bbb4381
WP
63792013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6380
6381 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6382
3a2ddc2d
GM
63832013-08-16 Glenn Morris <rgm@gnu.org>
6384
e8bedf5a
GM
6385 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6386 Handle "Remote Directory" response of some clients. (Bug#15058)
6387
58c4682f
GM
6388 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6389 Tweak warning. (Bug#14926)
6390
57953f49
GM
6391 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6392 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6393
3a2ddc2d
GM
6394 * image-mode.el (image-mode-map): Add menu items to reverse,
6395 increase, decrease, reset animation speed.
6396 (image--set-speed, image-increase-speed, image-decrease-speed)
6397 (image-reverse-speed, image-reset-speed): New functions.
6398 (image-mode-map): Add bindings for speed commands.
6399
6400 * image.el (image-animate-get-speed, image-animate-set-speed):
6401 New functions.
6402 (image-animate-timeout): Respect image :speed property.
6403
10fa0ed3
SM
64042013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6405
6406 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6407 previous line (bug#15101).
6408 (debugger-eval-expression, debugger-record-expression):
6409 Use read--expression (bug#15102).
6410
5d89d9d2
MA
64112013-08-15 Michael Albinus <michael.albinus@gmx.de>
6412
6413 Remove byte compiler warnings, visible when compiling with
6414 `byte-compile-force-lexical-warnings' set to t.
6415
6416 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6417 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6418 (tramp-handle-unhandled-file-name-directory)
6419 (tramp-handle-file-notify-add-watch, tramp-action-login)
6420 (tramp-action-succeed, tramp-action-permission-denied)
6421 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6422 arguments with "_".
6423
6424 * net/tramp-adb.el (tramp-adb-parse-device-names)
6425 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6426 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6427 (tramp-adb-handle-file-truename): Remove unused arguments.
6428
6429 * net/tramp-cache.el (tramp-flush-directory-property)
6430 (tramp-flush-connection-property, tramp-list-connections)
6431 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6432
10fa0ed3
SM
6433 * net/tramp-compat.el (tramp-compat-make-temp-file):
6434 Rename FILENAME to F.
5d89d9d2
MA
6435
6436 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6437 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6438 (tramp-zeroconf-parse-workstation-device-names)
6439 (tramp-zeroconf-parse-webdav-device-names)
6440 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6441
6442 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6443 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6444
6445 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6446 arguments.
6447 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6448 (tramp-sh-handle-insert-file-contents-literally)
6449 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6450 with "_".
6451 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6452 Remove unused variables.
6453
6454 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6455 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6456 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6457
6458 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6459 Make them a defconst.
6460 (tramp-uuencode-region): Remove unused variable.
6461
62f33bae
JB
64622013-08-14 Juanma Barranquero <lekktu@gmail.com>
6463
6464 * frameset.el (frameset--prop-setter): New function.
6465 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6466 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6467 parameter was already set in FILTERED. Doc fix.
6468 (frameset--record-minibuffer-relationships): Allow saving a
6469 minibufferless frame without its corresponding minibuffer frame.
6470 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6471 frame, if the frame id matches.
6472 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6473 frames before orphaned ones.
6474 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6475
c660a885
MR
64762013-08-14 Martin Rudalics <rudalics@gmx.at>
6477
6478 * window.el (window-make-atom): Don't overwrite parameter
6479 already present.
6480 (display-buffer-in-atom-window): Handle special case where we
6481 split an already atomic window.
6482 (window--major-non-side-window, display-buffer-in-side-window)
6483 (window--side-check): Ignore minibuffer window when walking
6484 window tree.
6485 (window-deletable-p): Return 'frame only if no other frame uses
6486 our minibuffer window.
6487 (record-window-buffer): Run buffer-list-update-hook.
6488 (split-window): Make sure window--check-frame won't destroy an
6489 existing atomic window in case the new window gets nested
6490 inside.
6491 (display-buffer-at-bottom): Ignore minibuffer window when
6492 walking window tree. Don't split a side window.
6493 (pop-to-buffer): Don't set-buffer here, the select-window call
6494 should do that.
6495 (mouse-autoselect-window-select): Autoselect only if we are in the
6496 text portion of the window.
6497
8259030d
LMI
64982013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6499
21c58ae2
LMI
6500 * net/shr.el (shr-parse-image-data): New function to grab both the
6501 data itself and the Content-Type.
6502 (shr-put-image): Use it.
6503
6504 * net/eww.el (eww-display-image): Ditto.
6505
8259030d
LMI
6506 * image.el (image-content-type-suffixes): New variable.
6507
ad756449
FEG
65082013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6509
6510 * progmodes/python.el (python-imenu--build-tree)
6511 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6512
f73f4ce6
XF
65132013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6514
6515 * simple.el (backward-word): Mention the optional argument.
6516
1f585e65
SM
65172013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6518
6519 * frameset.el (frameset--make): Rename constructor from make-frameset.
6520 (frameset-p, frameset-valid-p): Don't autoload.
6521 (frameset-valid-p): Use normal accessors.
6522
af1c6c84
GM
65232013-08-13 Glenn Morris <rgm@gnu.org>
6524
55e47f95
GM
6525 * progmodes/compile.el (compile-command): Tweak example in doc.
6526 * obsolete/scribe.el (scribe-mode):
6527 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6528
f0024d8c
GM
6529 * mail/feedmail.el (feedmail-confirm-outgoing)
6530 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6531
6532 * cus-start.el (truncate-partial-width-windows): Fix type.
6533
6534 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6535
af1c6c84
GM
6536 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6537
5514cc4c
SM
65382013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * emacs-lisp/timer.el (timer--time-setter): New function.
6541 (timer--time): Use it as gv-setter.
6542
6543 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6544 setter is not a symbol.
6545
7997a2f1
GJ
65462013-08-12 Grégoire Jadi <daimrod@gmail.com>
6547
6548 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6549 if sending fails. This makes debugging easier.
6550
01f1a9ab
JB
65512013-08-12 Juanma Barranquero <lekktu@gmail.com>
6552
6553 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6554 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6555 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6556
594a4307
EZ
65572013-08-12 Eli Zaretskii <eliz@gnu.org>
6558
6559 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6560
7a22490f 65612013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6562
6563 * format.el (format-annotate-function):
6564 Handle read-only text properties in the source. (Bug#14887)
6565
3e41a054
LMI
65662013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6567
5514cc4c
SM
6568 * net/eww.el (eww-display-html): Ignore coding system errors.
6569 One web site uses "utf-8lias" as the coding system.
3e41a054 6570
7ec326db
JB
65712013-08-11 Juanma Barranquero <lekktu@gmail.com>
6572
6573 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6574
5660113b
JB
65752013-08-10 Juanma Barranquero <lekktu@gmail.com>
6576
9a4ebc74
JB
6577 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6578 (tutorial--detailed-help): Remove unused local variables.
6579 (tutorial--save-tutorial-to): Use ignore-errors.
6580 (help-with-tutorial): Use looking-at-p.
6581
6582 * view.el (view-buffer-other-window, view-buffer-other-frame):
6583 Mark unused arguments.
6584
6585 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6586 (woman-select-symbol-fonts, woman, woman-find-file)
6587 (woman-insert-file-contents, woman-non-underline-faces):
6588 Use string-match-p.
6589 (woman1-unquote): Move declaration.
6590
6591 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6592 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6593 argument. Remove unused local variable.
6594 (xml-parse-elem-type): Use string-match-p.
6595 (xml-substitute-numeric-entities): Use ignore-errors.
6596
45fdb482
JB
6597 * calculator.el (calculator): Mark unused argument.
6598 (calculator-paste, calculator-quit, calculator-integer-p):
6599 Use ignore-errors.
6600 (calculator-string-to-number, calculator-decimal, calculator-exp)
6601 (calculator-op-or-exp): Use string-match-p.
6602
6603 * dired.el (dired-buffer-more-recently-used-p): Declare.
6604 (dired-insert-set-properties, dired-insert-old-subdirs):
6605 Use ignore-errors.
6606
6607 * dired-aux.el (dired-compress): Use ignore-errors.
6608 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6609 (dired-do-async-shell-command, dired-do-shell-command)
6610 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6611 (dired-insert-subdir-validate): Use string-match-p.
6612 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6613 (dired-add-entry): Use string-match-p, looking-at-p.
6614 (dired-insert-subdir-newpos): Remove unused local variable.
6615
6616 * filenotify.el (file-notify-callback): Remove unused local variable.
6617
6618 * filesets.el (filesets-error): Mark unused argument.
6619 (filesets-which-command-p, filesets-filter-dir-names)
6620 (filesets-directory-files, filesets-get-external-viewer)
6621 (filesets-ingroup-get-data): Use string-match-p.
6622
6623 * find-file.el (ff-other-file-name, ff-other-file-name)
6624 (ff-find-the-other-file, ff-cc-hh-converter):
6625 Remove unused local variables.
6626 (ff-get-file-name): Use string-match-p.
6627 (ff-all-dirs-under): Use ignore-errors.
6628
6629 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6630 (follow-select-if-visible): Remove unused local variable.
6631
6632 * forms.el (read-file-filter): Move declaration.
6633 (forms--make-format, forms--make-parser, forms-insert-record):
6634 Quote function with #'.
6635 (forms--update): Use string-match-p. Quote function with #'.
6636
6637 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6638 (help-make-xrefs): Use looking-at-p.
6639 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6640
6641 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6642 (ibuffer-confirm-operation-on): Use string-match-p.
6643
6644 * msb.el (msb-item-handler, msb-dired-item-handler):
6645 Mark unused arguments.
6646
6647 * ses.el (ses-decode-cell-symbol)
6648 (ses-kill-override): Remove unused local variable.
6649 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6650 (ses-load): Use ignore-errors, looking-at-p.
6651 (ses-jump-safe): Use ignore-errors.
6652 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6653
6654 * tabify.el (untabify, tabify): Mark unused arguments.
6655
6656 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6657 Mark unused argument.
6658 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6659 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6660
c880af52
JB
6661 * emacs-lisp/timer.el (timer--time): Define setter with
6662 gv-define-setter to avoid deprecation warning.
6663
5660113b 6664 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6665 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6666 (cmpl-statistics-block): Remove (body was commented out).
6667 All callers changed.
6668 (add-completions-from-buffer, load-completions-from-file):
6669 Remove unused variables.
6670
156aab80
JB
66712013-08-09 Juanma Barranquero <lekktu@gmail.com>
6672
5c5dee78
JB
6673 * filecache.el (file-cache-delete-file-list):
6674 Print message only when told so.
6675 (file-cache-files-matching): Use #' in mapconcat argument.
6676
156aab80
JB
6677 * ffap.el (ffap-url-at-point): Fix reference to variable
6678 thing-at-point-default-mail-uri-scheme.
6679
ad9dcd70
SM
66802013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6681
54bd972f
SM
6682 * subr.el (define-error): New function.
6683 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6684 error-file-not-found and define with define-error.
6685 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6686 and define with define-error.
6687 * userlock.el (file-locked, file-supersession):
6688 * simple.el (mark-inactive):
6689 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6690 * progmodes/ada-mode.el (ada-mode-errors):
6691 * play/life.el (life-extinct):
6692 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6693 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6694 * nxml/rng-util.el (rng-error):
6695 * nxml/rng-uri.el (rng-uri-error):
6696 * nxml/rng-match.el (rng-compile-error):
6697 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6698 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6699 * nxml/nxml-rap.el (nxml-scan-error):
6700 * nxml/nxml-outln.el (nxml-outline-error):
6701 * net/soap-client.el (soap-error):
6702 * net/gnutls.el (gnutls-error):
6703 * net/ange-ftp.el (ftp-error):
6704 * mpc.el (mpc-proc-error):
6705 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6706 (json-number-format, json-string-escape, json-string-format)
6707 (json-key-format, json-object-format):
6708 * jka-compr.el (compression-error):
6709 * international/quail.el (quail-error):
6710 * international/kkc.el (kkc-error):
6711 * emacs-lisp/ert.el (ert-test-failed):
6712 * calc/calc.el (calc-error, inexact-result, math-overflow)
6713 (math-underflow):
6714 * bookmark.el (bookmark-error-no-filename):
6715 * epg.el (epg-error): Define with define-error.
6716
0ea9e53a
SM
6717 * time.el (display-time-event-handler)
6718 (display-time-next-load-average): Don't call sit-for since it seems
6719 unnecessary (bug#15045).
6720
b0429158
SM
6721 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6722 Use #' instead of ' to quote functions.
6723 (checkdoc-output-mode): Use setq-local.
6724 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6725 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6726 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6727 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6728 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6729 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6730 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6731 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6732
ad9dcd70
SM
6733 * ido.el (ido-completion-help): Fix up compiler warning.
6734
77187e6f
JB
67352013-08-09 Juanma Barranquero <lekktu@gmail.com>
6736
6737 * frameset.el (frameset-p): Add autoload cookie.
6738 (frameset--jump-to-register): New function, based on code moved from
6739 register.el.
6740 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6741
6742 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6743 (frameset-restore, frameset-save, frameset-session-filter-alist):
6744 Remove declarations.
6745 (register-alist): Doc fix.
6746 (frameset-to-register): Move to frameset.el.
6747 (jump-to-register, describe-register-1): Remove frameset-specific code.
6748
9d3aa82c
JB
67492013-08-08 Juanma Barranquero <lekktu@gmail.com>
6750
6751 * allout-widgets.el (allout-widgets-pre-command-business)
6752 (allout-widgets-post-command-business)
6753 (allout-widgets-after-change-handler)
6754 (allout-decorate-item-and-context, allout-set-boundary-marker)
6755 (allout-body-modification-handler)
6756 (allout-graphics-modification-handler): Mark ignored arguments.
6757 (allout-widgets-post-command-business)
6758 (allout-widgets-exposure-change-processor)
6759 (allout-widgets-exposure-undo-processor)
6760 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6761 (allout-parse-item-at-point, allout-decorate-item-guides)
6762 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6763 * allout.el (epa-passphrase-callback-function): Declare.
6764 (allout-overlay-insert-in-front-handler)
6765 (allout-overlay-interior-modification-handler)
6766 (allout-isearch-end-handler, allout-chart-siblings)
6767 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6768 (allout-yank-processing, allout-process-exposed)
6769 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6770 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6771 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6772 (lisp-indent-defform): Mark ignored arguments.
6773 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6774 (calculate-lisp-indent): Remove unused variables.
6775 * international/characters.el (indian-2-column, arabic-2-column)
6776 (tibetan): Mark ignored arguments.
6777 (use-cjk-char-width-table): Mark ignored arguments.
6778 Remove unused variables.
6779 * international/fontset.el (build-default-fontset-data)
6780 (x-compose-font-name, create-fontset-from-fontset-spec):
6781 Mark ignored arguments.
6782 (fontset-plain-name): Remove unused variables.
6783 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6784 (keyboard-coding-system): Mark ignored arguments.
6785 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6786 * help.el (resize-temp-buffer-window):
6787 * window.el (display-buffer-in-major-side-window)
6788 (display-buffer-in-side-window, display-buffer-in-previous-window):
6789 Remove unused variables.
6790 * isearch.el (isearch-forward-symbol):
6791 * version.el (emacs-bzr-version-bzr):
6792 * international/mule-cmds.el (current-language-environment):
6793 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6794 (x-handle-display):
6795 * term/pc-win.el (x-list-fonts, x-display-planes)
6796 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6797 (x-server-version, x-display-screens, x-display-mm-height)
6798 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6799 (x-selection-owner-p, x-own-selection-internal)
6800 (x-disown-selection-internal, x-get-selection-internal)
6801 (msdos-initialize-window-system):
6802 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6803 * term/x-win.el (x-handle-no-bitmap-icon):
6804 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6805 (vc-default-find-file-hook, vc-default-extra-menu):
6806 Mark ignored arguments.
6807
0ca3f70e
SM
68082013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6811 break-condition in the context of the debugged code (bug#12685).
6812
74c5d24c
CS
68132013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6814
6815 * comint.el:
6816 Do not use an overlay to highlight the last prompt. (Bug#14744)
6817 (comint-mode): Make comint-last-prompt buffer local.
6818 (comint-last-prompt): New variable.
6819 (comint-last-prompt-overlay): Remove. Superseded by
6820 comint-last-prompt.
0ca3f70e
SM
6821 (comint-snapshot-last-prompt, comint-output-filter):
6822 Use comint-last-prompt.
74c5d24c 6823
c03c02ee
JB
68242013-08-08 Juanma Barranquero <lekktu@gmail.com>
6825
a3738d20 6826 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6827 (frameset-save): Check validity of the resulting frameset.
6828
04263d23
XF
68292013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6830
6831 * ido.el (ido-record-command): Add doc string.
6832
76c5e5ab
JB
68332013-08-08 Juanma Barranquero <lekktu@gmail.com>
6834
6835 * frameset.el (frameset): Do not disable creation of the default
6836 frameset-p predicate. Doc fix.
6837 (frameset-valid-p): New function, copied from the old predicate-p.
6838 Add additional checks.
6839 (frameset-restore): Check with frameset-valid-p.
6840 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6841 (frameset-name, frameset-description, frameset-properties)
6842 (frameset-states): Add docstring.
f9dbf1cb
JB
6843 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6844 (frameset-filter-alist): Doc fixes.
76c5e5ab 6845
bd0c3c0b
JB
68462013-08-08 Juanma Barranquero <lekktu@gmail.com>
6847
6848 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6849
c735544c
SM
68502013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6851
6852 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6853 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6854 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6855 (byte-compile-normal-call): Remove obsolescence check.
6856
2805a651
JB
68572013-08-08 Juanma Barranquero <lekktu@gmail.com>
6858
3677ffeb
JB
6859 * frameset.el (frameset-restore): Doc fix.
6860
2805a651
JB
6861 * register.el (frameset-frame-id, frameset-frame-with-id)
6862 (frameset-p, frameset-restore, frameset-save): Declare.
6863 (register-alist): Document framesets.
6864 (frameset-session-filter-alist): Declare.
6865 (frameset-to-register): New function.
6866 (jump-to-register): Implement jumping to framesets. Doc fix.
6867 (describe-register-1): Describe framesets.
6868
6869 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6870
a912c016
JB
68712013-08-07 Juanma Barranquero <lekktu@gmail.com>
6872
6873 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6874 Use lexical-binding.
6875
6876 * frameset.el (frameset): Use type vector, not list (incompatible
6877 change). Do not declare a new constructor, use the default one.
6878 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6879 `name' and `description', respectively, and add read-only slot
6880 `timestamp'. Doc fixes.
6881 (frameset-copy, frameset-persistent-filter-alist)
6882 (frameset-filter-alist, frameset-switch-to-gui-p)
6883 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6884 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6885 (frameset-filter-iconified, frameset-keep-original-display-p):
6886 Doc fixes.
6887 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6888 Rename from frameset-filter-(save|restore)-param. All callers changed.
6889 Doc fix.
6890 (frameset-p): Adapt to change to vector and be more thorough.
6891 Change arg name to OBJECT. Doc fix.
6892 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6893 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6894 All callers changed.
6895 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6896 All callers changed.
6897 (frameset--record-minibuffer-relationships): Rename from
6898 frameset--process-minibuffer-frames. All callers changed.
6899 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6900 Use new default constructor (again). Doc fix.
6901 (frameset--find-frame-if): Rename from `frameset--find-frame.
6902 All callers changed.
6903 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6904 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6905 Doc fix.
6906 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6907 PARAMETERS and WINDOW-STATE, respectively.
6908 (frameset-restore): Add new keyword argument PREDICATE.
6909 Reset frameset--target-display to nil. Doc fix.
6910
bb41480a
SM
69112013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6912
f001e98e
SM
6913 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6914 (bat-mode): Use it.
6915 (bat-mode-syntax-table): Mark \n as end-of-comment.
6916 (bat-font-lock-keywords): Remove comment rule.
6917
7679edb1
SM
6918 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6919 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6920
bb41480a
SM
6921 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6922 (byte-compile-callargs-warn): Use `push'.
6923 (byte-compile-arglist-warn): Ignore higher-order "calls".
6924 (byte-compile-file-form-autoload): Use `pcase'.
6925 (byte-compile-function-form): If quoting a symbol, check that it exists.
6926
cdc1ebb9
EZ
69272013-08-07 Eli Zaretskii <eliz@gnu.org>
6928
6929 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6930 and add a few popular commands found in batch files.
6931 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6932 (dos-mode): Doc fixes.
6933
312b1740
SM
69342013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6935
6936 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6937 (dos-mode): Use setq-local. Add space after "rem".
6938 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6939 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6940
400a3178
AM
69412013-08-07 Arni Magnusson <arnima@hafro.is>
6942
6943 * progmodes/dos.el: New file.
6944 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6945 dos-mode.
6946
3b5c03d3
GM
69472013-08-06 Glenn Morris <rgm@gnu.org>
6948
6949 * calendar/calendar.el: Add new faces, and day-header-array.
6950 (calendar-weekday-header, calendar-weekend-header)
6951 (calendar-month-header): New faces.
6952 (calendar-day-header-construct): New function.
6953 (calendar-day-header-width): Also :set calendar-day-header-array.
6954 (calendar-american-month-header, calendar-european-month-header)
6955 (calendar-iso-month-header): Use calendar- faces.
6956 (calendar-generate-month):
6957 Use calendar-day-header-array for day headers; apply faces to them.
6958 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6959 (calendar-abbrev-construct): Add optional maxlen argument.
6960 (calendar-day-name-array): Doc fix.
6961 (calendar-day-name-array, calendar-abbrev-length)
6962 (calendar-day-abbrev-array):
6963 Also :set calendar-day-header-array, and maybe redraw.
6964 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6965 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6966 (calendar-day-name): Add option to use header array.
6967
ec6a2d7a
LMI
69682013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6969
6970 * net/shr.el (shr-render-td): Remove debugging.
6971 (shr-render-td): Make width computation consistent by defaulting
6972 all zero-width columns to 10 characters. This may not be optimal,
6973 but it's at least consistent.
2122cb6d
LMI
6974 (shr-make-table-1): Redo last change to fix the real problem in
6975 colspan handling.
ec6a2d7a 6976
ed4fd9c5
DA
69772013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6978
0ca3f70e
SM
6979 * files.el (cache-long-line-scans):
6980 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6981
64e22afe
JB
69822013-08-06 Juanma Barranquero <lekktu@gmail.com>
6983
024b38fc
JB
6984 * frameset.el (frameset, frameset-filter-alist)
6985 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6986 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6987 (frameset-compute-pos): Rename from frameset--compute-pos,
6988 and add docstring.
6989 (frameset-move-onscreen): Use frameset-compute-pos.
6990 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6991
64e22afe
JB
6992 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6993 Fix typos in docstrings.
6994
c8c2aca8
DA
69952013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6996
6997 * frame.el (get-other-frame): Tiny cleanup.
6998
1d237bba
JB
69992013-08-06 Juanma Barranquero <lekktu@gmail.com>
7000
8951efef
JB
7001 * vc/vc.el (vc-default-ignore-completion-table):
7002 Silence byte-compiler warning.
7003
307764cc 7004 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 7005 slot, which can indeed be nil.
307764cc
JB
7006 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7007 Move entry for `left' from persistent to live filter alist.
7008 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7009 Doc fixes.
7010 (frameset-filter-params): When restoring a frame, copy items added to
7011 `filtered', to avoid unwittingly modifying the original parameters.
7012 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7013 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7014
1d237bba
JB
7015 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7016 to use looking-at-p instead of looking-at. (Bug#15028)
7017
dc6c0eda
SM
70182013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7019
7020 Revert introduction of isearch-filter-predicates (bug#14714).
7021 Rely on add-function instead.
7022 * isearch.el (isearch-filter-predicates): Rename it back to
7023 isearch-filter-predicate.
7024 (isearch-message-prefix): Use advice-function-mapc and advice
7025 properties to get the isearch-message-prefix.
7026 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7027 instead of run-hook-with-args-until-failure.
7028 (isearch-filter-visible): Not obsolete any more.
7029 * loadup.el: Preload nadvice.
7030 * replace.el (perform-replace): Revert to funcall
7031 instead of run-hook-with-args-until-failure.
7032 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7033 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7034 dired-isearch-filenames-toggle; make it into a proper minor mode.
7035 Use add/remove-function.
7036 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7037 Call the minor-mode rather than add/remove-hook.
7038 (dired-isearch-filter-filenames):
7039 Remove isearch-message-prefix property.
7040 * info.el (Info--search-loop): New function, extracted from Info-search.
7041 Funcall isearch-filter-predicate instead of
7042 run-hook-with-args-until-failure isearch-filter-predicates.
7043 (Info-search): Use it.
7044 (Info-mode): Use isearch-filter-predicate instead of
7045 isearch-filter-predicates.
7046
290d5b58
DA
70472013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7048
7049 Do not call to `selected-window' where it is assumed by default.
7050 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7051 `window-hscroll', `window-width', `window-height', `window-buffer',
7052 `window-frame', `window-start', `window-point', `next-window'
7053 and `window-display-table'.
7054 * abbrev.el (abbrev--default-expand):
7055 * bs.el (bs--show-with-configuration):
7056 * buff-menu.el (Buffer-menu-mouse-select):
7057 * calc/calc.el (calc):
7058 * calendar/calendar.el (calendar-generate-window):
7059 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7060 (diary-make-entry):
7061 * comint.el (send-invisible, comint-dynamic-complete-filename)
7062 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7063 * completion.el (complete):
7064 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7065 * disp-table.el (describe-current-display-table):
7066 * doc-view.el (doc-view-insert-image):
7067 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7068 * ehelp.el (with-electric-help):
7069 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7070 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7071 * emacs-lisp/helper.el (Helper-help-scroller):
7072 * emulation/cua-base.el (cua--post-command-handler-1):
7073 * eshell/esh-mode.el (eshell-output-filter):
7074 * ffap.el (ffap-gnus-wrapper):
7075 * help-macro.el (make-help-screen):
7076 * hilit-chg.el (highlight-compare-buffers):
7077 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7078 * hl-line.el (global-hl-line-highlight):
7079 * icomplete.el (icomplete-simple-completing-p):
7080 * isearch.el (isearch-done):
7081 * jit-lock.el (jit-lock-stealth-fontify):
7082 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 7083 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
7084 * mpc.el (mpc-tagbrowser, mpc):
7085 * net/rcirc.el (rcirc-any-buffer):
7086 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7087 * play/landmark.el (landmark-max-width, landmark-max-height):
7088 * play/zone.el (zone):
7089 * progmodes/compile.el (compilation-goto-locus):
7090 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7091 * progmodes/etags.el (find-tag-other-window):
7092 * progmodes/fortran.el (fortran-column-ruler):
7093 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7094 * progmodes/verilog-mode.el (verilog-point-text):
7095 * reposition.el (reposition-window):
7096 * rot13.el (toggle-rot13-mode):
7097 * server.el (server-switch-buffer):
7098 * shell.el (shell-dynamic-complete-command)
7099 (shell-dynamic-complete-environment-variable):
7100 * simple.el (insert-buffer, set-selective-display)
7101 (delete-completion-window):
7102 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7103 (speedbar-recenter):
7104 * startup.el (fancy-splash-head):
7105 * textmodes/ispell.el (ispell-command-loop):
7106 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7107 * tutorial.el (help-with-tutorial):
7108 * vc/add-log.el (add-change-log-entry):
7109 * vc/compare-w.el (compare-windows):
7110 * vc/ediff-help.el (ediff-indent-help-message):
7111 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7112 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7113 (ediff-setup-control-frame):
7114 * vc/emerge.el (emerge-position-region):
7115 * vc/pcvs-util.el (cvs-bury-buffer):
7116 * window.el (walk-windows, mouse-autoselect-window-select):
7117 * winner.el (winner-set-conf, winner-undo): Related users changed.
7118
38276e01
JB
71192013-08-05 Juanma Barranquero <lekktu@gmail.com>
7120
7121 * frameset.el (frameset--set-id): Doc fix.
7122 (frameset-frame-id, frameset-frame-id-equal-p)
7123 (frameset-locate-frame-id): New functions.
7124 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7125 (frameset-restore): Use them.
7126
12b4c0ea
DA
71272013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7128
7129 Do not call to `selected-frame' where it is assumed by default.
7130 Affected functions are `raise-frame', `redraw-frame',
7131 `frame-first-window', `frame-terminal' and `delete-frame'.
7132 * calendar/appt.el (appt-disp-window):
7133 * epg.el (epg-wait-for-completion):
7134 * follow.el (follow-delete-other-windows-and-split)
7135 (follow-avoid-tail-recenter):
7136 * international/mule.el (set-terminal-coding-system):
7137 * mail/rmail.el (rmail-mail-return):
7138 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7139 * progmodes/f90.el (f90-add-imenu-menu):
7140 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7141 * server.el (server-switch-buffer):
7142 * simple.el (delete-completion-window):
7143 * talk.el (talk):
7144 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7145 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7146 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7147 * vc/ediff.el (ediff-documentation): Related users changed.
7148 * frame.el (selected-terminal): Remove the leftover.
7149
17f25e76
GM
71502013-08-05 Glenn Morris <rgm@gnu.org>
7151
7152 * calendar/calendar.el (calendar-generate-month):
7153 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
7154 (calendar-generate-month, calendar-font-lock-keywords):
7155 Fix for calendar-day-header-width > length of any day name.
17f25e76 7156
063233c3
JB
71572013-08-05 Juanma Barranquero <lekktu@gmail.com>
7158
7159 * desktop.el (desktop-clear): Use new name of sort predicate.
7160
7161 * frameset.el (frameset): Add docstring. Move :version property to its
7162 own `version' slot.
7163 (frameset-copy): Rename from copy-frameset.
7164 (frameset-p): Check more thoroughly.
7165 (frameset-prop): Do not check for :version, which is no longer a prop.
7166 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7167 Use new :never value instead of t.
7168 (frameset-filter-alist): Expand and clarify docstring.
7169 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7170 (frameset-filter-minibuffer, frameset-filter-save-param)
7171 (frameset-filter-restore-param, frameset-filter-iconified):
7172 Add pointer to docstring of frameset-filter-alist.
7173 (frameset-filter-params): Rename filter values to be more meaningful:
7174 :never instead of t, and reverse the meanings of :save and :restore.
7175 (frameset--process-minibuffer-frames): Clarify error message.
7176 (frameset-save): Avoid unnecessary and confusing call to framep.
7177 Use new BOA constructor for framesets.
7178 (frameset--reuse-list): Doc fix.
7179 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7180 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7181 (frameset-minibufferless-first-p): Doc fix.
7182 Rename from frameset-sort-frames-for-deletion.
7183 (frameset-restore): Doc fixes. Use new function names.
7184 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7185
d5671a82
JB
71862013-08-04 Juanma Barranquero <lekktu@gmail.com>
7187
7188 * desktop.el (desktop-restore-forces-onscreen)
7189 (desktop-restore-reuses-frames): Document :keyword constant values.
7190 (desktop-filter-parameters-alist): Remove, now identical to
7191 frameset-filter-alist.
7192 (desktop--filter-tty*): Remove, moved to frameset.el.
7193 (desktop-save-frameset, desktop-restore-frameset):
7194 Do not pass :filters argument.
7195
7196 * frameset.el (frameset-live-filter-alist)
7197 (frameset-persistent-filter-alist): New variables.
7198 (frameset-filter-alist): Use them. Add autoload cookie.
7199 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7200 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7201 `frameset--id' (it's supposed to be internal to frameset.el).
7202 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7203 (frameset--initial-params): New function.
7204 (frameset--get-frame): Use it. Doc fix.
7205 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7206 Accept :all, not 'all.
7207 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7208 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7209 with fbound symbols. Fix frame id matching, and remove matching ids if
7210 the frame being restored is deleted. Obey :delete.
7211
671d5c16
SM
72122013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7213
7214 * subr.el (macrop): New function.
7215 (text-clone--maintaining): New var.
7216 (text-clone--maintain): Rename from text-clone-maintain. Use it
7217 instead of inhibit-modification-hooks.
7218
7219 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7220 a proxy, so as handle autoloads and redefinitions of the target.
7221 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7222
7223 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7224 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7225 (pcase--mutually-exclusive-p): New function.
7226 (pcase--split-consp): Use it.
7227 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7228 mutually exclusive with the current predicate.
7229
7230 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7231 (edebug-macrop): Remove. Use `macrop' instead.
7232 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7233 (ad-macro-p):
7234 * eshell/esh-cmd.el (eshell-macrop):
7235 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7236
1d44e9dc
SM
72372013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7238
7239 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7240 (advice-mapc): New function, using it.
7241 (advice-function-member-p): New function.
7242 (advice--normalize): Store the cdr in advice--saved-rewrite since
7243 that's the part that will be changed.
7244 (advice--symbol-function): New function.
7245 (advice-remove): Handle removal before the function is defined.
7246 Adjust to new advice--saved-rewrite.
7247 (advice-member-p): Use advice-function-member-p and
7248 advice--symbol-function.
7249
5414a283
JB
72502013-08-04 Juanma Barranquero <lekktu@gmail.com>
7251
51d30f2c
JB
7252 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7253 (frameset-filter-minibuffer): Doc fix.
7254 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7255 (frameset--set-id, frameset--process-minibuffer-frames)
7256 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7257 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7258
5414a283
JB
7259 * desktop.el (desktop-clear): Only delete frames when called
7260 interactively and desktop-restore-frames is non-nil. Doc fix.
7261 (desktop-read): Set desktop-saved-frameset to nil.
7262
ab419665
XF
72632013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7264
7265 * vc/vc.el (vc-ignore): Rewrite.
7266 (vc-default-ignore-completion-table):
7267 (vc--read-lines):
7268 (vc--add-line, vc--remove-regexp): New functions.
7269
7270 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7271 (vc-svn-ignore-completion-table): New function.
7272
7273 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7274 (vc-hg-ignore-completion-table):
7275 (vc-hg-find-ignore-file): New functions.
7276
7277 * vc/vc-git.el (vc-git-ignore): Rewrite.
7278 (vc-git-ignore-completion-table):
7279 (vc-git-find-ignore-file): New functions.
7280
7281 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7282
7283 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7284 (vc-bzr-ignore-completion-table):
7285 (vc-bzr-find-ignore-file): New functions.
7286
2613dea2
JB
72872013-08-03 Juanma Barranquero <lekktu@gmail.com>
7288
7289 * frameset.el (frameset-prop): New function and setter.
7290 (frameset-save): Do not modify frame list passed by the caller.
7291
9c959872
SM
72922013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7293
7294 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7295
a104f656
SM
72962013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7297
70122acf
SM
7298 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7299 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7300
a104f656
SM
7301 * custom.el (custom-initialize-default, custom-initialize-set)
7302 (custom-initialize-reset, custom-initialize-changed): Affect the
7303 toplevel-default-value (bug#6275, bug#14586).
7304 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7305 for bug#6275.
7306
f078d570
JB
73072013-08-02 Juanma Barranquero <lekktu@gmail.com>
7308
185e3b5a
JB
7309 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7310 Add cl-def* expressions.
7311
f078d570
JB
7312 * frameset.el (frameset-filter-params): Fix order of arguments.
7313
9421876d
JB
73142013-08-02 Juanma Barranquero <lekktu@gmail.com>
7315
7316 Move code related to saving frames to frameset.el.
7317 * desktop.el: Require frameset.
7318 (desktop-restore-frames): Doc fix.
7319 (desktop-restore-reuses-frames): Rename from
7320 desktop-restoring-reuses-frames.
7321 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7322 (desktop-clear): Clear frames too.
7323 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7324 (desktop--filter-tty*, desktop-save, desktop-read):
7325 Use frameset functions.
7326 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7327 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7328 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7329 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7330 (desktop--process-minibuffer-frames, desktop-save-frames)
7331 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7332 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7333 (desktop--sort-states, desktop-restoring-frames-p)
7334 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7335 (desktop-restoring-frameset-p, desktop-restore-frameset)
7336 (desktop--check-dont-save, desktop-save-frameset): New functions.
7337 (desktop--app-id): New constant.
7338 (desktop-first-buffer, desktop-buffer-ok-count)
7339 (desktop-buffer-fail-count): Move before first use.
7340 * frameset.el: New file.
7341
76dc5996
SM
73422013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7343
7344 * files.el: Use lexical-binding.
7345 (dir-locals-read-from-file): Remove unused `err' variable.
7346 (hack-dir-local-variables--warned-coding): New var.
7347 (hack-dir-local-variables): Use it to avoid repeated warnings.
7348 (make-backup-file-name--default-function): New function.
7349 (make-backup-file-name-function): Use it as default.
7350 (buffer-stale--default-function): New function.
7351 (buffer-stale-function): Use it as default.
7352 (revert-buffer-insert-file-contents--default-function): New function.
7353 (revert-buffer-insert-file-contents-function): Use it as default.
7354 (insert-directory): Avoid add-to-list.
7355
7356 * autorevert.el (auto-revert-handler): Simplify.
7357 Use buffer-stale--default-function.
7358
06d36e2b
TH
73592013-08-01 Tassilo Horn <tsdh@gnu.org>
7360
5f648ab4
TH
7361 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7362
06d36e2b
TH
7363 * whitespace.el (whitespace-ensure-local-variables): New function.
7364 (whitespace-cleanup-region): Call it.
7365 (whitespace-turn-on): Call it.
7366
a43dc424
MA
73672013-08-01 Michael Albinus <michael.albinus@gmx.de>
7368
7369 Complete file name handlers.
7370
7371 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7372 (tramp-handle-verify-visited-file-modtime)
7373 (tramp-handle-file-notify-rm-watch): New functions.
7374 (tramp-call-process): Do not bind `default-directory'.
7375
44e18199
JB
7376 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7377 Order alphabetically.
a43dc424
MA
7378 [access-file, add-name-to-file, dired-call-process]:
7379 [dired-compress-file, file-acl, file-notify-rm-watch]:
7380 [file-ownership-preserved-p, file-selinux-context]:
7381 [make-directory-internal, make-symbolic-link, set-file-acl]:
7382 [set-file-selinux-context, set-visited-file-modtime]:
7383 [verify-visited-file-modtime]: Add handler.
7384 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7385
7386 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7387 [file-notify-add-watch, file-notify-rm-watch]:
7388 [set-file-times, set-visited-file-modtime]:
7389 [verify-visited-file-modtime]: Add handler.
7390 (with-tramp-gvfs-error-message)
7391 (tramp-gvfs-handle-set-visited-file-modtime)
7392 (tramp-gvfs-fuse-file-name): Remove.
7393 (tramp-gvfs-handle-file-notify-add-watch)
7394 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7395 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7396
44e18199
JB
7397 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7398 Order alphabetically.
a43dc424
MA
7399 [file-notify-rm-watch ]: Use default Tramp handler.
7400 [executable-find]: Remove private handler.
7401 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7402 `default-directory'.
7403 (tramp-sh-handle-executable-find)
7404 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7405 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7406 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7407 Do not use `format' in `tramp-message'.
7408
7409 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7410 [file-notify-rm-watch, set-visited-file-modtime]:
7411 [verify-visited-file-modtime]: Add handler.
7412 (tramp-smb-call-winexe): Do not bind `default-directory'.
7413
7188b515
XF
74142013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7415
7416 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7417
2412ee1a
DG
74182013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7419
7420 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7421 use it.
7422 (log-view-diff-changeset): Same.
7423 (log-view-diff-common): Call backend command `previous-revision'
7424 to find out the previous revision, in both cases. Swap the
7425 variables `to' and `fr', so that `fr' usually refers to the
7426 earlier revision (Bug#14989).
7427
5002a754
KRC
74282013-07-31 Kan-Ru Chen <kanru@kanru.info>
7429
7430 * ibuf-ext.el (ibuffer-filter-by-filename):
7431 Make it work with dired buffers too.
7432
44e18199 74332013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7434
7435 * emacs-lisp/re-builder.el (reb-color-display-p):
7436 * files.el (save-buffers-kill-terminal):
7437 * net/browse-url.el (browse-url):
7438 * server.el (server-save-buffers-kill-terminal):
7439 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7440 Prefer nil to selected-frame for the first arg of frame-parameter.
7441
aeca3fbb
XF
74422013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7443
7444 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7445
158bc55c
SB
74462013-07-30 Stephen Berman <stephen.berman@gmx.net>
7447
7448 * minibuffer.el (completion--twq-all): Try and preserve each
7449 completion's case choice (bug#14907).
7450
d50fceab
LMI
74512013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7452
ac38e731
LMI
7453 * net/network-stream.el (open-network-stream): Mention the new
7454 :nogreeting parameter.
7455 (network-stream-open-starttls): Use the :nogreeting parameter
7456 (bug#14938).
7457
1211de50
LMI
7458 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7459
997798bf
LMI
7460 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7461 more natural than popping.
7462
d50fceab 7463 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7464 (shr-urlify): Highlight under mouse.
d50fceab 7465
5c09de04
XF
74662013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7467
207d1d04
XF
7468 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7469
7470 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7471
5c09de04
XF
7472 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7473 buffer for output.
7474
3cd51eaa
XF
7475 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7476 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7477
44e18199 7478 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7479 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7480
7481 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7482
7483 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7484 buffer for output.
7485
35a89bdd
EZ
74862013-07-29 Eli Zaretskii <eliz@gnu.org>
7487
7488 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7489 initial frame is minibuffer-less. (Bug#14841)
7490
78822e94
MA
74912013-07-29 Michael Albinus <michael.albinus@gmx.de>
7492
7493 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7494 option.
7495
7496 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7497 (tramp-maybe-open-connection): Use it.
7498
9503c190
JB
74992013-07-28 Juanma Barranquero <lekktu@gmail.com>
7500
7501 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7502 minimal set of parameters passed when creating a frame, because
7503 the minibuffer status of a frame cannot be changed later.
7504
d5a845b4
SB
75052013-07-28 Stephen Berman <stephen.berman@gmx.net>
7506
7507 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7508 replace-regexp-in-string and inadvertent omissions in previous change.
7509 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7510 name of filtered items buffer.
d5a845b4 7511
ddeffb17
JB
75122013-07-28 Juanma Barranquero <lekktu@gmail.com>
7513
7514 * desktop.el: Optionally force offscreen frames back onscreen.
7515 (desktop-restoring-reuses-frames): New option.
7516 (desktop--compute-pos, desktop--move-onscreen): New functions.
7517 (desktop--make-frame): Use desktop--move-onscreen.
7518
f5950f7a
AM
75192013-07-27 Alan Mackenzie <acm@muc.de>
7520
7521 Fontify a Java generic method as a function.
7522 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7523 value to t.
7524
ae43b66a
SB
75252013-07-27 Stephen Berman <stephen.berman@gmx.net>
7526
7527 * calendar/todo-mode.el: Add command to rename todo files.
7528 (todo-rename-file): New command.
7529 (todo-key-bindings-t): Add key binding for it. Change the
7530 bindings of todo-filter-regexp-items(-multifile) to use `x'
7531 instead of `r', since the latter is better suited to the new
7532 renaming command.
7533
5ab78d3d
AM
75342013-07-27 Alan Mackenzie <acm@muc.de>
7535
7536 Make Java try-with-resources statement parse properly.
7537 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7538 (c-block-stmt-1-2-key): New language constants/variables.
7539 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7540 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7541 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7542 with c-block-stmt-1-2-key.
5ab78d3d 7543
d85c4d50
JB
75442013-07-27 Juanma Barranquero <lekktu@gmail.com>
7545
7546 * desktop.el (desktop--make-frame): Apply most frame parameters after
7547 creating the frame to force (partially or totally) offscreen frames to
7548 be restored as such.
7549
e4c467f9
XF
75502013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7551
7552 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7553 (Bug#14948)
e4c467f9 7554
7ced0d04
SM
75552013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7556
7557 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7558 `base' arg of backtrace-frame.
7559
fec92060
EZ
75602013-07-26 Eli Zaretskii <eliz@gnu.org>
7561
7562 * simple.el (list-processes): Doc fix.
7563
d58d31fb
JB
75642013-07-26 Juanma Barranquero <lekktu@gmail.com>
7565
7566 * desktop.el (desktop--select-frame):
d85c4d50 7567 Try harder to reuse existing frames.
d58d31fb 7568
53ff3e77
SM
75692013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7570
7571 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7572 (edebug-eval): Use backtrace-eval.
7573 (edebug--display, edebug--recursive-edit): Don't let-bind the
7574 edebug-outer-* vars that keep track of variables we locally let-bind.
7575 (edebug-outside-excursion): Don't restore outside values of locally
7576 let-bound vars.
7577 (edebug--display): Use user-error.
7578 (cl-lexical-debug, cl-debug-env): Remove.
7579
045f7a53
JB
75802013-07-26 Juanma Barranquero <lekktu@gmail.com>
7581
7582 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7583 are restored to be sure that they are visible before deleting any
7584 remaining ones.
7585
59070b32
MM
75862013-07-26 Matthias Meulien <orontee@gmail.com>
7587
742a3501
XF
7588 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7589 vc-print-root-log. (Bug#14948)
59070b32 7590
b1fb3596
RS
75912013-07-26 Richard Stallman <rms@gnu.org>
7592
7593 Add aliases for encrypting mail.
7594 * epa.el (epa-mail-aliases): New option.
7595 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7596 Bind inhibit-read-only so read-only text doesn't ruin everything.
7597 (epa-mail-default-recipients): New subroutine broken out.
7598 Handle epa-mail-aliases.
7599
56ea7291
SM
76002013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 Add support for lexical variables to the debugger's `e' command.
7603 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7604 vars, except for debugger-outer-match-data.
7605 (debugger-frame-number): Move check for "on a function call" from
7606 callers into it. Add `skip-base' argument.
7607 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7608 (debugger-env-macro): Only reset the state stored in non-variables,
7609 i.e. current-buffer and match-data.
7610 (debugger-eval-expression): Rewrite using backtrace-eval.
7611 * subr.el (internal--called-interactively-p--get-frame): Remove.
7612 (called-interactively-p):
7613 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7614 `base' arg of backtrace-frame instead.
7615
15ac32d5
GM
76162013-07-26 Glenn Morris <rgm@gnu.org>
7617
8358a09d
GM
7618 * align.el (align-regexp): Doc fix. (Bug#14857)
7619 (align-region): Explicit error if subexpression missing/does not match.
7620
15ac32d5
GM
7621 * simple.el (global-visual-line-mode):
7622 Do not duplicate the mode lighter. (Bug#14858)
7623
f47ad11b
MR
76242013-07-25 Martin Rudalics <rudalics@gmx.at>
7625
7626 * window.el (display-buffer): In display-buffer bind
7627 split-window-keep-point to t, bug#14829.
7628
02530987
JB
76292013-07-25 Juanma Barranquero <lekktu@gmail.com>
7630
7631 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7632 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7633 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7634 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7635 Change accordingly.
f63ebeb5
JB
7636 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7637 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7638
6ccb9cab 76392013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7640
6ccb9cab 7641 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7642
cb3a56d2
JB
76432013-07-25 Juanma Barranquero <lekktu@gmail.com>
7644
7645 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7646 parameter to modify-frame-parameters if the value has not changed;
7647 this is a workaround for bug#14949.
7648 (desktop--make-frame): On cl-delete-if call, check parameter name,
7649 not full parameter.
7650
7aa7fff0
XF
76512013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7652
7653 * vc/vc.el (vc-ignore): New function.
7654
7655 * vc/vc-svn.el (vc-svn-ignore): New function.
7656
7657 * vc/vc-hg.el (vc-hg-ignore): New function.
7658
7659 * vc/vc-git.el (vc-git-ignore): New function.
7660
7661 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7662 (vc-dir-ignore): New function.
7663
7664 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7665 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7666
7667 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7668
7669 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7670
889acc5c
JB
76712013-07-24 Juanma Barranquero <lekktu@gmail.com>
7672
7673 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7674 (desktop-restore-frames): Warn when deleting an existing frame failed.
7675
86c40970
GM
76762013-07-24 Glenn Morris <rgm@gnu.org>
7677
7678 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7679
d5d3c58a
MA
76802013-07-24 Michael Albinus <michael.albinus@gmx.de>
7681
7682 * filenotify.el (file-notify-supported-p):
7683 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7684 Remove functions.
7685
7686 * autorevert.el (auto-revert-use-notify):
7687 (auto-revert-notify-add-watch):
7688 * net/tramp.el (tramp-file-name-for-operation):
7689 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7690 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7691 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7692 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7693 Remove `file-notify-supported-p' entry.
7694
d100084b
GM
76952013-07-24 Glenn Morris <rgm@gnu.org>
7696
7697 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7698 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7699
ac93e56b
SM
77002013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7701
249eea30
SM
7702 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7703 checked with memq (bug#14935).
7704
ac93e56b
SM
7705 * files.el (revert-buffer-function): Use a non-nil default.
7706 (revert-buffer-preserve-modes): Declare var to
7707 provide access to the `preserve-modes' argument.
7708 (revert-buffer): Let-bind it.
7709 (revert-buffer--default): New function, extracted from revert-buffer.
7710
2cdeb903
SM
77112013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7712
7713 * lpr.el: Signal print errors more prominently.
7714 (print-region-function): Don't default to nil.
7715 (lpr-print-region): New function, extracted from print-region-1.
7716 Check lpr's return value and signal an error in case of problem.
7717 (print-region-1): Use it.
7718 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7719 versions instead.
7720 (ps-printer-name): Default to nil.
7721 (ps-printer-name-option): Default to lpr-printer-switch.
7722 (ps-print-region-function): Don't default to nil.
7723 (ps-postscript-code-directory): Simplify default.
7724 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7725 (ps-string-list, ps-eval-switch, ps-flatten-list)
7726 (ps-flatten-list-1): Remove.
7727 (ps-multibyte-buffer): Avoid setq.
7728 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7729 (print-region-function, ps-print-region-function): Don't set them here.
7730
73600831
XF
77312013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7732
0e55c076
XF
7733 * ido.el (ido-fractionp):
7734 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7735 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7736 (ido-max-directory-size, ido-max-dir-file-cache)
7737 (ido-decorations): Doc fix.
7738
73600831
XF
7739 * ansi-color.el: Fix old URL.
7740
3d012865
MM
77412013-07-23 Michael R. Mauger <michael@mauger.com>
7742
e903c210 7743 * progmodes/sql.el: Version 3.3
3d012865
MM
7744 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7745 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7746 (sql-interactive-remove-continuation-prompt): Rewrite, use
7747 functions above. Fix continuation prompt and complete output line
7748 handling.
7749 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7750 redirected output buffer.
7751 (sql-mode): Restore deleted code (Bug#13591).
7752
da77a2e2
JB
77532013-07-23 Juanma Barranquero <lekktu@gmail.com>
7754
7755 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7756
80ff0c71
MA
77572013-07-23 Michael Albinus <michael.albinus@gmx.de>
7758
7759 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7760
7761 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7762 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7763 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7764
b61d71e4
JB
77652013-07-23 Juanma Barranquero <lekktu@gmail.com>
7766
7767 * desktop.el (desktop-clear): Simplify; remove useless checks
7768 against invalid buffer names.
7769 (desktop-list*): Use cl-list*.
7770 (desktop-buffer-info, desktop-create-buffer): Simplify.
7771
c3512092
LL
77722013-07-23 Leo Liu <sdl.web@gmail.com>
7773
7774 * bookmark.el (bookmark-make-record): Restore NAME as a default
7775 value. (Bug#14933)
7776
0ac26976
SM
77772013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7778
7d22ce18
SM
7779 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7780 extracted from autoload--insert-text.
7781 (autoload--insert-text): Remove.
7782 (autoload--print-cookie-text): New function, extracted from
7783 autoload--insert-cookie-text.
7784 (autoload--insert-cookie-text): Remove.
7785 (autoload-generate-file-autoloads): Adjust calls accordingly.
7786
9b2607e8
SM
7787 * winner.el (winner-hook-installed-p): Remove.
7788 (winner-mode): Simplify accordingly.
7789
c43a8618
SM
7790 * subr.el (add-to-list): Fix compiler-macro when `append' is
7791 not constant. Don't use `cl-member' for the base case.
7792
0ac26976
SM
7793 * progmodes/subword.el: Fix boundary case (bug#13758).
7794 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7795 own group.
7796 (subword-backward-regexp): Make it a constant.
7797 (subword-forward-internal): Don't treat a trailing capital as the
7798 beginning of a word.
7799
6874724a
AR
78002013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7801
7802 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7803 global value of tabulated-list-revert-hook (bug#14930).
7804
70f1b5e8
JB
78052013-07-22 Juanma Barranquero <lekktu@gmail.com>
7806
a1c80d9d
JB
7807 * desktop.el: Require 'cl-lib.
7808 (desktop-before-saving-frames-functions): New hook.
7809 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7810 for frames being saved. Rename from desktop--save-minibuffer-frames.
7811 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7812 Do not save frames with non-nil `desktop-dont-save' parameter.
7813 Filter out deleted frames.
a1c80d9d
JB
7814 (desktop--find-frame): Use cl-find-if.
7815 (desktop--select-frame): Use cl-(first|second|third) to access values
7816 of desktop-mini.
7817 (desktop--make-frame): Use cl-delete-if.
7818 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7819 (desktop-restore-frames): Use cl-(first|second|third) to access values
7820 of desktop-mini. Look for visible frame at the end, not while
7821 restoring frames.
7822
70f1b5e8
JB
7823 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7824 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7825 Use string-match-p, looking-at-p (bug#14927).
7826
728dc3cc
JB
78272013-07-21 Juanma Barranquero <lekktu@gmail.com>
7828
56bc453c
JB
7829 * desktop.el (desktop-saved-frame-states):
7830 Rename from desktop--saved-states; all users changed.
7831 (desktop-save-frames): Rename from desktop--save-frames.
7832 Do not save state to desktop file.
7833 (desktop-save): Save desktop-saved-frame-states to desktop file
7834 and reset to nil.
7835 (desktop-restoring-frames-p): New function.
7836 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7837 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7838 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7839
728dc3cc
JB
7840 * desktop.el: Correctly restore iconified frames.
7841 (desktop--filter-iconified-position): New function.
7842 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7843
862f1c9c
GM
78442013-07-20 Glenn Morris <rgm@gnu.org>
7845
c4074c9f
GM
7846 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7847 Let `message' do the formatting.
7848 (def-gdb-preempt-display-buffer): Add explicit format.
7849
d828e5f9
GM
7850 * image-dired.el (image-dired-track-original-file):
7851 Use with-current-buffer.
7852 (image-dired-track-thumbnail): Use with-current-buffer.
7853 Avoid changing point of wrong window.
7854
862f1c9c
GM
7855 * image-dired.el (image-dired-track-original-file):
7856 Avoid changing point of wrong window. (Bug#14909)
7857
f0398ec1 78582013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7859
7860 * progmodes/gdb-mi.el (gdb-done-or-error):
7861 Guard against "%" in gdb output. (Bug#14127)
7862
1451928f
AS
78632013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7864
763a086d
JB
7865 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7866 (Bug#14826)
f7a03897 7867
1451928f
AS
7868 * international/mule.el (coding-system-iso-2022-flags): Fix last
7869 change.
7870
99107004
KH
78712013-07-20 Kenichi Handa <handa@gnu.org>
7872
763a086d
JB
7873 * international/mule.el (coding-system-iso-2022-flags):
7874 Add `8-bit-level-4'. (Bug#8522)
99107004 7875
48494e06
LMI
78762013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7877
8ba8eec5
LMI
7878 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7879 (bug#14815).
7880
dfbc66e3
LMI
7881 * net/eww.el (eww-process-text-input): Allow inputting when the
7882 point is at the start of the line, as the properties aren't
7883 front-sticky.
7884
48494e06
LMI
7885 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7886 degenerate widths.
7887
77c92cb9
RS
78882013-07-19 Richard Stallman <rms@gnu.org>
7889
aec7da77
RS
7890 * epa.el (epa-popup-info-window): Doc fix.
7891
77c92cb9
RS
7892 * subr.el (split-string): New arg TRIM.
7893
945c5bb1
JB
78942013-07-18 Juanma Barranquero <lekktu@gmail.com>
7895
7896 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7897 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7898
e06ec67f
MA
78992013-07-18 Michael Albinus <michael.albinus@gmx.de>
7900
c7064f05 7901 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7902 `file-notify-support'. Do not autoload. Adapt all uses.
7903 (file-notify-supported-p): New defun.
7904
c7064f05
JB
7905 * autorevert.el (auto-revert-use-notify):
7906 Use `file-notify-supported-p' instead of `file-notify-support'.
7907 Adapt docstring.
e06ec67f
MA
7908 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7909
7910 * net/tramp.el (tramp-file-name-for-operation):
7911 Add `file-notify-supported-p'.
7912
7913 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7914 New defun.
7915 (tramp-sh-file-name-handler-alist): Add it as handler for
7916 `file-notify-supported-p '.
7917
7918 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7919 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7920 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7921 Add `ignore' as handler for `file-notify-*' functions.
7922
5dc8a629
EZ
79232013-07-17 Eli Zaretskii <eliz@gnu.org>
7924
7925 * simple.el (line-move-partial, line-move): Don't start vscroll or
7926 scroll-up if the current line is not taller than the window.
7927 (Bug#14881)
7928
77aea2fb
DG
79292013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7930
7931 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7932 highlight question marks in the method names as strings.
ac72c08d
DG
7933 (ruby-block-beg-keywords): Inline.
7934 (ruby-font-lock-keyword-beg-re): Extract from
7935 `ruby-font-lock-keywords'.
77aea2fb 7936
18c26d81
JD
79372013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7938
7939 * frame.el (blink-cursor-blinks): New defcustom.
7940 (blink-cursor-blinks-done): New defvar.
7941 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7942 (blink-cursor-timer-function): Check if number of blinks has been
7943 done on X and NS.
7944 (blink-cursor-suspend, blink-cursor-check): New defuns.
7945
da48522e
GM
79462013-07-15 Glenn Morris <rgm@gnu.org>
7947
7948 * edmacro.el (edmacro-format-keys): Fix previous change.
7949
0463c1ef
PE
79502013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7951
7952 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7953 The hack didn't work outside English locales anyway.
7954
b43f6451
JB
79552013-07-15 Juanma Barranquero <lekktu@gmail.com>
7956
7957 * simple.el (define-alternatives): Rename from alternatives-define,
7958 per RMS' suggestion.
7959
b958c0ad
JB
79602013-07-14 Juanma Barranquero <lekktu@gmail.com>
7961
7962 * desktop.el (desktop-restore-frames): Change default to t.
7963 (desktop-restore-in-current-display): Now offer more options.
7964 (desktop-restoring-reuses-frames): New customization option.
7965 (desktop--saved-states): Doc fix.
7966 (desktop-filter-parameters-alist): New variable, renamed and expanded
7967 from desktop--excluded-frame-parameters.
7968 (desktop--target-display): New variable.
7969 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7970 (desktop--filter-tty*, desktop--filter-*-color)
7971 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7972 (desktop--filter-save-desktop-parm)
7973 (desktop-restore-in-original-display-p): New functions.
7974 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7975 (desktop--save-minibuffer-frames): New function, inspired by a similar
7976 function from Martin Rudalics.
7977 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7978 (desktop--restore-in-this-display-p): Remove.
7979 (desktop--find-frame): Rename from desktop--find-frame-in-display
7980 and add predicate argument.
7981 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7982 (desktop--reuse-list): New variable.
7983 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7984 New functions.
7985 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7986
f6dd8b36
MA
79872013-07-14 Michael Albinus <michael.albinus@gmx.de>
7988
7989 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7990
2ce3c565
DG
79912013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7992
763a086d
JB
7993 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7994 Highlight conversion methods on Kernel.
2ce3c565 7995
2cdb7698
AM
79962013-07-13 Alan Mackenzie <acm@muc.de>
7997
7998 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7999 and comment it out. This out-commenting enables certain C++
8000 declarations to be parsed correctly.
8001
1a67b811
EZ
80022013-07-13 Eli Zaretskii <eliz@gnu.org>
8003
1b796d6b
EZ
8004 * international/mule.el (define-coding-system): Doc fix.
8005
1a67b811
EZ
8006 * simple.el (default-font-height): Don't call font-info if the
8007 frame's default font didn't change since the frame was created.
8008 (Bug#14838)
8009
58fbe886
LL
80102013-07-13 Leo Liu <sdl.web@gmail.com>
8011
8012 * ido.el (ido-read-file-name): Guard against non-symbol value.
8013
1f0480d4
FEG
80142013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8015
8016 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8017 in nested defuns.
8018
97ead0e5
LL
80192013-07-13 Leo Liu <sdl.web@gmail.com>
8020
8021 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8022 ido-set-matches call. (Bug#6852)
8023
0880a952
DG
80242013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8025
8026 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8027 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8028 Ruby 2.0.
8029 (ruby-font-lock-keywords): Distinguish calls to functions with
8030 module-like names from module references. Highlight character
8031 literals.
8032
a7d8babb
SDJ
80332013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8034
8035 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 8036 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 8037
acfcc8c5
JB
80382013-07-12 Juanma Barranquero <lekktu@gmail.com>
8039
8040 * desktop.el (desktop--v2s): Remove unused local variable.
8041 (desktop-save-buffer): Make defvar-local; adjust docstring.
8042 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8043 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8044
051f2775
AS
80452013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8046
8047 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8048
f24e7572
GM
80492013-07-12 Eli Zaretskii <eliz@gnu.org>
8050
8051 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8052 (Bug#14842)
8053
539a920c
GM
80542013-07-12 Glenn Morris <rgm@gnu.org>
8055
8056 * doc-view.el: Require cl-lib at runtime too.
8057 (doc-view-remove-if): Remove.
8058 (doc-view-search-next-match, doc-view-search-previous-match):
8059 Use cl-remove-if.
8060
8061 * edmacro.el: Require cl-lib at runtime too.
8062 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8063 (edmacro-mismatch, edmacro-subseq): Remove.
8064
8065 * shadowfile.el: Require cl-lib.
8066 (shadow-remove-if): Remove.
8067 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8068 Use cl-remove-if.
8069
8070 * wid-edit.el: Require cl-lib.
8071 (widget-choose): Use cl-remove-if.
8072 (widget-remove-if): Remove.
8073
8074 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8075 (ebrowse-delete-if-not): Remove.
8076 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8077 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8078 Use cl-delete-if-not.
8079
1048af7c
JB
80802013-07-12 Juanma Barranquero <lekktu@gmail.com>
8081
8082 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8083 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8084
6c0674ee
LL
80852013-07-12 Leo Liu <sdl.web@gmail.com>
8086
8087 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8088
a19b3c2d
GM
80892013-07-11 Glenn Morris <rgm@gnu.org>
8090
4582a01c
GM
8091 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8092 (edebug-gensym-index, edebug-gensym):
8093 Remove reimplementation of cl-gensym.
8094 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8095
8096 * thumbs.el: Require cl-lib at run-time too.
8097 (thumbs-gensym-counter, thumbs-gensym):
8098 Remove reimplementation of cl-gensym.
8099 (thumbs-temp-file): Use cl-gensym.
8100
a19b3c2d
GM
8101 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8102 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8103 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8104 (ert--union, ert--gensym-counter, ert--gensym-counter)
8105 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8106 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8107 (ert-make-test-unbound, ert--expand-should-1)
8108 (ert--expand-should, ert--should-error-handle-error)
8109 (should-error, ert--explain-equal-rec)
8110 (ert--plist-difference-explanation, ert-select-tests)
8111 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8112 Use cl-lib functions rather than reimplementations.
8113
88f6a933
MA
81142013-07-11 Michael Albinus <michael.albinus@gmx.de>
8115
8116 * net/tramp.el (tramp-methods): Extend docstring.
8117 (tramp-connection-timeout): New defcustom.
8118 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8119 (with-tramp-progress-reporter): Simplify.
8120 (tramp-process-actions): Improve messages.
8121
8122 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8123 * net/tramp-sh.el (tramp-maybe-open-connection):
8124 Use `tramp-connection-timeout'.
8125 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8126 (Bug#14808)
8127
a43d577e
LL
81282013-07-11 Leo Liu <sdl.web@gmail.com>
8129
8130 * ido.el (ido-read-file-name): Conform to the requirements of
8131 read-file-name. (Bug#11861)
8132 (ido-read-directory-name): Conform to the requirements of
8133 read-directory-name.
8134
d77974bf
JB
81352013-07-11 Juanma Barranquero <lekktu@gmail.com>
8136
8137 * subr.el (delay-warning): New function.
8138
35cb8a3e
EZ
81392013-07-10 Eli Zaretskii <eliz@gnu.org>
8140
8141 * simple.el (default-line-height): New function.
8142 (line-move-partial, line-move): Use it instead of computing the
8143 line height inline.
8144 (line-move-partial): Always compute ROWH. If the last line is
8145 partially-visible, but its text is completely visible, allow
8146 cursor to enter such a partially-visible line.
8147
525c5c77
MA
81482013-07-10 Michael Albinus <michael.albinus@gmx.de>
8149
8150 Improve error messages. (Bug#14808)
8151
8152 * net/tramp.el (tramp-current-connection): New defvar, moved from
8153 tramp-sh.el.
0ac26976 8154 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 8155 needed anymore.
0ac26976
SM
8156 (tramp-error-with-buffer): Show message in minibuffer.
8157 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
8158 (with-tramp-progress-reporter): Improve messages.
8159 (tramp-process-actions): Use progress reporter. Delete process in
8160 case of error. Improve messages.
8161
763a086d
JB
8162 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8163 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 8164 (tramp-current-connection): Remove.
525c5c77
MA
8165 (tramp-maybe-open-connection): The car of
8166 `tramp-current-connection' are the first 3 slots of the vector.
8167
c7a4d368
TZ
81682013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8169
8170 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8171 inside continued strings.
8172
954b166e
PE
81732013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8174
8175 Timestamp fixes for undo (Bug#14824).
8176 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8177
56973319
LL
81782013-07-10 Leo Liu <sdl.web@gmail.com>
8179
8180 * files.el (require-final-newline): Allow safe local value.
8181 (Bug#14834)
8182
5550a72c
LL
81832013-07-09 Leo Liu <sdl.web@gmail.com>
8184
8185 * ido.el (ido-read-directory-name): Handle fallback.
8186 (ido-read-file-name): Update DIR to ido-current-directory.
8187 (Bug#1516)
c28b9050 8188 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 8189
70c46b28
DG
81902013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8191
8192 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8193 "autoload". Remove "warn lower camel case" section, previously
8194 commented out. Highlight negation char. Do not highlight the
8195 target in singleton method definitions.
8196
0b64b838
SM
81972013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8198
7fd72e2c
SM
8199 * faces.el (tty-setup-hook): Declare the hook.
8200
0b64b838
SM
8201 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8202 and detect when a guard/pred depends on local vars (bug#14773).
8203 (pcase--u1): Adjust caller.
8204
ab49d60b
EZ
82052013-07-08 Eli Zaretskii <eliz@gnu.org>
8206
8207 * simple.el (line-move-partial, line-move): Account for
8208 line-spacing.
701d79aa
EZ
8209 (line-move-partial): Avoid setting vscroll when the last
8210 partially-visible line in window is of default height.
ab49d60b 8211
2d756ae0
LMI
82122013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8213
8214 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8215 been used a while.
8216
ed095bd7
JB
82172013-07-07 Juanma Barranquero <lekktu@gmail.com>
8218
8219 * subr.el (read-quoted-char): Remove unused local variable `char'.
8220
f1e6674b
MK
82212013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8222
584ee3fc
GM
8223 * ediff.el (ediff-version): Version update.
8224 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8225 (ediff-merge-with-ancestor-command, ediff-directories-command)
8226 (ediff-directories3-command, ediff-merge-directories-command)
8227 (ediff-merge-directories-with-ancestor-command): New functions.
8228 All are command-line interfaces to ediff: to facilitate calling
8229 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8230
8231 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8232 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8233
584ee3fc
GM
8234 * viper.el (viper-version): Version update.
8235 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8236
584ee3fc
GM
82372013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8238
8239 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8240 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8241 (viper-intercept-ESC-key): Simplify.
8242 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8243 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8244 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8245 (viper-setup-ESC-to-escape): New functions.
8246 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8247 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8248
9aff9b38
EZ
82492013-07-07 Eli Zaretskii <eliz@gnu.org>
8250
5165d44a
JB
8251 * simple.el (default-font-height, window-screen-lines):
8252 New functions.
9aff9b38
EZ
8253 (line-move, line-move-partial): Use them instead of
8254 frame-char-height and window-text-height. This makes scrolling
8255 text smoother when the buffer's default face uses a font that is
8256 different from the frame's default font.
8257
1afb1d07
JD
82582013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8259
8260 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8261 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8262
23de972a
EZ
82632013-07-06 Eli Zaretskii <eliz@gnu.org>
8264
8265 * simple.el (line-move-partial): Adjust the row returned by
8266 posn-at-point for the current window-vscroll. (Bug#14567)
8267
54a42486
MA
82682013-07-06 Michael Albinus <michael.albinus@gmx.de>
8269
8270 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8271 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8272 spaces.
8273
34ada5f4
MR
82742013-07-06 Martin Rudalics <rudalics@gmx.at>
8275
8276 * window.el (window-state-put-stale-windows): New variable.
8277 (window--state-put-2): Save list of windows without matching buffer.
8278 (window-state-put): Remove "bufferless" windows if possible.
8279
11e03d89
JB
82802013-07-06 Juanma Barranquero <lekktu@gmail.com>
8281
8282 * simple.el (alternatives-define): Remove leftover :group keyword.
8283 Tweak docstring.
8284
3504a4be
LL
82852013-07-06 Leo Liu <sdl.web@gmail.com>
8286
8287 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8288 (ido-enable-virtual-buffers): New variable.
8289 (ido-buffer-internal, ido-toggle-virtual-buffers)
8290 (ido-make-buffer-list): Use it.
8291 (ido-exhibit): Support turning on and off virtual buffers
8292 automatically.
8293
61e56e2c
JB
82942013-07-06 Juanma Barranquero <lekktu@gmail.com>
8295
8296 * simple.el (alternatives-define): New macro.
8297
321e1a9c
SM
82982013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8299
8300 * subr.el (read-quoted-char): Use read-key.
8301 (sit-for): Let read-event decode tty input (bug#14782).
8302
d610f6dd
SB
83032013-07-05 Stephen Berman <stephen.berman@gmx.net>
8304
8305 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8306 mode command and externally. Fix various related bugs.
8307 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8308 (todo-delete-file): New command.
8309 (todo-check-file): New function.
8310 (todo-show): Handle external deletion of the file we're trying to
8311 show (bug#14688). Replace called-interactively-p by an optional
8312 prefix argument to avoid problematic interaction with catch form
8313 when byte compiled (bug#14702).
8314 (todo-quit): Handle external deletion of the archive's todo file.
8315 Make sure the buffer that was visiting the archive file is still
8316 live before trying to bury it.
8317 (todo-category-completions): Handle external deletion of any
8318 category completion files.
8319 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8320 of todo files, in case of external deletion.
8321 (todo-add-file): Replace unnecessary setq by let-binding.
8322 (todo-find-archive): Check whether there are any archives.
8323 Replace unnecessary setq by let-binding.
8324 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8325 archive buffer whether or not the archive already exists.
8326 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8327 check if the archive is new; if it is, update list of archives.
8328 (todo-default-todo-file): Allow nil to be a valid value for when
8329 there are no todo files.
8330 (todo-reevaluate-default-file-defcustom): Use corrected definition
8331 of todo-default-todo-file.
8332 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8333 (todo-delete-category, todo-show-categories-table)
8334 (todo-category-number): Clarify comment.
8335 (todo-filter-items): Clarify documentation string.
8336 (todo-show-current-file, todo-display-as-todo-file)
8337 (todo-reset-and-enable-done-separator): Tweak documentation string.
8338 (todo-done-separator): Make separator length window-width, since
8339 bug#2749 is now fixed.
8340
ddbdfd6f
MA
83412013-07-05 Michael Albinus <michael.albinus@gmx.de>
8342
321e1a9c
SM
8343 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8344 Support both "gvfs-monitor-dir" and "inotifywait".
8345 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8346 `tramp-sh-file-notify-process-filter'.
8347 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8348 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8349
96eb829a
LL
83502013-07-05 Leo Liu <sdl.web@gmail.com>
8351
8352 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8353
cf13177e
YM
83542013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8355
8356 * frame.el (display-pixel-height, display-pixel-width)
8357 (display-mm-height, display-mm-width): Mention behavior on
8358 multi-monitor setups in docstrings.
8359 (w32-display-monitor-attributes-list): Declare function.
8360 (display-monitor-attributes-list): Use it.
8361
864c58ca
MA
83622013-07-04 Michael Albinus <michael.albinus@gmx.de>
8363
8364 * filenotify.el: New package.
8365
8366 * autorevert.el (top): Require filenotify.el.
8367 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8368 instead.
8369 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8370 (auto-revert-notify-handler): Use `file-notify-*' functions.
8371
8372 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8373
321e1a9c
SM
8374 * net/tramp.el (tramp-file-name-for-operation):
8375 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8376
8377 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8378 for `file-notify-add-watch' and `file-notify-rm-watch'.
8379 (tramp-process-sentinel): Improve trace.
8380 (tramp-sh-handle-file-notify-add-watch)
8381 (tramp-sh-file-notify-process-filter)
8382 (tramp-sh-handle-file-notify-rm-watch)
8383 (tramp-get-remote-inotifywait): New defuns.
8384
96673afe
JL
83852013-07-03 Juri Linkov <juri@jurta.org>
8386
8387 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8388 call of `occur-read-primary-args' to interactive spec.
8389
8390 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8391 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8392
924494f4
MM
83932013-07-03 Matthias Meulien <orontee@gmail.com>
8394
8395 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8396 `Buffer-menu-multi-occur'. Add it to the menu.
8397 (Buffer-menu-mode): Document it in docstring.
8398 (Buffer-menu-multi-occur): New command. (Bug#14673)
8399
56f75efc
DG
84002013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8401
8402 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8403 keywords and built-ins.
8404
9b057d61
GM
84052013-07-03 Glenn Morris <rgm@gnu.org>
8406
208dee4d
GM
8407 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8408
9b057d61
GM
8409 Make info-xref checks case-sensitive by default
8410 * info.el (Info-find-node, Info-find-in-tag-table)
8411 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8412 Add option for exact case matching of nodes.
8413 * info-xref.el (info-xref): New custom group.
8414 (info-xref-case-fold): New option.
8415 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8416
e01aa29c
LL
84172013-07-03 Leo Liu <sdl.web@gmail.com>
8418
8419 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8420
3086ca2e
DG
84212013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8422
8423 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8424 middle of block statement initially, lower the depth. Remove
8425 FIXME comment, not longer valid. Remove middle of block statement
8426 detection, no need to do that anymore since we've been using
8427 `ruby-parse-region' here.
8428
a3b49114
JD
84292013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8430
8431 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8432
08e5c823 84332013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8434
8435 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8436
2addf922
JB
84372013-07-01 Juanma Barranquero <lekktu@gmail.com>
8438
8439 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8440 (desktop-restore-in-current-display): New customization option.
8441 (desktop--excluded-frame-parameters): Add `font'.
8442 (desktop--save-frames): Rename from desktop--save-windows.
8443 (desktop--restore-in-this-display-p): New function.
8444 (desktop--make-full-frame): Remove unwanted width/height from
8445 full(width|height) frames.
8446 (desktop--restore-frames): Rename from desktop--restore-windows.
8447 Obey desktop-restore-current-display. Do not delete old frames or
8448 select a new frame unless we were able to restore at least one frame.
8449
ef099a94
MN
84502013-06-30 Michal Nazarewicz <mina86@mina86.com>
8451
8452 * files.el (find-file-noselect): Simplify conditional expression.
8453
a12bf61e 8454 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8455 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8456
8457 Add `remember-notes' function to store random notes across Emacs
8458 restarts.
3fcfc4ee
JB
8459 * textmodes/remember.el (remember-data-file): Add :set callback to
8460 affect notes buffer (if any).
ef099a94
MN
8461 (remember-notes): New command.
8462 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8463 New defcustoms for the `remember-notes' function.
8464 (remember-notes-save-and-bury-buffer): New command.
8465 (remember-notes-mode-map): New variable.
8466 (remember-mode): New minor mode.
8467 (remember-notes--kill-buffer-query): New function.
8468 * startup.el (initial-buffer-choice): Add notes to custom type.
8469
0865d506
EZ
84702013-06-30 Eli Zaretskii <eliz@gnu.org>
8471
0ba54312
EZ
8472 * bindings.el (right-char, left-char): Don't call sit-for, this is
8473 no longer needed. Use arithmetic comparison only for numerical
8474 arguments.
8475
ef099a94
MN
8476 * international/mule-cmds.el (select-safe-coding-system):
8477 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8478
2fae38e5
LMI
84792013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8480
8481 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8482 progression on degenerate tables.
ef099a94 8483 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8484
a47cbd64
JB
84852013-06-30 Juanma Barranquero <lekktu@gmail.com>
8486
8487 Some fixes and improvements for desktop frame restoration.
8488 It is still experimental and disabled by default.
8489 * desktop.el (desktop--save-windows): Put the selected frame at
8490 the head of the list.
8491 (desktop--make-full-frame): New function.
8492 (desktop--restore-windows): Try to re-select the frame that was
8493 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8494 just show an error message and continue. Set up maximized frames
8495 so they have default non-maximized dimensions.
a47cbd64 8496
6dbafa30
DG
84972013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8498
ef099a94
MN
8499 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8500 Don't start heredoc inside a string or comment.
6dbafa30 8501
4c672a0f
EZ
85022013-06-29 Eli Zaretskii <eliz@gnu.org>
8503
8504 * bindings.el (visual-order-cursor-movement): New defcustom.
8505 (right-char, left-char): Provide visual-order cursor motion by
8506 calling move-point-visually. Update the doc strings.
8507
50960f36
KH
85082013-06-28 Kenichi Handa <handa@gnu.org>
8509
8510 * international/mule.el (define-coding-system): New coding system
8511 properties :inhibit-null-byte-detection,
8512 :inhibit-iso-escape-detection, and :prefer-utf-8.
8513 (set-buffer-file-coding-system): If :charset-list property of
8514 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8515 appropriate for setting.
8516
c1ea3abf
JB
8517 * international/mule-cmds.el (select-safe-coding-system):
8518 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8519 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8520
8521 * international/mule-conf.el (prefer-utf-8): New coding system.
8522 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8523 files.
8524
75dbaf9d
IK
85252013-06-28 Ivan Kanis <ivan@kanis.fr>
8526
eadb6068
IK
8527 * net/shr.el (shr-render-region): New function.
8528
75dbaf9d
IK
8529 * net/eww.el: Autoload `eww-browse-url'.
8530
9ea5cf9f
DG
85312013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8532
c1ea3abf
JB
8533 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8534 Adapt to `package-desc-version' being a list.
8535 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8536 archive element.
8537
39c0e36f
JB
85382013-06-27 Juanma Barranquero <lekktu@gmail.com>
8539
8540 New experimental feature to save&restore window and frame setup.
8541 * desktop.el (desktop-save-windows): New defcustom.
8542 (desktop--saved-states): New var.
8543 (desktop--excluded-frame-parameters): New defconst.
8544 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8545 (desktop--restore-windows, desktop--save-windows): New functions.
8546 (desktop-save): Call `desktop--save-windows'.
8547 (desktop-read): Call `desktop--restore-windows'.
8548
7f13406b
LMI
85492013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8550
ef099a94 8551 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8552
1e072639
SB
85532013-06-27 Stephen Berman <stephen.berman@gmx.net>
8554
8555 * info.el (Info-try-follow-nearest-node): Move search for footnote
8556 above search for node name to prevent missing a footnote (bug#14717).
8557
f3e2cbde
SB
85582013-06-27 Stephen Berman <stephen.berman@gmx.net>
8559
8560 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8561
99906aa0
LL
85622013-06-27 Leo Liu <sdl.web@gmail.com>
8563
8564 * net/eww.el (eww-read-bookmarks): Check file size.
8565
539f75f4
SM
85662013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8567
8568 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8569 advice--pending if newdef is nil or an autoload (bug#13820).
8570 (advice-mapc): New function.
8571
843571cb
LMI
85722013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8573
8574 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8575 probably.
23a75d7f 8576 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8577 (eww-add-bookmark): New command.
8578 (eww-bookmark-mode): New mode and commands.
a285ce99 8579 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8580 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8581
f2136e1e
GM
85822013-06-26 Glenn Morris <rgm@gnu.org>
8583
eab35f39
GM
8584 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8585 (hfy-size): Handle ttys. (Bug#14668)
8586
f2136e1e
GM
8587 * info-xref.el: Update for Texinfo 5 change in *note format.
8588 (info-xref-node-re, info-xref-note-re): New constants.
8589 (info-xref-check-buffer): Use info-xref-note-re.
8590
a49ff80c
SM
85912013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8592
a343d218
SM
8593 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8594
a49ff80c
SM
8595 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8596 nil terminate the loop (bug#14718).
8597
8308f184
LMI
85982013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8599
8600 * net/eww.el: Rework history traversal. When going forward/back,
8601 put these actions into the history, too, so that they can be
8602 replayed.
26bf2b82 8603 (eww-render): Move the history reset to the correct buffer.
8308f184 8604
ec64c273
JL
86052013-06-25 Juri Linkov <juri@jurta.org>
8606
8607 * files-x.el (modify-dir-local-variable): Change the header comment
8608 in the file with directory local variables. (Bug#14692)
8609
e080a9d7
JL
8610 * files-x.el (read-file-local-variable-value): Add `default'.
8611 (Bug#14710)
8612
bfbc93a1
IK
86132013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8614
8615 * net/eww.el (eww-make-unique-file-name): Create a unique file
8616 name before saving to entering `y' accidentally asynchronously.
8617
86182013-06-25 Ivan Kanis <ivan@kanis.fr>
8619
8620 * net/eww.el (eww-download): New command and keystroke.
8621
16f74f10
LMI
86222013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8623
a49ff80c 8624 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8625
8626 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8627 be more consistent with Info and dired.
8628
8629 * net/eww.el (eww-mode-map): Ditto.
8630
12059709
SM
86312013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8632
8633 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8634 packages from archives.
8635 (package-archive-contents): Change format; include obsolete packages.
8636 (package-desc): Use `dir' to mark builtin packages.
8637 (package--from-builtin): Set the `dir' field to `builtin'.
8638 (generated-autoload-file, version-control): Declare.
8639 (package-compute-transaction): Change first arg and return value to be
8640 lists of package-descs. Adjust to new package-archive-contents format.
8641 (package--add-to-archive-contents): Adjust to new
8642 package-archive-contents format.
8643 (package-download-transaction): Arg is now a list of package-descs.
8644 (package-install): If `pkg' is a package name, pass it as
8645 a requirement, so it is subject to the usual (e.g. disabled) checks.
8646 (describe-package): Accept package-desc as well.
8647 (describe-package-1): Describe a specific package-desc. Add links to
8648 other package-descs for the same package name.
8649 (package-menu-describe-package): Pass the actual package-desc.
8650 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8651 works correctly.
8652 (package-desc-status): New function.
8653 (package-menu--refresh): New function, extracted
8654 from package-menu--generate.
8655 (package-menu--generate): Use it.
8656 (package-delete): Update package-alist.
8657 (package-menu-execute): Don't call package-initialize.
8658
8659 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8660 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8661 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8662 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8663 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8664 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8665
8bbdea0f
MR
86662013-06-25 Martin Rudalics <rudalics@gmx.at>
8667
8668 * window.el (window--state-get-1): Workaround for bug#14527.
8669 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8670
e82b0991
LMI
86712013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8672
8673 * net/eww.el (eww-back-url): Implement the history by stashing all
8674 the data into a list.
d3f0f918 8675 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8676
c763842b
SM
86772013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8680 for values and use read--expression for expressions (bug#14710).
8681 (read-file-local-variable): Avoid setq.
8682 (read-file-local-variable-mode): Use minor-mode-list.
8683
bceff189
RW
86842013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8685
864c58ca 8686 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8687 for DOI URLs.
8688
45f431c6
RW
86892013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8690
864c58ca 8691 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8692 Update imenu-support when dialect changes.
8693
f42d8237
LL
86942013-06-25 Leo Liu <sdl.web@gmail.com>
8695
8696 * ido.el (ido-read-internal): Allow forward slash on windows.
8697
be549ce6
LMI
86982013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8699
8700 * net/eww.el (eww): Start of strings is \\`, not ^.
8701
71d4c19d
IK
87022013-06-24 Ivan Kanis <ivan@kanis.fr>
8703
5196f88a
IK
8704 * net/shr.el (shr-browse-url): Fix interactive spec.
8705
71d4c19d
IK
8706 * net/eww.el (eww): Add a trailing slash to domain names.
8707
ae36ca55
JB
87082013-06-24 Juanma Barranquero <lekktu@gmail.com>
8709
8710 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8711
0ebd92a3
LMI
87122013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8713
bdaa086b
LMI
8714 * net/shr.el (shr-browse-url): Use an external browser if given a
8715 prefix.
8716
c763842b 8717 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8718
b89fc156
IK
87192013-06-24 Ivan Kanis <ivan@kanis.fr>
8720
8721 * net/eww.el (eww): Work more correctly for file: URLs.
8722 (eww-detect-charset): Allow quoted charsets.
8723 (eww-yank-page-url): New command and keystroke.
8724
18eb4bca
DU
87252013-06-24 Daiki Ueno <ueno@gnu.org>
8726
8727 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8728 file name of gpg executable.
8729 (epg-context-program): New function.
8730 (epg-context-home-directory): New function.
8731 (epg-context-set-program): New function.
8732 (epg-context-set-home-directory): New function.
8733 (epg--start): Use `epg-context-program' instead of
8734 'epg-gpg-program'.
8735 (epg--list-keys-1): Likewise.
8736
6c6268c8
LL
87372013-06-24 Leo Liu <sdl.web@gmail.com>
8738
8739 * ido.el (ido-read-internal): Fix bug#14620.
8740
5e400cb3
JB
87412013-06-23 Juanma Barranquero <lekktu@gmail.com>
8742
8743 * faces.el (face-documentation): Simplify.
8744 (read-face-attribute, tty-find-type, x-resolve-font-name):
8745 Use `string-match-p'.
8746 (list-faces-display): Use `string-match-p'. Simplify.
8747 (face-spec-recalc): Check face to avoid face alias loops.
8748 (read-color): Use `string-match-p' and non-capturing parenthesis.
8749
f3f9606c
LMI
87502013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8751
8752 * net/shr.el (shr-rescale-image): Use the new
8753 :max-width/:max-height functionality.
8754
a3ca09b9
IK
87552013-06-23 Ivan Kanis <ivan@kanis.fr>
8756
8757 * net/eww.el (eww-search-prefix): New variable.
8758 (eww): Use it.
f865b474
IK
8759 (eww-external-browser): New variable.
8760 (eww-mode-map): New keystroke.
8761 (eww-browse-with-external-browser): New command.
a3ca09b9 8762
e854cfc7
IK
8763 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8764
18bb9e21
JB
87652013-06-23 Juanma Barranquero <lekktu@gmail.com>
8766
8767 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8768 Don't skip aligning the next header field when padding is 0;
8769 otherwise, field width is not respected unless the title is as
8770 wide as the field.
8771
5b165ade
SM
87722013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8773
8774 * emacs-lisp/package.el (package-el-version): Remove.
8775 (package-process-define-package): Fix inf-loop.
8776 (package-install): Allow symbols as arguments again.
8777
12adebe9
DG
87782013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8779
8780 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8781 add some more keyword-like methods.
8782 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8783
388573ee
JB
87842013-06-22 Juanma Barranquero <lekktu@gmail.com>
8785
8786 * bs.el (bs-buffer-show-mark): Make defvar-local.
8787 (bs-mode): Use setq-local.
8788
8789 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8790 (emacs-lock--try-unlocking): Make defvar-local.
8791
4582a01c 87922013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8793
2663dd23
GM
8794 * play/cookie1.el (cookie-apropos): Minor simplification.
8795
3d94f3ad
GM
8796 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8797
f72e2fdb
DG
87982013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8799
8800 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8801 `regexp-opt', it breaks the build during dumping.
8802
73eab938
DG
88032013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8804
c763842b
SM
8805 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8806 Highlight keyword-like methods on Kernel and Module with
73eab938 8807 font-lock-builtin-face.
5cf8176d
DG
8808 (auto-mode-alist): Consolidate different entries into one regexp
8809 and add more *file-s.
73eab938 8810
d26255f6
SB
88112013-06-21 Stephen Berman <stephen.berman@gmx.net>
8812
8813 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8814
8815 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8816 (diary-entry): Use it in the action of this button type instead of
8817 diary-goto-entry.
8818
8819 * calendar/todo-mode.el: New version.
8820 (todo-add-category): Append new category to end of file and give
8821 it the highest number, instead of putting it at the beginning and
8822 giving it 0. Incorporate noninteractive functionality.
8823 (todo-forward-category): Adapt to 1-based category numbering.
8824 Allow skipping over archived categories.
8825 (todo-backward-category): Derive from todo-forward-category.
8826 (todo-backward-item, todo-forward-item): Make noninteractive and
8827 delegate interactive part to new commands. Make sensitive to done items.
8828 (todo-categories): Make value an alist of category names and
8829 vectors of item counts.
8830 (todo-category-beg): Make a defconst.
8831 (todo-category-number): Use 1 instead of 0 as initial value.
8832 (todo-category-select): Make sensitive to overlays, optional item
8833 highlighting and done items.
8834 (todo-delete-item): Make sensitive to overlays and marked and done items.
8835 (todo-edit-item): Make sensitive to overlays and editing of
8836 date/time header optional. Add format checks.
8837 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8838 no-op if point is not on an item. Advertise using todo-edit-quit.
8839 (todo-edit-mode): Make sensitive to new format, font-locking, and
8840 multiple todo files.
8841 (todo-insert-item, todo-insert-item-here): Derive from
8842 todo-basic-insert-item and extend functionality.
8843 (todo-item-end, todo-item-start): Make sensitive to done items.
8844 (todo-item-string): Don't return text properties. Restore point.
8845 (todo-jump-to-category): Make sensitive to multiple todo files and
8846 todo archives. Use extended category completion.
8847 (todo-lower-item, todo-raise-item): Rename to *-priority and
8848 derive from todo-set-item-priority.
8849 (todo-mode): Derive from special-mode. Make sensitive to new
8850 format, font-locking and multiple todo files. Make read-only.
8851 (todo-mode-map): Don't suppress digit keys, so they can supply
8852 prefix arguments. Add many new key bindings.
8853 (todo-prefix): Insert as an overlay instead of file text.
8854 Change semantics from diary date expression to purely visual mark.
8855 (todo-print): Rename to todo-print-buffer. Make buffer display
8856 features printable. Remove option to restrict number of items
8857 printed. Add option to print to file.
8858 (todo-print-function): Rename to todo-print-buffer-function.
8859 (todo-quit): Extend to handle exiting new todo modes.
8860 (todo-remove-item): Make sensitive to overlays.
8861 (todo-save): Extend to buffers of filtered items.
8862 (todo-show): Make sensitive to done items, multiple todo files and
8863 new todo modes. Offer to convert legacy todo file before creating
8864 first new todo file.
8865 (todo-show-priorities): Rename to todo-top-priorities.
8866 Change semantics of value 0.
8867 (todo-top-priorities): Rename to todo-filter-top-priorities,
8868 derive from todo-filter-items and extend functionality.
8869 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8870 and extend functionality to other types of filtered items.
8871 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8872 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8873 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8874 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8875 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8876 (todo-edit-mode-hook, todo-entry-prefix-function)
8877 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8878 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8879 (todo-initials, todo-insert-threshold, todo-item-string-start)
8880 (todo-line-string, todo-menu, todo-mode-hook)
8881 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8882 (todo-print-priorities, todo-remove-separator)
8883 (todo-save-top-priorities-too, todo-string-count-lines)
8884 (todo-string-multiline-p, todo-time-string-format)
8885 (todo-tmp-buffer-name): Remove.
8886 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8887 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8888 (todo-edit-category-diary-inclusion)
8889 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8890 (todo-edit-file, todo-edit-item-date-day)
8891 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8892 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8893 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8894 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8895 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8896 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8897 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8898 (todo-filter-top-priorities-multifile, todo-find-archive)
8899 (todo-find-filtered-items-file, todo-go-to-source-item)
8900 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8901 (todo-jump-to-archive-category, todo-lower-category)
8902 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8903 (todo-move-category, todo-move-item, todo-next-button)
8904 (todo-next-item, todo-padded-string, todo-powerset)
8905 (todo-previous-button, todo-previous-item)
8906 (todo-print-buffer-to-file, todo-raise-category)
8907 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8908 (todo-set-category-number, todo-set-item-priority)
8909 (todo-set-top-priorities-in-category)
8910 (todo-set-top-priorities-in-file, todo-show-categories-table)
8911 (todo-sort-categories-alphabetically-or-numerically)
8912 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8913 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8914 (todo-toggle-item-header, todo-toggle-item-highlighting)
8915 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8916 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8917 (todo-unarchive-items, todo-unmark-category): New commands.
8918 (todo-absolute-file-name, todo-add-to-buffer-list)
8919 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8920 (todo-basic-insert-item, todo-category-completions)
8921 (todo-category-number, todo-category-string-matcher-1)
8922 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8923 (todo-check-format, todo-clear-matches)
8924 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8925 (todo-current-category, todo-date-string-matcher)
8926 (todo-define-insertion-command, todo-diary-expired-matcher)
8927 (todo-diary-goto-entry, todo-diary-item-p)
8928 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8929 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8930 (todo-done-item-section-p, todo-done-separator)
8931 (todo-done-string-matcher, todo-files, todo-filter-items)
8932 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8933 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8934 (todo-insert-category-line, todo-insert-item-from-calendar)
8935 (todo-insert-sort-button, todo-insert-with-overlays)
8936 (todo-insertion-command-name, todo-insertion-key-bindings)
8937 (todo-label-to-key, todo-longest-category-name-length)
8938 (todo-make-categories-list, todo-mode-external-set)
8939 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8940 (todo-modes-set-3, todo-multiple-filter-files)
8941 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8942 (todo-read-category, todo-read-date, todo-read-dayname)
8943 (todo-read-file-name, todo-read-time)
8944 (todo-reevaluate-category-completions-files-defcustom)
8945 (todo-reevaluate-default-file-defcustom)
8946 (todo-reevaluate-filelist-defcustoms)
8947 (todo-reevaluate-filter-files-defcustom)
8948 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8949 (todo-reset-done-separator, todo-reset-done-separator-string)
8950 (todo-reset-done-string, todo-reset-global-current-todo-file)
8951 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8952 (todo-reset-prefix, todo-set-categories)
8953 (todo-set-date-from-calendar, todo-set-show-current-file)
8954 (todo-set-top-priorities, todo-short-file-name)
8955 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8956 (todo-total-item-counts, todo-update-buffer-list)
8957 (todo-update-categories-display, todo-update-categories-sexp)
8958 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8959 New functions.
8960 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8961 New major modes.
8962 (todo-categories, todo-display, todo-edit, todo-faces)
8963 (todo-filtered): New defgroups.
8964 (todo-archived-only, todo-button, todo-category-string, todo-date)
8965 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8966 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8967 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8968 (todo-add-item-if-new-category, todo-always-add-time-string)
8969 (todo-categories-align, todo-categories-archived-label)
8970 (todo-categories-category-label, todo-categories-diary-label)
8971 (todo-categories-done-label, todo-categories-number-separator)
8972 (todo-categories-todo-label, todo-categories-totals-label)
8973 (todo-category-completions-files, todo-completion-ignore-case)
8974 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8975 (todo-done-separator-string, todo-done-string)
8976 (todo-files-function, todo-filter-done-items, todo-filter-files)
8977 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8978 (todo-initial-category, todo-initial-file, todo-item-mark)
8979 (todo-legacy-date-time-regexp, todo-mode-line-function)
8980 (todo-nondiary-marker, todo-number-prefix)
8981 (todo-print-buffer-function, todo-show-current-file)
8982 (todo-show-done-only, todo-show-first, todo-show-with-done)
8983 (todo-skip-archived-categories, todo-top-priorities-overrides)
8984 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8985 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8986 New defcustoms.
8987 (todo-category-done, todo-date-pattern, todo-date-string-start)
8988 (todo-diary-items-buffer, todo-done-string-start)
8989 (todo-filtered-items-buffer, todo-item-start)
8990 (todo-month-abbrev-array, todo-month-name-array)
8991 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8992 (todo-top-priorities-buffer): New defconsts.
8993 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8994 (todo-categories-with-marks, todo-category-string-face)
8995 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8996 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8997 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8998 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8999 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9000 (todo-font-lock-keywords, todo-global-current-todo-file)
9001 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9002 (todo-insertion-commands-args)
9003 (todo-insertion-commands-args-genlist)
9004 (todo-insertion-commands-names, todo-insertion-map)
9005 (todo-key-bindings-t, todo-key-bindings-t+a)
9006 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9007 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9008 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9009 (todo-visited): New variables.
9010
cad5d1cb
GM
90112013-06-21 Glenn Morris <rgm@gnu.org>
9012
9013 * play/cookie1.el (cookie-apropos): Add optional display argument.
9014 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9015 (psychoanalyze-pinhead): Use cookie-doctor.
9016
9e277302
JB
90172013-06-21 Juanma Barranquero <lekktu@gmail.com>
9018
9019 * emacs-lisp/package.el (tar-get-file-descriptor)
9020 (tar--extract): Declare.
9021
c5b0993e
EW
90222013-06-21 Eduard Wiebe <usenet@pusto.de>
9023
9024 Extend flymake's warning predicate to be a function (bug#14217).
9025 * progmodes/flymake.el (flymake-warning-predicate): New.
9026 (flymake-parse-line): Use it.
9027 (flymake-warning-re): Make obsolete alias to
9028 `flymake-warning-predicate'.
9029
a7d2d465
SM
90302013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9031
9032 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9033 (package-obsolete-list): Remove.
9034 (package-activate): Remove min-version argument. Add `force' argument.
9035 Adjust to new package-alist format.
9036 (package-mark-obsolete): Remove.
9037 (package-unpack): Force reload of the package's autoloads.
9038 (package-installed-p): Check builtins if the installed package is not
9039 recent enough.
9040 (package-initialize): Don't reset package-obsolete-list.
9041 Don't specify which package version to activate.
9042 (package-process-define-package, describe-package-1)
9043 (package-menu--generate): Adjust to new package-alist format.
9044
cedf5c9d
JB
90452013-06-21 Juanma Barranquero <lekktu@gmail.com>
9046
9047 * allout-widgets.el (allout-widgets-mode-off)
9048 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9049 (allout-widgets-post-command-business)
9050 (allout-widgets-after-copy-or-kill-function)
9051 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9052 (allout-decorate-item-and-context)
9053 (allout-graphics-modification-handler): Fix typos in docstrings.
9054 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9055
9056 * cmuscheme.el (scheme-start-file): Doc fix.
9057 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9058 (scheme-input-filter): Use `string-match-p'.
9059
9060 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9061
9062 * dired-x.el: Use Dired consistently in docstrings.
9063
9064 * dired.el: Use Dired consistently in docstrings.
9065 (dired-readin, dired-mode): Use `setq-local'.
9066 (dired-switches-alist): Make defvar-local.
9067 (dired-buffers-for-dir): Use `zerop'.
9068 (dired-safe-switches-p, dired-switches-escape-p)
9069 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9070 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9071 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9072 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9073 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9074 (dired-toggle-marks, dired-mark-files-containing-regexp)
9075 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9076 (dired-flag-auto-save-files, dired-flag-backup-files):
9077 Use `looking-at-p'.
9078 (dired-mark-files-regexp, dired-build-subdir-alist):
9079 Use `string-match-p', `looking-at-p'.
9080
9081 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9082 (direct-print-region-helper): Use `string-match-p'.
9083
aed838b5
LL
90842013-06-21 Leo Liu <sdl.web@gmail.com>
9085
cedf5c9d
JB
9086 * comint.el (comint-redirect-results-list-from-process):
9087 Fix infinite loop.
aed838b5 9088
d80a808f
LMI
90892013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9090
9091 * net/eww.el (eww-update-header-line-format): Quote % characters.
9092
e7a526e3
GM
90932013-06-21 Glenn Morris <rgm@gnu.org>
9094
9095 * play/cookie1.el (cookie): New custom group.
9096 (cookie-file): New option.
9097 (cookie-check-file): New function.
9098 (cookie): Make it interactive. Make start and end messages optional.
9099 Interactively, display the result. Default to cookie-file.
9100 (cookie-insert): Default to cookie-file.
9101 (cookie-snarf): Make start and end messages optional.
9102 Default to cookie-file. Use with-temp-buffer.
9103 (cookie-read): Rename from read-cookie.
9104 Make start and end messages optional. Default to cookie-file.
9105 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 9106 Do not autoload it.
e7a526e3
GM
9107 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9108 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9109
62efb35e
LL
91102013-06-21 Leo Liu <sdl.web@gmail.com>
9111
9112 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9113
21e3f963
GM
91142013-06-21 Glenn Morris <rgm@gnu.org>
9115
9116 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9117
fd846ab4
SM
91182013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9119 Daniel Hackney <dan@haxney.org>
9120
9121 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9122 Consolidate the single-file vs tarball code.
9123 (package-desc-suffix): New function.
9124 (package-desc-full-name): Don't bother inlining it.
9125 (package-load-descriptor): Return the new package-desc.
9126 (package-mark-obsolete): Remove unused arg `package'.
9127 (package-unpack): Make it work for single files as well.
9128 Make it update package-alist.
9129 (package--make-autoloads-and-stuff): Rename from
9130 package--make-autoloads-and-compile. Don't compile any more.
9131 (package--compile): New function.
9132 (package-generate-description-file): New function, extracted from
9133 package-unpack-single.
9134 (package-unpack-single): Remove.
9135 (package--with-work-buffer): Add indentation and debugging info.
9136 (package-download-single): Remove.
9137 (package-install-from-archive): Rename from package-download-tar, make
9138 it take a pkg-desc, and make it work for single files as well.
9139 (package-download-transaction): Simplify.
9140 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9141 external tar program.
9142 (package-install-from-buffer): Remove `pkg-desc' argument.
9143 Use package-tar-file-info for tar-mode buffers.
9144 (package-install-file): Simplify accordingly.
9145 (package-archive-base): Change to take a pkg-desc.
9146 * tar-mode.el (tar--check-descriptor): New function, extracted from
9147 tar-get-descriptor.
9148 (tar-get-descriptor): Use it.
9149 (tar-get-file-descriptor): New function.
9150 (tar--extract): New function, extracted from tar-extract.
9151 (tar--extract): Use it.
9152 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9153 case the summary uses non-ascii. Adjust to new calling convention of
9154 package-tar-file-info.
9155
b7deae5e
LL
91562013-06-21 Leo Liu <sdl.web@gmail.com>
9157
fd846ab4
SM
9158 * comint.el (comint-redirect-results-list-from-process):
9159 Fix random delay. (Bug#14681)
b7deae5e 9160
7a65a0b2
JB
91612013-06-21 Juanma Barranquero <lekktu@gmail.com>
9162
9163 * profiler.el (profiler-format-number): Use log, not log10.
9164
1493c2af
JB
91652013-06-20 Juanma Barranquero <lekktu@gmail.com>
9166
9167 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9168
aff6371e
SM
91692013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9170
9171 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9172 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9173 yet available.
9174 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9175 (AUTOGENEL): ... here.
9176 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9177 (cl--defsubst-expand): Use it.
9178
89561f72
PE
91792013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9180
9181 * subr.el (log10): Move here from C code, and declare as obsolete.
9182 All uses of (log10 X) replaced with (log X 10).
9183
47199123
JB
91842013-06-20 Juanma Barranquero <lekktu@gmail.com>
9185
9186 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9187 Declare with `defvar-local'.
9188 (tabulated-list-use-header-line, tabulated-list-entries)
9189 (tabulated-list-padding, tabulated-list-printer)
9190 (tabulated-list-sort-key): Declare with `defvar-local'.
9191 (tabulated-list-init-header, tabulated-list-print-fake-header):
9192 Use `setq-local'.
9193
4a172eab
MA
91942013-06-20 Michael Albinus <michael.albinus@gmx.de>
9195
47199123
JB
9196 * arc-mode.el (archive-mode): Add `archive-write-file' to
9197 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 9198
5fc0acc0
JB
91992013-06-20 Juanma Barranquero <lekktu@gmail.com>
9200
d5b27848
JB
9201 * cus-edit.el (custom-commands): Fix typos.
9202 (custom-display): Fix tooltip text.
9203 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9204 Fix typos in docstrings.
9205 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9206 (custom-unlispify-menu-entry, custom-magic-value-create)
9207 (custom-add-see-also, custom-group-value-create): Use ?\s.
9208 (custom-guess-type, customize-apropos, editable-field)
9209 (custom-face-value-create): Use `string-match-p'.
9210 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9211
9212 * custom.el (custom-load-symbol): Use `string-match-p'.
9213
a5c581d8
JB
9214 * ansi-color.el: Convert to lexical binding.
9215 (ansi-colors): Fix URL.
9216 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9217 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9218 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9219
970ad972
G
92202013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9221
9222 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9223
9224 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9225
92262013-06-19 Tom Tromey <tromey@redhat.com>
9227
9228 * net/eww.el (eww-top-url): Remove.
9229 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9230 (eww-render): Set new variables. Don't set eww-top-url.
9231 (eww-handle-link): Handle "prev", "home", and "contents".
9232 Downcase the rel text.
9233 (eww-top-url): Choose best top URL.
9234
92352013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9236
9237 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9238 relying in widget.el. Using widget.el leads to too many
9239 user interface inconsistencies.
9240 (eww-self-insert): Implement entering commands in text fields.
9241 (eww-process-text-input): New function to make text input field editing
9242 work.
9243 (eww-submit): Rewrite to use the new-style form methods.
9244 (eww-select-display): Display the correct selected item.
9245 (eww-change-select): Implement changing the select value.
9246 (eww-toggle-checkbox): Implement radio/checkboxes.
9247 (eww-update-field): Fix compilation error.
9248 (eww-tag-textarea): Implement <textarea>.
9249
9250 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9251 we don't shadow mode-specific bindings.
9252
9253 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9254 nothing to push.
9255
9256 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9257
4582a01c 92582013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9259
9260 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9261
15b263dc
MA
92622013-06-19 Michael Albinus <michael.albinus@gmx.de>
9263
9264 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9265 not needed.
9266
9267 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9268
8f5297f7
LMI
92692013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9270
9271 * net/browse-url.el (browse-url-browser-function):
9272 `eww-browse-url' has the right calling signature, `eww' does not.
9273
011c4552
GM
92742013-06-19 Glenn Morris <rgm@gnu.org>
9275
2285bd27
GM
9276 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9277 Only eval autoloaded macros.
9278 (byte-compile-autoload): Only give the macro warning for macros.
9279
1d653303
GM
9280 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9281 (ps-underlined-faces): Declare.
9282
bdd779ec
GM
9283 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9284 (speedbar-add-supported-extension): Declare.
9285
011c4552
GM
9286 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9287 Don't include a date stamp in the header of the generated file;
9288 it leads to needless differences between output files.
9289
e59dfb0e
MA
92902013-06-19 Michael Albinus <michael.albinus@gmx.de>
9291
c763842b
SM
9292 * net/secrets.el (secrets-struct-secret-content-type):
9293 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9294 Some servers do not offer introspection.
e59dfb0e 9295
102626e2
SM
92962013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9297
9298 * electric.el (electric-pair-mode): Improve interaction with
9299 electric-layout-mode.
9300 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9301 (electric-pair-syntax): Use text-mode-syntax-table in comments
9302 and strings.
9303 (electric-pair--insert): New function.
9304 (electric-pair-post-self-insert-function): Use it and
9305 electric--after-char-pos.
9306
ad528125
LL
93072013-06-19 Leo Liu <sdl.web@gmail.com>
9308
9309 * progmodes/octave.el (octave-help): Fix regexp.
9310
924d6997
G
93112013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9312
9313 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9314 (shr-table-horizontal-line): Allow nil as a value, and change the
9315 default.
9316 (shr-insert-table-ruler): Respect the nil value.
9317
93182013-06-18 Tom Tromey <tromey@barimba>
9319
9320 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9321 New defvars.
9322 (eww-open-file): New defun.
9323 (eww-render): Initialize new variables.
9324 (eww-display-html): Handle "link" and "a".
9325 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9326 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9327 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9328 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9329 New defuns.
924d6997 9330
d1bbba4f
DG
93312013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9332
9333 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9334 Distinguish ternary operator tokens from slash symbol and slash
9335 char literal.
9336
14dd22d2
JB
93372013-06-18 Juanma Barranquero <lekktu@gmail.com>
9338
9339 Convert symbol prettification into minor mode and global minor mode.
9340
9341 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9342 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9343 (prettify-symbols--keywords): Rename from
9344 `prog-prettify-symbols-alist' and make a local defvar.
9345 (prettify-symbols--compose-symbol): Rename from
9346 `prog--prettify-font-lock-compose-symbol'.
9347 (prettify-symbols--make-keywords): Rename from
9348 `prog-prettify-font-lock-symbols-keywords' and simplify.
9349 (prog-prettify-install): Remove.
9350 (prettify-symbols-mode): New minor mode, based on
9351 `prog-prettify-install'.
9352 (turn-on-prettify-symbols-mode): New function.
9353 (global-prettify-symbols-mode): New globalized minor mode.
9354
9355 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9356 * progmodes/cfengine.el (cfengine3-mode):
9357 * progmodes/perl-mode.el (perl-mode): Don't call
9358 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9359
292c880c
JL
93602013-06-18 Juri Linkov <juri@jurta.org>
9361
9362 * files-x.el (modify-file-local-variable-message): New function.
9363 (modify-file-local-variable)
9364 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9365 and call `modify-file-local-variable-message' when it's non-nil.
9366 (add-file-local-variable, delete-file-local-variable)
9367 (add-file-local-variable-prop-line)
9368 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9369 and use it. (Bug#9820)
9370
0950aa27
JL
93712013-06-18 Juri Linkov <juri@jurta.org>
9372
9373 * emulation/vi.el (vi-shell-op):
9374 * emulation/vip.el (vip-execute-com, ex-command):
9375 * emulation/viper-cmd.el (viper-exec-bang):
9376 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9377 the call of `shell-command-on-region'. (Bug#14637)
9378
9379 * simple.el (shell-command-on-region): Doc fix.
9380
8fbcca16
SM
93812013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9382
9383 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9384 (bug#14633).
9385
dd7426ea
GM
93862013-06-18 Glenn Morris <rgm@gnu.org>
9387
4ba54f7d
GM
9388 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9389
dd7426ea
GM
9390 * newcomment.el (comment-search-forward, comment-search-backward):
9391 Doc fix. (Bug#14376)
9392
58aa805b
JB
93932013-06-18 Juanma Barranquero <lekktu@gmail.com>
9394
9395 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9396 (buffer-face-mode-invoke): Doc fix.
9397
9a08a617
MM
93982013-06-18 Matthias Meulien <orontee@gmail.com>
9399
9400 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9401 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9402
f2f426ca
GM
94032013-06-18 Glenn Morris <rgm@gnu.org>
9404
9445f99b
GM
9405 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9406 Replace obsolete function generic-make-keywords with its expansion.
9407
e0df2d14
GM
9408 * progmodes/python.el (ffap-alist): Declare.
9409
f2f426ca
GM
9410 * textmodes/reftex.el (bibtex-mode-map): Declare.
9411
f7f9a720
SM
94122013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9413
9414 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9415 (package-unpack, package-unpack-single): Return the pkg-dir.
9416 (package-download-transaction): Use it to update package-alist.
9417
57ff04e0
LMI
94182013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9419
9420 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9421 possible choice.
9422
c048c022
JL
94232013-06-17 Juri Linkov <juri@jurta.org>
9424
9425 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9426
b5bcaee5
DG
94272013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9428
a020afb9
JB
9429 * emacs-lisp/package.el (package-load-descriptor):
9430 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9431 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9432
551e07e5
JB
94332013-06-17 Juanma Barranquero <lekktu@gmail.com>
9434
9435 * startup.el (command-line): Expand package name returned by
9436 `package--description-file' (bug#14639).
9437
d363bffb
DG
94382013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9439
9440 * emacs-lisp/package.el (package-load-descriptor): Do not call
9441 `emacs-lisp-mode', just use its syntax table.
9442
f612933b
JB
94432013-06-17 Juanma Barranquero <lekktu@gmail.com>
9444
9445 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9446 `font-lock-extra-managed-props' if any prettifying keyword is added.
9447 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9448 (prog-mode): Use `setq-local'.
9449
db3b7db5
SM
94502013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9451
9452 * international/characters.el (standard-case-table): Set syntax of ?»
9453 and ?« to punctuation.
9454
f3d674df
JB
94552013-06-16 Juanma Barranquero <lekktu@gmail.com>
9456
9457 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9458 Save relevant match data before calling `syntax-ppss' (bug#14595).
9459
31489a32
JL
94602013-06-15 Juri Linkov <juri@jurta.org>
9461
9462 * files-x.el (modify-file-local-variable-prop-line): Add local
9463 variables to the end of the existing comment on the first line.
9464 Use `file-auto-mode-skip' to skip interpreter magic line,
9465 and also skip XML declaration.
9466
66bd25ab
SM
94672013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9468
9469 * startup.el (package--builtin-versions): New var.
9470 (package-subdirectory-regexp): Remove.
9471 (package--description-file): Hard code its value instead.
9472
9473 * emacs-lisp/package.el: Don't activate packages older than builtin.
9474 (package-obsolete-list): Rename from package-obsolete-alist, and make
9475 it into a simple list of package-desc.
9476 (package-strip-version): Remove.
9477 (package-built-in-p): Use package--builtin-versions.
9478 (package-mark-obsolete): Simplify.
9479 (package-process-define-package): Mark it obsolete if older than the
9480 builtin version.
9481 (package-handle-response): Use line-end-position.
9482 (package-read-archive-contents, package--download-one-archive):
9483 Simplify.
9484 (package--add-to-archive-contents): Skip if older than the builtin or
9485 installed version.
9486 (package-menu-describe-package): Fix last change.
9487 (package-list-unversioned): New var.
9488 (package-menu--generate): Use it.
9489
9490 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9491 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9492 (autoload-builtin-package-versions): New variable.
9493 (autoload-generate-file-autoloads): Use them.
9494 Remove the list of autoloaded functions/macros from the
9495 (autoload...) comments.
9496
9497 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9498
9583ec36
EZ
94992013-06-15 Eli Zaretskii <eliz@gnu.org>
9500
9501 * simple.el (line-move-partial): Don't jump to the next screen
9502 line as soon as it becomes visible. Instead, continue enlarging
9503 the vscroll until the portion of a tall screen line that's left on
9504 display is about the height of the frame's default font.
9505 (Bug#14567)
9506
f0100d8a
GM
95072013-06-15 Glenn Morris <rgm@gnu.org>
9508
b86a85ca
GM
9509 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9510 compilation-error-regexp-alist void, or local while let-bound.
9511
f0100d8a
GM
9512 * progmodes/make-mode.el (makefile-mode-syntax-table):
9513 Treat "=" as punctuation. (Bug#14614)
9514
05e7ce90
JB
95152013-06-15 Juanma Barranquero <lekktu@gmail.com>
9516
9517 * help-fns.el (describe-variable):
9518 Add extra line for permanent-local variables.
9519
12e5e86e
SH
95202013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9521
9522 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9523 Add export, import, library. (Bug#9164)
9524 (library): Set indent function.
9525
230dcbaf
GM
95262013-06-14 Glenn Morris <rgm@gnu.org>
9527
9528 * term/xterm.el (xterm--query):
9529 Stop after first matching handler. (Bug#14615)
9530
e36b2d20 95312013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9532
9533 Add support for dired in saveplace.
9534 * dired.el (dired-initial-position-hook): New variable.
9535 (dired-initial-position): Call hook to place cursor position.
9536 * saveplace.el (save-place-to-alist): Add dired position.
9537 (save-place-dired-hook): New function.
9538
0b31660d
SM
95392013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9540
bf1e6ae8
SM
9541 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9542 through a symbol rather than letrec.
9543
1b8dff23
SM
9544 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9545 (package-desc): Add `dir' field.
9546 (package-desc-full-name): New function.
9547 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9548 (package-maybe-load-descriptor): Remove.
9549 (package-load-all-descriptors): Just call package-load-descriptor.
9550 (package--disabled-p): New function.
9551 (package-desc-vers, package-desc-doc): Remove aliases.
9552 (package--dir): Remove function.
9553 (package-activate): Check if a package is disabled.
9554 (package-process-define-package): New function, extracted from
9555 define-package.
9556 (define-package): Turn into a place holder.
9557 (package-unpack-single, package-tar-file-info):
9558 Use package--description-file.
9559 (package-compute-transaction): Use package--disabled-p.
9560 (package-download-transaction): Don't call
9561 package-maybe-load-descriptor since they're all loaded anyway.
9562 (package-install): Change argument to be a pkg-desc.
9563 (package-delete): Use a single pkg-desc argument.
9564 (describe-package-1): Use package-desc-dir instead of package--dir.
9565 Use package-desc property instead of package-symbol.
9566 (package-install-button-action): Adjust accordingly.
9567 (package--push): Rewrite.
9568 (package-menu--print-info): Adjust accordingly. Change the ID format
9569 to be a pkg-desc.
9570 (package-menu-describe-package, package-menu-get-status)
9571 (package-menu--find-upgrades, package-menu-mark-upgrades)
9572 (package-menu-execute, package-menu--name-predicate):
9573 Adjust accordingly.
9574 * startup.el (package--description-file): New function.
9575 (command-line): Use it.
9576 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9577 Use package-desc-version.
9578
0b31660d
SM
9579 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9580 (byte-compile-preprocess): Use it.
9581 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9582 can't quite recognize.
9583 (byte-compile-add-to-list): Remove.
9584 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9585 (cconv-closure-convert): Add assertion.
9586
9587 * emacs-lisp/map-ynp.el: Use lexical-binding.
9588 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9589 Factor out some repeated code.
9590
de0503df
SM
95912013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9592
9593 * subr.el (with-eval-after-load): New macro.
9594 (eval-after-load): Allow form to be a function.
9595 take advantage of lexical-binding.
9596 (do-after-load-evaluation): Use dolist and adjust to new format.
9597 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9598
bc5c8c5a
JL
95992013-06-13 Juri Linkov <juri@jurta.org>
9600
9601 * replace.el (perform-replace): Display "symbol " and other search
9602 modes from `isearch-message-prefix' in the *Help* buffer.
9603
9604 * isearch.el (isearch-query-replace): Add " symbol" and other
9605 possible search modes from `isearch-message-prefix' to the prompt.
9606 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9607 when reading a regexp to collect.
9608
a22289f7
JL
96092013-06-13 Juri Linkov <juri@jurta.org>
9610
9611 * isearch.el (word-search-regexp): Match whitespace if the search
9612 string begins or ends in whitespace. The LAX arg is applied to
9613 both ends of the search string. Use `regexp-quote' and explicit
9614 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9615 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9616 boundaries are replaced with symbol boundaries, and characters
9617 between symbols match non-word non-symbol syntax. (Bug#14602)
9618
cb89acab
JL
96192013-06-13 Juri Linkov <juri@jurta.org>
9620
9621 * isearch.el (isearch-del-char): Don't exceed the length of
9622 `isearch-string' by the prefix arg. (Bug#14563)
9623
6e8cfc81
JL
96242013-06-13 Juri Linkov <juri@jurta.org>
9625
9626 * isearch.el (isearch-yank-word, isearch-yank-line)
9627 (isearch-char-by-name, isearch-quote-char)
9628 (isearch-printing-char, isearch-process-search-char):
9629 Add optional count prefix arg. (Bug#14563)
9630
9631 * international/isearch-x.el
9632 (isearch-process-search-multibyte-characters):
9633 Add optional count prefix arg.
9634
c23d55f4
VS
96352013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9636
9637 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9638 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9639 lexical-binding.
9640
96412013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9642
9643 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9644
ba947bc4
GM
96452013-06-13 Glenn Morris <rgm@gnu.org>
9646
8baeb37a
GM
9647 * startup.el (tty-handle-args):
9648 Don't just discard "--" and anything after. (Bug#14608)
9649
ba947bc4
GM
9650 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9651
9abefce4
MA
96522013-06-13 Michael Albinus <michael.albinus@gmx.de>
9653
9654 Implement changes in Secret Service API. Make it backward compatible.
9655 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9656 (secrets-create-item): Use it. Prefix properties with interface.
9657
5755011f
MH
96582013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9659
9660 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9661 (term-emulate-terminal): Respect term-suppress-hard-newline.
9662
1261d2da
S
96632013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9664
9665 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9666 Only remove a `thumb-file' overlay. (Bug#14548)
9667
868490bb
GJ
96682013-06-12 Grégoire Jadi <daimrod@gmail.com>
9669
9670 * mail/reporter.el (reporter-submit-bug-report):
9671 Handle missing package-name. (Bug#14600)
9672
79d7167f
TH
96732013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9674
9675 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9676 (reftex-citation-prompt, reftex-default-bibliography)
9677 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9678 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9679 (reftex-bib-sort-author, reftex-bib-sort-year)
9680 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9681 (reftex-extract-bib-entries-from-thebibliography)
9682 (reftex-get-bibkey-default, reftex-get-bib-names)
9683 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9684 (reftex-format-bib-entry, reftex-parse-bibitem)
9685 (reftex-format-bibitem, reftex-do-citation)
9686 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9687 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9688 (reftex-insert-bib-matches, reftex-format-citation)
9689 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9690 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9691 existing comments into docstrings.
9692
5f9dbd7a
XF
96932013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9694
9695 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9696
94df41ab
AS
96972013-06-12 Andreas Schwab <schwab@suse.de>
9698
9699 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9700 for auto-save files.
9701
a7f3fecc
GM
97022013-06-12 Glenn Morris <rgm@gnu.org>
9703
001809f6
GM
9704 * ido.el (ido-delete-ignored-files): Remove.
9705 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9706 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9707
834b5ded
EL
97082013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9709
08c73ed2
EL
9710 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9711
834b5ded
EL
9712 * ido.el (ido-delete-ignored-files): New function,
9713 split from ido-make-file-list-1.
9714 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9715 (ido-make-file-list-1): Use ido-delete-ignored-files.
9716
daabf15a
LL
97172013-06-12 Leo Liu <sdl.web@gmail.com>
9718
9719 * progmodes/octave.el (inferior-octave-startup)
9720 (inferior-octave-completion-table)
9721 (inferior-octave-track-window-width-change)
9722 (octave-eldoc-function-signatures, octave-help)
9723 (octave-find-definition): Use single quoted strings.
9724 (inferior-octave-startup-args): Change default value.
9725 (inferior-octave-startup): Do not hard code "-i" and
9726 "--no-line-editing".
9727 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9728 (inferior-octave-directory-tracker): Use it.
9729 (octave-goto-function-definition): Robustify.
9730 (octave-help): Support highlighting operators in 'See also'.
9731 (octave-find-definition): Find subfunctions only in Octave mode.
9732
cf4e5178
SM
97332013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9734
9735 * help-fns.el (help-fns--compiler-macro): If the handler function is
9736 named, then put a link to it.
9737 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9738 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9739 (cl-typep): Use it.
9740 (cl-eval-when): Simplify debug spec.
9741 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9742 compiler-macro function instead of setting `compiler-macro-file'.
9743
99c81280 97442013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9745
9746 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9747 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9748
f56be016
SM
97492013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9750 Daniel Hackney <dan@haxney.org>
9751
9752 First part of Daniel Hackney's patch to package.el.
9753 * emacs-lisp/package.el: Use defstruct.
9754 (package-desc): New, main struct.
9755 (package--bi-desc, package--ac-desc): New structs, used to describe the
9756 format in external files.
9757 (package-desc-vers): Replace with package-desc-version accessor.
9758 (package-desc-doc): Replace with package-desc-summary accessor.
9759 (package-activate-1): Remove `package' arg since the pkg-vec now
9760 includes the name.
9761 (define-package): Use package-desc-from-define.
9762 (package-unpack-single): Change file-name arg to be a symbol.
9763 (package--add-to-archive-contents): Use package-desc-create and new
9764 accessor functions to package--ac-desc.
9765 (package-buffer-info, package-tar-file-info): Return a package-desc.
9766 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9767 arg to be a package-desc.
9768 (package-install-file): Adjust accordingly. Use \' to match EOS.
9769 (package--from-builtin): New function.
9770 (describe-package-1, package-menu--generate): Use it.
9771 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9772 (package-generate-autoloads): Idem and return the name of the file.
9773 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9774 Change pkg-info arg to be a package-desc.
9775 Use package-make-ac-desc.
9776 (package-upload-file): Use \' to match EOS.
9777 * finder.el (finder-compile-keywords): Use package-make-builtin.
9778
31119d63
SM
97792013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9780
931a2762
SM
9781 * vc/vc.el (vc-deduce-fileset): Change error message.
9782 (vc-read-backend): New function.
9783 (vc-next-action): Use it.
9784
5a3eb0c6
SM
9785 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9786
e3eb1bb7
SM
9787 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9788 (prolog-font-lock-keywords): Use regexp-opt instead.
9789 Don't manually highlight strings.
9790 (prolog-mode-variables): Simplify comment-start-skip.
9791 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9792
31119d63
SM
9793 * emacs-lisp/generic.el (generic--normalise-comments)
9794 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9795 (generic-mode-set-comments): Use them.
9796 (generic-bracket-support): Use setq-local.
9797 (generic-make-keywords-list): Declare obsolete.
9798
7de135d0
GM
97992013-06-11 Glenn Morris <rgm@gnu.org>
9800
9801 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9802 Prettify after setting font-lock-defaults. (Bug#14574)
9803
fa6bc6fd
JB
98042013-06-11 Juanma Barranquero <lekktu@gmail.com>
9805
9806 * replace.el (query-replace, occur-read-regexp-defaults-function)
9807 (replace-search):
9808 * subr.el (declare-function, number-sequence, local-set-key)
9809 (substitute-key-definition, locate-user-emacs-file)
9810 (with-silent-modifications, split-string, eval-after-load):
9811 Fix typos, remove unneeded backslashes and reflow some docstrings.
9812
cf1f9b9a
SM
98132013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9814
9815 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9816 default for Elisp files.
9817
56602a4b
GM
98182013-06-11 Glenn Morris <rgm@gnu.org>
9819
9820 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9821 although define-derived-mode was doing this anyway. (Bug#14583)
9822
30ae0b2c
JB
98232013-06-10 Juanma Barranquero <lekktu@gmail.com>
9824
9825 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9826 Fix make-variable-buffer-local call to refer to the correct variable.
9827
fa472906
AG
98282013-06-10 Aidan Gauland <aidalgol@amuri.net>
9829
9830 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9831 (eshell-visual-subcommands, eshell-visual-options):
9832 Add summary line to docstrings. Add cross-references.
fa472906 9833
ff4871b9
GM
98342013-06-10 Glenn Morris <rgm@gnu.org>
9835
9836 * epa.el (epa-read-file-name): New function. (Bug#14510)
9837 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9838
04fcf1b0
AG
98392013-06-09 Aidan Gauland <aidalgol@amuri.net>
9840
9841 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9842 output redirection to be ignored with visual commands.
9843
88b00caa
AG
98442013-06-09 Aidan Gauland <aidalgol@amuri.net>
9845
9846 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9847 (eshell-term-initialize): Move long lambda to separate function
9848 eshell-visual-command-p.
e7b41c4c
JB
9849 * eshell/em-dirs.el (eshell-dirs-initialise):
9850 * eshell/em-script.el (eshell-script-initialize):
9851 Add missing #' to lambda.
88b00caa 9852
fda74125
LL
98532013-06-08 Leo Liu <sdl.web@gmail.com>
9854
9855 * progmodes/octave.el (octave-add-log-current-defun): New function.
9856 (octave-mode): Set add-log-current-defun-function.
9857 (octave-goto-function-definition): Do not move point if not found.
9858 (octave-find-definition): Enhance to try subfunctions first.
9859
467f3b33
GM
98602013-06-08 Glenn Morris <rgm@gnu.org>
9861
9862 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9863 (byte-compile-backward-char, byte-compile-backward-word):
9864 Improve previous change, to handle non-explicit nil.
9865
544badc3
SM
98662013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9867
9868 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9869 (smie--opener/closer-at-point): New function.
9870 (smie--matching-block-data): Use it. Don't match from right after an
9871 opener or right before a closer. Obey smie-blink-matching-inners.
9872 Don't signal a mismatch for repeated inners like "switch..case..case".
9873
a175bf33
LL
98742013-06-07 Leo Liu <sdl.web@gmail.com>
9875
9876 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9877 to t. (Bug#14303)
ce8209d4
LL
9878 (octave-function-header-regexp): Fix. (Bug#14570)
9879 (octave-help-mode-finish-hook, octave-help-mode-finish):
9880 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9881
9882 * newcomment.el (comment-search-backward): Revert last change.
9883 (Bug#14434)
9884
9885 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9886
a822acff
EZ
98872013-06-07 Eli Zaretskii <eliz@gnu.org>
9888
9889 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9890 through xargs, to avoid failure due to MS-Windows limitations on
9891 command-line length.
9892
961166f5
GM
98932013-06-06 Glenn Morris <rgm@gnu.org>
9894
d0341459
GM
9895 * font-lock.el (lisp-font-lock-keywords-2):
9896 Treat user-error like error.
9897
961166f5
GM
9898 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9899 (byte-compile-backward-char, byte-compile-backward-word):
9900 Handle explicit nil arguments. (Bug#14565)
9901
80fa505f
AM
99022013-06-05 Alan Mackenzie <acm@muc.de>
9903
9904 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9905 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9906 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9907 (Bug#9706)
80fa505f 9908
fccdc796
SM
99092013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9910
9911 * autorevert.el (auto-revert-notify-handler): Use memq.
9912 Hide assertion failure.
9913
9914 * skeleton.el: Use cl-lib.
9915 (skeleton-further-elements): Use defvar-local.
9916 (skeleton-insert): Use cl-progv.
9917
9bfff84b
TZ
99182013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9919
9920 * progmodes/prog-mode.el (prog-prettify-symbols)
9921 (prog-prettify-install): Update docstrings.
9922
55577e7c
SM
99232013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9924
9925 * simple.el: Move all the prog-mode code to prog-mode.el.
9926 * progmodes/prog-mode.el: New file.
9927 * loadup.el: Add prog-mode.el.
9928
8fc57765
TZ
99292013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9930
9931 * simple.el (prog-prettify-symbols): Add version.
9932 (prog-prettify-install): Add convenience function to prettify symbols.
9933
9934 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9935 (perl--augmented-font-lock-keywords-1)
9936 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9937 variables and use it.
9938
9939 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9940 (cfengine3-mode): Remove unneeded variable and use it.
9941
9942 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9943 (lisp--augmented-font-lock-keywords-1)
9944 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9945 Remove unneeded variables and use it.
9946
650645d5 99472013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9948
9949 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9950 to point when opening the connection. (Bug#14380)
28f5da6d 9951
781b4af6
SM
99522013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9953
9954 * subr.el (load-history-regexp, load-history-filename-element)
9955 (eval-after-load, after-load-functions, do-after-load-evaluation)
9956 (eval-next-after-load, display-delayed-warnings)
9957 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9958 definition of save-match-data.
9959 (overriding-local-map): Remove accidental obsolescence declaration.
9960
9961 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9962
3ca0d0b4
TZ
99632013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9964
9965 Generalize symbol prettify support to prog-mode and implement it
9966 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9967 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9968 (prog--prettify-font-lock-compose-symbol)
9969 (prog-prettify-font-lock-symbols-keywords): New variables and
9970 functions to support symbol prettification.
9971 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9972 (lisp--augmented-font-lock-keywords-1)
9973 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9974 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9975 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9976 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9977 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9978 * progmodes/perl-mode.el (perl-prettify-symbols)
9979 (perl--font-lock-compose-symbol)
9980 (perl--font-lock-symbols-keywords): Move to prog-mode.
9981 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9982 (perl-font-lock-keywords-1)
9983 (perl-font-lock-keywords-2): Remove explicit prettify support.
9984 (perl--augmented-font-lock-keywords)
9985 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9986 (perl--augmented-font-lock-keywords-2, perl-mode):
9987 Implement prettify support.
3ca0d0b4 9988
976cb066
LL
99892013-06-05 Leo Liu <sdl.web@gmail.com>
9990
9991 Re-implement smie matching block highlight using
9992 show-paren-data-function. (Bug#14395)
9993 * emacs-lisp/smie.el (smie-matching-block-highlight)
9994 (smie--highlight-matching-block-overlay)
9995 (smie--highlight-matching-block-lastpos)
9996 (smie-highlight-matching-block)
9997 (smie-highlight-matching-block-mode): Remove.
9998 (smie--matching-block-data-cache): New variable.
9999 (smie--matching-block-data): New function.
10000 (smie-setup): Use smie--matching-block-data for
10001 show-paren-data-function.
10002
10003 * progmodes/octave.el (octave-mode-menu): Fix.
10004 (octave-find-definition): Skip garbage lines.
10005
208d0342
SM
100062013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10007
10008 Fix compilation error with simultaneous dynamic+lexical scoping.
10009 Add warning when a defvar appears after the first let-binding.
10010 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10011 (byte-compile-close-variables): Initialize it.
10012 (byte-compile--declare-var): New function.
10013 (byte-compile-file-form-defvar)
10014 (byte-compile-file-form-define-abbrev-table)
10015 (byte-compile-file-form-custom-declare-variable): Use it.
10016 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10017 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10018 (byte-compile-bind): Handle dynamic bindings that shadow
10019 lexical bindings.
10020 (byte-compile-unbind): Make arg non-optional.
10021 (byte-compile-let): Simplify.
10022 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10023 (cconv--analyse-function, cconv-analyse-form): Populate it.
10024 Protect byte-compile-bound-variables to limit the scope of defvars.
10025 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10026 Remove unneeded rule for `declare'.
10027
10028 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10029 so as to avoid depending on cl-adjoin at run-time.
10030 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10031
10032 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10033 (macroexp--warn-and-return): Use it.
10034
1ac2891e
GM
100352013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10036
a12bf61e 10037 * subr.el: Convert to lexical binding.
1ac2891e
GM
10038 (overriding-local-map): Make obsolete.
10039 (add-to-list): Doc fix. Add compiler macro.
10040 (read-key): Swap values of local maps.
10041
2587b005
LL
100422013-06-05 Leo Liu <sdl.web@gmail.com>
10043
10044 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10045
f1da3c88
LL
100462013-06-04 Leo Liu <sdl.web@gmail.com>
10047
10048 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10049 (compilation-auto-jump): Suppress the "Mark set" message to give
10050 way to exit message.
10051
3caa391f
AM
100522013-06-04 Alan Mackenzie <acm@muc.de>
10053
10054 Remove faulty optimisation from indentation calculation.
10055 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10056 search limit based on 2000 characters back from indent-point.
10057
068922a2
TH
100582013-06-03 Tassilo Horn <tsdh@gnu.org>
10059
10060 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10061
1f8fdd53
SM
100622013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10063
bbcc4d97
SM
10064 * emacs-lisp/lisp.el: Use lexical-binding.
10065 (lisp--local-variables-1, lisp--local-variables): New functions.
10066 (lisp--local-variables-completion-table): New var.
208d0342 10067 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 10068
1f8fdd53
SM
10069 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10070 eagerly (bug#14422).
10071
c9628c79
MA
100722013-06-03 Michael Albinus <michael.albinus@gmx.de>
10073
10074 * autorevert.el (auto-revert-notify-enabled)
10075 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10076 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10077 (auto-revert-notify-handler): Handle also gfilenotify.
10078
e7b41c4c 10079 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 10080 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 10081 Remove.
c9628c79 10082
e5e4a942
JL
100832013-06-03 Juri Linkov <juri@jurta.org>
10084
10085 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10086 `M-s h .'. (Bug#14427)
10087
10088 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10089 command `hi-lock-face-symbol-at-point'.
10090 (hi-lock-face-symbol-at-point): New command.
10091 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10092 (hi-lock-menu): Add `highlight-symbol-at-point'.
10093 (hi-lock-mode): Doc fix.
10094
10095 * isearch.el (isearch-forward-symbol-at-point): New command.
10096 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10097 (isearch-highlight-regexp): Add a regexp which matches
10098 words/symbols for word/symbol mode.
10099
10100 * subr.el (find-tag-default-bounds): New function with the body
10101 mostly moved from `find-tag-default'.
10102 (find-tag-default): Move most code to `find-tag-default-bounds',
10103 call it and apply `buffer-substring-no-properties' afterwards.
10104
26b3353a
TH
101052013-06-03 Tassilo Horn <tsdh@gnu.org>
10106
781b4af6
SM
10107 * eshell/em-term.el (eshell-term-initialize):
10108 Use `cl-intersection' rather than `intersection'.
26b3353a 10109
51b60f53
XF
101102013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10111
fe054b63 10112 * vc/log-view.el: Doc fix.
d3ffe17c 10113 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 10114
a0eb10b3 101152013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
10116
10117 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10118 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10119 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10120 (eieio-unbound, eieio-default-superclass)
10121 (eieio--define-field-accessors, method-static, method-before)
10122 (method-primary, method-after, method-num-lists)
10123 (method-generic-before, method-generic-primary)
10124 (method-generic-after, method-num-slots)
10125 (eieio-specialized-key-to-generic-key)
10126 (eieio--check-type, class-v, class-p)
10127 (eieio-class-name, define-obsolete-function-alias)
10128 (eieio-class-parents-fast, eieio-class-children-fast)
10129 (same-class-fast-p, class-constructor, generic-p)
10130 (generic-primary-only-p, generic-primary-only-one-p)
10131 (class-option-assoc, class-option, eieio-object-p)
10132 (class-abstract-p, class-method-invocation-order)
10133 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10134 (eieio-class-un-autoload, eieio-defclass)
10135 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10136 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10137 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10138 (eieio-defgeneric-reset-generic-form)
10139 (eieio-defgeneric-form-primary-only)
10140 (eieio-defgeneric-reset-generic-form-primary-only)
10141 (eieio-defgeneric-form-primary-only-one)
10142 (eieio-defgeneric-reset-generic-form-primary-only-one)
10143 (eieio-unbind-method-implementations)
10144 (eieio--defmethod, eieio--typep)
10145 (eieio-perform-slot-validation, eieio-validate-slot-value)
10146 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10147 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10148 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10149 (eieio-slot-name-index, eieio-class-slot-name-index)
10150 (eieio-set-defaults, eieio-initarg-to-attribute)
10151 (eieio-attribute-to-initarg, eieio-c3-candidate)
10152 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10153 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10154 (eieio-class-precedence-list, eieio-generic-call-methodname)
10155 (eieio-generic-call-arglst, eieio-generic-call-key)
10156 (eieio-generic-call-next-method-list)
10157 (eieio-pre-method-execution-functions, eieio-generic-call)
10158 (eieio-generic-call-primary-only, eieiomt-method-list)
10159 (eieiomt-optimizing-obarray, eieiomt-install)
10160 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10161 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 10162 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
10163 (defclass): Remove `eval-and-compile' from macro.
10164 (call-next-method, shared-initialize): Instead of using
10165 `scoped-class' variable, use new eieio--scoped-class, and
10166 eieio--with-scoped-class.
10167 (initialize-instance): Rename local variable 'scoped-class' to
10168 'this-class' to remove ambiguitity from old global.
10169
10170 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10171 eieio.el.
4f405069
JB
10172 (eieio--scoped-class-stack): New variable.
10173 (eieio--scoped-class): New fcn.
890f7890
DE
10174 (eieio--with-scoped-class): New scoping macro.
10175 (eieio-defclass): Use pushnew instead of add-to-list.
10176 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10177 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10178 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10179 `scoped-class' variable, use new eieio--scoped-class, and
10180 eieio--with-scoped-class.
10181
10182 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10183
d105b0e2
TH
101842013-06-02 Tassilo Horn <tsdh@gnu.org>
10185
10186 * eshell/esh-ext.el (eshell-external-command): Pass args to
10187 `eshell-find-interpreter'.
10188 (eshell-find-interpreter): Add new second parameter ARGS.
10189
10190 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 10191 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10192
10193 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 10194 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10195
10196 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10197 (eshell-visual-options): New defcustom.
10198 (eshell-escape-control-x): Adapt docstring.
10199 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10200 `eshell-visual-options' in addition to `eshell-visual-commands'.
10201 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10202
f46305c8 102032013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
10204
10205 * progmodes/python.el (python-indent-block-enders): Add break,
10206 continue and raise keywords.
10207
d870df21
GM
102082013-06-01 Glenn Morris <rgm@gnu.org>
10209
9133b82e
GM
10210 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10211
02c992ec 10212 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
10213 * progmodes/cc-cmds.el (delete-forward-p):
10214 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10215 * progmodes/cc-engine.el (buffer-syntactic-context):
10216 * progmodes/cc-fonts.el (face-property-instance):
10217 * progmodes/cc-mode.el (set-keymap-parents):
10218 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10219 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10220 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
10221 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10222 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 10223
31e7b090
GM
10224 * progmodes/cc-vars.el (other): Emacs has this widget since
10225 at least 21.1, so don't (re)define it.
10226
d870df21
GM
10227 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10228 Replace the obsolete alias pcomplete-arg-quote-list.
10229
c75c93c7
LL
102302013-06-01 Leo Liu <sdl.web@gmail.com>
10231
10232 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10233 punctuation syntax.
10234 (inferior-octave-minimal-columns)
10235 (inferior-octave-last-column-width): New variables.
10236 (inferior-octave-track-window-width-change): New function.
10237 (inferior-octave-mode): Adjust column width so that Octave output,
10238 for example from 'ls', can fit into the window nicely.
10239
973d1e12
DG
102402013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10241
10242 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10243 Highlight expansions inside regexp literals.
10244
0888c286
GM
102452013-05-31 Glenn Morris <rgm@gnu.org>
10246
e26aac1f
GM
10247 * obsolete/sym-comp.el (symbol-complete):
10248 Replace obsolete completion-annotate-function.
10249
0888c286
GM
10250 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10251
19bb8e62
DG
102522013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10253
781b4af6
SM
10254 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10255 New function, checks if point is inside a literal that allows
19bb8e62
DG
10256 expression expansion.
10257 (ruby-syntax-propertize-expansion): Use it.
10258 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10259 around the body.
10260
01dea85f
JL
102612013-05-30 Juri Linkov <juri@jurta.org>
10262
10263 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10264 to "\M-si".
10265 (isearch-invisible): New variable.
10266 (isearch-forward): Doc fix.
10267 (isearch-mode): Set `isearch-invisible'
10268 to the value of `search-invisible'.
10269 (isearch-toggle-case-fold): Doc fix.
10270 (isearch-toggle-invisible): New command.
10271 (isearch-query-replace): Let-bind `search-invisible'
10272 to the value of `isearch-invisible'.
10273 (isearch-search): Use `isearch-invisible' instead of
10274 `search-invisible'. Let-bind `search-invisible'
10275 to the value of `isearch-invisible'. (Bug#11378)
10276
ab1bdce5
JL
102772013-05-30 Juri Linkov <juri@jurta.org>
10278
10279 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10280 call when `query-flag' is nil and `search-invisible' is non-nil.
10281 (Bug#11746)
10282
d6d236e2
GM
102832013-05-30 Glenn Morris <rgm@gnu.org>
10284
8accd027
GM
10285 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10286
2a8bed1c
GM
10287 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10288 (cc-require): Suppress spurious "noruntime" warnings.
10289 (cc-require-when-compile): Use fboundp, for sake of compiler.
10290
d6d236e2
GM
10291 * progmodes/cc-mode.el: Move load of cc-vars before that of
10292 cc-langs (which in turn loads cc-vars), to quieten compiler.
10293
9190b35b
SM
102942013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10295
10296 * paren.el: Simplify the code.
10297 (show-paren-mode): Always start the timer.
10298 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10299 (show-paren--overlay, show-paren--overlay-1): Rename from
10300 show-paren-overlay and show-paren-overlay-1, and initialize to an
10301 overlay rather than to nil.
10302 (show-paren-function): Misc cleanup and simplifications.
10303
4f8d1cf6
SM
103042013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10305
10306 * paren.el (show-paren-data-function): New hook.
10307 (show-paren--default): New function, extracted from show-paren-function.
10308 (show-paren-function): Use show-paren-data-function.
10309
02d844b5
GM
103102013-05-30 Glenn Morris <rgm@gnu.org>
10311
d209d4a9
GM
10312 * ielm.el (ielm-map, ielm-complete-symbol):
10313 Use completion-at-point rather than obsolete functions.
10314 (inferior-emacs-lisp-mode): Doc fix.
10315 Set completion-at-point-functions, rather than
10316 comint-dynamic-complete-functions.
10317
2082faa6
GM
10318 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10319 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10320 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10321
dd8620de
GM
10322 * image.el (image-animated-p): Tweak definition.
10323
ceca95b1
GM
10324 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10325 (rlogin-process-connection-type): Tweak default. Add set-after.
10326 (rlogin-host): Doc fix.
10327 (rlogin): Tweak prompt.
10328 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10329
ee9f1acc
GM
10330 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10331 * progmodes/tcl.el (inferior-tcl-mode-map):
10332 Use completion-at-point rather than obsolete alias.
10333
45ce222e
GM
10334 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10335
02d844b5
GM
10336 * minibuffer.el (read-file-name-completion-ignore-case):
10337 Move before completion--in-region, for eager macro expansion.
10338
ac44d6c1
JL
103392013-05-29 Juri Linkov <juri@jurta.org>
10340
10341 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10342 for total count of matching lines. Add `global-matches' for total
10343 count of matches. Rename `matches' to `lines' for count of
10344 matching lines. Add `matches' for count of matches.
10345 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10346 to `prev-line' for line number of prev match endpt.
10347 Increment `matches' for every match. Print the number of
10348 matching lines in the header.
10349 (occur-context-lines): Rename `lines' to `curr-line'.
10350 Rename `prev-lines' to `prev-line'. (Bug#14017)
10351
3c9c9d38
JL
103522013-05-29 Juri Linkov <juri@jurta.org>
10353
10354 * replace.el (perform-replace): Add `skip-read-only-count',
10355 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10356 Increment them for corresponding conditions and report the number
10357 of skipped occurrences in the final message. (Bug#11746)
10358 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10359 (replace-string, replace-regexp): Doc fix.
10360
33e249a2
SM
103612013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10362
8e399682
SM
10363 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10364
33e249a2 10365 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10366 prog-mode-map (bug#14504).
33e249a2 10367
f236dd84
LL
103682013-05-29 Leo Liu <sdl.web@gmail.com>
10369
10370 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10371 (octave-help): Small simplification.
10372
10373 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10374 off the highlight first.
10375
3694d13f
GM
103762013-05-29 Glenn Morris <rgm@gnu.org>
10377
03983bdc
GM
10378 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10379 Handle idlwave-last-system-routine-info-cons-cell being nil.
10380
bc74a74a
GM
10381 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10382 (idlwave-write-paths): Simplify via with-temp-buffer.
10383
8b394200
GM
10384 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10385 * emulation/cua-rect.el: Also load cua-base at run time.
10386
3694d13f
GM
10387 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10388 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10389 (cperl-imenu-on-info): Require imenu.
10390
336d7284
AM
103912013-05-28 Alan Mackenzie <acm@muc.de>
10392
10393 Handle "capitalised keywords" correctly.
33e249a2 10394 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10395
cb29c582
AG
103962013-05-28 Aidan Gauland <aidalgol@amuri.net>
10397
781b4af6 10398 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10399
690e44b2
GM
104002013-05-28 Glenn Morris <rgm@gnu.org>
10401
e658d75c
GM
10402 * vc/vc-arch.el (vc-exec-after): Declare.
10403 (vc-switches): Autoload.
10404 * vc/vc-bzr.el: No need to require vc when compiling.
10405 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10406 (vc-resynch-buffer, vc-dir-refresh): Declare.
10407 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10408 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10409 (vc-resynch-buffer): Declare.
10410 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10411 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10412 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10413 (grep-read-regexp, grep-read-files, grep-expand-template)
10414 (vc-dir-refresh): Declare.
10415 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10416 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10417 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10418 * vc/vc-mtn.el (vc-exec-after): Declare.
10419 (vc-switches): Autoload.
10420 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10421 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10422 (vc-file-tree-walk): Declare.
712b9732
GM
10423 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10424 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10425 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10426 * vc/vc-svn.el (vc-exec-after): Declare.
10427 (vc-switches, vc-setup-buffer): Autoload.
10428 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10429 Autoload.
10430 (vc-resynch-buffer): Declare.
10431
98e87fb3
GM
10432 * obsolete/fast-lock.el (byte-compile-warnings):
10433 Don't warn about obsolete features in this obsolete file.
10434
f5379553
GM
10435 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10436 Move definition before use.
10437
7a20ef83
GM
10438 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10439 (dun-unix-verbs): Remove dun-zippy.
10440 (dun-zippy): Remove function.
10441
690e44b2
GM
10442 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10443
3a52ccf7
JL
104442013-05-27 Juri Linkov <juri@jurta.org>
10445
10446 * replace.el (replace-search): New function with code moved out
10447 from `perform-replace'.
10448 (replace-highlight, replace-dehighlight): Move function definitions
10449 up closer to `replace-search'. (Bug#11746)
10450
d289938a
JL
104512013-05-27 Juri Linkov <juri@jurta.org>
10452
10453 * replace.el (perform-replace): Ignore invisible matches.
10454 In addition to checking `query-replace-skip-read-only', also
10455 filter out matches by calling `run-hook-with-args-until-failure'
10456 on `isearch-filter-predicates', and also check `search-invisible'
10457 for t or call `isearch-range-invisible'.
10458 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10459
66fc57e3
JL
104602013-05-27 Juri Linkov <juri@jurta.org>
10461
10462 * isearch.el (isearch-filter-predicates): Rename from
10463 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10464 (isearch-message-prefix): Display text from the property
10465 `isearch-message-prefix' of the currently active filters.
10466 (isearch-search): Don't compare `isearch-filter-predicate' with
10467 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10468 on `isearch-filter-predicates'. Also check `search-invisible' for t
10469 or call `isearch-range-invisible'.
10470 (isearch-filter-visible): Make obsolete.
10471 (isearch-lazy-highlight-search):
10472 Call `run-hook-with-args-until-failure' on
10473 `isearch-filter-predicates' and use `isearch-range-invisible'.
10474
10475 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10476 `isearch-filter-predicates' instead of `funcall'ing
10477 `isearch-filter-predicate'.
10478 (Info-mode): Set `Info-isearch-filter' to
10479 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10480
10481 * dired-aux.el (dired-isearch-filter-predicate-orig):
10482 Remove variable.
10483 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10484 (dired-isearch-filenames-end): Add and remove
10485 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10486 instead of changing the value of `isearch-filter-predicate'.
10487 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10488 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10489 Put property `isearch-message-prefix' to "filename " on
10490 `dired-isearch-filter-filenames'.
10491
10492 * wdired.el (wdired-change-to-wdired-mode):
10493 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10494 locally instead of changing `isearch-filter-predicate'.
10495 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10496
f1a60a0f
DG
104972013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10498
10499 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10500 return the commit hash (Bug#14459). Also set the
10501 `vc-git-detached' property.
10502 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10503 (vc-git-mode-line-string): Use the same help-echo format whether
10504 in detached mode or not, because we know the actual revision now.
10505 When in detached mode, shorten the revision to 7 chars.
10506
7f17cc40
SM
105072013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10508
10509 * emacs-lisp/easy-mmode.el (define-minor-mode):
10510 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10511 mode hook and provide a docstring.
10512
25c8401c
AM
105132013-05-27 Alan Mackenzie <acm@muc.de>
10514
10515 Remove spurious syntax-table text properties inserted by C-y.
10516 * progmodes/cc-mode.el (c-after-change): Also clear hard
10517 syntax-table property with value nil.
10518
dde84790
MA
105192013-05-27 Michael Albinus <michael.albinus@gmx.de>
10520
10521 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10522 when reading the events; the buffer layout shall not be changed.
10523
837fd9af
LL
105242013-05-27 Leo Liu <sdl.web@gmail.com>
10525
10526 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10527 New variable.
10528 (inferior-octave-directory-tracker): Automatically re-sync
10529 default-directory.
10530 (octave-help): Improve handling of 'See also'.
10531
4fd996b3
SM
105322013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10533
416f1802
SM
10534 * doc-view.el: Minor naming convention tweaks.
10535 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10536
4fd996b3
SM
10537 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10538 even if there's no `display' property yet (bug#14435).
10539
a052ef3b
EZ
105402013-05-25 Eli Zaretskii <eliz@gnu.org>
10541
4fd996b3 10542 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10543
10544 * Makefile.in (custom-deps, finder-data, autoloads)
10545 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10546 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10547 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10548
c9023370
SM
105492013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10550
10551 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10552 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10553 Don't burp at EOB.
c9023370 10554
24d699fa
LL
105552013-05-25 Leo Liu <sdl.web@gmail.com>
10556
10557 * comint.el (comint-previous-matching-input): Do not flood the
10558 *Messages* buffer with trivial messages.
10559
17e5c0cc
SM
105602013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10561
10562 * progmodes/flymake.el (flymake-nop): Don't return a string.
10563 (flymake-set-at): Fix typo.
10564
10565 * simple.el (read--expression): New function, extracted from
10566 eval-expression. Set completion-at-point-functions (bug#14465).
10567 (eval-expression, eval-minibuffer): Use it.
10568
5d028165
XF
105692013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10570
10571 * progmodes/flymake.el (flymake-save-buffer-in-file)
10572 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10573 (flymake-selected-frame, flymake-log, flymake-ins-after)
10574 (flymake-set-at, flymake-get-buildfile-from-cache)
10575 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10576 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10577 Refine the doc string.
10578 (flymake-get-file-name-mode-and-masks): Reformat.
10579 (flymake-get-real-file-name-function): Fix a minor bug.
10580
7a1d7ba7
JL
105812013-05-24 Juri Linkov <juri@jurta.org>
10582
10583 * progmodes/grep.el (grep-mode-font-lock-keywords):
10584 Support =linenumber= format used by git-grep for lines with
10585 function names. (Bug#13549)
10586
650cff3d
SM
105872013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10588
10589 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10590 0 after a semi-colon; it works better for smie-auto-fill.
10591 (octave--indent-new-comment-line): New function.
10592 (octave-indent-new-comment-line): Use it (indirectly).
10593 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10594 modify comment-line-break-function.
10595
10596 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10597 (smie-setup): Use add-function to set it.
10598
9631677d
SS
105992013-05-24 Sam Steingold <sds@gnu.org>
10600
10601 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10602 argument (before the `interactive' argument).
10603
50105835
SM
106042013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10605
10606 * image-mode.el (image-mode-winprops): Add winprops to
10607 image-mode-winprops-alist before running
10608 image-mode-new-window-functions.
10609 * doc-view.el (doc-view-new-window-function): Don't delay
10610 doc-view-goto-page via timers (bug#14435).
10611
57b9823e
TH
106122013-05-24 Tassilo Horn <tsdh@gnu.org>
10613
10614 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10615 (doc-view-desktop-save-buffer): New function.
10616 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10617 (desktop-buffer-mode-handlers):
10618 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10619 handler.
10620 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10621 `desktop-save-buffer' function.
10622
91aafa16
MA
106232013-05-24 Michael Albinus <michael.albinus@gmx.de>
10624
10625 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10626 (tramp-gvfs-file-name-handler): Raise a user error when
10627 `tramp-gvfs-enabled' is nil.
10628 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10629 Do not raise a user error when loading package. (Bug#14447)
10630
ec076379
MA
10631 * net/xesam.el: Move to obsolete/.
10632
db785726
GM
106332013-05-24 Glenn Morris <rgm@gnu.org>
10634
af5c7606
GM
10635 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10636
e5d1916a
GM
10637 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10638
ded62b08
GM
10639 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10640 (Info-find-node, Man-getpage-in-background): Declare.
10641
9e614a3f
GM
10642 * mail/unrmail.el (unrmail):
10643 Replace obsolete detect-coding-with-priority.
10644
892f8ca3
GM
10645 * net/socks.el (socks-split-string): Use this rather than split-string.
10646 (socks-nslookup-host): Update for above change.
10647 (dynamic-choice, s5-dynamic-choice-match)
10648 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10649 Comment out unused code.
10650
3c291973
GM
10651 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10652 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10653 (gud-tooltip-echo-area): Make obsolete.
10654 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10655
43cc956b
GM
10656 * progmodes/js.el (js--optimize-arglist): Declare.
10657
dab49a3b
GM
10658 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10659
36b9d085
GM
10660 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10661 (ediff-window-C): Declare.
10662
e354ae76
GM
10663 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10664 Tweak requires to silence compiler.
10665
b8e57bf4
GM
10666 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10667 (he-search-string, he-tried-table, he-expand-list)
10668 (he-init-string, he-string-member, he-substitute-string)
10669 (he-reset-string): Declare.
10670
db785726
GM
10671 * obsolete/options.el (list-options): Use custom-variable-p,
10672 rather than obsolete alias.
10673
b3531901
SS
106742013-05-23 Sam Steingold <sds@gnu.org>
10675
10676 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10677 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10678 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10679
bdda4c66
SM
106802013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10681
10682 * emacs-lisp/smie.el (smie-indent-forward-token)
10683 (smie-indent-backward-token): Handle string tokens (bug#14381).
10684
c43d45f9
TH
106852013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10686
fe1eb856
RS
10687 * ielm.el (ielm-menu): New menu.
10688 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10689
fe1eb856
RS
106902013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10691
a12bf61e 10692 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10693 Fix deactivate action.
10694
a12bf61e 10695 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10696 Add cleveref macros.
074dd971 10697
a12bf61e 10698 * textmodes/reftex-parse.el
c43d45f9
TH
10699 (reftex-locate-bibliography-files): Accept options for
10700 bibliography commands.
a12bf61e 10701 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10702 Add addbibresource. Basic Biblatex support.
10703
7764286e
MA
107042013-05-23 Michael Albinus <michael.albinus@gmx.de>
10705
10706 * net/tramp-gvfs.el (top):
10707 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10708 when loading package. (Bug#14447)
10709
d361bc10
GM
107102013-05-23 Glenn Morris <rgm@gnu.org>
10711
8fa23984
GM
10712 * progmodes/js.el: No need to load comint when compiling.
10713 (ring-insert, comint-send-string, comint-send-input)
10714 (comint-last-input-end, ido-chop): Declare.
10715
a5c7df1a
GM
10716 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10717 * vc/ediff-mult.el: Adjust requires.
10718 (ediff-directories-internal, ediff-directory-revisions-internal)
10719 (ediff-patch-file-internal): Declare.
10720 * vc/ediff-ptch.el: Adjust requires.
10721 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10722 (ediff-find-file): Autoload.
10723 * vc/ediff-util.el: No need to load ediff when compiling.
10724 (ediff-regions-internal): Declare.
10725 * vc/ediff-wind.el: Adjust requires.
10726 (ediff-compute-toolbar-width): Define when compiling.
10727 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10728 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10729 (dired-get-filename, dired-get-marked-files)
10730 (ediff-last-dir-patch, ediff-patch-default-directory)
10731 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10732 (ediff-patch-buffer-internal): Declare.
10733
e2aec513
GM
10734 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10735 (ispell-process, ispell-buffer-local-words, lm-summary)
10736 (lm-section-start, lm-section-end): Declare.
10737 (checkdoc-ispell-init): Simplify.
10738
e68bbd7c
GM
10739 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10740 (he-string-member, he-reset-string, he-substitute-string): Declare.
10741
7efe0991
GM
10742 * eshell/em-ls.el: Adjust requires.
10743 (eshell-glob-regexp): Declare.
f87b1284
GM
10744 * eshell/em-tramp.el: Adjust requires.
10745 (eshell-parse-command): Autoload.
10746 * eshell/em-xtra.el: Adjust requires.
10747 (eshell-parse-command): Autoload.
10748 * eshell/esh-ext.el: Adjust requires.
10749 (eshell-parse-command, eshell-close-handles): Autoload.
10750 * eshell/esh-io.el: Adjust requires.
10751 (eshell-output-filter): Autoload.
10752 * eshell/esh-util.el: No need to load tramp when compiling.
10753 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10754 Declare.
10755 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10756 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10757 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10758 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10759 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10760 * eshell/esh-opt.el, eshell/esh-proc.el:
10761 * eshell/esh-var.el: Adjust requires.
10762 * eshell/eshell.el: Do not require esh-util twice.
10763 (eshell-add-input-to-history): Declare.
10764 (eshell-command): Check history module is active before using it.
10765
d361bc10
GM
10766 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10767
85d090a9
LL
107682013-05-22 Leo Liu <sdl.web@gmail.com>
10769
10770 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10771
5d0acd9d
MA
107722013-05-22 Michael Albinus <michael.albinus@gmx.de>
10773
10774 * autorevert.el (auto-revert-notify-add-watch)
10775 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10776 it indicates changes in file modification time.
10777
0cdffd7d
GM
107782013-05-22 Glenn Morris <rgm@gnu.org>
10779
ca5995ec
GM
10780 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10781 Always delete the autoloaded function from the noruntime and
10782 unresolved functions lists.
10783
6450907e
GM
10784 * allout.el: No need to load epa, epg, overlay when compiling.
10785 (epg-context-set-passphrase-callback, epg-list-keys)
10786 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10787 (epg-key-user-id-list): Declare.
10788
9c6906f6
GM
10789 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10790 (viper-set-parsing-style-toggling-macro)
10791 (viper-set-emacs-state-searchstyle-macros):
10792 Use called-interactively-p on Emacs.
10793 (viper-looking-back): Make it an obsolete alias. Update callers.
10794 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10795 Use looking-back rather than viper-looking-back.
10796 (viper-tmp-insert-at-eob, viper-enlarge-region)
10797 (viper-read-string-with-history, viper-register-to-point)
10798 (viper-append-to-register, viper-change-state-to-vi)
10799 (viper-backward-char-carefully, viper-forward-char-carefully)
10800 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10801 (viper-change-state-to-emacs): Declare.
10802 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10803 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10804 * emulation/viper-mous.el: Do not load viper-cmd.
10805 (viper-backward-char-carefully, viper-forward-char-carefully)
10806 (viper-forward-word, viper-adjust-window): Declare.
10807
5f70c169
GM
10808 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10809
b1b7f300
GM
10810 * progmodes/idlw-help.el (idlwave-help-fontify):
10811 Use called-interactively-p.
10812
f6ebbb46
GM
10813 * term/w32console.el (w32-get-console-codepage)
10814 (w32-get-console-output-codepage): Declare.
10815
0cdffd7d
GM
10816 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10817 Remove unnecessary declarations.
10818 (dframe-message): Doc fix.
10819
10820 * info.el (dframe-select-attached-frame, dframe-current-frame):
10821 Declare.
10822
10823 * speedbar.el (speedbar-message): Make it an obsolete alias.
10824 Update all callers.
10825 (speedbar-with-attached-buffer)
10826 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10827 (speedbar-with-writable): Use backquote.
10828 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10829 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10830 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10831 rather than speedbar- aliases.
10832 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10833 (speedbar-make-specialized-keymap, speedbar-insert-button)
10834 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10835 (speedbar-do-function-pointer): Declare.
10836 (rmail-speedbar-button, rmail-speedbar-find-file)
10837 (rmail-speedbar-move-message):
10838 Use dframe-with-attached-buffer rather than speedbar- alias.
10839 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10840 (dframe-message, speedbar-make-specialized-keymap)
10841 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10842 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10843 (speedbar-insert-button, dframe-select-attached-frame)
10844 (dframe-maybee-jump-to-attached-frame)
10845 (speedbar-change-initial-expansion-list)
10846 (speedbar-previously-used-expansion-list-name): Declare.
10847 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10848 Use dframe-message, dframe-with-attached-buffer rather than
10849 speedbar- aliases.
10850 (gud-sentinel): Silence compiler.
10851 * progmodes/vhdl-mode.el (speedbar-refresh)
10852 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10853 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10854 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10855 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10856 (speedbar-file-lists, speedbar-make-tag-line)
10857 (speedbar-line-directory, speedbar-goto-this-file)
10858 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10859 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10860 (speedbar-make-button, speedbar-reset-scanners)
10861 (speedbar-files-item-info, speedbar-line-text)
10862 (speedbar-find-file-in-frame, speedbar-set-timer)
10863 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10864 (speedbar-with-writable): Do not (re)define it.
10865 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10866 rather than speedbar- alias.
10867
ee44b62a
LL
108682013-05-21 Leo Liu <sdl.web@gmail.com>
10869
10870 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10871 menu items.
10872 (octave-mode): Tweak fill-nobreak-predicate.
10873 (inferior-octave-startup): Check process to avoid infinite loop.
10874 (inferior-octave): Pop to buffer first to show abornmal process
10875 exit information.
10876
640f050f
GM
108772013-05-21 Glenn Morris <rgm@gnu.org>
10878
79458038
GM
10879 * printing.el (pr-menu-bar): Define when compiling.
10880
9cc3e83f
LL
108812013-05-21 Leo Liu <sdl.web@gmail.com>
10882
10883 * progmodes/octave.el (octave-auto-fill): Remove.
10884 (octave-indent-new-comment-line): Improve.
10885 (octave-mode): Use auto fill mode through
4f405069 10886 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10887 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10888 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10889 (octave-help): Show parent directory.
10890
f440830d
GM
108912013-05-21 Glenn Morris <rgm@gnu.org>
10892
10893 * files.el (dired-unmark):
10894 * progmodes/gud.el (gdb-input): Update declarations.
10895
10896 * calculator.el (electric, ehelp): No need to load when compiling.
10897 (Electric-command-loop, electric-describe-mode): Declare.
10898
10899 * doc-view.el (doc-view-current-converter-processes): Move before use.
10900
10901 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10902 Move MODE-set-explicitly definition before use.
10903
10904 * international/mule-diag.el (mule-diag):
10905 Don't use obsolete window-system-version.
10906
10907 * mail/feedmail.el (smtpmail): No need to load when compiling.
10908 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10909
10910 * mail/mail-utils.el (rfc822): No need to load when compiling.
10911 (rfc822-addresses): Autoload it.
10912 (mail-strip-quoted-names): Trivial simplification.
10913
10914 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10915 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10916
10917 * net/snmp-mode.el (tempo): Don't duplicate requires.
10918
10919 * progmodes/prolog.el (info): No need to load when compiling.
10920 (comint): Require before shell requires it.
10921 (Info-goto-node): Autoload it.
10922 (Info-follow-nearest-node): Declare.
10923 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10924
10925 * textmodes/artist.el (picture-mode-exit): Declare.
10926
10927 * textmodes/reftex-parse.el (reftex-parse-from-file):
10928 Trivial rewrite so the compiler can parse it better.
10929
b4da2cbb
LL
109302013-05-20 Leo Liu <sdl.web@gmail.com>
10931
10932 * progmodes/octave.el (octave-help-mode-map)
10933 (octave-help-mode-finish-hook): New variables.
10934 (octave-help-mode, octave-help-mode-finish): New functions.
10935 (octave-help): Use octave-help-mode.
10936
33c0f65b
GM
109372013-05-20 Glenn Morris <rgm@gnu.org>
10938
10939 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10940
1a0a0a8a
DG
109412013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10942
10943 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10944 start at point, so that expansion starting right after opening
10945 slash in a regexp is recognized.
10946 (ruby-syntax-before-regexp-re): New defvar, extracted from
10947 ruby-syntax-propertize-function. Since the value of this regexp
10948 is looked up at runtime now, we should be able to turn
10949 `ruby-syntax-methods-before-regexp' into a defcustom later.
10950 (ruby-syntax-propertize-function): Split regexp matching into two
10951 parts, for opening and closing slashes. That allows us to skip
10952 over string interpolations and support multiline regexps.
10953 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10954 for them, which calls `ruby-syntax-propertize-expansion'.
10955 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10956 call to `ruby-syntax-propertize-function'.
10957 (ruby-syntax-propertize-expansion): Extracted from
10958 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10959 (ruby-syntax-propertize-percent-literal): Leave point right after
10960 the percent symbol, so that the expression expansion rule can
10961 propertize the contents.
462388b6
DG
10962 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10963 heredoc openers.
10964 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10965
c1a6c0a4
JL
109662013-05-18 Juri Linkov <juri@jurta.org>
10967
10968 * man.el (Man-default-man-entry): Remove `-' from the end
10969 of the default value. (Bug#14400)
10970
8051fccd
GM
109712013-05-18 Glenn Morris <rgm@gnu.org>
10972
10973 * comint.el (comint-password-prompt-regexp):
10974 Allow "password for XXX" where XXX contains colons (eg https://...).
10975
5e80b74f
LL
109762013-05-18 Leo Liu <sdl.web@gmail.com>
10977
10978 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10979 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10980 (octave-source-directories): Don't check process.
10981 (octave-source-directories, octave-find-definition): Doc fix.
10982
521a54c5
GM
109832013-05-18 Glenn Morris <rgm@gnu.org>
10984
86a94b05
GM
10985 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10986 Remove backspace/delete bindings. (Bug#14392)
10987
521a54c5
GM
10988 * cus-dep.el (custom-make-dependencies): Sort the output.
10989 (custom-versions-load-alist): Convert comment to doc.
10990
42caeb89
LL
109912013-05-17 Leo Liu <sdl.web@gmail.com>
10992
10993 * newcomment.el (comment-search-backward): Stricter in finding
10994 comment start. (Bug#14303)
10995
10996 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10997 (octave-comment-start-skip): Properly anchored.
10998
e219dd97
LL
109992013-05-17 Leo Liu <sdl.web@gmail.com>
11000
fe1eb856
RS
11001 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11002 Clean up when turned off. (Bug#14395)
e219dd97
LL
11003 (smie--highlight-matching-block-overlay): No longer buffer-local.
11004 (smie-highlight-matching-block): Adjust.
11005
dc5dcb4b
PE
110062013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11007
11008 Doc string fix for "nanoseconds" (Bug#14406).
11009 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11010 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11011
1db165f0
JB
110122013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11013
11014 * calc/calc-units.el (math-extract-units): Preserve powers
11015 of units.
11016
c7a8fcac
LL
110172013-05-17 Leo Liu <sdl.web@gmail.com>
11018
11019 * subr.el (delete-consecutive-dups): New function.
11020 * ido.el (ido-set-matches-1): Use it.
11021 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11022 * ido.el (ido-remove-consecutive-dups): Remove.
11023
f678b18a
SM
110242013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11025
11026 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11027 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11028 regexp-opt's `words'.
11029
ebfe68e8
LL
110302013-05-16 Leo Liu <sdl.web@gmail.com>
11031
11032 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11033 (smie--highlight-matching-block-overlay)
11034 (smie--highlight-matching-block-lastpos)
11035 (smie--highlight-matching-block-timer): New variables.
11036 (smie-highlight-matching-block): New function.
11037 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11038 (smie-setup): Conditionally enable smie-blink-matching-open.
11039
bc8bc17d
WS
110402013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11041
11042 Sync with upstream verilog-mode r840.
11043 * progmodes/verilog-mode.el (verilog-mode-version)
11044 (verilog-mode-release-date): Update.
11045 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11046 (verilog-sig-tieoff): Fix string error on
11047 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11048 (verilog-read-decls): Fix parameters confusing
11049 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11050
df065a0b
EZ
110512013-05-16 Eli Zaretskii <eliz@gnu.org>
11052
11053 * subr.el (reveal-filename): New function.
11054
11055 * loadup.el: Compute Emacs executable versions on MS-Windows,
11056 where executables have the .exe extension. Add a hard link
11057 emacs-XX.YY.ZZ.exe on MS-Windows.
11058
11059 * Makefile.in (XARGS_LIMIT): New variable.
11060 (custom-deps, finder-data, autoloads)
11061 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11062 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11063 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11064 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11065
2d4bf34b
LL
110662013-05-16 Leo Liu <sdl.web@gmail.com>
11067
11068 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11069 (octave-mode-menu, octave-mode-map): Remove its uses.
11070
6b9c2d85
RZ
110712013-05-16 Reto Zimmermann <reto@gnu.org>
11072
11073 Sync with upstream vhdl mode v3.34.2.
11074 * progmodes/vhdl-mode.el: Use `push' throughout.
11075 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11076 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11077 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11078 (vhdl-actual-generic-name): New option to derive actual generic name.
11079 (vhdl-port-paste-signals): Replace formal by actual generics.
11080 (vhdl-beautify): New name for old group vhdl-align. Update users.
11081 (vhdl-beautify-options): New option.
11082 (vhdl-last-input-event): New compat alias. Use throughout.
11083 (vhdl-goto-line): Replace user level function `goto-line'.
11084 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11085 vhdl-fix-statement-buffer.
11086 (vhdl-create-mode-menu): Add some entries.
11087 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11088 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11089 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11090 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11091 to force statements on one line.
11092 (vhdl-remove-trailing-spaces-region):
11093 New, split from vhdl-remove-trailing-spaces.
11094 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11095 Respect vhdl-beautify-options.
11096 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11097 (vhdl-update-sensitivity-list): Not add with index if exists without.
11098 Not include array index with signal. Ignore keywords in comments.
11099 (vhdl-get-visible-signals): Regexp tweaks.
11100 (vhdl-template-component-inst): Handle empty library.
11101 (vhdl-template-type): Add template for 'enum' type.
11102 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11103 Use vhdl-replace-string.
11104 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11105 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11106 (vhdl-speedbar-initialize): Update for above name change.
11107 (vhdl-compose-wire-components): Fix in handling of constants.
11108 (vhdl-error-regexp-emacs-alist): New variable.
11109 (vhdl-error-regexp-add-emacs): New function;
11110 adds support for new compile.el (Emacs 22+)
11111 (vhdl-generate-makefile-1): Change target order for single lib. units.
11112 Allow use of absolute file names.
11113
9df4ec5e
LL
111142013-05-16 Leo Liu <sdl.web@gmail.com>
11115
11116 * simple.el (prog-indent-sexp): Indent enclosing defun.
11117
f5ba00a6
GM
111182013-05-15 Glenn Morris <rgm@gnu.org>
11119
ed8be7ff
GM
11120 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11121 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11122 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11123 (whitespace-highlight): Move to whitespace group.
11124
11125 * comint.el (comint-source):
11126 * pcmpl-linux.el (pcmpl-linux):
11127 * shell.el (shell-faces):
11128 * eshell/esh-opt.el (eshell-opt):
11129 * international/ccl.el (ccl): Remove empty custom groups.
11130
11131 * completion.el (dynamic-completion-mode):
11132 * jit-lock.el (jit-lock-debug-mode):
11133 * minibuffer.el (completion-in-region-mode):
11134 * type-break.el (type-break-mode-line-message-mode)
11135 (type-break-query-mode):
11136 * emulation/tpu-edt.el (tpu-edt-mode):
11137 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11138 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11139 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11140
11141 * term/xterm.el (xterm): Change parent group to terminals.
11142
11143 * master.el (master): Remove empty custom group.
11144 (master-mode): Remove unused :group argument.
11145 * textmodes/refill.el (refill): Remove empty custom group.
11146 (refill-mode): Remove unused :group argument.
11147
11148 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11149
82a7c41b
GM
11150 * cus-dep.el: Provide a feature.
11151 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
11152 Don't mistakenly ignore files whose basenames match a basename
11153 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 11154 Add a fallback method for getting :group.
f5ba00a6 11155
6d65486d
JL
111562013-05-15 Juri Linkov <juri@jurta.org>
11157
da547b32
JL
11158 * isearch.el (isearch-char-by-name): Rename from
11159 `isearch-insert-char-by-name'. Doc fix.
11160 (isearch-forward): Mention `isearch-char-by-name' in
11161 the docstring. (Bug#13348)
11162
6d65486d
JL
11163 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11164 `exit-minibuffer' instead of
11165 `isearch-nonincremental-exit-minibuffer'.
11166 (isearch-edit-string): Remove mention of
11167 `isearch-nonincremental-exit-minibuffer' from docstring.
11168 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11169 (isearch-forward-exit-minibuffer)
11170 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11171
c9990474
SM
111722013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11173
6e911150
SM
11174 * loadup.el: Just use unversioned DOC.
11175
c9990474
SM
11176 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11177 literals as extending to EOB.
11178 (nxml-last-fontify-end): Remove unused variable.
11179 (nxml-after-change1): Use with-silent-modifications.
11180 (nxml-extend-after-change-region): Simplify.
11181 (nxml-extend-after-change-region1): Remove function.
11182 (nxml-after-change1): Don't adjust for dependent regions.
11183 (nxml-fontify-matcher): Simplify.
11184 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11185 (xmltok-add-dependent): Remove function.
11186 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11187 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11188 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11189 unclosed <[[, <?, comment, and other literals as extending to EOB.
11190 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11191 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11192 Remove functions.
11193 (rng-do-some-validation-1): Don't mark dependent regions.
11194 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11195 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11196 (nxml-clear-dependent-regions): Remove functions.
11197 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11198 (nxml-ensure-scan-up-to-date):
11199 Don't clear&mark dependent regions.
11200
e3772e98
LL
112012013-05-15 Leo Liu <sdl.web@gmail.com>
11202
c9990474
SM
11203 * progmodes/octave.el (octave-goto-function-definition):
11204 Improve and fix callers.
e3772e98 11205
5ac2eb34
SM
112062013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11207
c46c57b0
SM
11208 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11209 the setter (bug#14387).
11210
5ac2eb34
SM
11211 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11212 surrounding group (bug#14402).
11213
180ed218
JL
112142013-05-14 Juri Linkov <juri@jurta.org>
11215
11216 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11217 (Bug#14390)
11218
0ac0fecb
GM
112192013-05-14 Glenn Morris <rgm@gnu.org>
11220
11221 * progmodes/f90.el (f90-imenu-generic-expression):
11222 Fix typo in 2013-05-08 change. (Bug#14402)
11223
2e78e6a7
JPG
112242013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11225
5ac2eb34
SM
11226 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11227 Remove signals for which replies are never received.
2e78e6a7 11228
53267cca
JPG
112292013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11230
11231 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11232 (gdb-handler-alist, gdb-handler-number): Remove variables.
11233 (gdb-handler-list): New variable.
11234 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11235 (gdb-pending-handler-p, gdb-handle-reply)
11236 (gdb-remove-all-pending-triggers): New functions.
11237 (gdb-discard-unordered-replies): New defcustom.
11238 (gdb-handler): New defstruct.
11239 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11240 instead of gdb-pending-triggers. Update docstring.
11241 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11242 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11243 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11244 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11245 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11246 (gdb-frame-handler): Pending triggers are now automatically managed.
11247 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11248 Remove argument.
11249 (gdb-input): Automatically handles pending triggers. Update docstring.
11250 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11251 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11252 Update comments.
11253 (gdb-done-or-error): Now use gdb-handle-reply.
11254
d04ce803
JPG
112552013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11256
11257 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11258 gdb-debug-log.
11259
0114073a
GM
112602013-05-14 Glenn Morris <rgm@gnu.org>
11261
11262 * subr.el (user-emacs-directory-warning): New option.
11263 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11264
4d25fd7e
LL
112652013-05-14 Leo Liu <sdl.web@gmail.com>
11266
11267 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11268 during redisplay.
11269 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11270 (octave-font-lock-texinfo-comment): Fix invalid search bound
11271 error: wrong side of point.
4d25fd7e 11272
27c8b6eb
GM
112732013-05-14 Glenn Morris <rgm@gnu.org>
11274
61aaeb01
GM
11275 * progmodes/flymake.el (flymake-xml-program): New option.
11276 (flymake-xml-init): Use it.
11277
5bf90bc5
GM
11278 * term/xterm.el: Provide a feature.
11279
11280 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11281
f4c7dfd2
GM
112822013-05-13 Glenn Morris <rgm@gnu.org>
11283
11284 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11285 Add compat aliases as a hack workaround. (Bug#14384)
11286
2aeb3a1d
LL
112872013-05-13 Leo Liu <sdl.web@gmail.com>
11288
b0e069c2
LL
11289 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11290 ###, and %!.
f5a9432f
LL
11291 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11292 C-M-q.
b0e069c2
LL
11293 (octave-comment-start-skip): Include %!.
11294 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11295
30ea8374
LL
112962013-05-12 Leo Liu <sdl.web@gmail.com>
11297
11298 * progmodes/octave.el (inferior-octave-startup): Store the value
11299 of __octave_srcdir__ for octave-source-directories.
11300 (inferior-octave-check-process): New function refactored out of
11301 inferior-octave-send-list-and-digest.
11302 (octave-source-directories)
11303 (octave-find-definition-filename-function): New variables.
11304 (octave-source-directories)
11305 (octave-find-definition-default-filename): New functions.
11306 (octave-find-definition): Improve to find functions implemented in C++.
11307
472a3834
GM
113082013-05-12 Glenn Morris <rgm@gnu.org>
11309
11310 * calendar/diary-lib.el (diary-outlook-format-1):
11311 Don't include dayname in the output. (Bug#14349)
11312
3191b52f
GM
113132013-05-11 Glenn Morris <rgm@gnu.org>
11314
0060ac73
GM
11315 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11316
3191b52f
GM
11317 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11318 Treat cc-provide like provide.
11319
e065ba74
KR
113202013-05-11 Kevin Ryde <user42@zip.com.au>
11321
11322 * cus-dep.el (custom-make-dependencies):
11323 Use generated-autoload-load-name for the sake of files such
11324 such cedet/semantic/bovine/c.el, where the base file name
11325 is not in load-path. (Bug#5277)
11326
36f84c37
GM
113272013-05-11 Glenn Morris <rgm@gnu.org>
11328
11329 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11330 Provide features.
11331
c8730c3a
LL
113322013-05-11 Leo Liu <sdl.web@gmail.com>
11333
11334 * progmodes/octave.el (octave-indent-comment): Improve.
11335 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11336 (octave-eldoc-function-signatures, octave-eldoc-function):
11337 New functions.
c8730c3a
LL
11338 (octave-mode, inferior-octave-mode): Add eldoc support.
11339
212e29f2
RS
113402013-05-11 Richard Stallman <rms@gnu.org>
11341
11342 * epa.el (epa-decrypt-file): Take output file name as argument
11343 and read it using `interactive'.
11344
083fe0d7
LL
113452013-05-11 Leo Liu <sdl.web@gmail.com>
11346
11347 * progmodes/octave.el (octave-beginning-of-line)
11348 (octave-end-of-line): Check before using up-list because it jumps
11349 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11350 (octave-indent-comment): New function.
11351 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11352 (octave-begin-keywords, octave-end-keywords)
11353 (octave-reserved-words, octave-smie-bnf-table)
11354 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11355
8582e4c4
GM
113562013-05-11 Glenn Morris <rgm@gnu.org>
11357
f20def1f
GM
11358 * faces.el (internal-face-x-get-resource):
11359 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11360 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11361 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11362 Fix declarations.
f20def1f 11363
445f95e2
GM
11364 * calc/calc-menu.el: Make it loadable in isolation.
11365
11366 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11367 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11368 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11369 (eudc-bbdb-query-internal): Require 'bbdb.
11370
99fb2756
GM
11371 * lpr.el (lpr-headers-switches):
11372 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11373
11374 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11375
0da7ad96
GM
11376 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11377
8582e4c4
GM
11378 * term.el (term-set-escape-char): Make it idempotent.
11379
f71c50d0
LL
113802013-05-10 Leo Liu <sdl.web@gmail.com>
11381
5ac2eb34
SM
11382 * progmodes/octave.el (inferior-octave-completion-table):
11383 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11384 completion due to bug#11906.
11385 (octave-beginning-of-defun): Re-write to be more general.
11386
d5837773
GM
113872013-05-10 Glenn Morris <rgm@gnu.org>
11388
11389 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11390
027c0f75
SM
113912013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11392
11393 * comint.el (comint-redirect-send-command-to-process): Use :around
11394 rather than :override for comint-redirect-filter.
11395 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11396 Call it instead of comint-redirect-original-filter-function (which
11397 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11398
4465bfb4
JD
113992013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11400
11401 * frame.el (display-monitor-attributes-list): Add NS case.
11402 (ns-display-monitor-attributes-list): Declare.
11403
2d809ffa 114042013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11405
11406 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11407
e54eeb9b
GM
114082013-05-09 Glenn Morris <rgm@gnu.org>
11409
56cd351d
GM
11410 * international/fontset.el (vertical-centering-font-regexp):
11411 Set standard-value.
11412
d84b6108
GM
11413 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11414
a931698a
GM
11415 * bookmark.el (bookmark-search-delay):
11416 * cus-start.el (vertical-centering-font-regexp):
11417 * ps-mule.el (ps-mule-font-info-database-default):
11418 * ps-print.el (ps-default-fg, ps-default-bg):
11419 * type-break.el (type-break-good-break-interval):
11420 * whitespace.el (whitespace-indentation-regexp)
11421 (whitespace-space-after-tab-regexp):
11422 * emacs-lisp/testcover.el (testcover-1value-functions)
11423 (testcover-noreturn-functions, testcover-progn-functions)
11424 (testcover-prog1-functions):
11425 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11426 * eshell/em-glob.el (eshell-glob-translate-alist):
11427 * play/tetris.el (tetris-tty-colors):
11428 * progmodes/cpp.el (cpp-face-default-list):
11429 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11430 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11431 (idlwave-help-browser-generic-args):
11432 * progmodes/make-mode.el (makefile-special-targets-list):
11433 * progmodes/python.el (python-shell-virtualenv-path):
11434 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11435 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11436 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11437 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11438 * textmodes/reftex-vars.el (reftex-format-label-function):
11439 * textmodes/remember.el (remember-diary-file): Fix custom types.
11440
e54eeb9b
GM
11441 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11442 Add :version.
11443
455851dd
LL
114442013-05-09 Leo Liu <sdl.web@gmail.com>
11445
11446 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11447 Restore file completion. (Bug#14300)
455851dd
LL
11448 (inferior-octave-startup): Fix incorrect highlighting for the
11449 first prompt.
11450
a9e4425b
SM
114512013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11452
11453 * progmodes/ruby-mode.el: First cut at SMIE support.
11454 (ruby-use-smie): New var.
11455 (ruby-smie-grammar): New constant.
11456 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11457 (ruby-smie--forward-token, ruby-smie--backward-token)
11458 (ruby-smie-rules): New functions.
11459 (ruby-mode-variables): Setup SMIE if applicable.
11460
060ca408
EZ
114612013-05-08 Eli Zaretskii <eliz@gnu.org>
11462
11463 * simple.el (line-move-visual): Signal beginning/end of buffer
11464 only if vertical-motion moved less than it was requested. Avoids
11465 silly incorrect error messages when there are display strings with
11466 multiple newlines at EOL.
11467
1d5963cc
SM
114682013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11469
11470 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11471 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11472 (prolog-char-quote-workaround):
11473 * progmodes/cperl-mode.el (cperl-under-as-char):
11474 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11475 Mark as obsolete.
11476 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11477 their declaration.
11478 (vhdl-mode-syntax-table-init): Remove.
11479
c9990474
SM
11480 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11481 last change.
1d5963cc
SM
11482
11483 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11484 syntax for "_".
11485 (ld-script-font-lock-keywords):
11486 Change regexps to use things like \_< and \_>.
11487
11488 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11489 Change all regexps to use things like \_< and \_>.
11490
11491 * progmodes/autoconf.el (autoconf-definition-regexp)
11492 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11493 Handle a _ with symbol syntax.
11494 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11495
c9990474
SM
11496 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11497 Consolidate declaration.
1d5963cc
SM
11498 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11499 the declaration.
11500 (ada-create-syntax-table): Remove.
11501 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11502 already has the right syntax nowadays.
11503 (ada-goto-next-word): Don't change the syntax of "_".
11504
11505 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11506 with-wrapper-hook.
11507
72d3cfca
SS
115082013-05-08 Sam Steingold <sds@gnu.org>
11509
11510 * thingatpt.el (thing-at-point): Accept optional second argument
11511 NO-PROPERTIES to strip the text properties from the return value.
11512 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11513 to `thing-at-point' instead of stripping the properties ourselves.
11514 Also, when `thing-at-point' fails to find a url, prepend "http://"
11515 to the filename at point on the assumption that the user is
11516 pointing at something like gnu.org/gnu.
11517
5cb15713
JB
115182013-05-08 Juanma Barranquero <lekktu@gmail.com>
11519
11520 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11521 * faces.el (crm-separator):
11522 Silence byte-compiler.
11523
11524 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11525 (tool-bar-map): Remove unneeded defvars.
11526
ea78b95b
LL
115272013-05-08 Leo Liu <sdl.web@gmail.com>
11528
11529 Re-work a fix for bug#10994 based on Le Wang's patch.
11530 * ido.el (ido-remove-consecutive-dups): New helper.
11531 (ido-completing-read): Use it.
11532 (ido-chop): Revert fix for bug#10994.
11533
dc7466df
AS
115342013-05-08 Adam Spiers <emacs@adamspiers.org>
11535
11536 * cus-edit.el (custom-save-variables):
11537 Pretty-print long values. (Bug#14187)
11538
9ecf672a
GM
115392013-05-08 Glenn Morris <rgm@gnu.org>
11540
11541 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11542 (m4-mode-syntax-table): Init in the defvar.
11543 (m4-mode-abbrev-table): Let define-derived-mode define it.
11544
3f555be8
TT
115452013-05-08 Tom Tromey <tromey@redhat.com>
11546
11547 * progmodes/m4-mode.el (m4-mode-syntax-table):
11548 Do not treat "_" as word constituent. (Bug#14167)
11549
7cc8ae06
GM
115502013-05-07 Glenn Morris <rgm@gnu.org>
11551
4f58bc06
GM
11552 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11553 Remove explicit eshell-isearch-cancel-map.
11554
7cc8ae06
GM
11555 * progmodes/f90.el (f90-smart-end-names): New option.
11556 (f90-smart-end): Doc fix.
11557 (f90-end-block-optional-name): New constant.
11558 (f90-block-match): Respect f90-smart-end-names.
11559
ceb57e59
SM
115602013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11561
11562 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11563 about implicit semi-colons (bug#14218).
11564
4e3f9230
YM
115652013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11566
11567 * frame.el (display-monitor-attributes-list)
11568 (frame-monitor-attributes): New functions.
11569
203a5572
LL
115702013-05-06 Leo Liu <sdl.web@gmail.com>
11571
11572 * progmodes/octave.el (octave-syntax-propertize-function): Change
11573 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11574 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11575 (octave-completion-at-point): Rename from
203a5572
LL
11576 octave-completion-at-point-function.
11577 (inferior-octave-directory-tracker): Robustify.
11578 (octave-text-functions): Remove and fix its uses. No such things
11579 any more.
11580
ee6cff99
SM
115812013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11582
11583 * emacs-lisp/trace.el (trace--display-buffer): New function.
11584 (trace-make-advice): Use it.
11585
32985194
JL
115862013-05-06 Juri Linkov <juri@jurta.org>
11587
11588 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11589 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11590 Doc fix.
11591 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11592 in the help string. (Bug#12985)
11593
a1c700de
KD
115942013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11595
11596 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11597
c67c0839
SM
115982013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11599
323885fd
SM
11600 * progmodes/perl-mode.el: Add support for here documents.
11601 (perl-syntax-propertize-function): Match here-doc markers.
11602 (perl-syntax-propertize-special-constructs): Find their end.
11603 (perl-imenu-generic-expression): Use [:alnum:].
11604
c67c0839
SM
11605 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11606 (advice--add-function): Refresh the advice if already present
11607 (bug#14317).
11608
d491e7a8
IA
116092013-05-06 Ivan Andrus <darthandrus@gmail.com>
11610
11611 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11612
ddf9925e
GM
116132013-05-06 Glenn Morris <rgm@gnu.org>
11614
7cc3af27
GM
11615 * w32-fns.el (w32-charset-info-alist): Declare.
11616
16e343d6
GM
11617 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11618 of its defcustom properties.
11619 (eshell-cmpl-initialize): No need to load pcomplete.
11620
7d889a47
GM
11621 * generic-x.el: No need to require comint when compiling.
11622
ddf9925e
GM
11623 * net/eudc-export.el: Make it loadable without bbdb.
11624 (top-level): Use require rather than load-library.
11625 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11626 (eudc-batch-export-records-to-bbdb)
11627 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11628 Require bbdb.
11629
1e2c18df
SM
116302013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11631
11632 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11633 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11634 some tweaks, instead.
11635
02502a5f
LL
116362013-05-05 Leo Liu <sdl.web@gmail.com>
11637
11638 * progmodes/octave.el (octave-font-lock-keywords)
11639 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11640 (inferior-octave-send-list-and-digest): Improve error message.
11641 (octave-mode, inferior-octave-mode): Use setq-local.
11642 (octave-help): Set info-lookup-mode.
11643
0dc04f42
RS
116442013-05-05 Richard Stallman <rms@gnu.org>
11645
6c54491c
RS
11646 * vc/compare-w.el (compare-windows-whitespace):
11647 Treat no-break space as whitespace.
11648
0dc04f42
RS
11649 * mail/rmailsum.el (rmail-summary-rmail-update):
11650 Detect empty summary and don't change selected message.
11651 (rmail-summary-goto-msg): Likewise.
11652
df8f35df
RS
11653 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11654 Doc fixes, rename args.
11655
5356e1a3
AM
116562013-05-05 Alan Mackenzie <acm@muc.de>
11657
11658 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11659
d44014cb
JL
116602013-05-05 Juri Linkov <juri@jurta.org>
11661
11662 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11663 to not add the length of the summary segment to the return value.
11664 (Bug#14125)
11665
c129b51f
LL
116662013-05-05 Leo Liu <sdl.web@gmail.com>
11667
11668 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11669 (inferior-octave-output-filter): Remove.
11670 (octave-send-region, inferior-octave-startup): Fix callers.
11671 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11672 (octave-binary-file-extensions): New user variable.
11673 (octave-find-definition): Confirm if opening binary files.
11674 (octave-help-file): Use octave-find-definition to get the binary
11675 confirmation.
11676 (octave-help): Adjust for octave-help-file change.
11677
aa7dab97
SM
116782013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11679
11680 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11681 Merge the two entries that handle function definitions.
11682 (pascal--syntax-propertize): New const.
11683 (pascal-mode): Use it. Use setq-local.
11684
fd3a9a6b
GM
116852013-05-04 Glenn Morris <rgm@gnu.org>
11686
11687 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11688 (diary-from-outlook): Respect diary-from-outlook-function.
11689
30c7e542
SM
116902013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11691
11692 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11693 Move the declaration from C.
11694 (read-minibuffer, eval-minibuffer): Move from C.
11695 (completion-setup-function): Avoid minibuffer-completion-contents.
11696
b54f978b
LL
116972013-05-03 Leo Liu <sdl.web@gmail.com>
11698
11699 * progmodes/octave.el (octave-font-lock-keywords): Do not
11700 dehighlight 'end' in comments or strings.
30c7e542
SM
11701 (octave-completing-read, octave-goto-function-definition):
11702 New helpers.
d4d0f9b3
LL
11703 (octave-help-buffer): New user variable.
11704 (octave-help-file, octave-help-function): New button types.
11705 (octave-help): New command and bind it to C-h ;.
11706 (octave-find-definition): New command and bind it to M-.
d74a1581 11707 (user-error): Alias to error if not defined.
b54f978b 11708
27135018
LL
117092013-05-02 Leo Liu <sdl.web@gmail.com>
11710
11711 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11712 for \. (bug#14332)
11713 (octave-font-lock-keywords): Include [ and {.
11714
0d634d3a
LL
117152013-05-02 Leo Liu <sdl.web@gmail.com>
11716
11717 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11718 (inferior-octave): Remove calling comint-mode and return the buffer.
11719 (inferior-octave-startup): Cosmetic changes.
11720
b4c8295e
LL
117212013-05-02 Leo Liu <sdl.web@gmail.com>
11722
30c7e542
SM
11723 * progmodes/octave.el (octave-syntax-propertize-function):
11724 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11725
f12ad6ec
GM
117262013-05-02 Glenn Morris <rgm@gnu.org>
11727
11728 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11729 * desktop.el (vc-dir-mode): Just autoload it here.
11730
30cac1e0
AM
117312013-05-02 Alan Mackenzie <acm@muc.de>
11732
11733 Eliminate variable c-standard-font-lock-fontify-region-function.
11734 * progmodes/cc-mode.el
11735 (c-standard-font-lock-fontify-region-function): Remove.
11736 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11737
d8ef28b1
LL
117382013-05-01 Leo Liu <sdl.web@gmail.com>
11739
2640d52e 11740 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11741 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11742 variables were removed from Octave in 2007.
d8ef28b1
LL
11743 (inferior-octave-startup): Fix uses.
11744 (comint-line-beginning-position): Remove compatibility code for
11745 emacs 21.
11746
ac63ec89
JL
117472013-05-01 Juri Linkov <juri@jurta.org>
11748
11749 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11750
9e9be37c
JL
117512013-05-01 Juri Linkov <juri@jurta.org>
11752
11753 * comint.el (comint-previous-matching-input): Don't print message
11754 "History item: %d" when `isearch-mode' is active.
11755 (comint-history-isearch-message): Print message "History item: %d"
11756 when `comint-input-ring-index' is not empty and this function is
11757 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11758
9b92c13b
LL
117592013-05-01 Leo Liu <sdl.web@gmail.com>
11760
11761 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11762 definitions. Use completion-at-point to insert keywords.
11763 (octave-abbrev-start): Remove.
11764 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11765
b12d33d7
LL
117662013-04-30 Leo Liu <sdl.web@gmail.com>
11767
11768 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11769 change.
11770
3d1c39fa
AM
117712013-04-30 Alan Mackenzie <acm@muc.de>
11772
11773 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11774 * progmodes/cc-engine.el (c-back-over-member-initializers):
11775 new function.
3d1c39fa
AM
11776 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11777 (most) member init lists.
11778
5147fc17
RS
117792013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11780
11781 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11782 variable.
11783
5b78d7fc
LL
117842013-04-30 Leo Liu <sdl.web@gmail.com>
11785
11786 * progmodes/octave.el (octave-variables): Remove. No builtin
11787 variables any more. All converted to functions.
11788 (octave-font-lock-keywords, octave-completion-at-point-function):
11789 Fix uses.
11790 (octave-font-lock-texinfo-comment): New user variable.
11791 (octave-texinfo-font-lock-keywords): New variable for texinfo
11792 comment block.
11793 (octave-function-comment-block): New face.
11794 (octave-font-lock-texinfo-comment): New function.
11795 (octave-mode): Font lock texinfo comment block.
11796
38d8527b
LL
117972013-04-29 Leo Liu <sdl.web@gmail.com>
11798
11799 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11800 indexing expression.
11801 (octave-continuation-string): Do not use \.
11802 (inferior-octave-complete-impossible): Remove.
11803 (inferior-octave-completion-table)
11804 (inferior-octave-completion-at-point): Remove its uses.
11805 (inferior-octave-startup): completion_matches was introduced to
11806 Octave in 1996 so safe to assume it.
11807 (octave-function-file-comment): Improve to follow how Octave does it.
11808 (octave-update-function-file-comment): Tweak.
11809
2ec12cb0
LL
118102013-04-29 Leo Liu <sdl.web@gmail.com>
11811
11812 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11813 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11814 (octave-function-file-comment): Fix typo.
11815 (octave-sync-function-file-names): Use read-char-choice.
11816
6eaed048
JB
118172013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11818
11819 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11820 to t for the less important warnings.
11821
3ffa2d4f
DH
118222013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11823
11824 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11825
685c9501
GM
118262013-04-27 Glenn Morris <rgm@gnu.org>
11827
11828 * vc/log-view.el (log-view-current-entry):
11829 Treat "---" separator lines as part of the following rev. (Bug#14169)
11830
0208ede7
JL
118312013-04-27 Juri Linkov <juri@jurta.org>
11832
11833 * subr.el (read-number): Doc fix about using it by interactive
11834 code letter `n'. (Bug#14254)
11835
5db9dace
JL
118362013-04-27 Juri Linkov <juri@jurta.org>
11837
11838 * desktop.el (desktop-auto-save-timeout): New option.
11839 (desktop-file-checksum): New variable.
11840 (desktop-save): Add optional arg `auto-save' and don't auto-save
11841 if nothing changed.
11842 (desktop-auto-save-timer): New variable.
11843 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11844 (after-init-hook): Call `desktop-auto-save-set-timer'.
11845 Suggested by Reuben Thomas <rrt@sc3d.org> in
11846 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11847
b7260dd4
LL
118482013-04-27 Leo Liu <sdl.web@gmail.com>
11849
11850 * progmodes/octave.el (octave-function-file-p)
11851 (octave-skip-comment-forward, octave-function-file-comment)
11852 (octave-update-function-file-comment): New functions.
11853 (octave-mode-map): Bind C-c ; to
11854 octave-update-function-file-comment.
11855 (octave-mode-menu): Add octave-update-function-file-comment.
11856 (octave-mode, inferior-octave-mode): Fix doc-string.
11857 (octave-insert-defun): Conform to Octave's coding convention.
11858 (Bug#14285)
11859
11860 * files.el (basic-save-buffer): Don't let errors in
11861 before-save-hook prevent saving buffer.
11862
c46da669
RW
118632013-04-20 Roland Winkler <winkler@gnu.org>
11864
11865 * faces.el (read-face-name): Use completing-read if arg multiple
11866 is nil.
11867
a81ee1eb
IL
118682013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11869
11870 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11871 displayed, move point to after the totals line.
11872 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11873 for the details.
11874
4fac34ce
SM
118752013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11876
11877 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11878 Add current dir to the load-path.
11879 (package-generate-autoloads): Don't rely on
11880 autoload-ensure-default-file.
11881
f6bfc063
RT
118822013-04-26 Reuben Thomas <rrt@sc3d.org>
11883
d40ab5cf
BG
11884 * textmodes/remember.el (remember-store-in-files): Document that
11885 the file name format is passed to `format-time-string'.
f6bfc063 11886
e55d3b04
LL
118872013-04-26 Leo Liu <sdl.web@gmail.com>
11888
11889 * progmodes/octave.el (octave-sync-function-file-names): New function.
11890 (octave-mode): Use it in before-save-hook.
11891
e53052d3
SM
118922013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11893
140ef50c
SM
11894 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11895 (bug#14274).
11896
e53052d3
SM
11897 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11898 \n and comment, even if it's not an implicit ; (bug#14218).
11899
af80458d 119002013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11901
11902 * subr.el (read-number): Once more use `read' rather than
11903 `string-to-number', to trap non-numeric input. (Bug#14254)
11904
af80458d 119052013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11906
11907 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11908 Use `syntax-multiline' text property consistently instead of
8a621d53 11909 `font-lock-multiline'. (Bug#14237)
70203c2e 11910
e6ea1f6c
GM
119112013-04-26 Glenn Morris <rgm@gnu.org>
11912
11913 * emacs-lisp/shadow.el (list-load-path-shadows):
11914 No longer necessary to check for duplicate simple.el, since
11915 2012-07-07 change to init_lread to not include installation lisp
11916 directories in load-path when running uninstalled. (Bug#14270)
11917
070ccca4
LL
119182013-04-26 Leo Liu <sdl.web@gmail.com>
11919
11920 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11921 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11922 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11923 octave-in-string-or-comment-p.
11924 (octave-in-comment-p, octave-in-string-p)
11925 (octave-in-string-or-comment-p): Replace defsubst with defun.
11926
9d1c5fb6
PE
119272013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11928
11929 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11930
c034abda
BG
119312013-04-25 Bastien Guerry <bzg@gnu.org>
11932
11933 * textmodes/remember.el (remember-data-directory)
11934 (remember-directory-file-name-format): Fix custom types.
11935
584ea277
LL
119362013-04-25 Leo Liu <sdl.web@gmail.com>
11937
e53052d3
SM
11938 * progmodes/octave.el (octave-completion-at-point-function):
11939 Make use of inferior octave process.
584ea277
LL
11940 (octave-initialize-completions): Remove.
11941 (inferior-octave-completion-table): New function.
11942 (inferior-octave-completion-at-point): Use it.
11943 (octave-completion-alist): Remove.
11944
1693b06a
SM
119452013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11946
11947 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11948 (opascal-mode-syntax-table): New var.
11949 (opascal-literal-kind, opascal-is-literal-end)
11950 (opascal-literal-token-at): Rewrite.
11951 (opascal--literal-start-re, opascal-font-lock-keywords)
11952 (opascal--syntax-propertize): New constants.
11953 (opascal-font-lock-defaults): Adjust.
11954 (opascal-mode): Use them. Set comment-<foo> variables as well.
11955 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11956 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11957 (delphi-other-face, opascal-other-face): Remove face variables.
11958 (opascal-save-state): Remove macro.
11959 (opascal-fontifying-progress-step): Remove constant.
11960 (opascal--ignore-changes): Remove var.
11961 (opascal-set-token-property, opascal-parse-next-literal)
11962 (opascal-is-stable-literal, opascal-complete-literal)
11963 (opascal-is-literal-start, opascal-face-of)
11964 (opascal-parse-region, opascal-parse-region-until-stable)
11965 (opascal-fontify-region, opascal-after-change)
11966 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11967 (opascal-debug-parse-region, opascal-debug-parse-window)
11968 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11969 (opascal-debug-fontify-buffer): Remove.
11970 (opascal-debug-mode-map): Adjust accordingly.
11971
be64c05d
LL
119722013-04-25 Leo Liu <sdl.web@gmail.com>
11973
11974 Merge octave-mod.el and octave-inf.el into octave.el with some
11975 cleanups.
11976 * progmodes/octave.el: New file renamed from octave-mod.el.
11977 * progmodes/octave-inf.el: Merged into octave.el.
11978 * progmodes/octave-mod.el: Renamed to octave.el.
11979
d79d37bd
TH
119802013-04-25 Tassilo Horn <tsdh@gnu.org>
11981
11982 * textmodes/reftex-vars.el
11983 (reftex-label-ignored-macros-and-environments): New defcustom.
11984
11985 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11986
ced3fc5d
SM
119872013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11988
11989 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11990 (smie-indent-keyword): Improve the check to ensure that the next
11991 comment is really on the same line.
11992 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11993
11994 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11995 semi-colons if the line is not otherwise empty (bug#14218).
11996
1c141dad
GM
119972013-04-25 Glenn Morris <rgm@gnu.org>
11998
11999 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12000
5058062a
SM
120012013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12002
12003 * progmodes/opascal.el (opascal-set-token-property): Rename from
12004 opascal-set-text-properties and only set `token' (bug#14134).
12005 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12006 (opascal-literal-text-properties): Remove.
12007 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12008 Adjust callers.
12009
5db9dace 120102013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
12011
12012 * textmodes/remember.el (remember-handler-functions): Add an
12013 option for a new handler `remember-store-in-files'.
12014 (remember-data-directory, remember-directory-file-name-format):
12015 New options.
12016 (remember-store-in-files): New function to store remember notes
12017 as separate files within a directory.
12018
4391916c
MH
120192013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12020
12021 * progmodes/compile.el (compilation-next-error-function):
12022 Pass "formats" to compilation-find-file (bug#11777).
12023
bb7cdf58
GM
120242013-04-24 Glenn Morris <rgm@gnu.org>
12025
3b8fe752 12026 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
12027 * vc/vc-hg.el (vc-hg-print-log):
12028 * vc/vc-svn.el (vc-svn-print-log):
12029 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12030
bb7cdf58
GM
12031 * vc/vc-bzr.el (vc-bzr-print-log):
12032 * vc/vc-cvs.el (vc-cvs-print-log):
12033 * vc/vc-git.el (vc-git-print-log):
12034 * vc/vc-hg.el (vc-hg-print-log):
12035 * vc/vc-mtn.el (vc-mtn-print-log):
12036 * vc/vc-rcs.el (vc-rcs-print-log):
12037 * vc/vc-sccs.el (vc-sccs-print-log):
12038 * vc/vc-svn.el (vc-svn-print-log):
12039 * vc/vc.el (vc-print-log-internal): Doc fixes.
12040
b46a056e
GM
120412013-04-23 Glenn Morris <rgm@gnu.org>
12042
12043 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12044 Remove venerable code attempting to avoid substitute-command-keys.
12045
0aecf718
TH
120462013-04-23 Tassilo Horn <tsdh@gnu.org>
12047
4391916c
MH
12048 * textmodes/reftex-vars.el (reftex-label-regexps):
12049 Call `reftex-compile-variables' after changes to this variable.
0aecf718 12050
117f94cf
SM
120512013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12052
4391916c 12053 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
12054 Use lexical-binding.
12055 (jit-lock-force-redisplay): Use markers, check buffer's continued
12056 existence and beware narrowed buffers.
12057 (jit-lock-fontify-now): Adjust call accordingly.
12058
1d829c64
SM
120592013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12060
12061 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12062 to avoid misleading the user.
12063
72d548a9
LL
120642013-04-22 Leo Liu <sdl.web@gmail.com>
12065
12066 * info-look.el: Prefer latex2e.info. (Bug#14240)
12067
d0853629
MA
120682013-04-22 Michael Albinus <michael.albinus@gmx.de>
12069
12070 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12071
12072 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 12073 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
12074 (tramp-set-completion-function, tramp-parse-putty):
12075 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12076 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12077 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12078 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12079 (tramp-call-local-coding-command): Use `tramp-call-process'
12080 instead of `tramp-compat-call-process'.
12081
12082 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12083 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12084 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 12085 (tramp-find-inline-compress): Improve traces.
d0853629
MA
12086 (tramp-maybe-send-script): Check for Perl binary.
12087 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12088
38cc0210
DU
120892013-04-22 Daiki Ueno <ueno@gnu.org>
12090
12091 * epg.el (epg-context-pinentry-mode): New function.
12092 (epg-context-set-pinentry-mode): New function.
12093 (epg--start): Pass --pinentry-mode option to gpg command.
12094
cc641ee1
XF
120952013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12096
02d844b5 12097 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 12098 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 12099 `completion-at-point'. (Bug#13774)
5d4e5c31 12100
cc641ee1
XF
12101 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12102 default key binding for `describe-distribution' has been moved to
12103 `C-h C-o'. (Bug#13970)
12104
1b42ee43
GM
121052013-04-21 Glenn Morris <rgm@gnu.org>
12106
12107 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12108 Add doc strings.
12109 (vc-print-log): Clarify interactive prompt.
12110
a6d63d97
GM
121112013-04-20 Glenn Morris <rgm@gnu.org>
12112
12113 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12114 No longer include timestamp etc information.
12115
d7f5c16f
RW
121162013-04-20 Roland Winkler <winkler@gnu.org>
12117
12118 * faces.el (read-face-name): Bug fix, return just one face if arg
12119 multiple is nil. (Bug#14209)
12120
bcd7a0a4
SM
121212013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12122
12123 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12124 (remove-function): Autoload.
12125
12126 * comint.el (comint-redirect-original-filter-function): Remove.
12127 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
12128 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12129 (vc-cvs-annotate-command):
bcd7a0a4
SM
12130 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12131 * progmodes/prolog.el (prolog-consult-compile):
12132 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12133 Use add/remove-function instead.
12134 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12135 (gud-tooltip-process-output, gud-tooltip-tips):
12136 Use add/remove-function instead.
12137 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12138 (scheme-interaction-mode, exit-scheme-interaction-mode):
12139 Use add/remove-function instead.
12140
12141 * vc/vc-dispatcher.el: Use lexical-binding.
12142 (vc--process-sentinel): Rename from vc-process-sentinel.
12143 Change last arg to be the code to run. Don't use vc-previous-sentinel
12144 and vc-sentinel-commands any more.
12145 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12146 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12147
e36b2d20 121482013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 12149
bcd7a0a4 12150 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 12151 Handle function names with a single character. (Bug#14111)
4d3268ba 12152
781b4af6 121532013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
12154
12155 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12156 for subroutines defined in an eval (bug#14182).
12157
7d688336
TV
121582013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12159
12160 * bookmark.el (bookmark-completing-read): Improve handling of empty
12161 string (bug#14176).
12162
31dcede0
SM
121632013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12164
12165 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12166
adc31213
FEG
121672013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12168
12169 New faster Imenu implementation (bug#14058).
12170 * progmodes/python.el:
12171 (python-imenu-prev-index-position):
12172 (python-imenu-format-item-label-function)
12173 (python-imenu-format-parent-item-label-function)
12174 (python-imenu-format-parent-item-jump-label-function):
12175 New vars.
12176 (python-imenu-format-item-label)
12177 (python-imenu-format-parent-item-label)
12178 (python-imenu-format-parent-item-jump-label)
12179 (python-imenu--put-parent, python-imenu--build-tree)
12180 (python-imenu-create-index, python-imenu-create-flat-index)
12181 (python-util-popn): New functions.
12182 (python-mode): Set imenu-create-index-function to
12183 python-imenu-create-index.
12184
cdca8255
SM
121852013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12186
12187 * winner.el (winner-active-region): Use region-active-p, activate-mark
12188 and deactivate-mark (bug#14225).
12189
12190 * simple.el (deactivate-mark): Don't inline it.
12191
beb42340
MA
121922013-04-18 Michael Albinus <michael.albinus@gmx.de>
12193
12194 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12195
fc7f4d7e
TH
121962013-04-18 Tassilo Horn <tsdh@gnu.org>
12197
12198 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12199 file extensions from the archive-mode entry in order to prefer
12200 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12201
29f47822
LL
122022013-04-18 Leo Liu <sdl.web@gmail.com>
12203
12204 * bindings.el (help-event-list): Add ?\?.
12205
d36ed1c8
SM
122062013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12207
12208 * subr.el (with-wrapper-hook): Declare obsolete.
12209 * simple.el (filter-buffer-substring-function): New hook.
12210 (filter-buffer-substring): Use it.
12211 (filter-buffer-substring-functions): Mark obsolete.
12212 * minibuffer.el (completion-in-region-function): New hook.
12213 (completion-in-region): Use it.
12214 (completion-in-region-functions): Mark obsolete.
12215 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12216 * abbrev.el (abbrev-expand-function): New hook.
12217 (expand-abbrev): Use it.
12218 (abbrev-expand-functions): Mark obsolete.
12219 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12220 and :filter-return.
12221
04754d36
FEG
122222013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12223
12224 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12225 and do not care about match data.
12226
dd8791e9
SM
122272013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12228
12229 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12230 completion tables when completing error conditions and
12231 `declare' arguments.
12232 (lisp-complete-symbol, field-complete): Mark as obsolete.
12233 (check-parens): Unmatched parens are user errors.
12234 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12235
ffe54a13
AM
122362013-04-17 Michal Nazarewicz <mina86@mina86.com>
12237
dd8791e9
SM
12238 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12239 command changed buffer (ie. `flyspell-pre-buffer' is not current
12240 buffer), which prevents making decisions based on invalid value of
12241 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12242 cause an error when `flyspell-pre-point' was nil after switching
12243 buffers.
12244 (flyspell-post-command-hook): No longer needs to change buffers when
12245 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12246
ec7e39f2
AM
122472013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12248
12249 * textmodes/ispell.el (ispell-add-per-file-word-list):
12250 Fix `flyspell-correct-word-before-point' error when accepting
12251 words and `coment-padding' is an integer by using
12252 `comment-normalize-vars' (Bug #14214).
12253
083850a6
FEG
122542013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12255
12256 New defun movement commands.
12257 * progmodes/python.el (python-nav--syntactically)
12258 (python-nav--forward-defun, python-nav-backward-defun)
12259 (python-nav-forward-defun): New functions.
12260
619ed6e1
FEG
122612013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12262
12263 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12264 (python-syntax-context): Use named compiler-macro for backwards
12265 compatibility with Emacs 24.x.
12266
7a1beb6c
LL
122672013-04-17 Leo Liu <sdl.web@gmail.com>
12268
12269 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12270 octave-hide-process-buffer.
12271
2d3fa3e5
SM
122722013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12273
12274 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12275 (bug#14216).
12276
7ce5be54
JPG
122772013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12278
12279 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12280 Fix adjustment of offset when receiving incomplete responses from GDB
12281 (bug#14129).
12282
351edece
SM
122832013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12284
12285 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12286 python-mode-abbrev-table.
12287 (python-skeleton-define): Adjust accordingly.
12288 (python-mode-abbrev-table): New table that inherits from it so that
12289 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12290
12291 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12292 (abbrev-symbol): Use it.
12293 (abbrev--before-point): Use it since we already handle inheritance.
12294
613f9481
LL
122952013-04-16 Leo Liu <sdl.web@gmail.com>
12296
12297 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12298 binding to info-lookup-symbol.
12299
51646b62
JB
123002013-04-16 Juanma Barranquero <lekktu@gmail.com>
12301
12302 * minibuffer.el (completion--twq-all):
12303 * term/ns-win.el (ns-initialize-window-system):
12304 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12305
efb3f01d
SM
123062013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12307
36c0a301
SM
12308 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12309 global bindings.
12310
efb3f01d
SM
12311 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12312
fb549d64
DG
123132013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12314
12315 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12316 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12317 to nil.
12318 (ruby-end-of-defun): Remove the unused arg, change the docstring
12319 to reflect that this function is only used as the value of
12320 `end-of-defun-function'.
12321 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12322 to reflect an earlier change that beginning/end-of-defun functions
12323 jump between methods in a class definition, as well as top-level
12324 functions.
12325
21e8fe2f
SM
123262013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12327
12328 * minibuffer.el (minibuffer-complete): Don't just scroll
12329 a *Completions* that's been iconified.
12330 (minibuffer-force-complete): Make sure repetitions do cycle when going
12331 through completion-in-region -> minibuffer-complete.
12332
20e527d0
AM
123332013-04-15 Alan Mackenzie <acm@muc.de>
12334
12335 Correct the placement of c-cpp-delimiters when there're #s not at
12336 col 0.
12337
12338 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12339 place a submatch around the #.
21e8fe2f
SM
12340 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12341 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12342 on the #, not BOL.
12343
dabefae5
SM
123442013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12345
12346 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12347 (advice--member-p): New arg `name'.
12348 (advice--add-function, advice-member-p): Use it (bug#14202).
12349
85c9ab64
AM
123502013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12351
12352 Reformulate java imenu-generic-expression.
12353 The old expression contained ill formed regexps.
12354
12355 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12356 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12357 (cc-imenu-java-method-arg-regexp): New defconsts.
12358 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12359 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12360 handling of spaces in the regexp.
12361
0f821d99
AM
123622013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12363
12364 * textmodes/ispell.el (ispell-command-loop): Remove
12365 flyspell highlight of a word when ispell accepts it (bug #14178).
12366
eb922adf
MA
123672013-04-15 Michael Albinus <michael.albinus@gmx.de>
12368
12369 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12370 uses code from the previous `ange-ftp-run-real-handler'.
12371 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12372 only in case that function exist. This is needed for proper
12373 unloading of Tramp.
12374
4d9a0979
TH
123752013-04-15 Tassilo Horn <tsdh@gnu.org>
12376
12377 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12378
12379 * textmodes/reftex.el (reftex-compile-variables): Use it.
12380
a829b0dc
SM
123812013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12382
91e8293c
SM
12383 * files.el (normal-mode): Only use default major-mode if no other mode
12384 was specified.
12385
830aed4d
SM
12386 * emacs-lisp/trace.el (trace-values): New function.
12387
a829b0dc
SM
12388 * files.el: Allow : in local variables (bug#14089).
12389 (hack-local-variable-regexp): New var.
12390 (hack-local-variables-prop-line, hack-local-variables): Use it.
12391
7ae9f0fb
RW
123922013-04-13 Roland Winkler <winkler@gnu.org>
12393
12394 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12395 data before it gets modified by bibtex-beginning-of-entry.
12396
6646e848
RW
123972013-04-13 Roland Winkler <winkler@gnu.org>
12398
12399 * textmodes/bibtex.el (bibtex-url): Doc fix.
12400
124012013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12402
12403 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12404 does not visit a BibTeX file, exclude it from the list of buffers
12405 returned by bibtex-initialize.
12406
0aa3616e
SB
124072013-04-13 Stephen Berman <stephen.berman@gmx.net>
12408
12409 * window.el (split-window): Remove interactive form, since as a
12410 command this function is a special case of split-window-below.
12411 Correct doc string.
12412
011cddd6
RW
124132013-04-12 Roland Winkler <winkler@gnu.org>
12414
12415 * faces.el (read-face-name): Do not override value of arg default.
12416 Allow single faces and strings as default values. Remove those
12417 elements from return value that are not faces.
12418 (describe-face): Simplify.
12419 (face-at-point): New optional args thing and multiple so that this
12420 function can provide the same functionality previously provided by
12421 read-face-name.
12422 (make-face-bold, make-face-unbold, make-face-italic)
12423 (make-face-unitalic, make-face-bold-italic, invert-face)
12424 (modify-face, read-face-and-attribute): Use face-at-point.
12425
12426 * cus-edit.el (customize-face, customize-face-other-window)
12427 * cus-theme.el (custom-theme-add-face)
12428 * face-remap.el (buffer-face-set)
12429 * facemenu.el (facemenu-set-face): Use face-at-point.
12430
f24e0036
MA
124312013-04-12 Michael Albinus <michael.albinus@gmx.de>
12432
12433 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12434
da3cda2d
TH
124352013-04-10 Tassilo Horn <tsdh@gnu.org>
12436
12437 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12438 off leading { and trailing } from field values.
12439
15e54145
SM
124402013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12441
78ce603d
SM
12442 * emacs-lisp/timer.el (timer--check): New function.
12443 (timer--time, timer-set-function, timer-event-handler): Use it.
12444 (timer-set-idle-time): Simplify.
12445 (timer--activate): CSE.
12446 (timer-event-handler): Give more info in error message.
12447 (internal-timer-start-idle): New function, moved from C.
12448
15e54145
SM
12449 * mpc.el (mpc-proc): Add `restart' argument.
12450 (mpc-proc-cmd): Use it.
12451 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12452 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12453 less often.
12454
7144c627
MY
124552013-04-10 Masatake YAMATO <yamato@redhat.com>
12456
12457 * progmodes/sh-script.el: Implement `sh-mode' own
12458 `add-log-current-defun-function' (bug#14112).
12459 (sh-current-defun-name): New function.
12460 (sh-mode): Use the function.
12461
b39792eb
BG
124622013-04-09 Bastien Guerry <bzg@gnu.org>
12463
12464 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12465
8acdeb71
SM
124662013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12467
6fcdab68
SM
12468 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12469
8acdeb71
SM
12470 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12471 timer (bug#14156).
12472
e3e7b504
NF
124732013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12474
12475 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12476 declaration.
12477
201bb296
LL
124782013-04-07 Leo Liu <sdl.web@gmail.com>
12479
12480 * pcmpl-x.el: New file.
12481
ebb19708
DA
124822013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12483
12484 Do not set x-display-name until X connection is established.
12485 This is needed to prevent from weird situation described at
12486 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12487 * frame.el (make-frame): Set x-display-name after call to
12488 window system initialization function, not before.
12489 * term/x-win.el (x-initialize-window-system): Add optional
12490 display argument and use it.
12491 * term/w32-win.el (w32-initialize-window-system):
12492 * term/ns-win.el (ns-initialize-window-system):
12493 * term/pc-win.el (msdos-initialize-window-system):
12494 Add compatible optional display argument.
12495
33bb237a
EZ
124962013-04-06 Eli Zaretskii <eliz@gnu.org>
12497
12498 * files.el (normal-backup-enable-predicate): On MS-Windows and
12499 MS-DOS compare truenames of temporary-file-directory and of the
12500 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12501 don't fail comparison by compare-strings. Also, compare file
12502 names case-insensitively on MS-Windows and MS-DOS.
12503
134abf1f
SM
125042013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12505
12506 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12507 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12508
d695cb94
DG
125092013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12510
e3e7b504
NF
12511 * whitespace.el (whitespace-color-on, whitespace-color-off):
12512 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12513
f4ad7ea1 125142013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12515
12516 * ispell.el (ispell-set-spellchecker-params):
12517 Really set `ispell-args' for all equivs.
12518
632556e4
SM
125192013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12520
12521 * ido.el (ido-completions): Use extra elements of ido-decorations
12522 (bug#14143).
12523 (ido-decorations): Update docstring.
12524
2a417372
MA
125252013-04-05 Michael Albinus <michael.albinus@gmx.de>
12526
12527 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12528 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12529 nil during initialization, in order not to miss changes since the
12530 file was opened. (Bug#14140)
12531
fc164b0c
LL
125322013-04-05 Leo Liu <sdl.web@gmail.com>
12533
12534 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12535
0ccecc08
JB
125362013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12537
12538 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12539
51af1aa2
GM
125402013-04-04 Glenn Morris <rgm@gnu.org>
12541
12542 * electric.el (electric-pair-inhibit-predicate): Add :version.
12543
b208ebc6
SM
125442013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12545
12546 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12547 when a package is required several times (bug#14082).
12548
f3d3eaf0
RW
125492013-04-04 Roland Winkler <winkler@gnu.org>
12550
12551 * faces.el (read-face-name): Behave as promised by the docstring.
12552 Assume that arg default is a list of faces.
12553 (describe-face): Call read-face-name with list of default faces.
12554
2575da50
TV
125552013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12556
12557 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12558 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12559 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12560 the header.
12561 (bookmark-exit-hook-internal): Save even if list is empty.
12562
397703b4
YH
125632013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12564
12565 * emacs-lisp/package.el (package-pinned-packages): New var.
12566 (package--add-to-archive-contents): Obey it (bug#14118).
12567
691e26ae
AM
125682013-04-03 Alan Mackenzie <acm@muc.de>
12569
8a621d53
JB
12570 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12571 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12572
12573 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12574 parameter `not-in-delimiter'. Handle being inside comment opener.
12575 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12576 character in case we're typing a '*' after a '/'.
12577 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12578 instead by passing the parameter to c-state-pp-to-literal.
12579
12580 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12581 for elt. 7 of a parse state.
12582
4b725a70
PE
125832013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12584
12585 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12586 * international/latin1-disp.el, international/mule-util.el:
12587 * language/cyril-util.el, language/european.el, language/ind-util.el:
12588 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12589 * language/tibetan.el, language/viet-util.el:
12590 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12591
15c579f0
SM
125922013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12593
12594 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12595 (electric-pair-post-self-insert-function): Use it.
12596 (electric-pair-default-inhibit): New function, extracted from
12597 electric-pair-post-self-insert-function.
12598
a77e2924
RW
125992013-03-31 Roland Winkler <winkler@gnu.org>
12600
12601 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12602
2bd8a4a8
SM
126032013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12604
12605 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12606
8d3655be 126072013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12608
12609 Un-indent after "pass" and "return" statements (Bug#13888)
12610 * progmodes/python.el (python-indent-block-enders): New var.
12611 (python-indent-calculate-indentation): Use it.
12612
8d3655be 126132013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12614
12615 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12616 defun. Defining it as defalias could introduce too eager
12617 byte-compiler optimization. (Bug#14030)
12618
8d3655be 126192013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12620
12621 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12622
0b1619da
LL
126232013-03-30 Leo Liu <sdl.web@gmail.com>
12624
12625 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12626 (kmacro-execute-from-register): Pass the keyboard macro to
12627 kmacro-call-macro or repeating won't work correctly.
12628
0b938190
TZ
126292013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12630
12631 * progmodes/subword.el: Back to using `forward-symbol'.
12632
12633 * subr.el (forward-whitespace, forward-symbol)
12634 (forward-same-syntax): Move from thingatpt.el.
12635
35710234
LL
126362013-03-29 Leo Liu <sdl.web@gmail.com>
12637
12638 * kmacro.el (kmacro-to-register): New command.
12639 (kmacro-execute-from-register): New function.
12640 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12641
efc0bb73
SM
126422013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12643
12644 * mpc.el: Use defvar-local and setq-local.
12645 (mpc--proc-connect): Connection failures are not bugs.
12646 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12647 (mpc-volume-map): Bind to the up-events.
12648
75a2f981
TZ
126492013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12650
12651 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12652 instead of `forward-symbol'.
12653
17c781d1
SM
126542013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12655
12656 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12657 (edebug--recursive-edit): Use it.
12658 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12659 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12660
f67bfbcf
LL
126612013-03-28 Leo Liu <sdl.web@gmail.com>
12662
12663 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12664
b59f639d
EZ
126652013-03-27 Eli Zaretskii <eliz@gnu.org>
12666
12667 * facemenu.el (list-colors-callback): New defvar.
12668 (list-colors-redisplay): New function.
12669 (list-colors-display): Install list-colors-redisplay as the
12670 revert-buffer-function. (Bug#14063)
12671
f557c1b1
SM
126722013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12673
b1da2957
SM
12674 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12675 and suffixes don't overlap (bug#14061).
12676
f557c1b1
SM
12677 * case-table.el: Use lexical-binding.
12678 (case-table-get-table): New function.
12679 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12680
002668e1
TZ
126812013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12682
12683 * progmodes/subword.el: Add `superword-mode' to do word motion
12684 over symbol_words (parallels and leverages `subword-mode' which
12685 does word motion inside MixedCaseWords).
12686
73572c72
AG
126872013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12688
78b8f320 12689 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12690 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12691
69b2c07e
SM
126922013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12693
12694 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12695 Change return value to be a sexp. Delay `get-buffer' to after
12696 restoring the desktop (bug#13951).
12697
08bb5ee2
LL
126982013-03-26 Leo Liu <sdl.web@gmail.com>
12699
12700 * register.el: Move semantic tag handling back to
12701 cedet/semantic/senator.el. (Bug#14052)
12702
8d4c974e
SM
127032013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12704
12705 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12706 into the prompt either (bug#13963).
12707
b234d92c
SM
127082013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12709
12710 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12711 part of "(error-foo)".
12712
ddfa3cb4
JL
127132013-03-24 Juri Linkov <juri@jurta.org>
12714
12715 * replace.el (list-matching-lines-prefix-face): New defcustom.
12716 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12717 `occur-engine' if `face-differs-from-default-p' returns t.
12718 (occur-engine): Add `,' inside backquote construct to evaluate
12719 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12720 Pass `prefix-face' to the functions `occur-context-lines' and
12721 `occur-engine-add-prefix'.
12722 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12723 `prefix-face' and propertize the prefix with `prefix-face'.
12724 (Bug#14017)
12725
7b0e2f85
LL
127262013-03-24 Leo Liu <sdl.web@gmail.com>
12727
12728 * nxml/rng-valid.el (rng-validate-while-idle)
12729 (rng-validate-quick-while-idle): Guard against deleted buffer.
12730 (Bug#13999)
12731
12732 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12733 is the last entry in kill-buffer-hook.
12734
12735 * files.el (kill-buffer-hook): Doc fix.
12736
b3082f49
DG
127372013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12738
b234d92c
SM
12739 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12740 Make it safe-local.
bde73d27 12741
b3082f49
DG
12742 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12743
a320a2db
LL
127442013-03-23 Leo Liu <sdl.web@gmail.com>
12745
7e74b0fb
LL
12746 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12747 Remove.
12748
12749 * nxml/rng-valid.el (rng-validate-mode)
12750 (rng-after-change-function, rng-do-some-validation):
12751 * nxml/rng-maint.el (rng-validate-buffer):
12752 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12753 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12754 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12755 (nxml-extend-after-change-region): Use with-silent-modifications.
12756
a320a2db
LL
12757 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12758 timer-idle-list.
12759
12760 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12761 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12762 timer-idle-list. (Bug#13999)
12763
e38e6780
JL
127642013-03-23 Juri Linkov <juri@jurta.org>
12765
12766 * info.el (info-index-match): New face.
12767 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12768 main pattern and add text properties with the new face to matches
12769 in index entries relative to the beginning of the index entry.
12770 (Bug#14015)
12771
e8cc7880
DE
127722013-03-21 Eric Ludlam <zappo@gnu.org>
12773
39c87140 12774 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12775 Inhibit read only while inserting objects.
12776
9bb0d822
TZ
127772013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12778
12779 * progmodes/cfengine.el: Update docs to mention
12780 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12781 symbol motion. Remove "_" from the word syntax.
12782
aa703640
TZ
127832013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12784
12785 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12786 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12787
afff09d0
JL
127882013-03-20 Juri Linkov <juri@jurta.org>
12789
12790 * info.el (Info-next-reference-or-link)
12791 (Info-prev-reference-or-link): New functions.
12792 (Info-next-reference, Info-prev-reference): Use them.
12793 (Info-try-follow-nearest-node): Handle footnote navigation.
12794 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12795
9a1ff164
SM
127962013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12797
12798 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12799 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12800
2667d15d
PE
128012013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12802
12803 Suppress unnecessary non-ASCII chatter during build process.
12804 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12805 (batch-skkdic-convert): Suppress most of the chatter.
12806 It's not needed so much now that machines are faster,
12807 and its non-ASCII component was confusing; see Dmitry Gutov in
12808 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12809
438b0579
LL
128102013-03-20 Leo Liu <sdl.web@gmail.com>
12811
12812 * ido.el (ido-chop): Fix bug#10994.
12813
c128ab07
DG
128142013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12815
12816 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12817 Remove vars.
9a1ff164
SM
12818 (whitespace-color-on, whitespace-color-off):
12819 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12820
0e6008c5
SM
128212013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12822
12823 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12824 remapping in mode-line.
12825 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12826
627b52b0
DG
128272013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12828
12829 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12830 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12831 (whitespace-font-lock-keywords): Change description.
12832 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12833 the constructed keywords instead.
12834 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12835
50c3a20b
LL
128362013-03-19 Leo Liu <sdl.web@gmail.com>
12837
12838 * progmodes/compile.el (compilation-display-error): New command.
12839 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12840 C-o. (Bug#13992)
12841
2aa2157b
PE
128422013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12843
12844 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12845
e477dbfa
JD
128462013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12847
12848 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12849
64ab82d1
MA
128502013-03-18 Michael Albinus <michael.albinus@gmx.de>
12851
12852 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12853
12854 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12855 * net/tramp-gvfs.el (top):
12856 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12857 (tramp-handle-shell-command): Use it.
12858 (tramp-dissect-file-name): Raise an error when hostname is a
12859 method name, and neither method nor user is specified.
12860
12861 * net/trampver.el: Update release number.
12862
33cef733
LL
128632013-03-18 Leo Liu <sdl.web@gmail.com>
12864
12865 Make sure eldoc can be turned off properly.
12866 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12867 eldoc-mode.
12868 (eldoc-display-message-p): Revert last change.
12869 (eldoc-display-message-no-interference-p)
12870 (eldoc-print-current-symbol-info): Tweak.
12871
2167b7b2
TH
128722013-03-18 Tassilo Horn <tsdh@gnu.org>
12873
12874 * doc-view.el (doc-view-new-window-function): Check the new window
12875 overlay's display property instead the char property of the
12876 buffer's first char. Use `with-selected-window' instead of
12877 `save-window-excursion' with `select-window'.
12878 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12879 display property instead the char property of the buffer's first char.
2167b7b2 12880
982efbcd
PE
128812013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12882
12883 Automate the build of ja-dic.el (Bug#13984).
12884 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12885 from the input, rather than assume that it's been done for us by the
12886 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12887 the current date into a ja-dic.el comment, as that complicates
12888 regression testing.
12889
2fcc7665
SM
128902013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12891
12892 * whitespace.el: Fix double evaluation.
12893 (whitespace-space, whitespace-hspace, whitespace-tab)
12894 (whitespace-newline, whitespace-trailing, whitespace-line)
12895 (whitespace-space-before-tab, whitespace-indentation)
12896 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12897 obsolete defvars.
12898 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12899 (whitespace-color-on): Use a single font-lock-add-keywords call.
12900 Fix double-evaluation of face variables.
12901
67c0a6e6
MA
129022013-03-17 Michael Albinus <michael.albinus@gmx.de>
12903
2fcc7665
SM
12904 * net/tramp-adb.el (tramp-adb-parse-device-names):
12905 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12906 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12907
69489f1d
LL
129082013-03-17 Leo Liu <sdl.web@gmail.com>
12909
12910 Extend eldoc to display info in the mode-line. (Bug#13978)
12911 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12912 (eldoc-mode-line-string): New variable.
12913 (eldoc-minibuffer-message): New function.
12914 (eldoc-message-function): New variable.
12915 (eldoc-message): Use it.
12916 (eldoc-display-message-p)
2fcc7665
SM
12917 (eldoc-display-message-no-interference-p):
12918 Support eldoc-post-insert-mode.
69489f1d
LL
12919
12920 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12921 (eval-expression): Run it.
12922
9c44569e
RW
129232013-03-17 Roland Winkler <winkler@gnu.org>
12924
12925 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12926 strings in the list of return values.
12927
327f1f6f
JB
129282013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12929
12930 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12931 radix before checking for HMS forms.
12932
67ed8fcd
LL
129332013-03-16 Leo Liu <sdl.web@gmail.com>
12934
12935 * progmodes/scheme.el: Add indentation and font-locking for λ.
12936 (Bug#13975)
12937
78be8b64 129382013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12939
12940 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12941 token before point (bug#13942).
12942
78be8b64 129432013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12944
95b43468 12945 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12946
98e775e6
EZ
129472013-03-16 Eli Zaretskii <eliz@gnu.org>
12948
12949 * startup.el (command-line-normalize-file-name): Fix handling of
12950 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12951 <xfq.free@gmail.com> in
12952 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12953
2edd6029
MA
129542013-03-15 Michael Albinus <michael.albinus@gmx.de>
12955
12956 Sync with Tramp 2.2.7.
12957
12958 * net/trampver.el: Update release number.
12959
d35f5864
TH
129602013-03-14 Tassilo Horn <tsdh@gnu.org>
12961
e903c210 12962 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12963 (doc-view-insert-image): Don't modify overlay associated to
12964 non-live windows, and implement horizontal centering of image in
12965 case it's smaller than the window.
12966 (doc-view-new-window-function): Force redisplay of new windows on
12967 doc-view buffers.
d35f5864 12968
1c4a85ed
KF
129692013-03-13 Karl Fogel <kfogel@red-bean.com>
12970
12971 * saveplace.el (save-place-alist-to-file): Don't sort
12972 `save-place-alist', just pretty-print it (bug#13882).
12973
85b66a21
MA
129742013-03-13 Michael Albinus <michael.albinus@gmx.de>
12975
a020afb9
JB
12976 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12977 Check whether `default-file-name-coding-system' is bound.
12978 It isn't in XEmacs.
85b66a21 12979
175600da
SM
129802013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12981
e7f7cb1a
SM
12982 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12983 backquotes for `obsolete' (bug#13929).
12984
175600da
SM
12985 * international/mule.el (find-auto-coding): Include file name in
12986 obsolescence warning (bug#13922).
12987
ca68a22e
TZ
129882013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12989
12990 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12991 for CFEngine 3-specific indentation.
12992 (cfengine3-indent-line): Use it. Fix up category regex.
12993 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12994
940e5099
SM
129952013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12996
12997 * type-break.el (type-break-file-name):
12998 * textmodes/remember.el (remember-data-file):
12999 * strokes.el (strokes-file):
13000 * shadowfile.el (shadow-initialize):
13001 * saveplace.el (save-place-file):
13002 * ps-bdf.el (bdf-cache-file):
13003 * progmodes/idlwave.el (idlwave-config-directory):
13004 * net/quickurl.el (quickurl-url-file):
13005 * international/kkc.el (kkc-init-file-name):
13006 * ido.el (ido-save-directory-list-file):
13007 * emulation/viper.el (viper-custom-file-name):
13008 * emulation/vip.el (vip-startup-file):
13009 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13010 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13011
cc725808
PE
130122013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13013
13014 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13015 * language/thai-word.el: Switch to UTF-8.
13016
a020afb9 13017See ChangeLog.16 for earlier changes.
e3d51b27
MR
13018
13019;; Local Variables:
13020;; coding: utf-8
e3d51b27
MR
13021;; End:
13022
ba318903 13023 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
13024
13025 This file is part of GNU Emacs.
13026
13027 GNU Emacs is free software: you can redistribute it and/or modify
13028 it under the terms of the GNU General Public License as published by
13029 the Free Software Foundation, either version 3 of the License, or
13030 (at your option) any later version.
13031
13032 GNU Emacs is distributed in the hope that it will be useful,
13033 but WITHOUT ANY WARRANTY; without even the implied warranty of
13034 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13035 GNU General Public License for more details.
13036
13037 You should have received a copy of the GNU General Public License
13038 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.