* kmacro.el (kmacro-bind-to-key): Say that the parameter is unused.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6abe4589
LI
12014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2
87c79dcb
LI
3 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4 (bug#14197).
5
3ab49e2c
LI
6 * progmodes/grep.el (find-program): Doc fix (bug#14289).
7
f3c60241
LI
8 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
9
3bd1d8a8
LI
10 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
11
6abe4589
LI
12 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
13 predicate function (bug#15455).
14
a11463de
DG
152014-02-10 Dmitry Gutov <dgutov@yandex.ru>
16
17 * ielm.el (inferior-emacs-lisp-mode): Instead of
18 `comment-use-global-state', set `comment-use-syntax'.
19
2ab0ad85
GM
202014-02-10 Glenn Morris <rgm@gnu.org>
21
22 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
23
411141fb
AM
242014-02-09 Alan Mackenzie <acm@muc.de>
25
26 Fix c-invalidate-state-cache on narrowed buffers.
27 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
28 Widen when setting and clearing the CPP delimiter properties.
29
d6d5fdf8
LI
302014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
31
92c70367
LI
32 * help.el (describe-bindings): Doc fix (bug#9888).
33
468ef484
LI
34 * files.el (save-buffer): Use ARG as the parameter name for
35 consistency (bug#10346).
7e34193f 36 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 37
fc2b1ffa 38 * cus-edit.el (customize-apropos): Fix error string.
382fd368 39 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 40 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 41
c7b92b88
LI
42 * dired-aux.el (dired-copy-file-recursive): Remove slighly
43 misleading comment (bug#11328).
44
790aceec
LI
45 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
46
a54a7552 47 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 48 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 49
dd163123
LI
50 * font-lock.el (font-lock-value-in-major-mode): Clarify the
51 meaning of the parameter (bug#12282).
52
9e108fe6
LI
53 * files.el (find-file-noselect): Clarify prompt when changing
54 readedness (bug#13261).
5a836f58
LI
55 (locate-file): Suffixes aren't returned, so don't say that they
56 are (bug#12674).
2356b316 57 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 58
20dda930
LI
59 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
60 before we actually start to delete things (bug#16331).
61
d6d5fdf8
LI
62 * subr.el (event-start): Doc fix (bug#14228).
63 (event-end): Ditto.
64
2abd71e5
GM
652014-02-09 Glenn Morris <rgm@gnu.org>
66
67 * emacs-lisp/warnings.el (lwarn):
68 Empower help-enable-auto-load. (Bug#15940)
69
c1b5900b
AS
702014-02-08 Andreas Schwab <schwab@linux-m68k.org>
71
72 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
73 (Bug#16690)
74
429b93bd
MA
752014-02-08 Michael Albinus <michael.albinus@gmx.de>
76
77 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
78 Insert output at end of buffer. (Bug#16120)
79
b772a699
LI
802014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
81
18c6aa8c
LI
82 * simple.el (choose-completion-string-functions): Document new
83 calling convention (bug#14153).
54dd147a 84 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 85
dce8463b
LI
86 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
87
b772a699 88 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 89 (find-grep-dired): Doc fix (bug#14288).
b772a699 90
2423c8d5
JL
912014-02-08 Juri Linkov <juri@jurta.org>
92
93 * isearch.el (isearch-quote-char): Check character validity
94 like in `quoted-insert' (bug#16677).
95
518f26c2
LI
962014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
97
893cc908
LI
98 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
99
9165ffc0
LI
100 * isearch.el (isearch-hide-immediately): Doc clarification
101 (bug#14723).
102
6ef4f3ce
LI
103 * simple.el (line-move): Document utility function used many
104 places in the Emacs sources (bug#14843).
105
be58a238 106 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 107 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 108 (dired-up-directory): Doc fix (bug#14848).
be58a238 109
dd7aafbb
LI
110 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
111
15cb9968
LI
112 * files.el (file-relative-name): Doc fix (bug#15159).
113
9788effd
LI
114 * fringe.el (fringe-styles): Doc fix (bug#15239).
115
c96411bd
LI
116 * isearch.el (isearch-filter-predicate): Documentation typo fix
117 (bug#15474).
118
ea838c36
LI
119 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
120
0d8a4ae7
LI
121 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
122
f7a17bb3
LI
123 * replace.el (replace-match-maybe-edit): Doc clarification
124 (bug#15632).
125
1bde5c3b
LI
126 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
127
518f26c2
LI
128 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
129
dd8e49fd
GM
1302014-02-08 Glenn Morris <rgm@gnu.org>
131
132 * help-fns.el (describe-variable):
133 Check {file,dir}-local-variables-alist, and buffer-file-name,
134 in the correct buffer.
135
7e088b29
IL
1362014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
137
138 * help-fns.el (describe-variable): Fix the case where
139 a value is directory-local with no dir-locals file. (Bug#16635)
140
41a4a82f
GM
1412014-02-08 Glenn Morris <rgm@gnu.org>
142
143 * abbrev.el (edit-abbrevs-mode):
144 Derive from fundamental-mode. (Bug#16682)
145
e255a703
JB
1462014-02-07 Juanma Barranquero <lekktu@gmail.com>
147
148 * simple.el (quoted-insert): Check character validity (bug#16677).
149
c99cf5ee
JL
1502014-02-07 Juri Linkov <juri@jurta.org>
151
152 * desktop.el (desktop-read): Claim the lock when the owner is not
153 the current process. (Bug#16157)
154
7d7a68d8
JL
1552014-02-07 Juri Linkov <juri@jurta.org>
156
157 * desktop.el (desktop-buffers-not-to-save): Change default from nil
158 to "\\` ". (Bug#16651)
159
2b777cd9
JL
1602014-02-07 Juri Linkov <juri@jurta.org>
161
162 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
163 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
164 (desktop-auto-save-cancel-timer): New function with some code from
165 `desktop-auto-save-set-timer'.
166 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
167 Instead of setting `desktop-save-mode' to nil, call
168 `desktop-save-mode' with arg 0. (Bug#16630)
169
60eabbb9
GM
1702014-02-07 Glenn Morris <rgm@gnu.org>
171
99cf3859
GM
172 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
173 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
174 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
175
2b568bc9
GM
176 * obsolete/iswitchb.el: Move to obsolete/.
177 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
178 since obsolete/ is not scanned for autoloads.
179 * emacs-lisp/authors.el (authors-valid-file-names):
180 Add iswitchb.el.
181
60eabbb9
GM
182 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
183 Disable now non-functional find-file-hook.
184
629de968
MA
1852014-02-06 Michael Albinus <michael.albinus@gmx.de>
186
187 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
188 instead of ";" in order to avoid additional prompts. Let heredoc
189 scripts read from tty. (Bug#16582)
190 (tramp-send-command): No special handling of heredocs, it isn't
191 necessary anymore.
192
29127376
SM
1932014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
196 with a space (bug#16664). Limit the symbols considered to the ones
197 that are bound or fbound (bug#16646).
198
79b6e0a9
GM
1992014-02-06 Glenn Morris <rgm@gnu.org>
200
201 * epa.el (epa-mail-aliases): Doc fix.
202
a333e4d2
DG
2032014-02-06 Dmitry Gutov <dgutov@yandex.ru>
204
29127376
SM
205 * emacs-lisp/lisp.el (lisp-completion-at-point):
206 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
207 (bug#16604).
208
209 * minibuffer.el (completion-table-merge): New function.
210
9a83b32b
MA
2112014-02-05 Michael Albinus <michael.albinus@gmx.de>
212
213 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
214 (tramp-sh-handle-set-file-acl)
215 (tramp-sh-handle-start-file-process)
216 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
217 (tramp-find-executable, tramp-send-command): Use it.
218
451ea3e6
GM
2192014-02-05 Glenn Morris <rgm@gnu.org>
220
9a83b32b 221 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 222
dd27d13b
FEG
2232014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
224
225 * progmodes/python.el (python-shell-send-string):
226 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
227
08e41897
AL
2282014-02-04 Anders Lindgren <andlind@gmail.com>
229
230 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
231 the names (bug#16620).
232
764ec9e5
MR
2332014-02-03 Martin Rudalics <rudalics@gmx.at>
234
08e41897
AL
235 * faces.el (window-divider): New default value. Rewrite doc-string.
236 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 237
6da8227c
DG
2382014-02-03 Dmitry Gutov <dgutov@yandex.ru>
239
240 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
241 `protected' and `public' can also be called without arguments.
242
6a6b8e40
GM
2432014-02-03 Glenn Morris <rgm@gnu.org>
244
7bcbca40
GM
245 * register.el (window-configuration-to-register)
246 (frame-configuration-to-register): Unadvertise unused argument.
247 * frameset.el (frameset-to-register): Remove unused argument.
248
719d965d 249 * frameset.el (frameset-to-register):
6a6b8e40
GM
250 * kmacro.el (kmacro-to-register):
251 * register.el (increment-register):
252 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
253 (calc-append-to-register, calc-prepend-to-register):
254 * play/gametree.el (gametree-layout-to-register)
255 (gametree-apply-register-layout):
256 * textmodes/picture.el (picture-clear-rectangle-to-register)
257 (picture-yank-rectangle-from-register):
258 * vc/emerge.el (emerge-combine-versions-register):
259 Use register-read-with-preview to read registers.
260
5dca7759
JT
2612014-02-03 João Távora <joaotavora@gmail.com>
262
263 * elec-pair.el (electric-pair-backward-delete-char): Don't error
264 when at beginning of (possibly narrowed) buffer.
265
709085b9
DC
2662014-02-02 Daniel Colascione <dancol@dancol.org>
267
08e41897
AL
268 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
269 Also try to display local help from just before point.
709085b9 270
99f7b0a6
AM
2712014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
272
273 c-parse-state. Don't "append-lower-brace-pair" in certain
274 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
275 recognised as a comment.
276
277 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
278 as well as normal comment starter.
279 (c-parse-state-get-strategy): Extra return possibility
280 'back-and-forward.
281 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
282 return value list to indicate replacement of a brace-pair cons
283 with its car.
284 (c-parse-state-1): With 'back-and-forward, only call
285 c-append-lower-brace-pair-to state-cache when cons-separated.
286
f0a10576
JD
2872014-02-02 Jan Djärv <jan.h.d@swipnet.se>
288
289 * term/ns-win.el (ns-suspend-error): New function.
290 (ns-initialize-window-system): Add ns-suspend-error to
291 suspend-hook (Bug#16612).
292
b8d552c2
DC
2932014-02-02 Daniel Colascione <dancol@dancol.org>
294
295 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
296
f2b7d123
DC
2972014-02-02 Daniel Colascione <dancol@dancol.org>
298
299 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
300
4472a196
GM
3012014-02-02 Glenn Morris <rgm@gnu.org>
302
303 * register.el (register-read-with-preview, point-to-register)
304 (window-configuration-to-register, frame-configuration-to-register)
305 (jump-to-register, number-to-register, view-register, insert-register)
306 (copy-to-register, append-to-register, prepend-to-register)
307 (copy-rectangle-to-register): Doc fixes.
308
70e5a261
SM
3092014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
310
311 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
312 * emacs-lisp/find-func.el (find-function-C-source): Idem.
313 * emacs-lisp/nadvice.el (advice--cd*r): New function.
314 * help-fns.el (describe-function-1): Use it.
315
7c324762
GM
3162014-02-02 Glenn Morris <rgm@gnu.org>
317
318 * register.el (register-preview-default): New function,
319 split from register-preview.
320 (register-preview-function): Rename from register-preview-functions,
321 make it not a hook.
322 (register-preview): Use register-preview-function.
323 (register-read-with-preview): Error on non-character event. (Bug#16595)
324
a09beb3d
DG
3252014-02-01 Dmitry Gutov <dgutov@yandex.ru>
326
327 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
328 `:' before binary operators (bug#16609). Don't check for `:'
329 before `[' and `(', or their syntax status. A percent literal
330 can't end with either.
68e004e0
DG
331 (ruby-font-lock-keywords): For built-ins that require arguments,
332 check that they're followed by something that looks like argument
333 (bug#16610).
a09beb3d 334
ed4d2875
LI
3352014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
336
337 * subr.el (butlast): Document what an omitted N means (bug#13437).
338 (nbutlast): Ditto.
339
dba6e3ec
LI
3402014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
341
342 * net/shr.el (shr-generic): Make into a defsubst to make the stack
343 depth shallower (bug#16587).
cc477daa
LI
344 (shr-tag-svg): Respect `shr-inhibit-images'.
345 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 346
e2a67bd0
DG
3472014-01-31 Dmitry Gutov <dgutov@yandex.ru>
348
349 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
350 (ruby-smie-grammar): Make "." right-associative. Make its priority
351 lower than the ternary and all binary operators.
352 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
353 parent, or the first "." parent at indentation.
354 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
355 (Bug#16593)
356
bd21bf41
JL
3572014-01-31 Juri Linkov <juri@jurta.org>
358
359 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
360 from `make-hash-table'.
361
362 * textmodes/ispell.el (ispell-init-process): Change message format
363 to be consistent with other messages.
364
b7e615b9
GM
3652014-01-31 Glenn Morris <rgm@gnu.org>
366
a69ecd19
GM
367 * delsel.el (delete-selection-mode): Doc fix.
368
9997d7e3
GM
369 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
370 (trace-function-background): Doc fixes.
371
fbb764b8
GM
372 * ido.el (ido-use-virtual-buffers): Doc fix.
373 Reset :version, since the default value has not changed.
374
da942af1
GM
375 * register.el (register-preview-delay, register-read-with-preview):
376 Doc fixes.
377
b7e615b9
GM
378 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
379 do not mess with mail-buffer position (fixes 2009-11-03 change).
380 * progmodes/cc-mode.el (c-submit-bug-report):
381 Check auto-fill-mode is bound. (Bug#16592)
382
0a25002d
DH
3832014-01-31 Darren Hoo <darren.hoo@gmail.com>
384
385 * startup.el (fancy-splash-image-file): New function,
386 split from fancy-splash-head.
387 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
388 so that we are both using the same image. (Bug#16574)
389
ad78f432
GM
3902014-01-30 Glenn Morris <rgm@gnu.org>
391
6bbc0c84
GM
392 * simple.el (eval-expression): Doc fix.
393
ad78f432
GM
394 * hexl.el (hexl-mode-hook):
395 * ielm.el (ielm-mode-hook):
396 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
397 (lisp-interaction-mode-hook):
398 * progmodes/cfengine.e (cfengine3-documentation-function):
399 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
400
7b2f049c
SM
4012014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
402
403 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
404 is a symbol (bug#16584).
405
0c633f13
GM
4062014-01-30 Glenn Morris <rgm@gnu.org>
407
408 * help.el (help-for-help-internal): Add "P" to text.
409
5e61c1ef
GM
4102014-01-29 Glenn Morris <rgm@gnu.org>
411
412 * simple.el (just-one-space, cycle-spacing): Doc fixes.
413
1dcb169c
MR
4142014-01-28 Martin Rudalics <rudalics@gmx.at>
415
416 * window.el (fit-frame-to-buffer): Fix calculations for margins and
417 height constraints.
418
a9128931
LL
4192014-01-28 Luke Lee <luke.yx.lee@gmail.com>
420
421 * progmodes/hideif.el: Extend to full CPP expression syntax.
422 (hif-token-alist): Add missing tokens.
423 (hif-token-regexp): Add support for float/octal/hex immediates.
424 (hif-string-literal-regexp): New const.
425 (hif-tokenize): Recognize strings and float/octal/hex immediates.
426 (hif-exprlist): New function.
427 (hif-parse-if-exp): Use it.
428 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
429 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
430 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
431 (hif-logxor, hif-comma): New functions.
432
a22359a7
GM
4332014-01-28 Glenn Morris <rgm@gnu.org>
434
793ffe81
GM
435 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
436
e3bd7eed
GM
437 * indent.el (tab-stop-list): Doc fix. Add :version.
438
a22359a7
GM
439 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
440 (cvs-append-to-ignore): Add compatibility alias.
441
52695556 4422014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 443
bac524e0
GM
444 * dired.el (dired-hide-details-mode): Don't autoload it,
445 since it cannot be used outside Dired buffers anyway.
446
52695556 447 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 448
52695556
GM
449 * dired.el (dired-hide-details-hide-symlink-targets)
450 (dired-hide-details-hide-information-lines)
451 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
452
453 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
454 * strokes.el (strokes-file): Doc fix. Bump :version.
455 (strokes-help): Doc fix.
456 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
457 * emulation/viper.el (viper): Doc fix for custom group.
458 (top-level): Remove oh-so-no-longer-relevant text about vip.
459 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
460
461 * ido.el (ido-save-directory-list-file):
462 * saveplace.el (save-place-file):
463 * calendar/timeclock.el (timeclock-file):
464 * net/quickurl.el (quickurl-url-file):
465 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
466 * progmodes/idlwave.el (idlwave-config-directory):
467 * textmodes/remember.el (remember-data-file):
468 Bump :version.
469
169d6004
GM
4702014-01-26 Glenn Morris <rgm@gnu.org>
471
de6a923b
GM
472 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
473 Doc fix. Make obsolete.
474 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
475
169d6004
GM
476 * sort.el (delete-duplicate-lines): Doc fix.
477
ed85dee6
RS
4782014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
479
480 * progmodes/ada-mode.el (ada):
481 * woman.el (woman): Link to info manual and Commentary section.
482
483 * progmodes/flymake.el (flymake):
484 * nxml/nxml-mode.el (nxml):
485 * net/eww.el (eww):
486 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
487 * htmlfontify.el (htmlfontify):
488 * ses.el (ses):
489 * epa.el (epa):
490 * ido.el (ido): Link to info manual.
491
e0c67e1d
LL
4922014-01-25 Leo Liu <sdl.web@gmail.com>
493
494 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
495
35408b1a
AS
4962014-01-25 Adam Sjøgren <asjo@koldfront.dk>
497
498 * net/shr.el (shr-tag-img): Prefer the title over the alt text
499 (bug#16537).
500
76c3fa95
JB
5012014-01-24 Juanma Barranquero <lekktu@gmail.com>
502
f77c7a99
JB
503 * net/eww.el (eww-download-callback):
504 Fix reference to eww-download-directory.
505
76c3fa95
JB
506 * emacs-lisp/bytecomp.el (byte-compile-file):
507 Remove unused local variable `file-name'.
508
1e548e40
GM
5092014-01-24 Glenn Morris <rgm@gnu.org>
510
03f3b318
GM
511 * woman.el (woman-default-faces, woman-monochrome-faces):
512 Fix obsolescence specification.
513
1e548e40
GM
514 * subr.el (with-demoted-errors): Doc fix.
515
d4f0427b
SM
5162014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
517
518 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
519 (cl--macroexp-fboundp): New function.
520 (cl--make-type-test): Use it.
521
1670e27f
GM
5222014-01-23 Glenn Morris <rgm@gnu.org>
523
524 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
525 * simple.el (eval-expression): Doc fixes.
526
80efa207
GM
5272014-01-22 Glenn Morris <rgm@gnu.org>
528
529 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
530
29afcbab
SM
5312014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
532
533 * emacs-lisp/package.el: Write files silently.
534 (package-autoload-ensure-default-file, package--write-file-no-coding)
535 (package-generate-description-file, package--download-one-archive)
536 (package-install-from-archive): Tell `write-region' to stay quiet.
537 (package-menu-mode, package-menu--print-info): Omit the Archive column
538 if there's only one archive.
539 (package-all-keywords, package--has-keyword-p): Remove dead code.
540
2a5bce4f
GM
5412014-01-22 Glenn Morris <rgm@gnu.org>
542
edace89f
GM
543 * version.el (emacs-bzr-version-bzr): Fix typo.
544
2a5bce4f
GM
545 * version.el (emacs-repository-get-version):
546 Check either .bzr or .git, but not both.
547 Make the git case actually use the DIR argument, and return nil
548 rather than the empty string.
983664c0 549 Avoid error if .git exists but the git executable is not found.
2a5bce4f 550
6cb4da45
MR
5512014-01-22 Martin Rudalics <rudalics@gmx.at>
552
553 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
554 * window.el (window-total-size, window-size): New argument ROUND.
555 (window--min-delta-1, window-min-delta, window--max-delta-1):
556 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
557 columns a window can shrink (Bug#16430).
558 (fit-window-to-buffer): Simplify code.
559 * term.el (term-window-width): Call window-body-width again.
560
cc0f2ece
GM
5612014-01-22 Glenn Morris <rgm@gnu.org>
562
7b997b14
GM
563 * image.el (image-format-suffixes): Doc fix.
564
44e76f9d
GM
565 * international/quail.el (quail-define-package): Doc fix.
566
73c1c6d7
GM
567 * emacs-lisp/authors.el (authors-valid-file-names):
568 (authors-renamed-files-alist): Additions.
7bfc1caa 569
85a5f61f
GM
570 * vc/vc-git.el (vc-git-print-log): Remove --follow;
571 reverts 2014-01-09 change. (Bug#16422)
572
cc0f2ece
GM
573 * calc/calc-embed.el (thing-at-point-looking-at):
574 * emacs-lisp/map-ynp.el (x-popup-dialog):
575 * obsolete/lmenu.el (x-popup-dialog):
576 * emacs-lisp/package.el (url-recreate-url):
577 * mail/mailclient.el (clipboard-kill-ring-save):
578 * subr.el (x-popup-dialog): Update declaration.
579 * mail/rmail.el (rmail-mime-message-p):
580 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
581
00d2a6bb
DC
5822014-01-21 Daniel Colascione <dancol@dancol.org>
583
584 * progmodes/sh-script.el (sh--inside-noncommand-expression):
585 Correctly detect when we're inside an arithmetic expansion form
586 containing nested parenthesis.
587 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
588 to detect cases where we shouldn't expand "<<" to a heredoc
589 skeleton.
590
dd9d2e9d
SM
5912014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
592
593 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
594 (eldoc--message-command-p): New function.
595 (eldoc-display-message-p): Use it.
596 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
597 message is not automatically erased for us.
598 (eldoc-print-current-symbol-info): Erase previous message, if any.
599
e7d807ca
TH
6002014-01-21 Tassilo Horn <tsdh@gnu.org>
601
4ff0a0e5
TH
602 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
603 specify it's an interactive function.
604
dd9d2e9d
SM
605 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
606 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
607 citations with optional arguments.
608
87503791
LL
6092014-01-21 Leo Liu <sdl.web@gmail.com>
610
611 * simple.el (read--expression): Don't enable eldoc-mode.
612
6cc750ee
SM
6132014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * simple.el (move-beginning-of-line): Make sure we don't move forward
616 (bug#16497).
617
71f16bda
JL
6182014-01-20 Juri Linkov <juri@jurta.org>
619
620 * saveplace.el (toggle-save-place, save-place-to-alist)
621 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
622 'dired-mode) before checking for dired-directory. (Bug#16477)
623
3c5a4839
JL
6242014-01-20 Juri Linkov <juri@jurta.org>
625
626 * indent.el (indent-line-to): Use backward-to-indentation
627 instead of back-to-indentation. (Bug#16461)
628
f952002e
PE
6292014-01-20 Paul Eggert <eggert@cs.ucla.edu>
630
631 Revert some of the CANNOT_DUMP fix (Bug#16494).
632 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
633 but fixing this can wait until after the next release.
634 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
635
93675500
MA
6362014-01-19 Michael Albinus <michael.albinus@gmx.de>
637
638 * eshell/esh-mode.el (eshell-password-prompt-regexp):
639 Use `password-word-equivalents'.
640 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
641 to t. (Bug#5664, Bug#13124)
642
e3af763f
AM
6432014-01-19 Alan Mackenzie <acm@muc.de>
644
645 Bind open-paren-in-column-0-is-defun-start to nil at some entry
646 points.
647 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 648 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
649 * progmodes/cc-mode.el (c-before-change, c-after-change)
650 (c-font-lock-fontify-region): Bind it here.
651
4ff6d92d
MR
6522014-01-19 Martin Rudalics <rudalics@gmx.at>
653
654 * term.el (term-window-width): Call window-text-width instead of
655 window-width (Bug#16470).
656
9a685cf6
PE
6572014-01-18 Paul Eggert <eggert@cs.ucla.edu>
658
659 * simple.el (password-word-equivalents): Remove duplicates.
660 Sort, to make this easier next time.
661 Downcase. Omit ": " after "jelszó".
662
5aa78c2d
JD
6632014-01-18 Jan Djärv <jan.h.d@swipnet.se>
664
665 * term/common-win.el (saved-region-selection): Defvar it.
666 (x-select-text): Set saved-region-selection (Bug#16382).
667
cabb250c
GM
6682014-01-18 Glenn Morris <rgm@gnu.org>
669
670 * emacs-lisp/authors.el (authors-aliases)
671 (authors-renamed-files-alist): Add some entries.
672
a1340440
MA
6732014-01-17 Michael Albinus <michael.albinus@gmx.de>
674
93675500
MA
675 * net/tramp.el (tramp-password-prompt-regexp):
676 Use `password-word-equivalents' if available.
a1340440
MA
677 (tramp-action-password, tramp-process-one-action)
678 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
679
681ce5d2
CY
6802014-01-17 Chong Yidong <cyd@gnu.org>
681
682 * simple.el (password-word-equivalents): New defcustom.
683 * comint.el (comint-password-prompt-regexp): Use it. Bump version
684 to 24.4.
685 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
686 to t. (Bug#13124)
687
fb3d479c
DG
6882014-01-17 Dmitry Gutov <dgutov@yandex.ru>
689
690 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
691 (ruby-align-to-stmt-keywords): Change the default value.
692 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
693 choices.
694 (ruby-smie-rules): Instead of using a hardcoded list of alignable
695 keywords, check against the value of `ruby-alignable-keywords'
696 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
697
0d613483
GM
6982014-01-17 Glenn Morris <rgm@gnu.org>
699
fc23fe2d
GM
700 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
701
0d613483
GM
702 Make M-x authors return zero *Authors Errors* from current logs.
703 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
704 (authors-ignored-files): Add some entries, remove others.
705 (authors-ambiguous-files, authors-valid-file-names):
706 Add some entries.
707 (authors-renamed-files-alist): Add, remove, and adjust entries.
708 (authors-renamed-files-regexps): Add some entries.
709 Remove some very broad ones. Make some entries `lax'.
710 (authors-lax-changelogs): New constant.
711 (authors-disambiguate-file-name): Treat top-level specially.
712 (authors-lax-changelog-p): New function.
713 (authors-canonical-file-name): Check file as written against
714 authors-valid-file-names. Do not special-case etc/.
715 Handle `lax' logs and authors-renamed-files-regexps elements.
716
2dbf4ffd
DG
7172014-01-16 Dmitry Gutov <dgutov@yandex.ru>
718
719 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
720 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
721 callers.
2dbf4ffd 722
87b2a7f2
SM
7232014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
724
725 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
726 Assume we're already in the proper buffer.
727 Inspired by Anders Lindgren <andlind@gmail.com>.
728 (follow-post-command-hook): Call it from the right buffer.
729 (follow-comint-scroll-to-bottom): Adjust call.
730 (follow-all-followers): Use get-buffer-window-list.
731
93acfb0e
DC
7322014-01-15 Daniel Colascione <dancol@dancol.org>
733
734 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
735 `buffer-file-name' in interactive-form so that we don't leave
736 pathless file names in `file-name-history'.
737
ccc6b208
JL
7382014-01-15 Juri Linkov <juri@jurta.org>
739
740 * indent.el (indent-rigidly): Set deactivate-mark to nil
741 in transient indentation mode. (Bug#16438)
742
5c92e00d
DG
7432014-01-15 Dmitry Gutov <dgutov@yandex.ru>
744
745 * emacs-lisp/package.el (package-desc-keywords): New function
746 (Bug#16222).
747 (describe-package-1, package-all-keywords)
748 (package--has-keyword-p): Use it.
749
dac69660
NR
7502014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
751
752 * simple.el (define-alternatives): When creating the
753 COMMAND-alternatives variable, assign COMMAND as its definition
754 name so that `describe-variable' can relocate it.
755
8b63edf8
ML
7562014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
757
758 * font-lock.el (font-lock-keywords): Fix typo in docstring
759 (bug#16307).
760
c6a0b8eb
AM
7612014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
762
763 * ispell.el (ispell-region): Reset `in-comment' for new line
764 instead of wrongly reset `add-coment' (bug#13577).
765
02bf443d
DU
7662014-01-14 Daiki Ueno <ueno@gnu.org>
767
768 * epa-file.el (epa-file-write-region): Encode the region according
769 to `buffer-file-format'. Problem reported at:
770 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
771
fd7fde15
SM
7722014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
773
774 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
775 so it applies in the right buffer (bug#16410).
776
c176054f
DC
7772014-01-13 Daniel Colascione <dancol@dancol.org>
778
779 * textmodes/rst.el (rst-define-key): Provide deprecated
780 keybindings through named functions instead of anonymous ones so
781 that "??" doesn't appear in describe-mode output.
782
e3f33e5d
BG
7832014-01-13 Bastien Guerry <bzg@gnu.org>
784
785 * simple.el (define-alternatives): Call the selected command
786 interactively. When setting `COMMAND--implementation' for the
787 first time, tell the user how to chose another implementation.
788 Enhance the docstring.
789
c055d654
SM
7902014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
791
792 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
793 (log-edit--match-first-line): New function.
794 (log-edit-font-lock-keywords): Use it.
795 (log-edit-mode): Make jit-lock-defer-multiline work.
796
d791cc3b
BG
7972014-01-13 Bastien Guerry <bzg@gnu.org>
798
799 * rect.el (rectangle-mark-mode): When the region is not active,
800 display a message saying that the mark as been set and that
801 rectangle mode is in use.
802 (rectangle--highlight-for-redisplay): Only put an overlay with a
803 visible vertical bar when (display-graphic-p) is non-nil.
804 This partially fixes Bug#16403.
805
3c0c4562
JL
8062014-01-13 Juri Linkov <juri@jurta.org>
807
808 * info.el (Info-find-file): Go to DIR before displaying the error
809 about a nonexistent file if no previous Info file is visited.
810 Use `user-error' instead of `error' for "Info file %s does not exist".
811 (Info-find-node-2): In case of a nonexistent node in unwind forms
812 go to the Top node if there is no previous node to revert to.
813 (Bug#16405)
814
25a700d0
MR
8152014-01-13 Martin Rudalics <rudalics@gmx.at>
816
817 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
818 * window.el (fit-frame-to-buffer): Fix doc-string.
819 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
820 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
821 when avoiding that frame goes partially off-screen.
822 (fit-window-to-buffer): Respect window-min-height/-width
823 (Bug#14096).
824
6ae948d8
SM
8252014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
828 after an empty line.
829
6137cb82
SM
8302014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * net/shr.el (shr-render-region): Autoload.
833
e6344e17
XF
8342014-01-12 Xue Fuqiao <xfq.free@gmail.com>
835
836 * net/eww.el (eww-download-directory): Rename from
837 `eww-download-path' (Bug#16419).
838
3b922c70
LL
8392014-01-12 Leo Liu <sdl.web@gmail.com>
840
841 * dired-x.el (dired-mode-map): Fix last change.
842
843 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
844
4fa51741
PE
8452014-01-12 Paul Eggert <eggert@cs.ucla.edu>
846
847 Spelling fixes.
848 * emacs-lisp/generic.el (generic--normalize-comments):
849 Rename from generic--normalise-comments. All uses changed.
850 * play/bubbles.el (bubbles--neighborhood-score):
851 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
852 (bubbles--neighborhood-available)
853 (bubbles--update-neighborhood-score):
854 Rename from names with 'neighbourhood'. All uses changed.
855
9b335362
LL
8562014-01-12 Leo Liu <sdl.web@gmail.com>
857
858 Re-implement the feature of showing eldoc info after editing.
859 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
860 (eldoc-edit-message-commands): New function.
861 (eldoc-print-after-edit): New variable.
862 (eldoc-pre-command-refresh-echo-area): Emit message only by
863 eldoc-message-commands.
864 (eldoc-mode): Restrict eldoc-message-commands to editing commands
865 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 866 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 867 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 868
e2a095b1
GM
8692014-01-11 Dani Moncayo <dmoncayo@gmail.com>
870 Eric S. Raymond <esr@thyrsus.com>
9685190b 871
841a6d0c 872 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 873 function works correctly in either a Bazaar or Git repo.
0abf4134 874
e2a095b1
GM
8752014-01-11 Eric S. Raymond <esr@thyrsus.com>
876
6137cb82
SM
877 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
878 Goes with removal of the joke manpages from /etc.
9685190b 879
3923e7bd
KH
8802014-01-10 K. Handa <handa@gnu.org>
881
6137cb82
SM
882 * mail/rmail.el (rmail-get-coding-system):
883 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 884
d2f16e93
GM
8852014-01-10 Glenn Morris <rgm@gnu.org>
886
887 * emacs-lisp/authors.el (authors-fixed-entries):
888 Update for files that no longer exist.
889
7e03bb32
ER
8902014-01-10 Eric S. Raymond <esr@thyrsus.com>
891
892 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 893 24.3 (Tested).
7e03bb32 894
dd806710
BB
8952014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
896
897 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
898 and Podfile.
899
ed6ec139
EZ
9002014-01-10 Eli Zaretskii <eliz@gnu.org>
901
902 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
903
cc33cac9
CY
9042014-01-10 Chong Yidong <cyd@gnu.org>
905
6137cb82 906 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 907
d9d836b5
AL
9082014-01-10 Anders Lindgren <andlind@gmail.com>
909
910 * follow.el (follow-cache-command-list): Include right-char and
911 left-char.
912
06827ec8
PE
9132014-01-10 Paul Eggert <eggert@cs.ucla.edu>
914
915 Spelling fixes.
916 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
917 * woman.el (woman-mark-horizontal-position):
918 Rename from woman-mark-horizonal-position. Use changed.
919
458dbf5e
GM
9202014-01-10 Glenn Morris <rgm@gnu.org>
921
dad6fae7
GM
922 * info.el (info-initialize): If running uninstalled, ensure our
923 own info files are always found first, even if INFOPATH is set.
924
458dbf5e
GM
925 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
926
05e0afce
DE
9272014-01-09 David Engster <deng@randomsample.de>
928
929 * emacs-lisp/eieio-custom.el:
930 * emacs-lisp/eieio-opt.el: Set generated autoload file to
931 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
932 * emacs-lisp/eieio.el: Regenerate autoloads.
933
f29778b3
ER
9342014-01-09 Eric S. Raymond <esr@thyrsus.com>
935
936 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 937 following renames. (Bug#8756)
f29778b3 938
684d44ef
SM
9392014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
940
941 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
942 (bug#16382).
943 (activate-mark): Add `no-tmm' argument.
944 (set-mark, push-mark-command): Use it instead of running
945 activate-mark-hook by hand.
946
9475054f
ER
9472014-01-08 Eric S. Raymond <esr@thyrsus.com>
948
949 In preparation for the move to git, sanitize out some
950 Bazaar-specific names.
951
38942b9c
GM
952 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
953
9475054f 954 * version.el (emacs-bzr-version): Name changed to
689c9ca5 955 emacs-repository-version. Obsolete-variable alias made.
9475054f 956 * loadup.el: Follow through on this name change.
a12bf61e 957 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
958 assumption about the version control system in use.
959
0f918d96 9602014-01-08 David Engster <deng@randomsample.de>
abb82152 961
684d44ef
SM
962 * help-fns.el (help-fns-describe-function-functions):
963 New variable to call functions for augmenting help buffers.
abb82152
DE
964 (describe-function-1): Remove explicit calls to
965 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
966 `help-fns--obsolete'. Put them in above new variable instead, and
967 call them through `run-hook-with-args'.
968 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
969 `eieio-describe-class'. Not meant for interactive use anymore,
970 but to augment existing help buffers. Remove optional second
684d44ef
SM
971 argument. Create proper button for file location.
972 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
973 possible.
974 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
975 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
976 (describe-method, describe-generic, eieio-describe-method):
977 Remove aliases.
0f918d96
DE
978 (eieio-help-constructor, eieio-help-generic): Rename from
979 `eieio-describe-constructor' and `eieio-describe-generic', resp.
980 Rewrite to use `insert' in the current buffer and use proper help
981 buttons.
982 (eieio-help-find-method-definition)
983 (eieio-help-find-class-definition): Also accept symbols as
984 arguments.
985 (eieio-help-mode-augmentation-maybee): Remove.
986 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
987 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
988 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 989
136b74c5
PE
9902014-01-08 Paul Eggert <eggert@cs.ucla.edu>
991
992 Spelling fixes.
993 * language/china-util.el (hz-ascii-designation):
994 Rename from hz-ascii-designnation.
995 (hz-ascii-designation): Rename from hz-ascii-designnation.
996 All uses changed.
997
ec6c7de2
SM
9982014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
999
1000 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1001 package-alist.
1002
d6262c7c
BG
10032014-01-08 Bastien Guerry <bzg@gnu.org>
1004
4b9e6087
GM
1005 * emacs-lisp/package.el (package-delete):
1006 Correctly delete the package from package-alist.
d6262c7c 1007
0a3eec32
DU
10082014-01-08 Daiki Ueno <ueno@gnu.org>
1009
1010 * emacs-lisp/package.el (url-recreate-url): Declare.
1011 (url-http-target-url): Declare.
4b9e6087 1012 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
1013 (package--check-signature): Don't re-signal errors from
1014 package--with-work-buffer. Suggested by Stefan Monnier.
1015
68f0bb97
BG
10162014-01-07 Bastien Guerry <bzg@gnu.org>
1017
1018 * minibuffer.el (completion--try-word-completion): When both a
1019 hyphen and a space are possible candidates for the character
1020 following a word, display both candidates. (Bug#15980)
1021
7e1899d7
MR
10222014-01-07 Martin Rudalics <rudalics@gmx.at>
1023
1024 * window.el (balance-windows-2): While rounding don't give a
1025 window more than the remainder. Bug#16351, Bug#16383.
1026
0030ec15
GM
10272014-01-07 Glenn Morris <rgm@gnu.org>
1028
1029 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1030 (menu-bar-help-menu): Use view-external-packages instead.
1031
2b6b4f20
BG
10322014-01-07 Bastien Guerry <bzg@gnu.org>
1033
1034 * emacs-lisp/package.el (package-delete): Also delete the package
1035 name from `package-alist', not its description only.
1036
e9be0a13
GM
10372014-01-07 Glenn Morris <rgm@gnu.org>
1038
1039 * help.el (view-external-packages):
1040 * menu-bar.el (menu-bar-help-extra-packages):
1041 Visit efaq.info rather than etc/MORE.STUFF.
1042
e4f74da9
JL
10432014-01-07 Juri Linkov <juri@jurta.org>
1044
1045 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1046 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1047
1048 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1049 that shadows RET. (Bug#16342)
1050
de7ce2d1
CY
10512014-01-07 Chong Yidong <cyd@gnu.org>
1052
1053 * isearch.el (isearch-yank-char, isearch-yank-word)
1054 (isearch-yank-line): Doc fix.
1055
6bdd9204
SM
10562014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1059 * emacs-lisp/elint.el (elint-find-builtins):
1060 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1061 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1062 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1063 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1064 * apropos.el (apropos-safe-documentation):
1065 * subr.el (symbol-file): Remove redundant fboundp.
1066 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1067
daccca97
BG
10682014-01-06 Bastien Guerry <bzg@gnu.org>
1069
1070 * hl-line.el (global-hl-line-overlay): Make a local variable.
1071 (global-hl-line-overlays): New variable to store all overlays.
1072 (global-hl-line-mode): Don't delete overlays from the current
1073 buffer when `global-hl-line-sticky-flag' is non-nil.
1074 (global-hl-line-highlight): Add new overlays to
1075 `global-hl-line-overlays'.
1076 (global-hl-line-unhighlight-all): New function to delete all
1077 overlays when turning off `global-hl-line-mode'.
1078 This fixes Bug#16183.
1079
ec00f20f
SM
10802014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1081
1082 * subr.el (set-transient-map): Fix nested case and docstring.
1083
a0031f97
TH
10842014-01-06 Tassilo Horn <tsdh@gnu.org>
1085
1086 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1087 `Texinfo' entry.
1088
bf6a77f3
DC
10892014-01-06 Daniel Colascione <dancol@dancol.org>
1090
1091 Fix defun navigation in vc log view.
1092
1093 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1094 like `beginning-of-defun'.
1095 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
1096 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1097 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 1098 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 1099 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 1100
d5081c1e
PE
11012014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1102
1103 Spelling fixes.
1104 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1105 * emacs-lisp/debug.el (cancel-debug-on-entry):
1106 * epg.el (epg-error-to-string):
1107 * files.el (recover-file):
1108 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1109 * mail/emacsbug.el (report-emacs-bug-hook):
1110 * mail/sendmail.el (mail-recover):
1111 * ses.el (ses-yank-resize):
1112 * term/ns-win.el (ns-print-buffer):
1113 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1114 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1115 All uses changed.
1116 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1117
53f6b148
LL
11182014-01-06 Leo Liu <sdl.web@gmail.com>
1119
1120 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 1121 to avoid shadowing global key. (Bug#16354)
53f6b148 1122
b82ace2f
DC
11232014-01-06 Daniel Colascione <dancol@dancol.org>
1124
1125 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1126 rst-mode.
1127
3669b636
MR
11282014-01-05 Martin Rudalics <rudalics@gmx.at>
1129
1130 * window.el (balance-windows): Add mising t to fix Bug#16351.
1131
1a29adc2
LMI
11322014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1133
1134 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1135 (bug#16285).
3d95a0f4
LMI
1136 (shr-insert): If we have a word that's longer than `shr-width',
1137 break after it anyway. Otherwise we'll do no breaking once we get
1138 such a long word.
1a29adc2 1139
f4018140
KN
11402014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1141
3fcfc4ee 1142 * net/eww.el (eww): Support single/double quote for search.
189340f5
KN
1143 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1144 (eww-history-quit): Delete and use quit-window.
1145 (eww-history-kill): Delete, because it doesn't work well and
1146 not necessary.
1147 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 1148
4e619754
PE
11492014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1150
73dbf960
PE
1151 Fix misspelling of 'chinese' in rx (Bug#16237).
1152 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1153 chinese-two-byte.
1154
4e619754
PE
1155 Change subword regexps back to vars (Bug#16296).
1156 * progmodes/subword.el (subword-forward-regexp)
1157 (subword-backward-regexp): Change these back to variables.
1158
e18b70fc
SM
11592014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1162 syntax-begin-function (bug#16247).
1163
0d53f628
CY
11642014-01-03 Chong Yidong <cyd@gnu.org>
1165
1166 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1167 (advice--docstring): Delete variable.
1168 (advice--make-1): Leave the docstring empty.
1169 (advice-add): Use function-documentation for advised docstring.
1170
1171 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1172 Ignore function-documentation property when getting documentation.
1173 (ad-activate-advised-definition): Use function-documentation
1174 generate the docstring.
1175 (ad-make-advised-definition): Don't call
1176 ad-make-advised-definition-docstring.
1177 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1178 Delete functions.
1179
1180 * progmodes/sql.el (sql-help): Use function-documentation instead
1181 of dynamic-docstring-function property. No need to autoload now.
1182 (sql--help-docstring): New variable.
1183 (sql--make-help-docstring): Use it.
1184
6f547583
SM
11852014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1186
6ef9aed8
SM
1187 * ielm.el (ielm-tab): Retarget.
1188 (ielm-map): Use ielm-tab for tab.
1189 (ielm-complete-filename): Use comint-filename-completion.
1190 (ielm-complete-symbol): Remove.
1191 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1192 remove ielm-tab from completion-at-point-functions (bug#16224).
1193
6f547583
SM
1194 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1195 Beware signals raised by predicates (bug#16201).
1196
a574edbe
RS
11972014-01-02 Richard Stallman <rms@gnu.org>
1198
e831604d
RS
1199 * dired-aux.el (dired-do-print): Handle printer-name.
1200
6f547583
SM
1201 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1202 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
1203 (rmail-epa-decrypt): Turn off mime processing.
1204
3fcfc4ee 1205 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
1206 Add parens in message-id.
1207
1208 * mail/rmail.el (rmail-get-coding-function): Variable.
1209 (rmail-get-coding-system): Use it.
1210
04311a16
KH
12112013-12-31 Eli Zaretskii <eliz@gnu.org>
1212
1213 * international/mule-conf.el: Unify the charset indian-is13194.
1214 (indian-is13194): Specify unify-map.
1215
c8d89778
LL
12162013-12-31 Leo Liu <sdl.web@gmail.com>
1217
1218 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1219
e63ace37
DC
12202013-12-30 Daniel Colascione <dancol@dancol.org>
1221
9e0bf19a
DC
1222 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1223 of printing a useless when we resume from sleep.
1224
e63ace37
DC
1225 * progmodes/sh-script.el
1226 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1227 in indentation code. (Bug#16233)
1228
e9d6c46a
JT
12292013-12-28 João Távora <joaotavora@gmail.com>
1230
6f547583
SM
1231 * elec-pair.el (electric-pair-post-self-insert-function):
1232 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1233
bf7bea5d
EZ
12342013-12-28 Eli Zaretskii <eliz@gnu.org>
1235
1236 * frame.el (window-system-for-display): Don't allow to create a
1237 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1238
8449dd1f
GM
12392013-12-28 Glenn Morris <rgm@gnu.org>
1240
9c5a5c77
GM
1241 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1242 Update callers.
1243
1244 * apropos.el (apropos-match-face):
1245 * calculator.el (calculator-displayer):
1246 * dabbrev.el (dabbrev-search-these-buffers-only):
1247 * face-remap.el (buffer-face-mode-face):
1248 * simple.el (yank-handled-properties):
1249 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1250 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1251 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1252 (hashcash-double-spend-database):
1253 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1254 (ruby-deep-indent-paren-style):
1255 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1256 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1257 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1258 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1259 Specify custom types.
1260
bb098075
GM
1261 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1262 * bookmark.el (bookmark-bmenu-use-header-line):
1263 * doc-view.el (doc-view-scale-internally):
1264 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1265 * register.el (register-preview-delay):
1266 * net/shr.el (shr-bullet):
1267 * progmodes/cfengine.el (cfengine-cf-promises)
1268 (cfengine-parameters-indent):
1269 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1270 * textmodes/reftex-vars.el (reftex-label-regexps):
1271 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1272
9c61f806
GM
1273 * net/tls.el (tls-certtool-program): Fix default value.
1274
1275 * desktop.el (desktop-restore-in-current-display):
1276 * newcomment.el (comment-empty-lines):
1277 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1278 (idlwave-pad-keyword):
1279 * progmodes/tcl.el (tcl-tab-always-indent):
1280 * textmodes/reftex-vars.el (reftex-index-default-tag):
1281 * elec-pair.el (electric-pair-skip-whitespace):
1282 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1283
8449dd1f
GM
1284 * emacs-lisp/authors.el (authors-ignored-files)
1285 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1286
fdadeb49
JC
12872013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1288
72140a0f
GM
1289 * shell.el (shell-dynamic-complete-command): Doc fix.
1290 (shell--command-completion-data): Shell completion now matches
1291 executable filenames from the current buffer's directory, on
da5ecfa9 1292 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1293
e572a7d8
LI
12942013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1295
1296 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1297
7514d3f8
SM
12982013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1299
a4151f3b
SM
1300 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1301 (bug#16251).
1302
7514d3f8
SM
1303 * electric.el: Move all electric-pair-* to elec-pair.el.
1304 * elec-pair.el: New file, split from electric.el.
1305
ac5758d1
LI
13062013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1307
1308 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1309 indentation level is larger than the width, because that will
1310 infloop.
1311 (shr-insert): Fill repeatedly long texts, so that Japanese is
1312 formatted correctly (bug#16263).
24a6b65e
LI
1313 (shr-find-fill-point): Off by one error in comparison with the
1314 indentation.
ac5758d1 1315
7514d3f8 13162013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1317
1318 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1319 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1320 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1321 if that keeps or improves their balance in buffers.
1322 (electric-pair-delete-adjacent-pairs): Delete the pair when
1323 backspacing over adjacent matched delimiters.
1324 (electric-pair-open-extra-newline): Open extra newline when
1325 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1326 (electric--sort-post-self-insertion-hook):
1327 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1328 minor-modes are activated.
1329 * simple.el (newline-and-indent): Call newline with interactive
1330 set to t.
1331 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1332 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1333 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1334 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1335 electric-pair-open-newline-between-pairs to nil.
1336
fbcc63a3
FEG
13372013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1338
1339 * progmodes/python.el: Use lexical-binding.
1340 (python-nav-beginning-of-defun): Stop searching ASAP.
1341
ed78d16c
XF
13422013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1343
1344 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1345 Fix interactive spec. Doc fix. (Bug#15754)
1346
38b2c142
KY
13472013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1348
1349 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1350 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1351 Fix edebug spec (bug#16184).
1352
3c856c14
LI
13532013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1354
83fa295c 1355 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1356 (shr-insert): Don't infloop if we can't find a good place to break
1357 the line (bug#16256).
3c856c14 1358
01379221
FEG
13592013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1360
1361 * progmodes/python.el:
1362 (python-nav--lisp-forward-sexp): New function.
1363 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1364 python-nav-lisp-forward-sexp-safe.
1365 (python-nav--forward-sexp): New argument SAFE allows switching
1366 forward sexp movement behavior for parens.
1367 (python-nav-forward-sexp): Throw errors on unterminated parens
1368 (Bug#16191).
1369 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1370 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1371 (python-shell-buffer-substring):
1372 Use `python-nav-forward-sexp-safe'.
01379221 1373
99e4926f
LI
13742013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1375
1376 * net/shr.el (shr-find-fill-point): Don't break lines before a
1377 quotation mark.
c6c20584
LI
1378 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1379 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1380 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1381
fec0e828
KN
13822013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1383
1384 * net/eww.el (eww-form-textarea): Use a different face for
1385 textareas than text input since they have different keymaps
1386 (bug#16142).
1387
89c868ad
FEG
13882013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1389
7514d3f8
SM
1390 * progmodes/python.el (python-nav-beginning-of-statement):
1391 Speed up (Bug#15295).
89c868ad 1392
eeef121a
LI
13932013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1394
1395 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1396 the window configuration.
1397
121ea65f
EZ
13982013-12-24 Eli Zaretskii <eliz@gnu.org>
1399
1400 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1401 we run on MS-Windows or MS-DOS.
1402
18cee9ec
MR
14032013-12-24 Martin Rudalics <rudalics@gmx.at>
1404
1405 * window.el (balance-windows-area): Call window-size instead of
1406 window-height and window-width. Bug#16241.
1407
58f2b9a5
LI
14082013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1409
1410 * net/eww.el (eww-bookmark-quit): Remove.
1411 (eww-bookmark-browse): Restore the window configuration when you
1412 choose a bookmark (bug#16144).
1413
d64b6308
DC
14142013-12-24 Daniel Colascione <dancol@dancol.org>
1415
1416 * icomplete.el: Remove redundant :group arguments to `defcustom'
1417 throughout.
1418 (icomplete-show-matches-on-no-input): New customizable variable.
1419 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1420 we have something to show.
7514d3f8 1421 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1422
0da54898
DC
14232013-12-23 Daniel Colascione <dancol@dancol.org>
1424
1425 * icomplete.el: Move `provide' to end of file.
1426
b90aa4f4
TZ
14272013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1428
1429 * net/gnutls.el (gnutls-verify-error): Add version tag.
1430
8cd22a08
CY
14312013-12-23 Chong Yidong <cyd@gnu.org>
1432
1433 * subr.el (set-transient-map): Rename from
1434 set-temporary-overlay-map. Doc fix.
1435
1436 * face-remap.el (text-scale-adjust):
1437 * indent.el (indent-rigidly):
1438 * kmacro.el (kmacro-call-macro):
1439 * minibuffer.el (minibuffer-force-complete):
1440 * repeat.el (repeat):
1441 * simple.el (universal-argument--mode):
1442 * calendar/todo-mode.el (todo-insert-item--next-param):
1443 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1444
7510b021
CY
1445 * indent.el (indent-rigidly): Use substitute-command-keys.
1446
72140a0f 14472013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1448
1449 * net/eww.el (eww-tag-select): Add text-property to jump to next
1450 select field.
e9dc713d 1451 (eww): Add non-supported ftp error.
56890ecd 1452
1f87a56c
DG
14532013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1454
1455 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1456 comments. Handle electric indent after typing `?' and `!'.
1457
dca38cf9
CY
14582013-12-22 Chong Yidong <cyd@gnu.org>
1459
1460 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1461 applicable to a frame, fall back on the defface spec.
1462 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1463
f2351498
DG
14642013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1465
1466 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1467 after `{'. We need it after block openers, and it doesn't seem
1468 to hurt after hash openers.
1469
6cddebc1
DG
14702013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1471
1472 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1473 extracted from `ruby-smie-rules'.
1474 (ruby--electric-indent-chars): New variable.
1475 (ruby--electric-indent-p): New function.
1476 (ruby-mode): Use `electric-indent-functions' instead of
1477 `electric-indent-chars'.
1478
65a1da00
DG
14792013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1480
1481 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1482 docstring.
1483 (ruby-smie-rules): Indent plus one level after `=>'.
1484
b51ad4cf
RS
14852013-12-21 Richard Stallman <rms@gnu.org>
1486
1487 * simple.el (newline): Doc fix.
1488
72140a0f 14892013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1490
e9dc713d 1491 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1492 (eww-history-browse, eww-history-quit, eww-history-kill)
1493 (eww-history-mode-map, eww-history-mode): New command and
1494 functions to list browser histories.
e9dc713d
JB
1495 (eww-form-text): Support text form with disabled
1496 and readonly attributes.
1497 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1498
5e1901c1
RS
14992013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1500
1501 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1502 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1503 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1504 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1505 Use `user-error'.
1506 (eww-bookmark-mode-map): Add menu.
1507 (eww-render, eww-mode): Use `setq-local'.
1508 (eww-tool-bar-map): New variable.
1509 (eww-mode): Set `tool-bar-map'.
1510 (eww-view-source): Check for `html-mode' with `fboundp'.
1511
073d5cfd
LMI
15122013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1513
1514 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1515 elements with text inside. Also remove debugging.
1516
41cf3d11
JD
15172013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1518
1519 * cus-start.el (all): Add ns-use-srgb-colorspace.
1520
aac2b673
CY
15212013-12-21 Chong Yidong <cyd@gnu.org>
1522
1523 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1524 undefined. Thus, theme settings for undefined faces do not take
1525 effect until the faces are defined with defface, the same as with
1526 theme variables.
1527
1528 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1529 (face-spec-reset-face): Don't assign extra properties in temacs.
1530 (face-spec-recalc): Apply X resources too.
1531
bacb0e77
CY
15322013-12-21 Chong Yidong <cyd@gnu.org>
1533
1534 * faces.el (face-spec-set):
1535 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1536 * custom.el (defface): Doc fixes (Bug#16203).
1537
77221051
CY
1538 * indent.el (indent-rigidly-map): Add docstring, and move commands
1539 into named functions.
1540 (indent-rigidly-left, indent-rigidly-right)
1541 (indent-rigidly-left-to-tab-stop)
1542 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1543 indentation direction based on bidi direction, and accumulate
1544 sequential commands in a single undo boundary.
1545 (indent-rigidly--pop-undo): New utility function.
1546
e0eb0550
JB
15472013-12-20 Juanma Barranquero <lekktu@gmail.com>
1548
1549 * faces.el (read-face-name): Require crm.el when using crm-separator.
1550
3282bd2e
DC
15512013-12-20 Daniel Colascione <dancol@dancol.org>
1552
1553 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1554 so that we don't reflow comments into the shebang line.
1555
1d42e5b6
JL
15562013-12-20 Juri Linkov <juri@jurta.org>
1557
1558 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1559 a position when `dired-directory' is non-nil. Check integer
1560 positions with `integerp'.
1561 (toggle-save-place, save-places-to-alist): Add check for
1562 `dired-directory'.
1563 (save-place-find-file-hook): Check integer positions with
1564 `integerp'.
1565 (save-place-dired-hook): Use `dired-goto-file' when
1566 `dired-filename' is found in the assoc list. Check integer
1567 positions with `integerp'.
1568 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1569
1570 * dired.el (dired-initial-position-hook): Rename back from
1571 `dired-initial-point-hook'.
1572 (dired-initial-position): Rename `dired-initial-point-hook' to
1573 `dired-initial-position-hook'.
1574 (dired-file-name-at-point): Doc fix. (Bug#15329)
1575
24da7273
JL
15762013-12-20 Juri Linkov <juri@jurta.org>
1577
1578 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1579 (read-regexp-suggestions): New function.
1580 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1581 Use `read-regexp-suggestions'. Add non-empty default to history
1582 for empty input.
1583 (occur-read-regexp-defaults-function): Remove function.
1584 (occur-read-primary-args): Use `regexp-history-last' instead of
1585 `occur-read-regexp-defaults-function'.
1586
1587 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1588 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1589 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1590 `hi-lock-read-regexp-defaults-function'. Doc fix.
1591 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1592 with `find-tag-default-as-symbol-regexp'. Doc fix.
1593 (hi-lock-read-regexp-defaults): Remove function.
1594 (hi-lock-regexp-okay): Add check for null.
1595
1596 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1597 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1598
1599 * subr.el (find-tag-default-as-symbol-regexp): New function.
1600 (find-tag-default-as-regexp): Move symbol regexp formatting to
1601 `find-tag-default-as-symbol-regexp'.
1602
137f57c8
S
16032013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1604
1605 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1606 (Bug#14179)
1607
f3a66082
SB
16082013-12-20 Stephen Berman <stephen.berman@gmx.net>
1609
1610 * calendar/todo-mode.el: New implementation of item insertion
1611 commands and key bindings.
1612 (todo-key-prompt): New face.
1613 (todo-insert-item): New command.
1614 (todo-insert-item--parameters): New defconst, replacing defvar
1615 todo-insertion-commands-args-genlist.
1616 (todo-insert-item--param-key-alist): New defconst, replacing
1617 defvar todo-insertion-commands-arg-key-list.
1618 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1619 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1620 (todo-insert-item--next-param): New functions.
1621 (todo-insert-item--args, todo-insert-item--argleft)
1622 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1623 New variables.
1624 (todo-key-bindings-t): Change binding of "i" from
1625 todo-insertion-map to todo-insert-item.
1626 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1627 (todo-insertion-command-name, todo-insertion-commands-names)
1628 (todo-define-insertion-command, todo-insertion-commands)
1629 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1630
2f99433b
SB
16312013-12-20 Stephen Berman <stephen.berman@gmx.net>
1632
1633 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1634 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1635 eval-when-compile.
1636 (todo-move-category): Allow choosing a non-existing todo file to
1637 move the category to, and create that file.
1638 (todo-default-priority): New user option.
1639 (todo-set-item-priority): Use it.
1640 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1641 (desktop-restore-file-buffer): Declare.
1642 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1643 (todo-modes-set-2): Locally set desktop-save-buffer to
1644 todo-desktop-save-buffer.
1645 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1646 (auto-mode-alist): Add autoload cookie.
1647
131e4695
BB
16482013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1649
1650 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1651 helpers.el was a poor choice of name.
3cbfb935
BB
1652 (string-remove-prefix): New function.
1653 (string-remove-suffix): New function.
131e4695 1654
c44de18d
MR
16552013-12-20 Martin Rudalics <rudalics@gmx.at>
1656
1657 Fix assignment for new window total sizes.
1658 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1659 (window--pixel-to-total-1, window--pixel-to-total):
1660 Fix calculation of new total sizes.
c44de18d 1661
ca65efcc
VS
16622013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1663
1664 * comint.el (comint-output-filter): Fix rear-nonsticky property
1665 placement (Bug#16010).
1666
a9574eb7
CY
16672013-12-20 Chong Yidong <cyd@gnu.org>
1668
1669 * faces.el (read-color): Minor fix for completion function.
1670
b520f210
DG
16712013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1672
e0eb0550
JB
1673 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1674 New option. (Bug#16182)
b520f210
DG
1675 (ruby-smie--indent-to-stmt-p): Use it.
1676 (ruby-smie-rules): Revert the logic in the handling of `when'.
1677 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1678 (ruby-deep-arglist, ruby-deep-indent-paren)
1679 (ruby-deep-indent-paren-style): Update docstrings to note that the
1680 vars don't have any effect with SMIE.
1681
26b75b45
JB
16822013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1683
1684 * calc/calc.el (calc-enter, calc-pop): Use the variable
1685 `calc-context-sensitive-enter'.
1686
cf91cee7
LMI
16872013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1688
1689 * net/shr.el (shr-insert): Protect against infloops in degenerate
1690 tables.
1691
51d971b4
RS
16922013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1693
1694 * progmodes/octave.el (octave): Add link to manual and octave
1695 homepage.
1696 (octave-mode-menu): Link to octave-mode manual.
1697
8c2e462a
LL
16982013-12-20 Leo Liu <sdl.web@gmail.com>
1699
1700 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1701 insertion using skeleton-end-newline. (Bug#16138)
1702
501158bc
JL
17032013-12-20 Juri Linkov <juri@jurta.org>
1704
1705 * replace.el (occur-engine): Use `add-face-text-property'
1706 to add the face property to matches and titles. (Bug#14645)
1707
1708 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1709 the palette of other hi-lock colors.
1710 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1711
50ab1da6
JL
17122013-12-19 Juri Linkov <juri@jurta.org>
1713
1714 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1715 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1716 (minibuffer-history-symbol): Move variable declaration closer to
1717 its usage.
1718
1719 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1720 (Bug#14785)
1721
3d6e95e7
JL
17222013-12-19 Juri Linkov <juri@jurta.org>
1723
1724 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1725 New function.
1726 (log-edit-hook): Add it to :options. (Bug#16170)
1727
b41594fd
JL
17282013-12-19 Juri Linkov <juri@jurta.org>
1729
1730 * simple.el (eval-expression-print-format): Don't check for
1731 command names and the last command. Always display additional
1732 formats of the integer result in the echo area, and insert them
1733 to the current buffer only with a zero prefix arg.
1734 Display character when char-displayable-p is non-nil.
1735 (eval-expression): With a zero prefix arg, set `print-length' and
1736 `print-level' to nil, and insert the integer values from
1737 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1738
1739 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1740 `eval-last-sexp-arg-internal'. Doc fix.
1741 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1742 `eval-last-sexp-print-value'. Doc fix.
1743 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1744 Set `print-length' and `print-level' to nil when arg is zero.
1745 (eval-last-sexp): Doc fix.
1746 (eval-defun-2): Print the integer values from
1747 `eval-expression-print-format' at the end.
1748
1749 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1750 values from `eval-expression-print-format' at the end.
1751
1752 * ielm.el (ielm-eval-input): Print the integer
1753 values from `eval-expression-print-format' at the end.
1754
8f2be364
TZ
17552013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1756
1757 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1758 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1759
2230a6e3
SM
17602013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1761
1762 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1763 (hl-line-highlight, global-hl-line-highlight): Use it.
1764 (hl-line-overlay): Use defvar-local.
1765
1269a680
JD
17662013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1767
1768 * term/ns-win.el: Require dnd.
1769 (global-map): Remove drag items.
1770 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1771 (ns-set-background-at-mouse):
1772 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1773 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1774 New functions.
1269a680 1775
049638ad
GM
17762013-12-19 Glenn Morris <rgm@gnu.org>
1777
1778 * emacs-lisp/ert.el (ert-select-tests):
1779 Fix string/symbol mixup. (Bug#16121)
1780
ce41edb4
DG
17812013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1782
1783 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1784 keywords to their parent.
1785
7e1549c9
DG
17862013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1787
1788 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1789 first arg to be a string (fixed dead code), or an operator symbol.
1790 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1791 operator symbols.
1792 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1793 did nothing. Don't respond to `(:after ".")', it will be called
1794 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1795 change anything. Only return indentation for binary operators
1796 when they are hanging. De-dent opening paren when its parent is
1797 `.', otherwise it looks bad when the dot is not at bol or eol
1798 (bug#16182).
1799
3ee4cd64
JL
18002013-12-19 Juri Linkov <juri@jurta.org>
1801
1802 * replace.el (query-replace-read-args): Split a non-negative arg
1803 and a negative arg into separate elements.
1804 (query-replace, query-replace-regexp, replace-string)
1805 (replace-regexp): Add arg `backward'. Doc fix.
1806 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1807 move point to the beginning of the match.
1808 (replace-search, replace-highlight): Use new arg `backward'
1809 to set the value of `isearch-forward'.
1810 (perform-replace): Add arg `backward' and use it to perform
1811 replacement backward. (Bug#14979)
1812
1813 * isearch.el (isearch-query-replace): Use a negative prefix arg
1814 to call `perform-replace' with a non-nil arg `backward'.
1815
0cda6b7b
JL
18162013-12-18 Juri Linkov <juri@jurta.org>
1817
1818 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1819 to the default list. Move `log-edit-show-files' to the end.
1820 Add more available functions to options.
1821 (log-edit): Move default specific settings to
1822 `log-edit-insert-message-template'. Don't move point.
1823 (log-edit-insert-message-template): New function.
1824 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1825 (Bug#16170)
1826
b216f0a6
JL
18272013-12-18 Juri Linkov <juri@jurta.org>
1828
1829 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1830 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1831
1d1c55dc
LL
18322013-12-18 Leo Liu <sdl.web@gmail.com>
1833
e9dc713d
JB
1834 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1835 (Bug#16186)
1d1c55dc 1836
64e4c76e
EZ
18372013-12-18 Eli Zaretskii <eliz@gnu.org>
1838
1839 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1840 formats for displaying file sizes when the -s switch is given.
1841 Instead, compute a separate format for displaying the size in
1842 blocks, which is displayed in addition to the "regular" size.
1843 When -h is given in addition to -s, produce size in blocks in
1844 human-readable form as well. (Bug#16179)
1845
b2984e39
TH
18462013-12-18 Tassilo Horn <tsdh@gnu.org>
1847
2230a6e3
SM
1848 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1849 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1850
50ff2e06
CY
18512013-12-18 Chong Yidong <cyd@gnu.org>
1852
0081bc84
CY
1853 * cus-edit.el (custom-magic-alist): Fix "themed" description
1854 (Bug#14348).
1855
a7ee9424
CY
1856 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1857 is non-nil, do not create a new entry in the symbol's theme-value
1858 or theme-face property; update theme-settings only (Bug#14664).
18874304 1859 (custom-available-themes): Doc fix.
a7ee9424 1860
8f942537
CY
1861 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1862 (Bug#15674).
1863
50ff2e06
CY
1864 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1865
83c60f60
KI
18662013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1867
1868 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1869 (Bug#13914).
1870
e0eb0550 18712013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1872
1873 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1874
1f41ee56
GM
18752013-12-18 Glenn Morris <rgm@gnu.org>
1876
1877 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1878 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1879
e82134b1
LW
18802013-12-18 Le Wang <l26wang@gmail.com>
1881
2230a6e3
SM
1882 * comint.el (comint-previous-matching-input-from-input):
1883 Retain point (Bug#13404).
e82134b1 1884
33f5d4c1
CY
18852013-12-18 Chong Yidong <cyd@gnu.org>
1886
1887 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1888
ccc9f6dc
GM
18892013-12-18 Glenn Morris <rgm@gnu.org>
1890
1891 * mail/emacsbug.el (report-emacs-bug):
1892 Only mention enable-multibyte-characters if non-standard.
1893
33dd8e95
JL
18942013-12-17 Juri Linkov <juri@jurta.org>
1895
1896 * arc-mode.el (archive-extract-by-file): Check if directory exists
1897 before deletion to not show irrelevant errors if it doesn't exist.
1898
7a409b30
JL
18992013-12-17 Juri Linkov <juri@jurta.org>
1900
1901 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1902 (Bug#14751)
1903
1904 * net/eww.el (browse-web): Add alias to `eww'.
1905 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1906 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1907
1908 * net/browse-url.el (browse-url-browser-function): Move `eww'
1909 closer to similar functions.
1910
1911 * startup.el (fancy-startup-screen, fancy-about-screen):
1912 Set browse-url-browser-function to eww-browse-url locally.
1913 (Bug#14751)
1914
2d6b6005
SM
19152013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1916
1917 * window.el (window--pixel-to-total): Remove unused `mini' var.
1918 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1919 (split-window): Remove unused `new' var.
1920 (window--display-buffer): Remove unused `frame' and `delta' vars.
1921 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1922 and display-width'.
1923
cf2b7efc
MR
19242013-12-17 Martin Rudalics <rudalics@gmx.at>
1925
1926 * dired.el (dired-mark-pop-up):
1927 * register.el (register-preview): Don't bind
1928 split-height-threshold here since it's now done in
1929 display-buffer-below-selected.
1930
ed3af8a7 19312013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1932
1933 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1934 xterm-rgb-convert-to-16bit.
1935 (rxvt-register-default-colors): Standardize with
1936 xterm-register-default-colors (Bug#14078).
1937
76da3455
DK
19382013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1939
1940 * simple.el (kill-region): Pass mark first, then point, so that
1941 kill-append works right (Bug#12819).
1942 (copy-region-as-kill, kill-ring-save): Likewise.
1943
2b84d763
LL
19442013-12-17 Leo Liu <sdl.web@gmail.com>
1945
1946 * net/rcirc.el (rcirc-add-face):
1947 * eshell/em-prompt.el (eshell-emit-prompt):
1948 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1949 (Bug#16167)
1950
e2f6a0bc
CY
19512013-12-17 Chong Yidong <cyd@gnu.org>
1952
1953 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1954 Suggested by Xue Fuqiao.
1955
35b249a6
DG
19562013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1957
1958 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1959
e9145444
SM
19602013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1961
1962 * net/shr.el (shr-insert-document): Remove unused var
1963 `shr-preliminary-table-render'.
1964 (shr-rescale-image): Remove unused arg `force'.
1965 (shr-put-image): Update calls accordingly.
1966 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1967
5556c0ce
DG
19682013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1969
1970 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1971 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1972 :close-all, to see which indentation method to use (Bug#16116).
1973 (smie-rules-function): Document the method :close-all.
1974
11bade0a
LMI
19752013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1976
1c4b1e61
LMI
1977 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1978
11bade0a
LMI
1979 * net/eww.el (eww-display-html): If we can't find the anchor we're
1980 looking for, then go to point-min.
1981
8fb8c4f3
PE
19822013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1983
1984 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1985 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1986 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1987 Expand dir too, in case it's relative.
1988
6c8e0ae6
JL
19892013-12-16 Juri Linkov <juri@jurta.org>
1990
1991 * desktop.el (desktop-auto-save-timeout): Change default to
1992 `auto-save-timeout'. Doc fix.
1993 (desktop-save): Skip the timestamp in desktop-saved-frameset
1994 when checking for auto-save changes.
1995 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1996 `desktop-auto-save' is called repeatedly by the idle timer.
1997 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1998 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1999 (Bug#15331)
2000
2178e858
JL
20012013-12-16 Juri Linkov <juri@jurta.org>
2002
2003 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2004 (Bug#16035)
2005 (isearch-pre-command-hook): Check `this-command' for symbolp.
2006
39cb42c6
SM
20072013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2008
2009 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2010
5b9b750a
TZ
20112013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2012
2013 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2014 (cfengine3--current-function): Bring in the current-function
2015 functionality from `cfengine3--current-word'.
2016 (cfengine3-completion-function): Bring in the
2017 bounds-of-current-word functionality from
2018 `cfengine3--current-word'.
2019
d144ef06
MR
20202013-12-16 Martin Rudalics <rudalics@gmx.at>
2021
39cb42c6
SM
2022 * window.el (display-buffer-below-selected):
2023 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 2024
a8bbe298
LL
20252013-12-16 Leo Liu <sdl.web@gmail.com>
2026
2027 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2028 Remove NOMSG arg and all uses changed.
2029
2013a2f9
SM
20302013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2031
2032 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2033 (cua--deactivate-rectangle): Don't deactivate the mark.
2034 (cua-set-rectangle-mark): Don't set mark-active since
2035 cua--activate-rectangle already does it for us.
2036 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2037 non-rectangular region.
2038
2039 * emulation/cua-base.el (cua-repeat-replace-region):
2040 Use with-current-buffer.
2041
2042 * net/gnutls.el: Use cl-lib.
2043 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2044
5ae811dd
TZ
20452013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2046
2047 * emacs-lisp/package.el (package-built-in-p): Support both
2048 built-in and the package.el converted package descriptions.
2049 (package-show-package-list): Allow keywords.
2050 (package-keyword-button-action): Use it instead of
2051 `finder-list-matches'.
2052 (package-menu-filter-interactive): Interactive filtering (by
2053 keyword) function.
2054 (package-menu--generate): Support keywords and change keymappings
2055 and headers when they are given.
2056 (package--has-keyword-p): Helper function.
2057 (package-menu--refresh): Use it.
2058 (package--mapc): Helper function.
2059 (package-all-keywords): Use it.
2060 (package-menu-mode-map): Set up menu items and keybindings to
2061 provide a filtering UI.
2062
31b4827e
TZ
20632013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2064
2065 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2066 the behavior when a certificate fails validation. Defaults to
2067 old behavior: never abort, just warn.
2068 (gnutls-negotiate): Use it.
2069
f93cc74f
MR
20702013-12-14 Martin Rudalics <rudalics@gmx.at>
2071
2072 * window.el (display-buffer-below-selected): Never split window
2073 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2074
f77d7d17
TW
20752013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2076
2077 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2078 (package-buffer-info): Use it (bug#15108).
aa2bddd7 2079
7514d3f8
SM
20802013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2081
aa2bddd7 2082 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 2083 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 2084
276bc333
DG
20852013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2086
2087 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2088 open-paren tokens when preceded by a open-paren, too.
2089 (ruby-smie-rules): Handle virtual indentation after open-paren
2090 tokens specially. If there is code between it and eol, return the
2091 column where is starts (Bug#16118).
2092
d43957f3
TZ
20932013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2094
a5c1ac0c 2095 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 2096 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
2097 (cfengine3--current-word): Fix parameters.
2098 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
2099 (cfengine3-completion-function, cfengine3--current-function):
2100 Use `assq' for symbols.
d43957f3
TZ
2101 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2102
06a4f110
GM
21032013-12-13 Glenn Morris <rgm@gnu.org>
2104
2105 * loadup.el (load-path): Warn if site-load or site-init changes it.
2106 No more need to reset it when bootstrapping.
2107
978a5fda
TZ
21082013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2109
2110 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2111 locations for cf-promises.
2112 (cfengine-mode-syntax-functions-regex): New caching variable.
2113 (cfengine3-fallback-syntax): Fallback syntax for cases where
2114 cf-promises doesn't run.
2115 (cfengine3--current-word): Reimplement using
2116 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
2117 (cfengine3-completion-function, cfengine3--current-function):
2118 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
2119 (cfengine3-clear-syntax-cache): New function.
2120 (cfengine3-make-syntax-cache): Simplify and create
2121 `cfengine-mode-syntax-functions-regex' on demand.
2122 (cfengine3-format-function-docstring): Don't call
2123 `cfengine3-make-syntax-cache' explicitly.
2124
71e6691e
MR
21252013-12-13 Martin Rudalics <rudalics@gmx.at>
2126
2127 Fix windmove-find-other-window broken after pixelwise resizing
2128 (Bug#16017).
2129 * windmove.el (windmove-other-window-loc): Revert change from
2130 2013-12-04.
2131 (windmove-find-other-window): Call window-in-direction.
2132 * window.el (window-in-direction): New arguments SIGN, WRAP and
2133 MINI to emulate original windmove-find-other-window behavior.
2134
84c73ba0
DG
21352013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2136
2137 * simple.el (blink-matching--overlay): New variable.
2138 (blink-matching-open): Instead of moving point, highlight the
2139 matching paren with an overlay
2140 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2141
2142 * faces.el (paren-showing-faces, show-paren-match)
2143 (show-paren-mismatch): Move from paren.el.
2144
b9e20952
LL
21452013-12-13 Leo Liu <sdl.web@gmail.com>
2146
2147 * indent.el (indent-region): Disable progress reporter in
2148 minibuffer. (Bug#16108)
2149
2150 * bindings.el (visual-order-cursor-movement): Fix version.
2151
ce030451
FEG
21522013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2153
2154 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2155 Also match after beginning of line.
2156 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 2157 files. Thanks to Russell Sim. (Bug#15378)
ce030451 2158
4a9c6865
JL
21592013-12-13 Juri Linkov <juri@jurta.org>
2160
2161 * simple.el <Keypad support>: Remove key bindings duplicated
2162 with bindings.el. (Bug#14397)
2163
2bc170c3
JL
21642013-12-13 Juri Linkov <juri@jurta.org>
2165
2166 * comint.el (comint-mode-map): Replace `delete-char' with
2167 `delete-forward-char'. (Bug#16109)
2168
bc9222c9
FEG
21692013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2170
aa2bddd7 2171 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 2172 Fix de-denters cornercase. (Bug#15731)
bc9222c9 2173
cb3a1380
SM
21742013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2175
2176 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2177 (advice--make): Pay attention to `depth'.
2178 (advice--make-1): Don't autoload commands eagerly.
2179 * emacs-lisp/elp.el (elp-instrument-function):
2180 * emacs-lisp/trace.el (trace-function-internal):
2181 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2182
2183 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2184
01633a17
EZ
21852013-12-12 Eli Zaretskii <eliz@gnu.org>
2186
2187 * term/w32-win.el (w32-handle-dropped-file):
2188 * startup.el (normal-top-level):
2189 * net/browse-url.el (browse-url-file-url):
2190 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2191 decode file names using 'utf-8' rather than
2192 file-name-coding-system.
2193
09faee72
FEG
21942013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2195
2196 * progmodes/python.el (python-indent-context)
2197 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 2198 behavior for comment blocks. (Bug#15916)
09faee72 2199
f4f84024 22002013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 2201
cb3a1380
SM
2202 * progmodes/python.el (python-indent-calculate-indentation):
2203 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
2204 operators when they are just string constituents. (Bug#15812)
2205
d5ccb7be
JL
22062013-12-12 Juri Linkov <juri@jurta.org>
2207
2208 * uniquify.el (uniquify-buffer-name-style): Change default to
2209 `post-forward-angle-brackets'.
2210
2211 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2212 `uniquify'. Change default to `post-forward-angle-brackets'.
2213
7b3f5679
GM
22142013-12-11 Glenn Morris <rgm@gnu.org>
2215
2216 * emacs-lisp/package.el (finder-list-matches):
2217 Autoload rather than falsely declaring.
2218
f4fe8fdd
TZ
22192013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2220
2221 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2222 (eww-mode-map): Use them.
2223
3c29190f
MR
22242013-12-11 Martin Rudalics <rudalics@gmx.at>
2225
2226 * window.el (display-buffer-in-side-window): Fix doc-string
2227 (Bug#16115).
2228
0cd616a2
JB
22292013-12-11 Juanma Barranquero <lekktu@gmail.com>
2230
2231 * vc/vc-git.el: Silence byte-compiler warnings.
2232 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2233 (log-edit-set-header): Declare.
2234
3ef8e0d1
EZ
22352013-12-11 Eli Zaretskii <eliz@gnu.org>
2236
2237 * Makefile.in (custom-deps, finder-data): Run output file names
2238 through unmsys--file-name. (Bug#16099)
2239
afdadaf7
SM
22402013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2241
7ae3ae39 2242 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2243 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2244
5b4f37ab
SM
2245 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2246 instead of deleting the selection "by hand" (bug#16098).
2247 Rely on insert-for-yank to yank rectangles.
2248 (cua-highlight-region-shift-only): Mark obsolete.
2249 (cua-mode): Don't enable/disable transient-mark-mode,
2250 shift-select-mode (cua-mode works both with and without them), and
2251 pc-selection-mode (obsolete).
2252 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2253 (cua--deactivate-rectangle): Deactivate it.
2254
4b72c12b
SM
2255 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2256 (delete-selection-helper): Make sure yank starts at the top of the
2257 deleted region.
2258 (minibuffer-keyboard-quit): Use region-active-p.
2259
e82af72d
SM
2260 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2261
afdadaf7
SM
2262 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2263 to `delete' (bug#16109).
2264
ed4bc201
RS
22652013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2266
2267 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2268 info manual and show keybindings and set `:group' keyword.
2269
bb8097b9
JL
22702013-12-11 Juri Linkov <juri@jurta.org>
2271
2272 * delsel.el (delete-active-region): Let-bind `this-command'
2273 to prevent `kill-region' from changing its original value.
2274 (delete-selection-helper): Handle `overwrite-mode' for the type
2275 `kill' exactly the same way as for the type `t'.
2276 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2277 Support more commands. (Bug#13312)
2278
c1916ff5
JL
22792013-12-11 Juri Linkov <juri@jurta.org>
2280
2281 * bindings.el: Map kp keys to non-kp keys systematically
2282 with basic modifiers control, meta and shift. (Bug#14397)
2283
7514d3f8 22842013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2285
2286 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2287 "Close browser" menu items. Fix wrong function of "List
2288 bookmarks".
2289
4cc51eaf
JL
22902013-12-11 Juri Linkov <juri@jurta.org>
2291
2292 * misearch.el (multi-isearch-buffers): Set the value of
2293 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2294 arg of isearch-forward to t.
2295 (multi-isearch-buffers-regexp): Set the value of
2296 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2297 arg of isearch-forward-regexp to t.
2298 (multi-isearch-files): Set the value of
2299 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2300 arg of isearch-forward to t.
2301 (multi-isearch-files-regexp): Set the value of
2302 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2303 arg of isearch-forward-regexp to t. (Bug#16035)
2304
2305 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2306 arg of isearch-forward to t.
2307 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2308 arg of isearch-forward-regexp to t.
2309 (dired-isearch-filter-filenames): Remove unnecessary check for
2310 `dired-isearch-filenames'.
2311
2312 * comint.el (comint-history-isearch-backward):
2313 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2314 (comint-history-isearch-backward-regexp):
2315 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2316
ceac12b7
EZ
23172013-12-10 Eli Zaretskii <eliz@gnu.org>
2318
2319 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2320 unmsys--file-name. (Bug#16099)
2321
5a565782
TZ
23222013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2323
cb3a1380
SM
2324 * emacs-lisp/package.el (package-keyword-button-action):
2325 Remove finder.el require dependency.
5a565782 2326
a81fc7ba
TZ
23272013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2328
2329 * emacs-lisp/package.el: Require finder.el.
2330 (describe-package-1): Add keyword buttons.
2331 (package-make-button): New convenience function.
2332 (package-keyword-button-action): Keyword button action using
e0eb0550 2333 `finder-list-matches'.
a81fc7ba 2334
6aaca951
EZ
23352013-12-09 Eli Zaretskii <eliz@gnu.org>
2336
2337 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2338 last commit.
2339
a1099a91
MA
23402013-12-09 Michael Albinus <michael.albinus@gmx.de>
2341
2342 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2343 symlinked files.
2344
8212d9c0
DG
23452013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2346
2347 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2348 after the end of a percent literal.
2349
8f48d131
CD
23502013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2351
cb3a1380
SM
2352 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2353 Handle caret-delimited strings (Bug#16079).
8f48d131 2354
ff8c9764
DG
23552013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2356
cb3a1380
SM
2357 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2358 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2359 `ruby-parse-partial' (Bug#16078).
2360
d64643b4
LL
23612013-12-09 Leo Liu <sdl.web@gmail.com>
2362
2363 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2364
47e59c66
DG
23652013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2366
2367 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2368 (js-switch-indent-offset): New option.
2369 (js--proper-indentation): Use it. And handle the case when
2370 "default" is actually a key in an object literal.
2371 (js--same-line): New function.
2372 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2373 (js--indent-in-array-comp, js--array-comp-indentation):
2374 New functions.
47e59c66
DG
2375 (js--proper-indentation): Use them, to handle array comprehension
2376 continuations.
2377
974ebc9c
LL
23782013-12-08 Leo Liu <sdl.web@gmail.com>
2379
2380 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2381 (flymake-make-overlay): Remove arg MOUSE-FACE.
2382 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2383
27262e39
SM
23842013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2385
2386 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2387 New function.
2388 (redisplay-highlight-region-function): Use it.
2389
2390 * emulation/cua-base.el (cua--explicit-region-start)
2391 (cua--last-region-shifted): Remove.
2392 (cua--deactivate): Use deactivate-mark.
2393 (cua--pre-command-handler-1): Don't handle shift-selection.
2394 (cua--post-command-handler-1): Don't change transient-mark-mode.
2395 (cua--select-keymaps): Use region-active-p rather than
2396 cua--explicit-region-start or cua--last-region-shifted.
2397 (cua-mode): Enable shift-select-mode.
2398
6407822c
LL
23992013-12-08 Leo Liu <sdl.web@gmail.com>
2400
27262e39
SM
2401 * progmodes/flymake.el (flymake-popup-current-error-menu):
2402 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2403 (flymake-posn-at-point-as-event, flymake-popup-menu)
2404 (flymake-make-emacs-menu): Remove. (Bug#16077)
2405
00a2b823
SM
24062013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2407
02033d49
SM
2408 * rect.el (rectangle-mark-mode): Activate mark even if
2409 transient-mark-mode is off (bug#16066).
2410 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2411 is > mark and at bolp.
2412
6f8dfccf
SM
2413 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2414 (region-extract-function): Use it.
2415 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2416 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2417 Delete functions.
2418 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2419 kill-ring-save, kill-region, delete-char, delete-forward-char.
2420 Ignore self-insert-iso.
2421
2422 * emulation/cua-gmrk.el (cua--init-global-mark):
2423 Ignore `self-insert-iso'.
2424
2425 * emulation/cua-base.el (cua--prefix-copy-handler)
2426 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2427 checking cua--rectangle.
2428 (cua-delete-region): Use region-extract-function.
2429 (cua-replace-region): Delete function.
2430 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2431 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2432 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2433 (cua--init-keymaps): Don't remap delete-selection commands.
2434 (cua-mode): Use delete-selection-mode instead of rolling our own
2435 (bug#16085).
2436
2437 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2438 Obey region-extract-function.
2439
00a2b823
SM
2440 Make registers and delete-selection-mode work on rectangles.
2441 * register.el (describe-register-1): Don't modify the register's value.
2442 (copy-to-register): Obey region-extract-function.
2443 * delsel.el (delete-active-region): Obey region-extract-function.
2444
a92fa5f1
LL
24452013-12-08 Leo Liu <sdl.web@gmail.com>
2446
2447 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2448 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2449 (flymake-compilation-prevents-syntax-check)
2450 (flymake-start-syntax-check-on-newline)
2451 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2452 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2453 (flymake-xml-program, flymake-master-file-dirs)
2454 (flymake-master-file-count-limit)
2455 (flymake-allowed-file-name-masks): Relocate.
2456 (flymake-makehash, flymake-float-time)
2457 (flymake-replace-regexp-in-string, flymake-split-string)
2458 (flymake-get-temp-dir): Remove.
2459 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2460 (flymake-current-row, flymake-selected-frame)
2461 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2462 related functions. (Bug#16077)
2463
73c8ceea
BB
24642013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2465
2466 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2467
faec28d9
TH
24682013-12-07 Tassilo Horn <tsdh@gnu.org>
2469
2470 * help-fns.el (describe-function-1): Use new advice-* functions
2471 rather than old ad-* functions. Fix function type description and
2472 source links for advised functions and subrs.
2473
e330b646
LMI
24742013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2475
00a2b823 2476 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2477
4803595d
MA
24782013-12-06 Michael Albinus <michael.albinus@gmx.de>
2479
2480 * progmodes/compile.el (compilation-start):
2481 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2482
2483 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2484 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2485
fa834a93
DG
24862013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2487
00a2b823
SM
2488 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2489 Touch up the last change.
fa834a93 2490
b2856a6f
LL
24912013-12-06 Leo Liu <sdl.web@gmail.com>
2492
2493 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2494 (inferior-octave-startup): Always use "octave> " for prompt.
2495 (octave-goto-function-definition)
2496 (octave-sync-function-file-names)
2497 (octave-find-definition-default-filename): Remove redundant backquotes.
2498
af67e79a
DG
24992013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2500
2501 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2502 syntax for `?'.
2503 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2504 where appropriate already.
2505 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2506 end of method names (Bug#15874).
2507
bf093209
JL
25082013-12-06 Juri Linkov <juri@jurta.org>
2509
2510 * isearch.el (isearch--saved-overriding-local-map):
2511 New internal variable.
2512 (isearch-mode): Set it to the initial value of
2513 `overriding-terminal-local-map'.
2514 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2515 with `isearch--saved-overriding-local-map'. (Bug#16035)
2516
16588fad
DG
25172013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2518
00a2b823
SM
2519 * progmodes/octave.el (inferior-octave-completion-table):
2520 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2521 (Bug#11906). Update all references.
2522
2523 * minibuffer.el (completion-table-with-cache): New function.
2524
bf4906d7
CD
25252013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2526
2527 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2528
ff69c18f
TZ
25292013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2530
2531 * net/eww.el (eww-current-source): New variable to store page
2532 source.
2533 (eww-display-html, eww-mode, eww-save-history)
2534 (eww-restore-history): Use it.
2535 (eww-view-source): New command to view page source.
2536 Opportunistically uses `html-mode' to highlight the buffer.
2537 (eww-mode-map): Install it.
2538
b85eff45
MA
25392013-12-05 Michael Albinus <michael.albinus@gmx.de>
2540
2541 * net/dbus.el (dbus-unregister-service)
2542 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2543 Fix docstring.
2544 (dbus-unregister-service): Skip :serial entries in
2545 `dbus-registered-objects-table'.
2546 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2547
39eb0899
TZ
25482013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2549
2550 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2551 around keywords with extra `split-string' argument.
2552
456760a5
MR
25532013-12-04 Martin Rudalics <rudalics@gmx.at>
2554
2555 * windmove.el (windmove-other-window-loc): Handle navigation
2556 between windows (excluding the minibuffer window - Bug#16017).
2557
81961e4c
MA
25582013-12-04 Michael Albinus <michael.albinus@gmx.de>
2559
2560 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2561 in D-Bus type syntax.
2562 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2563 preserve unibyte strings. (Bug#16048)
2564
8497f938
SM
25652013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2566
2567 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2568 Call force-mode-line-update is the proper buffer (bug#16042).
2569
dda61916
DG
25702013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2571
2572 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2573 `log-edit-remember-comment', make argument optional. Adjust all
2574 callers.
2575 (log-edit-mode): Add `log-edit-remember-comment' to
2576 `kill-buffer-hook' locally.
2577 (log-edit-kill-buffer): Don't remember comment explicitly since
2578 the buffer is killed anyway.
2579
c085e5b9
JL
25802013-12-04 Juri Linkov <juri@jurta.org>
2581
2582 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2583 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2584
e0eb0550 25852013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2586
2587 * notifications.el (notifications-close-notification): Call the
81961e4c 2588 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2589
39fa32d6
KY
25902013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2591
2592 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2593
9139632a
JL
25942013-12-03 Juri Linkov <juri@jurta.org>
2595
2596 * progmodes/compile.el (compilation-start): Rename window alist
2597 entry `no-display-ok' to `allow-no-window'.
2598
2599 * simple.el (shell-command): Add window alist entry
2600 `allow-no-window' to `display-buffer'.
2601 (async-shell-command): Doc fix.
2602
2603 * window.el (display-buffer-no-window): New action function.
2604 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2605
0f457a37
DG
26062013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2607
2608 * vc/log-edit.el (log-edit-set-header): Extract from
2609 `log-edit-toggle-header'.
2610 (log-edit-extract-headers): Separate the summary, when extracted
2611 from header, from the rest of the message with an empty line.
2612
2613 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2614 line, if present, to the Summary header.
2615
0962f376
SM
26162013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2617
2618 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2619 in current-buffer (bug#16029).
2620
f345395c
HE
26212013-12-02 Helmut Eller <eller.helmut@gmail.com>
2622
2623 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2624 (debugger-mode-map): Bind it.
2625 (debugger--backtrace-base): New function.
2626 (debugger-eval-expression): Use it.
2627 (debugger-frame-number): Skip local vars when present.
2628 (debugger--locals-visible-p, debugger--insert-locals)
2629 (debugger--show-locals, debugger--hide-locals): New functions.
2630
a8a15d9d
MA
26312013-12-02 Michael Albinus <michael.albinus@gmx.de>
2632
2633 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2634 "LC_ALL".
2635 (tramp-get-remote-locale): New defun.
2636 (tramp-open-connection-setup-interactive-shell): Use it.
2637
0518b057
LL
26382013-12-02 Leo Liu <sdl.web@gmail.com>
2639
2640 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2641
2642 * progmodes/sh-script.el (sh-shell-process):
2643 * progmodes/octave.el (inferior-octave-process-live-p):
2644 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2645 (gdb-inferior-io-sentinel):
2646 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2647
3adc9c6d
DG
26482013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2649
2650 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2651 `save-selected-window' to `log-edit-hide-buf'. This makes
2652 `log-edit-show-files' idempotent.
2653 (log-edit-show-files): Mark the new window as dedicated.
2654
47e8b74e
DG
26552013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2656
2657 * vc/log-edit.el (log-edit-mode-map): Add binding for
2658 `log-edit-kill-biffer'.
2659 (log-edit-hide-buf): Add a FIXME comment.
2660 (log-edit-add-new-comment): New function, extracted from
2661 `log-edit-done'.
2662 (log-edit-done, log-edit-add-to-changelog): Use it.
2663 (log-edit-kill-buffer): New command.
2664
1f6e1bb0
LMI
26652013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2666
2667 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2668 instead of killing the buffer.
2669
fb651d15
SM
26702013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2673
8feacce0
RS
26742013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2675
fb651d15 2676 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2677 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2678 (eww-form-checkbox, eww-toggle-checkbox):
2679 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2680
e0eb0550 2681 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2682 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2683 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2684 no :src tag was specified.
2685
fb651d15 2686 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2687 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2688 Use \\` to match beginning of string instead of ^.
2689 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2690 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2691
177948a5
RS
2692 * net/shr.el (shr-tag-video): Display content for video if no
2693 poster is available.
eb2dd24d 2694 (shr-tag-audio): Add support for <audio> tag.
177948a5 2695
e0eb0550 2696 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2697 (eww-process-text-input): Treat input types in
2698 `eww-text-input-types' as text.
2699
8feacce0
RS
2700 * net/shr.el (shr-tag-table): Fix comment typo.
2701
513562a1
LMI
27022013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2703
2704 * net/eww.el (eww-follow-link): New command to avoid reloading
2705 pages when we follow #target links (bug#15243).
de8a5633 2706 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2707
9dd99753
KN
27082013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2709
2710 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2711 forms.
2712
3e9876de
LMI
27132013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2714
2715 * net/eww.el (eww-restore-history): Update the window title after
2716 moving in the history.
ab6dea82 2717 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2718
52789f7f
DG
27192013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2720
2721 * vc/log-edit.el (log-edit-mode-map): Add binding for
2722 `log-edit-beginning-of-line'.
2723 (log-edit-setup-add-author): New user option.
2724 (log-edit-beginning-of-line): New command.
2725 (log-edit): Move major mode call above the contents setup so that
2726 the local variable values are already applied.
2727 (log-edit): Only insert "Author: " when
2728 `log-edit-setup-add-author' is non-nil.
2729 (log-edit): When SETUP is non-nil, position point after ": "
2730 instead of point-min.
2731
2e6710c3
GM
27322013-12-01 Glenn Morris <rgm@gnu.org>
2733
2734 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2735
fadec31f
EZ
27362013-11-30 Eli Zaretskii <eliz@gnu.org>
2737
2738 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2739 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2740 visible. (Bug#16014)
2741
10634b40 27422013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2743
2744 Support resizing frames and windows pixelwise.
2745 * cus-start.el (frame-resize-pixelwise)
2746 (window-resize-pixelwise): New entries.
2747 * emacs-lisp/debug.el (debug): Use window-total-height instead
2748 of window-total-size.
2749 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2750 * help.el (describe-bindings-internal): Call help-buffer
2751 (temp-buffer-max-width): New option.
2752 (resize-temp-buffer-window, help-window-setup)
2753 (with-help-window): Rewrite.
2754 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2755 dragging dividers.
2756 * window.el (frame-char-size, window-min-pixel-height)
2757 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2758 (window-min-pixel-width, window-safe-min-pixel-size)
2759 (window-combination-p, window-safe-min-size)
2760 (window-resizable-p, window--size-to-pixel)
2761 (window--pixel-to-size, window--resize-apply-p): New functions.
2762 (window-safe-min-height): Fix doc-string.
2763 (window-size, window-min-size, window--min-size-1)
2764 (window-sizable, window-sizable-p, window--min-delta-1)
2765 (window-min-delta, window--max-delta-1, window-max-delta)
2766 (window--resizable, window--resizable-p, window-resizable)
2767 (window-full-height-p, window-full-width-p, window-at-side-p)
2768 (window--in-direction-2, window-in-direction)
2769 (window--resize-reset-1, window--resize-mini-window)
2770 (window-resize, window-resize-no-error)
2771 (window--resize-child-windows-normal)
2772 (window--resize-child-windows, window--resize-siblings)
2773 (window--resize-this-window, window--resize-root-window)
2774 (window--resize-root-window-vertically)
2775 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2776 (maximize-window, minimize-window, delete-window)
2777 (quit-restore-window, window-split-min-size, split-window)
2778 (balance-windows-2, balance-windows)
2779 (balance-windows-area-adjust, balance-windows-area)
2780 (window--state-get-1, window-state-get, window--state-put-1)
2781 (window--state-put-2, window-state-put)
fb651d15
SM
2782 (display-buffer-record-window, window--display-buffer):
2783 Make functions handle pixelwise sizing of windows.
880e6158 2784 (display-buffer--action-function-custom-type)
fb651d15
SM
2785 (display-buffer-fallback-action):
2786 Add display-buffer-in-previous-window.
880e6158
MR
2787 (display-buffer-use-some-window): Resize window to height it had
2788 before.
2789 (fit-window-to-buffer-horizontally): New option.
2790 (fit-frame-to-buffer): Describe new values.
2791 (fit-frame-to-buffer-bottom-margin): Replace with
2792 fit-frame-to-buffer-margins.
2793 (window--sanitize-margin): New function.
2794 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2795 using window-text-pixel-size.
2796
f9b697dd
GM
27972013-11-30 Glenn Morris <rgm@gnu.org>
2798
3e2fb4db
GM
2799 * emacs-lisp/bytecomp.el (byte-compile-form):
2800 Make the `interactive-only' warning like the `obsolete' one.
2801 * comint.el (comint-run):
2802 * files.el (insert-file-literally, insert-file):
2803 * replace.el (replace-string, replace-regexp):
2804 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2805 (goto-line, insert-buffer, next-line, previous-line):
2806 Tweak `interactive-only' spec.
2807
f9b697dd
GM
2808 Stop keeping (most) generated cedet grammar files in the repository.
2809 * Makefile.in (semantic): New.
2810 (compile-main): Depend on semantic.
2811
da048127
SM
28122013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2813
7784b779
SM
2814 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2815 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2816
4e36a6a6
SM
2817 * uniquify.el (uniquify-buffer-name-style): Change default.
2818
2819 * loadup.el: Preload "uniquify".
2820
e0ba1308
SM
2821 * time.el (display-time-update): Update all mode lines (bug#15999).
2822
da048127
SM
2823 * electric.el (electric-indent-mode): Enable by default.
2824 * loadup.el: Preload "electric".
2825
015b3b3e
BB
28262013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2827
2828 * emacs-lisp/helpers.el (string-empty-p): New function.
2829 (string-blank-p): New function.
2830
7efb806d
AP
28312013-11-29 Andreas Politz <politza@hochschule-trier.de>
2832
2833 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2834 (Bug#14029).
2835
c8f0efc2
AP
28362013-11-29 Andreas Politz <politza@fh-trier.de>
2837 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2838 allow non-lambda lists as functions.
2839 (imenu--in-alist): Don't recurse into non-subalists.
2840 (imenu): Don't pass function itself as an argument (Bug#14029).
2841
bd15d9d1
SM
28422013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2843
2844 * progmodes/python.el (python-mode-map): Remove binding for ":".
2845 (python-indent-electric-colon): Remove command.
2846 (python-indent-post-self-insert-function): Integrate the previous code
2847 of python-indent-electric-colon. Make it conditional on
2848 electric-indent-mode.
2849 (python-mode): Add ?: to electric-indent-chars.
2850 Move python-indent-post-self-insert-function to the end of
2851 post-self-insert-hook.
2852
1b10adb6
SM
28532013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2854
655ab9a3
SM
2855 * doc-view.el (doc-view-goto-page): Update mode-line.
2856
1b10adb6
SM
2857 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2858
7e3bf78c
GM
28592013-11-27 Glenn Morris <rgm@gnu.org>
2860
2861 * international/charprop.el, international/uni-bidi.el:
2862 * international/uni-category.el, international/uni-combining.el:
2863 * international/uni-comment.el, international/uni-decimal.el:
2864 * international/uni-decomposition.el, international/uni-digit.el:
2865 * international/uni-lowercase.el, international/uni-mirrored.el:
2866 * international/uni-name.el, international/uni-numeric.el:
2867 * international/uni-old-name.el, international/uni-titlecase.el:
2868 * international/uni-uppercase.el:
2869 Remove generated files from VCS repository.
2870
fb6a5d68
EZ
28712013-11-27 Eli Zaretskii <eliz@gnu.org>
2872
2873 * filenotify.el (file-notify-add-watch): Don't special-case
2874 w32notify when computing the directory to watch.
2875
cb6c95a3
GM
28762013-11-27 Glenn Morris <rgm@gnu.org>
2877
20372d0c
GM
2878 Make bootstrap without generated uni-*.el files possible again.
2879 * loadup.el: Update command-line-args checking for unidata-gen.
2880 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2881 * composite.el, international/characters.el:
2882 Handle unicode tables being undefined.
2883
52d6635f 2884 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2885 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2886 (compile-main): Depend on leim rule.
2887 (leim): New rule.
2888 * loadup.el: Move leim-list.el to leim/ subdirectory.
2889 * startup.el (normal-top-level): No more leim directory.
2890 * international/ja-dic-cnv.el (skkdic-convert):
2891 Disable version-control and autoloads in output files.
2892 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2893 Disable version-control and autoloads in output files.
2894 * leim/quail: Move here from ../leim.
2895 * leim/quail/hangul.el (hangul-input-method-activate):
2896 Add autoload cookie.
2897 (generated-autoload-load-name): Set file-local value.
2898 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2899 (generated-autoload-load-name): Set file-local value.
2900
7514d3f8 29012013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2902
e0eb0550 2903 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2904 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2905 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2906
0e2c793f
EZ
29072013-11-26 Eli Zaretskii <eliz@gnu.org>
2908
2909 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2910 reading output from Diff on MS-Windows and MS-DOS.
2911
447bdcb8
BB
29122013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2913
2914 * emacs-lisp/helpers.el (string-reverse): New function.
2915
5fbf6856
MA
29162013-11-26 Michael Albinus <michael.albinus@gmx.de>
2917
2918 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2919 names on MS Windows, like "/[::1]:".
2920
2921 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2922 SWITCHES.
2923
624780f0
GM
29242013-11-26 Glenn Morris <rgm@gnu.org>
2925
0bf3f0fa
GM
2926 * progmodes/python.el (python-indent-guess-indent-offset):
2927 Avoid corner-case error. (Bug#15975)
2928
624780f0
GM
2929 Preload leim-list.el. (Bug#4789)
2930 * loadup.el: Load leim-list.el when found.
2931 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2932
4301875e 29332013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2934
2935 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2936
4301875e
BB
2937 * emacs-lisp/helpers.el (string-join): New function.
2938
1633a815 29392013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2940
2941 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2942 Mark as obsolete and replace it with a symbol property.
2943 (byte-compile-form): Use new 'interactive-only property.
2944 * comint.el, files.el, replace.el, simple.el:
2945 Apply new 'interactive-only properly.
2946
00139435
MR
29472013-11-25 Martin Rudalics <rudalics@gmx.at>
2948
2949 * window.el (display-buffer-at-bottom): Make sure that
2950 split-window-sensibly creates the new window on bottom
2951 (Bug#15961).
2952
5f5b128d
DK
29532013-11-23 David Kastrup <dak@gnu.org>
2954
2955 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2956 on the conflict markers when available.
2957 (smerge--get-marker): New function.
2958 (smerge-end-re, smerge-base-re): Add subgroup.
2959
623891e5
SM
29602013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2961
2962 * frame.el (handle-focus-in, handle-focus-out): Add missing
2963 interactive spec.
2964
05ca27d8
MA
29652013-11-25 Michael Albinus <michael.albinus@gmx.de>
2966
2967 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2968 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2969
511fa0d3
SM
29702013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2971
e82ad66c
SM
2972 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2973 (gomoku--last-pos): New var.
2974 (gomoku--intangible-chars): New const.
2975 (gomoku--intangible): New function.
2976 (gomoku-mode): Use it. Derive from special-mode.
2977 (gomoku-move-up): Adjust line count.
2978 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2979 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2980 Simplify accordingly.
2981
511fa0d3
SM
2982 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2983 Remove blink-cursor code.
2984 (blink-cursor-timer-function, blink-cursor-suspend):
2985 Don't special-case GUIs.
2986 (blink-cursor-mode): Use focus-in/out-hook.
2987
6f20dd03
DG
29882013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2989
2990 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2991 work when annotation is invisible (Bug#13886).
2992
431dec31 29932013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2994
2995 * json.el (json-alist-p): Only return non-nil if the alist has
2996 simple keys (Bug#13518).
2997
431dec31 29982013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2999
3000 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3001 when control-statement is the first statement in a buffer (Bug#15956).
3002
ee4f0261
DG
30032013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3004
3005 * imenu.el (imenu-generic-skip-comments-and-strings):
3006 New option (Bug#15560).
3007 (imenu--generic-function): Use it.
3008
c484f866
JS
30092013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3010
e9dc713d
JB
3011 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3012 (Bug#13898)
c484f866 3013
41ce6f70
BB
30142013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3015
b55aea38
BB
3016 * emacs-lisp/helpers.el: Add some string helpers.
3017 (string-trim-left): Removes leading whitespace.
3018 (string-trim-right): Removes trailing whitespace.
3019 (string-trim): Removes leading and trailing whitespace.
3020
41ce6f70
BB
3021 * subr.el (string-suffix-p): New function.
3022
3cfb6af3
GM
30232013-11-23 Glenn Morris <rgm@gnu.org>
3024
3025 * progmodes/python.el (python-shell-send-file):
3026 Add option to delete file when done. (Bug#15647)
3027 (python-shell-send-string, python-shell-send-region): Use it.
3028
c27924b7
IS
30292013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3030
e1b01c7f
IS
3031 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3032 to set buffer-read-only to t, never to nil. (Bug#15938)
3033
c27924b7
IS
3034 * textmodes/tex-mode.el (latex-noindent-environments):
3035 Add safe-local-variable property. (Bug#15936)
3036
17e0445b
GM
30372013-11-23 Glenn Morris <rgm@gnu.org>
3038
92f78ea3
GM
3039 * textmodes/enriched.el (enriched-mode): Doc fix.
3040 * emacs-lisp/authors.el (authors-renamed-files-alist):
3041 Add enriched.doc -> enriched.txt.
3042
17e0445b
GM
3043 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3044
965bb23a
LL
30452013-11-22 Leo Liu <sdl.web@gmail.com>
3046
3047 * progmodes/octave.el (inferior-octave-startup): Spit out error
3048 message.
3049
d19ffd64
BB
30502013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3051
3052 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3053 Improve docstring.
15ba2182
BB
3054 Add :version.
3055 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 3056
7a7567d2
LL
30572013-11-22 Leo Liu <sdl.web@gmail.com>
3058
3059 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3060 (Bug#15076)
8c09f64b
LL
3061 (octave-help-mode): Adapt to change to help-mode-finish to use
3062 derived-mode-p on 2013-09-17.
3063 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 3064 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 3065
724bc265
LL
30662013-11-22 Leo Liu <sdl.web@gmail.com>
3067
3068 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3069 (inferior-octave-startup, inferior-octave-check-process)
3070 (inferior-octave-track-window-width-change)
3071 (octave-completion-at-point, octave-eldoc-function): Use it.
3072 (octave-kill-process): Provide confirmation. (Bug#10564)
3073
38637cca
LL
30742013-11-21 Leo Liu <sdl.web@gmail.com>
3075
511fa0d3
SM
3076 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3077 Fix obsolete variable comment-use-global-state.
38637cca 3078
06e752b4
RS
30792013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3080
511fa0d3
SM
3081 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3082 Add `octave-source-file'.
06e752b4
RS
3083 (octave-source-file): New function. (Bug#15935)
3084
7514d3f8 30852013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
3086
3087 * net/eww.el (eww-local-regex): New variable.
3088 (eww): Use it to detect localhost and similar.
3089
b6ffa04a
LL
30902013-11-21 Leo Liu <sdl.web@gmail.com>
3091
3092 Add completion for command `ag'.
2021a200
LL
3093 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3094 (pcomplete/ag): New function.
e9dc713d 3095 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 3096
d1a6bccc
SM
30972013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3098
3099 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3100 (bug#14646).
3101 (make-obsolete): Remove interactive spec.
3102
2df10228
GM
31032013-11-21 Glenn Morris <rgm@gnu.org>
3104
3105 * startup.el (command-line-1): Use path-separator with -L.
3106
86fd16b6
TZ
31072013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3108
3109 * emacs-lisp/package.el (describe-package-1): Add package archive
3110 to shown fields.
3111
0449d6cd 31122013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
3113
3114 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3115 Change default to "# encoding: %s" to differentiate it from the
3116 default Ruby encoding comment template.
3117
dc7e8c17 31182013-11-20 era eriksson <era+emacsbugs@iki.fi>
3119
3120 * ses.el (ses-mode): Doc fix. (Bug#14748)
3121
f0cfa5fe
LL
31222013-11-20 Leo Liu <sdl.web@gmail.com>
3123
3124 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3125
826dc7b6
DN
31262013-11-19 Dan Nicolaescu <dann@gnu.org>
3127
3128 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3129 when rebase or bisect are in progress.
3130
a6e3a5d5
XF
31312013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3132
3133 * filenotify.el (file-notify-add-watch): Doc fix.
3134
f130cb76
LL
31352013-11-19 Leo Liu <sdl.web@gmail.com>
3136
e0855d7d
LL
3137 * obsolete/rcompile.el: Mark obsolete.
3138
f130cb76 3139 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
3140 (compilation-goto-locus, compilation-find-file):
3141 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
3142 (Bug#13594)
3143
3144 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
3145 new parameter no-display-ok. Return either a window or nil
3146 but never a non-window value.
f130cb76 3147
1f35d401
SM
31482013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3149
25158c76
SM
3150 * electric.el (electric-indent-mode-map): Remove.
3151 (electric-indent-mode): Change the global-map instead (bug#15915).
3152
3153 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3154 Use add-function.
1f35d401 3155
9bc67baa
SM
31562013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3157
986545b5
SM
3158 * emacs-lisp/nadvice.el (remove-function): Align with
3159 add-function's behavior.
3160
9bc67baa
SM
3161 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3162 (gdb--string-regexp): New constant.
3163 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3164 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3165 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3166 submatch 1.
3167 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3168 Adjust use accordingly.
3169 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3170
56cd894e
AS
31712013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3172
3173 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3174 interpolation curlies (Bug#15914).
3175
014690de
JB
31762013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3177
3178 * calc/calc.el (calc-context-sensitive-enter): New variable.
3179 (calc-enter): Use `calc-context-sensitive-enter'.
3180
7e26a6c3
TZ
31812013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3182
3183 * progmodes/cfengine.el: Version bump.
3184 (cfengine-cf-promises): New defcustom to locate cf-promises.
3185 (cfengine3-vartypes): Add new "data" type.
3186 (cfengine3--current-word): New function to get current name-like
3187 word or its bounds.
3188 (cfengine3--current-function): New function to look up a CFEngine
3189 function's definition.
3190 (cfengine3-format-function-docstring): New function.
3191 (cfengine3-make-syntax-cache): New function.
3192 (cfengine3-documentation-function): New function: ElDoc glue.
3193 (cfengine3-completion-function): New function: completion glue.
3194 (cfengine3-mode): Set `compile-command',
3195 `eldoc-documentation-function', and add to
3196 `completion-at-point-functions'.
3197
355204dd
MA
31982013-11-16 Michael Albinus <michael.albinus@gmx.de>
3199
3200 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3201 `tramp-current-connection'.
3202
43cebc23
DG
32032013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3204
3205 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3206 nil/self/true/false with "end of symbol".
3207
a3fed6ff
BB
32082013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3209
3210 * subr.el (version-regexp-alist): Fix a typo.
3211
e675b3e4
MA
32122013-11-15 Michael Albinus <michael.albinus@gmx.de>
3213
3214 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3215 "en_US.utf8" and "LC_CTYPE" to "".
3216 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3217 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3218
a1f03e89
LL
32192013-11-15 Leo Liu <sdl.web@gmail.com>
3220
3221 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3222
5d9d9451
SM
32232013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3224
58362662
CS
3225 * progmodes/gud.el (ctl-x-map):
3226 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
3227 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3228
6c1bf086
BB
32292013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3230
0d5363c4
BB
3231 * subr.el (version-regexp-alist):
3232 Recognize hg, svn and darcs versions as snapshot versions.
3233
4e9fc48c
BB
3234 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3235 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3236 (ruby--encoding-comment-required-p): Extract from
3237 `ruby-mode-set-encoding'.
3238 (ruby-mode-set-encoding): Add the ability to always insert an
3239 utf-8 encoding comment. Fix and simplify coding comment update
3240 logic.
6c1bf086 3241
2f7e72f8
MA
32422013-11-14 Michael Albinus <michael.albinus@gmx.de>
3243
3244 * net/tramp-gvfs.el (top): Run init code only when
3245 `tramp-gvfs-enabled' is not nil.
3246 (tramp-gvfs-enabled): Check also :system bus.
3247
0f137a73
SM
32482013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 Sync with upstream verilog-mode revision 78e66ba.
3251 * progmodes/verilog-mode.el (verilog-end-of-defun)
3252 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3253 (verilog-get-end-of-defun): Remove unused argument.
3254 (verilog-comment-depth): Remove unused local `e'.
3255 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3256 Don't pass arg to verilog-get-end-of-defun.
3257
1c276bdd
GM
32582013-11-14 Glenn Morris <rgm@gnu.org>
3259
3260 * obsolete/assoc.el (aget): Prefix dynamic variable.
3261
3262 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3263
ff6ec81d
SM
32642013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3265
3266 * widget.el, hfy-cmap.el: Remove bogus package version number.
3267
75f777b6
GM
32682013-11-13 Glenn Morris <rgm@gnu.org>
3269
1d43dba1
GM
3270 * replace.el (replace-eval-replacement):
3271 Try to give more helpful error message. (Bug#15836)
3272
ff4b7bd5
GM
3273 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3274 (archive-7z-update): Avoid custom type mismatches.
3275
75f777b6
GM
3276 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3277
11151a06
MA
32782013-11-13 Michael Albinus <michael.albinus@gmx.de>
3279
e675b3e4 3280 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3281 address can be empty.
3282
3283 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3284 Accept nil SWITCHES.
3285 (tramp-gvfs-handle-write-region): Implement APPEND.
3286
7b08f97e
DG
32872013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3288
3289 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3290 binary "|" operator and closing block args delimiter.
3291 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3292 (ruby-smie--implicit-semi-p): Not after "|" operator.
3293 (ruby-smie--closing-pipe-p): New function.
3294 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3295 (ruby-smie-rules): Indent after "|".
3296
f201cf3a
GM
32972013-11-12 Glenn Morris <rgm@gnu.org>
3298
3299 * ps-print.el (ps-face-attribute-list):
3300 Handle anonymous faces. (Bug#15827)
3301
e6f759f9
MR
33022013-11-12 Martin Rudalics <rudalics@gmx.at>
3303
3304 * window.el (display-buffer-other-frame): Fix doc-string.
3305 (Bug#15868)
3306
ecda65d4
SM
33072013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3308
3309 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3310
7ce8fcc3
MA
33112013-11-11 Michael Albinus <michael.albinus@gmx.de>
3312
3313 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3314 (tramp-sh-handle-file-local-copy): Don't write a message when
3315 saving temporary files.
3316
3317 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3318 both directories are remote.
3319 (tramp-smb-handle-directory-files): Do not return double entries.
3320 Do not expand full file names.
3321 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3322 (tramp-smb-handle-write-region): Implement APPEND.
3323 (tramp-smb-get-stat-capability): Fix a stupid bug.
3324
7818df11
SM
33252013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3328
608c2085
NT
33292013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3330
3331 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3332 throwing error over malformed let/let* (bug#15814).
3333
122a7e46
SM
33342013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * iswitchb.el (iswitchb-mode): Mark obsolete.
3337
766284d9
GM
33382013-11-11 Glenn Morris <rgm@gnu.org>
3339
3340 * international/uni-bidi.el, international/uni-category.el:
3341 * international/uni-name.el, international/uni-numeric.el:
3342 Regenerate for Unicode 6.3.0.
3343
7072a4e9
MA
33442013-11-10 Michael Albinus <michael.albinus@gmx.de>
3345
3346 * net/tramp.el (tramp-methods):
3347 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3348 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3349
c9df215b
AS
33502013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3351
608c2085
NT
3352 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3353 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3354
fa47d796
DG
33552013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3356
3357 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3358 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3359 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3360 (ispell-complete-word): Call `ispell-lookup-words' with the value
3361 independent of `ispell-look-p'.
3362
1629a329
DG
33632013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3364
3365 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3366 Not after "||".
3367 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3368 their parent.
3369
ad16897c
SM
33702013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3371
3372 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3373 (ruby-font-lock-keywords): Use backquote.
3374
ffa2df72
DG
33752013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3376
3377 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3378 (ruby-smie--backward-token): Only consider full-string matches.
3379
5b97b4c0
JD
33802013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3381
3382 * faces.el (describe-face): Add distant-foreground.
3383
71731c03
BB
33842013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3385
4e9fc48c
BB
3386 * progmodes/ruby-mode.el: Improve encoding comment handling.
3387 (ruby-encoding-magic-comment-style): New option.
3388 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3389 (ruby--insert-coding-comment, ruby--detect-encoding):
3390 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3391 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3392 to control the style of the auto-inserted encoding comment.
71731c03 3393
da3b328d
DG
33942013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3395
ad16897c
SM
3396 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3397 Use `smie-backward-sexp' with token argument.
da3b328d 3398
1606c2d3
MA
33992013-11-08 Michael Albinus <michael.albinus@gmx.de>
3400
3401 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3402 Remove instrumentation code.
3403
b0f4c320
GM
34042013-11-08 Glenn Morris <rgm@gnu.org>
3405
3406 * progmodes/autoconf.el (autoconf-mode):
3407 Tweak comment-start-skip. (Bug#15822)
3408
43668fb1
SM
34092013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3410
3411 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3412 at bobp (bug#15826).
3413 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3414
daddb3fd
DH
34152013-11-08 Darren Hoo <darren.hoo@gmail.com>
3416
3417 * man.el (Man-start-calling): New macro, extracted from
3418 Man-getpage-in-background.
3419 (Man-getpage-in-background): Use it.
3420 (Man-update-manpage): New command.
3421 (Man-mode-map): Bind it.
3422
1f923923
DG
34232013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3424
3425 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3426 of "and", "or", "&&" and "||".
3427 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3428 argument. Prohibit opening curly brace because it could only be a
3429 block opener in that position.
daddb3fd
DH
3430 (ruby-smie--forward-token, ruby-smie--backward-token):
3431 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3432 arguments.
3433 (ruby-smie--indent-to-stmt): New function, seeks the end of
3434 previous statement or beginning of buffer.
3435 (ruby-smie-rules): Use it.
3436 (ruby-smie-rules): Check if there's a ":" before a curly block
3437 opener candidate; if there is, it's a hash.
3438
3220d527
SM
34392013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3440
3441 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3442 (cl--block-wrapper): Fix last accidental change.
3443
1eb1f9e0
MA
34442013-11-07 Michael Albinus <michael.albinus@gmx.de>
3445
3446 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3447 Instrument, in order to hunt failure on hydra.
3448
e6e4db3c
NT
34492013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3450
3451 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3452 malformed bindings form (bug#15814).
3453
b420ccfc
DG
34542013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3455
3456 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3457 "." compared to " @ ". This incidentally fixes some indentation
3458 examples with "do".
e6e4db3c 3459 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3460 (ruby-smie-grammar): New tokens: "and" and "or".
3461 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3462 Exclude "and" and "or". Remove "do" in order to work around token
3463 priorities.
3464 (ruby-smie-rules): Add all infix tokens. Handle the case of
3465 beginning-of-buffer.
b420ccfc 3466
6b4ac03e
GM
34672013-11-06 Glenn Morris <rgm@gnu.org>
3468
3469 * Makefile.in (setwins_almost, setwins_for_subdirs):
3470 Avoid accidental matches.
3471
5ca114d1
SM
34722013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3473
3474 * menu-bar.el (popup-menu): Use key-binding.
3475
f72552bd
EZ
34762013-11-06 Eli Zaretskii <eliz@gnu.org>
3477
3478 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3479 menus, support also the menus produced by minor modes.
3480 (Bug#15817)
3481
5d5c701e
LL
34822013-11-06 Leo Liu <sdl.web@gmail.com>
3483
3484 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3485 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3486
0a8b75e2
GM
34872013-11-06 Glenn Morris <rgm@gnu.org>
3488
3489 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3490 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3491 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3492
a35287ea
SM
34932013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3494
feca4e2d
SM
3495 * electric.el (electric-indent-just-newline): New command.
3496 (electric-indent-mode-map): New keymap.
3497 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3498 Re-add :group which weren't redundant.
3499
a35287ea
SM
3500 * electric.el (electric-indent-local-mode): New minor mode.
3501 (electric-indent-functions-without-reindent): New var.
3502 (electric-indent-post-self-insert-function): Use it.
3503 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3504
375761b2
EZ
35052013-11-05 Eli Zaretskii <eliz@gnu.org>
3506
9a6ad735
EZ
3507 * international/quail.el (quail-help): Be more explicit about the
3508 meaning of the labels shown on the keys. (Bug#15800)
3509
375761b2
EZ
3510 * startup.el (normal-top-level): Load the subdirs.el files before
3511 setting the locale environment. (Bug#15805)
3512
520a6e4a
SM
35132013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3514
0acfafef
SM
3515 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3516 via arguments so as to get the right ones (bug#15418).
3517
520a6e4a
SM
3518 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3519
15826261
MA
35202013-11-05 Michael Albinus <michael.albinus@gmx.de>
3521
3522 Fix problems found while writing a test suite.
3523
3524 * net/tramp-compat.el (tramp-compat-load): New defun.
3525 * net/tramp.el (tramp-handle-load): Use it.
3526
3527 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3528 "(numberp ok-if-already-exists)" correctly.
3529
d35f31a4
XF
35302013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3531
3532 * international/characters.el (glyphless-char-display-control):
3533 Add usage note.
3534
ae93bc74
BB
35352013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3536
520a6e4a
SM
3537 * progmodes/python.el (python-mode):
3538 * progmodes/scheme.el (scheme-mode):
3539 * progmodes/prolog.el (prolog-mode):
3540 * progmodes/ruby-mode.el (ruby-mode):
3541 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3542 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3543
0ade65b5
SM
35442013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3545
a0d5f7a4
SM
3546 * rect.el (rectangle--highlight-for-redisplay):
3547 * emacs-lisp/smie.el (smie--next-indent-change):
3548 Use buffer-chars-modified-tick.
3549
c93f3f5c
SM
3550 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3551
0ade65b5
SM
3552 * electric.el (electric-indent-post-self-insert-function):
3553 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3554
ef9dd188
HE
35552013-11-04 Helmut Eller <eller.helmut@gmail.com>
3556
3557 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3558
306e7308
NT
35592013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3560
3561 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3562 (bug#15786).
3563
e5afbcac
SM
35642013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3565
1d01ad41
SM
3566 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3567
e5afbcac
SM
3568 * progmodes/python.el: Fix up last change.
3569 (python-shell--save-temp-file): New function.
3570 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3571 `string' comes from the current buffer.
3572 (python-shell-send-string-no-output): Remove `msg' arg.
3573 (python--use-fake-loc): New var.
3574 (python-shell-buffer-substring): Obey it. Try to compensate for the
3575 extra coding line added by python-shell--save-temp-file.
3576 (python-shell-send-region): Use python-shell--save-temp-file and
3577 python-shell-send-file directly. Add `nomain' argument.
3578 (python-shell-send-buffer): Use python-shell-send-region.
3579 (python-electric-pair-string-delimiter): New function.
3580 (python-mode): Use it.
3581
d0065ff1
EZ
35822013-11-04 Eli Zaretskii <eliz@gnu.org>
3583
3584 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3585 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3586 environment and decoding all of the default-directory's to here
3587 from command-line.
3588 (command-line): Decode also argv[0].
3589
3590 * loadup.el: Error out if default-directory is a multibyte string
3591 when we are dumping.
3592
3593 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3594
7397c587
TZ
35952013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3596
3597 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3598 (package-menu--print-info, package-menu--archive-predicate):
3599 Add Archive column to package list.
7397c587 3600
b27cc9fc
MA
36012013-11-04 Michael Albinus <michael.albinus@gmx.de>
3602
3603 Fix problems found while writing a test suite.
3604
3605 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3606 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3607 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3608 to nil when running original file name handler. Otherwise,
3609 there are problems with constructs like "$$FOO".
3610
3611 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3612 for `localname'.
3613
d8c4f18a
BB
36142013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3615
7b530552
BB
3616 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3617
3618 * subr.el (version<, version<=, version=):
3619 Update docstrings with information for snapshot versions.
3620
d8c4f18a
BB
3621 * helpers.el: New library for misc helper functions.
3622 (hash-table-keys): New function returning a list of hash keys.
3623 (hash-table-values): New function returning a list of hash values.
3624
dca01b09
DG
36252013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3626
3627 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3628 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3629
0a749fa0
MN
36302013-11-04 Michal Nazarewicz <mina86@mina86.com>
3631
3632 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3633 checking whether point is after a 1-letter word.
3634
36352013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3636
3637 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3638 Don't infloop when expanding region over `multiline' syntax-type that
3639 begins a line (bug#15778).
3640
4aca7145
SM
36412013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3642
3643 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3644 Make it into a proper minor mode.
3645 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3646 (rectangle-mark-mode-map): New keymap.
3647 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3648
a0833f62
GM
36492013-11-04 Glenn Morris <rgm@gnu.org>
3650
3651 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3652
e61845c1
SM
36532013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3654
3655 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3656 (ruby-smie-rules): Use smie-rule-parent instead.
3657
3658 * emacs-lisp/smie.el (smie-rule-parent): Always call
3659 smie-indent-virtual rather than only for hanging tokens.
3660 (smie--next-indent-change): New helper command.
3661
62942f89
GM
36622013-11-03 Glenn Morris <rgm@gnu.org>
3663
3664 * Makefile.in (abs_srcdir): Remove.
3665 (emacs): Unset EMACSLOADPATH.
3666
b0b9e592
GM
36672013-11-02 Glenn Morris <rgm@gnu.org>
3668
18ba6a33 3669 * Makefile.in (EMACS): Use a relative filename.
8061810d 3670 (abs_top_builddir): Remove.
18ba6a33
GM
3671 (custom-deps, finder-data, autoloads): Use --chdir.
3672
6a8b929e
GM
3673 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3674
c617f3d0
GM
3675 Use relative filenames in TAGS files.
3676 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3677 (lisptagsfiles4, TAGS): Use relative file names.
3678 (TAGS-LISP): Remove.
3679 (maintainer-clean): No more TAGS-LISP file.
3680
b0b9e592
GM
3681 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3682 (lisptagsfiles4): Use absolute filenames again.
3683 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3684 Remove all *loaddefs files, not just the first. Remove esh-groups.
3685 (maintainer-clean): Delete TAGS, TAGS-LISP.
3686
d1c0ea6a
BB
36872013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3688
e61845c1
SM
3689 * emacs-lisp/package.el (package-version-join):
3690 Recognize snapshot versions.
d1c0ea6a 3691
684d71c6
BB
36922013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3693
3694 * subr.el (version-regexp-alist): Add support for snapshot versions.
3695
3d42b968
DG
36962013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3697
e61845c1
SM
3698 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3699 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3700 skip over our direct parent if it's an assignment token..
3701 (ruby-smie-rules): Use it.
3702
7ffd3721
DG
37032013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3704
8449dd1f 3705 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3706 unconditionally. Remove now unnecessary forward declarations.
3707 Remove XEmacs-specific setup.
3708 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3709 (ruby-font-lock-syntactic-keywords)
3710 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3711 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3712 (ruby-here-doc-end-syntax): Remove.
3713 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3714 defined as function.
3715
a3996a2e
BB
37162013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3717
3718 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3719
6f9260e8
BB
37202013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3721
3722 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3723 table and abbrev table, `define-derived-mode' does that for us
3724 anyway.
3725
6014de84
GM
37262013-11-01 Glenn Morris <rgm@gnu.org>
3727
3728 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3729 files is atomic for some time, so no parallel compilation issues).
3730
3c334c14
JD
37312013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3732
3733 * faces.el (face-x-resources): Add :distant-foreground.
3734 (region): Use :distant-foreground for gtk and ns.
3735
9bc236c8
TH
37362013-11-01 Tassilo Horn <tsdh@gnu.org>
3737
5246583b 3738 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3739 BibTeX.
3740 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3741 (reftex-locate-bibliography-files): Us it.
3742
d14c81ee
CB
37432013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3744
0e7690de
CB
3745 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3746 allow comments in pbm files.
3747
d14c81ee
CB
3748 * term/w32-win.el (dynamic-library-alist): Support newer versions
3749 of libjpeg starting with v7: look only for the DLL from the
3750 version against which Emacs was built.
ac1bf374 3751 Support versions of libpng beyond 1.4.x.
019c8218 3752 Support libtiff v4.x.
d14c81ee 3753
983d0df5
BB
37542013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3755
3756 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3757 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3758 Add property :safe.
3759 (ruby-deep-arglist): Add property :type.
3760
47f58d85
GM
37612013-10-31 Glenn Morris <rgm@gnu.org>
3762
3763 * Makefile.in (custom-deps, finder-data): No need to setq the target
3764 variables, we are in the right directory and the defaults work fine.
3765
4f85b479
GM
37662013-10-30 Glenn Morris <rgm@gnu.org>
3767
ca7dd4cd
GM
3768 * Makefile.in (autoloads): Do not use abs_lisp.
3769
4f85b479
GM
3770 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3771 `newline' does not respect `standard-output', so use `princ'.
3772
cf59e41c
AA
37732013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3774
3775 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3776 * buff-menu.el (Buffer-menu--unmark): New function.
3777 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3778
74cf04fb
GM
37792013-10-30 Glenn Morris <rgm@gnu.org>
3780
b040b60e
GM
3781 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3782
f53d3815
GM
3783 * emacs-lisp/package.el (lm-homepage): Declare.
3784
5413d873
GM
3785 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3786 Fix doc typos.
3787
cecedb36
GM
3788 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3789
74cf04fb
GM
3790 * Makefile.in (finder-data, autoloads, update-subdirs)
3791 (compile-main, compile-clean, compile-always, bootstrap-clean):
3792 Check return value of cd.
3793 (compile-calc): Remove.
3794
195ee2f0
SM
37952013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3796
ae4002ce
SM
3797 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3798
3799 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3800 (byte-compile-and-folded): New function.
3801 (=, <, >, <=, >=): Use it.
3802
3803 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3804 (path-separator, null-device, buffer-file-coding-system)
3805 (lpr-headers-switches): Check system-type before modifying them.
3806 (find-buffer-file-type-coding-system): Mark obsolete.
3807 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3808 find-file-not-found-set-buffer-file-coding-system.
3809 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3810 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3811 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3812 (w32-direct-print-region-helper, w32-direct-print-region-function)
3813 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3814 * startup.el (normal-top-level-add-subdirs-to-load-path):
3815 * ps-print.el (ps-print-region-function):
3816 * lpr.el (print-region-function): Use new name.
3817
53b39e89
SM
3818 * subr.el (custom-declare-variable-early): Remove function.
3819 (custom-declare-variable-list): Remove var.
3820 (error, user-error): Remove `while' loop.
3821 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3822 (user-emacs-directory-warning, locate-user-emacs-file):
3823 Move to files.el.
3824 * simple.el (read-quoted-char-radix, read-quoted-char):
3825 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3826 Move from subr.el.
3827 * custom.el (custom-declare-variable-list): Don't process
3828 custom-declare-variable-list.
3829
195ee2f0
SM
3830 * progmodes/python.el (python-shell-get-buffer): New function.
3831 (python-shell-get-process): Use it.
3832 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3833 Python which encoding was used. Don't split-string since we only care
3834 about the first line. Return the temp-file, if applicable.
3835 (python-shell-send-region): Tell compile.el how to turn locations in
3836 the temp-file into locations in the source buffer.
3837
7e3561ee
SM
38382013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3839
4c9797cb
SM
3840 * subr.el (undefined): Add missing behavior from the C code for
3841 unbound keys.
3842
3472b6c6
SM
3843 * rect.el: Use lexical-binding. Add new rectangular region support.
3844 (rectangle-mark): New command.
3845 (rectangle--region): New var.
3846 (deactivate-mark-hook): Reset rectangle--region.
3847 (rectangle--extract-region, rectangle--insert-for-yank)
3848 (rectangle--highlight-for-redisplay)
3849 (rectangle--unhighlight-for-redisplay): New functions.
3850 (region-extract-function, redisplay-unhighlight-region-function)
3851 (redisplay-highlight-region-function): Use them to handle
3852 rectangular region.
3853 * simple.el (region-extract-function): New var.
3854 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3855 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3856 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3857 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3858 (redisplay-unhighlight-region-function)
3859 (redisplay-highlight-region-function): New vars.
3860 (redisplay--update-region-highlight): New function.
3861 (pre-redisplay-function): Use it.
3862 (exchange-point-and-mark): Don't deactivate the mark before
3863 reactivate-it anyway.
3864 * comint.el (comint-kill-region): Remove yank-handler argument.
3865 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3866 (delete-char): Remove property, since it's now part of their
3867 default behavior.
3868 (self-insert-iso): Remove property since this command doesn't exist.
3869
7e3561ee
SM
3870 * emacs-lisp/package.el (package--download-one-archive)
3871 (describe-package-1): Don't query the user about final newline.
3872
b9bef71f
DC
38732013-10-29 Daniel Colascione <dancol@dancol.org>
3874
3875 * net/tramp.el (tramp-methods): Document new functionality.
3876 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3877 tramp-hostname-checker if method provides one instead of scanning
3878 argument list for "%h" to decide hostname acceptability.
3879
4efc33f0
MA
38802013-10-28 Michael Albinus <michael.albinus@gmx.de>
3881
3882 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3883 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3884 Handle COPY-CONTENTS. (Bug#15737)
3885
ed42a877
DU
38862013-10-28 Daiki Ueno <ueno@gnu.org>
3887
3888 * epa-file.el
7e3561ee
SM
3889 (epa-file-cache-passphrase-for-symmetric-encryption):
3890 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3891
18c9f8a2
XF
38922013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3893
7a4bc7be
XF
3894 * image.el (defimage):
3895 (image-load-path): Doc fixes.
18c9f8a2 3896
b1e8e010
AM
38972013-10-27 Alan Mackenzie <acm@muc.de>
3898
3899 Indent statements in macros following "##" correctly.
7e3561ee
SM
3900 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3901 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3902
73d40d1e 39032013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3904
3905 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3906
c8c605ac
DG
39072013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3908
3909 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3910 after `=' is probably a new expression.
3911
ca7e59d4
RS
39122013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3913
3914 * man.el (man-imenu-title): New option.
3915 (Man-mode-map): Add menu. (Bug#15722)
3916 (Man-mode): Add imenu to menu.
3917
bae91342
DG
39182013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3919
3920 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3921 specific in what the first arg can be: a non-keyword word,
3922 string/regexp/percent literal opener, opening paren, or unary
3923 operator followed directly by word.
3924
eb89dc14
SM
39252013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3926
3927 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3928 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3929 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3930 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3931 Remove vars, they do not apply any more.
3932 (prolog-mode-abbrev-table): Remove redundant declaration.
3933 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3934 (prolog-use-smie): Remove.
3935 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3936 supported by prolog-electric-if-then-else-flag.
3937 (prolog-mode-variables, prolog-menu): Use setq-local.
3938 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3939 Remove binding to `Backspace' since this key doesn't exist anyway.
3940 Remove bindings for electric self-inserting keys.
3941 (prog-mode): Assume it's defined.
3942 (prolog-post-self-insert): New function.
3943 (prolog-mode): Use it.
3944 (prolog-indent-line, prolog-indent-level)
3945 (prolog-find-indent-of-matching-paren)
3946 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3947 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3948 (prolog-goto-next-paren, prolog-in-string-or-comment)
3949 (prolog-tokenize, prolog-inside-mline-comment)
3950 (prolog-find-start-of-mline-comment): Remove functions.
3951 (prolog-find-unmatched-paren, prolog-clause-end)
3952 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3953 (prolog-electric--if-then-else): Rename from
3954 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3955 (prolog-tokenize-searchkey): Remove const.
3956 (prolog-clause-info): Use forward-sexp.
3957 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3958 (prolog-electric-if-then-else): Remove commands.
3959 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3960 for use in post-self-insert-hook.
3961 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3962 for use in post-self-insert-hook.
3963 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3964 for use in post-self-insert-hook.
3965 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3966 adapt it for use in post-self-insert-hook.
3967
3dab0a83
MA
39682013-10-25 Michael Albinus <michael.albinus@gmx.de>
3969
3970 * emacs-lisp/ert.el (ert-run-tests-interactively):
3971 Use `completing-read'. (Bug#9756)
3972
fbfd0e1d
EZ
39732013-10-25 Eli Zaretskii <eliz@gnu.org>
3974
3975 * simple.el (line-move): Call line-move-1 instead of
3976 line-move-visual when the current window hscroll is zero, but
3977 temporary-goal-column indicates we will need to hscroll as result
3978 of the movement. (Bug#15712)
3979
963ce636
DG
39802013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3981
3982 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3983 capitalization. Use :visible instead of :active.
3984 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3985 commands that are used with SMIE.
3986 (ruby-do-end-to-brace): Insert space after `{'.
3987
a0be396a
JA
39882013-10-25 John Anthony <john@jo.hnanthony.com>
3989
f73754c9
JA
3990 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3991
3992 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3993
f5bf77df
GM
39942013-10-25 Glenn Morris <rgm@gnu.org>
3995
3996 * vc/vc.el (vc-print-log): Don't use a working revision unless
3997 one was explicitly specified. (Bug#15322)
3998
37241f62
SM
39992013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4000
4001 * subr.el (add-to-list): Preserve return value in compiler-macro
4002 (bug#15692).
4003
6408a65d
RS
40042013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4005
4006 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4007 result. Ask user to retry using '-all' flag. (Bug#15701)
4008
71e3276b
SM
40092013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4010
4011 * emacs-lisp/smie.el: New smie-config system.
4012 (smie-config): New defcustom.
4013 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4014 (smie-config-guess, smie-config-save): New commands.
4015 (smie-config--mode-local, smie-config--buffer-local)
4016 (smie-config--trace, smie-config--modefuns): New vars.
4017 (smie-config--advice, smie-config--mode-hook)
4018 (smie-config--setter, smie-config-local, smie-config--get-trace)
4019 (smie-config--guess-value, smie-config--guess): New functions.
4020 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4021 text properties. Treat "string fence" syntax like string syntax.
4022
4023 * progmodes/sh-script.el (sh-use-smie): Change default.
4024 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4025 (sh-var-value): Simplify by CSE.
4026 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4027 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4028 is used.
4029 (sh-guess-basic-offset): Use cl-incf.
4030 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4031
60db713e
HE
40322013-10-24 Helmut Eller <eller.helmut@gmail.com>
4033
4034 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4035 (bug#15699).
4036
8b251df6
GM
40372013-10-24 Glenn Morris <rgm@gnu.org>
4038
4039 * Makefile.in (abs_top_srcdir): Remove.
4040 (update-subdirs): Use relative path to update-subdirs.
4041
6be0e22b
EZ
40422013-10-24 Eli Zaretskii <eliz@gnu.org>
4043
4044 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4045 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
4046 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4047 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 4048
50b5b857
MA
40492013-10-24 Michael Albinus <michael.albinus@gmx.de>
4050
4051 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4052 (ert-test-skipped): New error.
4053 (ert-skip, ert-stats-skipped): New defuns.
4054 (ert--skip-unless): New macro.
4055 (ert-test-skipped): New struct.
4056 (ert--run-test-debugger, ert-test-result-type-p)
4057 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4058 (ert--stats-set-test-and-result, ert-char-for-test-result)
4059 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 4060 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 4061 Handle skipped tests. (Bug#9803)
50b5b857 4062
6f317c2f
GM
40632013-10-24 Glenn Morris <rgm@gnu.org>
4064
e43817c1
GM
4065 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4066
6f317c2f
GM
4067 * Makefile.in (abs_top_srcdir): New, set by configure.
4068 (update-subdirs): Correct build-aux location.
4069
369bbf71
DG
40702013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4071
8297b2cf
DG
4072 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4073 value, whether we could auto-deduce `backend', or not.
4074
369bbf71
DG
4075 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4076 with parameters" example. Simplify the "is it block or is it
4077 hash" check, but also make it more thorough.
4078
d5f1282f
MF
40792013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4080
4081 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4082
bc4aaa31
SM
40832013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4084
03d44565
SM
4085 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4086 { if it is hanging.
4087
bc4aaa31
SM
4088 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4089 :before ";".
4090
f493ff19
JB
40912013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4092
4093 * progmodes/compile.el (compilation-directory-matcher)
4094 (compilation-page-delimiter):
4095 Support GNU Make-4.0 directory quoting. (Bug#15678)
4096
c744a3b9
LL
40972013-10-23 Leo Liu <sdl.web@gmail.com>
4098
4099 * ido.el (ido-tidy): Handle read-only text.
4100
b8e3b0a9
GM
41012013-10-23 Glenn Morris <rgm@gnu.org>
4102
4103 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4104 (emacs, compile, compile-always):
4105 Quote entities that might contain whitespace.
4106 (custom-deps, finder-data, autoloads): Use abs_lisp.
4107 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4108 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4109 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4110
ee4282cd
DG
41112013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4112
bc4aaa31
SM
4113 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4114 Use `following-char'.
7790a270 4115
ee4282cd 41162013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
4117
4118 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4119 * progmodes/ruby-mode.el (ruby-smie-rules):
4120 Remove corresponding workaround. Fix indentation rule of ";" so it
4121 also applies when ";" is the parent.
4122
d40a46d7
XF
41232013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4124
4125 * frame.el (display-screens, display-pixel-height)
4126 (display-pixel-width, display-mm-width, display-backing-store)
4127 (display-save-under, display-planes, display-color-cells)
7790a270
SM
4128 (display-visual-class, display-monitor-attributes-list):
4129 Mention the optional ‘display’ argument in doc strings.
d40a46d7 4130
a0f143c9
MG
41312013-10-22 Michael Gauland <mikelygee@amuri.net>
4132
4133 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4134 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4135
18cacc39
DG
41362013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4137
4138 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4139 TODO. Add "." after " @ ".
4140 (ruby-smie--at-dot-call): New function. Checks if point at method
4141 call with explicit target.
4142 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4143 to the method name tokens when it precedes them.
4144 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4145 (ruby-smie-rules): Add rule for indentation before and after "."
4146 token.
4147
df74c4be
SM
41482013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4149
c6dab55f
SM
4150 * textmodes/remember.el (remember-diary-extract-entries):
4151 Avoid add-to-list.
4152
df74c4be
SM
4153 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4154 an instruction.
4155
8c1ae481
DG
41562013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4157
e9dc713d
JB
4158 * progmodes/ruby-mode.el (ruby-smie-grammar):
4159 Add (almost) all infix operators.
cfef16c0
DG
4160 (ruby-smie--implicit-semi-p): Add new operator chars.
4161
8c1ae481
DG
4162 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4163 `smie-down-list'.
4164 (ruby-smie--args-separator-p): Check that there's no newline
4165 between method call and its arguments.
4166
87756ca9
AM
41672013-10-20 Alan Mackenzie <acm@muc.de>
4168
4169 Allow comma separated lists after Java "implements".
4170
df74c4be
SM
4171 * progmodes/cc-engine.el (c-backward-over-enum-header):
4172 Parse commas.
87756ca9
AM
4173 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4174 from a "disallowed" list in enum fontification.
4175
c25f8957
JB
41762013-10-20 Johan Bockgård <bojohan@gnu.org>
4177
df74c4be 4178 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 4179
c25f8957
JB
4180 * progmodes/verilog-mode.el (verilog-mode): Don't set
4181 comment-indent-function globally.
4182
aca5fcdc
JD
41832013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4184
5f161884
JD
4185 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4186 Move Info menu item creation to ns-win.el.
4187
4188 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4189 in menu bar.
4190
a6c4680a 4191 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
4192
4193 * term/ns-win.el (ns-initialize-window-system): ... to here.
4194
914b7f98
SM
41952013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * simple.el (newline): Only run post-self-insert-hook when
4198 called interactively.
4199
846ffe77
JB
42002013-10-19 Johan Bockgård <bojohan@gnu.org>
4201
4202 * icomplete.el (icomplete-with-completion-tables): Add :version.
4203
033f22dd
AM
42042013-10-19 Alan Mackenzie <acm@muc.de>
4205
4206 Fix fontification bugs with constructors and const.
4207
4208 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4209 CASE 2) Remove the check for the absence of a suffix construct
4210 after a function declaration with only types (no identifiers) in
4211 the parentheses. Also, accept a function declaration with just a
4212 type inside the parentheses, if this type can be positively
4213 recognised as such, or if a prefix keyword like "explicit" nails
4214 down the construct as a declaration.
4215
58ce0cfc
EZ
42162013-10-19 Eli Zaretskii <eliz@gnu.org>
4217
4218 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4219 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4220 the problem whereby selecting a menu item that leads to a
4221 minibuffer prompt moves the cursor out of the minibuffer window,
4222 making it hard to type at the prompt. Suggested by Stefan Monnier
4223 <monnier@iro.umontreal.ca>.
4224
50e28e7d
JD
42252013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4226
4227 * menu-bar.el: Don't make Services menu.
4228
7deed4bf
RS
42292013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4230
4231 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4232 (ffap-alist): Use ffap-c++-mode for c++-mode.
4233 (ffap-c++-path): New variable.
4234 (ffap-c++-mode): New function.
4235
7bcb455b
JVJ
42362013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4237
4238 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4239
f0ff1cd5
MA
42402013-10-18 Michael Albinus <michael.albinus@gmx.de>
4241
4242 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4243 introduced on 2013-09-08, which results in an infinite loop
4244 requesting a password.
4245
d64da4b7
GM
42462013-10-18 Glenn Morris <rgm@gnu.org>
4247
4248 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4249
ea89ff08
WS
42502013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4251
4252 Sync with upstream verilog-mode revision 1a6ecec7.
4253 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4254 (verilog-mode-release-date): Remove.
4255 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4256 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4257 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4258 (verilog-auto-tieoff-ignore-regexp)
4259 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4260 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4261 (verilog-signals-with, verilog-dir-cache-preserving)
4262 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4263 Doc fixes.
4264 (verilog-case-fold): New option, to control case folding in
4265 regexp searches, bug597.
4266 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4267 (verilog-string-match-fold, verilog-in-paren-count)
4268 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4269 (verilog-at-close-struct-p): New functions.
4270 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4271 (verilog-forward-sexp, verilog-set-auto-endcomments):
4272 (verilog-leap-to-case-head): Handle "unique0" case.
4273 (verilog-in-constraint-re): New constant.
4274 (verilog-keywords, verilog-type-font-keywords):
4275 Add some SystemVerilog 1800-2012 keywords.
4276 (verilog-label-be): Remove unimplemented argument, bug669.
4277 (verilog-batch-execute-func): When batch expanding clear
4278 create-lockfiles to prevent spurious user locks when a file ends
4279 up not changing.
4280 (verilog-calculate-indent, verilog-calc-1)
4281 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4282 (verilog-do-indent): Fix indentation of nested constraints
4283 and structures.
4284 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4285 (verilog-auto-inst-param): Use verilog-string-match-fold.
4286 (verilog-read-inst-module-matcher):
4287 Fix AUTOINST on gate primitives with #1.
4288 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4289 Reads all user-defined typed variables.
4290 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4291 (verilog-signals-matching-regexp)
4292 (verilog-signals-not-matching-regexp, verilog-auto):
4293 Respect verilog-case-fold.
4294 (verilog-diff-report): Fix line count.
4295 (verilog-auto-assign-modport): Remove unused local `modi'.
4296 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4297 better handle multidimensional arrays.
4298 Fix packed array ports misadding bit index in AUTOINST, bug637.
4299 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4300 to not double-declare existing outputs and inputs, respectively.
4301 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4302 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4303 (verilog-sk-uvm-component): New skeleton.
4304 (verilog-submit-bug-report): Add verilog-case-fold,
4305 remove verilog-mode-release-date.
4306
ef566920
BR
43072013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4308
a12bf61e 4309 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4310 as before.
4311
29df8a0b
RT
43122013-10-18 Reuben Thomas <rrt@sc3d.org>
4313
e0eb0550 4314 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4315 remember buffers (bug#13566).
4316
04a19a79
DC
43172013-10-18 Daniel Colascione <dancol@dancol.org>
4318
4319 When evaluating forms in ielm, direct standard output to ielm
4320 buffer. Add new ielm-return-for-effect command. Remove trailing
4321 whitespace throughout.
4322
4323 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4324 (ielm-return-for-effect): New command.
4325 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4326 (ielm-eval-input): Accept optional `for-effect' parameter.
4327 Bind `standard-output' to stream we create using
04a19a79
DC
4328 `ielm-standard-output-impl'. Suppress printing result when
4329 `for-effect'.
4330 (ielm-standard-output-impl): New function.
4331 (inferior-emacs-lisp-mode): Explain new features in documentation.
4332
4c1f03ef
MA
43332013-10-17 Michael Albinus <michael.albinus@gmx.de>
4334
4335 Code cleanup.
4336
4337 * net/tramp.el (tramp-debug-message): Do not check for connection
4338 buffer.
4339 (tramp-message): Use "vector" connection property.
4340
4341 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4342 (tramp-equal-remote, tramp-eshell-directory-change)
4343 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4344 (tramp-adb-handle-rename-file)
4345 * net/tramp-cmds.el (tramp-list-remote-buffers)
4346 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4347 * net/tramp-compat.el (tramp-compat-process-running-p)
4348 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4349 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4350 (tramp-gvfs-handle-rename-file)
4351 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4352 (tramp-set-file-uid-gid)
4353 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4354 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4355 of `file-remote-p'.
4356
4357 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4358 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4359 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4360 (tramp-gw-open-network-stream): Suppress unrelated traces.
4361
4362 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4363 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4364 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4365 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4366 connection property.
4367
4368 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4369 persistency file.
4c1f03ef
MA
4370
4371 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4372 Refactor common code. Improve debug message.
4373 (tramp-maybe-open-connection)
4374 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4375 connection buffer too early.
4376
4377 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4378 from `tramp-smb-actions-with-acl'.
4379 (tramp-smb-actions-set-acl): New defconst.
4380 (tramp-smb-handle-copy-directory)
4381 (tramp-smb-action-get-acl): New defun, renamed from
4382 `tramp-smb-action-with-acl'.
4383 (tramp-smb-action-set-acl): New defun.
4384 (tramp-smb-handle-set-file-acl): Rewrite.
4385
642eb8b6
GM
43862013-10-17 Glenn Morris <rgm@gnu.org>
4387
4388 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4389
85527ff3
SM
43902013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4391
921c1d62
SM
4392 * skeleton.el (skeleton-newline): Remove.
4393 (skeleton-internal-1): Use (insert "\n") instead.
4394
e333fb10
SM
4395 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4396 let-bindings.
4397
85527ff3
SM
4398 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4399 forward-sexp-function while we redo its job (bug#15613).
4400
c8722a97
JB
44012013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4402
4403 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4404 represented by lists.
4405
7a550bbb
GM
44062013-10-16 Glenn Morris <rgm@gnu.org>
4407
4408 * tmm.el (tmm--history): New dynamic variable.
4409 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4410
f19da8ad
MA
44112013-10-16 Michael Albinus <michael.albinus@gmx.de>
4412
4413 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4414 (tramp-smb-errors): Add error messages.
4415 (tramp-smb-actions-with-acl): New defconst.
4416 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4417 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4418 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4419 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4420 (tramp-smb-get-stat-capability): Fix tests.
4421
a24b9961
DK
44222013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4423
4424 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4425 (bug#15580).
4426
62ad85e6
GM
44272013-10-16 Glenn Morris <rgm@gnu.org>
4428
0283d6b0
GM
4429 * ansi-color.el (ansi-color-drop-regexp):
4430 Add 1J, 1K, 2K. (Bug#15617)
4431
012e2f9f
GM
4432 * files.el (hack-local-variables--warned-lexical): New.
4433 (hack-local-variables):
4434 Warn about misplaced lexical-binding. (Bug#15616)
4435
62ad85e6
GM
4436 * net/eww.el (eww-render): Always set eww-current-url,
4437 and update header line. (Bug#15622)
4438 (eww-display-html): ... Rather than just doing it here.
4439
6456c0ea
EZ
44402013-10-15 Eli Zaretskii <eliz@gnu.org>
4441
4442 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4443 menu navigations commands.
4444
c2de5588
DK
44452013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4446
4447 * progmodes/subword.el (subword-capitalize): Be careful when
4448 the search for [[:alpha:]] fails (bug#15580).
4449
ccd4a783
EZ
44502013-10-14 Eli Zaretskii <eliz@gnu.org>
4451
4452 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4453 to commands that scroll the menu.
4454
1eda1d8d
DG
44552013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4456
c2de5588
DK
4457 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4458 Handle methods ending with `?' and `!'.
1eda1d8d 4459
e70181b8
AM
44602013-10-14 Akinori MUSHA <knu@iDaemons.org>
4461
4462 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4463 `japanese-cp932' to `cp932' to fix the problem where saving a
4464 source file written in Shift_JIS twice would end up having
4465 `coding: japanese-cp932' which Ruby could not recognize.
4466 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4467 in `ruby-encoding-map'.
4468 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4469 doesn't need to be explicitly declared in magic comment.
4470 (ruby-encoding-map): Add type declaration for better customize UI.
4471
9148ee92
GM
44722013-10-13 Glenn Morris <rgm@gnu.org>
4473
a5d38e34
GM
4474 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4475 Occur buffers are read-only. http://bugs.debian.org/720775
4476
9148ee92
GM
4477 * emacs-lisp/authors.el (authors-fixed-entries):
4478 Comment out old alpha stuff.
4479
a9ba094b
DG
44802013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4481
4482 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4483 to `after-save-hook' instead of `before-save-hook'.
4484 (ruby-mode-set-encoding): Use the value of coding system used to
4485 write the file. Call `basic-save-buffer-1' after modifying the
4486 buffer.
4487
7a068717
AM
44882013-10-13 Alan Mackenzie <acm@muc.de>
4489
4490 Fix indentation/fontification of Java enum with
4491 "implements"/generic.
4492
c2de5588
DK
4493 * progmodes/cc-engine.el (c-backward-over-enum-header):
4494 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4495 (c-inside-bracelist-p): Uses new function above.
4496 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4497 function above.
4498 (c-font-lock-enum-tail): Uses new function above.
4499
85b64f02
KH
45002013-10-13 Kenichi Handa <handa@gnu.org>
4501
4502 * international/mule-cmds.el (select-safe-coding-system): Remove a
4503 superfluous condition in chekcing whether a coding system is safe
4504 or not.
4505
fc7f501b
OK
45062013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4507
4508 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4509
fdcb2049
AP
45102013-10-13 Andreas Politz <politza@hochschule-trier.de>
4511
4512 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4513
8c106d17
GM
45142013-10-13 Glenn Morris <rgm@gnu.org>
4515
feab892d
GM
4516 * menu-bar.el (menu-bar-update-buffers):
4517 Unify Buffers menu prompt string. (Bug#15576)
4518
b22d0686
GM
4519 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4520
8c106d17
GM
4521 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4522 Add some entries.
4523 (authors-fixed-entries): Use accented form of name.
4524
1b12c797
SM
45252013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4526
650fa7bf 4527 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4528 method calls (bug#15594).
650fa7bf
SM
4529 (ruby-smie--args-separator-p): New function.
4530 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4531 recognize paren-free method calls.
4532
1b12c797
SM
4533 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4534 internals of universal-argument.
4535
029619c8
EZ
45362013-10-11 Eli Zaretskii <eliz@gnu.org>
4537
4538 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4539 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4540 dropped menu on second mouse click on the menu bar.
029619c8 4541
dd070019
SM
45422013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4543
4544 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4545 (explicit-shell-file-name): Declare.
4546 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4547 (sh-completion-at-point-function): New function.
4548 (sh-mode): Use it.
4549 (sh-smie--keyword-p): Remove unused argument.
4550 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4551 vars.
4552 (sh-set-shell): Always setup SMIE, even if we use the
4553 old indentation code.
4554
0922b826
DG
45552013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4556
b68e2926
DG
4557 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4558 cases of ? and =.
4559 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4560 predicate would return nil are almost non-existent.
4561 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4562
0922b826
DG
4563 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4564 cache also after commands that modify the buffer but don't move
4565 point.
4566
ee041f2d
SM
45672013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4568
4569 * env.el (substitute-env-in-file-name): New function.
4570 (substitute-env-vars): Extend the meaning of the optional arg.
4571
a5dab159
EZ
45722013-10-10 Eli Zaretskii <eliz@gnu.org>
4573
4574 * term/w32-win.el (dynamic-library-alist): Define separate lists
4575 of GIF DLLs for versions before and after 5.0.0 of giflib.
4576 (Bug#15531)
4577
0449d6cd 45782013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4579
4580 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4581 not locked, use last revision and current source as
4582 defaults. (Bug#15569)
4583
2f6e161e
MY
45842013-10-10 Masatake YAMATO <yamato@redhat.com>
4585
4586 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4587 menu-bar is hidden.
4588
6c8413fc
MR
45892013-10-10 Martin Rudalics <rudalics@gmx.at>
4590
4591 * window.el (pop-to-buffer-same-window): Fix doc-string.
4592 (Bug#15492)
4593
20832de0
SM
45942013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4595
4596 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4597
c6e8ae77
AC
45982013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4599
4600 * calendar/icalendar.el (icalendar-import-file):
4601 Fix interactive spec. (Bug#15482)
4602
9db13baf
GM
46032013-10-10 Glenn Morris <rgm@gnu.org>
4604
9271e90e
GM
4605 * desktop.el (desktop-save): Default to saving in .emacs.d,
4606 since PWD is no longer in desktop-path by default. (Bug#15319)
4607
9db13baf
GM
4608 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4609 now that text mode has a menu with the same entry.
4610 (menu-bar-text-mode-auto-fill): Remove now unused func.
4611 * textmodes/text-mode.el (text-mode-map):
4612 Use auto-fill help text from menu-bar.el.
4613
a0be396a 46142013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4615
4616 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4617
2edcd3c7
JL
46182013-10-09 Juri Linkov <juri@jurta.org>
4619
4620 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4621 instead of this-command-keys. Add universal-argument-more and
4622 universal-argument-minus to the list of prefix commands. (Bug#15568)
4623
574411d0
GM
46242013-10-09 Glenn Morris <rgm@gnu.org>
4625
14afa541
GM
4626 * vc/vc-svn.el (vc-svn-create-repo):
4627 Expand paths in file://... url. (Bug#15446)
4628
574411d0
GM
4629 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4630 Add some entries.
4631 (authors): Remove unused local variables.
4632
79804536
SM
46332013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4634
4635 * profiler.el: Create a more coherent calltree from partial backtraces.
4636 (profiler-format): Hide the tail with `invisible' so that C-s can still
4637 find the hidden elements.
4638 (profiler-calltree-depth): Don't recurse so enthusiastically.
4639 (profiler-function-equal): New hash-table-test.
4640 (profiler-calltree-build-unified): New function.
4641 (profiler-calltree-build): Use it.
4642 (profiler-report-make-name-part): Indent the calltree less.
4643 (profiler-report-mode): Add visibility specs for profiler-format.
4644 (profiler-report-expand-entry, profiler-report-toggle-entry):
4645 Expand the whole subtree when provided with a prefix arg.
4646
238150c8
DG
46472013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4648
4649 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4650 iuwu-mod token.
4651 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4652 hanging iuwu-mod token.
4653 (ruby-smie--forward-token): Do not include a dot after a token in
4654 that token.
4655 (ruby-smie--backward-token): Likewise.
4656
b0949cc4
JL
46572013-10-08 Juri Linkov <juri@jurta.org>
4658
4659 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4660 to isearch-other-control-char.
4661 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4662 and isearch-post-command-hook to post-command-hook.
4663 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4664 and isearch-post-command-hook from post-command-hook.
4665 (isearch-unread-key-sequence)
4666 (isearch-reread-key-sequence-naturally)
4667 (isearch-lookup-scroll-key, isearch-other-control-char)
4668 (isearch-other-meta-char): Remove functions.
4669 (isearch-pre-command-hook, isearch-post-command-hook):
4670 New functions based on isearch-other-meta-char rewritten
4671 relying on the new behavior of overriding-terminal-local-map
4672 that does not replace the local keymaps any more. (Bug#15200)
4673
4ed77415
EZ
46742013-10-08 Eli Zaretskii <eliz@gnu.org>
4675
4676 Support menus on text-mode terminals.
4677 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4678 functionality.
4679
4680 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4681
c2de5588
DK
4682 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4683 Move here from mouse.el.
4ed77415
EZ
4684 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4685 and arrow keys.
4686 (tty-menu-navigation-map): New map for TTY menu navigation.
4687
4688 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4689
4690 * frame.el (display-mouse-p): Report text-mode mouse as available
4691 on w32.
4692 (display-popup-menus-p): Report availability if mouse is
4693 available; don't condition on window-system.
4694
4695 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4696 (tty-menu-selected-face): New faces.
4697
b7d5bd82
TL
46982013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4699
06286513
SM
4700 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4701 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4702 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4703 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4704 New constants.
4705 (lisp-mode-variables): New `elisp' argument.
4706 (emacs-lisp-mode): Use it.
4707 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4708 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4709
b7d5bd82
TL
4710 * indent.el: Use lexical-binding.
4711 (indent-region): Add progress reporter.
4712 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4713 last step.
4714 (indent--next-tab-stop): New function to implement this behavior.
4715 (tab-to-tab-stop, move-to-tab-stop): Use it.
4716
47172013-10-08 Teemu Likonen <tlikonen@iki.fi>
4718
4719 * indent.el (indent-rigidly--current-indentation): New function.
4720 (indent-rigidly-map): New var.
4721 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4722
5ea75d23
BG
47232013-10-08 Bastien Guerry <bzg@gnu.org>
4724
f2726fa2 4725 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 4726
cc5da1ec
SM
47272013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4728
8ffa1a0b
SM
4729 * progmodes/perl-mode.el: Use lexical-binding.
4730 Remove redundant :group args.
4731 (perl-nochange): Change default to be closer to other major modes's
4732 standard behavior.
4733 (perl-indent-line): Don't consider text on current line as a
4734 valid beginning of function from which to indent.
4735
f2223371
SM
4736 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4737 with more than one argument (bug#15538).
4738
44256060
SM
4739 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4740
cc5da1ec
SM
4741 * vc/pcvs.el: Use lexical-binding.
4742 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4743 environment of `eval'.
4744 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4745 than a list of expressions. Adjust callers.
4746 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4747
0ea1599d
DG
47482013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4749
4750 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4751 case of the dot in a chained method call being on the following line.
0ea1599d 4752
da3e5ebb
SM
47532013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4754
2abb4e65
SM
4755 * electric.el (electric-indent-inhibit): New var.
4756 (electric-indent-post-self-insert-function): Use it.
4757 * progmodes/python.el (python-mode): Set it.
4758
d2e0e795
SM
4759 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4760 open braces.
4761
4762 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4763
bdc6b4c8
SM
4764 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4765 (css-mode): Use electric-indent-chars.
4766
da3e5ebb
SM
4767 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4768 (font-lock-beg, font-lock-end): Move before first use.
4769 (nxml-mode): Use syntax-propertize-function.
4770 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4771 (nxml-extend-after-change-region): Remove.
4772 * nxml/xmltok.el: Use lexical-binding.
4773 (xmltok-save): Use `declare'.
4774 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4775 * nxml/nxml-util.el: Use lexical-binding.
4776 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4777 Use `declare'.
4778 * nxml/nxml-ns.el: Use lexical-binding.
4779 (nxml-ns-save): Use `declare'.
4780 (nxml-ns-prefixes-for): Avoid add-to-list.
4781 * nxml/rng-match.el: Use lexical-binding.
4782 (rng--ipattern): Use cl-defstruct.
4783 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4784 (rng-cons-group-after, rng-subst-group-after)
4785 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4786 Use closures instead of `(lambda...).
4787
f8f91d5d
MA
47882013-10-07 Michael Albinus <michael.albinus@gmx.de>
4789
4790 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4791 of BEG and END.
4792
da3e5ebb
SM
4793 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4794 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4795 (tramp-gvfs-handle-insert-file-contents): Remove function.
4796
da3e5ebb
SM
4797 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4798 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4799
4800 * net/trampver.el: Update release number.
4801
7ccae3b1
SM
48022013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4803
55ca2c0d
SM
4804 * progmodes/compile.el (compilation-parse-errors):
4805 Use compilation--put-prop.
4806 (compilation--ensure-parse): Check compilation-multiline.
4807
731fc3ae
SM
4808 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4809
da3e5ebb
SM
4810 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4811 lexical-binding.
a5833280 4812
2e7ba2c2
SM
4813 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4814
7ccae3b1
SM
4815 * progmodes/ruby-mode.el: Fix recently added tests.
4816 (ruby-smie-grammar): Add - and +.
4817 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4818 (ruby-smie--backward-id): New functions.
4819 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4820 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4821 any more.
4822
85698d63
LL
48232013-10-07 Leo Liu <sdl.web@gmail.com>
4824
4825 * register.el (register-preview-delay)
4826 (register-preview-functions): New variables.
4827 (register-read-with-preview, register-preview)
4828 (register-describe-oneline): New functions.
4829 (point-to-register, window-configuration-to-register)
4830 (frame-configuration-to-register, jump-to-register)
4831 (number-to-register, view-register, insert-register)
4832 (copy-to-register, append-to-register, prepend-to-register)
4833 (copy-rectangle-to-register): Use register-read-with-preview to
4834 read register. (Bug#15525)
4835
3986af6c
DS
48362013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4837
4838 * net/network-stream.el (network-stream-open-starttls): Don't add
4839 --insecure if it's already present, because that gnutls-cli
4840 rejects getting that parameter twice.
4841
5cd9cda9
DG
48422013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4843
4844 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4845 keyword, too.
4846
da9ea6d9
DG
48472013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4848
4849 * newcomment.el (comment-use-global-state): Change default value
4850 to t, mark obsolete (Bug#15251).
4851 (comment-beginning): In addition to `comment-to-syntax', check the
4852 value of `comment-use-global-state'.
4853
34d1a133
SM
48542013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4855
4856 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4857 (ruby-comment-column): Follow the global default, by default.
4858 (ruby-smie-grammar): Add assignment syntax.
4859 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4860 open-paren, a comma, or a \.
4861 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4862 and line continuations.
4863 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4864 followed by implicit semi-colons. Add rule for string concatenation
4865 and for indentation at BOB.
4866 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4867
4868 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4869 calling next-sexp, since next-token may have skipped chars which
4870 next-sexp doesn't know should be skipped!
4871
6f6ab820
LL
48722013-10-05 Leo Liu <sdl.web@gmail.com>
4873
34d1a133
SM
4874 * progmodes/octave.el (octave-send-region):
4875 Call compilation-forget-errors.
6f6ab820 4876
34ca0f4c
XF
48772013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4878
4879 * vc/vc-svn.el (vc-svn-find-admin-dir):
4880 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4881 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4882 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4883 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4884
a27c1b72
SM
48852013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4886
4887 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4888
258ab3bc
SM
48892013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4890
4891 * subr.el (read-passwd): Hide chars even when called within a context
4892 where after-change-functions is disabled (bug#15501).
4893 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4894 until we removed ourself from overriding-terminal-local-map.
4895
939fb29c
LL
48962013-10-04 Leo Liu <sdl.web@gmail.com>
4897
258ab3bc
SM
4898 * progmodes/octave.el (inferior-octave-mode):
4899 Call compilation-forget-errors.
939fb29c 4900
63bd7f35
XF
49012013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4902
4903 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4904
9e6229fa
MA
49052013-10-04 Michael Albinus <michael.albinus@gmx.de>
4906
4907 * net/secrets.el (secrets-create-collection): Add optional
4908 argument ALIAS. Use proper Label keyword. Append ALIAS as
4909 dbus-call-method argument. (Bug#15516)
4910
1dab32a3
LL
49112013-10-04 Leo Liu <sdl.web@gmail.com>
4912
4913 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4914 (inferior-octave-compilation-font-lock-keywords): New variables.
4915 (compilation-error-regexp-alist)
4916 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4917 (inferior-octave-mode): Use compilation-shell-minor-mode.
4918
6cad7ba3
JS
49192013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4920
4921 * minibuffer.el (completion--replace): Be careful that `end' might be
4922 a marker.
4923
acbadd00
DU
49242013-10-03 Daiki Ueno <ueno@gnu.org>
4925
4926 Add support for package signature checking.
4927 * emacs-lisp/package.el (url-http-file-exists-p)
4928 (epg-make-context, epg-context-set-home-directory)
4929 (epg-verify-string, epg-context-result-for)
4930 (epg-signature-status, epg-signature-to-string)
4931 (epg-check-configuration, epg-configuration)
4932 (epg-import-keys-from-file): Declare.
4933 (package-check-signature): New user option.
4934 (package-unsigned-archives): New user option.
4935 (package-desc): Add `signed' field.
4936 (package-load-descriptor): Set `signed' field if .signed file exists.
4937 (package--archive-file-exists-p): New function.
4938 (package--check-signature): New function.
4939 (package-install-from-archive): Check package signature.
4940 (package--download-one-archive): Check archive signature.
4941 (package-delete): Remove .signed file.
4942 (package-import-keyring): New command.
4943 (package-refresh-contents): Import default keyring.
4944 (package-desc-status): Add "unsigned" status.
4945 (describe-package-1, package-menu--print-info)
4946 (package-menu-mark-delete, package-menu--find-upgrades)
4947 (package-menu--status-predicate): Support "unsigned" status.
4948
adf2aa61
SM
49492013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4950
4951 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4952 the new compilation scheme using the new byte-codes.
4953
4954 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4955 (byte-pophandler): New byte codes.
4956 (byte-goto-ops): Adjust accordingly.
4957 (byte-compile--use-old-handlers): New var.
4958 (byte-compile-catch): Use new byte codes depending on
4959 byte-compile--use-old-handlers.
4960 (byte-compile-condition-case--old): Rename from
4961 byte-compile-condition-case.
4962 (byte-compile-condition-case--new): New function.
4963 (byte-compile-condition-case): New function that dispatches depending
4964 on byte-compile--use-old-handlers.
4965 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4966 when we can.
4967
4968 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4969 Optimize under `condition-case' and `catch' if
4970 byte-compile--use-old-handlers is nil.
4971 (disassemble-offset): Handle new bytecodes.
4972
328a8179
SM
49732013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4974
4975 * subr.el (error): Use `declare'.
4976 (decode-char, encode-char): Use advertised-calling-convention instead
4977 of the docstring to discourage use of the `restriction' arg.
4978
15a1e936
DU
49792013-10-03 Daiki Ueno <ueno@gnu.org>
4980
4981 * epg.el (epg-verify-file): Add a comment saying that it does not
4982 notify verification error as a return value nor a signal.
4983 (epg-verify-string): Ditto.
4984
376f862a
KR
49852013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4986
4987 * progmodes/compile.el (compilation-start): Try globbing the arg to
4988 `cd' (bug#15417).
4989
a2f93a5f
MA
49902013-10-02 Michael Albinus <michael.albinus@gmx.de>
4991
4992 Sync with Tramp 2.2.8.
4993
4994 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4995 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4996 * net/trampver.el: Update release number.
4997
0daa0804
JD
49982013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4999
5000 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5001 and default-process-coding-system for darwin only.
5002
abd1ae34
SM
50032013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5006
be4e325d
MH
50072013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5008
5009 * vc/vc-git.el (vc-git-grep): Disable pager.
5010
e9155c4a
DG
50112013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5012
494e898b
DG
5013 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5014 Use :url instead of :homepage, as per
5015 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5016
e9155c4a
DG
5017 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5018 non-nil, use `syntax-ppss' (Bug#15251).
5019
481a8e0f
RS
50202013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5021
be4e325d
MH
5022 * progmodes/octave.el (inferior-octave-startup-file):
5023 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 5024
056453c6
DG
50252013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5026
be4e325d
MH
5027 * emacs-lisp/package.el (package-desc-from-define):
5028 Accept additional arguments as plist, convert them to an alist and store
5029 them in the `extras' slot.
056453c6
DG
5030 (package-generate-description-file): Convert extras alist back to
5031 plist and append to the `define-package' form arguments.
5032 (package--alist-to-plist): New function.
5033 (package--ac-desc): Add `extras' slot.
5034 (package--add-to-archive-contents): Check if the archive-contents
5035 vector is long enough, and if it is, pass its `extras' slot value
5036 to `package-desc-create'.
5037 (package-buffer-info): Call `lm-homepage', pass the returned value
5038 to `package-desc-from-define'.
5039 (describe-package-1): Render the homepage button (Bug#13291).
5040
be4e325d
MH
5041 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5042 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 5043
832966e5
JD
50442013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5045
5046 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5047 and default-process-coding-system to utf-8-unix (Bug#15402).
5048
6cfe977d
XF
50492013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5050
5051 * subr.el (looking-back): Do not recommend using looking-back.
5052
38de11bd
AM
50532013-09-28 Alan Mackenzie <acm@muc.de>
5054
5055 Fix indentation/fontification of Java enum with "implements".
5056
5057 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5058 regexp which matches "implements", etc., in Java.
5059 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5060 specifier clauses coming after "enum".
5061 * progmodes/cc-fonts.el (c-font-lock-declarations)
5062 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5063 after "enum".
5064
1610938f
JD
50652013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5066
5067 * faces.el (region): Change ns_selection_color to
5068 ns_selection_fg_color, add ns_selection_bg_color.
5069
e090f499
LL
50702013-09-28 Leo Liu <sdl.web@gmail.com>
5071
4d2e94d1
LL
5072 * progmodes/octave.el (inferior-octave-completion-table)
5073 (inferior-octave-completion-at-point): Minor tweaks.
5074
e090f499
LL
5075 * textmodes/ispell.el (ispell-lookup-words): Rename from
5076 lookup-words. (Bug#15460)
5077 (lookup-words): Obsolete.
5078 (ispell-complete-word, ispell-command-loop): All uses changed.
5079
7e138a62
RS
50802013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5081
a12bf61e 5082 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
5083 (octave-mode-menu): Add octave-send-buffer.
5084 (octave-send-buffer): New function.
5085
5af5ed08
RS
50862013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5087
a12bf61e 5088 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
5089 octave-lookfor.
5090 (octave-mode-menu): Add octave-lookfor.
5091 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5092 octave-lookfor.
5093 (octave-lookfor): New function.
5094
3b7b2692
SM
50952013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5096
5097 * emacs-lisp/cl-macs.el:
5098 (cl--loop-destr-temps): Remove.
5099 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5100 its convention.
5101 (cl--loop-set-iterator-function): New function.
5102 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5103 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5104 Bind `it' with `let' instead of substituting it with `cl-subst'.
5105 (cl--unused-var-p): New function.
5106 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5107 Eliminate some unused variable warnings (bug#15326).
5108
529fb53f
TH
51092013-09-27 Tassilo Horn <tsdh@gnu.org>
5110
5111 * doc-view.el (doc-view-scale-reset): Rename from
5112 `doc-view-reset-zoom-level'.
5113 (doc-view-scale-adjust): New command.
5114 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5115 `doc-view-scale-adjust'.
5116
0550c95a
TH
51172013-09-26 Tassilo Horn <tsdh@gnu.org>
5118
5119 * doc-view.el (doc-view-reset-zoom-level): New command.
5120 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5121 zoom commands (bug#15466).
5122
6950f152
KH
51232013-09-26 Kenichi Handa <handa@gnu.org>
5124
5125 * international/quail.el (quail-help): Make it not a command.
5126
39587580
LL
51272013-09-26 Leo Liu <sdl.web@gmail.com>
5128
5129 * minibuffer.el (completion-all-sorted-completions): Make args
5130 optional as they are.
5131
00578659
DC
51322013-09-25 Daniel Colascione <dancol@dancol.org>
5133
5134 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5135 specs are and that they're not evaluated.
5136
0c173878
SS
51372013-09-24 Sam Steingold <sds@gnu.org>
5138
5139 * midnight.el (clean-buffer-list-kill-regexps)
5140 (clean-buffer-list-kill-buffer-names): Update for the new Man
5141 buffer naming which includes the object name.
5142
84998447
SM
51432013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5144
5145 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5146 (eshell-parse-command, eshell-parse-pipeline): Use it since
5147 eshell-separate-commands requires a dynamic scoped var.
5148 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5149
33215353
LL
51502013-09-23 Leo Liu <sdl.web@gmail.com>
5151
5152 * autoinsert.el (auto-insert-alist): Make the value of
5153 lexical-binding match its file setting.
5154
57b16162
JB
51552013-09-23 Juanma Barranquero <lekktu@gmail.com>
5156
c8af4e67
JB
5157 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5158
57b16162
JB
5159 * autoarg.el (autoarg-kp-digit-argument):
5160 * electric.el (Electric-command-loop):
5161 * kmacro.el (kmacro-step-edit-insert):
5162 Do not set universal-argument-num-events.
5163
7186ba60
LL
51642013-09-22 Leo Liu <sdl.web@gmail.com>
5165
5166 * files.el (interpreter-mode-alist): Add octave.
5167
ece15004
AM
51682013-09-21 Alan Mackenzie <acm@muc.de>
5169
5170 C++: fontify identifier in declaration following "public:" correctly.
5171 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5172 to match "public", etc.
5173 (c-decl-prefix-re): Add ":" into the C++ value.
5174 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5175 bit. Add a check for a ":" preceded by "public", etc.
5176
75d83e22
EZ
51772013-09-21 Eli Zaretskii <eliz@gnu.org>
5178
5179 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5180 recognized by GDB 7.5 and later.
5181
d052d3bd
XF
51822013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5183
5184 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5185
31dca772
R
51862013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5187
5188 * subr.el (internal--call-interactively): New const.
5189 (called-interactively-p): Use it (bug#3984).
5190
98ccf24e
XF
51912013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5192
5193 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
5194 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5195 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 5196
c39cc7d1
SM
51972013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5198
5199 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5200 (eshell-ls-orig-insert-directory): Remove.
5201 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5202 (eshell-ls-use-in-dired): Use advice-add/remove.
5203 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5204 Add `orig-fun' arg for use in :around advice.
5205 Make it check (redundantly) eshell-ls-use-in-dired.
5206
9a0289a2
GM
52072013-09-19 Glenn Morris <rgm@gnu.org>
5208
a2c501b8
GM
5209 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5210
c440407a
GM
5211 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5212
9a0289a2
GM
5213 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5214
85e05915
MA
52152013-09-19 Michael Albinus <michael.albinus@gmx.de>
5216
5217 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5218 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5219 (tramp-get-remote-python): New defuns.
5220 (tramp-get-remote-uid-with-perl)
5221 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5222 contributed by yary <not.com@gmail.com> (tiny change).
5223 (tramp-get-remote-uid-with-python)
5224 (tramp-get-remote-gid-with-python): New defuns. Python code
5225 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5226 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5227
ce503312
GM
52282013-09-19 Glenn Morris <rgm@gnu.org>
5229
f7544773
GM
5230 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5231
72fd2877
GM
5232 * eshell/em-unix.el (eshell-remove-entries):
5233 Rename argument to avoid name-clash with global `top-level'.
5234
336b5a56
GM
5235 * eshell/esh-proc.el (eshell-kill-process-function):
5236 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5237 (eshell-reset-after-proc): Remove unused arg `proc'.
5238
57a3a53d
GM
5239 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5240 (directory-files-and-attributes): Mark unused arg.
5241
3261d4af
GM
5242 * eshell/em-unix.el (eshell-remove-entries):
5243 Remove unused arg `path'. Update callers.
5244
8e51b5d0
GM
5245 * eshell/em-hist.el (eshell-hist-parse-arguments):
5246 Remove unused arg `silent'. Update callers.
5247
ce503312
GM
5248 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5249 Fix (f)boundp mix-up.
5250
5251 * eshell/em-smart.el (eshell-smart-scroll-window)
5252 (eshell-disable-after-change):
336b5a56 5253 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5254
ee3ce8a7
AM
52552013-09-18 Alan Mackenzie <acm@muc.de>
5256
5257 Fix fontification of type when followed by "const".
5258 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5259 "known" types from fontification.
5260
ec9177ba
GM
52612013-09-18 Glenn Morris <rgm@gnu.org>
5262
7bb3e768
GM
5263 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5264 (chart-face-list): Drop Emacsen without display-color-p.
5265
5148da15
GM
5266 * net/eww.el (libxml-parse-html-region): Declare.
5267 (eww-display-html): Explicit error if no libxml2 support.
5268
2f68e157
GM
5269 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5270
9019d095
GM
5271 * image.el (image-type-from-buffer, image-multi-frame-p):
5272 Remove --without-x warning/error.
67645389 5273
5f30349b 5274 * mouse.el (mouse-yank-primary):
45069b2e 5275 * term.el (term-mouse-paste):
5f30349b
GM
5276 Reorder to silence --without-x compilation.
5277
cd8edbbe
GM
5278 * mpc.el (doc-view-mode): Silence --without-x compilation.
5279
8a78544e
GM
5280 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5281 Silence --without-x compilation.
5282
12679bfd
GM
5283 * progmodes/gud.el (gud-find-file, gud-mode):
5284 Silence --without-x compilation.
5285 (tooltip-mode): Declare.
30810a05 5286
f0047cb9
GM
5287 * wdired.el (dired-backup-overwrite): Remove declaration.
5288 (wdired-mode-map): Add doc string.
5289
e740f9d2
GM
5290 * custom.el (x-get-resource): Declare.
5291
92d77c89
GM
5292 * eshell/em-glob.el (ange-cache):
5293 * eshell/em-unix.el (ange-cache): Declare.
5294
76e69577
GM
5295 * faces.el (x-display-list, x-open-connection, x-get-resource):
5296 Declare.
7e58af4b
GM
5297
5298 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5299 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5300 Declare.
76e69577 5301
4bd4c0af 5302 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5303
ffb82dbd
GM
5304 * net/gnutls.el (gnutls-log-level): Declare.
5305
986ed135
GM
5306 * net/shr.el (image-size, image-animate): Declare.
5307
e740f9d2
GM
5308 * simple.el (font-info): Declare.
5309
d2f3e9f8
GM
5310 * subr.el (x-popup-dialog): Declare.
5311
047a1a4c
GM
5312 * term/common-win.el (x-select-enable-primary)
5313 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5314 Declare.
5315
f4a1d572
GM
5316 * term/ns-win.el (x-handle-args): Declare.
5317
e843de77
GM
5318 * term/x-win.el (x-select-enable-clipboard): Declare.
5319
5fa89513
GM
5320 * term/w32-win.el (create-default-fontset): Declare.
5321
38702b5b
GM
5322 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5323 Declare.
5324
e740f9d2
GM
5325 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5326 (fit-frame-to-buffer): Explicit error if --without-x.
5327 (mouse-autoselect-window-select): Silence compiler.
5328
49a053fc
GM
5329 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5330
5331 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5332 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5333 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5334 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5335 Remove unused local variables.
5336
5337 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5338
ec9177ba
GM
5339 * textmodes/two-column.el: Make 2C-split work for --without-x.
5340 (scroll-bar-columns): Autoload.
5341 (top-level): Require fringe when compiling.
5342
9f25cb77
LL
53432013-09-18 Leo Liu <sdl.web@gmail.com>
5344
5345 * subr.el (add-hook): Robustify to handle closure as well.
5346
2b42da98
GM
53472013-09-17 Glenn Morris <rgm@gnu.org>
5348
5349 * simple.el (messages-buffer-mode-map): Unbind "g".
5350
e8b66a6a
SM
53512013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5352
9c0ad4f7
SM
5353 * help-mode.el (help-mode-finish): Use derived-mode-p.
5354 Remove obsolete highlighting.
5355
7a806dfb
SM
5356 * play/life.el (life-mode): Use define-derived-mode. Derive from
5357 special-mode.
5358 (life): Let-bind inhibit-read-only.
5359 (life-setup): Avoid `setq'. Use `life-mode'.
5360
96dbf5a8
SM
5361 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5362 which should not be needed any more.
5363 (package-menu-refresh, package-menu-describe-package): Use user-error.
5364
e8b66a6a
SM
5365 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5366 (eshell-post-rewrite-command-hook): Make obsolete.
5367 (eshell-parse-command): Simplify.
5368 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5369 (eshell--cmd): Declare.
5370 (eshell-parse-pipeline): Remove unused var `final-p'.
5371 Pass a dynvar to eshell-post-rewrite-command-hook.
5372 Implement the new eshell-post-rewrite-command-function.
5373 (eshell-invoke-directly): Remove unused arg `input'.
5374 * eshell/esh-io.el (eshell-io-initialize):
5375 Use eshell-post-rewrite-command-function (bug#15399).
5376 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5377 adjust to new calling convention.
5378 (eshell-create-handles): Rename args to avoid clashing with dynvar
5379 `standard-output'.
5380
90582f05
GM
53812013-09-17 Glenn Morris <rgm@gnu.org>
5382
5383 * simple.el (messages-buffer-mode): New major mode.
5384 (messages-buffer): New function.
5385 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5386 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5387 (ert-run-test): Use `messages-buffer' function.
90582f05 5388 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5389 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5390 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5391
39eb0cb5 53922013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5393
5394 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5395
1d42e5b6 5396 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5397
70568a90
SM
53982013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5399
504a0381
SM
5400 * icomplete.el (icomplete-in-buffer): New var.
5401 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5402 vars and replace them with functions.
5403 (icomplete-minibuffer-setup): Adjust accordingly.
5404 (icomplete--completion-table, icomplete--completion-predicate)
5405 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5406 New functions.
5407 (icomplete-forward-completions, icomplete-backward-completions)
5408 (icomplete-simple-completing-p, icomplete-exhibit)
5409 (icomplete-completions): Use them.
5410 (icomplete--in-region-buffer): New var.
5411 (icomplete--in-region-setup): New function.
5412 (icomplete-mode): Use it.
5413
70568a90
SM
5414 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5415 (bug#15379).
5416 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5417 return args and options.
5418 (eshell-eval-using-options): Use the new return value of
5419 eshell--do-opts to set the options's vars in their scope.
5420 (eshell--set-option): Rename from eshell-set-option.
5421 Add arg `opt-vals'.
5422 (eshell--process-option): Rename from eshell-process-option.
5423 Add arg `opt-vals'.
5424 (eshell--process-args): Use an `opt-vals' alist to store the options's
5425 values during their processing and return them additionally to the
5426 remaining args.
5427
578c21bc
DG
54282013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5429
5430 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5431 continuation character an operator, as far as indentation is
5432 concerned (Bug#15369).
5433
c089653d
MR
54342013-09-15 Martin Rudalics <rudalics@gmx.at>
5435
5436 * window.el (window--state-put-2): Don't process buffer state
5437 when buffer doesn't exist any more (Bug#15382).
5438
1e53bb4b
GM
54392013-09-15 Glenn Morris <rgm@gnu.org>
5440
30753242
GM
5441 * eshell/em-unix.el (eshell/rm):
5442 Make -f ignore missing files. (Bug#15373)
5443
1e53bb4b
GM
5444 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5445 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5446 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5447
0d8863b3
GM
54482013-09-14 Glenn Morris <rgm@gnu.org>
5449
5450 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5451
d3fc6549
GM
54522013-09-13 Glenn Morris <rgm@gnu.org>
5453
5454 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5455 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5456
fcd42c11
DA
54572013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5458
5459 * frame.el (x-focus-frame): Mark as declared in frame.c.
5460
7830899f
SM
54612013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 * ls-lisp.el: Use advice-add.
5464 (original-insert-directory): Remove.
5465 (ls-lisp--insert-directory): Rename from insert-directory; add
5466 `orig-fun' argument.
5467 (insert-directory): Advise.
5468
84387cd2
EZ
54692013-09-13 Eli Zaretskii <eliz@gnu.org>
5470
5471 * term.el (term-emulate-terminal): Decode the command string
5472 before passing it to term-command-hook. (Bug#15337)
5473
35ffc6ba
GM
54742013-09-13 Glenn Morris <rgm@gnu.org>
5475
5c3f9bcc
GM
5476 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5477
2ada368a
GM
5478 * eshell/esh-ext.el (eshell-search-path): Declare.
5479
fcef2e13
GM
5480 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5481 Otherwise an error occurs if eshell-dirs module not loaded.
5482
35ffc6ba
GM
5483 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5484
35c3d36e
MA
54852013-09-13 Michael Albinus <michael.albinus@gmx.de>
5486
5487 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5488 `tramp-check-proper-host'. Check for a valid method name.
5489
5490 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5491 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5492 * net/tramp-sh.el (tramp-maybe-open-connection):
5493 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5494
5495 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5496 also for hash values.
5497
ae5e4c48
SM
54982013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5499
379add74
SM
5500 * term/ns-win.el (parameters): Don't declare as dynamic.
5501 (before-make-frame-hook): Don't add ineffective function.
5502
ae5e4c48
SM
5503 * eshell/*.el: Use lexical-binding (bug#15231).
5504
b5623270
KH
55052013-09-12 Kenichi Handa <handa@gnu.org>
5506
ae5e4c48 5507 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5508
30213927
GM
55092013-09-12 Glenn Morris <rgm@gnu.org>
5510
be94d713 5511 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5512 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5513
44915370
GM
5514 * subr.el (do-after-load-evaluation): Also give compiler warnings
5515 when obsolete files are used (except by obsolete files).
5516
a6ae021f
GM
5517 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5518 in the status output, assume `filename' is the first. (Bug#15322)
5519
40e64f0c
GM
5520 * vc/vc.el (vc-deduce-fileset): Doc fix.
5521
16d9f896
GM
5522 * calc/calc-help.el (Info-goto-node):
5523 * progmodes/cperl-mode.el (Info-find-node):
5524 * vc/ediff.el (Info-goto-node): Update declarations.
5525
dea01c6e
GM
5526 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5527
759880bf 5528 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5529 (vc-bzr-pull): Require vc-dispatcher.
5530 * vc/vc-git.el (vc-compilation-mode): Declare.
5531 (vc-git-pull): Require vc-dispatcher.
5532
08d66420
GM
5533 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5534
30b626e9
GM
5535 * progmodes/octave.el (help-button-action): Declare.
5536
8c05cb10
GM
5537 * shell.el (shell-directory-tracker): Output error as a message
5538 rather than just returning it as a string.
5539 (shell-process-pushd): Remove useless use of message.
5540
30213927
GM
5541 * dframe.el (dframe-timer-fn):
5542 * files.el (dir-locals-read-from-file):
5543 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5544 (mpc-format):
5545 * reveal.el (reveal-post-command):
5546 * saveplace.el (load-save-place-alist-from-file):
5547 * shell.el (shell-resync-dirs):
5548 * w32-common-fns.el (x-get-selection-value):
5549 * emacs-lisp/copyright.el (copyright-find-copyright):
5550 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5551 * emulation/tpu-edt.el (tpu-copy-keyfile):
5552 * play/bubbles.el (bubbles--mark-neighbourhood):
5553 * progmodes/executable.el
5554 (executable-make-buffer-file-executable-if-script-p):
5555 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5556
d3b049e6
SM
55572013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5558
170266d0
SM
5559 Cleanup Eshell to rely less on dynamic scoping.
5560 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5561 last-value, and ext-command here. Bind `args' closer to `body'.
5562 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5563 (eshell--args): Declare new dynamic var.
5564 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5565 last-value, and ext-command. Pass `args' to `body'.
5566 (eshell-process-args): Bind eshell--args.
5567 (eshell-set-option): Use eshell--args.
5568 * eshell/eshell.el (eshell): Use derived-mode-p.
5569 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5570 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5571 (eshell-glob-function): Declare.
5572 * eshell/esh-util.el: Require cl-lib.
5573 (eshell-read-hosts-file): Avoid add-to-list.
5574 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5575 `err'.
5576 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5577 Declare.
5578 (eshell/diff): Remove unused var `err'.
5579 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5580 `killflag'.
5581 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5582 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5583 first use.
5584 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5585 Move declaration before first use.
5586 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5587 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5588 rely on cl-return.
5589
56834f3b
GM
55902013-09-12 Glenn Morris <rgm@gnu.org>
5591
5592 * term/ns-win.el (global-map): Remove binding for ispell-next,
5593 deleted 1999-05-29. (Bug#15357)
5594
5c91a2b8
GM
55952013-09-11 Glenn Morris <rgm@gnu.org>
5596
da712f22
GM
5597 * echistory.el (electric-command-history): Remove call to deleted func.
5598
512e4cdc
GM
5599 * play/landmark.el (landmark-mode): Fix typos.
5600
d3506ca5
GM
5601 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5602 Check cvs-sort-ignore-file is bound.
5603
5c91a2b8
GM
5604 * savehist.el: No need for cl when compiling on Emacs.
5605
feeff482
SM
56062013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5607
656bd483
SM
5608 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5609 (bug#15338).
d3b049e6
SM
5610 (eshell-self-insert-command, eshell-send-invisible):
5611 Remove unused argument.
656bd483
SM
5612 (eshell-handle-control-codes): Remove unused var `orig'.
5613 Avoid delete-backward-char.
5614
feeff482
SM
5615 * files.el (set-auto-mode): Simplify a bit further.
5616
2a08047a
GM
56172013-09-11 Glenn Morris <rgm@gnu.org>
5618
5619 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5620 (set-auto-mode): Don't regexp-quote elements.
5621 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5622 * progmodes/cc-mode.el (interpreter-mode-alist):
5623 * progmodes/ruby-mode.el (interpreter-mode-alist):
5624 Revert previous change.
5625
34675540
SM
56262013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5627
1b3b87df
SM
5628 * play/snake.el (snake-mode):
5629 * play/mpuz.el (mpuz-mode):
5630 * play/landmark.el (lm-mode):
5631 * play/blackbox.el (blackbox-mode):
5632 * play/5x5.el (5x5-mode):
5633 * obsolete/options.el (Edit-options-mode):
5634 * net/quickurl.el (quickurl-list-mode):
5635 * net/newst-treeview.el (newsticker-treeview-mode):
5636 * mail/rmailsum.el (rmail-summary-mode):
5637 * mail/mspools.el (mspools-mode):
5638 * locate.el (locate-mode):
5639 * ibuffer.el (ibuffer-mode):
5640 * emulation/ws-mode.el (wordstar-mode):
5641 * emacs-lisp/debug.el (debugger-mode):
5642 * array.el (array-mode):
5643 * net/eudc.el (eudc-mode): Use define-derived-mode.
5644 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5645 Move initialization into declaration.
5646 (mairix-searches-mode): Use define-derived-mode.
5647 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5648 (eudc-edit-hotlist): Use dolist.
5649 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5650 (Man-mode): Use define-derived-mode.
5651 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5652 (Info-edit-mode): Use define-derived-mode.
5653 (Info-cease-edit): Use Info-mode.
5654 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5655 into declaration.
5656 (eshell-mode): Use define-derived-mode.
5657 * chistory.el (command-history-mode-map): Rename from
5658 command-history-map.
5659 (command-history-mode): Use define-derived-mode.
da712f22 5660 (Command-history-setup): Remove function.
1b3b87df
SM
5661 * calc/calc.el (calc-trail-mode-map): New var.
5662 (calc-trail-mode): Use define-derived-mode.
5663 (calc-trail-buffer): Set calc-main-buffer manually.
5664 * bookmark.el (bookmark-insert-annotation): New function.
5665 (bookmark-edit-annotation): Use it.
5666 (bookmark-edit-annotation-mode): Make it a proper major mode.
5667 (bookmark-send-edited-annotation): Use derived-mode-p.
5668 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5669 closer to its ideal place. Use \' to match EOS.
5670
34675540
SM
5671 * profiler.el (profiler-calltree-find): Use function-equal.
5672
6a5c15d9
GM
56732013-09-10 Glenn Morris <rgm@gnu.org>
5674
1af4c220
GM
5675 * files.el (interpreter-mode-alist): Convert to regexps.
5676 (set-auto-mode): Adapt for this. (Bug#15306)
5677 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5678 Comment out unused variable.
5679 * progmodes/cc-mode.el (interpreter-mode-alist):
5680 * progmodes/python.el (interpreter-mode-alist):
5681 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5682 * progmodes/sh-script.el (sh-set-shell):
5683 No longer use interpreter-mode-alist to get list of shells.
5684
6a5c15d9
GM
5685 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5686
8c27f5ff
SM
56872013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5688
02ef6c1a 5689 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5690 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5691 Bind switch-frame explicitly. Replace universal-argument-minus with
5692 a conditional binding.
5693 (universal-argument-num-events, saved-overriding-map): Remove.
5694 (restore-overriding-map): Remove.
5695 (universal-argument--mode): Rename from save&set-overriding-map,
5696 and rewrite.
5697 (universal-argument, universal-argument-more, negative-argument)
5698 (digit-argument): Adjust accordingly.
5699 (universal-argument-minus): Remove.
5700 (universal-argument-other-key): Remove.
5701
8c27f5ff
SM
5702 * subr.el (with-demoted-errors): Add `format' argument.
5703
6480194c
MA
57042013-09-10 Michael Albinus <michael.albinus@gmx.de>
5705
5706 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5707 `tramp-cleanup-connection'.
5708
5709 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5710 parameters KEEP-DEBUG and KEEP-PASSWORD.
5711
5712 * net/tramp.el (tramp-file-name-handler):
5713 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5714 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5715 (tramp-maybe-open-connection):
8c27f5ff
SM
5716 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5717 Use `tramp-cleanup-connection'.
6480194c 5718
8c27f5ff
SM
5719 * net/tramp-sh.el (tramp-maybe-open-connection):
5720 Catch 'uname-changed inside the progress reporter.
6480194c 5721
e5e916d8
GM
57222013-09-10 Glenn Morris <rgm@gnu.org>
5723
9a2c9b47
GM
5724 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5725
e5e916d8
GM
5726 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5727 returns "alternate access method" in mode (eg "-rw-r--r--.").
5728
144e38fe
GM
57292013-09-08 Glenn Morris <rgm@gnu.org>
5730
5731 * saveplace.el (load-save-place-alist-from-file):
5732 Demote errors. (Bug#15305)
5733
af9ff9e8
MA
57342013-09-08 Michael Albinus <michael.albinus@gmx.de>
5735
5736 Improve compatibility with older Emacsen, and XEmacs.
5737
5738 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5739 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5740 (with-tramp-progress-reporter): Do not let-bind `result'.
5741 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5742 (tramp-handle-make-auto-save-file-name): New function, moved from
5743 tramp-sh.el.
5744
5745 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5746 for `make-auto-save-file-name'.
8c27f5ff
SM
5747 (tramp-adb--gnu-switches-to-ash):
5748 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5749
5750 * net/tramp-cache.el (tramp-cache-print): Call
5751 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5752
5753 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5754 bound. It isn't for XEmacs.
5755
8c27f5ff
SM
5756 * net/tramp-compat.el (tramp-compat-copy-file):
5757 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5758 (tramp-compat-replace-regexp-in-string): New defun.
5759
5760 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5761 for `make-auto-save-file-name'.
5762 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5763 `copy-file'.
5764 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5765 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5766 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5767
8c27f5ff
SM
5768 * net/tramp-gw.el (tramp-gw-open-network-stream):
5769 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5770
8c27f5ff
SM
5771 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5772 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5773 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5774 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5775 (tramp-sh-file-inotifywait-process-filter):
5776 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5777 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5778
5779 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5780 for `make-auto-save-file-name'.
8c27f5ff
SM
5781 (tramp-smb-handle-copy-directory):
5782 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5783 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5784 (tramp-smb-handle-copy-file): Improve error message.
5785 (tramp-smb-handle-rename-file): Rename directly only in case
5786 `newname' does not exist yet. This is a restriction of smbclient.
5787 (tramp-smb-maybe-open-connection): Rerun the function only when
5788 `auth-sources' is non-nil.
5789
0ca754d0
KH
57902013-09-08 Kenichi Handa <handa@gnu.org>
5791
e0eb0550 5792 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5793 more characters.
5794
e8dd0787
AM
57952013-09-07 Alan Mackenzie <acm@muc.de>
5796
5797 Correctly fontify Java class constructors.
5798 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5799 in Java Mode.
5800 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5801 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5802 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5803 "typeless" declaration there.
5804
f2f248e7
RW
58052013-09-07 Roland Winkler <winkler@gnu.org>
5806
5807 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5808 field subtitle for entry type book.
5809
67982e2b
SM
58102013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5811
5812 * minibuffer.el: Make minibuffer-complete call completion-in-region
5813 rather than other way around.
5814 (completion--some, completion-pcm--find-all-completions):
5815 Don't delay signals when debugging.
5816 (minibuffer-completion-contents): Beware fields within the
5817 minibuffer contents.
5818 (completion-all-sorted-completions): Use defvar-local.
5819 (completion--do-completion, completion--cache-all-sorted-completions)
5820 (completion-all-sorted-completions, minibuffer-force-complete):
5821 Add args `beg' and `end'.
5822 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5823 (minibuffer-complete): Use completion-in-region.
5824 (completion-complete-and-exit): New fun, extracted from
5825 minibuffer-complete-and-exit.
5826 (minibuffer-complete-and-exit): Use it.
5827 (completion--complete-and-exit): Rename from
5828 minibuffer--complete-and-exit.
5829 (completion-in-region--single-word): New function, extracted from
5830 minibuffer-complete-word.
5831 (minibuffer-complete-word): Use it.
5832 (display-completion-list): Make `common-substring' argument obsolete.
5833 (completion--in-region): Call completion--in-region-1 instead of
5834 minibuffer-complete.
5835 (completion-help-at-point): Pass boundaries to
5836 minibuffer-completion-help as args rather than via an overlay.
5837 (completion-pcm--string->pattern): Use `any-delim'.
5838 (completion-pcm--optimize-pattern): New function.
5839 (completion-pcm--pattern->regex): Handle `any-delim'.
5840 * icomplete.el (icomplete-forward-completions)
5841 (icomplete-backward-completions, icomplete-completions):
5842 Adjust calls to completion-all-sorted-completions and
5843 completion--cache-all-sorted-completions.
5844 (icomplete-with-completion-tables): Default to t.
5845 * emacs-lisp/crm.el (crm--current-element): Rename from
5846 crm--select-current-element. Don't put an overlay but return the
5847 boundaries instead.
5848 (crm--completion-command): Take two new args to bind to the boundaries.
5849 (crm-completion-help): Adjust accordingly.
5850 (crm-complete): Use completion-in-region.
5851 (crm-complete-word): Use completion-in-region--single-word.
5852 (crm-complete-and-exit): Use completion-complete-and-exit.
5853
e17d94a5
SM
58542013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5855
5856 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5857 than dynamically.
5858
96727100
JL
58592013-09-06 Juri Linkov <juri@jurta.org>
5860
5861 * info.el (Info-display-images-node): When image file doesn't exist
5862 display text version of the image if it's provided in the Info file.
5863 Otherwise, display the location of missing image from SRC attribute.
5864 Add help-echo text property from ALT attribute. (Bug#15279)
5865
86cf7329
SM
58662013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5869 (edit-abbrevs-mode): Use define-derived-mode.
5870
5871 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5872 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5873 that it's defined.
5874 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5875 Use define-derived-mode.
5876
5877 * epg.el (epg-start-encrypt): Minor CSE simplification.
5878
816244a2
WX
58792013-09-06 William Xu <william.xwl@gmail.com>
5880
5881 * arc-mode.el: Add support for 7za (bug#15264).
5882 (archive-7z-program): New var.
5883 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5884 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5885 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5886
1486fa31
MA
58872013-09-06 Michael Albinus <michael.albinus@gmx.de>
5888
5889 Remove URL syntax.
5890
5891 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5892 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5893 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5894 (tramp-postfix-host-format, tramp-file-name-regexp)
5895 (tramp-completion-file-name-regexp)
5896 (tramp-completion-dissect-file-name)
5897 (tramp-handle-substitute-in-file-name): Remove 'url case.
5898 (tramp-file-name-regexp-url)
5899 (tramp-completion-file-name-regexp-url): Remove constants.
5900
39785324
GM
59012013-09-06 Glenn Morris <rgm@gnu.org>
5902
5903 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5904
1f896cb7
DG
59052013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5906
5907 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5908 keywords" below "here-doc beginnings" (Bug#15270).
5909
c0458e0b
SM
59102013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5911
5912 * subr.el (pop): Use `car-safe'.
5913 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5914 to detect unused `pop' return value.
5915
5916 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5917 var `block-regexp'.
5918 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5919 (python-fill-string): Remove unused var `marker'.
5920 (python-skeleton-add-menu-items): Remove unused var `items'.
5921
5922 * international/mule-cmds.el: Require CL.
5923 (find-coding-systems-for-charsets): Avoid add-to-list.
5924 (sanitize-coding-system-list): New function, extracted from
5925 select-safe-coding-system-interactively.
5926 (select-safe-coding-system-interactively): Use it.
5927 (read-input-method-name): Accept symbols for `default'.
5928
5929 * emacs-lisp/advice.el (defadvice): Add indent rule.
5930
6c42fc3e
DH
59312013-09-05 Daniel Hackney <dan@haxney.org>
5932
5933 * dired-x.el:
5934 * net/ange-ftp.el:
5935 * net/browse-url.el:
5936 * net/dbus.el:
5937 * net/eudc.el:
5938 * net/eudcb-ldap.el:
5939 * net/eww.el:
5940 * net/imap.el:
5941 * printing.el:
5942 * vc/ediff-diff.el:
5943 * vc/ediff-init.el:
5944 * vc/ediff-merg.el:
5945 * vc/ediff-mult.el:
5946 * vc/ediff-util.el:
5947 * vc/ediff-wind.el:
5948 * vc/ediff.el:
5949 * vc/emerge.el:
5950 * vc/pcvs.el:
5951 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5952 byte compiler. Remove some unused let-bound variables.
5953
4c528aab
SM
59542013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5955
5956 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5957 a "ref-cell", since it gets better optimized (bug#14883).
5958
bd15c390
GM
59592013-09-05 Glenn Morris <rgm@gnu.org>
5960
5961 * progmodes/cc-awk.el (c-forward-sws): Declare.
5962
1c3ac2e5
GM
59632013-09-04 Glenn Morris <rgm@gnu.org>
5964
5965 * generic-x.el [rul-generic-mode]: Require cc-mode.
5966 (c++-mode-syntax-table): Declare.
5967 (rul-generic-mode-syntax-table): Init in the defvar.
5968
52b1cc79
SM
59692013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5970
c828af56
SM
5971 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5972 (vc-do-command, vc-set-async-update):
5973 * vc/vc-mtn.el (vc-mtn-dir-status):
5974 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5975 (vc-hg-pull, vc-hg-merge-branch):
5976 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5977 (vc-git-merge-branch):
5978 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5979 (vc-cvs-dir-status-files):
5980 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5981 (vc-bzr-dir-status-files):
5982 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5983 * vc/vc-annotate.el: Use lexical-binding.
5984 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5985 (vc-sentinel-movepoint): Declare.
5986 (vc-annotate): Don't use `goto-line'.
5987 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5988 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5989 (vc-sentinel-movepoint): Declare.
5990 * vc/vc-svn.el: Use lexical-binding.
5991 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5992 * vc/vc-sccs.el:
5993 * vc/vc-rcs.el: Use lexical-binding.
5994
abae272c
SM
5995 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5996 `deleted'. Don't drop errors silently.
5997
52b1cc79
SM
5998 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5999
63191d9f
XF
60002013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6001
6002 * vc/vc.el (vc-ignore): Rewrite.
6003 (vc-default-ignore): New function.
6004 (vc-default-ignore-completion-table): Use find-ignore-file.
6005
6006 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6007 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6008 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6009 Remove. Most code moved to vc.el.
6010
9d3f707c
SM
60112013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6012
abae272c 6013 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
6014 * net/tramp-smb.el (tramp-smb-get-file-entries):
6015 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6016 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6017
fde38d49
SM
6018 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6019 Update call to it.
6020 (eww-change-select): Remove unused var `properties'.
6021 (eww-make-unique-file-name): Remove unused var `base'.
6022
6023 * finder.el (finder-compile-keywords): Don't mess with windows.
6024
84032db7
SM
6025 * calculator.el (calculator-funcall): Fix typo in last change.
6026
724f5e41
SM
6027 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6028
14b511d4
SM
6029 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6030 <pkg>-autoloads.el file stop us.
6031
9d3f707c 6032 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 6033 warnings, and factor out common code.
9d3f707c 6034
88527bc0
DG
60352013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6036
6037 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6038 two-character operators and whether the character preceding them
6039 changes their meaning (Bug#15208).
6040
96edb677
FEG
60412013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6042
6043 Format code sent to Python shell for robustness.
9d3f707c
SM
6044 * progmodes/python.el (python-shell-buffer-substring):
6045 New function.
96edb677
FEG
6046 (python-shell-send-region, python-shell-send-buffer): Use it.
6047
95beaef3
MA
60482013-09-02 Michael Albinus <michael.albinus@gmx.de>
6049
6050 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6051 * net/tramp.el (tramp-user-error): ... here.
6052 (tramp-find-method, tramp-check-proper-host)
6053 (tramp-dissect-file-name, tramp-debug-message)
6054 (tramp-handle-shell-command):
6055 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6056 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6057
6058 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6059
f167c27b
MR
60602013-09-02 Martin Rudalics <rudalics@gmx.at>
6061
6062 * avoid.el (mouse-avoidance-point-position)
6063 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6064 returns nil.
6065
cd16c5f1
FEG
60662013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6067
6068 * progmodes/python.el (python-shell-completion-get-completions):
6069 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 6070 (python-nav-if-name-main): New command.
cd16c5f1 6071
e73c3a0d
GM
60722013-09-01 Glenn Morris <rgm@gnu.org>
6073
f8ccce03
GM
6074 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6075 Avoid leading space in $wins. Otherwise the sed command used by
6076 eg compile-main ends up containing "/*.el". (Bug#15170)
6077
e73c3a0d
GM
6078 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6079
415f808e
GM
60802013-08-30 Glenn Morris <rgm@gnu.org>
6081
6082 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6083 Fix is-this-a-directory logic. (Bug#15220)
6084
f069bba8
SM
60852013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6086
112798c1
SM
6087 * textmodes/css-mode.el: Use SMIE.
6088 (css-smie-grammar): New var.
6089 (css-smie--forward-token, css-smie--backward-token)
6090 (css-smie-rules): New functions.
6091 (css-mode): Use them.
6092 (css-navigation-syntax-table): Remove var.
6093 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6094 (css-indent-calculate, css-indent-line): Remove functions.
6095
6096 Misc changes to reduce use of `(lambda...); and other cleanups.
6097 * cus-edit.el: Use lexical-binding.
6098 (customize-push-and-save, customize-apropos)
6099 (custom-buffer-create-internal): Use closures.
6100 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6101 * progmodes/ada-xref.el: Use setq.
6102 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6103 * dframe.el: Use lexical-binding.
6104 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6105 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6106 * descr-text.el: Use lexical-binding.
6107 (describe-text-widget, describe-text-sexp, describe-property-list):
6108 Use closures.
6109 * comint.el (comint-history-isearch-push-state): Use a closure.
6110 * calculator.el: Use lexical-binding.
6111 (calculator-number-to-string): Make it work with lexical-binding.
6112 (calculator-funcall): Same and use cl-letf.
6113
2da4c3ab
SM
6114 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6115 (lisp--company-doc-string, lisp--company-location): New functions.
6116 (lisp-completion-at-point): Use them to improve Company support.
6117
f069bba8
SM
6118 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6119 params of lambda expressions.
6120 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6121 (ruby-smie--opening-pipe-p): New function.
6122 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6123 symbols and matched |...| for formal params.
6124 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6125 from being treated as hanging. Handle "rescue".
6126
6758b6a8
GM
61272013-08-29 Glenn Morris <rgm@gnu.org>
6128
6129 * progmodes/cc-engine.el (c-pull-open-brace):
6130 Move definition before use.
6131
e8dfd197
SM
61322013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6133
6134 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6135 are immutable. Don't use `unsafe' any more.
6136 (cl--defsubst-expand): Don't substitute at the same time as keeping
6137 a residual unused let-binding. Don't use `unsafe' any more.
6138
cc585c96
GM
61392013-08-29 Glenn Morris <rgm@gnu.org>
6140
ba579ea6
GM
6141 * calendar/cal-china.el (calendar-chinese-year-cache):
6142 Recenter on 2015.
6143
8201a87e
GM
6144 * nxml/nxml-util.el (nxml-debug-clear-inside):
6145 Use cl-loop rather than loop.
6146
6ee877c7
GM
6147 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6148
cc585c96
GM
6149 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6150
27be8d39
GM
61512013-08-28 Glenn Morris <rgm@gnu.org>
6152
397440a1
GM
6153 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6154
2bb762d4
GM
6155 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6156
27be8d39
GM
6157 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6158
2d69b99e
SM
61592013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6160
f663baa7
SM
6161 * simple.el (repeat-complex-command--called-interactively-skip):
6162 New function.
6163 (repeat-complex-command): Use it (bug#14136).
6164
dd4f8b74
SM
6165 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6166 (c-define-abbrev-table): Add `doc' argument.
6167 (c-mode-abbrev-table, c++-mode-abbrev-table)
6168 (objc-mode-abbrev-table, java-mode-abbrev-table)
6169 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6170 (awk-mode-abbrev-table): Use it.
6171 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6172 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6173 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6174 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6175 Move initialization into the declaration; and remove any
6176 autoload cookie.
6177
b58969f7
SM
6178 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6179 and dynamic let binding.
6180
4021d6a6
SM
6181 * vc/smerge-mode.el: Remove redundant :group args.
6182
2d69b99e
SM
6183 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6184 to load-path.
6185
274919fd
JL
61862013-08-28 Juri Linkov <juri@jurta.org>
6187
6188 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6189 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6190 (isearch-other-meta-char): Handle an undefined shifted printing
6191 character by downshifting it. (Bug#15200)
6192
121f8c95
JL
61932013-08-28 Juri Linkov <juri@jurta.org>
6194
6195 * isearch.el (isearch-search): Change regexp error message for
6196 non-regexp searches. (Bug#15166)
6197
50b13cde
PE
61982013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6199
6200 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6201 for portability to hosts where /bin/sh has problems.
6202
95888bca
SM
62032013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6204
6205 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6206
bbe558f1
JL
62072013-08-27 Juri Linkov <juri@jurta.org>
6208
6209 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6210 in the keyboard macro. (Bug#15126)
6211
26f98a7d
JL
62122013-08-27 Juri Linkov <juri@jurta.org>
6213
6214 * isearch.el (isearch-quote-char): Comment out converting unibyte
6215 to multibyte, thus syncing with its `quoted-insert' counterpart.
6216 (Bug#15166)
6217
7c97d35e
MR
62182013-08-27 Martin Rudalics <rudalics@gmx.at>
6219
6220 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
6221 argument in call of get-largest-window (Bug#15185).
6222 Reported by Stephen Leake.
7c97d35e 6223
a0b5606e 62242013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
6225
6226 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6227
9e89d835
SM
62282013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6229
6230 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6231 from a matcher-function unless there's no more matches (bug#15161).
6232
78fc2530
MA
62332013-08-26 Michael Albinus <michael.albinus@gmx.de>
6234
6235 * minibuffer.el: Revert change from 2013-08-20.
6236
6237 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6238 with text property `tramp-default', if appropriate.
6239 (tramp-check-proper-host): New defun.
6240 (tramp-dissect-file-name): Do not check hostname. Revert change
6241 of 2013-03-18.
6242 (tramp-backtrace): Make VEC-OR-PROC optional.
6243
6244 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6245 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6246 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6247 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6248 Apply `tramp-check-proper-host'.
78fc2530 6249
edca97cd
TH
62502013-08-26 Tassilo Horn <tsdh@gnu.org>
6251
6252 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6253 lambda expression in order to have `describe-variable' display it.
6254
df54bcbd
MA
62552013-08-26 Michael Albinus <michael.albinus@gmx.de>
6256
6257 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6258 BUF can be optional. (Bug#15186)
6259
eed99101
XF
62602013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6261
6262 * progmodes/flymake.el (flymake-get-real-file-name-function):
6263 Fix broken customization. (Bug#15184)
6264
b5eb9035
AM
62652013-08-25 Alan Mackenzie <acm@muc.de>
6266
8a51e842
AM
6267 Improve indentation of bracelists defined by macros (without "=").
6268
6269 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6270 expansion begins with "{", regard it as bracelist when it doesn't
6271 contain a ";".
6272
869455d4
AM
6273 Parse C++ inher-intro when there's a template split over 2 lines.
6274
6275 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6276 rigorously the search for "class" etc. followed by ":".
6277
6278 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6279 random languages a regexp which never matches rather than nil.
6280
b5eb9035
AM
6281 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6282
6283 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6284 (c-awk-regexp-one-line-possibly-open-char-list-re)
6285 (c-awk-one-line-possibly-open-regexp-re)
6286 (c-awk-one-line-non-syn-ws*-re): Remove.
6287 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6288 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6289 (c-awk-space*-unclosed-regexp-/-re): New constants.
6290 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6291 aren't regexp delimiters.
6292
6293 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6294 handling for a rare situation in AWK Mode involving unterminated
6295 strings/regexps.
6296
61611d54
GM
62972013-08-23 Glenn Morris <rgm@gnu.org>
6298
2d85dc34
GM
6299 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6300
cb8d2612
GM
6301 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6302
bb35f42f
GM
6303 * files.el (create-file-buffer): If the result would begin with
6304 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6305
b9808e77
SM
63062013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6307
e3a66363
SM
6308 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6309 text-properties (bug#15155).
6310
b9808e77
SM
6311 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6312 exist any more.
6313 (calc-keypad-redraw): Remove unused var `pad'.
6314 (calc-keypad-press): Remove unused var `menu'.
6315
7fd5f65e
MR
63162013-08-23 Martin Rudalics <rudalics@gmx.at>
6317
b9808e77
SM
6318 * window.el (display-buffer-pop-up-frame):
6319 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6320 use it as the new frame's buffer (Bug#15133).
6321
8352b530
SM
63222013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6323
6324 * calendar/timeclock.el: Minor cleanups.
6325 (timeclock-ask-before-exiting, timeclock-use-display-time):
6326 Use `symbol'.
6327 (timeclock-modeline-display): Define as alias before the
6328 actual definition.
6329 (timeclock-mode-line-display): Use define-minor-mode.
6330 (timeclock-day-list-template): Make it a function, add an argument.
6331 (timeclock-day-list-required, timeclock-day-list-length)
6332 (timeclock-day-list-debt, timeclock-day-list-span)
6333 (timeclock-day-list-break): Adjust calls accordingly.
6334
9f7b1925
SM
63352013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6336
6337 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6338 Use read--expression so that completion works again.
6339
6e50e983
SS
63402013-08-21 Sam Steingold <sds@gnu.org>
6341
6342 Add rudimentary inferior shell interaction
6343 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6344 (sh-set-shell): Reset it.
9f7b1925
SM
6345 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6346 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6347
dbb0d350
SM
63482013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6349
6350 * align.el: Use lexical-binding.
6351 (align-region): Simplify accordingly.
6352
c88586a9
MA
63532013-08-20 Michael Albinus <michael.albinus@gmx.de>
6354
6355 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6356
6357 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6358 `non-essential' up.
6359
f95527c8
MA
63602013-08-17 Michael Albinus <michael.albinus@gmx.de>
6361
6362 * net/tramp.el:
6363 * net/tramp-adb.el:
6364 * net/tramp-cmds.el:
6365 * net/tramp-ftp.el:
6366 * net/tramp-gvfs.el:
6367 * net/tramp-gw.el:
6368 * net/tramp-sh.el: Don't wrap external variable declarations by
6369 `eval-when-compile'.
6370
4b5fe4ee
LMI
63712013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6372
6373 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6374 now that Emacs supports ImageMagick animations.
6375
13c366c9
MA
63762013-08-16 Michael Albinus <michael.albinus@gmx.de>
6377
6378 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6379 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6380
3dfc5cd6
MR
63812013-08-16 Martin Rudalics <rudalics@gmx.at>
6382
6383 * window.el (mouse-autoselect-window-select): Do autoselect when
6384 mouse pointer is on margin.
6385
4bbb4381
WP
63862013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6387
6388 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6389
3a2ddc2d
GM
63902013-08-16 Glenn Morris <rgm@gnu.org>
6391
e8bedf5a
GM
6392 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6393 Handle "Remote Directory" response of some clients. (Bug#15058)
6394
58c4682f
GM
6395 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6396 Tweak warning. (Bug#14926)
6397
57953f49
GM
6398 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6399 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6400
3a2ddc2d
GM
6401 * image-mode.el (image-mode-map): Add menu items to reverse,
6402 increase, decrease, reset animation speed.
6403 (image--set-speed, image-increase-speed, image-decrease-speed)
6404 (image-reverse-speed, image-reset-speed): New functions.
6405 (image-mode-map): Add bindings for speed commands.
6406
6407 * image.el (image-animate-get-speed, image-animate-set-speed):
6408 New functions.
6409 (image-animate-timeout): Respect image :speed property.
6410
10fa0ed3
SM
64112013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6414 previous line (bug#15101).
6415 (debugger-eval-expression, debugger-record-expression):
6416 Use read--expression (bug#15102).
6417
5d89d9d2
MA
64182013-08-15 Michael Albinus <michael.albinus@gmx.de>
6419
6420 Remove byte compiler warnings, visible when compiling with
6421 `byte-compile-force-lexical-warnings' set to t.
6422
6423 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6424 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6425 (tramp-handle-unhandled-file-name-directory)
6426 (tramp-handle-file-notify-add-watch, tramp-action-login)
6427 (tramp-action-succeed, tramp-action-permission-denied)
6428 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6429 arguments with "_".
6430
6431 * net/tramp-adb.el (tramp-adb-parse-device-names)
6432 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6433 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6434 (tramp-adb-handle-file-truename): Remove unused arguments.
6435
6436 * net/tramp-cache.el (tramp-flush-directory-property)
6437 (tramp-flush-connection-property, tramp-list-connections)
6438 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6439
10fa0ed3
SM
6440 * net/tramp-compat.el (tramp-compat-make-temp-file):
6441 Rename FILENAME to F.
5d89d9d2
MA
6442
6443 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6444 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6445 (tramp-zeroconf-parse-workstation-device-names)
6446 (tramp-zeroconf-parse-webdav-device-names)
6447 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6448
6449 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6450 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6451
6452 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6453 arguments.
6454 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6455 (tramp-sh-handle-insert-file-contents-literally)
6456 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6457 with "_".
6458 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6459 Remove unused variables.
6460
6461 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6462 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6463 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6464
6465 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6466 Make them a defconst.
6467 (tramp-uuencode-region): Remove unused variable.
6468
62f33bae
JB
64692013-08-14 Juanma Barranquero <lekktu@gmail.com>
6470
6471 * frameset.el (frameset--prop-setter): New function.
6472 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6473 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6474 parameter was already set in FILTERED. Doc fix.
6475 (frameset--record-minibuffer-relationships): Allow saving a
6476 minibufferless frame without its corresponding minibuffer frame.
6477 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6478 frame, if the frame id matches.
6479 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6480 frames before orphaned ones.
6481 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6482
c660a885
MR
64832013-08-14 Martin Rudalics <rudalics@gmx.at>
6484
6485 * window.el (window-make-atom): Don't overwrite parameter
6486 already present.
6487 (display-buffer-in-atom-window): Handle special case where we
6488 split an already atomic window.
6489 (window--major-non-side-window, display-buffer-in-side-window)
6490 (window--side-check): Ignore minibuffer window when walking
6491 window tree.
6492 (window-deletable-p): Return 'frame only if no other frame uses
6493 our minibuffer window.
6494 (record-window-buffer): Run buffer-list-update-hook.
6495 (split-window): Make sure window--check-frame won't destroy an
6496 existing atomic window in case the new window gets nested
6497 inside.
6498 (display-buffer-at-bottom): Ignore minibuffer window when
6499 walking window tree. Don't split a side window.
6500 (pop-to-buffer): Don't set-buffer here, the select-window call
6501 should do that.
6502 (mouse-autoselect-window-select): Autoselect only if we are in the
6503 text portion of the window.
6504
8259030d
LMI
65052013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6506
21c58ae2
LMI
6507 * net/shr.el (shr-parse-image-data): New function to grab both the
6508 data itself and the Content-Type.
6509 (shr-put-image): Use it.
6510
6511 * net/eww.el (eww-display-image): Ditto.
6512
8259030d
LMI
6513 * image.el (image-content-type-suffixes): New variable.
6514
ad756449
FEG
65152013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6516
6517 * progmodes/python.el (python-imenu--build-tree)
6518 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6519
f73f4ce6
XF
65202013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6521
6522 * simple.el (backward-word): Mention the optional argument.
6523
1f585e65
SM
65242013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * frameset.el (frameset--make): Rename constructor from make-frameset.
6527 (frameset-p, frameset-valid-p): Don't autoload.
6528 (frameset-valid-p): Use normal accessors.
6529
af1c6c84
GM
65302013-08-13 Glenn Morris <rgm@gnu.org>
6531
55e47f95
GM
6532 * progmodes/compile.el (compile-command): Tweak example in doc.
6533 * obsolete/scribe.el (scribe-mode):
6534 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6535
f0024d8c
GM
6536 * mail/feedmail.el (feedmail-confirm-outgoing)
6537 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6538
6539 * cus-start.el (truncate-partial-width-windows): Fix type.
6540
6541 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6542
af1c6c84
GM
6543 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6544
5514cc4c
SM
65452013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6546
6547 * emacs-lisp/timer.el (timer--time-setter): New function.
6548 (timer--time): Use it as gv-setter.
6549
6550 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6551 setter is not a symbol.
6552
7997a2f1
GJ
65532013-08-12 Grégoire Jadi <daimrod@gmail.com>
6554
6555 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6556 if sending fails. This makes debugging easier.
6557
01f1a9ab
JB
65582013-08-12 Juanma Barranquero <lekktu@gmail.com>
6559
6560 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6561 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6562 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6563
594a4307
EZ
65642013-08-12 Eli Zaretskii <eliz@gnu.org>
6565
6566 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6567
7a22490f 65682013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6569
6570 * format.el (format-annotate-function):
6571 Handle read-only text properties in the source. (Bug#14887)
6572
3e41a054
LMI
65732013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6574
5514cc4c
SM
6575 * net/eww.el (eww-display-html): Ignore coding system errors.
6576 One web site uses "utf-8lias" as the coding system.
3e41a054 6577
7ec326db
JB
65782013-08-11 Juanma Barranquero <lekktu@gmail.com>
6579
6580 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6581
5660113b
JB
65822013-08-10 Juanma Barranquero <lekktu@gmail.com>
6583
9a4ebc74
JB
6584 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6585 (tutorial--detailed-help): Remove unused local variables.
6586 (tutorial--save-tutorial-to): Use ignore-errors.
6587 (help-with-tutorial): Use looking-at-p.
6588
6589 * view.el (view-buffer-other-window, view-buffer-other-frame):
6590 Mark unused arguments.
6591
6592 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6593 (woman-select-symbol-fonts, woman, woman-find-file)
6594 (woman-insert-file-contents, woman-non-underline-faces):
6595 Use string-match-p.
6596 (woman1-unquote): Move declaration.
6597
6598 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6599 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6600 argument. Remove unused local variable.
6601 (xml-parse-elem-type): Use string-match-p.
6602 (xml-substitute-numeric-entities): Use ignore-errors.
6603
45fdb482
JB
6604 * calculator.el (calculator): Mark unused argument.
6605 (calculator-paste, calculator-quit, calculator-integer-p):
6606 Use ignore-errors.
6607 (calculator-string-to-number, calculator-decimal, calculator-exp)
6608 (calculator-op-or-exp): Use string-match-p.
6609
6610 * dired.el (dired-buffer-more-recently-used-p): Declare.
6611 (dired-insert-set-properties, dired-insert-old-subdirs):
6612 Use ignore-errors.
6613
6614 * dired-aux.el (dired-compress): Use ignore-errors.
6615 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6616 (dired-do-async-shell-command, dired-do-shell-command)
6617 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6618 (dired-insert-subdir-validate): Use string-match-p.
6619 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6620 (dired-add-entry): Use string-match-p, looking-at-p.
6621 (dired-insert-subdir-newpos): Remove unused local variable.
6622
6623 * filenotify.el (file-notify-callback): Remove unused local variable.
6624
6625 * filesets.el (filesets-error): Mark unused argument.
6626 (filesets-which-command-p, filesets-filter-dir-names)
6627 (filesets-directory-files, filesets-get-external-viewer)
6628 (filesets-ingroup-get-data): Use string-match-p.
6629
6630 * find-file.el (ff-other-file-name, ff-other-file-name)
6631 (ff-find-the-other-file, ff-cc-hh-converter):
6632 Remove unused local variables.
6633 (ff-get-file-name): Use string-match-p.
6634 (ff-all-dirs-under): Use ignore-errors.
6635
6636 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6637 (follow-select-if-visible): Remove unused local variable.
6638
6639 * forms.el (read-file-filter): Move declaration.
6640 (forms--make-format, forms--make-parser, forms-insert-record):
6641 Quote function with #'.
6642 (forms--update): Use string-match-p. Quote function with #'.
6643
6644 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6645 (help-make-xrefs): Use looking-at-p.
6646 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6647
6648 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6649 (ibuffer-confirm-operation-on): Use string-match-p.
6650
6651 * msb.el (msb-item-handler, msb-dired-item-handler):
6652 Mark unused arguments.
6653
6654 * ses.el (ses-decode-cell-symbol)
6655 (ses-kill-override): Remove unused local variable.
6656 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6657 (ses-load): Use ignore-errors, looking-at-p.
6658 (ses-jump-safe): Use ignore-errors.
6659 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6660
6661 * tabify.el (untabify, tabify): Mark unused arguments.
6662
6663 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6664 Mark unused argument.
6665 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6666 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6667
c880af52
JB
6668 * emacs-lisp/timer.el (timer--time): Define setter with
6669 gv-define-setter to avoid deprecation warning.
6670
5660113b 6671 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6672 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6673 (cmpl-statistics-block): Remove (body was commented out).
6674 All callers changed.
6675 (add-completions-from-buffer, load-completions-from-file):
6676 Remove unused variables.
6677
156aab80
JB
66782013-08-09 Juanma Barranquero <lekktu@gmail.com>
6679
5c5dee78
JB
6680 * filecache.el (file-cache-delete-file-list):
6681 Print message only when told so.
6682 (file-cache-files-matching): Use #' in mapconcat argument.
6683
156aab80
JB
6684 * ffap.el (ffap-url-at-point): Fix reference to variable
6685 thing-at-point-default-mail-uri-scheme.
6686
ad9dcd70
SM
66872013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6688
54bd972f
SM
6689 * subr.el (define-error): New function.
6690 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6691 error-file-not-found and define with define-error.
6692 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6693 and define with define-error.
6694 * userlock.el (file-locked, file-supersession):
6695 * simple.el (mark-inactive):
6696 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6697 * progmodes/ada-mode.el (ada-mode-errors):
6698 * play/life.el (life-extinct):
6699 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6700 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6701 * nxml/rng-util.el (rng-error):
6702 * nxml/rng-uri.el (rng-uri-error):
6703 * nxml/rng-match.el (rng-compile-error):
6704 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6705 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6706 * nxml/nxml-rap.el (nxml-scan-error):
6707 * nxml/nxml-outln.el (nxml-outline-error):
6708 * net/soap-client.el (soap-error):
6709 * net/gnutls.el (gnutls-error):
6710 * net/ange-ftp.el (ftp-error):
6711 * mpc.el (mpc-proc-error):
6712 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6713 (json-number-format, json-string-escape, json-string-format)
6714 (json-key-format, json-object-format):
6715 * jka-compr.el (compression-error):
6716 * international/quail.el (quail-error):
6717 * international/kkc.el (kkc-error):
6718 * emacs-lisp/ert.el (ert-test-failed):
6719 * calc/calc.el (calc-error, inexact-result, math-overflow)
6720 (math-underflow):
6721 * bookmark.el (bookmark-error-no-filename):
6722 * epg.el (epg-error): Define with define-error.
6723
0ea9e53a
SM
6724 * time.el (display-time-event-handler)
6725 (display-time-next-load-average): Don't call sit-for since it seems
6726 unnecessary (bug#15045).
6727
b0429158
SM
6728 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6729 Use #' instead of ' to quote functions.
6730 (checkdoc-output-mode): Use setq-local.
6731 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6732 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6733 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6734 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6735 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6736 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6737 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6738 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6739
ad9dcd70
SM
6740 * ido.el (ido-completion-help): Fix up compiler warning.
6741
77187e6f
JB
67422013-08-09 Juanma Barranquero <lekktu@gmail.com>
6743
6744 * frameset.el (frameset-p): Add autoload cookie.
6745 (frameset--jump-to-register): New function, based on code moved from
6746 register.el.
6747 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6748
6749 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6750 (frameset-restore, frameset-save, frameset-session-filter-alist):
6751 Remove declarations.
6752 (register-alist): Doc fix.
6753 (frameset-to-register): Move to frameset.el.
6754 (jump-to-register, describe-register-1): Remove frameset-specific code.
6755
9d3aa82c
JB
67562013-08-08 Juanma Barranquero <lekktu@gmail.com>
6757
6758 * allout-widgets.el (allout-widgets-pre-command-business)
6759 (allout-widgets-post-command-business)
6760 (allout-widgets-after-change-handler)
6761 (allout-decorate-item-and-context, allout-set-boundary-marker)
6762 (allout-body-modification-handler)
6763 (allout-graphics-modification-handler): Mark ignored arguments.
6764 (allout-widgets-post-command-business)
6765 (allout-widgets-exposure-change-processor)
6766 (allout-widgets-exposure-undo-processor)
6767 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6768 (allout-parse-item-at-point, allout-decorate-item-guides)
6769 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6770 * allout.el (epa-passphrase-callback-function): Declare.
6771 (allout-overlay-insert-in-front-handler)
6772 (allout-overlay-interior-modification-handler)
6773 (allout-isearch-end-handler, allout-chart-siblings)
6774 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6775 (allout-yank-processing, allout-process-exposed)
6776 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6777 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6778 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6779 (lisp-indent-defform): Mark ignored arguments.
6780 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6781 (calculate-lisp-indent): Remove unused variables.
6782 * international/characters.el (indian-2-column, arabic-2-column)
6783 (tibetan): Mark ignored arguments.
6784 (use-cjk-char-width-table): Mark ignored arguments.
6785 Remove unused variables.
6786 * international/fontset.el (build-default-fontset-data)
6787 (x-compose-font-name, create-fontset-from-fontset-spec):
6788 Mark ignored arguments.
6789 (fontset-plain-name): Remove unused variables.
6790 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6791 (keyboard-coding-system): Mark ignored arguments.
6792 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6793 * help.el (resize-temp-buffer-window):
6794 * window.el (display-buffer-in-major-side-window)
6795 (display-buffer-in-side-window, display-buffer-in-previous-window):
6796 Remove unused variables.
6797 * isearch.el (isearch-forward-symbol):
6798 * version.el (emacs-bzr-version-bzr):
6799 * international/mule-cmds.el (current-language-environment):
6800 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6801 (x-handle-display):
6802 * term/pc-win.el (x-list-fonts, x-display-planes)
6803 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6804 (x-server-version, x-display-screens, x-display-mm-height)
6805 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6806 (x-selection-owner-p, x-own-selection-internal)
6807 (x-disown-selection-internal, x-get-selection-internal)
6808 (msdos-initialize-window-system):
6809 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6810 * term/x-win.el (x-handle-no-bitmap-icon):
6811 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6812 (vc-default-find-file-hook, vc-default-extra-menu):
6813 Mark ignored arguments.
6814
0ca3f70e
SM
68152013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6818 break-condition in the context of the debugged code (bug#12685).
6819
74c5d24c
CS
68202013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6821
6822 * comint.el:
6823 Do not use an overlay to highlight the last prompt. (Bug#14744)
6824 (comint-mode): Make comint-last-prompt buffer local.
6825 (comint-last-prompt): New variable.
6826 (comint-last-prompt-overlay): Remove. Superseded by
6827 comint-last-prompt.
0ca3f70e
SM
6828 (comint-snapshot-last-prompt, comint-output-filter):
6829 Use comint-last-prompt.
74c5d24c 6830
c03c02ee
JB
68312013-08-08 Juanma Barranquero <lekktu@gmail.com>
6832
a3738d20 6833 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6834 (frameset-save): Check validity of the resulting frameset.
6835
04263d23
XF
68362013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6837
6838 * ido.el (ido-record-command): Add doc string.
6839
76c5e5ab
JB
68402013-08-08 Juanma Barranquero <lekktu@gmail.com>
6841
6842 * frameset.el (frameset): Do not disable creation of the default
6843 frameset-p predicate. Doc fix.
6844 (frameset-valid-p): New function, copied from the old predicate-p.
6845 Add additional checks.
6846 (frameset-restore): Check with frameset-valid-p.
6847 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6848 (frameset-name, frameset-description, frameset-properties)
6849 (frameset-states): Add docstring.
f9dbf1cb
JB
6850 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6851 (frameset-filter-alist): Doc fixes.
76c5e5ab 6852
bd0c3c0b
JB
68532013-08-08 Juanma Barranquero <lekktu@gmail.com>
6854
6855 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6856
c735544c
SM
68572013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6858
6859 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6860 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6861 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6862 (byte-compile-normal-call): Remove obsolescence check.
6863
2805a651
JB
68642013-08-08 Juanma Barranquero <lekktu@gmail.com>
6865
3677ffeb
JB
6866 * frameset.el (frameset-restore): Doc fix.
6867
2805a651
JB
6868 * register.el (frameset-frame-id, frameset-frame-with-id)
6869 (frameset-p, frameset-restore, frameset-save): Declare.
6870 (register-alist): Document framesets.
6871 (frameset-session-filter-alist): Declare.
6872 (frameset-to-register): New function.
6873 (jump-to-register): Implement jumping to framesets. Doc fix.
6874 (describe-register-1): Describe framesets.
6875
6876 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6877
a912c016
JB
68782013-08-07 Juanma Barranquero <lekktu@gmail.com>
6879
6880 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6881 Use lexical-binding.
6882
6883 * frameset.el (frameset): Use type vector, not list (incompatible
6884 change). Do not declare a new constructor, use the default one.
6885 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6886 `name' and `description', respectively, and add read-only slot
6887 `timestamp'. Doc fixes.
6888 (frameset-copy, frameset-persistent-filter-alist)
6889 (frameset-filter-alist, frameset-switch-to-gui-p)
6890 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6891 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6892 (frameset-filter-iconified, frameset-keep-original-display-p):
6893 Doc fixes.
6894 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6895 Rename from frameset-filter-(save|restore)-param. All callers changed.
6896 Doc fix.
6897 (frameset-p): Adapt to change to vector and be more thorough.
6898 Change arg name to OBJECT. Doc fix.
6899 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6900 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6901 All callers changed.
6902 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6903 All callers changed.
6904 (frameset--record-minibuffer-relationships): Rename from
6905 frameset--process-minibuffer-frames. All callers changed.
6906 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6907 Use new default constructor (again). Doc fix.
6908 (frameset--find-frame-if): Rename from `frameset--find-frame.
6909 All callers changed.
6910 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6911 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6912 Doc fix.
6913 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6914 PARAMETERS and WINDOW-STATE, respectively.
6915 (frameset-restore): Add new keyword argument PREDICATE.
6916 Reset frameset--target-display to nil. Doc fix.
6917
bb41480a
SM
69182013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6919
f001e98e
SM
6920 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6921 (bat-mode): Use it.
6922 (bat-mode-syntax-table): Mark \n as end-of-comment.
6923 (bat-font-lock-keywords): Remove comment rule.
6924
7679edb1
SM
6925 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6926 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6927
bb41480a
SM
6928 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6929 (byte-compile-callargs-warn): Use `push'.
6930 (byte-compile-arglist-warn): Ignore higher-order "calls".
6931 (byte-compile-file-form-autoload): Use `pcase'.
6932 (byte-compile-function-form): If quoting a symbol, check that it exists.
6933
cdc1ebb9
EZ
69342013-08-07 Eli Zaretskii <eliz@gnu.org>
6935
6936 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6937 and add a few popular commands found in batch files.
6938 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6939 (dos-mode): Doc fixes.
6940
312b1740
SM
69412013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6942
6943 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6944 (dos-mode): Use setq-local. Add space after "rem".
6945 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6946 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6947
400a3178
AM
69482013-08-07 Arni Magnusson <arnima@hafro.is>
6949
6950 * progmodes/dos.el: New file.
6951 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6952 dos-mode.
6953
3b5c03d3
GM
69542013-08-06 Glenn Morris <rgm@gnu.org>
6955
6956 * calendar/calendar.el: Add new faces, and day-header-array.
6957 (calendar-weekday-header, calendar-weekend-header)
6958 (calendar-month-header): New faces.
6959 (calendar-day-header-construct): New function.
6960 (calendar-day-header-width): Also :set calendar-day-header-array.
6961 (calendar-american-month-header, calendar-european-month-header)
6962 (calendar-iso-month-header): Use calendar- faces.
6963 (calendar-generate-month):
6964 Use calendar-day-header-array for day headers; apply faces to them.
6965 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6966 (calendar-abbrev-construct): Add optional maxlen argument.
6967 (calendar-day-name-array): Doc fix.
6968 (calendar-day-name-array, calendar-abbrev-length)
6969 (calendar-day-abbrev-array):
6970 Also :set calendar-day-header-array, and maybe redraw.
6971 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6972 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6973 (calendar-day-name): Add option to use header array.
6974
ec6a2d7a
LMI
69752013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6976
6977 * net/shr.el (shr-render-td): Remove debugging.
6978 (shr-render-td): Make width computation consistent by defaulting
6979 all zero-width columns to 10 characters. This may not be optimal,
6980 but it's at least consistent.
2122cb6d
LMI
6981 (shr-make-table-1): Redo last change to fix the real problem in
6982 colspan handling.
ec6a2d7a 6983
ed4fd9c5
DA
69842013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6985
0ca3f70e
SM
6986 * files.el (cache-long-line-scans):
6987 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6988
64e22afe
JB
69892013-08-06 Juanma Barranquero <lekktu@gmail.com>
6990
024b38fc
JB
6991 * frameset.el (frameset, frameset-filter-alist)
6992 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6993 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6994 (frameset-compute-pos): Rename from frameset--compute-pos,
6995 and add docstring.
6996 (frameset-move-onscreen): Use frameset-compute-pos.
6997 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6998
64e22afe
JB
6999 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7000 Fix typos in docstrings.
7001
c8c2aca8
DA
70022013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7003
7004 * frame.el (get-other-frame): Tiny cleanup.
7005
1d237bba
JB
70062013-08-06 Juanma Barranquero <lekktu@gmail.com>
7007
8951efef
JB
7008 * vc/vc.el (vc-default-ignore-completion-table):
7009 Silence byte-compiler warning.
7010
307764cc 7011 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 7012 slot, which can indeed be nil.
307764cc
JB
7013 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7014 Move entry for `left' from persistent to live filter alist.
7015 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7016 Doc fixes.
7017 (frameset-filter-params): When restoring a frame, copy items added to
7018 `filtered', to avoid unwittingly modifying the original parameters.
7019 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7020 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7021
1d237bba
JB
7022 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7023 to use looking-at-p instead of looking-at. (Bug#15028)
7024
dc6c0eda
SM
70252013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7026
7027 Revert introduction of isearch-filter-predicates (bug#14714).
7028 Rely on add-function instead.
7029 * isearch.el (isearch-filter-predicates): Rename it back to
7030 isearch-filter-predicate.
7031 (isearch-message-prefix): Use advice-function-mapc and advice
7032 properties to get the isearch-message-prefix.
7033 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7034 instead of run-hook-with-args-until-failure.
7035 (isearch-filter-visible): Not obsolete any more.
7036 * loadup.el: Preload nadvice.
7037 * replace.el (perform-replace): Revert to funcall
7038 instead of run-hook-with-args-until-failure.
7039 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7040 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7041 dired-isearch-filenames-toggle; make it into a proper minor mode.
7042 Use add/remove-function.
7043 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7044 Call the minor-mode rather than add/remove-hook.
7045 (dired-isearch-filter-filenames):
7046 Remove isearch-message-prefix property.
7047 * info.el (Info--search-loop): New function, extracted from Info-search.
7048 Funcall isearch-filter-predicate instead of
7049 run-hook-with-args-until-failure isearch-filter-predicates.
7050 (Info-search): Use it.
7051 (Info-mode): Use isearch-filter-predicate instead of
7052 isearch-filter-predicates.
7053
290d5b58
DA
70542013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7055
7056 Do not call to `selected-window' where it is assumed by default.
7057 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7058 `window-hscroll', `window-width', `window-height', `window-buffer',
7059 `window-frame', `window-start', `window-point', `next-window'
7060 and `window-display-table'.
7061 * abbrev.el (abbrev--default-expand):
7062 * bs.el (bs--show-with-configuration):
7063 * buff-menu.el (Buffer-menu-mouse-select):
7064 * calc/calc.el (calc):
7065 * calendar/calendar.el (calendar-generate-window):
7066 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7067 (diary-make-entry):
7068 * comint.el (send-invisible, comint-dynamic-complete-filename)
7069 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7070 * completion.el (complete):
7071 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7072 * disp-table.el (describe-current-display-table):
7073 * doc-view.el (doc-view-insert-image):
7074 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7075 * ehelp.el (with-electric-help):
7076 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7077 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7078 * emacs-lisp/helper.el (Helper-help-scroller):
7079 * emulation/cua-base.el (cua--post-command-handler-1):
7080 * eshell/esh-mode.el (eshell-output-filter):
7081 * ffap.el (ffap-gnus-wrapper):
7082 * help-macro.el (make-help-screen):
7083 * hilit-chg.el (highlight-compare-buffers):
7084 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7085 * hl-line.el (global-hl-line-highlight):
7086 * icomplete.el (icomplete-simple-completing-p):
7087 * isearch.el (isearch-done):
7088 * jit-lock.el (jit-lock-stealth-fontify):
7089 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 7090 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
7091 * mpc.el (mpc-tagbrowser, mpc):
7092 * net/rcirc.el (rcirc-any-buffer):
7093 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7094 * play/landmark.el (landmark-max-width, landmark-max-height):
7095 * play/zone.el (zone):
7096 * progmodes/compile.el (compilation-goto-locus):
7097 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7098 * progmodes/etags.el (find-tag-other-window):
7099 * progmodes/fortran.el (fortran-column-ruler):
7100 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7101 * progmodes/verilog-mode.el (verilog-point-text):
7102 * reposition.el (reposition-window):
7103 * rot13.el (toggle-rot13-mode):
7104 * server.el (server-switch-buffer):
7105 * shell.el (shell-dynamic-complete-command)
7106 (shell-dynamic-complete-environment-variable):
7107 * simple.el (insert-buffer, set-selective-display)
7108 (delete-completion-window):
7109 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7110 (speedbar-recenter):
7111 * startup.el (fancy-splash-head):
7112 * textmodes/ispell.el (ispell-command-loop):
7113 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7114 * tutorial.el (help-with-tutorial):
7115 * vc/add-log.el (add-change-log-entry):
7116 * vc/compare-w.el (compare-windows):
7117 * vc/ediff-help.el (ediff-indent-help-message):
7118 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7119 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7120 (ediff-setup-control-frame):
7121 * vc/emerge.el (emerge-position-region):
7122 * vc/pcvs-util.el (cvs-bury-buffer):
7123 * window.el (walk-windows, mouse-autoselect-window-select):
7124 * winner.el (winner-set-conf, winner-undo): Related users changed.
7125
38276e01
JB
71262013-08-05 Juanma Barranquero <lekktu@gmail.com>
7127
7128 * frameset.el (frameset--set-id): Doc fix.
7129 (frameset-frame-id, frameset-frame-id-equal-p)
7130 (frameset-locate-frame-id): New functions.
7131 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7132 (frameset-restore): Use them.
7133
12b4c0ea
DA
71342013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7135
7136 Do not call to `selected-frame' where it is assumed by default.
7137 Affected functions are `raise-frame', `redraw-frame',
7138 `frame-first-window', `frame-terminal' and `delete-frame'.
7139 * calendar/appt.el (appt-disp-window):
7140 * epg.el (epg-wait-for-completion):
7141 * follow.el (follow-delete-other-windows-and-split)
7142 (follow-avoid-tail-recenter):
7143 * international/mule.el (set-terminal-coding-system):
7144 * mail/rmail.el (rmail-mail-return):
7145 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7146 * progmodes/f90.el (f90-add-imenu-menu):
7147 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7148 * server.el (server-switch-buffer):
7149 * simple.el (delete-completion-window):
7150 * talk.el (talk):
7151 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7152 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7153 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7154 * vc/ediff.el (ediff-documentation): Related users changed.
7155 * frame.el (selected-terminal): Remove the leftover.
7156
17f25e76
GM
71572013-08-05 Glenn Morris <rgm@gnu.org>
7158
7159 * calendar/calendar.el (calendar-generate-month):
7160 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
7161 (calendar-generate-month, calendar-font-lock-keywords):
7162 Fix for calendar-day-header-width > length of any day name.
17f25e76 7163
063233c3
JB
71642013-08-05 Juanma Barranquero <lekktu@gmail.com>
7165
7166 * desktop.el (desktop-clear): Use new name of sort predicate.
7167
7168 * frameset.el (frameset): Add docstring. Move :version property to its
7169 own `version' slot.
7170 (frameset-copy): Rename from copy-frameset.
7171 (frameset-p): Check more thoroughly.
7172 (frameset-prop): Do not check for :version, which is no longer a prop.
7173 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7174 Use new :never value instead of t.
7175 (frameset-filter-alist): Expand and clarify docstring.
7176 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7177 (frameset-filter-minibuffer, frameset-filter-save-param)
7178 (frameset-filter-restore-param, frameset-filter-iconified):
7179 Add pointer to docstring of frameset-filter-alist.
7180 (frameset-filter-params): Rename filter values to be more meaningful:
7181 :never instead of t, and reverse the meanings of :save and :restore.
7182 (frameset--process-minibuffer-frames): Clarify error message.
7183 (frameset-save): Avoid unnecessary and confusing call to framep.
7184 Use new BOA constructor for framesets.
7185 (frameset--reuse-list): Doc fix.
7186 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7187 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7188 (frameset-minibufferless-first-p): Doc fix.
7189 Rename from frameset-sort-frames-for-deletion.
7190 (frameset-restore): Doc fixes. Use new function names.
7191 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7192
d5671a82
JB
71932013-08-04 Juanma Barranquero <lekktu@gmail.com>
7194
7195 * desktop.el (desktop-restore-forces-onscreen)
7196 (desktop-restore-reuses-frames): Document :keyword constant values.
7197 (desktop-filter-parameters-alist): Remove, now identical to
7198 frameset-filter-alist.
7199 (desktop--filter-tty*): Remove, moved to frameset.el.
7200 (desktop-save-frameset, desktop-restore-frameset):
7201 Do not pass :filters argument.
7202
7203 * frameset.el (frameset-live-filter-alist)
7204 (frameset-persistent-filter-alist): New variables.
7205 (frameset-filter-alist): Use them. Add autoload cookie.
7206 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7207 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7208 `frameset--id' (it's supposed to be internal to frameset.el).
7209 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7210 (frameset--initial-params): New function.
7211 (frameset--get-frame): Use it. Doc fix.
7212 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7213 Accept :all, not 'all.
7214 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7215 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7216 with fbound symbols. Fix frame id matching, and remove matching ids if
7217 the frame being restored is deleted. Obey :delete.
7218
671d5c16
SM
72192013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7220
7221 * subr.el (macrop): New function.
7222 (text-clone--maintaining): New var.
7223 (text-clone--maintain): Rename from text-clone-maintain. Use it
7224 instead of inhibit-modification-hooks.
7225
7226 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7227 a proxy, so as handle autoloads and redefinitions of the target.
7228 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7229
7230 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7231 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7232 (pcase--mutually-exclusive-p): New function.
7233 (pcase--split-consp): Use it.
7234 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7235 mutually exclusive with the current predicate.
7236
7237 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7238 (edebug-macrop): Remove. Use `macrop' instead.
7239 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7240 (ad-macro-p):
7241 * eshell/esh-cmd.el (eshell-macrop):
7242 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7243
1d44e9dc
SM
72442013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7245
7246 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7247 (advice-mapc): New function, using it.
7248 (advice-function-member-p): New function.
7249 (advice--normalize): Store the cdr in advice--saved-rewrite since
7250 that's the part that will be changed.
7251 (advice--symbol-function): New function.
7252 (advice-remove): Handle removal before the function is defined.
7253 Adjust to new advice--saved-rewrite.
7254 (advice-member-p): Use advice-function-member-p and
7255 advice--symbol-function.
7256
5414a283
JB
72572013-08-04 Juanma Barranquero <lekktu@gmail.com>
7258
51d30f2c
JB
7259 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7260 (frameset-filter-minibuffer): Doc fix.
7261 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7262 (frameset--set-id, frameset--process-minibuffer-frames)
7263 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7264 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7265
5414a283
JB
7266 * desktop.el (desktop-clear): Only delete frames when called
7267 interactively and desktop-restore-frames is non-nil. Doc fix.
7268 (desktop-read): Set desktop-saved-frameset to nil.
7269
ab419665
XF
72702013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7271
7272 * vc/vc.el (vc-ignore): Rewrite.
7273 (vc-default-ignore-completion-table):
7274 (vc--read-lines):
7275 (vc--add-line, vc--remove-regexp): New functions.
7276
7277 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7278 (vc-svn-ignore-completion-table): New function.
7279
7280 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7281 (vc-hg-ignore-completion-table):
7282 (vc-hg-find-ignore-file): New functions.
7283
7284 * vc/vc-git.el (vc-git-ignore): Rewrite.
7285 (vc-git-ignore-completion-table):
7286 (vc-git-find-ignore-file): New functions.
7287
7288 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7289
7290 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7291 (vc-bzr-ignore-completion-table):
7292 (vc-bzr-find-ignore-file): New functions.
7293
2613dea2
JB
72942013-08-03 Juanma Barranquero <lekktu@gmail.com>
7295
7296 * frameset.el (frameset-prop): New function and setter.
7297 (frameset-save): Do not modify frame list passed by the caller.
7298
9c959872
SM
72992013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7300
7301 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7302
a104f656
SM
73032013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7304
70122acf
SM
7305 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7306 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7307
a104f656
SM
7308 * custom.el (custom-initialize-default, custom-initialize-set)
7309 (custom-initialize-reset, custom-initialize-changed): Affect the
7310 toplevel-default-value (bug#6275, bug#14586).
7311 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7312 for bug#6275.
7313
f078d570
JB
73142013-08-02 Juanma Barranquero <lekktu@gmail.com>
7315
185e3b5a
JB
7316 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7317 Add cl-def* expressions.
7318
f078d570
JB
7319 * frameset.el (frameset-filter-params): Fix order of arguments.
7320
9421876d
JB
73212013-08-02 Juanma Barranquero <lekktu@gmail.com>
7322
7323 Move code related to saving frames to frameset.el.
7324 * desktop.el: Require frameset.
7325 (desktop-restore-frames): Doc fix.
7326 (desktop-restore-reuses-frames): Rename from
7327 desktop-restoring-reuses-frames.
7328 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7329 (desktop-clear): Clear frames too.
7330 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7331 (desktop--filter-tty*, desktop-save, desktop-read):
7332 Use frameset functions.
7333 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7334 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7335 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7336 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7337 (desktop--process-minibuffer-frames, desktop-save-frames)
7338 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7339 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7340 (desktop--sort-states, desktop-restoring-frames-p)
7341 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7342 (desktop-restoring-frameset-p, desktop-restore-frameset)
7343 (desktop--check-dont-save, desktop-save-frameset): New functions.
7344 (desktop--app-id): New constant.
7345 (desktop-first-buffer, desktop-buffer-ok-count)
7346 (desktop-buffer-fail-count): Move before first use.
7347 * frameset.el: New file.
7348
76dc5996
SM
73492013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7350
7351 * files.el: Use lexical-binding.
7352 (dir-locals-read-from-file): Remove unused `err' variable.
7353 (hack-dir-local-variables--warned-coding): New var.
7354 (hack-dir-local-variables): Use it to avoid repeated warnings.
7355 (make-backup-file-name--default-function): New function.
7356 (make-backup-file-name-function): Use it as default.
7357 (buffer-stale--default-function): New function.
7358 (buffer-stale-function): Use it as default.
7359 (revert-buffer-insert-file-contents--default-function): New function.
7360 (revert-buffer-insert-file-contents-function): Use it as default.
7361 (insert-directory): Avoid add-to-list.
7362
7363 * autorevert.el (auto-revert-handler): Simplify.
7364 Use buffer-stale--default-function.
7365
06d36e2b
TH
73662013-08-01 Tassilo Horn <tsdh@gnu.org>
7367
5f648ab4
TH
7368 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7369
06d36e2b
TH
7370 * whitespace.el (whitespace-ensure-local-variables): New function.
7371 (whitespace-cleanup-region): Call it.
7372 (whitespace-turn-on): Call it.
7373
a43dc424
MA
73742013-08-01 Michael Albinus <michael.albinus@gmx.de>
7375
7376 Complete file name handlers.
7377
7378 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7379 (tramp-handle-verify-visited-file-modtime)
7380 (tramp-handle-file-notify-rm-watch): New functions.
7381 (tramp-call-process): Do not bind `default-directory'.
7382
44e18199
JB
7383 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7384 Order alphabetically.
a43dc424
MA
7385 [access-file, add-name-to-file, dired-call-process]:
7386 [dired-compress-file, file-acl, file-notify-rm-watch]:
7387 [file-ownership-preserved-p, file-selinux-context]:
7388 [make-directory-internal, make-symbolic-link, set-file-acl]:
7389 [set-file-selinux-context, set-visited-file-modtime]:
7390 [verify-visited-file-modtime]: Add handler.
7391 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7392
7393 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7394 [file-notify-add-watch, file-notify-rm-watch]:
7395 [set-file-times, set-visited-file-modtime]:
7396 [verify-visited-file-modtime]: Add handler.
7397 (with-tramp-gvfs-error-message)
7398 (tramp-gvfs-handle-set-visited-file-modtime)
7399 (tramp-gvfs-fuse-file-name): Remove.
7400 (tramp-gvfs-handle-file-notify-add-watch)
7401 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7402 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7403
44e18199
JB
7404 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7405 Order alphabetically.
a43dc424
MA
7406 [file-notify-rm-watch ]: Use default Tramp handler.
7407 [executable-find]: Remove private handler.
7408 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7409 `default-directory'.
7410 (tramp-sh-handle-executable-find)
7411 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7412 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7413 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7414 Do not use `format' in `tramp-message'.
7415
7416 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7417 [file-notify-rm-watch, set-visited-file-modtime]:
7418 [verify-visited-file-modtime]: Add handler.
7419 (tramp-smb-call-winexe): Do not bind `default-directory'.
7420
7188b515
XF
74212013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7422
7423 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7424
2412ee1a
DG
74252013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7426
7427 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7428 use it.
7429 (log-view-diff-changeset): Same.
7430 (log-view-diff-common): Call backend command `previous-revision'
7431 to find out the previous revision, in both cases. Swap the
7432 variables `to' and `fr', so that `fr' usually refers to the
7433 earlier revision (Bug#14989).
7434
5002a754
KRC
74352013-07-31 Kan-Ru Chen <kanru@kanru.info>
7436
7437 * ibuf-ext.el (ibuffer-filter-by-filename):
7438 Make it work with dired buffers too.
7439
44e18199 74402013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7441
7442 * emacs-lisp/re-builder.el (reb-color-display-p):
7443 * files.el (save-buffers-kill-terminal):
7444 * net/browse-url.el (browse-url):
7445 * server.el (server-save-buffers-kill-terminal):
7446 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7447 Prefer nil to selected-frame for the first arg of frame-parameter.
7448
aeca3fbb
XF
74492013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7450
7451 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7452
158bc55c
SB
74532013-07-30 Stephen Berman <stephen.berman@gmx.net>
7454
7455 * minibuffer.el (completion--twq-all): Try and preserve each
7456 completion's case choice (bug#14907).
7457
d50fceab
LMI
74582013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7459
ac38e731
LMI
7460 * net/network-stream.el (open-network-stream): Mention the new
7461 :nogreeting parameter.
7462 (network-stream-open-starttls): Use the :nogreeting parameter
7463 (bug#14938).
7464
1211de50
LMI
7465 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7466
997798bf
LMI
7467 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7468 more natural than popping.
7469
d50fceab 7470 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7471 (shr-urlify): Highlight under mouse.
d50fceab 7472
5c09de04
XF
74732013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7474
207d1d04
XF
7475 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7476
7477 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7478
5c09de04
XF
7479 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7480 buffer for output.
7481
3cd51eaa
XF
7482 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7483 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7484
44e18199 7485 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7486 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7487
7488 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7489
7490 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7491 buffer for output.
7492
35a89bdd
EZ
74932013-07-29 Eli Zaretskii <eliz@gnu.org>
7494
7495 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7496 initial frame is minibuffer-less. (Bug#14841)
7497
78822e94
MA
74982013-07-29 Michael Albinus <michael.albinus@gmx.de>
7499
7500 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7501 option.
7502
7503 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7504 (tramp-maybe-open-connection): Use it.
7505
9503c190
JB
75062013-07-28 Juanma Barranquero <lekktu@gmail.com>
7507
7508 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7509 minimal set of parameters passed when creating a frame, because
7510 the minibuffer status of a frame cannot be changed later.
7511
d5a845b4
SB
75122013-07-28 Stephen Berman <stephen.berman@gmx.net>
7513
7514 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7515 replace-regexp-in-string and inadvertent omissions in previous change.
7516 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7517 name of filtered items buffer.
d5a845b4 7518
ddeffb17
JB
75192013-07-28 Juanma Barranquero <lekktu@gmail.com>
7520
7521 * desktop.el: Optionally force offscreen frames back onscreen.
7522 (desktop-restoring-reuses-frames): New option.
7523 (desktop--compute-pos, desktop--move-onscreen): New functions.
7524 (desktop--make-frame): Use desktop--move-onscreen.
7525
f5950f7a
AM
75262013-07-27 Alan Mackenzie <acm@muc.de>
7527
7528 Fontify a Java generic method as a function.
7529 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7530 value to t.
7531
ae43b66a
SB
75322013-07-27 Stephen Berman <stephen.berman@gmx.net>
7533
7534 * calendar/todo-mode.el: Add command to rename todo files.
7535 (todo-rename-file): New command.
7536 (todo-key-bindings-t): Add key binding for it. Change the
7537 bindings of todo-filter-regexp-items(-multifile) to use `x'
7538 instead of `r', since the latter is better suited to the new
7539 renaming command.
7540
5ab78d3d
AM
75412013-07-27 Alan Mackenzie <acm@muc.de>
7542
7543 Make Java try-with-resources statement parse properly.
7544 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7545 (c-block-stmt-1-2-key): New language constants/variables.
7546 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7547 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7548 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7549 with c-block-stmt-1-2-key.
5ab78d3d 7550
d85c4d50
JB
75512013-07-27 Juanma Barranquero <lekktu@gmail.com>
7552
7553 * desktop.el (desktop--make-frame): Apply most frame parameters after
7554 creating the frame to force (partially or totally) offscreen frames to
7555 be restored as such.
7556
e4c467f9
XF
75572013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7558
7559 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7560 (Bug#14948)
e4c467f9 7561
7ced0d04
SM
75622013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7563
7564 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7565 `base' arg of backtrace-frame.
7566
fec92060
EZ
75672013-07-26 Eli Zaretskii <eliz@gnu.org>
7568
7569 * simple.el (list-processes): Doc fix.
7570
d58d31fb
JB
75712013-07-26 Juanma Barranquero <lekktu@gmail.com>
7572
7573 * desktop.el (desktop--select-frame):
d85c4d50 7574 Try harder to reuse existing frames.
d58d31fb 7575
53ff3e77
SM
75762013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7577
7578 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7579 (edebug-eval): Use backtrace-eval.
7580 (edebug--display, edebug--recursive-edit): Don't let-bind the
7581 edebug-outer-* vars that keep track of variables we locally let-bind.
7582 (edebug-outside-excursion): Don't restore outside values of locally
7583 let-bound vars.
7584 (edebug--display): Use user-error.
7585 (cl-lexical-debug, cl-debug-env): Remove.
7586
045f7a53
JB
75872013-07-26 Juanma Barranquero <lekktu@gmail.com>
7588
7589 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7590 are restored to be sure that they are visible before deleting any
7591 remaining ones.
7592
59070b32
MM
75932013-07-26 Matthias Meulien <orontee@gmail.com>
7594
742a3501
XF
7595 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7596 vc-print-root-log. (Bug#14948)
59070b32 7597
b1fb3596
RS
75982013-07-26 Richard Stallman <rms@gnu.org>
7599
7600 Add aliases for encrypting mail.
7601 * epa.el (epa-mail-aliases): New option.
7602 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7603 Bind inhibit-read-only so read-only text doesn't ruin everything.
7604 (epa-mail-default-recipients): New subroutine broken out.
7605 Handle epa-mail-aliases.
7606
56ea7291
SM
76072013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7608
7609 Add support for lexical variables to the debugger's `e' command.
7610 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7611 vars, except for debugger-outer-match-data.
7612 (debugger-frame-number): Move check for "on a function call" from
7613 callers into it. Add `skip-base' argument.
7614 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7615 (debugger-env-macro): Only reset the state stored in non-variables,
7616 i.e. current-buffer and match-data.
7617 (debugger-eval-expression): Rewrite using backtrace-eval.
7618 * subr.el (internal--called-interactively-p--get-frame): Remove.
7619 (called-interactively-p):
7620 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7621 `base' arg of backtrace-frame instead.
7622
15ac32d5
GM
76232013-07-26 Glenn Morris <rgm@gnu.org>
7624
8358a09d
GM
7625 * align.el (align-regexp): Doc fix. (Bug#14857)
7626 (align-region): Explicit error if subexpression missing/does not match.
7627
15ac32d5
GM
7628 * simple.el (global-visual-line-mode):
7629 Do not duplicate the mode lighter. (Bug#14858)
7630
f47ad11b
MR
76312013-07-25 Martin Rudalics <rudalics@gmx.at>
7632
7633 * window.el (display-buffer): In display-buffer bind
7634 split-window-keep-point to t, bug#14829.
7635
02530987
JB
76362013-07-25 Juanma Barranquero <lekktu@gmail.com>
7637
7638 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7639 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7640 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7641 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7642 Change accordingly.
f63ebeb5
JB
7643 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7644 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7645
6ccb9cab 76462013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7647
6ccb9cab 7648 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7649
cb3a56d2
JB
76502013-07-25 Juanma Barranquero <lekktu@gmail.com>
7651
7652 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7653 parameter to modify-frame-parameters if the value has not changed;
7654 this is a workaround for bug#14949.
7655 (desktop--make-frame): On cl-delete-if call, check parameter name,
7656 not full parameter.
7657
7aa7fff0
XF
76582013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7659
7660 * vc/vc.el (vc-ignore): New function.
7661
7662 * vc/vc-svn.el (vc-svn-ignore): New function.
7663
7664 * vc/vc-hg.el (vc-hg-ignore): New function.
7665
7666 * vc/vc-git.el (vc-git-ignore): New function.
7667
7668 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7669 (vc-dir-ignore): New function.
7670
7671 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7672 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7673
7674 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7675
7676 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7677
889acc5c
JB
76782013-07-24 Juanma Barranquero <lekktu@gmail.com>
7679
7680 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7681 (desktop-restore-frames): Warn when deleting an existing frame failed.
7682
86c40970
GM
76832013-07-24 Glenn Morris <rgm@gnu.org>
7684
7685 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7686
d5d3c58a
MA
76872013-07-24 Michael Albinus <michael.albinus@gmx.de>
7688
7689 * filenotify.el (file-notify-supported-p):
7690 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7691 Remove functions.
7692
7693 * autorevert.el (auto-revert-use-notify):
7694 (auto-revert-notify-add-watch):
7695 * net/tramp.el (tramp-file-name-for-operation):
7696 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7697 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7698 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7699 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7700 Remove `file-notify-supported-p' entry.
7701
d100084b
GM
77022013-07-24 Glenn Morris <rgm@gnu.org>
7703
7704 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7705 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7706
ac93e56b
SM
77072013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7708
249eea30
SM
7709 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7710 checked with memq (bug#14935).
7711
ac93e56b
SM
7712 * files.el (revert-buffer-function): Use a non-nil default.
7713 (revert-buffer-preserve-modes): Declare var to
7714 provide access to the `preserve-modes' argument.
7715 (revert-buffer): Let-bind it.
7716 (revert-buffer--default): New function, extracted from revert-buffer.
7717
2cdeb903
SM
77182013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7719
7720 * lpr.el: Signal print errors more prominently.
7721 (print-region-function): Don't default to nil.
7722 (lpr-print-region): New function, extracted from print-region-1.
7723 Check lpr's return value and signal an error in case of problem.
7724 (print-region-1): Use it.
7725 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7726 versions instead.
7727 (ps-printer-name): Default to nil.
7728 (ps-printer-name-option): Default to lpr-printer-switch.
7729 (ps-print-region-function): Don't default to nil.
7730 (ps-postscript-code-directory): Simplify default.
7731 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7732 (ps-string-list, ps-eval-switch, ps-flatten-list)
7733 (ps-flatten-list-1): Remove.
7734 (ps-multibyte-buffer): Avoid setq.
7735 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7736 (print-region-function, ps-print-region-function): Don't set them here.
7737
73600831
XF
77382013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7739
0e55c076
XF
7740 * ido.el (ido-fractionp):
7741 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7742 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7743 (ido-max-directory-size, ido-max-dir-file-cache)
7744 (ido-decorations): Doc fix.
7745
73600831
XF
7746 * ansi-color.el: Fix old URL.
7747
3d012865
MM
77482013-07-23 Michael R. Mauger <michael@mauger.com>
7749
e903c210 7750 * progmodes/sql.el: Version 3.3
3d012865
MM
7751 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7752 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7753 (sql-interactive-remove-continuation-prompt): Rewrite, use
7754 functions above. Fix continuation prompt and complete output line
7755 handling.
7756 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7757 redirected output buffer.
7758 (sql-mode): Restore deleted code (Bug#13591).
7759
da77a2e2
JB
77602013-07-23 Juanma Barranquero <lekktu@gmail.com>
7761
7762 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7763
80ff0c71
MA
77642013-07-23 Michael Albinus <michael.albinus@gmx.de>
7765
7766 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7767
7768 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7769 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7770 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7771
b61d71e4
JB
77722013-07-23 Juanma Barranquero <lekktu@gmail.com>
7773
7774 * desktop.el (desktop-clear): Simplify; remove useless checks
7775 against invalid buffer names.
7776 (desktop-list*): Use cl-list*.
7777 (desktop-buffer-info, desktop-create-buffer): Simplify.
7778
c3512092
LL
77792013-07-23 Leo Liu <sdl.web@gmail.com>
7780
7781 * bookmark.el (bookmark-make-record): Restore NAME as a default
7782 value. (Bug#14933)
7783
0ac26976
SM
77842013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7785
7d22ce18
SM
7786 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7787 extracted from autoload--insert-text.
7788 (autoload--insert-text): Remove.
7789 (autoload--print-cookie-text): New function, extracted from
7790 autoload--insert-cookie-text.
7791 (autoload--insert-cookie-text): Remove.
7792 (autoload-generate-file-autoloads): Adjust calls accordingly.
7793
9b2607e8
SM
7794 * winner.el (winner-hook-installed-p): Remove.
7795 (winner-mode): Simplify accordingly.
7796
c43a8618
SM
7797 * subr.el (add-to-list): Fix compiler-macro when `append' is
7798 not constant. Don't use `cl-member' for the base case.
7799
0ac26976
SM
7800 * progmodes/subword.el: Fix boundary case (bug#13758).
7801 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7802 own group.
7803 (subword-backward-regexp): Make it a constant.
7804 (subword-forward-internal): Don't treat a trailing capital as the
7805 beginning of a word.
7806
6874724a
AR
78072013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7808
7809 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7810 global value of tabulated-list-revert-hook (bug#14930).
7811
70f1b5e8
JB
78122013-07-22 Juanma Barranquero <lekktu@gmail.com>
7813
a1c80d9d
JB
7814 * desktop.el: Require 'cl-lib.
7815 (desktop-before-saving-frames-functions): New hook.
7816 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7817 for frames being saved. Rename from desktop--save-minibuffer-frames.
7818 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7819 Do not save frames with non-nil `desktop-dont-save' parameter.
7820 Filter out deleted frames.
a1c80d9d
JB
7821 (desktop--find-frame): Use cl-find-if.
7822 (desktop--select-frame): Use cl-(first|second|third) to access values
7823 of desktop-mini.
7824 (desktop--make-frame): Use cl-delete-if.
7825 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7826 (desktop-restore-frames): Use cl-(first|second|third) to access values
7827 of desktop-mini. Look for visible frame at the end, not while
7828 restoring frames.
7829
70f1b5e8
JB
7830 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7831 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7832 Use string-match-p, looking-at-p (bug#14927).
7833
728dc3cc
JB
78342013-07-21 Juanma Barranquero <lekktu@gmail.com>
7835
56bc453c
JB
7836 * desktop.el (desktop-saved-frame-states):
7837 Rename from desktop--saved-states; all users changed.
7838 (desktop-save-frames): Rename from desktop--save-frames.
7839 Do not save state to desktop file.
7840 (desktop-save): Save desktop-saved-frame-states to desktop file
7841 and reset to nil.
7842 (desktop-restoring-frames-p): New function.
7843 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7844 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7845 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7846
728dc3cc
JB
7847 * desktop.el: Correctly restore iconified frames.
7848 (desktop--filter-iconified-position): New function.
7849 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7850
862f1c9c
GM
78512013-07-20 Glenn Morris <rgm@gnu.org>
7852
c4074c9f
GM
7853 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7854 Let `message' do the formatting.
7855 (def-gdb-preempt-display-buffer): Add explicit format.
7856
d828e5f9
GM
7857 * image-dired.el (image-dired-track-original-file):
7858 Use with-current-buffer.
7859 (image-dired-track-thumbnail): Use with-current-buffer.
7860 Avoid changing point of wrong window.
7861
862f1c9c
GM
7862 * image-dired.el (image-dired-track-original-file):
7863 Avoid changing point of wrong window. (Bug#14909)
7864
f0398ec1 78652013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7866
7867 * progmodes/gdb-mi.el (gdb-done-or-error):
7868 Guard against "%" in gdb output. (Bug#14127)
7869
1451928f
AS
78702013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7871
763a086d
JB
7872 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7873 (Bug#14826)
f7a03897 7874
1451928f
AS
7875 * international/mule.el (coding-system-iso-2022-flags): Fix last
7876 change.
7877
99107004
KH
78782013-07-20 Kenichi Handa <handa@gnu.org>
7879
763a086d
JB
7880 * international/mule.el (coding-system-iso-2022-flags):
7881 Add `8-bit-level-4'. (Bug#8522)
99107004 7882
48494e06
LMI
78832013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7884
8ba8eec5
LMI
7885 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7886 (bug#14815).
7887
dfbc66e3
LMI
7888 * net/eww.el (eww-process-text-input): Allow inputting when the
7889 point is at the start of the line, as the properties aren't
7890 front-sticky.
7891
48494e06
LMI
7892 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7893 degenerate widths.
7894
77c92cb9
RS
78952013-07-19 Richard Stallman <rms@gnu.org>
7896
aec7da77
RS
7897 * epa.el (epa-popup-info-window): Doc fix.
7898
77c92cb9
RS
7899 * subr.el (split-string): New arg TRIM.
7900
945c5bb1
JB
79012013-07-18 Juanma Barranquero <lekktu@gmail.com>
7902
7903 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7904 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7905
e06ec67f
MA
79062013-07-18 Michael Albinus <michael.albinus@gmx.de>
7907
c7064f05 7908 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7909 `file-notify-support'. Do not autoload. Adapt all uses.
7910 (file-notify-supported-p): New defun.
7911
c7064f05
JB
7912 * autorevert.el (auto-revert-use-notify):
7913 Use `file-notify-supported-p' instead of `file-notify-support'.
7914 Adapt docstring.
e06ec67f
MA
7915 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7916
7917 * net/tramp.el (tramp-file-name-for-operation):
7918 Add `file-notify-supported-p'.
7919
7920 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7921 New defun.
7922 (tramp-sh-file-name-handler-alist): Add it as handler for
7923 `file-notify-supported-p '.
7924
7925 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7926 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7927 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7928 Add `ignore' as handler for `file-notify-*' functions.
7929
5dc8a629
EZ
79302013-07-17 Eli Zaretskii <eliz@gnu.org>
7931
7932 * simple.el (line-move-partial, line-move): Don't start vscroll or
7933 scroll-up if the current line is not taller than the window.
7934 (Bug#14881)
7935
77aea2fb
DG
79362013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7937
7938 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7939 highlight question marks in the method names as strings.
ac72c08d
DG
7940 (ruby-block-beg-keywords): Inline.
7941 (ruby-font-lock-keyword-beg-re): Extract from
7942 `ruby-font-lock-keywords'.
77aea2fb 7943
18c26d81
JD
79442013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7945
7946 * frame.el (blink-cursor-blinks): New defcustom.
7947 (blink-cursor-blinks-done): New defvar.
7948 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7949 (blink-cursor-timer-function): Check if number of blinks has been
7950 done on X and NS.
7951 (blink-cursor-suspend, blink-cursor-check): New defuns.
7952
da48522e
GM
79532013-07-15 Glenn Morris <rgm@gnu.org>
7954
7955 * edmacro.el (edmacro-format-keys): Fix previous change.
7956
0463c1ef
PE
79572013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7958
7959 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7960 The hack didn't work outside English locales anyway.
7961
b43f6451
JB
79622013-07-15 Juanma Barranquero <lekktu@gmail.com>
7963
7964 * simple.el (define-alternatives): Rename from alternatives-define,
7965 per RMS' suggestion.
7966
b958c0ad
JB
79672013-07-14 Juanma Barranquero <lekktu@gmail.com>
7968
7969 * desktop.el (desktop-restore-frames): Change default to t.
7970 (desktop-restore-in-current-display): Now offer more options.
7971 (desktop-restoring-reuses-frames): New customization option.
7972 (desktop--saved-states): Doc fix.
7973 (desktop-filter-parameters-alist): New variable, renamed and expanded
7974 from desktop--excluded-frame-parameters.
7975 (desktop--target-display): New variable.
7976 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7977 (desktop--filter-tty*, desktop--filter-*-color)
7978 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7979 (desktop--filter-save-desktop-parm)
7980 (desktop-restore-in-original-display-p): New functions.
7981 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7982 (desktop--save-minibuffer-frames): New function, inspired by a similar
7983 function from Martin Rudalics.
7984 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7985 (desktop--restore-in-this-display-p): Remove.
7986 (desktop--find-frame): Rename from desktop--find-frame-in-display
7987 and add predicate argument.
7988 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7989 (desktop--reuse-list): New variable.
7990 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7991 New functions.
7992 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7993
f6dd8b36
MA
79942013-07-14 Michael Albinus <michael.albinus@gmx.de>
7995
7996 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7997
2ce3c565
DG
79982013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7999
763a086d
JB
8000 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8001 Highlight conversion methods on Kernel.
2ce3c565 8002
2cdb7698
AM
80032013-07-13 Alan Mackenzie <acm@muc.de>
8004
8005 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8006 and comment it out. This out-commenting enables certain C++
8007 declarations to be parsed correctly.
8008
1a67b811
EZ
80092013-07-13 Eli Zaretskii <eliz@gnu.org>
8010
1b796d6b
EZ
8011 * international/mule.el (define-coding-system): Doc fix.
8012
1a67b811
EZ
8013 * simple.el (default-font-height): Don't call font-info if the
8014 frame's default font didn't change since the frame was created.
8015 (Bug#14838)
8016
58fbe886
LL
80172013-07-13 Leo Liu <sdl.web@gmail.com>
8018
8019 * ido.el (ido-read-file-name): Guard against non-symbol value.
8020
1f0480d4
FEG
80212013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8022
8023 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8024 in nested defuns.
8025
97ead0e5
LL
80262013-07-13 Leo Liu <sdl.web@gmail.com>
8027
8028 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8029 ido-set-matches call. (Bug#6852)
8030
0880a952
DG
80312013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8032
8033 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8034 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8035 Ruby 2.0.
8036 (ruby-font-lock-keywords): Distinguish calls to functions with
8037 module-like names from module references. Highlight character
8038 literals.
8039
a7d8babb
SDJ
80402013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8041
8042 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 8043 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 8044
acfcc8c5
JB
80452013-07-12 Juanma Barranquero <lekktu@gmail.com>
8046
8047 * desktop.el (desktop--v2s): Remove unused local variable.
8048 (desktop-save-buffer): Make defvar-local; adjust docstring.
8049 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8050 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8051
051f2775
AS
80522013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8053
8054 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8055
f24e7572
GM
80562013-07-12 Eli Zaretskii <eliz@gnu.org>
8057
8058 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8059 (Bug#14842)
8060
539a920c
GM
80612013-07-12 Glenn Morris <rgm@gnu.org>
8062
8063 * doc-view.el: Require cl-lib at runtime too.
8064 (doc-view-remove-if): Remove.
8065 (doc-view-search-next-match, doc-view-search-previous-match):
8066 Use cl-remove-if.
8067
8068 * edmacro.el: Require cl-lib at runtime too.
8069 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8070 (edmacro-mismatch, edmacro-subseq): Remove.
8071
8072 * shadowfile.el: Require cl-lib.
8073 (shadow-remove-if): Remove.
8074 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8075 Use cl-remove-if.
8076
8077 * wid-edit.el: Require cl-lib.
8078 (widget-choose): Use cl-remove-if.
8079 (widget-remove-if): Remove.
8080
8081 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8082 (ebrowse-delete-if-not): Remove.
8083 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8084 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8085 Use cl-delete-if-not.
8086
1048af7c
JB
80872013-07-12 Juanma Barranquero <lekktu@gmail.com>
8088
8089 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8090 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8091
6c0674ee
LL
80922013-07-12 Leo Liu <sdl.web@gmail.com>
8093
8094 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8095
a19b3c2d
GM
80962013-07-11 Glenn Morris <rgm@gnu.org>
8097
4582a01c
GM
8098 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8099 (edebug-gensym-index, edebug-gensym):
8100 Remove reimplementation of cl-gensym.
8101 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8102
8103 * thumbs.el: Require cl-lib at run-time too.
8104 (thumbs-gensym-counter, thumbs-gensym):
8105 Remove reimplementation of cl-gensym.
8106 (thumbs-temp-file): Use cl-gensym.
8107
a19b3c2d
GM
8108 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8109 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8110 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8111 (ert--union, ert--gensym-counter, ert--gensym-counter)
8112 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8113 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8114 (ert-make-test-unbound, ert--expand-should-1)
8115 (ert--expand-should, ert--should-error-handle-error)
8116 (should-error, ert--explain-equal-rec)
8117 (ert--plist-difference-explanation, ert-select-tests)
8118 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8119 Use cl-lib functions rather than reimplementations.
8120
88f6a933
MA
81212013-07-11 Michael Albinus <michael.albinus@gmx.de>
8122
8123 * net/tramp.el (tramp-methods): Extend docstring.
8124 (tramp-connection-timeout): New defcustom.
8125 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8126 (with-tramp-progress-reporter): Simplify.
8127 (tramp-process-actions): Improve messages.
8128
8129 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8130 * net/tramp-sh.el (tramp-maybe-open-connection):
8131 Use `tramp-connection-timeout'.
8132 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8133 (Bug#14808)
8134
a43d577e
LL
81352013-07-11 Leo Liu <sdl.web@gmail.com>
8136
8137 * ido.el (ido-read-file-name): Conform to the requirements of
8138 read-file-name. (Bug#11861)
8139 (ido-read-directory-name): Conform to the requirements of
8140 read-directory-name.
8141
d77974bf
JB
81422013-07-11 Juanma Barranquero <lekktu@gmail.com>
8143
8144 * subr.el (delay-warning): New function.
8145
35cb8a3e
EZ
81462013-07-10 Eli Zaretskii <eliz@gnu.org>
8147
8148 * simple.el (default-line-height): New function.
8149 (line-move-partial, line-move): Use it instead of computing the
8150 line height inline.
8151 (line-move-partial): Always compute ROWH. If the last line is
8152 partially-visible, but its text is completely visible, allow
8153 cursor to enter such a partially-visible line.
8154
525c5c77
MA
81552013-07-10 Michael Albinus <michael.albinus@gmx.de>
8156
8157 Improve error messages. (Bug#14808)
8158
8159 * net/tramp.el (tramp-current-connection): New defvar, moved from
8160 tramp-sh.el.
0ac26976 8161 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 8162 needed anymore.
0ac26976
SM
8163 (tramp-error-with-buffer): Show message in minibuffer.
8164 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
8165 (with-tramp-progress-reporter): Improve messages.
8166 (tramp-process-actions): Use progress reporter. Delete process in
8167 case of error. Improve messages.
8168
763a086d
JB
8169 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8170 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 8171 (tramp-current-connection): Remove.
525c5c77
MA
8172 (tramp-maybe-open-connection): The car of
8173 `tramp-current-connection' are the first 3 slots of the vector.
8174
c7a4d368
TZ
81752013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8176
8177 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8178 inside continued strings.
8179
954b166e
PE
81802013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8181
8182 Timestamp fixes for undo (Bug#14824).
8183 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8184
56973319
LL
81852013-07-10 Leo Liu <sdl.web@gmail.com>
8186
8187 * files.el (require-final-newline): Allow safe local value.
8188 (Bug#14834)
8189
5550a72c
LL
81902013-07-09 Leo Liu <sdl.web@gmail.com>
8191
8192 * ido.el (ido-read-directory-name): Handle fallback.
8193 (ido-read-file-name): Update DIR to ido-current-directory.
8194 (Bug#1516)
c28b9050 8195 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 8196
70c46b28
DG
81972013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8198
8199 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8200 "autoload". Remove "warn lower camel case" section, previously
8201 commented out. Highlight negation char. Do not highlight the
8202 target in singleton method definitions.
8203
0b64b838
SM
82042013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8205
7fd72e2c
SM
8206 * faces.el (tty-setup-hook): Declare the hook.
8207
0b64b838
SM
8208 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8209 and detect when a guard/pred depends on local vars (bug#14773).
8210 (pcase--u1): Adjust caller.
8211
ab49d60b
EZ
82122013-07-08 Eli Zaretskii <eliz@gnu.org>
8213
8214 * simple.el (line-move-partial, line-move): Account for
8215 line-spacing.
701d79aa
EZ
8216 (line-move-partial): Avoid setting vscroll when the last
8217 partially-visible line in window is of default height.
ab49d60b 8218
2d756ae0
LMI
82192013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8220
8221 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8222 been used a while.
8223
ed095bd7
JB
82242013-07-07 Juanma Barranquero <lekktu@gmail.com>
8225
8226 * subr.el (read-quoted-char): Remove unused local variable `char'.
8227
f1e6674b
MK
82282013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8229
584ee3fc
GM
8230 * ediff.el (ediff-version): Version update.
8231 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8232 (ediff-merge-with-ancestor-command, ediff-directories-command)
8233 (ediff-directories3-command, ediff-merge-directories-command)
8234 (ediff-merge-directories-with-ancestor-command): New functions.
8235 All are command-line interfaces to ediff: to facilitate calling
8236 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8237
8238 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8239 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8240
584ee3fc
GM
8241 * viper.el (viper-version): Version update.
8242 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8243
584ee3fc
GM
82442013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8245
8246 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8247 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8248 (viper-intercept-ESC-key): Simplify.
8249 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8250 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8251 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8252 (viper-setup-ESC-to-escape): New functions.
8253 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8254 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8255
9aff9b38
EZ
82562013-07-07 Eli Zaretskii <eliz@gnu.org>
8257
5165d44a
JB
8258 * simple.el (default-font-height, window-screen-lines):
8259 New functions.
9aff9b38
EZ
8260 (line-move, line-move-partial): Use them instead of
8261 frame-char-height and window-text-height. This makes scrolling
8262 text smoother when the buffer's default face uses a font that is
8263 different from the frame's default font.
8264
1afb1d07
JD
82652013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8266
8267 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8268 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8269
23de972a
EZ
82702013-07-06 Eli Zaretskii <eliz@gnu.org>
8271
8272 * simple.el (line-move-partial): Adjust the row returned by
8273 posn-at-point for the current window-vscroll. (Bug#14567)
8274
54a42486
MA
82752013-07-06 Michael Albinus <michael.albinus@gmx.de>
8276
8277 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8278 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8279 spaces.
8280
34ada5f4
MR
82812013-07-06 Martin Rudalics <rudalics@gmx.at>
8282
8283 * window.el (window-state-put-stale-windows): New variable.
8284 (window--state-put-2): Save list of windows without matching buffer.
8285 (window-state-put): Remove "bufferless" windows if possible.
8286
11e03d89
JB
82872013-07-06 Juanma Barranquero <lekktu@gmail.com>
8288
8289 * simple.el (alternatives-define): Remove leftover :group keyword.
8290 Tweak docstring.
8291
3504a4be
LL
82922013-07-06 Leo Liu <sdl.web@gmail.com>
8293
8294 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8295 (ido-enable-virtual-buffers): New variable.
8296 (ido-buffer-internal, ido-toggle-virtual-buffers)
8297 (ido-make-buffer-list): Use it.
8298 (ido-exhibit): Support turning on and off virtual buffers
8299 automatically.
8300
61e56e2c
JB
83012013-07-06 Juanma Barranquero <lekktu@gmail.com>
8302
8303 * simple.el (alternatives-define): New macro.
8304
321e1a9c
SM
83052013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8306
8307 * subr.el (read-quoted-char): Use read-key.
8308 (sit-for): Let read-event decode tty input (bug#14782).
8309
d610f6dd
SB
83102013-07-05 Stephen Berman <stephen.berman@gmx.net>
8311
8312 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8313 mode command and externally. Fix various related bugs.
8314 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8315 (todo-delete-file): New command.
8316 (todo-check-file): New function.
8317 (todo-show): Handle external deletion of the file we're trying to
8318 show (bug#14688). Replace called-interactively-p by an optional
8319 prefix argument to avoid problematic interaction with catch form
8320 when byte compiled (bug#14702).
8321 (todo-quit): Handle external deletion of the archive's todo file.
8322 Make sure the buffer that was visiting the archive file is still
8323 live before trying to bury it.
8324 (todo-category-completions): Handle external deletion of any
8325 category completion files.
8326 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8327 of todo files, in case of external deletion.
8328 (todo-add-file): Replace unnecessary setq by let-binding.
8329 (todo-find-archive): Check whether there are any archives.
8330 Replace unnecessary setq by let-binding.
8331 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8332 archive buffer whether or not the archive already exists.
8333 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8334 check if the archive is new; if it is, update list of archives.
8335 (todo-default-todo-file): Allow nil to be a valid value for when
8336 there are no todo files.
8337 (todo-reevaluate-default-file-defcustom): Use corrected definition
8338 of todo-default-todo-file.
8339 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8340 (todo-delete-category, todo-show-categories-table)
8341 (todo-category-number): Clarify comment.
8342 (todo-filter-items): Clarify documentation string.
8343 (todo-show-current-file, todo-display-as-todo-file)
8344 (todo-reset-and-enable-done-separator): Tweak documentation string.
8345 (todo-done-separator): Make separator length window-width, since
8346 bug#2749 is now fixed.
8347
ddbdfd6f
MA
83482013-07-05 Michael Albinus <michael.albinus@gmx.de>
8349
321e1a9c
SM
8350 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8351 Support both "gvfs-monitor-dir" and "inotifywait".
8352 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8353 `tramp-sh-file-notify-process-filter'.
8354 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8355 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8356
96eb829a
LL
83572013-07-05 Leo Liu <sdl.web@gmail.com>
8358
8359 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8360
cf13177e
YM
83612013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8362
8363 * frame.el (display-pixel-height, display-pixel-width)
8364 (display-mm-height, display-mm-width): Mention behavior on
8365 multi-monitor setups in docstrings.
8366 (w32-display-monitor-attributes-list): Declare function.
8367 (display-monitor-attributes-list): Use it.
8368
864c58ca
MA
83692013-07-04 Michael Albinus <michael.albinus@gmx.de>
8370
8371 * filenotify.el: New package.
8372
8373 * autorevert.el (top): Require filenotify.el.
8374 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8375 instead.
8376 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8377 (auto-revert-notify-handler): Use `file-notify-*' functions.
8378
8379 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8380
321e1a9c
SM
8381 * net/tramp.el (tramp-file-name-for-operation):
8382 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8383
8384 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8385 for `file-notify-add-watch' and `file-notify-rm-watch'.
8386 (tramp-process-sentinel): Improve trace.
8387 (tramp-sh-handle-file-notify-add-watch)
8388 (tramp-sh-file-notify-process-filter)
8389 (tramp-sh-handle-file-notify-rm-watch)
8390 (tramp-get-remote-inotifywait): New defuns.
8391
96673afe
JL
83922013-07-03 Juri Linkov <juri@jurta.org>
8393
8394 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8395 call of `occur-read-primary-args' to interactive spec.
8396
8397 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8398 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8399
924494f4
MM
84002013-07-03 Matthias Meulien <orontee@gmail.com>
8401
8402 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8403 `Buffer-menu-multi-occur'. Add it to the menu.
8404 (Buffer-menu-mode): Document it in docstring.
8405 (Buffer-menu-multi-occur): New command. (Bug#14673)
8406
56f75efc
DG
84072013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8408
8409 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8410 keywords and built-ins.
8411
9b057d61
GM
84122013-07-03 Glenn Morris <rgm@gnu.org>
8413
208dee4d
GM
8414 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8415
9b057d61
GM
8416 Make info-xref checks case-sensitive by default
8417 * info.el (Info-find-node, Info-find-in-tag-table)
8418 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8419 Add option for exact case matching of nodes.
8420 * info-xref.el (info-xref): New custom group.
8421 (info-xref-case-fold): New option.
8422 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8423
e01aa29c
LL
84242013-07-03 Leo Liu <sdl.web@gmail.com>
8425
8426 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8427
3086ca2e
DG
84282013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8429
8430 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8431 middle of block statement initially, lower the depth. Remove
8432 FIXME comment, not longer valid. Remove middle of block statement
8433 detection, no need to do that anymore since we've been using
8434 `ruby-parse-region' here.
8435
a3b49114
JD
84362013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8437
8438 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8439
08e5c823 84402013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8441
8442 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8443
2addf922
JB
84442013-07-01 Juanma Barranquero <lekktu@gmail.com>
8445
8446 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8447 (desktop-restore-in-current-display): New customization option.
8448 (desktop--excluded-frame-parameters): Add `font'.
8449 (desktop--save-frames): Rename from desktop--save-windows.
8450 (desktop--restore-in-this-display-p): New function.
8451 (desktop--make-full-frame): Remove unwanted width/height from
8452 full(width|height) frames.
8453 (desktop--restore-frames): Rename from desktop--restore-windows.
8454 Obey desktop-restore-current-display. Do not delete old frames or
8455 select a new frame unless we were able to restore at least one frame.
8456
ef099a94
MN
84572013-06-30 Michal Nazarewicz <mina86@mina86.com>
8458
8459 * files.el (find-file-noselect): Simplify conditional expression.
8460
a12bf61e 8461 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8462 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8463
8464 Add `remember-notes' function to store random notes across Emacs
8465 restarts.
3fcfc4ee
JB
8466 * textmodes/remember.el (remember-data-file): Add :set callback to
8467 affect notes buffer (if any).
ef099a94
MN
8468 (remember-notes): New command.
8469 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8470 New defcustoms for the `remember-notes' function.
8471 (remember-notes-save-and-bury-buffer): New command.
8472 (remember-notes-mode-map): New variable.
8473 (remember-mode): New minor mode.
8474 (remember-notes--kill-buffer-query): New function.
8475 * startup.el (initial-buffer-choice): Add notes to custom type.
8476
0865d506
EZ
84772013-06-30 Eli Zaretskii <eliz@gnu.org>
8478
0ba54312
EZ
8479 * bindings.el (right-char, left-char): Don't call sit-for, this is
8480 no longer needed. Use arithmetic comparison only for numerical
8481 arguments.
8482
ef099a94
MN
8483 * international/mule-cmds.el (select-safe-coding-system):
8484 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8485
2fae38e5
LMI
84862013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8487
8488 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8489 progression on degenerate tables.
ef099a94 8490 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8491
a47cbd64
JB
84922013-06-30 Juanma Barranquero <lekktu@gmail.com>
8493
8494 Some fixes and improvements for desktop frame restoration.
8495 It is still experimental and disabled by default.
8496 * desktop.el (desktop--save-windows): Put the selected frame at
8497 the head of the list.
8498 (desktop--make-full-frame): New function.
8499 (desktop--restore-windows): Try to re-select the frame that was
8500 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8501 just show an error message and continue. Set up maximized frames
8502 so they have default non-maximized dimensions.
a47cbd64 8503
6dbafa30
DG
85042013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8505
ef099a94
MN
8506 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8507 Don't start heredoc inside a string or comment.
6dbafa30 8508
4c672a0f
EZ
85092013-06-29 Eli Zaretskii <eliz@gnu.org>
8510
8511 * bindings.el (visual-order-cursor-movement): New defcustom.
8512 (right-char, left-char): Provide visual-order cursor motion by
8513 calling move-point-visually. Update the doc strings.
8514
50960f36
KH
85152013-06-28 Kenichi Handa <handa@gnu.org>
8516
8517 * international/mule.el (define-coding-system): New coding system
8518 properties :inhibit-null-byte-detection,
8519 :inhibit-iso-escape-detection, and :prefer-utf-8.
8520 (set-buffer-file-coding-system): If :charset-list property of
8521 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8522 appropriate for setting.
8523
c1ea3abf
JB
8524 * international/mule-cmds.el (select-safe-coding-system):
8525 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8526 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8527
8528 * international/mule-conf.el (prefer-utf-8): New coding system.
8529 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8530 files.
8531
75dbaf9d
IK
85322013-06-28 Ivan Kanis <ivan@kanis.fr>
8533
eadb6068
IK
8534 * net/shr.el (shr-render-region): New function.
8535
75dbaf9d
IK
8536 * net/eww.el: Autoload `eww-browse-url'.
8537
9ea5cf9f
DG
85382013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8539
c1ea3abf
JB
8540 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8541 Adapt to `package-desc-version' being a list.
8542 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8543 archive element.
8544
39c0e36f
JB
85452013-06-27 Juanma Barranquero <lekktu@gmail.com>
8546
8547 New experimental feature to save&restore window and frame setup.
8548 * desktop.el (desktop-save-windows): New defcustom.
8549 (desktop--saved-states): New var.
8550 (desktop--excluded-frame-parameters): New defconst.
8551 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8552 (desktop--restore-windows, desktop--save-windows): New functions.
8553 (desktop-save): Call `desktop--save-windows'.
8554 (desktop-read): Call `desktop--restore-windows'.
8555
7f13406b
LMI
85562013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8557
ef099a94 8558 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8559
1e072639
SB
85602013-06-27 Stephen Berman <stephen.berman@gmx.net>
8561
8562 * info.el (Info-try-follow-nearest-node): Move search for footnote
8563 above search for node name to prevent missing a footnote (bug#14717).
8564
f3e2cbde
SB
85652013-06-27 Stephen Berman <stephen.berman@gmx.net>
8566
8567 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8568
99906aa0
LL
85692013-06-27 Leo Liu <sdl.web@gmail.com>
8570
8571 * net/eww.el (eww-read-bookmarks): Check file size.
8572
539f75f4
SM
85732013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8574
8575 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8576 advice--pending if newdef is nil or an autoload (bug#13820).
8577 (advice-mapc): New function.
8578
843571cb
LMI
85792013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8580
8581 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8582 probably.
23a75d7f 8583 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8584 (eww-add-bookmark): New command.
8585 (eww-bookmark-mode): New mode and commands.
a285ce99 8586 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8587 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8588
f2136e1e
GM
85892013-06-26 Glenn Morris <rgm@gnu.org>
8590
eab35f39
GM
8591 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8592 (hfy-size): Handle ttys. (Bug#14668)
8593
f2136e1e
GM
8594 * info-xref.el: Update for Texinfo 5 change in *note format.
8595 (info-xref-node-re, info-xref-note-re): New constants.
8596 (info-xref-check-buffer): Use info-xref-note-re.
8597
a49ff80c
SM
85982013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8599
a343d218
SM
8600 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8601
a49ff80c
SM
8602 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8603 nil terminate the loop (bug#14718).
8604
8308f184
LMI
86052013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8606
8607 * net/eww.el: Rework history traversal. When going forward/back,
8608 put these actions into the history, too, so that they can be
8609 replayed.
26bf2b82 8610 (eww-render): Move the history reset to the correct buffer.
8308f184 8611
ec64c273
JL
86122013-06-25 Juri Linkov <juri@jurta.org>
8613
8614 * files-x.el (modify-dir-local-variable): Change the header comment
8615 in the file with directory local variables. (Bug#14692)
8616
e080a9d7
JL
8617 * files-x.el (read-file-local-variable-value): Add `default'.
8618 (Bug#14710)
8619
bfbc93a1
IK
86202013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8621
8622 * net/eww.el (eww-make-unique-file-name): Create a unique file
8623 name before saving to entering `y' accidentally asynchronously.
8624
86252013-06-25 Ivan Kanis <ivan@kanis.fr>
8626
8627 * net/eww.el (eww-download): New command and keystroke.
8628
16f74f10
LMI
86292013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8630
a49ff80c 8631 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8632
8633 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8634 be more consistent with Info and dired.
8635
8636 * net/eww.el (eww-mode-map): Ditto.
8637
12059709
SM
86382013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8641 packages from archives.
8642 (package-archive-contents): Change format; include obsolete packages.
8643 (package-desc): Use `dir' to mark builtin packages.
8644 (package--from-builtin): Set the `dir' field to `builtin'.
8645 (generated-autoload-file, version-control): Declare.
8646 (package-compute-transaction): Change first arg and return value to be
8647 lists of package-descs. Adjust to new package-archive-contents format.
8648 (package--add-to-archive-contents): Adjust to new
8649 package-archive-contents format.
8650 (package-download-transaction): Arg is now a list of package-descs.
8651 (package-install): If `pkg' is a package name, pass it as
8652 a requirement, so it is subject to the usual (e.g. disabled) checks.
8653 (describe-package): Accept package-desc as well.
8654 (describe-package-1): Describe a specific package-desc. Add links to
8655 other package-descs for the same package name.
8656 (package-menu-describe-package): Pass the actual package-desc.
8657 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8658 works correctly.
8659 (package-desc-status): New function.
8660 (package-menu--refresh): New function, extracted
8661 from package-menu--generate.
8662 (package-menu--generate): Use it.
8663 (package-delete): Update package-alist.
8664 (package-menu-execute): Don't call package-initialize.
8665
8666 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8667 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8668 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8669 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8670 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8671 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8672
8bbdea0f
MR
86732013-06-25 Martin Rudalics <rudalics@gmx.at>
8674
8675 * window.el (window--state-get-1): Workaround for bug#14527.
8676 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8677
e82b0991
LMI
86782013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8679
8680 * net/eww.el (eww-back-url): Implement the history by stashing all
8681 the data into a list.
d3f0f918 8682 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8683
c763842b
SM
86842013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8685
8686 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8687 for values and use read--expression for expressions (bug#14710).
8688 (read-file-local-variable): Avoid setq.
8689 (read-file-local-variable-mode): Use minor-mode-list.
8690
bceff189
RW
86912013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8692
864c58ca 8693 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8694 for DOI URLs.
8695
45f431c6
RW
86962013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8697
864c58ca 8698 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8699 Update imenu-support when dialect changes.
8700
f42d8237
LL
87012013-06-25 Leo Liu <sdl.web@gmail.com>
8702
8703 * ido.el (ido-read-internal): Allow forward slash on windows.
8704
be549ce6
LMI
87052013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8706
8707 * net/eww.el (eww): Start of strings is \\`, not ^.
8708
71d4c19d
IK
87092013-06-24 Ivan Kanis <ivan@kanis.fr>
8710
5196f88a
IK
8711 * net/shr.el (shr-browse-url): Fix interactive spec.
8712
71d4c19d
IK
8713 * net/eww.el (eww): Add a trailing slash to domain names.
8714
ae36ca55
JB
87152013-06-24 Juanma Barranquero <lekktu@gmail.com>
8716
8717 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8718
0ebd92a3
LMI
87192013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8720
bdaa086b
LMI
8721 * net/shr.el (shr-browse-url): Use an external browser if given a
8722 prefix.
8723
c763842b 8724 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8725
b89fc156
IK
87262013-06-24 Ivan Kanis <ivan@kanis.fr>
8727
8728 * net/eww.el (eww): Work more correctly for file: URLs.
8729 (eww-detect-charset): Allow quoted charsets.
8730 (eww-yank-page-url): New command and keystroke.
8731
18eb4bca
DU
87322013-06-24 Daiki Ueno <ueno@gnu.org>
8733
8734 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8735 file name of gpg executable.
8736 (epg-context-program): New function.
8737 (epg-context-home-directory): New function.
8738 (epg-context-set-program): New function.
8739 (epg-context-set-home-directory): New function.
8740 (epg--start): Use `epg-context-program' instead of
8741 'epg-gpg-program'.
8742 (epg--list-keys-1): Likewise.
8743
6c6268c8
LL
87442013-06-24 Leo Liu <sdl.web@gmail.com>
8745
8746 * ido.el (ido-read-internal): Fix bug#14620.
8747
5e400cb3
JB
87482013-06-23 Juanma Barranquero <lekktu@gmail.com>
8749
8750 * faces.el (face-documentation): Simplify.
8751 (read-face-attribute, tty-find-type, x-resolve-font-name):
8752 Use `string-match-p'.
8753 (list-faces-display): Use `string-match-p'. Simplify.
8754 (face-spec-recalc): Check face to avoid face alias loops.
8755 (read-color): Use `string-match-p' and non-capturing parenthesis.
8756
f3f9606c
LMI
87572013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8758
8759 * net/shr.el (shr-rescale-image): Use the new
8760 :max-width/:max-height functionality.
8761
a3ca09b9
IK
87622013-06-23 Ivan Kanis <ivan@kanis.fr>
8763
8764 * net/eww.el (eww-search-prefix): New variable.
8765 (eww): Use it.
f865b474
IK
8766 (eww-external-browser): New variable.
8767 (eww-mode-map): New keystroke.
8768 (eww-browse-with-external-browser): New command.
a3ca09b9 8769
e854cfc7
IK
8770 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8771
18bb9e21
JB
87722013-06-23 Juanma Barranquero <lekktu@gmail.com>
8773
8774 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8775 Don't skip aligning the next header field when padding is 0;
8776 otherwise, field width is not respected unless the title is as
8777 wide as the field.
8778
5b165ade
SM
87792013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8780
8781 * emacs-lisp/package.el (package-el-version): Remove.
8782 (package-process-define-package): Fix inf-loop.
8783 (package-install): Allow symbols as arguments again.
8784
12adebe9
DG
87852013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8786
8787 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8788 add some more keyword-like methods.
8789 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8790
388573ee
JB
87912013-06-22 Juanma Barranquero <lekktu@gmail.com>
8792
8793 * bs.el (bs-buffer-show-mark): Make defvar-local.
8794 (bs-mode): Use setq-local.
8795
8796 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8797 (emacs-lock--try-unlocking): Make defvar-local.
8798
4582a01c 87992013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8800
2663dd23
GM
8801 * play/cookie1.el (cookie-apropos): Minor simplification.
8802
3d94f3ad
GM
8803 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8804
f72e2fdb
DG
88052013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8806
8807 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8808 `regexp-opt', it breaks the build during dumping.
8809
73eab938
DG
88102013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8811
c763842b
SM
8812 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8813 Highlight keyword-like methods on Kernel and Module with
73eab938 8814 font-lock-builtin-face.
5cf8176d
DG
8815 (auto-mode-alist): Consolidate different entries into one regexp
8816 and add more *file-s.
73eab938 8817
d26255f6
SB
88182013-06-21 Stephen Berman <stephen.berman@gmx.net>
8819
8820 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8821
8822 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8823 (diary-entry): Use it in the action of this button type instead of
8824 diary-goto-entry.
8825
8826 * calendar/todo-mode.el: New version.
8827 (todo-add-category): Append new category to end of file and give
8828 it the highest number, instead of putting it at the beginning and
8829 giving it 0. Incorporate noninteractive functionality.
8830 (todo-forward-category): Adapt to 1-based category numbering.
8831 Allow skipping over archived categories.
8832 (todo-backward-category): Derive from todo-forward-category.
8833 (todo-backward-item, todo-forward-item): Make noninteractive and
8834 delegate interactive part to new commands. Make sensitive to done items.
8835 (todo-categories): Make value an alist of category names and
8836 vectors of item counts.
8837 (todo-category-beg): Make a defconst.
8838 (todo-category-number): Use 1 instead of 0 as initial value.
8839 (todo-category-select): Make sensitive to overlays, optional item
8840 highlighting and done items.
8841 (todo-delete-item): Make sensitive to overlays and marked and done items.
8842 (todo-edit-item): Make sensitive to overlays and editing of
8843 date/time header optional. Add format checks.
8844 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8845 no-op if point is not on an item. Advertise using todo-edit-quit.
8846 (todo-edit-mode): Make sensitive to new format, font-locking, and
8847 multiple todo files.
8848 (todo-insert-item, todo-insert-item-here): Derive from
8849 todo-basic-insert-item and extend functionality.
8850 (todo-item-end, todo-item-start): Make sensitive to done items.
8851 (todo-item-string): Don't return text properties. Restore point.
8852 (todo-jump-to-category): Make sensitive to multiple todo files and
8853 todo archives. Use extended category completion.
8854 (todo-lower-item, todo-raise-item): Rename to *-priority and
8855 derive from todo-set-item-priority.
8856 (todo-mode): Derive from special-mode. Make sensitive to new
8857 format, font-locking and multiple todo files. Make read-only.
8858 (todo-mode-map): Don't suppress digit keys, so they can supply
8859 prefix arguments. Add many new key bindings.
8860 (todo-prefix): Insert as an overlay instead of file text.
8861 Change semantics from diary date expression to purely visual mark.
8862 (todo-print): Rename to todo-print-buffer. Make buffer display
8863 features printable. Remove option to restrict number of items
8864 printed. Add option to print to file.
8865 (todo-print-function): Rename to todo-print-buffer-function.
8866 (todo-quit): Extend to handle exiting new todo modes.
8867 (todo-remove-item): Make sensitive to overlays.
8868 (todo-save): Extend to buffers of filtered items.
8869 (todo-show): Make sensitive to done items, multiple todo files and
8870 new todo modes. Offer to convert legacy todo file before creating
8871 first new todo file.
8872 (todo-show-priorities): Rename to todo-top-priorities.
8873 Change semantics of value 0.
8874 (todo-top-priorities): Rename to todo-filter-top-priorities,
8875 derive from todo-filter-items and extend functionality.
8876 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8877 and extend functionality to other types of filtered items.
8878 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8879 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8880 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8881 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8882 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8883 (todo-edit-mode-hook, todo-entry-prefix-function)
8884 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8885 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8886 (todo-initials, todo-insert-threshold, todo-item-string-start)
8887 (todo-line-string, todo-menu, todo-mode-hook)
8888 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8889 (todo-print-priorities, todo-remove-separator)
8890 (todo-save-top-priorities-too, todo-string-count-lines)
8891 (todo-string-multiline-p, todo-time-string-format)
8892 (todo-tmp-buffer-name): Remove.
8893 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8894 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8895 (todo-edit-category-diary-inclusion)
8896 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8897 (todo-edit-file, todo-edit-item-date-day)
8898 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8899 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8900 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8901 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8902 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8903 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8904 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8905 (todo-filter-top-priorities-multifile, todo-find-archive)
8906 (todo-find-filtered-items-file, todo-go-to-source-item)
8907 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8908 (todo-jump-to-archive-category, todo-lower-category)
8909 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8910 (todo-move-category, todo-move-item, todo-next-button)
8911 (todo-next-item, todo-padded-string, todo-powerset)
8912 (todo-previous-button, todo-previous-item)
8913 (todo-print-buffer-to-file, todo-raise-category)
8914 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8915 (todo-set-category-number, todo-set-item-priority)
8916 (todo-set-top-priorities-in-category)
8917 (todo-set-top-priorities-in-file, todo-show-categories-table)
8918 (todo-sort-categories-alphabetically-or-numerically)
8919 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8920 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8921 (todo-toggle-item-header, todo-toggle-item-highlighting)
8922 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8923 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8924 (todo-unarchive-items, todo-unmark-category): New commands.
8925 (todo-absolute-file-name, todo-add-to-buffer-list)
8926 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8927 (todo-basic-insert-item, todo-category-completions)
8928 (todo-category-number, todo-category-string-matcher-1)
8929 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8930 (todo-check-format, todo-clear-matches)
8931 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8932 (todo-current-category, todo-date-string-matcher)
8933 (todo-define-insertion-command, todo-diary-expired-matcher)
8934 (todo-diary-goto-entry, todo-diary-item-p)
8935 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8936 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8937 (todo-done-item-section-p, todo-done-separator)
8938 (todo-done-string-matcher, todo-files, todo-filter-items)
8939 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8940 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8941 (todo-insert-category-line, todo-insert-item-from-calendar)
8942 (todo-insert-sort-button, todo-insert-with-overlays)
8943 (todo-insertion-command-name, todo-insertion-key-bindings)
8944 (todo-label-to-key, todo-longest-category-name-length)
8945 (todo-make-categories-list, todo-mode-external-set)
8946 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8947 (todo-modes-set-3, todo-multiple-filter-files)
8948 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8949 (todo-read-category, todo-read-date, todo-read-dayname)
8950 (todo-read-file-name, todo-read-time)
8951 (todo-reevaluate-category-completions-files-defcustom)
8952 (todo-reevaluate-default-file-defcustom)
8953 (todo-reevaluate-filelist-defcustoms)
8954 (todo-reevaluate-filter-files-defcustom)
8955 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8956 (todo-reset-done-separator, todo-reset-done-separator-string)
8957 (todo-reset-done-string, todo-reset-global-current-todo-file)
8958 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8959 (todo-reset-prefix, todo-set-categories)
8960 (todo-set-date-from-calendar, todo-set-show-current-file)
8961 (todo-set-top-priorities, todo-short-file-name)
8962 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8963 (todo-total-item-counts, todo-update-buffer-list)
8964 (todo-update-categories-display, todo-update-categories-sexp)
8965 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8966 New functions.
8967 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8968 New major modes.
8969 (todo-categories, todo-display, todo-edit, todo-faces)
8970 (todo-filtered): New defgroups.
8971 (todo-archived-only, todo-button, todo-category-string, todo-date)
8972 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8973 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8974 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8975 (todo-add-item-if-new-category, todo-always-add-time-string)
8976 (todo-categories-align, todo-categories-archived-label)
8977 (todo-categories-category-label, todo-categories-diary-label)
8978 (todo-categories-done-label, todo-categories-number-separator)
8979 (todo-categories-todo-label, todo-categories-totals-label)
8980 (todo-category-completions-files, todo-completion-ignore-case)
8981 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8982 (todo-done-separator-string, todo-done-string)
8983 (todo-files-function, todo-filter-done-items, todo-filter-files)
8984 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8985 (todo-initial-category, todo-initial-file, todo-item-mark)
8986 (todo-legacy-date-time-regexp, todo-mode-line-function)
8987 (todo-nondiary-marker, todo-number-prefix)
8988 (todo-print-buffer-function, todo-show-current-file)
8989 (todo-show-done-only, todo-show-first, todo-show-with-done)
8990 (todo-skip-archived-categories, todo-top-priorities-overrides)
8991 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8992 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8993 New defcustoms.
8994 (todo-category-done, todo-date-pattern, todo-date-string-start)
8995 (todo-diary-items-buffer, todo-done-string-start)
8996 (todo-filtered-items-buffer, todo-item-start)
8997 (todo-month-abbrev-array, todo-month-name-array)
8998 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8999 (todo-top-priorities-buffer): New defconsts.
9000 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9001 (todo-categories-with-marks, todo-category-string-face)
9002 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9003 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9004 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9005 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9006 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9007 (todo-font-lock-keywords, todo-global-current-todo-file)
9008 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9009 (todo-insertion-commands-args)
9010 (todo-insertion-commands-args-genlist)
9011 (todo-insertion-commands-names, todo-insertion-map)
9012 (todo-key-bindings-t, todo-key-bindings-t+a)
9013 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9014 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9015 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9016 (todo-visited): New variables.
9017
cad5d1cb
GM
90182013-06-21 Glenn Morris <rgm@gnu.org>
9019
9020 * play/cookie1.el (cookie-apropos): Add optional display argument.
9021 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9022 (psychoanalyze-pinhead): Use cookie-doctor.
9023
9e277302
JB
90242013-06-21 Juanma Barranquero <lekktu@gmail.com>
9025
9026 * emacs-lisp/package.el (tar-get-file-descriptor)
9027 (tar--extract): Declare.
9028
c5b0993e
EW
90292013-06-21 Eduard Wiebe <usenet@pusto.de>
9030
9031 Extend flymake's warning predicate to be a function (bug#14217).
9032 * progmodes/flymake.el (flymake-warning-predicate): New.
9033 (flymake-parse-line): Use it.
9034 (flymake-warning-re): Make obsolete alias to
9035 `flymake-warning-predicate'.
9036
a7d2d465
SM
90372013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9038
9039 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9040 (package-obsolete-list): Remove.
9041 (package-activate): Remove min-version argument. Add `force' argument.
9042 Adjust to new package-alist format.
9043 (package-mark-obsolete): Remove.
9044 (package-unpack): Force reload of the package's autoloads.
9045 (package-installed-p): Check builtins if the installed package is not
9046 recent enough.
9047 (package-initialize): Don't reset package-obsolete-list.
9048 Don't specify which package version to activate.
9049 (package-process-define-package, describe-package-1)
9050 (package-menu--generate): Adjust to new package-alist format.
9051
cedf5c9d
JB
90522013-06-21 Juanma Barranquero <lekktu@gmail.com>
9053
9054 * allout-widgets.el (allout-widgets-mode-off)
9055 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9056 (allout-widgets-post-command-business)
9057 (allout-widgets-after-copy-or-kill-function)
9058 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9059 (allout-decorate-item-and-context)
9060 (allout-graphics-modification-handler): Fix typos in docstrings.
9061 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9062
9063 * cmuscheme.el (scheme-start-file): Doc fix.
9064 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9065 (scheme-input-filter): Use `string-match-p'.
9066
9067 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9068
9069 * dired-x.el: Use Dired consistently in docstrings.
9070
9071 * dired.el: Use Dired consistently in docstrings.
9072 (dired-readin, dired-mode): Use `setq-local'.
9073 (dired-switches-alist): Make defvar-local.
9074 (dired-buffers-for-dir): Use `zerop'.
9075 (dired-safe-switches-p, dired-switches-escape-p)
9076 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9077 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9078 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9079 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9080 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9081 (dired-toggle-marks, dired-mark-files-containing-regexp)
9082 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9083 (dired-flag-auto-save-files, dired-flag-backup-files):
9084 Use `looking-at-p'.
9085 (dired-mark-files-regexp, dired-build-subdir-alist):
9086 Use `string-match-p', `looking-at-p'.
9087
9088 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9089 (direct-print-region-helper): Use `string-match-p'.
9090
aed838b5
LL
90912013-06-21 Leo Liu <sdl.web@gmail.com>
9092
cedf5c9d
JB
9093 * comint.el (comint-redirect-results-list-from-process):
9094 Fix infinite loop.
aed838b5 9095
d80a808f
LMI
90962013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9097
9098 * net/eww.el (eww-update-header-line-format): Quote % characters.
9099
e7a526e3
GM
91002013-06-21 Glenn Morris <rgm@gnu.org>
9101
9102 * play/cookie1.el (cookie): New custom group.
9103 (cookie-file): New option.
9104 (cookie-check-file): New function.
9105 (cookie): Make it interactive. Make start and end messages optional.
9106 Interactively, display the result. Default to cookie-file.
9107 (cookie-insert): Default to cookie-file.
9108 (cookie-snarf): Make start and end messages optional.
9109 Default to cookie-file. Use with-temp-buffer.
9110 (cookie-read): Rename from read-cookie.
9111 Make start and end messages optional. Default to cookie-file.
9112 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 9113 Do not autoload it.
e7a526e3
GM
9114 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9115 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9116
62efb35e
LL
91172013-06-21 Leo Liu <sdl.web@gmail.com>
9118
9119 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9120
21e3f963
GM
91212013-06-21 Glenn Morris <rgm@gnu.org>
9122
9123 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9124
fd846ab4
SM
91252013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9126 Daniel Hackney <dan@haxney.org>
9127
9128 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9129 Consolidate the single-file vs tarball code.
9130 (package-desc-suffix): New function.
9131 (package-desc-full-name): Don't bother inlining it.
9132 (package-load-descriptor): Return the new package-desc.
9133 (package-mark-obsolete): Remove unused arg `package'.
9134 (package-unpack): Make it work for single files as well.
9135 Make it update package-alist.
9136 (package--make-autoloads-and-stuff): Rename from
9137 package--make-autoloads-and-compile. Don't compile any more.
9138 (package--compile): New function.
9139 (package-generate-description-file): New function, extracted from
9140 package-unpack-single.
9141 (package-unpack-single): Remove.
9142 (package--with-work-buffer): Add indentation and debugging info.
9143 (package-download-single): Remove.
9144 (package-install-from-archive): Rename from package-download-tar, make
9145 it take a pkg-desc, and make it work for single files as well.
9146 (package-download-transaction): Simplify.
9147 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9148 external tar program.
9149 (package-install-from-buffer): Remove `pkg-desc' argument.
9150 Use package-tar-file-info for tar-mode buffers.
9151 (package-install-file): Simplify accordingly.
9152 (package-archive-base): Change to take a pkg-desc.
9153 * tar-mode.el (tar--check-descriptor): New function, extracted from
9154 tar-get-descriptor.
9155 (tar-get-descriptor): Use it.
9156 (tar-get-file-descriptor): New function.
9157 (tar--extract): New function, extracted from tar-extract.
9158 (tar--extract): Use it.
9159 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9160 case the summary uses non-ascii. Adjust to new calling convention of
9161 package-tar-file-info.
9162
b7deae5e
LL
91632013-06-21 Leo Liu <sdl.web@gmail.com>
9164
fd846ab4
SM
9165 * comint.el (comint-redirect-results-list-from-process):
9166 Fix random delay. (Bug#14681)
b7deae5e 9167
7a65a0b2
JB
91682013-06-21 Juanma Barranquero <lekktu@gmail.com>
9169
9170 * profiler.el (profiler-format-number): Use log, not log10.
9171
1493c2af
JB
91722013-06-20 Juanma Barranquero <lekktu@gmail.com>
9173
9174 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9175
aff6371e
SM
91762013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9177
9178 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9179 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9180 yet available.
9181 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9182 (AUTOGENEL): ... here.
9183 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9184 (cl--defsubst-expand): Use it.
9185
89561f72
PE
91862013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9187
9188 * subr.el (log10): Move here from C code, and declare as obsolete.
9189 All uses of (log10 X) replaced with (log X 10).
9190
47199123
JB
91912013-06-20 Juanma Barranquero <lekktu@gmail.com>
9192
9193 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9194 Declare with `defvar-local'.
9195 (tabulated-list-use-header-line, tabulated-list-entries)
9196 (tabulated-list-padding, tabulated-list-printer)
9197 (tabulated-list-sort-key): Declare with `defvar-local'.
9198 (tabulated-list-init-header, tabulated-list-print-fake-header):
9199 Use `setq-local'.
9200
4a172eab
MA
92012013-06-20 Michael Albinus <michael.albinus@gmx.de>
9202
47199123
JB
9203 * arc-mode.el (archive-mode): Add `archive-write-file' to
9204 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 9205
5fc0acc0
JB
92062013-06-20 Juanma Barranquero <lekktu@gmail.com>
9207
d5b27848
JB
9208 * cus-edit.el (custom-commands): Fix typos.
9209 (custom-display): Fix tooltip text.
9210 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9211 Fix typos in docstrings.
9212 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9213 (custom-unlispify-menu-entry, custom-magic-value-create)
9214 (custom-add-see-also, custom-group-value-create): Use ?\s.
9215 (custom-guess-type, customize-apropos, editable-field)
9216 (custom-face-value-create): Use `string-match-p'.
9217 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9218
9219 * custom.el (custom-load-symbol): Use `string-match-p'.
9220
a5c581d8
JB
9221 * ansi-color.el: Convert to lexical binding.
9222 (ansi-colors): Fix URL.
9223 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9224 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9225 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9226
970ad972
G
92272013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9228
9229 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9230
9231 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9232
92332013-06-19 Tom Tromey <tromey@redhat.com>
9234
9235 * net/eww.el (eww-top-url): Remove.
9236 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9237 (eww-render): Set new variables. Don't set eww-top-url.
9238 (eww-handle-link): Handle "prev", "home", and "contents".
9239 Downcase the rel text.
9240 (eww-top-url): Choose best top URL.
9241
92422013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9243
9244 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9245 relying in widget.el. Using widget.el leads to too many
9246 user interface inconsistencies.
9247 (eww-self-insert): Implement entering commands in text fields.
9248 (eww-process-text-input): New function to make text input field editing
9249 work.
9250 (eww-submit): Rewrite to use the new-style form methods.
9251 (eww-select-display): Display the correct selected item.
9252 (eww-change-select): Implement changing the select value.
9253 (eww-toggle-checkbox): Implement radio/checkboxes.
9254 (eww-update-field): Fix compilation error.
9255 (eww-tag-textarea): Implement <textarea>.
9256
9257 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9258 we don't shadow mode-specific bindings.
9259
9260 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9261 nothing to push.
9262
9263 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9264
4582a01c 92652013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9266
9267 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9268
15b263dc
MA
92692013-06-19 Michael Albinus <michael.albinus@gmx.de>
9270
9271 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9272 not needed.
9273
9274 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9275
8f5297f7
LMI
92762013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9277
9278 * net/browse-url.el (browse-url-browser-function):
9279 `eww-browse-url' has the right calling signature, `eww' does not.
9280
011c4552
GM
92812013-06-19 Glenn Morris <rgm@gnu.org>
9282
2285bd27
GM
9283 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9284 Only eval autoloaded macros.
9285 (byte-compile-autoload): Only give the macro warning for macros.
9286
1d653303
GM
9287 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9288 (ps-underlined-faces): Declare.
9289
bdd779ec
GM
9290 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9291 (speedbar-add-supported-extension): Declare.
9292
011c4552
GM
9293 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9294 Don't include a date stamp in the header of the generated file;
9295 it leads to needless differences between output files.
9296
e59dfb0e
MA
92972013-06-19 Michael Albinus <michael.albinus@gmx.de>
9298
c763842b
SM
9299 * net/secrets.el (secrets-struct-secret-content-type):
9300 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9301 Some servers do not offer introspection.
e59dfb0e 9302
102626e2
SM
93032013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * electric.el (electric-pair-mode): Improve interaction with
9306 electric-layout-mode.
9307 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9308 (electric-pair-syntax): Use text-mode-syntax-table in comments
9309 and strings.
9310 (electric-pair--insert): New function.
9311 (electric-pair-post-self-insert-function): Use it and
9312 electric--after-char-pos.
9313
ad528125
LL
93142013-06-19 Leo Liu <sdl.web@gmail.com>
9315
9316 * progmodes/octave.el (octave-help): Fix regexp.
9317
924d6997
G
93182013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9319
9320 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9321 (shr-table-horizontal-line): Allow nil as a value, and change the
9322 default.
9323 (shr-insert-table-ruler): Respect the nil value.
9324
93252013-06-18 Tom Tromey <tromey@barimba>
9326
9327 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9328 New defvars.
9329 (eww-open-file): New defun.
9330 (eww-render): Initialize new variables.
9331 (eww-display-html): Handle "link" and "a".
9332 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9333 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9334 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9335 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9336 New defuns.
924d6997 9337
d1bbba4f
DG
93382013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9339
9340 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9341 Distinguish ternary operator tokens from slash symbol and slash
9342 char literal.
9343
14dd22d2
JB
93442013-06-18 Juanma Barranquero <lekktu@gmail.com>
9345
9346 Convert symbol prettification into minor mode and global minor mode.
9347
9348 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9349 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9350 (prettify-symbols--keywords): Rename from
9351 `prog-prettify-symbols-alist' and make a local defvar.
9352 (prettify-symbols--compose-symbol): Rename from
9353 `prog--prettify-font-lock-compose-symbol'.
9354 (prettify-symbols--make-keywords): Rename from
9355 `prog-prettify-font-lock-symbols-keywords' and simplify.
9356 (prog-prettify-install): Remove.
9357 (prettify-symbols-mode): New minor mode, based on
9358 `prog-prettify-install'.
9359 (turn-on-prettify-symbols-mode): New function.
9360 (global-prettify-symbols-mode): New globalized minor mode.
9361
9362 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9363 * progmodes/cfengine.el (cfengine3-mode):
9364 * progmodes/perl-mode.el (perl-mode): Don't call
9365 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9366
292c880c
JL
93672013-06-18 Juri Linkov <juri@jurta.org>
9368
9369 * files-x.el (modify-file-local-variable-message): New function.
9370 (modify-file-local-variable)
9371 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9372 and call `modify-file-local-variable-message' when it's non-nil.
9373 (add-file-local-variable, delete-file-local-variable)
9374 (add-file-local-variable-prop-line)
9375 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9376 and use it. (Bug#9820)
9377
0950aa27
JL
93782013-06-18 Juri Linkov <juri@jurta.org>
9379
9380 * emulation/vi.el (vi-shell-op):
9381 * emulation/vip.el (vip-execute-com, ex-command):
9382 * emulation/viper-cmd.el (viper-exec-bang):
9383 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9384 the call of `shell-command-on-region'. (Bug#14637)
9385
9386 * simple.el (shell-command-on-region): Doc fix.
9387
8fbcca16
SM
93882013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9389
9390 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9391 (bug#14633).
9392
dd7426ea
GM
93932013-06-18 Glenn Morris <rgm@gnu.org>
9394
4ba54f7d
GM
9395 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9396
dd7426ea
GM
9397 * newcomment.el (comment-search-forward, comment-search-backward):
9398 Doc fix. (Bug#14376)
9399
58aa805b
JB
94002013-06-18 Juanma Barranquero <lekktu@gmail.com>
9401
9402 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9403 (buffer-face-mode-invoke): Doc fix.
9404
9a08a617
MM
94052013-06-18 Matthias Meulien <orontee@gmail.com>
9406
9407 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9408 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9409
f2f426ca
GM
94102013-06-18 Glenn Morris <rgm@gnu.org>
9411
9445f99b
GM
9412 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9413 Replace obsolete function generic-make-keywords with its expansion.
9414
e0df2d14
GM
9415 * progmodes/python.el (ffap-alist): Declare.
9416
f2f426ca
GM
9417 * textmodes/reftex.el (bibtex-mode-map): Declare.
9418
f7f9a720
SM
94192013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9420
9421 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9422 (package-unpack, package-unpack-single): Return the pkg-dir.
9423 (package-download-transaction): Use it to update package-alist.
9424
57ff04e0
LMI
94252013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9426
9427 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9428 possible choice.
9429
c048c022
JL
94302013-06-17 Juri Linkov <juri@jurta.org>
9431
9432 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9433
b5bcaee5
DG
94342013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9435
a020afb9
JB
9436 * emacs-lisp/package.el (package-load-descriptor):
9437 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9438 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9439
551e07e5
JB
94402013-06-17 Juanma Barranquero <lekktu@gmail.com>
9441
9442 * startup.el (command-line): Expand package name returned by
9443 `package--description-file' (bug#14639).
9444
d363bffb
DG
94452013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9446
9447 * emacs-lisp/package.el (package-load-descriptor): Do not call
9448 `emacs-lisp-mode', just use its syntax table.
9449
f612933b
JB
94502013-06-17 Juanma Barranquero <lekktu@gmail.com>
9451
9452 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9453 `font-lock-extra-managed-props' if any prettifying keyword is added.
9454 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9455 (prog-mode): Use `setq-local'.
9456
db3b7db5
SM
94572013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 * international/characters.el (standard-case-table): Set syntax of ?»
9460 and ?« to punctuation.
9461
f3d674df
JB
94622013-06-16 Juanma Barranquero <lekktu@gmail.com>
9463
9464 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9465 Save relevant match data before calling `syntax-ppss' (bug#14595).
9466
31489a32
JL
94672013-06-15 Juri Linkov <juri@jurta.org>
9468
9469 * files-x.el (modify-file-local-variable-prop-line): Add local
9470 variables to the end of the existing comment on the first line.
9471 Use `file-auto-mode-skip' to skip interpreter magic line,
9472 and also skip XML declaration.
9473
66bd25ab
SM
94742013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9475
9476 * startup.el (package--builtin-versions): New var.
9477 (package-subdirectory-regexp): Remove.
9478 (package--description-file): Hard code its value instead.
9479
9480 * emacs-lisp/package.el: Don't activate packages older than builtin.
9481 (package-obsolete-list): Rename from package-obsolete-alist, and make
9482 it into a simple list of package-desc.
9483 (package-strip-version): Remove.
9484 (package-built-in-p): Use package--builtin-versions.
9485 (package-mark-obsolete): Simplify.
9486 (package-process-define-package): Mark it obsolete if older than the
9487 builtin version.
9488 (package-handle-response): Use line-end-position.
9489 (package-read-archive-contents, package--download-one-archive):
9490 Simplify.
9491 (package--add-to-archive-contents): Skip if older than the builtin or
9492 installed version.
9493 (package-menu-describe-package): Fix last change.
9494 (package-list-unversioned): New var.
9495 (package-menu--generate): Use it.
9496
9497 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9498 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9499 (autoload-builtin-package-versions): New variable.
9500 (autoload-generate-file-autoloads): Use them.
9501 Remove the list of autoloaded functions/macros from the
9502 (autoload...) comments.
9503
9504 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9505
9583ec36
EZ
95062013-06-15 Eli Zaretskii <eliz@gnu.org>
9507
9508 * simple.el (line-move-partial): Don't jump to the next screen
9509 line as soon as it becomes visible. Instead, continue enlarging
9510 the vscroll until the portion of a tall screen line that's left on
9511 display is about the height of the frame's default font.
9512 (Bug#14567)
9513
f0100d8a
GM
95142013-06-15 Glenn Morris <rgm@gnu.org>
9515
b86a85ca
GM
9516 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9517 compilation-error-regexp-alist void, or local while let-bound.
9518
f0100d8a
GM
9519 * progmodes/make-mode.el (makefile-mode-syntax-table):
9520 Treat "=" as punctuation. (Bug#14614)
9521
05e7ce90
JB
95222013-06-15 Juanma Barranquero <lekktu@gmail.com>
9523
9524 * help-fns.el (describe-variable):
9525 Add extra line for permanent-local variables.
9526
12e5e86e
SH
95272013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9528
9529 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9530 Add export, import, library. (Bug#9164)
9531 (library): Set indent function.
9532
230dcbaf
GM
95332013-06-14 Glenn Morris <rgm@gnu.org>
9534
9535 * term/xterm.el (xterm--query):
9536 Stop after first matching handler. (Bug#14615)
9537
e36b2d20 95382013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9539
9540 Add support for dired in saveplace.
9541 * dired.el (dired-initial-position-hook): New variable.
9542 (dired-initial-position): Call hook to place cursor position.
9543 * saveplace.el (save-place-to-alist): Add dired position.
9544 (save-place-dired-hook): New function.
9545
0b31660d
SM
95462013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9547
bf1e6ae8
SM
9548 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9549 through a symbol rather than letrec.
9550
1b8dff23
SM
9551 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9552 (package-desc): Add `dir' field.
9553 (package-desc-full-name): New function.
9554 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9555 (package-maybe-load-descriptor): Remove.
9556 (package-load-all-descriptors): Just call package-load-descriptor.
9557 (package--disabled-p): New function.
9558 (package-desc-vers, package-desc-doc): Remove aliases.
9559 (package--dir): Remove function.
9560 (package-activate): Check if a package is disabled.
9561 (package-process-define-package): New function, extracted from
9562 define-package.
9563 (define-package): Turn into a place holder.
9564 (package-unpack-single, package-tar-file-info):
9565 Use package--description-file.
9566 (package-compute-transaction): Use package--disabled-p.
9567 (package-download-transaction): Don't call
9568 package-maybe-load-descriptor since they're all loaded anyway.
9569 (package-install): Change argument to be a pkg-desc.
9570 (package-delete): Use a single pkg-desc argument.
9571 (describe-package-1): Use package-desc-dir instead of package--dir.
9572 Use package-desc property instead of package-symbol.
9573 (package-install-button-action): Adjust accordingly.
9574 (package--push): Rewrite.
9575 (package-menu--print-info): Adjust accordingly. Change the ID format
9576 to be a pkg-desc.
9577 (package-menu-describe-package, package-menu-get-status)
9578 (package-menu--find-upgrades, package-menu-mark-upgrades)
9579 (package-menu-execute, package-menu--name-predicate):
9580 Adjust accordingly.
9581 * startup.el (package--description-file): New function.
9582 (command-line): Use it.
9583 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9584 Use package-desc-version.
9585
0b31660d
SM
9586 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9587 (byte-compile-preprocess): Use it.
9588 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9589 can't quite recognize.
9590 (byte-compile-add-to-list): Remove.
9591 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9592 (cconv-closure-convert): Add assertion.
9593
9594 * emacs-lisp/map-ynp.el: Use lexical-binding.
9595 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9596 Factor out some repeated code.
9597
de0503df
SM
95982013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9599
9600 * subr.el (with-eval-after-load): New macro.
9601 (eval-after-load): Allow form to be a function.
9602 take advantage of lexical-binding.
9603 (do-after-load-evaluation): Use dolist and adjust to new format.
9604 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9605
bc5c8c5a
JL
96062013-06-13 Juri Linkov <juri@jurta.org>
9607
9608 * replace.el (perform-replace): Display "symbol " and other search
9609 modes from `isearch-message-prefix' in the *Help* buffer.
9610
9611 * isearch.el (isearch-query-replace): Add " symbol" and other
9612 possible search modes from `isearch-message-prefix' to the prompt.
9613 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9614 when reading a regexp to collect.
9615
a22289f7
JL
96162013-06-13 Juri Linkov <juri@jurta.org>
9617
9618 * isearch.el (word-search-regexp): Match whitespace if the search
9619 string begins or ends in whitespace. The LAX arg is applied to
9620 both ends of the search string. Use `regexp-quote' and explicit
9621 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9622 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9623 boundaries are replaced with symbol boundaries, and characters
9624 between symbols match non-word non-symbol syntax. (Bug#14602)
9625
cb89acab
JL
96262013-06-13 Juri Linkov <juri@jurta.org>
9627
9628 * isearch.el (isearch-del-char): Don't exceed the length of
9629 `isearch-string' by the prefix arg. (Bug#14563)
9630
6e8cfc81
JL
96312013-06-13 Juri Linkov <juri@jurta.org>
9632
9633 * isearch.el (isearch-yank-word, isearch-yank-line)
9634 (isearch-char-by-name, isearch-quote-char)
9635 (isearch-printing-char, isearch-process-search-char):
9636 Add optional count prefix arg. (Bug#14563)
9637
9638 * international/isearch-x.el
9639 (isearch-process-search-multibyte-characters):
9640 Add optional count prefix arg.
9641
c23d55f4
VS
96422013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9643
9644 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9645 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9646 lexical-binding.
9647
96482013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9649
9650 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9651
ba947bc4
GM
96522013-06-13 Glenn Morris <rgm@gnu.org>
9653
8baeb37a
GM
9654 * startup.el (tty-handle-args):
9655 Don't just discard "--" and anything after. (Bug#14608)
9656
ba947bc4
GM
9657 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9658
9abefce4
MA
96592013-06-13 Michael Albinus <michael.albinus@gmx.de>
9660
9661 Implement changes in Secret Service API. Make it backward compatible.
9662 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9663 (secrets-create-item): Use it. Prefix properties with interface.
9664
5755011f
MH
96652013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9666
9667 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9668 (term-emulate-terminal): Respect term-suppress-hard-newline.
9669
1261d2da
S
96702013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9671
9672 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9673 Only remove a `thumb-file' overlay. (Bug#14548)
9674
868490bb
GJ
96752013-06-12 Grégoire Jadi <daimrod@gmail.com>
9676
9677 * mail/reporter.el (reporter-submit-bug-report):
9678 Handle missing package-name. (Bug#14600)
9679
79d7167f
TH
96802013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9681
9682 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9683 (reftex-citation-prompt, reftex-default-bibliography)
9684 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9685 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9686 (reftex-bib-sort-author, reftex-bib-sort-year)
9687 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9688 (reftex-extract-bib-entries-from-thebibliography)
9689 (reftex-get-bibkey-default, reftex-get-bib-names)
9690 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9691 (reftex-format-bib-entry, reftex-parse-bibitem)
9692 (reftex-format-bibitem, reftex-do-citation)
9693 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9694 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9695 (reftex-insert-bib-matches, reftex-format-citation)
9696 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9697 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9698 existing comments into docstrings.
9699
5f9dbd7a
XF
97002013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9701
9702 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9703
94df41ab
AS
97042013-06-12 Andreas Schwab <schwab@suse.de>
9705
9706 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9707 for auto-save files.
9708
a7f3fecc
GM
97092013-06-12 Glenn Morris <rgm@gnu.org>
9710
001809f6
GM
9711 * ido.el (ido-delete-ignored-files): Remove.
9712 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9713 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9714
834b5ded
EL
97152013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9716
08c73ed2
EL
9717 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9718
834b5ded
EL
9719 * ido.el (ido-delete-ignored-files): New function,
9720 split from ido-make-file-list-1.
9721 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9722 (ido-make-file-list-1): Use ido-delete-ignored-files.
9723
daabf15a
LL
97242013-06-12 Leo Liu <sdl.web@gmail.com>
9725
9726 * progmodes/octave.el (inferior-octave-startup)
9727 (inferior-octave-completion-table)
9728 (inferior-octave-track-window-width-change)
9729 (octave-eldoc-function-signatures, octave-help)
9730 (octave-find-definition): Use single quoted strings.
9731 (inferior-octave-startup-args): Change default value.
9732 (inferior-octave-startup): Do not hard code "-i" and
9733 "--no-line-editing".
9734 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9735 (inferior-octave-directory-tracker): Use it.
9736 (octave-goto-function-definition): Robustify.
9737 (octave-help): Support highlighting operators in 'See also'.
9738 (octave-find-definition): Find subfunctions only in Octave mode.
9739
cf4e5178
SM
97402013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9741
9742 * help-fns.el (help-fns--compiler-macro): If the handler function is
9743 named, then put a link to it.
9744 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9745 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9746 (cl-typep): Use it.
9747 (cl-eval-when): Simplify debug spec.
9748 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9749 compiler-macro function instead of setting `compiler-macro-file'.
9750
99c81280 97512013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9752
9753 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9754 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9755
f56be016
SM
97562013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9757 Daniel Hackney <dan@haxney.org>
9758
9759 First part of Daniel Hackney's patch to package.el.
9760 * emacs-lisp/package.el: Use defstruct.
9761 (package-desc): New, main struct.
9762 (package--bi-desc, package--ac-desc): New structs, used to describe the
9763 format in external files.
9764 (package-desc-vers): Replace with package-desc-version accessor.
9765 (package-desc-doc): Replace with package-desc-summary accessor.
9766 (package-activate-1): Remove `package' arg since the pkg-vec now
9767 includes the name.
9768 (define-package): Use package-desc-from-define.
9769 (package-unpack-single): Change file-name arg to be a symbol.
9770 (package--add-to-archive-contents): Use package-desc-create and new
9771 accessor functions to package--ac-desc.
9772 (package-buffer-info, package-tar-file-info): Return a package-desc.
9773 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9774 arg to be a package-desc.
9775 (package-install-file): Adjust accordingly. Use \' to match EOS.
9776 (package--from-builtin): New function.
9777 (describe-package-1, package-menu--generate): Use it.
9778 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9779 (package-generate-autoloads): Idem and return the name of the file.
9780 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9781 Change pkg-info arg to be a package-desc.
9782 Use package-make-ac-desc.
9783 (package-upload-file): Use \' to match EOS.
9784 * finder.el (finder-compile-keywords): Use package-make-builtin.
9785
31119d63
SM
97862013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9787
931a2762
SM
9788 * vc/vc.el (vc-deduce-fileset): Change error message.
9789 (vc-read-backend): New function.
9790 (vc-next-action): Use it.
9791
5a3eb0c6
SM
9792 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9793
e3eb1bb7
SM
9794 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9795 (prolog-font-lock-keywords): Use regexp-opt instead.
9796 Don't manually highlight strings.
9797 (prolog-mode-variables): Simplify comment-start-skip.
9798 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9799
31119d63
SM
9800 * emacs-lisp/generic.el (generic--normalise-comments)
9801 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9802 (generic-mode-set-comments): Use them.
9803 (generic-bracket-support): Use setq-local.
9804 (generic-make-keywords-list): Declare obsolete.
9805
7de135d0
GM
98062013-06-11 Glenn Morris <rgm@gnu.org>
9807
9808 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9809 Prettify after setting font-lock-defaults. (Bug#14574)
9810
fa6bc6fd
JB
98112013-06-11 Juanma Barranquero <lekktu@gmail.com>
9812
9813 * replace.el (query-replace, occur-read-regexp-defaults-function)
9814 (replace-search):
9815 * subr.el (declare-function, number-sequence, local-set-key)
9816 (substitute-key-definition, locate-user-emacs-file)
9817 (with-silent-modifications, split-string, eval-after-load):
9818 Fix typos, remove unneeded backslashes and reflow some docstrings.
9819
cf1f9b9a
SM
98202013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9821
9822 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9823 default for Elisp files.
9824
56602a4b
GM
98252013-06-11 Glenn Morris <rgm@gnu.org>
9826
9827 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9828 although define-derived-mode was doing this anyway. (Bug#14583)
9829
30ae0b2c
JB
98302013-06-10 Juanma Barranquero <lekktu@gmail.com>
9831
9832 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9833 Fix make-variable-buffer-local call to refer to the correct variable.
9834
fa472906
AG
98352013-06-10 Aidan Gauland <aidalgol@amuri.net>
9836
9837 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9838 (eshell-visual-subcommands, eshell-visual-options):
9839 Add summary line to docstrings. Add cross-references.
fa472906 9840
ff4871b9
GM
98412013-06-10 Glenn Morris <rgm@gnu.org>
9842
9843 * epa.el (epa-read-file-name): New function. (Bug#14510)
9844 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9845
04fcf1b0
AG
98462013-06-09 Aidan Gauland <aidalgol@amuri.net>
9847
9848 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9849 output redirection to be ignored with visual commands.
9850
88b00caa
AG
98512013-06-09 Aidan Gauland <aidalgol@amuri.net>
9852
9853 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9854 (eshell-term-initialize): Move long lambda to separate function
9855 eshell-visual-command-p.
e7b41c4c
JB
9856 * eshell/em-dirs.el (eshell-dirs-initialise):
9857 * eshell/em-script.el (eshell-script-initialize):
9858 Add missing #' to lambda.
88b00caa 9859
fda74125
LL
98602013-06-08 Leo Liu <sdl.web@gmail.com>
9861
9862 * progmodes/octave.el (octave-add-log-current-defun): New function.
9863 (octave-mode): Set add-log-current-defun-function.
9864 (octave-goto-function-definition): Do not move point if not found.
9865 (octave-find-definition): Enhance to try subfunctions first.
9866
467f3b33
GM
98672013-06-08 Glenn Morris <rgm@gnu.org>
9868
9869 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9870 (byte-compile-backward-char, byte-compile-backward-word):
9871 Improve previous change, to handle non-explicit nil.
9872
544badc3
SM
98732013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9876 (smie--opener/closer-at-point): New function.
9877 (smie--matching-block-data): Use it. Don't match from right after an
9878 opener or right before a closer. Obey smie-blink-matching-inners.
9879 Don't signal a mismatch for repeated inners like "switch..case..case".
9880
a175bf33
LL
98812013-06-07 Leo Liu <sdl.web@gmail.com>
9882
9883 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9884 to t. (Bug#14303)
ce8209d4
LL
9885 (octave-function-header-regexp): Fix. (Bug#14570)
9886 (octave-help-mode-finish-hook, octave-help-mode-finish):
9887 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9888
9889 * newcomment.el (comment-search-backward): Revert last change.
9890 (Bug#14434)
9891
9892 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9893
a822acff
EZ
98942013-06-07 Eli Zaretskii <eliz@gnu.org>
9895
9896 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9897 through xargs, to avoid failure due to MS-Windows limitations on
9898 command-line length.
9899
961166f5
GM
99002013-06-06 Glenn Morris <rgm@gnu.org>
9901
d0341459
GM
9902 * font-lock.el (lisp-font-lock-keywords-2):
9903 Treat user-error like error.
9904
961166f5
GM
9905 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9906 (byte-compile-backward-char, byte-compile-backward-word):
9907 Handle explicit nil arguments. (Bug#14565)
9908
80fa505f
AM
99092013-06-05 Alan Mackenzie <acm@muc.de>
9910
9911 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9912 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9913 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9914 (Bug#9706)
80fa505f 9915
fccdc796
SM
99162013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9917
9918 * autorevert.el (auto-revert-notify-handler): Use memq.
9919 Hide assertion failure.
9920
9921 * skeleton.el: Use cl-lib.
9922 (skeleton-further-elements): Use defvar-local.
9923 (skeleton-insert): Use cl-progv.
9924
9bfff84b
TZ
99252013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9926
9927 * progmodes/prog-mode.el (prog-prettify-symbols)
9928 (prog-prettify-install): Update docstrings.
9929
55577e7c
SM
99302013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9931
9932 * simple.el: Move all the prog-mode code to prog-mode.el.
9933 * progmodes/prog-mode.el: New file.
9934 * loadup.el: Add prog-mode.el.
9935
8fc57765
TZ
99362013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9937
9938 * simple.el (prog-prettify-symbols): Add version.
9939 (prog-prettify-install): Add convenience function to prettify symbols.
9940
9941 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9942 (perl--augmented-font-lock-keywords-1)
9943 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9944 variables and use it.
9945
9946 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9947 (cfengine3-mode): Remove unneeded variable and use it.
9948
9949 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9950 (lisp--augmented-font-lock-keywords-1)
9951 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9952 Remove unneeded variables and use it.
9953
650645d5 99542013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9955
9956 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9957 to point when opening the connection. (Bug#14380)
28f5da6d 9958
781b4af6
SM
99592013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9960
9961 * subr.el (load-history-regexp, load-history-filename-element)
9962 (eval-after-load, after-load-functions, do-after-load-evaluation)
9963 (eval-next-after-load, display-delayed-warnings)
9964 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9965 definition of save-match-data.
9966 (overriding-local-map): Remove accidental obsolescence declaration.
9967
9968 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9969
3ca0d0b4
TZ
99702013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9971
9972 Generalize symbol prettify support to prog-mode and implement it
9973 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9974 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9975 (prog--prettify-font-lock-compose-symbol)
9976 (prog-prettify-font-lock-symbols-keywords): New variables and
9977 functions to support symbol prettification.
9978 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9979 (lisp--augmented-font-lock-keywords-1)
9980 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9981 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9982 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9983 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9984 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9985 * progmodes/perl-mode.el (perl-prettify-symbols)
9986 (perl--font-lock-compose-symbol)
9987 (perl--font-lock-symbols-keywords): Move to prog-mode.
9988 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9989 (perl-font-lock-keywords-1)
9990 (perl-font-lock-keywords-2): Remove explicit prettify support.
9991 (perl--augmented-font-lock-keywords)
9992 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9993 (perl--augmented-font-lock-keywords-2, perl-mode):
9994 Implement prettify support.
3ca0d0b4 9995
976cb066
LL
99962013-06-05 Leo Liu <sdl.web@gmail.com>
9997
9998 Re-implement smie matching block highlight using
9999 show-paren-data-function. (Bug#14395)
10000 * emacs-lisp/smie.el (smie-matching-block-highlight)
10001 (smie--highlight-matching-block-overlay)
10002 (smie--highlight-matching-block-lastpos)
10003 (smie-highlight-matching-block)
10004 (smie-highlight-matching-block-mode): Remove.
10005 (smie--matching-block-data-cache): New variable.
10006 (smie--matching-block-data): New function.
10007 (smie-setup): Use smie--matching-block-data for
10008 show-paren-data-function.
10009
10010 * progmodes/octave.el (octave-mode-menu): Fix.
10011 (octave-find-definition): Skip garbage lines.
10012
208d0342
SM
100132013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10014
10015 Fix compilation error with simultaneous dynamic+lexical scoping.
10016 Add warning when a defvar appears after the first let-binding.
10017 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10018 (byte-compile-close-variables): Initialize it.
10019 (byte-compile--declare-var): New function.
10020 (byte-compile-file-form-defvar)
10021 (byte-compile-file-form-define-abbrev-table)
10022 (byte-compile-file-form-custom-declare-variable): Use it.
10023 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10024 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10025 (byte-compile-bind): Handle dynamic bindings that shadow
10026 lexical bindings.
10027 (byte-compile-unbind): Make arg non-optional.
10028 (byte-compile-let): Simplify.
10029 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10030 (cconv--analyse-function, cconv-analyse-form): Populate it.
10031 Protect byte-compile-bound-variables to limit the scope of defvars.
10032 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10033 Remove unneeded rule for `declare'.
10034
10035 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10036 so as to avoid depending on cl-adjoin at run-time.
10037 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10038
10039 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10040 (macroexp--warn-and-return): Use it.
10041
1ac2891e
GM
100422013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10043
a12bf61e 10044 * subr.el: Convert to lexical binding.
1ac2891e
GM
10045 (overriding-local-map): Make obsolete.
10046 (add-to-list): Doc fix. Add compiler macro.
10047 (read-key): Swap values of local maps.
10048
2587b005
LL
100492013-06-05 Leo Liu <sdl.web@gmail.com>
10050
10051 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10052
f1da3c88
LL
100532013-06-04 Leo Liu <sdl.web@gmail.com>
10054
10055 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10056 (compilation-auto-jump): Suppress the "Mark set" message to give
10057 way to exit message.
10058
3caa391f
AM
100592013-06-04 Alan Mackenzie <acm@muc.de>
10060
10061 Remove faulty optimisation from indentation calculation.
10062 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10063 search limit based on 2000 characters back from indent-point.
10064
068922a2
TH
100652013-06-03 Tassilo Horn <tsdh@gnu.org>
10066
10067 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10068
1f8fdd53
SM
100692013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10070
bbcc4d97
SM
10071 * emacs-lisp/lisp.el: Use lexical-binding.
10072 (lisp--local-variables-1, lisp--local-variables): New functions.
10073 (lisp--local-variables-completion-table): New var.
208d0342 10074 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 10075
1f8fdd53
SM
10076 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10077 eagerly (bug#14422).
10078
c9628c79
MA
100792013-06-03 Michael Albinus <michael.albinus@gmx.de>
10080
10081 * autorevert.el (auto-revert-notify-enabled)
10082 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10083 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10084 (auto-revert-notify-handler): Handle also gfilenotify.
10085
e7b41c4c 10086 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 10087 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 10088 Remove.
c9628c79 10089
e5e4a942
JL
100902013-06-03 Juri Linkov <juri@jurta.org>
10091
10092 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10093 `M-s h .'. (Bug#14427)
10094
10095 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10096 command `hi-lock-face-symbol-at-point'.
10097 (hi-lock-face-symbol-at-point): New command.
10098 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10099 (hi-lock-menu): Add `highlight-symbol-at-point'.
10100 (hi-lock-mode): Doc fix.
10101
10102 * isearch.el (isearch-forward-symbol-at-point): New command.
10103 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10104 (isearch-highlight-regexp): Add a regexp which matches
10105 words/symbols for word/symbol mode.
10106
10107 * subr.el (find-tag-default-bounds): New function with the body
10108 mostly moved from `find-tag-default'.
10109 (find-tag-default): Move most code to `find-tag-default-bounds',
10110 call it and apply `buffer-substring-no-properties' afterwards.
10111
26b3353a
TH
101122013-06-03 Tassilo Horn <tsdh@gnu.org>
10113
781b4af6
SM
10114 * eshell/em-term.el (eshell-term-initialize):
10115 Use `cl-intersection' rather than `intersection'.
26b3353a 10116
51b60f53
XF
101172013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10118
fe054b63 10119 * vc/log-view.el: Doc fix.
d3ffe17c 10120 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 10121
a0eb10b3 101222013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
10123
10124 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10125 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10126 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10127 (eieio-unbound, eieio-default-superclass)
10128 (eieio--define-field-accessors, method-static, method-before)
10129 (method-primary, method-after, method-num-lists)
10130 (method-generic-before, method-generic-primary)
10131 (method-generic-after, method-num-slots)
10132 (eieio-specialized-key-to-generic-key)
10133 (eieio--check-type, class-v, class-p)
10134 (eieio-class-name, define-obsolete-function-alias)
10135 (eieio-class-parents-fast, eieio-class-children-fast)
10136 (same-class-fast-p, class-constructor, generic-p)
10137 (generic-primary-only-p, generic-primary-only-one-p)
10138 (class-option-assoc, class-option, eieio-object-p)
10139 (class-abstract-p, class-method-invocation-order)
10140 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10141 (eieio-class-un-autoload, eieio-defclass)
10142 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10143 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10144 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10145 (eieio-defgeneric-reset-generic-form)
10146 (eieio-defgeneric-form-primary-only)
10147 (eieio-defgeneric-reset-generic-form-primary-only)
10148 (eieio-defgeneric-form-primary-only-one)
10149 (eieio-defgeneric-reset-generic-form-primary-only-one)
10150 (eieio-unbind-method-implementations)
10151 (eieio--defmethod, eieio--typep)
10152 (eieio-perform-slot-validation, eieio-validate-slot-value)
10153 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10154 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10155 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10156 (eieio-slot-name-index, eieio-class-slot-name-index)
10157 (eieio-set-defaults, eieio-initarg-to-attribute)
10158 (eieio-attribute-to-initarg, eieio-c3-candidate)
10159 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10160 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10161 (eieio-class-precedence-list, eieio-generic-call-methodname)
10162 (eieio-generic-call-arglst, eieio-generic-call-key)
10163 (eieio-generic-call-next-method-list)
10164 (eieio-pre-method-execution-functions, eieio-generic-call)
10165 (eieio-generic-call-primary-only, eieiomt-method-list)
10166 (eieiomt-optimizing-obarray, eieiomt-install)
10167 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10168 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 10169 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
10170 (defclass): Remove `eval-and-compile' from macro.
10171 (call-next-method, shared-initialize): Instead of using
10172 `scoped-class' variable, use new eieio--scoped-class, and
10173 eieio--with-scoped-class.
10174 (initialize-instance): Rename local variable 'scoped-class' to
10175 'this-class' to remove ambiguitity from old global.
10176
10177 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10178 eieio.el.
4f405069
JB
10179 (eieio--scoped-class-stack): New variable.
10180 (eieio--scoped-class): New fcn.
890f7890
DE
10181 (eieio--with-scoped-class): New scoping macro.
10182 (eieio-defclass): Use pushnew instead of add-to-list.
10183 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10184 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10185 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10186 `scoped-class' variable, use new eieio--scoped-class, and
10187 eieio--with-scoped-class.
10188
10189 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10190
d105b0e2
TH
101912013-06-02 Tassilo Horn <tsdh@gnu.org>
10192
10193 * eshell/esh-ext.el (eshell-external-command): Pass args to
10194 `eshell-find-interpreter'.
10195 (eshell-find-interpreter): Add new second parameter ARGS.
10196
10197 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 10198 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10199
10200 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 10201 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10202
10203 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10204 (eshell-visual-options): New defcustom.
10205 (eshell-escape-control-x): Adapt docstring.
10206 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10207 `eshell-visual-options' in addition to `eshell-visual-commands'.
10208 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10209
f46305c8 102102013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
10211
10212 * progmodes/python.el (python-indent-block-enders): Add break,
10213 continue and raise keywords.
10214
d870df21
GM
102152013-06-01 Glenn Morris <rgm@gnu.org>
10216
9133b82e
GM
10217 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10218
02c992ec 10219 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
10220 * progmodes/cc-cmds.el (delete-forward-p):
10221 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10222 * progmodes/cc-engine.el (buffer-syntactic-context):
10223 * progmodes/cc-fonts.el (face-property-instance):
10224 * progmodes/cc-mode.el (set-keymap-parents):
10225 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10226 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10227 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
10228 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10229 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 10230
31e7b090
GM
10231 * progmodes/cc-vars.el (other): Emacs has this widget since
10232 at least 21.1, so don't (re)define it.
10233
d870df21
GM
10234 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10235 Replace the obsolete alias pcomplete-arg-quote-list.
10236
c75c93c7
LL
102372013-06-01 Leo Liu <sdl.web@gmail.com>
10238
10239 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10240 punctuation syntax.
10241 (inferior-octave-minimal-columns)
10242 (inferior-octave-last-column-width): New variables.
10243 (inferior-octave-track-window-width-change): New function.
10244 (inferior-octave-mode): Adjust column width so that Octave output,
10245 for example from 'ls', can fit into the window nicely.
10246
973d1e12
DG
102472013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10248
10249 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10250 Highlight expansions inside regexp literals.
10251
0888c286
GM
102522013-05-31 Glenn Morris <rgm@gnu.org>
10253
e26aac1f
GM
10254 * obsolete/sym-comp.el (symbol-complete):
10255 Replace obsolete completion-annotate-function.
10256
0888c286
GM
10257 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10258
19bb8e62
DG
102592013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10260
781b4af6
SM
10261 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10262 New function, checks if point is inside a literal that allows
19bb8e62
DG
10263 expression expansion.
10264 (ruby-syntax-propertize-expansion): Use it.
10265 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10266 around the body.
10267
01dea85f
JL
102682013-05-30 Juri Linkov <juri@jurta.org>
10269
10270 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10271 to "\M-si".
10272 (isearch-invisible): New variable.
10273 (isearch-forward): Doc fix.
10274 (isearch-mode): Set `isearch-invisible'
10275 to the value of `search-invisible'.
10276 (isearch-toggle-case-fold): Doc fix.
10277 (isearch-toggle-invisible): New command.
10278 (isearch-query-replace): Let-bind `search-invisible'
10279 to the value of `isearch-invisible'.
10280 (isearch-search): Use `isearch-invisible' instead of
10281 `search-invisible'. Let-bind `search-invisible'
10282 to the value of `isearch-invisible'. (Bug#11378)
10283
ab1bdce5
JL
102842013-05-30 Juri Linkov <juri@jurta.org>
10285
10286 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10287 call when `query-flag' is nil and `search-invisible' is non-nil.
10288 (Bug#11746)
10289
d6d236e2
GM
102902013-05-30 Glenn Morris <rgm@gnu.org>
10291
8accd027
GM
10292 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10293
2a8bed1c
GM
10294 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10295 (cc-require): Suppress spurious "noruntime" warnings.
10296 (cc-require-when-compile): Use fboundp, for sake of compiler.
10297
d6d236e2
GM
10298 * progmodes/cc-mode.el: Move load of cc-vars before that of
10299 cc-langs (which in turn loads cc-vars), to quieten compiler.
10300
9190b35b
SM
103012013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10302
10303 * paren.el: Simplify the code.
10304 (show-paren-mode): Always start the timer.
10305 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10306 (show-paren--overlay, show-paren--overlay-1): Rename from
10307 show-paren-overlay and show-paren-overlay-1, and initialize to an
10308 overlay rather than to nil.
10309 (show-paren-function): Misc cleanup and simplifications.
10310
4f8d1cf6
SM
103112013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10312
10313 * paren.el (show-paren-data-function): New hook.
10314 (show-paren--default): New function, extracted from show-paren-function.
10315 (show-paren-function): Use show-paren-data-function.
10316
02d844b5
GM
103172013-05-30 Glenn Morris <rgm@gnu.org>
10318
d209d4a9
GM
10319 * ielm.el (ielm-map, ielm-complete-symbol):
10320 Use completion-at-point rather than obsolete functions.
10321 (inferior-emacs-lisp-mode): Doc fix.
10322 Set completion-at-point-functions, rather than
10323 comint-dynamic-complete-functions.
10324
2082faa6
GM
10325 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10326 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10327 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10328
dd8620de
GM
10329 * image.el (image-animated-p): Tweak definition.
10330
ceca95b1
GM
10331 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10332 (rlogin-process-connection-type): Tweak default. Add set-after.
10333 (rlogin-host): Doc fix.
10334 (rlogin): Tweak prompt.
10335 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10336
ee9f1acc
GM
10337 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10338 * progmodes/tcl.el (inferior-tcl-mode-map):
10339 Use completion-at-point rather than obsolete alias.
10340
45ce222e
GM
10341 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10342
02d844b5
GM
10343 * minibuffer.el (read-file-name-completion-ignore-case):
10344 Move before completion--in-region, for eager macro expansion.
10345
ac44d6c1
JL
103462013-05-29 Juri Linkov <juri@jurta.org>
10347
10348 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10349 for total count of matching lines. Add `global-matches' for total
10350 count of matches. Rename `matches' to `lines' for count of
10351 matching lines. Add `matches' for count of matches.
10352 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10353 to `prev-line' for line number of prev match endpt.
10354 Increment `matches' for every match. Print the number of
10355 matching lines in the header.
10356 (occur-context-lines): Rename `lines' to `curr-line'.
10357 Rename `prev-lines' to `prev-line'. (Bug#14017)
10358
3c9c9d38
JL
103592013-05-29 Juri Linkov <juri@jurta.org>
10360
10361 * replace.el (perform-replace): Add `skip-read-only-count',
10362 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10363 Increment them for corresponding conditions and report the number
10364 of skipped occurrences in the final message. (Bug#11746)
10365 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10366 (replace-string, replace-regexp): Doc fix.
10367
33e249a2
SM
103682013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10369
8e399682
SM
10370 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10371
33e249a2 10372 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10373 prog-mode-map (bug#14504).
33e249a2 10374
f236dd84
LL
103752013-05-29 Leo Liu <sdl.web@gmail.com>
10376
10377 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10378 (octave-help): Small simplification.
10379
10380 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10381 off the highlight first.
10382
3694d13f
GM
103832013-05-29 Glenn Morris <rgm@gnu.org>
10384
03983bdc
GM
10385 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10386 Handle idlwave-last-system-routine-info-cons-cell being nil.
10387
bc74a74a
GM
10388 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10389 (idlwave-write-paths): Simplify via with-temp-buffer.
10390
8b394200
GM
10391 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10392 * emulation/cua-rect.el: Also load cua-base at run time.
10393
3694d13f
GM
10394 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10395 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10396 (cperl-imenu-on-info): Require imenu.
10397
336d7284
AM
103982013-05-28 Alan Mackenzie <acm@muc.de>
10399
10400 Handle "capitalised keywords" correctly.
33e249a2 10401 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10402
cb29c582
AG
104032013-05-28 Aidan Gauland <aidalgol@amuri.net>
10404
781b4af6 10405 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10406
690e44b2
GM
104072013-05-28 Glenn Morris <rgm@gnu.org>
10408
e658d75c
GM
10409 * vc/vc-arch.el (vc-exec-after): Declare.
10410 (vc-switches): Autoload.
10411 * vc/vc-bzr.el: No need to require vc when compiling.
10412 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10413 (vc-resynch-buffer, vc-dir-refresh): Declare.
10414 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10415 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10416 (vc-resynch-buffer): Declare.
10417 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10418 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10419 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10420 (grep-read-regexp, grep-read-files, grep-expand-template)
10421 (vc-dir-refresh): Declare.
10422 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10423 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10424 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10425 * vc/vc-mtn.el (vc-exec-after): Declare.
10426 (vc-switches): Autoload.
10427 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10428 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10429 (vc-file-tree-walk): Declare.
712b9732
GM
10430 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10431 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10432 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10433 * vc/vc-svn.el (vc-exec-after): Declare.
10434 (vc-switches, vc-setup-buffer): Autoload.
10435 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10436 Autoload.
10437 (vc-resynch-buffer): Declare.
10438
98e87fb3
GM
10439 * obsolete/fast-lock.el (byte-compile-warnings):
10440 Don't warn about obsolete features in this obsolete file.
10441
f5379553
GM
10442 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10443 Move definition before use.
10444
7a20ef83
GM
10445 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10446 (dun-unix-verbs): Remove dun-zippy.
10447 (dun-zippy): Remove function.
10448
690e44b2
GM
10449 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10450
3a52ccf7
JL
104512013-05-27 Juri Linkov <juri@jurta.org>
10452
10453 * replace.el (replace-search): New function with code moved out
10454 from `perform-replace'.
10455 (replace-highlight, replace-dehighlight): Move function definitions
10456 up closer to `replace-search'. (Bug#11746)
10457
d289938a
JL
104582013-05-27 Juri Linkov <juri@jurta.org>
10459
10460 * replace.el (perform-replace): Ignore invisible matches.
10461 In addition to checking `query-replace-skip-read-only', also
10462 filter out matches by calling `run-hook-with-args-until-failure'
10463 on `isearch-filter-predicates', and also check `search-invisible'
10464 for t or call `isearch-range-invisible'.
10465 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10466
66fc57e3
JL
104672013-05-27 Juri Linkov <juri@jurta.org>
10468
10469 * isearch.el (isearch-filter-predicates): Rename from
10470 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10471 (isearch-message-prefix): Display text from the property
10472 `isearch-message-prefix' of the currently active filters.
10473 (isearch-search): Don't compare `isearch-filter-predicate' with
10474 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10475 on `isearch-filter-predicates'. Also check `search-invisible' for t
10476 or call `isearch-range-invisible'.
10477 (isearch-filter-visible): Make obsolete.
10478 (isearch-lazy-highlight-search):
10479 Call `run-hook-with-args-until-failure' on
10480 `isearch-filter-predicates' and use `isearch-range-invisible'.
10481
10482 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10483 `isearch-filter-predicates' instead of `funcall'ing
10484 `isearch-filter-predicate'.
10485 (Info-mode): Set `Info-isearch-filter' to
10486 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10487
10488 * dired-aux.el (dired-isearch-filter-predicate-orig):
10489 Remove variable.
10490 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10491 (dired-isearch-filenames-end): Add and remove
10492 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10493 instead of changing the value of `isearch-filter-predicate'.
10494 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10495 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10496 Put property `isearch-message-prefix' to "filename " on
10497 `dired-isearch-filter-filenames'.
10498
10499 * wdired.el (wdired-change-to-wdired-mode):
10500 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10501 locally instead of changing `isearch-filter-predicate'.
10502 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10503
f1a60a0f
DG
105042013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10505
10506 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10507 return the commit hash (Bug#14459). Also set the
10508 `vc-git-detached' property.
10509 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10510 (vc-git-mode-line-string): Use the same help-echo format whether
10511 in detached mode or not, because we know the actual revision now.
10512 When in detached mode, shorten the revision to 7 chars.
10513
7f17cc40
SM
105142013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10515
10516 * emacs-lisp/easy-mmode.el (define-minor-mode):
10517 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10518 mode hook and provide a docstring.
10519
25c8401c
AM
105202013-05-27 Alan Mackenzie <acm@muc.de>
10521
10522 Remove spurious syntax-table text properties inserted by C-y.
10523 * progmodes/cc-mode.el (c-after-change): Also clear hard
10524 syntax-table property with value nil.
10525
dde84790
MA
105262013-05-27 Michael Albinus <michael.albinus@gmx.de>
10527
10528 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10529 when reading the events; the buffer layout shall not be changed.
10530
837fd9af
LL
105312013-05-27 Leo Liu <sdl.web@gmail.com>
10532
10533 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10534 New variable.
10535 (inferior-octave-directory-tracker): Automatically re-sync
10536 default-directory.
10537 (octave-help): Improve handling of 'See also'.
10538
4fd996b3
SM
105392013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10540
416f1802
SM
10541 * doc-view.el: Minor naming convention tweaks.
10542 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10543
4fd996b3
SM
10544 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10545 even if there's no `display' property yet (bug#14435).
10546
a052ef3b
EZ
105472013-05-25 Eli Zaretskii <eliz@gnu.org>
10548
4fd996b3 10549 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10550
10551 * Makefile.in (custom-deps, finder-data, autoloads)
10552 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10553 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10554 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10555
c9023370
SM
105562013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10557
10558 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10559 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10560 Don't burp at EOB.
c9023370 10561
24d699fa
LL
105622013-05-25 Leo Liu <sdl.web@gmail.com>
10563
10564 * comint.el (comint-previous-matching-input): Do not flood the
10565 *Messages* buffer with trivial messages.
10566
17e5c0cc
SM
105672013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10568
10569 * progmodes/flymake.el (flymake-nop): Don't return a string.
10570 (flymake-set-at): Fix typo.
10571
10572 * simple.el (read--expression): New function, extracted from
10573 eval-expression. Set completion-at-point-functions (bug#14465).
10574 (eval-expression, eval-minibuffer): Use it.
10575
5d028165
XF
105762013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10577
10578 * progmodes/flymake.el (flymake-save-buffer-in-file)
10579 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10580 (flymake-selected-frame, flymake-log, flymake-ins-after)
10581 (flymake-set-at, flymake-get-buildfile-from-cache)
10582 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10583 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10584 Refine the doc string.
10585 (flymake-get-file-name-mode-and-masks): Reformat.
10586 (flymake-get-real-file-name-function): Fix a minor bug.
10587
7a1d7ba7
JL
105882013-05-24 Juri Linkov <juri@jurta.org>
10589
10590 * progmodes/grep.el (grep-mode-font-lock-keywords):
10591 Support =linenumber= format used by git-grep for lines with
10592 function names. (Bug#13549)
10593
650cff3d
SM
105942013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10595
10596 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10597 0 after a semi-colon; it works better for smie-auto-fill.
10598 (octave--indent-new-comment-line): New function.
10599 (octave-indent-new-comment-line): Use it (indirectly).
10600 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10601 modify comment-line-break-function.
10602
10603 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10604 (smie-setup): Use add-function to set it.
10605
9631677d
SS
106062013-05-24 Sam Steingold <sds@gnu.org>
10607
10608 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10609 argument (before the `interactive' argument).
10610
50105835
SM
106112013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10612
10613 * image-mode.el (image-mode-winprops): Add winprops to
10614 image-mode-winprops-alist before running
10615 image-mode-new-window-functions.
10616 * doc-view.el (doc-view-new-window-function): Don't delay
10617 doc-view-goto-page via timers (bug#14435).
10618
57b9823e
TH
106192013-05-24 Tassilo Horn <tsdh@gnu.org>
10620
10621 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10622 (doc-view-desktop-save-buffer): New function.
10623 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10624 (desktop-buffer-mode-handlers):
10625 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10626 handler.
10627 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10628 `desktop-save-buffer' function.
10629
91aafa16
MA
106302013-05-24 Michael Albinus <michael.albinus@gmx.de>
10631
10632 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10633 (tramp-gvfs-file-name-handler): Raise a user error when
10634 `tramp-gvfs-enabled' is nil.
10635 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10636 Do not raise a user error when loading package. (Bug#14447)
10637
ec076379
MA
10638 * net/xesam.el: Move to obsolete/.
10639
db785726
GM
106402013-05-24 Glenn Morris <rgm@gnu.org>
10641
af5c7606
GM
10642 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10643
e5d1916a
GM
10644 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10645
ded62b08
GM
10646 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10647 (Info-find-node, Man-getpage-in-background): Declare.
10648
9e614a3f
GM
10649 * mail/unrmail.el (unrmail):
10650 Replace obsolete detect-coding-with-priority.
10651
892f8ca3
GM
10652 * net/socks.el (socks-split-string): Use this rather than split-string.
10653 (socks-nslookup-host): Update for above change.
10654 (dynamic-choice, s5-dynamic-choice-match)
10655 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10656 Comment out unused code.
10657
3c291973
GM
10658 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10659 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10660 (gud-tooltip-echo-area): Make obsolete.
10661 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10662
43cc956b
GM
10663 * progmodes/js.el (js--optimize-arglist): Declare.
10664
dab49a3b
GM
10665 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10666
36b9d085
GM
10667 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10668 (ediff-window-C): Declare.
10669
e354ae76
GM
10670 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10671 Tweak requires to silence compiler.
10672
b8e57bf4
GM
10673 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10674 (he-search-string, he-tried-table, he-expand-list)
10675 (he-init-string, he-string-member, he-substitute-string)
10676 (he-reset-string): Declare.
10677
db785726
GM
10678 * obsolete/options.el (list-options): Use custom-variable-p,
10679 rather than obsolete alias.
10680
b3531901
SS
106812013-05-23 Sam Steingold <sds@gnu.org>
10682
10683 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10684 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10685 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10686
bdda4c66
SM
106872013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10688
10689 * emacs-lisp/smie.el (smie-indent-forward-token)
10690 (smie-indent-backward-token): Handle string tokens (bug#14381).
10691
c43d45f9
TH
106922013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10693
fe1eb856
RS
10694 * ielm.el (ielm-menu): New menu.
10695 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10696
fe1eb856
RS
106972013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10698
a12bf61e 10699 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10700 Fix deactivate action.
10701
a12bf61e 10702 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10703 Add cleveref macros.
074dd971 10704
a12bf61e 10705 * textmodes/reftex-parse.el
c43d45f9
TH
10706 (reftex-locate-bibliography-files): Accept options for
10707 bibliography commands.
a12bf61e 10708 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10709 Add addbibresource. Basic Biblatex support.
10710
7764286e
MA
107112013-05-23 Michael Albinus <michael.albinus@gmx.de>
10712
10713 * net/tramp-gvfs.el (top):
10714 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10715 when loading package. (Bug#14447)
10716
d361bc10
GM
107172013-05-23 Glenn Morris <rgm@gnu.org>
10718
8fa23984
GM
10719 * progmodes/js.el: No need to load comint when compiling.
10720 (ring-insert, comint-send-string, comint-send-input)
10721 (comint-last-input-end, ido-chop): Declare.
10722
a5c7df1a
GM
10723 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10724 * vc/ediff-mult.el: Adjust requires.
10725 (ediff-directories-internal, ediff-directory-revisions-internal)
10726 (ediff-patch-file-internal): Declare.
10727 * vc/ediff-ptch.el: Adjust requires.
10728 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10729 (ediff-find-file): Autoload.
10730 * vc/ediff-util.el: No need to load ediff when compiling.
10731 (ediff-regions-internal): Declare.
10732 * vc/ediff-wind.el: Adjust requires.
10733 (ediff-compute-toolbar-width): Define when compiling.
10734 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10735 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10736 (dired-get-filename, dired-get-marked-files)
10737 (ediff-last-dir-patch, ediff-patch-default-directory)
10738 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10739 (ediff-patch-buffer-internal): Declare.
10740
e2aec513
GM
10741 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10742 (ispell-process, ispell-buffer-local-words, lm-summary)
10743 (lm-section-start, lm-section-end): Declare.
10744 (checkdoc-ispell-init): Simplify.
10745
e68bbd7c
GM
10746 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10747 (he-string-member, he-reset-string, he-substitute-string): Declare.
10748
7efe0991
GM
10749 * eshell/em-ls.el: Adjust requires.
10750 (eshell-glob-regexp): Declare.
f87b1284
GM
10751 * eshell/em-tramp.el: Adjust requires.
10752 (eshell-parse-command): Autoload.
10753 * eshell/em-xtra.el: Adjust requires.
10754 (eshell-parse-command): Autoload.
10755 * eshell/esh-ext.el: Adjust requires.
10756 (eshell-parse-command, eshell-close-handles): Autoload.
10757 * eshell/esh-io.el: Adjust requires.
10758 (eshell-output-filter): Autoload.
10759 * eshell/esh-util.el: No need to load tramp when compiling.
10760 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10761 Declare.
10762 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10763 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10764 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10765 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10766 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10767 * eshell/esh-opt.el, eshell/esh-proc.el:
10768 * eshell/esh-var.el: Adjust requires.
10769 * eshell/eshell.el: Do not require esh-util twice.
10770 (eshell-add-input-to-history): Declare.
10771 (eshell-command): Check history module is active before using it.
10772
d361bc10
GM
10773 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10774
85d090a9
LL
107752013-05-22 Leo Liu <sdl.web@gmail.com>
10776
10777 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10778
5d0acd9d
MA
107792013-05-22 Michael Albinus <michael.albinus@gmx.de>
10780
10781 * autorevert.el (auto-revert-notify-add-watch)
10782 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10783 it indicates changes in file modification time.
10784
0cdffd7d
GM
107852013-05-22 Glenn Morris <rgm@gnu.org>
10786
ca5995ec
GM
10787 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10788 Always delete the autoloaded function from the noruntime and
10789 unresolved functions lists.
10790
6450907e
GM
10791 * allout.el: No need to load epa, epg, overlay when compiling.
10792 (epg-context-set-passphrase-callback, epg-list-keys)
10793 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10794 (epg-key-user-id-list): Declare.
10795
9c6906f6
GM
10796 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10797 (viper-set-parsing-style-toggling-macro)
10798 (viper-set-emacs-state-searchstyle-macros):
10799 Use called-interactively-p on Emacs.
10800 (viper-looking-back): Make it an obsolete alias. Update callers.
10801 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10802 Use looking-back rather than viper-looking-back.
10803 (viper-tmp-insert-at-eob, viper-enlarge-region)
10804 (viper-read-string-with-history, viper-register-to-point)
10805 (viper-append-to-register, viper-change-state-to-vi)
10806 (viper-backward-char-carefully, viper-forward-char-carefully)
10807 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10808 (viper-change-state-to-emacs): Declare.
10809 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10810 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10811 * emulation/viper-mous.el: Do not load viper-cmd.
10812 (viper-backward-char-carefully, viper-forward-char-carefully)
10813 (viper-forward-word, viper-adjust-window): Declare.
10814
5f70c169
GM
10815 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10816
b1b7f300
GM
10817 * progmodes/idlw-help.el (idlwave-help-fontify):
10818 Use called-interactively-p.
10819
f6ebbb46
GM
10820 * term/w32console.el (w32-get-console-codepage)
10821 (w32-get-console-output-codepage): Declare.
10822
0cdffd7d
GM
10823 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10824 Remove unnecessary declarations.
10825 (dframe-message): Doc fix.
10826
10827 * info.el (dframe-select-attached-frame, dframe-current-frame):
10828 Declare.
10829
10830 * speedbar.el (speedbar-message): Make it an obsolete alias.
10831 Update all callers.
10832 (speedbar-with-attached-buffer)
10833 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10834 (speedbar-with-writable): Use backquote.
10835 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10836 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10837 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10838 rather than speedbar- aliases.
10839 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10840 (speedbar-make-specialized-keymap, speedbar-insert-button)
10841 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10842 (speedbar-do-function-pointer): Declare.
10843 (rmail-speedbar-button, rmail-speedbar-find-file)
10844 (rmail-speedbar-move-message):
10845 Use dframe-with-attached-buffer rather than speedbar- alias.
10846 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10847 (dframe-message, speedbar-make-specialized-keymap)
10848 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10849 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10850 (speedbar-insert-button, dframe-select-attached-frame)
10851 (dframe-maybee-jump-to-attached-frame)
10852 (speedbar-change-initial-expansion-list)
10853 (speedbar-previously-used-expansion-list-name): Declare.
10854 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10855 Use dframe-message, dframe-with-attached-buffer rather than
10856 speedbar- aliases.
10857 (gud-sentinel): Silence compiler.
10858 * progmodes/vhdl-mode.el (speedbar-refresh)
10859 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10860 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10861 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10862 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10863 (speedbar-file-lists, speedbar-make-tag-line)
10864 (speedbar-line-directory, speedbar-goto-this-file)
10865 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10866 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10867 (speedbar-make-button, speedbar-reset-scanners)
10868 (speedbar-files-item-info, speedbar-line-text)
10869 (speedbar-find-file-in-frame, speedbar-set-timer)
10870 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10871 (speedbar-with-writable): Do not (re)define it.
10872 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10873 rather than speedbar- alias.
10874
ee44b62a
LL
108752013-05-21 Leo Liu <sdl.web@gmail.com>
10876
10877 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10878 menu items.
10879 (octave-mode): Tweak fill-nobreak-predicate.
10880 (inferior-octave-startup): Check process to avoid infinite loop.
10881 (inferior-octave): Pop to buffer first to show abornmal process
10882 exit information.
10883
640f050f
GM
108842013-05-21 Glenn Morris <rgm@gnu.org>
10885
79458038
GM
10886 * printing.el (pr-menu-bar): Define when compiling.
10887
9cc3e83f
LL
108882013-05-21 Leo Liu <sdl.web@gmail.com>
10889
10890 * progmodes/octave.el (octave-auto-fill): Remove.
10891 (octave-indent-new-comment-line): Improve.
10892 (octave-mode): Use auto fill mode through
4f405069 10893 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10894 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10895 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10896 (octave-help): Show parent directory.
10897
f440830d
GM
108982013-05-21 Glenn Morris <rgm@gnu.org>
10899
10900 * files.el (dired-unmark):
10901 * progmodes/gud.el (gdb-input): Update declarations.
10902
10903 * calculator.el (electric, ehelp): No need to load when compiling.
10904 (Electric-command-loop, electric-describe-mode): Declare.
10905
10906 * doc-view.el (doc-view-current-converter-processes): Move before use.
10907
10908 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10909 Move MODE-set-explicitly definition before use.
10910
10911 * international/mule-diag.el (mule-diag):
10912 Don't use obsolete window-system-version.
10913
10914 * mail/feedmail.el (smtpmail): No need to load when compiling.
10915 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10916
10917 * mail/mail-utils.el (rfc822): No need to load when compiling.
10918 (rfc822-addresses): Autoload it.
10919 (mail-strip-quoted-names): Trivial simplification.
10920
10921 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10922 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10923
10924 * net/snmp-mode.el (tempo): Don't duplicate requires.
10925
10926 * progmodes/prolog.el (info): No need to load when compiling.
10927 (comint): Require before shell requires it.
10928 (Info-goto-node): Autoload it.
10929 (Info-follow-nearest-node): Declare.
10930 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10931
10932 * textmodes/artist.el (picture-mode-exit): Declare.
10933
10934 * textmodes/reftex-parse.el (reftex-parse-from-file):
10935 Trivial rewrite so the compiler can parse it better.
10936
b4da2cbb
LL
109372013-05-20 Leo Liu <sdl.web@gmail.com>
10938
10939 * progmodes/octave.el (octave-help-mode-map)
10940 (octave-help-mode-finish-hook): New variables.
10941 (octave-help-mode, octave-help-mode-finish): New functions.
10942 (octave-help): Use octave-help-mode.
10943
33c0f65b
GM
109442013-05-20 Glenn Morris <rgm@gnu.org>
10945
10946 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10947
1a0a0a8a
DG
109482013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10949
10950 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10951 start at point, so that expansion starting right after opening
10952 slash in a regexp is recognized.
10953 (ruby-syntax-before-regexp-re): New defvar, extracted from
10954 ruby-syntax-propertize-function. Since the value of this regexp
10955 is looked up at runtime now, we should be able to turn
10956 `ruby-syntax-methods-before-regexp' into a defcustom later.
10957 (ruby-syntax-propertize-function): Split regexp matching into two
10958 parts, for opening and closing slashes. That allows us to skip
10959 over string interpolations and support multiline regexps.
10960 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10961 for them, which calls `ruby-syntax-propertize-expansion'.
10962 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10963 call to `ruby-syntax-propertize-function'.
10964 (ruby-syntax-propertize-expansion): Extracted from
10965 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10966 (ruby-syntax-propertize-percent-literal): Leave point right after
10967 the percent symbol, so that the expression expansion rule can
10968 propertize the contents.
462388b6
DG
10969 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10970 heredoc openers.
10971 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10972
c1a6c0a4
JL
109732013-05-18 Juri Linkov <juri@jurta.org>
10974
10975 * man.el (Man-default-man-entry): Remove `-' from the end
10976 of the default value. (Bug#14400)
10977
8051fccd
GM
109782013-05-18 Glenn Morris <rgm@gnu.org>
10979
10980 * comint.el (comint-password-prompt-regexp):
10981 Allow "password for XXX" where XXX contains colons (eg https://...).
10982
5e80b74f
LL
109832013-05-18 Leo Liu <sdl.web@gmail.com>
10984
10985 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10986 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10987 (octave-source-directories): Don't check process.
10988 (octave-source-directories, octave-find-definition): Doc fix.
10989
521a54c5
GM
109902013-05-18 Glenn Morris <rgm@gnu.org>
10991
86a94b05
GM
10992 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10993 Remove backspace/delete bindings. (Bug#14392)
10994
521a54c5
GM
10995 * cus-dep.el (custom-make-dependencies): Sort the output.
10996 (custom-versions-load-alist): Convert comment to doc.
10997
42caeb89
LL
109982013-05-17 Leo Liu <sdl.web@gmail.com>
10999
11000 * newcomment.el (comment-search-backward): Stricter in finding
11001 comment start. (Bug#14303)
11002
11003 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11004 (octave-comment-start-skip): Properly anchored.
11005
e219dd97
LL
110062013-05-17 Leo Liu <sdl.web@gmail.com>
11007
fe1eb856
RS
11008 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11009 Clean up when turned off. (Bug#14395)
e219dd97
LL
11010 (smie--highlight-matching-block-overlay): No longer buffer-local.
11011 (smie-highlight-matching-block): Adjust.
11012
dc5dcb4b
PE
110132013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11014
11015 Doc string fix for "nanoseconds" (Bug#14406).
11016 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11017 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11018
1db165f0
JB
110192013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11020
11021 * calc/calc-units.el (math-extract-units): Preserve powers
11022 of units.
11023
c7a8fcac
LL
110242013-05-17 Leo Liu <sdl.web@gmail.com>
11025
11026 * subr.el (delete-consecutive-dups): New function.
11027 * ido.el (ido-set-matches-1): Use it.
11028 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11029 * ido.el (ido-remove-consecutive-dups): Remove.
11030
f678b18a
SM
110312013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11032
11033 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11034 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11035 regexp-opt's `words'.
11036
ebfe68e8
LL
110372013-05-16 Leo Liu <sdl.web@gmail.com>
11038
11039 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11040 (smie--highlight-matching-block-overlay)
11041 (smie--highlight-matching-block-lastpos)
11042 (smie--highlight-matching-block-timer): New variables.
11043 (smie-highlight-matching-block): New function.
11044 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11045 (smie-setup): Conditionally enable smie-blink-matching-open.
11046
bc8bc17d
WS
110472013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11048
11049 Sync with upstream verilog-mode r840.
11050 * progmodes/verilog-mode.el (verilog-mode-version)
11051 (verilog-mode-release-date): Update.
11052 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11053 (verilog-sig-tieoff): Fix string error on
11054 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11055 (verilog-read-decls): Fix parameters confusing
11056 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11057
df065a0b
EZ
110582013-05-16 Eli Zaretskii <eliz@gnu.org>
11059
11060 * subr.el (reveal-filename): New function.
11061
11062 * loadup.el: Compute Emacs executable versions on MS-Windows,
11063 where executables have the .exe extension. Add a hard link
11064 emacs-XX.YY.ZZ.exe on MS-Windows.
11065
11066 * Makefile.in (XARGS_LIMIT): New variable.
11067 (custom-deps, finder-data, autoloads)
11068 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11069 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11070 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11071 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11072
2d4bf34b
LL
110732013-05-16 Leo Liu <sdl.web@gmail.com>
11074
11075 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11076 (octave-mode-menu, octave-mode-map): Remove its uses.
11077
6b9c2d85
RZ
110782013-05-16 Reto Zimmermann <reto@gnu.org>
11079
11080 Sync with upstream vhdl mode v3.34.2.
11081 * progmodes/vhdl-mode.el: Use `push' throughout.
11082 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11083 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11084 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11085 (vhdl-actual-generic-name): New option to derive actual generic name.
11086 (vhdl-port-paste-signals): Replace formal by actual generics.
11087 (vhdl-beautify): New name for old group vhdl-align. Update users.
11088 (vhdl-beautify-options): New option.
11089 (vhdl-last-input-event): New compat alias. Use throughout.
11090 (vhdl-goto-line): Replace user level function `goto-line'.
11091 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11092 vhdl-fix-statement-buffer.
11093 (vhdl-create-mode-menu): Add some entries.
11094 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11095 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11096 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11097 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11098 to force statements on one line.
11099 (vhdl-remove-trailing-spaces-region):
11100 New, split from vhdl-remove-trailing-spaces.
11101 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11102 Respect vhdl-beautify-options.
11103 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11104 (vhdl-update-sensitivity-list): Not add with index if exists without.
11105 Not include array index with signal. Ignore keywords in comments.
11106 (vhdl-get-visible-signals): Regexp tweaks.
11107 (vhdl-template-component-inst): Handle empty library.
11108 (vhdl-template-type): Add template for 'enum' type.
11109 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11110 Use vhdl-replace-string.
11111 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11112 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11113 (vhdl-speedbar-initialize): Update for above name change.
11114 (vhdl-compose-wire-components): Fix in handling of constants.
11115 (vhdl-error-regexp-emacs-alist): New variable.
11116 (vhdl-error-regexp-add-emacs): New function;
11117 adds support for new compile.el (Emacs 22+)
11118 (vhdl-generate-makefile-1): Change target order for single lib. units.
11119 Allow use of absolute file names.
11120
9df4ec5e
LL
111212013-05-16 Leo Liu <sdl.web@gmail.com>
11122
11123 * simple.el (prog-indent-sexp): Indent enclosing defun.
11124
f5ba00a6
GM
111252013-05-15 Glenn Morris <rgm@gnu.org>
11126
ed8be7ff
GM
11127 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11128 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11129 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11130 (whitespace-highlight): Move to whitespace group.
11131
11132 * comint.el (comint-source):
11133 * pcmpl-linux.el (pcmpl-linux):
11134 * shell.el (shell-faces):
11135 * eshell/esh-opt.el (eshell-opt):
11136 * international/ccl.el (ccl): Remove empty custom groups.
11137
11138 * completion.el (dynamic-completion-mode):
11139 * jit-lock.el (jit-lock-debug-mode):
11140 * minibuffer.el (completion-in-region-mode):
11141 * type-break.el (type-break-mode-line-message-mode)
11142 (type-break-query-mode):
11143 * emulation/tpu-edt.el (tpu-edt-mode):
11144 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11145 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11146 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11147
11148 * term/xterm.el (xterm): Change parent group to terminals.
11149
11150 * master.el (master): Remove empty custom group.
11151 (master-mode): Remove unused :group argument.
11152 * textmodes/refill.el (refill): Remove empty custom group.
11153 (refill-mode): Remove unused :group argument.
11154
11155 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11156
82a7c41b
GM
11157 * cus-dep.el: Provide a feature.
11158 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
11159 Don't mistakenly ignore files whose basenames match a basename
11160 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 11161 Add a fallback method for getting :group.
f5ba00a6 11162
6d65486d
JL
111632013-05-15 Juri Linkov <juri@jurta.org>
11164
da547b32
JL
11165 * isearch.el (isearch-char-by-name): Rename from
11166 `isearch-insert-char-by-name'. Doc fix.
11167 (isearch-forward): Mention `isearch-char-by-name' in
11168 the docstring. (Bug#13348)
11169
6d65486d
JL
11170 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11171 `exit-minibuffer' instead of
11172 `isearch-nonincremental-exit-minibuffer'.
11173 (isearch-edit-string): Remove mention of
11174 `isearch-nonincremental-exit-minibuffer' from docstring.
11175 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11176 (isearch-forward-exit-minibuffer)
11177 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11178
c9990474
SM
111792013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11180
6e911150
SM
11181 * loadup.el: Just use unversioned DOC.
11182
c9990474
SM
11183 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11184 literals as extending to EOB.
11185 (nxml-last-fontify-end): Remove unused variable.
11186 (nxml-after-change1): Use with-silent-modifications.
11187 (nxml-extend-after-change-region): Simplify.
11188 (nxml-extend-after-change-region1): Remove function.
11189 (nxml-after-change1): Don't adjust for dependent regions.
11190 (nxml-fontify-matcher): Simplify.
11191 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11192 (xmltok-add-dependent): Remove function.
11193 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11194 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11195 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11196 unclosed <[[, <?, comment, and other literals as extending to EOB.
11197 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11198 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11199 Remove functions.
11200 (rng-do-some-validation-1): Don't mark dependent regions.
11201 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11202 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11203 (nxml-clear-dependent-regions): Remove functions.
11204 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11205 (nxml-ensure-scan-up-to-date):
11206 Don't clear&mark dependent regions.
11207
e3772e98
LL
112082013-05-15 Leo Liu <sdl.web@gmail.com>
11209
c9990474
SM
11210 * progmodes/octave.el (octave-goto-function-definition):
11211 Improve and fix callers.
e3772e98 11212
5ac2eb34
SM
112132013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11214
c46c57b0
SM
11215 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11216 the setter (bug#14387).
11217
5ac2eb34
SM
11218 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11219 surrounding group (bug#14402).
11220
180ed218
JL
112212013-05-14 Juri Linkov <juri@jurta.org>
11222
11223 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11224 (Bug#14390)
11225
0ac0fecb
GM
112262013-05-14 Glenn Morris <rgm@gnu.org>
11227
11228 * progmodes/f90.el (f90-imenu-generic-expression):
11229 Fix typo in 2013-05-08 change. (Bug#14402)
11230
2e78e6a7
JPG
112312013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11232
5ac2eb34
SM
11233 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11234 Remove signals for which replies are never received.
2e78e6a7 11235
53267cca
JPG
112362013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11237
11238 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11239 (gdb-handler-alist, gdb-handler-number): Remove variables.
11240 (gdb-handler-list): New variable.
11241 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11242 (gdb-pending-handler-p, gdb-handle-reply)
11243 (gdb-remove-all-pending-triggers): New functions.
11244 (gdb-discard-unordered-replies): New defcustom.
11245 (gdb-handler): New defstruct.
11246 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11247 instead of gdb-pending-triggers. Update docstring.
11248 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11249 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11250 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11251 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11252 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11253 (gdb-frame-handler): Pending triggers are now automatically managed.
11254 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11255 Remove argument.
11256 (gdb-input): Automatically handles pending triggers. Update docstring.
11257 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11258 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11259 Update comments.
11260 (gdb-done-or-error): Now use gdb-handle-reply.
11261
d04ce803
JPG
112622013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11263
11264 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11265 gdb-debug-log.
11266
0114073a
GM
112672013-05-14 Glenn Morris <rgm@gnu.org>
11268
11269 * subr.el (user-emacs-directory-warning): New option.
11270 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11271
4d25fd7e
LL
112722013-05-14 Leo Liu <sdl.web@gmail.com>
11273
11274 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11275 during redisplay.
11276 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11277 (octave-font-lock-texinfo-comment): Fix invalid search bound
11278 error: wrong side of point.
4d25fd7e 11279
27c8b6eb
GM
112802013-05-14 Glenn Morris <rgm@gnu.org>
11281
61aaeb01
GM
11282 * progmodes/flymake.el (flymake-xml-program): New option.
11283 (flymake-xml-init): Use it.
11284
5bf90bc5
GM
11285 * term/xterm.el: Provide a feature.
11286
11287 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11288
f4c7dfd2
GM
112892013-05-13 Glenn Morris <rgm@gnu.org>
11290
11291 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11292 Add compat aliases as a hack workaround. (Bug#14384)
11293
2aeb3a1d
LL
112942013-05-13 Leo Liu <sdl.web@gmail.com>
11295
b0e069c2
LL
11296 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11297 ###, and %!.
f5a9432f
LL
11298 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11299 C-M-q.
b0e069c2
LL
11300 (octave-comment-start-skip): Include %!.
11301 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11302
30ea8374
LL
113032013-05-12 Leo Liu <sdl.web@gmail.com>
11304
11305 * progmodes/octave.el (inferior-octave-startup): Store the value
11306 of __octave_srcdir__ for octave-source-directories.
11307 (inferior-octave-check-process): New function refactored out of
11308 inferior-octave-send-list-and-digest.
11309 (octave-source-directories)
11310 (octave-find-definition-filename-function): New variables.
11311 (octave-source-directories)
11312 (octave-find-definition-default-filename): New functions.
11313 (octave-find-definition): Improve to find functions implemented in C++.
11314
472a3834
GM
113152013-05-12 Glenn Morris <rgm@gnu.org>
11316
11317 * calendar/diary-lib.el (diary-outlook-format-1):
11318 Don't include dayname in the output. (Bug#14349)
11319
3191b52f
GM
113202013-05-11 Glenn Morris <rgm@gnu.org>
11321
0060ac73
GM
11322 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11323
3191b52f
GM
11324 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11325 Treat cc-provide like provide.
11326
e065ba74
KR
113272013-05-11 Kevin Ryde <user42@zip.com.au>
11328
11329 * cus-dep.el (custom-make-dependencies):
11330 Use generated-autoload-load-name for the sake of files such
11331 such cedet/semantic/bovine/c.el, where the base file name
11332 is not in load-path. (Bug#5277)
11333
36f84c37
GM
113342013-05-11 Glenn Morris <rgm@gnu.org>
11335
11336 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11337 Provide features.
11338
c8730c3a
LL
113392013-05-11 Leo Liu <sdl.web@gmail.com>
11340
11341 * progmodes/octave.el (octave-indent-comment): Improve.
11342 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11343 (octave-eldoc-function-signatures, octave-eldoc-function):
11344 New functions.
c8730c3a
LL
11345 (octave-mode, inferior-octave-mode): Add eldoc support.
11346
212e29f2
RS
113472013-05-11 Richard Stallman <rms@gnu.org>
11348
11349 * epa.el (epa-decrypt-file): Take output file name as argument
11350 and read it using `interactive'.
11351
083fe0d7
LL
113522013-05-11 Leo Liu <sdl.web@gmail.com>
11353
11354 * progmodes/octave.el (octave-beginning-of-line)
11355 (octave-end-of-line): Check before using up-list because it jumps
11356 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11357 (octave-indent-comment): New function.
11358 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11359 (octave-begin-keywords, octave-end-keywords)
11360 (octave-reserved-words, octave-smie-bnf-table)
11361 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11362
8582e4c4
GM
113632013-05-11 Glenn Morris <rgm@gnu.org>
11364
f20def1f
GM
11365 * faces.el (internal-face-x-get-resource):
11366 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11367 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11368 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11369 Fix declarations.
f20def1f 11370
445f95e2
GM
11371 * calc/calc-menu.el: Make it loadable in isolation.
11372
11373 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11374 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11375 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11376 (eudc-bbdb-query-internal): Require 'bbdb.
11377
99fb2756
GM
11378 * lpr.el (lpr-headers-switches):
11379 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11380
11381 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11382
0da7ad96
GM
11383 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11384
8582e4c4
GM
11385 * term.el (term-set-escape-char): Make it idempotent.
11386
f71c50d0
LL
113872013-05-10 Leo Liu <sdl.web@gmail.com>
11388
5ac2eb34
SM
11389 * progmodes/octave.el (inferior-octave-completion-table):
11390 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11391 completion due to bug#11906.
11392 (octave-beginning-of-defun): Re-write to be more general.
11393
d5837773
GM
113942013-05-10 Glenn Morris <rgm@gnu.org>
11395
11396 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11397
027c0f75
SM
113982013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11399
11400 * comint.el (comint-redirect-send-command-to-process): Use :around
11401 rather than :override for comint-redirect-filter.
11402 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11403 Call it instead of comint-redirect-original-filter-function (which
11404 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11405
4465bfb4
JD
114062013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11407
11408 * frame.el (display-monitor-attributes-list): Add NS case.
11409 (ns-display-monitor-attributes-list): Declare.
11410
2d809ffa 114112013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11412
11413 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11414
e54eeb9b
GM
114152013-05-09 Glenn Morris <rgm@gnu.org>
11416
56cd351d
GM
11417 * international/fontset.el (vertical-centering-font-regexp):
11418 Set standard-value.
11419
d84b6108
GM
11420 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11421
a931698a
GM
11422 * bookmark.el (bookmark-search-delay):
11423 * cus-start.el (vertical-centering-font-regexp):
11424 * ps-mule.el (ps-mule-font-info-database-default):
11425 * ps-print.el (ps-default-fg, ps-default-bg):
11426 * type-break.el (type-break-good-break-interval):
11427 * whitespace.el (whitespace-indentation-regexp)
11428 (whitespace-space-after-tab-regexp):
11429 * emacs-lisp/testcover.el (testcover-1value-functions)
11430 (testcover-noreturn-functions, testcover-progn-functions)
11431 (testcover-prog1-functions):
11432 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11433 * eshell/em-glob.el (eshell-glob-translate-alist):
11434 * play/tetris.el (tetris-tty-colors):
11435 * progmodes/cpp.el (cpp-face-default-list):
11436 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11437 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11438 (idlwave-help-browser-generic-args):
11439 * progmodes/make-mode.el (makefile-special-targets-list):
11440 * progmodes/python.el (python-shell-virtualenv-path):
11441 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11442 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11443 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11444 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11445 * textmodes/reftex-vars.el (reftex-format-label-function):
11446 * textmodes/remember.el (remember-diary-file): Fix custom types.
11447
e54eeb9b
GM
11448 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11449 Add :version.
11450
455851dd
LL
114512013-05-09 Leo Liu <sdl.web@gmail.com>
11452
11453 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11454 Restore file completion. (Bug#14300)
455851dd
LL
11455 (inferior-octave-startup): Fix incorrect highlighting for the
11456 first prompt.
11457
a9e4425b
SM
114582013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11459
11460 * progmodes/ruby-mode.el: First cut at SMIE support.
11461 (ruby-use-smie): New var.
11462 (ruby-smie-grammar): New constant.
11463 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11464 (ruby-smie--forward-token, ruby-smie--backward-token)
11465 (ruby-smie-rules): New functions.
11466 (ruby-mode-variables): Setup SMIE if applicable.
11467
060ca408
EZ
114682013-05-08 Eli Zaretskii <eliz@gnu.org>
11469
11470 * simple.el (line-move-visual): Signal beginning/end of buffer
11471 only if vertical-motion moved less than it was requested. Avoids
11472 silly incorrect error messages when there are display strings with
11473 multiple newlines at EOL.
11474
1d5963cc
SM
114752013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11476
11477 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11478 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11479 (prolog-char-quote-workaround):
11480 * progmodes/cperl-mode.el (cperl-under-as-char):
11481 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11482 Mark as obsolete.
11483 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11484 their declaration.
11485 (vhdl-mode-syntax-table-init): Remove.
11486
c9990474
SM
11487 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11488 last change.
1d5963cc
SM
11489
11490 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11491 syntax for "_".
11492 (ld-script-font-lock-keywords):
11493 Change regexps to use things like \_< and \_>.
11494
11495 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11496 Change all regexps to use things like \_< and \_>.
11497
11498 * progmodes/autoconf.el (autoconf-definition-regexp)
11499 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11500 Handle a _ with symbol syntax.
11501 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11502
c9990474
SM
11503 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11504 Consolidate declaration.
1d5963cc
SM
11505 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11506 the declaration.
11507 (ada-create-syntax-table): Remove.
11508 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11509 already has the right syntax nowadays.
11510 (ada-goto-next-word): Don't change the syntax of "_".
11511
11512 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11513 with-wrapper-hook.
11514
72d3cfca
SS
115152013-05-08 Sam Steingold <sds@gnu.org>
11516
11517 * thingatpt.el (thing-at-point): Accept optional second argument
11518 NO-PROPERTIES to strip the text properties from the return value.
11519 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11520 to `thing-at-point' instead of stripping the properties ourselves.
11521 Also, when `thing-at-point' fails to find a url, prepend "http://"
11522 to the filename at point on the assumption that the user is
11523 pointing at something like gnu.org/gnu.
11524
5cb15713
JB
115252013-05-08 Juanma Barranquero <lekktu@gmail.com>
11526
11527 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11528 * faces.el (crm-separator):
11529 Silence byte-compiler.
11530
11531 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11532 (tool-bar-map): Remove unneeded defvars.
11533
ea78b95b
LL
115342013-05-08 Leo Liu <sdl.web@gmail.com>
11535
11536 Re-work a fix for bug#10994 based on Le Wang's patch.
11537 * ido.el (ido-remove-consecutive-dups): New helper.
11538 (ido-completing-read): Use it.
11539 (ido-chop): Revert fix for bug#10994.
11540
dc7466df
AS
115412013-05-08 Adam Spiers <emacs@adamspiers.org>
11542
11543 * cus-edit.el (custom-save-variables):
11544 Pretty-print long values. (Bug#14187)
11545
9ecf672a
GM
115462013-05-08 Glenn Morris <rgm@gnu.org>
11547
11548 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11549 (m4-mode-syntax-table): Init in the defvar.
11550 (m4-mode-abbrev-table): Let define-derived-mode define it.
11551
3f555be8
TT
115522013-05-08 Tom Tromey <tromey@redhat.com>
11553
11554 * progmodes/m4-mode.el (m4-mode-syntax-table):
11555 Do not treat "_" as word constituent. (Bug#14167)
11556
7cc8ae06
GM
115572013-05-07 Glenn Morris <rgm@gnu.org>
11558
4f58bc06
GM
11559 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11560 Remove explicit eshell-isearch-cancel-map.
11561
7cc8ae06
GM
11562 * progmodes/f90.el (f90-smart-end-names): New option.
11563 (f90-smart-end): Doc fix.
11564 (f90-end-block-optional-name): New constant.
11565 (f90-block-match): Respect f90-smart-end-names.
11566
ceb57e59
SM
115672013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11568
11569 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11570 about implicit semi-colons (bug#14218).
11571
4e3f9230
YM
115722013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11573
11574 * frame.el (display-monitor-attributes-list)
11575 (frame-monitor-attributes): New functions.
11576
203a5572
LL
115772013-05-06 Leo Liu <sdl.web@gmail.com>
11578
11579 * progmodes/octave.el (octave-syntax-propertize-function): Change
11580 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11581 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11582 (octave-completion-at-point): Rename from
203a5572
LL
11583 octave-completion-at-point-function.
11584 (inferior-octave-directory-tracker): Robustify.
11585 (octave-text-functions): Remove and fix its uses. No such things
11586 any more.
11587
ee6cff99
SM
115882013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * emacs-lisp/trace.el (trace--display-buffer): New function.
11591 (trace-make-advice): Use it.
11592
32985194
JL
115932013-05-06 Juri Linkov <juri@jurta.org>
11594
11595 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11596 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11597 Doc fix.
11598 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11599 in the help string. (Bug#12985)
11600
a1c700de
KD
116012013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11602
11603 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11604
c67c0839
SM
116052013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11606
323885fd
SM
11607 * progmodes/perl-mode.el: Add support for here documents.
11608 (perl-syntax-propertize-function): Match here-doc markers.
11609 (perl-syntax-propertize-special-constructs): Find their end.
11610 (perl-imenu-generic-expression): Use [:alnum:].
11611
c67c0839
SM
11612 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11613 (advice--add-function): Refresh the advice if already present
11614 (bug#14317).
11615
d491e7a8
IA
116162013-05-06 Ivan Andrus <darthandrus@gmail.com>
11617
11618 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11619
ddf9925e
GM
116202013-05-06 Glenn Morris <rgm@gnu.org>
11621
7cc3af27
GM
11622 * w32-fns.el (w32-charset-info-alist): Declare.
11623
16e343d6
GM
11624 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11625 of its defcustom properties.
11626 (eshell-cmpl-initialize): No need to load pcomplete.
11627
7d889a47
GM
11628 * generic-x.el: No need to require comint when compiling.
11629
ddf9925e
GM
11630 * net/eudc-export.el: Make it loadable without bbdb.
11631 (top-level): Use require rather than load-library.
11632 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11633 (eudc-batch-export-records-to-bbdb)
11634 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11635 Require bbdb.
11636
1e2c18df
SM
116372013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11638
11639 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11640 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11641 some tweaks, instead.
11642
02502a5f
LL
116432013-05-05 Leo Liu <sdl.web@gmail.com>
11644
11645 * progmodes/octave.el (octave-font-lock-keywords)
11646 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11647 (inferior-octave-send-list-and-digest): Improve error message.
11648 (octave-mode, inferior-octave-mode): Use setq-local.
11649 (octave-help): Set info-lookup-mode.
11650
0dc04f42
RS
116512013-05-05 Richard Stallman <rms@gnu.org>
11652
6c54491c
RS
11653 * vc/compare-w.el (compare-windows-whitespace):
11654 Treat no-break space as whitespace.
11655
0dc04f42
RS
11656 * mail/rmailsum.el (rmail-summary-rmail-update):
11657 Detect empty summary and don't change selected message.
11658 (rmail-summary-goto-msg): Likewise.
11659
df8f35df
RS
11660 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11661 Doc fixes, rename args.
11662
5356e1a3
AM
116632013-05-05 Alan Mackenzie <acm@muc.de>
11664
11665 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11666
d44014cb
JL
116672013-05-05 Juri Linkov <juri@jurta.org>
11668
11669 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11670 to not add the length of the summary segment to the return value.
11671 (Bug#14125)
11672
c129b51f
LL
116732013-05-05 Leo Liu <sdl.web@gmail.com>
11674
11675 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11676 (inferior-octave-output-filter): Remove.
11677 (octave-send-region, inferior-octave-startup): Fix callers.
11678 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11679 (octave-binary-file-extensions): New user variable.
11680 (octave-find-definition): Confirm if opening binary files.
11681 (octave-help-file): Use octave-find-definition to get the binary
11682 confirmation.
11683 (octave-help): Adjust for octave-help-file change.
11684
aa7dab97
SM
116852013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11686
11687 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11688 Merge the two entries that handle function definitions.
11689 (pascal--syntax-propertize): New const.
11690 (pascal-mode): Use it. Use setq-local.
11691
fd3a9a6b
GM
116922013-05-04 Glenn Morris <rgm@gnu.org>
11693
11694 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11695 (diary-from-outlook): Respect diary-from-outlook-function.
11696
30c7e542
SM
116972013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11698
11699 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11700 Move the declaration from C.
11701 (read-minibuffer, eval-minibuffer): Move from C.
11702 (completion-setup-function): Avoid minibuffer-completion-contents.
11703
b54f978b
LL
117042013-05-03 Leo Liu <sdl.web@gmail.com>
11705
11706 * progmodes/octave.el (octave-font-lock-keywords): Do not
11707 dehighlight 'end' in comments or strings.
30c7e542
SM
11708 (octave-completing-read, octave-goto-function-definition):
11709 New helpers.
d4d0f9b3
LL
11710 (octave-help-buffer): New user variable.
11711 (octave-help-file, octave-help-function): New button types.
11712 (octave-help): New command and bind it to C-h ;.
11713 (octave-find-definition): New command and bind it to M-.
d74a1581 11714 (user-error): Alias to error if not defined.
b54f978b 11715
27135018
LL
117162013-05-02 Leo Liu <sdl.web@gmail.com>
11717
11718 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11719 for \. (bug#14332)
11720 (octave-font-lock-keywords): Include [ and {.
11721
0d634d3a
LL
117222013-05-02 Leo Liu <sdl.web@gmail.com>
11723
11724 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11725 (inferior-octave): Remove calling comint-mode and return the buffer.
11726 (inferior-octave-startup): Cosmetic changes.
11727
b4c8295e
LL
117282013-05-02 Leo Liu <sdl.web@gmail.com>
11729
30c7e542
SM
11730 * progmodes/octave.el (octave-syntax-propertize-function):
11731 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11732
f12ad6ec
GM
117332013-05-02 Glenn Morris <rgm@gnu.org>
11734
11735 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11736 * desktop.el (vc-dir-mode): Just autoload it here.
11737
30cac1e0
AM
117382013-05-02 Alan Mackenzie <acm@muc.de>
11739
11740 Eliminate variable c-standard-font-lock-fontify-region-function.
11741 * progmodes/cc-mode.el
11742 (c-standard-font-lock-fontify-region-function): Remove.
11743 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11744
d8ef28b1
LL
117452013-05-01 Leo Liu <sdl.web@gmail.com>
11746
2640d52e 11747 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11748 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11749 variables were removed from Octave in 2007.
d8ef28b1
LL
11750 (inferior-octave-startup): Fix uses.
11751 (comint-line-beginning-position): Remove compatibility code for
11752 emacs 21.
11753
ac63ec89
JL
117542013-05-01 Juri Linkov <juri@jurta.org>
11755
11756 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11757
9e9be37c
JL
117582013-05-01 Juri Linkov <juri@jurta.org>
11759
11760 * comint.el (comint-previous-matching-input): Don't print message
11761 "History item: %d" when `isearch-mode' is active.
11762 (comint-history-isearch-message): Print message "History item: %d"
11763 when `comint-input-ring-index' is not empty and this function is
11764 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11765
9b92c13b
LL
117662013-05-01 Leo Liu <sdl.web@gmail.com>
11767
11768 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11769 definitions. Use completion-at-point to insert keywords.
11770 (octave-abbrev-start): Remove.
11771 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11772
b12d33d7
LL
117732013-04-30 Leo Liu <sdl.web@gmail.com>
11774
11775 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11776 change.
11777
3d1c39fa
AM
117782013-04-30 Alan Mackenzie <acm@muc.de>
11779
11780 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11781 * progmodes/cc-engine.el (c-back-over-member-initializers):
11782 new function.
3d1c39fa
AM
11783 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11784 (most) member init lists.
11785
5147fc17
RS
117862013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11787
11788 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11789 variable.
11790
5b78d7fc
LL
117912013-04-30 Leo Liu <sdl.web@gmail.com>
11792
11793 * progmodes/octave.el (octave-variables): Remove. No builtin
11794 variables any more. All converted to functions.
11795 (octave-font-lock-keywords, octave-completion-at-point-function):
11796 Fix uses.
11797 (octave-font-lock-texinfo-comment): New user variable.
11798 (octave-texinfo-font-lock-keywords): New variable for texinfo
11799 comment block.
11800 (octave-function-comment-block): New face.
11801 (octave-font-lock-texinfo-comment): New function.
11802 (octave-mode): Font lock texinfo comment block.
11803
38d8527b
LL
118042013-04-29 Leo Liu <sdl.web@gmail.com>
11805
11806 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11807 indexing expression.
11808 (octave-continuation-string): Do not use \.
11809 (inferior-octave-complete-impossible): Remove.
11810 (inferior-octave-completion-table)
11811 (inferior-octave-completion-at-point): Remove its uses.
11812 (inferior-octave-startup): completion_matches was introduced to
11813 Octave in 1996 so safe to assume it.
11814 (octave-function-file-comment): Improve to follow how Octave does it.
11815 (octave-update-function-file-comment): Tweak.
11816
2ec12cb0
LL
118172013-04-29 Leo Liu <sdl.web@gmail.com>
11818
11819 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11820 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11821 (octave-function-file-comment): Fix typo.
11822 (octave-sync-function-file-names): Use read-char-choice.
11823
6eaed048
JB
118242013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11825
11826 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11827 to t for the less important warnings.
11828
3ffa2d4f
DH
118292013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11830
11831 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11832
685c9501
GM
118332013-04-27 Glenn Morris <rgm@gnu.org>
11834
11835 * vc/log-view.el (log-view-current-entry):
11836 Treat "---" separator lines as part of the following rev. (Bug#14169)
11837
0208ede7
JL
118382013-04-27 Juri Linkov <juri@jurta.org>
11839
11840 * subr.el (read-number): Doc fix about using it by interactive
11841 code letter `n'. (Bug#14254)
11842
5db9dace
JL
118432013-04-27 Juri Linkov <juri@jurta.org>
11844
11845 * desktop.el (desktop-auto-save-timeout): New option.
11846 (desktop-file-checksum): New variable.
11847 (desktop-save): Add optional arg `auto-save' and don't auto-save
11848 if nothing changed.
11849 (desktop-auto-save-timer): New variable.
11850 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11851 (after-init-hook): Call `desktop-auto-save-set-timer'.
11852 Suggested by Reuben Thomas <rrt@sc3d.org> in
11853 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11854
b7260dd4
LL
118552013-04-27 Leo Liu <sdl.web@gmail.com>
11856
11857 * progmodes/octave.el (octave-function-file-p)
11858 (octave-skip-comment-forward, octave-function-file-comment)
11859 (octave-update-function-file-comment): New functions.
11860 (octave-mode-map): Bind C-c ; to
11861 octave-update-function-file-comment.
11862 (octave-mode-menu): Add octave-update-function-file-comment.
11863 (octave-mode, inferior-octave-mode): Fix doc-string.
11864 (octave-insert-defun): Conform to Octave's coding convention.
11865 (Bug#14285)
11866
11867 * files.el (basic-save-buffer): Don't let errors in
11868 before-save-hook prevent saving buffer.
11869
c46da669
RW
118702013-04-20 Roland Winkler <winkler@gnu.org>
11871
11872 * faces.el (read-face-name): Use completing-read if arg multiple
11873 is nil.
11874
a81ee1eb
IL
118752013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11876
11877 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11878 displayed, move point to after the totals line.
11879 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11880 for the details.
11881
4fac34ce
SM
118822013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11883
11884 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11885 Add current dir to the load-path.
11886 (package-generate-autoloads): Don't rely on
11887 autoload-ensure-default-file.
11888
f6bfc063
RT
118892013-04-26 Reuben Thomas <rrt@sc3d.org>
11890
d40ab5cf
BG
11891 * textmodes/remember.el (remember-store-in-files): Document that
11892 the file name format is passed to `format-time-string'.
f6bfc063 11893
e55d3b04
LL
118942013-04-26 Leo Liu <sdl.web@gmail.com>
11895
11896 * progmodes/octave.el (octave-sync-function-file-names): New function.
11897 (octave-mode): Use it in before-save-hook.
11898
e53052d3
SM
118992013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11900
140ef50c
SM
11901 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11902 (bug#14274).
11903
e53052d3
SM
11904 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11905 \n and comment, even if it's not an implicit ; (bug#14218).
11906
af80458d 119072013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11908
11909 * subr.el (read-number): Once more use `read' rather than
11910 `string-to-number', to trap non-numeric input. (Bug#14254)
11911
af80458d 119122013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11913
11914 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11915 Use `syntax-multiline' text property consistently instead of
8a621d53 11916 `font-lock-multiline'. (Bug#14237)
70203c2e 11917
e6ea1f6c
GM
119182013-04-26 Glenn Morris <rgm@gnu.org>
11919
11920 * emacs-lisp/shadow.el (list-load-path-shadows):
11921 No longer necessary to check for duplicate simple.el, since
11922 2012-07-07 change to init_lread to not include installation lisp
11923 directories in load-path when running uninstalled. (Bug#14270)
11924
070ccca4
LL
119252013-04-26 Leo Liu <sdl.web@gmail.com>
11926
11927 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11928 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11929 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11930 octave-in-string-or-comment-p.
11931 (octave-in-comment-p, octave-in-string-p)
11932 (octave-in-string-or-comment-p): Replace defsubst with defun.
11933
9d1c5fb6
PE
119342013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11935
11936 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11937
c034abda
BG
119382013-04-25 Bastien Guerry <bzg@gnu.org>
11939
11940 * textmodes/remember.el (remember-data-directory)
11941 (remember-directory-file-name-format): Fix custom types.
11942
584ea277
LL
119432013-04-25 Leo Liu <sdl.web@gmail.com>
11944
e53052d3
SM
11945 * progmodes/octave.el (octave-completion-at-point-function):
11946 Make use of inferior octave process.
584ea277
LL
11947 (octave-initialize-completions): Remove.
11948 (inferior-octave-completion-table): New function.
11949 (inferior-octave-completion-at-point): Use it.
11950 (octave-completion-alist): Remove.
11951
1693b06a
SM
119522013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11955 (opascal-mode-syntax-table): New var.
11956 (opascal-literal-kind, opascal-is-literal-end)
11957 (opascal-literal-token-at): Rewrite.
11958 (opascal--literal-start-re, opascal-font-lock-keywords)
11959 (opascal--syntax-propertize): New constants.
11960 (opascal-font-lock-defaults): Adjust.
11961 (opascal-mode): Use them. Set comment-<foo> variables as well.
11962 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11963 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11964 (delphi-other-face, opascal-other-face): Remove face variables.
11965 (opascal-save-state): Remove macro.
11966 (opascal-fontifying-progress-step): Remove constant.
11967 (opascal--ignore-changes): Remove var.
11968 (opascal-set-token-property, opascal-parse-next-literal)
11969 (opascal-is-stable-literal, opascal-complete-literal)
11970 (opascal-is-literal-start, opascal-face-of)
11971 (opascal-parse-region, opascal-parse-region-until-stable)
11972 (opascal-fontify-region, opascal-after-change)
11973 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11974 (opascal-debug-parse-region, opascal-debug-parse-window)
11975 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11976 (opascal-debug-fontify-buffer): Remove.
11977 (opascal-debug-mode-map): Adjust accordingly.
11978
be64c05d
LL
119792013-04-25 Leo Liu <sdl.web@gmail.com>
11980
11981 Merge octave-mod.el and octave-inf.el into octave.el with some
11982 cleanups.
11983 * progmodes/octave.el: New file renamed from octave-mod.el.
11984 * progmodes/octave-inf.el: Merged into octave.el.
11985 * progmodes/octave-mod.el: Renamed to octave.el.
11986
d79d37bd
TH
119872013-04-25 Tassilo Horn <tsdh@gnu.org>
11988
11989 * textmodes/reftex-vars.el
11990 (reftex-label-ignored-macros-and-environments): New defcustom.
11991
11992 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11993
ced3fc5d
SM
119942013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11995
11996 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11997 (smie-indent-keyword): Improve the check to ensure that the next
11998 comment is really on the same line.
11999 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12000
12001 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12002 semi-colons if the line is not otherwise empty (bug#14218).
12003
1c141dad
GM
120042013-04-25 Glenn Morris <rgm@gnu.org>
12005
12006 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12007
5058062a
SM
120082013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12009
12010 * progmodes/opascal.el (opascal-set-token-property): Rename from
12011 opascal-set-text-properties and only set `token' (bug#14134).
12012 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12013 (opascal-literal-text-properties): Remove.
12014 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12015 Adjust callers.
12016
5db9dace 120172013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
12018
12019 * textmodes/remember.el (remember-handler-functions): Add an
12020 option for a new handler `remember-store-in-files'.
12021 (remember-data-directory, remember-directory-file-name-format):
12022 New options.
12023 (remember-store-in-files): New function to store remember notes
12024 as separate files within a directory.
12025
4391916c
MH
120262013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12027
12028 * progmodes/compile.el (compilation-next-error-function):
12029 Pass "formats" to compilation-find-file (bug#11777).
12030
bb7cdf58
GM
120312013-04-24 Glenn Morris <rgm@gnu.org>
12032
3b8fe752 12033 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
12034 * vc/vc-hg.el (vc-hg-print-log):
12035 * vc/vc-svn.el (vc-svn-print-log):
12036 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12037
bb7cdf58
GM
12038 * vc/vc-bzr.el (vc-bzr-print-log):
12039 * vc/vc-cvs.el (vc-cvs-print-log):
12040 * vc/vc-git.el (vc-git-print-log):
12041 * vc/vc-hg.el (vc-hg-print-log):
12042 * vc/vc-mtn.el (vc-mtn-print-log):
12043 * vc/vc-rcs.el (vc-rcs-print-log):
12044 * vc/vc-sccs.el (vc-sccs-print-log):
12045 * vc/vc-svn.el (vc-svn-print-log):
12046 * vc/vc.el (vc-print-log-internal): Doc fixes.
12047
b46a056e
GM
120482013-04-23 Glenn Morris <rgm@gnu.org>
12049
12050 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12051 Remove venerable code attempting to avoid substitute-command-keys.
12052
0aecf718
TH
120532013-04-23 Tassilo Horn <tsdh@gnu.org>
12054
4391916c
MH
12055 * textmodes/reftex-vars.el (reftex-label-regexps):
12056 Call `reftex-compile-variables' after changes to this variable.
0aecf718 12057
117f94cf
SM
120582013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12059
4391916c 12060 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
12061 Use lexical-binding.
12062 (jit-lock-force-redisplay): Use markers, check buffer's continued
12063 existence and beware narrowed buffers.
12064 (jit-lock-fontify-now): Adjust call accordingly.
12065
1d829c64
SM
120662013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12067
12068 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12069 to avoid misleading the user.
12070
72d548a9
LL
120712013-04-22 Leo Liu <sdl.web@gmail.com>
12072
12073 * info-look.el: Prefer latex2e.info. (Bug#14240)
12074
d0853629
MA
120752013-04-22 Michael Albinus <michael.albinus@gmx.de>
12076
12077 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12078
12079 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 12080 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
12081 (tramp-set-completion-function, tramp-parse-putty):
12082 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12083 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12084 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12085 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12086 (tramp-call-local-coding-command): Use `tramp-call-process'
12087 instead of `tramp-compat-call-process'.
12088
12089 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12090 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12091 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 12092 (tramp-find-inline-compress): Improve traces.
d0853629
MA
12093 (tramp-maybe-send-script): Check for Perl binary.
12094 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12095
38cc0210
DU
120962013-04-22 Daiki Ueno <ueno@gnu.org>
12097
12098 * epg.el (epg-context-pinentry-mode): New function.
12099 (epg-context-set-pinentry-mode): New function.
12100 (epg--start): Pass --pinentry-mode option to gpg command.
12101
cc641ee1
XF
121022013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12103
02d844b5 12104 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 12105 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 12106 `completion-at-point'. (Bug#13774)
5d4e5c31 12107
cc641ee1
XF
12108 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12109 default key binding for `describe-distribution' has been moved to
12110 `C-h C-o'. (Bug#13970)
12111
1b42ee43
GM
121122013-04-21 Glenn Morris <rgm@gnu.org>
12113
12114 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12115 Add doc strings.
12116 (vc-print-log): Clarify interactive prompt.
12117
a6d63d97
GM
121182013-04-20 Glenn Morris <rgm@gnu.org>
12119
12120 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12121 No longer include timestamp etc information.
12122
d7f5c16f
RW
121232013-04-20 Roland Winkler <winkler@gnu.org>
12124
12125 * faces.el (read-face-name): Bug fix, return just one face if arg
12126 multiple is nil. (Bug#14209)
12127
bcd7a0a4
SM
121282013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12129
12130 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12131 (remove-function): Autoload.
12132
12133 * comint.el (comint-redirect-original-filter-function): Remove.
12134 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
12135 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12136 (vc-cvs-annotate-command):
bcd7a0a4
SM
12137 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12138 * progmodes/prolog.el (prolog-consult-compile):
12139 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12140 Use add/remove-function instead.
12141 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12142 (gud-tooltip-process-output, gud-tooltip-tips):
12143 Use add/remove-function instead.
12144 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12145 (scheme-interaction-mode, exit-scheme-interaction-mode):
12146 Use add/remove-function instead.
12147
12148 * vc/vc-dispatcher.el: Use lexical-binding.
12149 (vc--process-sentinel): Rename from vc-process-sentinel.
12150 Change last arg to be the code to run. Don't use vc-previous-sentinel
12151 and vc-sentinel-commands any more.
12152 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12153 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12154
e36b2d20 121552013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 12156
bcd7a0a4 12157 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 12158 Handle function names with a single character. (Bug#14111)
4d3268ba 12159
781b4af6 121602013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
12161
12162 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12163 for subroutines defined in an eval (bug#14182).
12164
7d688336
TV
121652013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12166
12167 * bookmark.el (bookmark-completing-read): Improve handling of empty
12168 string (bug#14176).
12169
31dcede0
SM
121702013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12173
adc31213
FEG
121742013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12175
12176 New faster Imenu implementation (bug#14058).
12177 * progmodes/python.el:
12178 (python-imenu-prev-index-position):
12179 (python-imenu-format-item-label-function)
12180 (python-imenu-format-parent-item-label-function)
12181 (python-imenu-format-parent-item-jump-label-function):
12182 New vars.
12183 (python-imenu-format-item-label)
12184 (python-imenu-format-parent-item-label)
12185 (python-imenu-format-parent-item-jump-label)
12186 (python-imenu--put-parent, python-imenu--build-tree)
12187 (python-imenu-create-index, python-imenu-create-flat-index)
12188 (python-util-popn): New functions.
12189 (python-mode): Set imenu-create-index-function to
12190 python-imenu-create-index.
12191
cdca8255
SM
121922013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12193
12194 * winner.el (winner-active-region): Use region-active-p, activate-mark
12195 and deactivate-mark (bug#14225).
12196
12197 * simple.el (deactivate-mark): Don't inline it.
12198
beb42340
MA
121992013-04-18 Michael Albinus <michael.albinus@gmx.de>
12200
12201 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12202
fc7f4d7e
TH
122032013-04-18 Tassilo Horn <tsdh@gnu.org>
12204
12205 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12206 file extensions from the archive-mode entry in order to prefer
12207 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12208
29f47822
LL
122092013-04-18 Leo Liu <sdl.web@gmail.com>
12210
12211 * bindings.el (help-event-list): Add ?\?.
12212
d36ed1c8
SM
122132013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12214
12215 * subr.el (with-wrapper-hook): Declare obsolete.
12216 * simple.el (filter-buffer-substring-function): New hook.
12217 (filter-buffer-substring): Use it.
12218 (filter-buffer-substring-functions): Mark obsolete.
12219 * minibuffer.el (completion-in-region-function): New hook.
12220 (completion-in-region): Use it.
12221 (completion-in-region-functions): Mark obsolete.
12222 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12223 * abbrev.el (abbrev-expand-function): New hook.
12224 (expand-abbrev): Use it.
12225 (abbrev-expand-functions): Mark obsolete.
12226 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12227 and :filter-return.
12228
04754d36
FEG
122292013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12230
12231 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12232 and do not care about match data.
12233
dd8791e9
SM
122342013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12235
12236 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12237 completion tables when completing error conditions and
12238 `declare' arguments.
12239 (lisp-complete-symbol, field-complete): Mark as obsolete.
12240 (check-parens): Unmatched parens are user errors.
12241 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12242
ffe54a13
AM
122432013-04-17 Michal Nazarewicz <mina86@mina86.com>
12244
dd8791e9
SM
12245 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12246 command changed buffer (ie. `flyspell-pre-buffer' is not current
12247 buffer), which prevents making decisions based on invalid value of
12248 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12249 cause an error when `flyspell-pre-point' was nil after switching
12250 buffers.
12251 (flyspell-post-command-hook): No longer needs to change buffers when
12252 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12253
ec7e39f2
AM
122542013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12255
12256 * textmodes/ispell.el (ispell-add-per-file-word-list):
12257 Fix `flyspell-correct-word-before-point' error when accepting
12258 words and `coment-padding' is an integer by using
12259 `comment-normalize-vars' (Bug #14214).
12260
083850a6
FEG
122612013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12262
12263 New defun movement commands.
12264 * progmodes/python.el (python-nav--syntactically)
12265 (python-nav--forward-defun, python-nav-backward-defun)
12266 (python-nav-forward-defun): New functions.
12267
619ed6e1
FEG
122682013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12269
12270 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12271 (python-syntax-context): Use named compiler-macro for backwards
12272 compatibility with Emacs 24.x.
12273
7a1beb6c
LL
122742013-04-17 Leo Liu <sdl.web@gmail.com>
12275
12276 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12277 octave-hide-process-buffer.
12278
2d3fa3e5
SM
122792013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12280
12281 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12282 (bug#14216).
12283
7ce5be54
JPG
122842013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12285
12286 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12287 Fix adjustment of offset when receiving incomplete responses from GDB
12288 (bug#14129).
12289
351edece
SM
122902013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12291
12292 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12293 python-mode-abbrev-table.
12294 (python-skeleton-define): Adjust accordingly.
12295 (python-mode-abbrev-table): New table that inherits from it so that
12296 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12297
12298 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12299 (abbrev-symbol): Use it.
12300 (abbrev--before-point): Use it since we already handle inheritance.
12301
613f9481
LL
123022013-04-16 Leo Liu <sdl.web@gmail.com>
12303
12304 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12305 binding to info-lookup-symbol.
12306
51646b62
JB
123072013-04-16 Juanma Barranquero <lekktu@gmail.com>
12308
12309 * minibuffer.el (completion--twq-all):
12310 * term/ns-win.el (ns-initialize-window-system):
12311 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12312
efb3f01d
SM
123132013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12314
36c0a301
SM
12315 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12316 global bindings.
12317
efb3f01d
SM
12318 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12319
fb549d64
DG
123202013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12321
12322 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12323 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12324 to nil.
12325 (ruby-end-of-defun): Remove the unused arg, change the docstring
12326 to reflect that this function is only used as the value of
12327 `end-of-defun-function'.
12328 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12329 to reflect an earlier change that beginning/end-of-defun functions
12330 jump between methods in a class definition, as well as top-level
12331 functions.
12332
21e8fe2f
SM
123332013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12334
12335 * minibuffer.el (minibuffer-complete): Don't just scroll
12336 a *Completions* that's been iconified.
12337 (minibuffer-force-complete): Make sure repetitions do cycle when going
12338 through completion-in-region -> minibuffer-complete.
12339
20e527d0
AM
123402013-04-15 Alan Mackenzie <acm@muc.de>
12341
12342 Correct the placement of c-cpp-delimiters when there're #s not at
12343 col 0.
12344
12345 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12346 place a submatch around the #.
21e8fe2f
SM
12347 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12348 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12349 on the #, not BOL.
12350
dabefae5
SM
123512013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12352
12353 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12354 (advice--member-p): New arg `name'.
12355 (advice--add-function, advice-member-p): Use it (bug#14202).
12356
85c9ab64
AM
123572013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12358
12359 Reformulate java imenu-generic-expression.
12360 The old expression contained ill formed regexps.
12361
12362 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12363 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12364 (cc-imenu-java-method-arg-regexp): New defconsts.
12365 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12366 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12367 handling of spaces in the regexp.
12368
0f821d99
AM
123692013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12370
12371 * textmodes/ispell.el (ispell-command-loop): Remove
12372 flyspell highlight of a word when ispell accepts it (bug #14178).
12373
eb922adf
MA
123742013-04-15 Michael Albinus <michael.albinus@gmx.de>
12375
12376 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12377 uses code from the previous `ange-ftp-run-real-handler'.
12378 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12379 only in case that function exist. This is needed for proper
12380 unloading of Tramp.
12381
4d9a0979
TH
123822013-04-15 Tassilo Horn <tsdh@gnu.org>
12383
12384 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12385
12386 * textmodes/reftex.el (reftex-compile-variables): Use it.
12387
a829b0dc
SM
123882013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12389
91e8293c
SM
12390 * files.el (normal-mode): Only use default major-mode if no other mode
12391 was specified.
12392
830aed4d
SM
12393 * emacs-lisp/trace.el (trace-values): New function.
12394
a829b0dc
SM
12395 * files.el: Allow : in local variables (bug#14089).
12396 (hack-local-variable-regexp): New var.
12397 (hack-local-variables-prop-line, hack-local-variables): Use it.
12398
7ae9f0fb
RW
123992013-04-13 Roland Winkler <winkler@gnu.org>
12400
12401 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12402 data before it gets modified by bibtex-beginning-of-entry.
12403
6646e848
RW
124042013-04-13 Roland Winkler <winkler@gnu.org>
12405
12406 * textmodes/bibtex.el (bibtex-url): Doc fix.
12407
124082013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12409
12410 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12411 does not visit a BibTeX file, exclude it from the list of buffers
12412 returned by bibtex-initialize.
12413
0aa3616e
SB
124142013-04-13 Stephen Berman <stephen.berman@gmx.net>
12415
12416 * window.el (split-window): Remove interactive form, since as a
12417 command this function is a special case of split-window-below.
12418 Correct doc string.
12419
011cddd6
RW
124202013-04-12 Roland Winkler <winkler@gnu.org>
12421
12422 * faces.el (read-face-name): Do not override value of arg default.
12423 Allow single faces and strings as default values. Remove those
12424 elements from return value that are not faces.
12425 (describe-face): Simplify.
12426 (face-at-point): New optional args thing and multiple so that this
12427 function can provide the same functionality previously provided by
12428 read-face-name.
12429 (make-face-bold, make-face-unbold, make-face-italic)
12430 (make-face-unitalic, make-face-bold-italic, invert-face)
12431 (modify-face, read-face-and-attribute): Use face-at-point.
12432
12433 * cus-edit.el (customize-face, customize-face-other-window)
12434 * cus-theme.el (custom-theme-add-face)
12435 * face-remap.el (buffer-face-set)
12436 * facemenu.el (facemenu-set-face): Use face-at-point.
12437
f24e0036
MA
124382013-04-12 Michael Albinus <michael.albinus@gmx.de>
12439
12440 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12441
da3cda2d
TH
124422013-04-10 Tassilo Horn <tsdh@gnu.org>
12443
12444 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12445 off leading { and trailing } from field values.
12446
15e54145
SM
124472013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12448
78ce603d
SM
12449 * emacs-lisp/timer.el (timer--check): New function.
12450 (timer--time, timer-set-function, timer-event-handler): Use it.
12451 (timer-set-idle-time): Simplify.
12452 (timer--activate): CSE.
12453 (timer-event-handler): Give more info in error message.
12454 (internal-timer-start-idle): New function, moved from C.
12455
15e54145
SM
12456 * mpc.el (mpc-proc): Add `restart' argument.
12457 (mpc-proc-cmd): Use it.
12458 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12459 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12460 less often.
12461
7144c627
MY
124622013-04-10 Masatake YAMATO <yamato@redhat.com>
12463
12464 * progmodes/sh-script.el: Implement `sh-mode' own
12465 `add-log-current-defun-function' (bug#14112).
12466 (sh-current-defun-name): New function.
12467 (sh-mode): Use the function.
12468
b39792eb
BG
124692013-04-09 Bastien Guerry <bzg@gnu.org>
12470
12471 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12472
8acdeb71
SM
124732013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12474
6fcdab68
SM
12475 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12476
8acdeb71
SM
12477 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12478 timer (bug#14156).
12479
e3e7b504
NF
124802013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12481
12482 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12483 declaration.
12484
201bb296
LL
124852013-04-07 Leo Liu <sdl.web@gmail.com>
12486
12487 * pcmpl-x.el: New file.
12488
ebb19708
DA
124892013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12490
12491 Do not set x-display-name until X connection is established.
12492 This is needed to prevent from weird situation described at
12493 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12494 * frame.el (make-frame): Set x-display-name after call to
12495 window system initialization function, not before.
12496 * term/x-win.el (x-initialize-window-system): Add optional
12497 display argument and use it.
12498 * term/w32-win.el (w32-initialize-window-system):
12499 * term/ns-win.el (ns-initialize-window-system):
12500 * term/pc-win.el (msdos-initialize-window-system):
12501 Add compatible optional display argument.
12502
33bb237a
EZ
125032013-04-06 Eli Zaretskii <eliz@gnu.org>
12504
12505 * files.el (normal-backup-enable-predicate): On MS-Windows and
12506 MS-DOS compare truenames of temporary-file-directory and of the
12507 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12508 don't fail comparison by compare-strings. Also, compare file
12509 names case-insensitively on MS-Windows and MS-DOS.
12510
134abf1f
SM
125112013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12512
12513 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12514 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12515
d695cb94
DG
125162013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12517
e3e7b504
NF
12518 * whitespace.el (whitespace-color-on, whitespace-color-off):
12519 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12520
f4ad7ea1 125212013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12522
12523 * ispell.el (ispell-set-spellchecker-params):
12524 Really set `ispell-args' for all equivs.
12525
632556e4
SM
125262013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12527
12528 * ido.el (ido-completions): Use extra elements of ido-decorations
12529 (bug#14143).
12530 (ido-decorations): Update docstring.
12531
2a417372
MA
125322013-04-05 Michael Albinus <michael.albinus@gmx.de>
12533
12534 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12535 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12536 nil during initialization, in order not to miss changes since the
12537 file was opened. (Bug#14140)
12538
fc164b0c
LL
125392013-04-05 Leo Liu <sdl.web@gmail.com>
12540
12541 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12542
0ccecc08
JB
125432013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12544
12545 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12546
51af1aa2
GM
125472013-04-04 Glenn Morris <rgm@gnu.org>
12548
12549 * electric.el (electric-pair-inhibit-predicate): Add :version.
12550
b208ebc6
SM
125512013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12552
12553 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12554 when a package is required several times (bug#14082).
12555
f3d3eaf0
RW
125562013-04-04 Roland Winkler <winkler@gnu.org>
12557
12558 * faces.el (read-face-name): Behave as promised by the docstring.
12559 Assume that arg default is a list of faces.
12560 (describe-face): Call read-face-name with list of default faces.
12561
2575da50
TV
125622013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12563
12564 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12565 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12566 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12567 the header.
12568 (bookmark-exit-hook-internal): Save even if list is empty.
12569
397703b4
YH
125702013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12571
12572 * emacs-lisp/package.el (package-pinned-packages): New var.
12573 (package--add-to-archive-contents): Obey it (bug#14118).
12574
691e26ae
AM
125752013-04-03 Alan Mackenzie <acm@muc.de>
12576
8a621d53
JB
12577 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12578 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12579
12580 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12581 parameter `not-in-delimiter'. Handle being inside comment opener.
12582 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12583 character in case we're typing a '*' after a '/'.
12584 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12585 instead by passing the parameter to c-state-pp-to-literal.
12586
12587 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12588 for elt. 7 of a parse state.
12589
4b725a70
PE
125902013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12591
12592 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12593 * international/latin1-disp.el, international/mule-util.el:
12594 * language/cyril-util.el, language/european.el, language/ind-util.el:
12595 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12596 * language/tibetan.el, language/viet-util.el:
12597 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12598
15c579f0
SM
125992013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12600
12601 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12602 (electric-pair-post-self-insert-function): Use it.
12603 (electric-pair-default-inhibit): New function, extracted from
12604 electric-pair-post-self-insert-function.
12605
a77e2924
RW
126062013-03-31 Roland Winkler <winkler@gnu.org>
12607
12608 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12609
2bd8a4a8
SM
126102013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12611
12612 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12613
8d3655be 126142013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12615
12616 Un-indent after "pass" and "return" statements (Bug#13888)
12617 * progmodes/python.el (python-indent-block-enders): New var.
12618 (python-indent-calculate-indentation): Use it.
12619
8d3655be 126202013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12621
12622 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12623 defun. Defining it as defalias could introduce too eager
12624 byte-compiler optimization. (Bug#14030)
12625
8d3655be 126262013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12627
12628 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12629
0b1619da
LL
126302013-03-30 Leo Liu <sdl.web@gmail.com>
12631
12632 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12633 (kmacro-execute-from-register): Pass the keyboard macro to
12634 kmacro-call-macro or repeating won't work correctly.
12635
0b938190
TZ
126362013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12637
12638 * progmodes/subword.el: Back to using `forward-symbol'.
12639
12640 * subr.el (forward-whitespace, forward-symbol)
12641 (forward-same-syntax): Move from thingatpt.el.
12642
35710234
LL
126432013-03-29 Leo Liu <sdl.web@gmail.com>
12644
12645 * kmacro.el (kmacro-to-register): New command.
12646 (kmacro-execute-from-register): New function.
12647 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12648
efc0bb73
SM
126492013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12650
12651 * mpc.el: Use defvar-local and setq-local.
12652 (mpc--proc-connect): Connection failures are not bugs.
12653 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12654 (mpc-volume-map): Bind to the up-events.
12655
75a2f981
TZ
126562013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12657
12658 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12659 instead of `forward-symbol'.
12660
17c781d1
SM
126612013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12662
12663 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12664 (edebug--recursive-edit): Use it.
12665 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12666 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12667
f67bfbcf
LL
126682013-03-28 Leo Liu <sdl.web@gmail.com>
12669
12670 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12671
b59f639d
EZ
126722013-03-27 Eli Zaretskii <eliz@gnu.org>
12673
12674 * facemenu.el (list-colors-callback): New defvar.
12675 (list-colors-redisplay): New function.
12676 (list-colors-display): Install list-colors-redisplay as the
12677 revert-buffer-function. (Bug#14063)
12678
f557c1b1
SM
126792013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12680
b1da2957
SM
12681 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12682 and suffixes don't overlap (bug#14061).
12683
f557c1b1
SM
12684 * case-table.el: Use lexical-binding.
12685 (case-table-get-table): New function.
12686 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12687
002668e1
TZ
126882013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12689
12690 * progmodes/subword.el: Add `superword-mode' to do word motion
12691 over symbol_words (parallels and leverages `subword-mode' which
12692 does word motion inside MixedCaseWords).
12693
73572c72
AG
126942013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12695
78b8f320 12696 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12697 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12698
69b2c07e
SM
126992013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12700
12701 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12702 Change return value to be a sexp. Delay `get-buffer' to after
12703 restoring the desktop (bug#13951).
12704
08bb5ee2
LL
127052013-03-26 Leo Liu <sdl.web@gmail.com>
12706
12707 * register.el: Move semantic tag handling back to
12708 cedet/semantic/senator.el. (Bug#14052)
12709
8d4c974e
SM
127102013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12711
12712 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12713 into the prompt either (bug#13963).
12714
b234d92c
SM
127152013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12716
12717 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12718 part of "(error-foo)".
12719
ddfa3cb4
JL
127202013-03-24 Juri Linkov <juri@jurta.org>
12721
12722 * replace.el (list-matching-lines-prefix-face): New defcustom.
12723 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12724 `occur-engine' if `face-differs-from-default-p' returns t.
12725 (occur-engine): Add `,' inside backquote construct to evaluate
12726 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12727 Pass `prefix-face' to the functions `occur-context-lines' and
12728 `occur-engine-add-prefix'.
12729 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12730 `prefix-face' and propertize the prefix with `prefix-face'.
12731 (Bug#14017)
12732
7b0e2f85
LL
127332013-03-24 Leo Liu <sdl.web@gmail.com>
12734
12735 * nxml/rng-valid.el (rng-validate-while-idle)
12736 (rng-validate-quick-while-idle): Guard against deleted buffer.
12737 (Bug#13999)
12738
12739 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12740 is the last entry in kill-buffer-hook.
12741
12742 * files.el (kill-buffer-hook): Doc fix.
12743
b3082f49
DG
127442013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12745
b234d92c
SM
12746 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12747 Make it safe-local.
bde73d27 12748
b3082f49
DG
12749 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12750
a320a2db
LL
127512013-03-23 Leo Liu <sdl.web@gmail.com>
12752
7e74b0fb
LL
12753 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12754 Remove.
12755
12756 * nxml/rng-valid.el (rng-validate-mode)
12757 (rng-after-change-function, rng-do-some-validation):
12758 * nxml/rng-maint.el (rng-validate-buffer):
12759 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12760 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12761 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12762 (nxml-extend-after-change-region): Use with-silent-modifications.
12763
a320a2db
LL
12764 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12765 timer-idle-list.
12766
12767 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12768 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12769 timer-idle-list. (Bug#13999)
12770
e38e6780
JL
127712013-03-23 Juri Linkov <juri@jurta.org>
12772
12773 * info.el (info-index-match): New face.
12774 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12775 main pattern and add text properties with the new face to matches
12776 in index entries relative to the beginning of the index entry.
12777 (Bug#14015)
12778
e8cc7880
DE
127792013-03-21 Eric Ludlam <zappo@gnu.org>
12780
39c87140 12781 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12782 Inhibit read only while inserting objects.
12783
9bb0d822
TZ
127842013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12785
12786 * progmodes/cfengine.el: Update docs to mention
12787 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12788 symbol motion. Remove "_" from the word syntax.
12789
aa703640
TZ
127902013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12791
12792 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12793 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12794
afff09d0
JL
127952013-03-20 Juri Linkov <juri@jurta.org>
12796
12797 * info.el (Info-next-reference-or-link)
12798 (Info-prev-reference-or-link): New functions.
12799 (Info-next-reference, Info-prev-reference): Use them.
12800 (Info-try-follow-nearest-node): Handle footnote navigation.
12801 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12802
9a1ff164
SM
128032013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12804
12805 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12806 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12807
2667d15d
PE
128082013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12809
12810 Suppress unnecessary non-ASCII chatter during build process.
12811 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12812 (batch-skkdic-convert): Suppress most of the chatter.
12813 It's not needed so much now that machines are faster,
12814 and its non-ASCII component was confusing; see Dmitry Gutov in
12815 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12816
438b0579
LL
128172013-03-20 Leo Liu <sdl.web@gmail.com>
12818
12819 * ido.el (ido-chop): Fix bug#10994.
12820
c128ab07
DG
128212013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12822
12823 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12824 Remove vars.
9a1ff164
SM
12825 (whitespace-color-on, whitespace-color-off):
12826 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12827
0e6008c5
SM
128282013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12829
12830 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12831 remapping in mode-line.
12832 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12833
627b52b0
DG
128342013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12835
12836 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12837 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12838 (whitespace-font-lock-keywords): Change description.
12839 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12840 the constructed keywords instead.
12841 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12842
50c3a20b
LL
128432013-03-19 Leo Liu <sdl.web@gmail.com>
12844
12845 * progmodes/compile.el (compilation-display-error): New command.
12846 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12847 C-o. (Bug#13992)
12848
2aa2157b
PE
128492013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12850
12851 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12852
e477dbfa
JD
128532013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12854
12855 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12856
64ab82d1
MA
128572013-03-18 Michael Albinus <michael.albinus@gmx.de>
12858
12859 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12860
12861 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12862 * net/tramp-gvfs.el (top):
12863 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12864 (tramp-handle-shell-command): Use it.
12865 (tramp-dissect-file-name): Raise an error when hostname is a
12866 method name, and neither method nor user is specified.
12867
12868 * net/trampver.el: Update release number.
12869
33cef733
LL
128702013-03-18 Leo Liu <sdl.web@gmail.com>
12871
12872 Make sure eldoc can be turned off properly.
12873 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12874 eldoc-mode.
12875 (eldoc-display-message-p): Revert last change.
12876 (eldoc-display-message-no-interference-p)
12877 (eldoc-print-current-symbol-info): Tweak.
12878
2167b7b2
TH
128792013-03-18 Tassilo Horn <tsdh@gnu.org>
12880
12881 * doc-view.el (doc-view-new-window-function): Check the new window
12882 overlay's display property instead the char property of the
12883 buffer's first char. Use `with-selected-window' instead of
12884 `save-window-excursion' with `select-window'.
12885 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12886 display property instead the char property of the buffer's first char.
2167b7b2 12887
982efbcd
PE
128882013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12889
12890 Automate the build of ja-dic.el (Bug#13984).
12891 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12892 from the input, rather than assume that it's been done for us by the
12893 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12894 the current date into a ja-dic.el comment, as that complicates
12895 regression testing.
12896
2fcc7665
SM
128972013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12898
12899 * whitespace.el: Fix double evaluation.
12900 (whitespace-space, whitespace-hspace, whitespace-tab)
12901 (whitespace-newline, whitespace-trailing, whitespace-line)
12902 (whitespace-space-before-tab, whitespace-indentation)
12903 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12904 obsolete defvars.
12905 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12906 (whitespace-color-on): Use a single font-lock-add-keywords call.
12907 Fix double-evaluation of face variables.
12908
67c0a6e6
MA
129092013-03-17 Michael Albinus <michael.albinus@gmx.de>
12910
2fcc7665
SM
12911 * net/tramp-adb.el (tramp-adb-parse-device-names):
12912 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12913 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12914
69489f1d
LL
129152013-03-17 Leo Liu <sdl.web@gmail.com>
12916
12917 Extend eldoc to display info in the mode-line. (Bug#13978)
12918 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12919 (eldoc-mode-line-string): New variable.
12920 (eldoc-minibuffer-message): New function.
12921 (eldoc-message-function): New variable.
12922 (eldoc-message): Use it.
12923 (eldoc-display-message-p)
2fcc7665
SM
12924 (eldoc-display-message-no-interference-p):
12925 Support eldoc-post-insert-mode.
69489f1d
LL
12926
12927 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12928 (eval-expression): Run it.
12929
9c44569e
RW
129302013-03-17 Roland Winkler <winkler@gnu.org>
12931
12932 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12933 strings in the list of return values.
12934
327f1f6f
JB
129352013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12936
12937 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12938 radix before checking for HMS forms.
12939
67ed8fcd
LL
129402013-03-16 Leo Liu <sdl.web@gmail.com>
12941
12942 * progmodes/scheme.el: Add indentation and font-locking for λ.
12943 (Bug#13975)
12944
78be8b64 129452013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12946
12947 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12948 token before point (bug#13942).
12949
78be8b64 129502013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12951
95b43468 12952 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12953
98e775e6
EZ
129542013-03-16 Eli Zaretskii <eliz@gnu.org>
12955
12956 * startup.el (command-line-normalize-file-name): Fix handling of
12957 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12958 <xfq.free@gmail.com> in
12959 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12960
2edd6029
MA
129612013-03-15 Michael Albinus <michael.albinus@gmx.de>
12962
12963 Sync with Tramp 2.2.7.
12964
12965 * net/trampver.el: Update release number.
12966
d35f5864
TH
129672013-03-14 Tassilo Horn <tsdh@gnu.org>
12968
e903c210 12969 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12970 (doc-view-insert-image): Don't modify overlay associated to
12971 non-live windows, and implement horizontal centering of image in
12972 case it's smaller than the window.
12973 (doc-view-new-window-function): Force redisplay of new windows on
12974 doc-view buffers.
d35f5864 12975
1c4a85ed
KF
129762013-03-13 Karl Fogel <kfogel@red-bean.com>
12977
12978 * saveplace.el (save-place-alist-to-file): Don't sort
12979 `save-place-alist', just pretty-print it (bug#13882).
12980
85b66a21
MA
129812013-03-13 Michael Albinus <michael.albinus@gmx.de>
12982
a020afb9
JB
12983 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12984 Check whether `default-file-name-coding-system' is bound.
12985 It isn't in XEmacs.
85b66a21 12986
175600da
SM
129872013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12988
e7f7cb1a
SM
12989 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12990 backquotes for `obsolete' (bug#13929).
12991
175600da
SM
12992 * international/mule.el (find-auto-coding): Include file name in
12993 obsolescence warning (bug#13922).
12994
ca68a22e
TZ
129952013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12996
12997 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12998 for CFEngine 3-specific indentation.
12999 (cfengine3-indent-line): Use it. Fix up category regex.
13000 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13001
940e5099
SM
130022013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13003
13004 * type-break.el (type-break-file-name):
13005 * textmodes/remember.el (remember-data-file):
13006 * strokes.el (strokes-file):
13007 * shadowfile.el (shadow-initialize):
13008 * saveplace.el (save-place-file):
13009 * ps-bdf.el (bdf-cache-file):
13010 * progmodes/idlwave.el (idlwave-config-directory):
13011 * net/quickurl.el (quickurl-url-file):
13012 * international/kkc.el (kkc-init-file-name):
13013 * ido.el (ido-save-directory-list-file):
13014 * emulation/viper.el (viper-custom-file-name):
13015 * emulation/vip.el (vip-startup-file):
13016 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13017 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13018
cc725808
PE
130192013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13020
13021 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13022 * language/thai-word.el: Switch to UTF-8.
13023
a020afb9 13024See ChangeLog.16 for earlier changes.
e3d51b27
MR
13025
13026;; Local Variables:
13027;; coding: utf-8
e3d51b27
MR
13028;; End:
13029
ba318903 13030 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
13031
13032 This file is part of GNU Emacs.
13033
13034 GNU Emacs is free software: you can redistribute it and/or modify
13035 it under the terms of the GNU General Public License as published by
13036 the Free Software Foundation, either version 3 of the License, or
13037 (at your option) any later version.
13038
13039 GNU Emacs is distributed in the hope that it will be useful,
13040 but WITHOUT ANY WARRANTY; without even the implied warranty of
13041 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13042 GNU General Public License for more details.
13043
13044 You should have received a copy of the GNU General Public License
13045 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.